Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXcursor 1.2.3.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxcursor/-/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/libxcursor/-/issues
    280 $0: about your system, including any error possibly output
    281 $0: before this message. Then install a modern shell, or
    282 $0: manually run the script under such a shell if you do
    283 $0: have one."
    284   fi
    285   exit 1
    286 fi
    287 fi
    288 fi
    289 SHELL=${CONFIG_SHELL-/bin/sh}
    290 export SHELL
    291 # Unset more variables known to interfere with behavior of common tools.
    292 CLICOLOR_FORCE= GREP_OPTIONS=
    293 unset CLICOLOR_FORCE GREP_OPTIONS
    294 
    295 ## --------------------- ##
    296 ## M4sh Shell Functions. ##
    297 ## --------------------- ##
    298 # as_fn_unset VAR
    299 # ---------------
    300 # Portably unset VAR.
    301 as_fn_unset ()
    302 {
    303   { eval $1=; unset $1;}
    304 }
    305 as_unset=as_fn_unset
    306 
    307 
    308 # as_fn_set_status STATUS
    309 # -----------------------
    310 # Set $? to STATUS, without forking.
    311 as_fn_set_status ()
    312 {
    313   return $1
    314 } # as_fn_set_status
    315 
    316 # as_fn_exit STATUS
    317 # -----------------
    318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    319 as_fn_exit ()
    320 {
    321   set +e
    322   as_fn_set_status $1
    323   exit $1
    324 } # as_fn_exit
    325 # as_fn_nop
    326 # ---------
    327 # Do nothing but, unlike ":", preserve the value of $?.
    328 as_fn_nop ()
    329 {
    330   return $?
    331 }
    332 as_nop=as_fn_nop
    333 
    334 # as_fn_mkdir_p
    335 # -------------
    336 # Create "$as_dir" as a directory, including parents if necessary.
    337 as_fn_mkdir_p ()
    338 {
    339 
    340   case $as_dir in #(
    341   -*) as_dir=./$as_dir;;
    342   esac
    343   test -d "$as_dir" || eval $as_mkdir_p || {
    344     as_dirs=
    345     while :; do
    346       case $as_dir in #(
    347       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    348       *) as_qdir=$as_dir;;
    349       esac
    350       as_dirs="'$as_qdir' $as_dirs"
    351       as_dir=`$as_dirname -- "$as_dir" ||
    352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    353 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    354 	 X"$as_dir" : 'X\(//\)$' \| \
    355 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    356 printf "%s\n" X"$as_dir" |
    357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)[^/].*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\/\)$/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  /^X\(\/\).*/{
    370 	    s//\1/
    371 	    q
    372 	  }
    373 	  s/.*/./; q'`
    374       test -d "$as_dir" && break
    375     done
    376     test -z "$as_dirs" || eval "mkdir $as_dirs"
    377   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    378 
    379 
    380 } # as_fn_mkdir_p
    381 
    382 # as_fn_executable_p FILE
    383 # -----------------------
    384 # Test if FILE is an executable regular file.
    385 as_fn_executable_p ()
    386 {
    387   test -f "$1" && test -x "$1"
    388 } # as_fn_executable_p
    389 # as_fn_append VAR VALUE
    390 # ----------------------
    391 # Append the text in VALUE to the end of the definition contained in VAR. Take
    392 # advantage of any shell optimizations that allow amortized linear growth over
    393 # repeated appends, instead of the typical quadratic growth present in naive
    394 # implementations.
    395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    396 then :
    397   eval 'as_fn_append ()
    398   {
    399     eval $1+=\$2
    400   }'
    401 else $as_nop
    402   as_fn_append ()
    403   {
    404     eval $1=\$$1\$2
    405   }
    406 fi # as_fn_append
    407 
    408 # as_fn_arith ARG...
    409 # ------------------
    410 # Perform arithmetic evaluation on the ARGs, and store the result in the
    411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    412 # must be portable across $(()) and expr.
    413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    414 then :
    415   eval 'as_fn_arith ()
    416   {
    417     as_val=$(( $* ))
    418   }'
    419 else $as_nop
    420   as_fn_arith ()
    421   {
    422     as_val=`expr "$@" || test $? -eq 1`
    423   }
    424 fi # as_fn_arith
    425 
    426 # as_fn_nop
    427 # ---------
    428 # Do nothing but, unlike ":", preserve the value of $?.
    429 as_fn_nop ()
    430 {
    431   return $?
    432 }
    433 as_nop=as_fn_nop
    434 
    435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    436 # ----------------------------------------
    437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    439 # script with STATUS, using 1 if that was 0.
    440 as_fn_error ()
    441 {
    442   as_status=$1; test $as_status -eq 0 && as_status=1
    443   if test "$4"; then
    444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    446   fi
    447   printf "%s\n" "$as_me: error: $2" >&2
    448   as_fn_exit $as_status
    449 } # as_fn_error
    450 
    451 if expr a : '\(a\)' >/dev/null 2>&1 &&
    452    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    453   as_expr=expr
    454 else
    455   as_expr=false
    456 fi
    457 
    458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    459   as_basename=basename
    460 else
    461   as_basename=false
    462 fi
    463 
    464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    465   as_dirname=dirname
    466 else
    467   as_dirname=false
    468 fi
    469 
    470 as_me=`$as_basename -- "$0" ||
    471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    472 	 X"$0" : 'X\(//\)$' \| \
    473 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    474 printf "%s\n" X/"$0" |
    475     sed '/^.*\/\([^/][^/]*\)\/*$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\/\)$/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  /^X\/\(\/\).*/{
    484 	    s//\1/
    485 	    q
    486 	  }
    487 	  s/.*/./; q'`
    488 
    489 # Avoid depending upon Character Ranges.
    490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    493 as_cr_digits='0123456789'
    494 as_cr_alnum=$as_cr_Letters$as_cr_digits
    495 
    496 
    497   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    498   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    499   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    500   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    501   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    502   sed -n '
    503     p
    504     /[$]LINENO/=
    505   ' <$as_myself |
    506     sed '
    507       s/[$]LINENO.*/&-/
    508       t lineno
    509       b
    510       :lineno
    511       N
    512       :loop
    513       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    514       t loop
    515       s/-\n.*//
    516     ' >$as_me.lineno &&
    517   chmod +x "$as_me.lineno" ||
    518     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    519 
    520   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    521   # already done that, so ensure we don't try to do so again and fall
    522   # in an infinite loop.  This has already happened in practice.
    523   _as_can_reexec=no; export _as_can_reexec
    524   # Don't try to exec as it changes $[0], causing all sort of problems
    525   # (the dirname of $[0] is not the place where we might find the
    526   # original and so on.  Autoconf is especially sensitive to this).
    527   . "./$as_me.lineno"
    528   # Exit status is that of the last command.
    529   exit
    530 }
    531 
    532 
    533 # Determine whether it's possible to make 'echo' print without a newline.
    534 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    535 # for compatibility with existing Makefiles.
    536 ECHO_C= ECHO_N= ECHO_T=
    537 case `echo -n x` in #(((((
    538 -n*)
    539   case `echo 'xy\c'` in
    540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    541   xy)  ECHO_C='\c';;
    542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    543        ECHO_T='	';;
    544   esac;;
    545 *)
    546   ECHO_N='-n';;
    547 esac
    548 
    549 # For backward compatibility with old third-party macros, we provide
    550 # the shell variables $as_echo and $as_echo_n.  New code should use
    551 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    552 as_echo='printf %s\n'
    553 as_echo_n='printf %s'
    554 
    555 
    556 rm -f conf$$ conf$$.exe conf$$.file
    557 if test -d conf$$.dir; then
    558   rm -f conf$$.dir/conf$$.file
    559 else
    560   rm -f conf$$.dir
    561   mkdir conf$$.dir 2>/dev/null
    562 fi
    563 if (echo >conf$$.file) 2>/dev/null; then
    564   if ln -s conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s='ln -s'
    566     # ... but there are two gotchas:
    567     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    568     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    569     # In both cases, we have to default to `cp -pR'.
    570     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    571       as_ln_s='cp -pR'
    572   elif ln conf$$.file conf$$ 2>/dev/null; then
    573     as_ln_s=ln
    574   else
    575     as_ln_s='cp -pR'
    576   fi
    577 else
    578   as_ln_s='cp -pR'
    579 fi
    580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    581 rmdir conf$$.dir 2>/dev/null
    582 
    583 if mkdir -p . 2>/dev/null; then
    584   as_mkdir_p='mkdir -p "$as_dir"'
    585 else
    586   test -d ./-p && rmdir ./-p
    587   as_mkdir_p=false
    588 fi
    589 
    590 as_test_x='test -x'
    591 as_executable_p=as_fn_executable_p
    592 
    593 # Sed expression to map a string onto a valid CPP name.
    594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    595 
    596 # Sed expression to map a string onto a valid variable name.
    597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    598 
    599 SHELL=${CONFIG_SHELL-/bin/sh}
    600 
    601 
    602 test -n "$DJDIR" || exec 7<&0 </dev/null
    603 exec 6>&1
    604 
    605 # Name of the host.
    606 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    607 # so uname gets run too.
    608 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    609 
    610 #
    611 # Initializations.
    612 #
    613 ac_default_prefix=/usr/local
    614 ac_clean_files=
    615 ac_config_libobj_dir=.
    616 LIBOBJS=
    617 cross_compiling=no
    618 subdirs=
    619 MFLAGS=
    620 MAKEFLAGS=
    621 
    622 # Identity of this package.
    623 PACKAGE_NAME='libXcursor'
    624 PACKAGE_TARNAME='libXcursor'
    625 PACKAGE_VERSION='1.2.3'
    626 PACKAGE_STRING='libXcursor 1.2.3'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxcursor/-/issues'
    628 PACKAGE_URL=''
    629 
    630 ac_unique_file="Makefile.am"
    631 # Factoring default headers for most tests.
    632 ac_includes_default="\
    633 #include <stddef.h>
    634 #ifdef HAVE_STDIO_H
    635 # include <stdio.h>
    636 #endif
    637 #ifdef HAVE_STDLIB_H
    638 # include <stdlib.h>
    639 #endif
    640 #ifdef HAVE_STRING_H
    641 # include <string.h>
    642 #endif
    643 #ifdef HAVE_INTTYPES_H
    644 # include <inttypes.h>
    645 #endif
    646 #ifdef HAVE_STDINT_H
    647 # include <stdint.h>
    648 #endif
    649 #ifdef HAVE_STRINGS_H
    650 # include <strings.h>
    651 #endif
    652 #ifdef HAVE_SYS_TYPES_H
    653 # include <sys/types.h>
    654 #endif
    655 #ifdef HAVE_SYS_STAT_H
    656 # include <sys/stat.h>
    657 #endif
    658 #ifdef HAVE_UNISTD_H
    659 # include <unistd.h>
    660 #endif"
    661 
    662 ac_header_c_list=
    663 ac_subst_vars='am__EXEEXT_FALSE
    664 am__EXEEXT_TRUE
    665 LTLIBOBJS
    666 LIBOBJS
    667 LINT_FALSE
    668 LINT_TRUE
    669 LINT_FLAGS
    670 LINT
    671 XCURSOR_LIBS
    672 XCURSOR_CFLAGS
    673 XCURSORPATH
    674 ICONDIR
    675 MAN_SUBSTS
    676 XORG_MAN_PAGE
    677 ADMIN_MAN_DIR
    678 DRIVER_MAN_DIR
    679 MISC_MAN_DIR
    680 FILE_MAN_DIR
    681 LIB_MAN_DIR
    682 APP_MAN_DIR
    683 ADMIN_MAN_SUFFIX
    684 DRIVER_MAN_SUFFIX
    685 MISC_MAN_SUFFIX
    686 FILE_MAN_SUFFIX
    687 LIB_MAN_SUFFIX
    688 APP_MAN_SUFFIX
    689 INSTALL_CMD
    690 PKG_CONFIG_LIBDIR
    691 PKG_CONFIG_PATH
    692 PKG_CONFIG
    693 CHANGELOG_CMD
    694 STRICT_CFLAGS
    695 CWARNFLAGS
    696 BASE_CFLAGS
    697 LT_SYS_LIBRARY_PATH
    698 OTOOL64
    699 OTOOL
    700 LIPO
    701 NMEDIT
    702 DSYMUTIL
    703 MANIFEST_TOOL
    704 RANLIB
    705 ac_ct_AR
    706 AR
    707 DLLTOOL
    708 OBJDUMP
    709 FILECMD
    710 LN_S
    711 NM
    712 ac_ct_DUMPBIN
    713 DUMPBIN
    714 LD
    715 FGREP
    716 EGREP
    717 GREP
    718 SED
    719 host_os
    720 host_vendor
    721 host_cpu
    722 host
    723 build_os
    724 build_vendor
    725 build_cpu
    726 build
    727 LIBTOOL
    728 AM_BACKSLASH
    729 AM_DEFAULT_VERBOSITY
    730 AM_DEFAULT_V
    731 AM_V
    732 CSCOPE
    733 ETAGS
    734 CTAGS
    735 am__fastdepCC_FALSE
    736 am__fastdepCC_TRUE
    737 CCDEPMODE
    738 am__nodep
    739 AMDEPBACKSLASH
    740 AMDEP_FALSE
    741 AMDEP_TRUE
    742 am__include
    743 DEPDIR
    744 am__untar
    745 am__tar
    746 AMTAR
    747 am__leading_dot
    748 SET_MAKE
    749 AWK
    750 mkdir_p
    751 MKDIR_P
    752 INSTALL_STRIP_PROGRAM
    753 STRIP
    754 install_sh
    755 MAKEINFO
    756 AUTOHEADER
    757 AUTOMAKE
    758 AUTOCONF
    759 ACLOCAL
    760 VERSION
    761 PACKAGE
    762 CYGPATH_W
    763 am__isrc
    764 INSTALL_DATA
    765 INSTALL_SCRIPT
    766 INSTALL_PROGRAM
    767 OBJEXT
    768 EXEEXT
    769 ac_ct_CC
    770 CPPFLAGS
    771 LDFLAGS
    772 CFLAGS
    773 CC
    774 target_alias
    775 host_alias
    776 build_alias
    777 LIBS
    778 ECHO_T
    779 ECHO_N
    780 ECHO_C
    781 DEFS
    782 mandir
    783 localedir
    784 libdir
    785 psdir
    786 pdfdir
    787 dvidir
    788 htmldir
    789 infodir
    790 docdir
    791 oldincludedir
    792 includedir
    793 runstatedir
    794 localstatedir
    795 sharedstatedir
    796 sysconfdir
    797 datadir
    798 datarootdir
    799 libexecdir
    800 sbindir
    801 bindir
    802 program_transform_name
    803 prefix
    804 exec_prefix
    805 PACKAGE_URL
    806 PACKAGE_BUGREPORT
    807 PACKAGE_STRING
    808 PACKAGE_VERSION
    809 PACKAGE_TARNAME
    810 PACKAGE_NAME
    811 PATH_SEPARATOR
    812 SHELL
    813 am__quote'
    814 ac_subst_files=''
    815 ac_user_opts='
    816 enable_option_checking
    817 enable_dependency_tracking
    818 enable_silent_rules
    819 enable_shared
    820 enable_static
    821 with_pic
    822 enable_fast_install
    823 with_aix_soname
    824 with_gnu_ld
    825 with_sysroot
    826 enable_libtool_lock
    827 enable_selective_werror
    828 enable_strict_compilation
    829 with_icondir
    830 with_cursorpath
    831 with_lint
    832 '
    833       ac_precious_vars='build_alias
    834 host_alias
    835 target_alias
    836 CC
    837 CFLAGS
    838 LDFLAGS
    839 LIBS
    840 CPPFLAGS
    841 LT_SYS_LIBRARY_PATH
    842 PKG_CONFIG
    843 PKG_CONFIG_PATH
    844 PKG_CONFIG_LIBDIR
    845 XCURSOR_CFLAGS
    846 XCURSOR_LIBS
    847 LINT
    848 LINT_FLAGS'
    849 
    850 
    851 # Initialize some variables set by options.
    852 ac_init_help=
    853 ac_init_version=false
    854 ac_unrecognized_opts=
    855 ac_unrecognized_sep=
    856 # The variables have the same names as the options, with
    857 # dashes changed to underlines.
    858 cache_file=/dev/null
    859 exec_prefix=NONE
    860 no_create=
    861 no_recursion=
    862 prefix=NONE
    863 program_prefix=NONE
    864 program_suffix=NONE
    865 program_transform_name=s,x,x,
    866 silent=
    867 site=
    868 srcdir=
    869 verbose=
    870 x_includes=NONE
    871 x_libraries=NONE
    872 
    873 # Installation directory options.
    874 # These are left unexpanded so users can "make install exec_prefix=/foo"
    875 # and all the variables that are supposed to be based on exec_prefix
    876 # by default will actually change.
    877 # Use braces instead of parens because sh, perl, etc. also accept them.
    878 # (The list follows the same order as the GNU Coding Standards.)
    879 bindir='${exec_prefix}/bin'
    880 sbindir='${exec_prefix}/sbin'
    881 libexecdir='${exec_prefix}/libexec'
    882 datarootdir='${prefix}/share'
    883 datadir='${datarootdir}'
    884 sysconfdir='${prefix}/etc'
    885 sharedstatedir='${prefix}/com'
    886 localstatedir='${prefix}/var'
    887 runstatedir='${localstatedir}/run'
    888 includedir='${prefix}/include'
    889 oldincludedir='/usr/include'
    890 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    891 infodir='${datarootdir}/info'
    892 htmldir='${docdir}'
    893 dvidir='${docdir}'
    894 pdfdir='${docdir}'
    895 psdir='${docdir}'
    896 libdir='${exec_prefix}/lib'
    897 localedir='${datarootdir}/locale'
    898 mandir='${datarootdir}/man'
    899 
    900 ac_prev=
    901 ac_dashdash=
    902 for ac_option
    903 do
    904   # If the previous option needs an argument, assign it.
    905   if test -n "$ac_prev"; then
    906     eval $ac_prev=\$ac_option
    907     ac_prev=
    908     continue
    909   fi
    910 
    911   case $ac_option in
    912   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    913   *=)   ac_optarg= ;;
    914   *)    ac_optarg=yes ;;
    915   esac
    916 
    917   case $ac_dashdash$ac_option in
    918   --)
    919     ac_dashdash=yes ;;
    920 
    921   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    922     ac_prev=bindir ;;
    923   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    924     bindir=$ac_optarg ;;
    925 
    926   -build | --build | --buil | --bui | --bu)
    927     ac_prev=build_alias ;;
    928   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    929     build_alias=$ac_optarg ;;
    930 
    931   -cache-file | --cache-file | --cache-fil | --cache-fi \
    932   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    933     ac_prev=cache_file ;;
    934   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    935   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    936     cache_file=$ac_optarg ;;
    937 
    938   --config-cache | -C)
    939     cache_file=config.cache ;;
    940 
    941   -datadir | --datadir | --datadi | --datad)
    942     ac_prev=datadir ;;
    943   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    944     datadir=$ac_optarg ;;
    945 
    946   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    947   | --dataroo | --dataro | --datar)
    948     ac_prev=datarootdir ;;
    949   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    950   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    951     datarootdir=$ac_optarg ;;
    952 
    953   -disable-* | --disable-*)
    954     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    955     # Reject names that are not valid shell variable names.
    956     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    957       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    958     ac_useropt_orig=$ac_useropt
    959     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    960     case $ac_user_opts in
    961       *"
    962 "enable_$ac_useropt"
    963 "*) ;;
    964       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    965 	 ac_unrecognized_sep=', ';;
    966     esac
    967     eval enable_$ac_useropt=no ;;
    968 
    969   -docdir | --docdir | --docdi | --doc | --do)
    970     ac_prev=docdir ;;
    971   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    972     docdir=$ac_optarg ;;
    973 
    974   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    975     ac_prev=dvidir ;;
    976   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    977     dvidir=$ac_optarg ;;
    978 
    979   -enable-* | --enable-*)
    980     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    981     # Reject names that are not valid shell variable names.
    982     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    983       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    984     ac_useropt_orig=$ac_useropt
    985     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    986     case $ac_user_opts in
    987       *"
    988 "enable_$ac_useropt"
    989 "*) ;;
    990       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    991 	 ac_unrecognized_sep=', ';;
    992     esac
    993     eval enable_$ac_useropt=\$ac_optarg ;;
    994 
    995   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    996   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    997   | --exec | --exe | --ex)
    998     ac_prev=exec_prefix ;;
    999   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1000   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1001   | --exec=* | --exe=* | --ex=*)
   1002     exec_prefix=$ac_optarg ;;
   1003 
   1004   -gas | --gas | --ga | --g)
   1005     # Obsolete; use --with-gas.
   1006     with_gas=yes ;;
   1007 
   1008   -help | --help | --hel | --he | -h)
   1009     ac_init_help=long ;;
   1010   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1011     ac_init_help=recursive ;;
   1012   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1013     ac_init_help=short ;;
   1014 
   1015   -host | --host | --hos | --ho)
   1016     ac_prev=host_alias ;;
   1017   -host=* | --host=* | --hos=* | --ho=*)
   1018     host_alias=$ac_optarg ;;
   1019 
   1020   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1021     ac_prev=htmldir ;;
   1022   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1023   | --ht=*)
   1024     htmldir=$ac_optarg ;;
   1025 
   1026   -includedir | --includedir | --includedi | --included | --include \
   1027   | --includ | --inclu | --incl | --inc)
   1028     ac_prev=includedir ;;
   1029   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1030   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1031     includedir=$ac_optarg ;;
   1032 
   1033   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1034     ac_prev=infodir ;;
   1035   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1036     infodir=$ac_optarg ;;
   1037 
   1038   -libdir | --libdir | --libdi | --libd)
   1039     ac_prev=libdir ;;
   1040   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1041     libdir=$ac_optarg ;;
   1042 
   1043   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1044   | --libexe | --libex | --libe)
   1045     ac_prev=libexecdir ;;
   1046   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1047   | --libexe=* | --libex=* | --libe=*)
   1048     libexecdir=$ac_optarg ;;
   1049 
   1050   -localedir | --localedir | --localedi | --localed | --locale)
   1051     ac_prev=localedir ;;
   1052   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1053     localedir=$ac_optarg ;;
   1054 
   1055   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1056   | --localstate | --localstat | --localsta | --localst | --locals)
   1057     ac_prev=localstatedir ;;
   1058   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1059   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1060     localstatedir=$ac_optarg ;;
   1061 
   1062   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1063     ac_prev=mandir ;;
   1064   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1065     mandir=$ac_optarg ;;
   1066 
   1067   -nfp | --nfp | --nf)
   1068     # Obsolete; use --without-fp.
   1069     with_fp=no ;;
   1070 
   1071   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1072   | --no-cr | --no-c | -n)
   1073     no_create=yes ;;
   1074 
   1075   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1076   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1077     no_recursion=yes ;;
   1078 
   1079   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1080   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1081   | --oldin | --oldi | --old | --ol | --o)
   1082     ac_prev=oldincludedir ;;
   1083   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1084   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1085   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1086     oldincludedir=$ac_optarg ;;
   1087 
   1088   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1089     ac_prev=prefix ;;
   1090   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1091     prefix=$ac_optarg ;;
   1092 
   1093   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1094   | --program-pre | --program-pr | --program-p)
   1095     ac_prev=program_prefix ;;
   1096   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1097   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1098     program_prefix=$ac_optarg ;;
   1099 
   1100   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1101   | --program-suf | --program-su | --program-s)
   1102     ac_prev=program_suffix ;;
   1103   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1104   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1105     program_suffix=$ac_optarg ;;
   1106 
   1107   -program-transform-name | --program-transform-name \
   1108   | --program-transform-nam | --program-transform-na \
   1109   | --program-transform-n | --program-transform- \
   1110   | --program-transform | --program-transfor \
   1111   | --program-transfo | --program-transf \
   1112   | --program-trans | --program-tran \
   1113   | --progr-tra | --program-tr | --program-t)
   1114     ac_prev=program_transform_name ;;
   1115   -program-transform-name=* | --program-transform-name=* \
   1116   | --program-transform-nam=* | --program-transform-na=* \
   1117   | --program-transform-n=* | --program-transform-=* \
   1118   | --program-transform=* | --program-transfor=* \
   1119   | --program-transfo=* | --program-transf=* \
   1120   | --program-trans=* | --program-tran=* \
   1121   | --progr-tra=* | --program-tr=* | --program-t=*)
   1122     program_transform_name=$ac_optarg ;;
   1123 
   1124   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1125     ac_prev=pdfdir ;;
   1126   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1127     pdfdir=$ac_optarg ;;
   1128 
   1129   -psdir | --psdir | --psdi | --psd | --ps)
   1130     ac_prev=psdir ;;
   1131   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1132     psdir=$ac_optarg ;;
   1133 
   1134   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1135   | -silent | --silent | --silen | --sile | --sil)
   1136     silent=yes ;;
   1137 
   1138   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1139   | --runstate | --runstat | --runsta | --runst | --runs \
   1140   | --run | --ru | --r)
   1141     ac_prev=runstatedir ;;
   1142   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1143   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1144   | --run=* | --ru=* | --r=*)
   1145     runstatedir=$ac_optarg ;;
   1146 
   1147   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1148     ac_prev=sbindir ;;
   1149   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1150   | --sbi=* | --sb=*)
   1151     sbindir=$ac_optarg ;;
   1152 
   1153   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1154   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1155   | --sharedst | --shareds | --shared | --share | --shar \
   1156   | --sha | --sh)
   1157     ac_prev=sharedstatedir ;;
   1158   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1159   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1160   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1161   | --sha=* | --sh=*)
   1162     sharedstatedir=$ac_optarg ;;
   1163 
   1164   -site | --site | --sit)
   1165     ac_prev=site ;;
   1166   -site=* | --site=* | --sit=*)
   1167     site=$ac_optarg ;;
   1168 
   1169   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1170     ac_prev=srcdir ;;
   1171   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1172     srcdir=$ac_optarg ;;
   1173 
   1174   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1175   | --syscon | --sysco | --sysc | --sys | --sy)
   1176     ac_prev=sysconfdir ;;
   1177   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1178   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1179     sysconfdir=$ac_optarg ;;
   1180 
   1181   -target | --target | --targe | --targ | --tar | --ta | --t)
   1182     ac_prev=target_alias ;;
   1183   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1184     target_alias=$ac_optarg ;;
   1185 
   1186   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1187     verbose=yes ;;
   1188 
   1189   -version | --version | --versio | --versi | --vers | -V)
   1190     ac_init_version=: ;;
   1191 
   1192   -with-* | --with-*)
   1193     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1194     # Reject names that are not valid shell variable names.
   1195     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1196       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1197     ac_useropt_orig=$ac_useropt
   1198     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1199     case $ac_user_opts in
   1200       *"
   1201 "with_$ac_useropt"
   1202 "*) ;;
   1203       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1204 	 ac_unrecognized_sep=', ';;
   1205     esac
   1206     eval with_$ac_useropt=\$ac_optarg ;;
   1207 
   1208   -without-* | --without-*)
   1209     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1210     # Reject names that are not valid shell variable names.
   1211     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1212       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1213     ac_useropt_orig=$ac_useropt
   1214     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1215     case $ac_user_opts in
   1216       *"
   1217 "with_$ac_useropt"
   1218 "*) ;;
   1219       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1220 	 ac_unrecognized_sep=', ';;
   1221     esac
   1222     eval with_$ac_useropt=no ;;
   1223 
   1224   --x)
   1225     # Obsolete; use --with-x.
   1226     with_x=yes ;;
   1227 
   1228   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1229   | --x-incl | --x-inc | --x-in | --x-i)
   1230     ac_prev=x_includes ;;
   1231   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1232   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1233     x_includes=$ac_optarg ;;
   1234 
   1235   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1236   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1237     ac_prev=x_libraries ;;
   1238   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1239   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1240     x_libraries=$ac_optarg ;;
   1241 
   1242   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1243 Try \`$0 --help' for more information"
   1244     ;;
   1245 
   1246   *=*)
   1247     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1248     # Reject names that are not valid shell variable names.
   1249     case $ac_envvar in #(
   1250       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1251       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1252     esac
   1253     eval $ac_envvar=\$ac_optarg
   1254     export $ac_envvar ;;
   1255 
   1256   *)
   1257     # FIXME: should be removed in autoconf 3.0.
   1258     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1259     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1260       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1261     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1262     ;;
   1263 
   1264   esac
   1265 done
   1266 
   1267 if test -n "$ac_prev"; then
   1268   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1269   as_fn_error $? "missing argument to $ac_option"
   1270 fi
   1271 
   1272 if test -n "$ac_unrecognized_opts"; then
   1273   case $enable_option_checking in
   1274     no) ;;
   1275     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1276     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1277   esac
   1278 fi
   1279 
   1280 # Check all directory arguments for consistency.
   1281 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1282 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1283 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1284 		libdir localedir mandir runstatedir
   1285 do
   1286   eval ac_val=\$$ac_var
   1287   # Remove trailing slashes.
   1288   case $ac_val in
   1289     */ )
   1290       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1291       eval $ac_var=\$ac_val;;
   1292   esac
   1293   # Be sure to have absolute directory names.
   1294   case $ac_val in
   1295     [\\/$]* | ?:[\\/]* )  continue;;
   1296     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1297   esac
   1298   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1299 done
   1300 
   1301 # There might be people who depend on the old broken behavior: `$host'
   1302 # used to hold the argument of --host etc.
   1303 # FIXME: To remove some day.
   1304 build=$build_alias
   1305 host=$host_alias
   1306 target=$target_alias
   1307 
   1308 # FIXME: To remove some day.
   1309 if test "x$host_alias" != x; then
   1310   if test "x$build_alias" = x; then
   1311     cross_compiling=maybe
   1312   elif test "x$build_alias" != "x$host_alias"; then
   1313     cross_compiling=yes
   1314   fi
   1315 fi
   1316 
   1317 ac_tool_prefix=
   1318 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1319 
   1320 test "$silent" = yes && exec 6>/dev/null
   1321 
   1322 
   1323 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1324 ac_ls_di=`ls -di .` &&
   1325 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1326   as_fn_error $? "working directory cannot be determined"
   1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1328   as_fn_error $? "pwd does not report name of working directory"
   1329 
   1330 
   1331 # Find the source files, if location was not specified.
   1332 if test -z "$srcdir"; then
   1333   ac_srcdir_defaulted=yes
   1334   # Try the directory containing this script, then the parent directory.
   1335   ac_confdir=`$as_dirname -- "$as_myself" ||
   1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1337 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1338 	 X"$as_myself" : 'X\(//\)$' \| \
   1339 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1340 printf "%s\n" X"$as_myself" |
   1341     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1342 	    s//\1/
   1343 	    q
   1344 	  }
   1345 	  /^X\(\/\/\)[^/].*/{
   1346 	    s//\1/
   1347 	    q
   1348 	  }
   1349 	  /^X\(\/\/\)$/{
   1350 	    s//\1/
   1351 	    q
   1352 	  }
   1353 	  /^X\(\/\).*/{
   1354 	    s//\1/
   1355 	    q
   1356 	  }
   1357 	  s/.*/./; q'`
   1358   srcdir=$ac_confdir
   1359   if test ! -r "$srcdir/$ac_unique_file"; then
   1360     srcdir=..
   1361   fi
   1362 else
   1363   ac_srcdir_defaulted=no
   1364 fi
   1365 if test ! -r "$srcdir/$ac_unique_file"; then
   1366   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1367   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1368 fi
   1369 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1370 ac_abs_confdir=`(
   1371 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1372 	pwd)`
   1373 # When building in place, set srcdir=.
   1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1375   srcdir=.
   1376 fi
   1377 # Remove unnecessary trailing slashes from srcdir.
   1378 # Double slashes in file names in object file debugging info
   1379 # mess up M-x gdb in Emacs.
   1380 case $srcdir in
   1381 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1382 esac
   1383 for ac_var in $ac_precious_vars; do
   1384   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1385   eval ac_env_${ac_var}_value=\$${ac_var}
   1386   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1387   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1388 done
   1389 
   1390 #
   1391 # Report the --help message.
   1392 #
   1393 if test "$ac_init_help" = "long"; then
   1394   # Omit some internal or obsolete options to make the list less imposing.
   1395   # This message is too long to be a string in the A/UX 3.1 sh.
   1396   cat <<_ACEOF
   1397 \`configure' configures libXcursor 1.2.3 to adapt to many kinds of systems.
   1398 
   1399 Usage: $0 [OPTION]... [VAR=VALUE]...
   1400 
   1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1402 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1403 
   1404 Defaults for the options are specified in brackets.
   1405 
   1406 Configuration:
   1407   -h, --help              display this help and exit
   1408       --help=short        display options specific to this package
   1409       --help=recursive    display the short help of all the included packages
   1410   -V, --version           display version information and exit
   1411   -q, --quiet, --silent   do not print \`checking ...' messages
   1412       --cache-file=FILE   cache test results in FILE [disabled]
   1413   -C, --config-cache      alias for \`--cache-file=config.cache'
   1414   -n, --no-create         do not create output files
   1415       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1416 
   1417 Installation directories:
   1418   --prefix=PREFIX         install architecture-independent files in PREFIX
   1419                           [$ac_default_prefix]
   1420   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1421                           [PREFIX]
   1422 
   1423 By default, \`make install' will install all the files in
   1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1426 for instance \`--prefix=\$HOME'.
   1427 
   1428 For better control, use the options below.
   1429 
   1430 Fine tuning of the installation directories:
   1431   --bindir=DIR            user executables [EPREFIX/bin]
   1432   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1433   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1434   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1435   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1436   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1437   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1438   --libdir=DIR            object code libraries [EPREFIX/lib]
   1439   --includedir=DIR        C header files [PREFIX/include]
   1440   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1441   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1442   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1443   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1444   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1445   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1446   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXcursor]
   1447   --htmldir=DIR           html documentation [DOCDIR]
   1448   --dvidir=DIR            dvi documentation [DOCDIR]
   1449   --pdfdir=DIR            pdf documentation [DOCDIR]
   1450   --psdir=DIR             ps documentation [DOCDIR]
   1451 _ACEOF
   1452 
   1453   cat <<\_ACEOF
   1454 
   1455 Program names:
   1456   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1457   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1458   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1459 
   1460 System types:
   1461   --build=BUILD     configure for building on BUILD [guessed]
   1462   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1463 _ACEOF
   1464 fi
   1465 
   1466 if test -n "$ac_init_help"; then
   1467   case $ac_init_help in
   1468      short | recursive ) echo "Configuration of libXcursor 1.2.3:";;
   1469    esac
   1470   cat <<\_ACEOF
   1471 
   1472 Optional Features:
   1473   --disable-option-checking  ignore unrecognized --enable/--with options
   1474   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1475   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1476   --enable-dependency-tracking
   1477                           do not reject slow dependency extractors
   1478   --disable-dependency-tracking
   1479                           speeds up one-time build
   1480   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1481   --disable-silent-rules  verbose build output (undo: "make V=0")
   1482   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1483   --enable-static[=PKGS]  build static libraries [default=yes]
   1484   --enable-fast-install[=PKGS]
   1485                           optimize for fast installation [default=yes]
   1486   --disable-libtool-lock  avoid locking (might break parallel builds)
   1487   --disable-selective-werror
   1488                           Turn off selective compiler errors. (default:
   1489                           enabled)
   1490   --enable-strict-compilation
   1491                           Enable all warnings from compiler and make them
   1492                           errors (default: disabled)
   1493 
   1494 Optional Packages:
   1495   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1496   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1497   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1498                           both]
   1499   --with-aix-soname=aix|svr4|both
   1500                           shared library versioning (aka "SONAME") variant to
   1501                           provide on AIX, [default=aix].
   1502   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1503   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1504                           compiler's sysroot if not specified).
   1505   --with-icondir=<path>   Set default icon directory (default:
   1506                           ${datadir}/icons)
   1507   --with-cursorpath=<paths>
   1508                           Set default search path for cursors
   1509   --with-lint             Use a lint-style source code checker (default:
   1510                           disabled)
   1511 
   1512 Some influential environment variables:
   1513   CC          C compiler command
   1514   CFLAGS      C compiler flags
   1515   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1516               nonstandard directory <lib dir>
   1517   LIBS        libraries to pass to the linker, e.g. -l<library>
   1518   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1519               you have headers in a nonstandard directory <include dir>
   1520   LT_SYS_LIBRARY_PATH
   1521               User-defined run-time library search path.
   1522   PKG_CONFIG  path to pkg-config utility
   1523   PKG_CONFIG_PATH
   1524               directories to add to pkg-config's search path
   1525   PKG_CONFIG_LIBDIR
   1526               path overriding pkg-config's built-in search path
   1527   XCURSOR_CFLAGS
   1528               C compiler flags for XCURSOR, overriding pkg-config
   1529   XCURSOR_LIBS
   1530               linker flags for XCURSOR, overriding pkg-config
   1531   LINT        Path to a lint-style command
   1532   LINT_FLAGS  Flags for the lint-style command
   1533 
   1534 Use these variables to override the choices made by `configure' or to help
   1535 it to find libraries and programs with nonstandard names/locations.
   1536 
   1537 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxcursor/-/issues>.
   1538 _ACEOF
   1539 ac_status=$?
   1540 fi
   1541 
   1542 if test "$ac_init_help" = "recursive"; then
   1543   # If there are subdirs, report their specific --help.
   1544   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1545     test -d "$ac_dir" ||
   1546       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1547       continue
   1548     ac_builddir=.
   1549 
   1550 case "$ac_dir" in
   1551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1552 *)
   1553   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1554   # A ".." for each directory in $ac_dir_suffix.
   1555   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1556   case $ac_top_builddir_sub in
   1557   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1558   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1559   esac ;;
   1560 esac
   1561 ac_abs_top_builddir=$ac_pwd
   1562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1563 # for backward compatibility:
   1564 ac_top_builddir=$ac_top_build_prefix
   1565 
   1566 case $srcdir in
   1567   .)  # We are building in place.
   1568     ac_srcdir=.
   1569     ac_top_srcdir=$ac_top_builddir_sub
   1570     ac_abs_top_srcdir=$ac_pwd ;;
   1571   [\\/]* | ?:[\\/]* )  # Absolute name.
   1572     ac_srcdir=$srcdir$ac_dir_suffix;
   1573     ac_top_srcdir=$srcdir
   1574     ac_abs_top_srcdir=$srcdir ;;
   1575   *) # Relative name.
   1576     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1577     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1578     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1579 esac
   1580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1581 
   1582     cd "$ac_dir" || { ac_status=$?; continue; }
   1583     # Check for configure.gnu first; this name is used for a wrapper for
   1584     # Metaconfig's "Configure" on case-insensitive file systems.
   1585     if test -f "$ac_srcdir/configure.gnu"; then
   1586       echo &&
   1587       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1588     elif test -f "$ac_srcdir/configure"; then
   1589       echo &&
   1590       $SHELL "$ac_srcdir/configure" --help=recursive
   1591     else
   1592       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1593     fi || ac_status=$?
   1594     cd "$ac_pwd" || { ac_status=$?; break; }
   1595   done
   1596 fi
   1597 
   1598 test -n "$ac_init_help" && exit $ac_status
   1599 if $ac_init_version; then
   1600   cat <<\_ACEOF
   1601 libXcursor configure 1.2.3
   1602 generated by GNU Autoconf 2.71
   1603 
   1604 Copyright (C) 2021 Free Software Foundation, Inc.
   1605 This configure script is free software; the Free Software Foundation
   1606 gives unlimited permission to copy, distribute and modify it.
   1607 _ACEOF
   1608   exit
   1609 fi
   1610 
   1611 ## ------------------------ ##
   1612 ## Autoconf initialization. ##
   1613 ## ------------------------ ##
   1614 
   1615 # ac_fn_c_try_compile LINENO
   1616 # --------------------------
   1617 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1618 ac_fn_c_try_compile ()
   1619 {
   1620   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1621   rm -f conftest.$ac_objext conftest.beam
   1622   if { { ac_try="$ac_compile"
   1623 case "(($ac_try" in
   1624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1625   *) ac_try_echo=$ac_try;;
   1626 esac
   1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1628 printf "%s\n" "$ac_try_echo"; } >&5
   1629   (eval "$ac_compile") 2>conftest.err
   1630   ac_status=$?
   1631   if test -s conftest.err; then
   1632     grep -v '^ *+' conftest.err >conftest.er1
   1633     cat conftest.er1 >&5
   1634     mv -f conftest.er1 conftest.err
   1635   fi
   1636   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1637   test $ac_status = 0; } && {
   1638 	 test -z "$ac_c_werror_flag" ||
   1639 	 test ! -s conftest.err
   1640        } && test -s conftest.$ac_objext
   1641 then :
   1642   ac_retval=0
   1643 else $as_nop
   1644   printf "%s\n" "$as_me: failed program was:" >&5
   1645 sed 's/^/| /' conftest.$ac_ext >&5
   1646 
   1647 	ac_retval=1
   1648 fi
   1649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1650   as_fn_set_status $ac_retval
   1651 
   1652 } # ac_fn_c_try_compile
   1653 
   1654 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1655 # -------------------------------------------------------
   1656 # Tests whether HEADER exists and can be compiled using the include files in
   1657 # INCLUDES, setting the cache variable VAR accordingly.
   1658 ac_fn_c_check_header_compile ()
   1659 {
   1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1662 printf %s "checking for $2... " >&6; }
   1663 if eval test \${$3+y}
   1664 then :
   1665   printf %s "(cached) " >&6
   1666 else $as_nop
   1667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1668 /* end confdefs.h.  */
   1669 $4
   1670 #include <$2>
   1671 _ACEOF
   1672 if ac_fn_c_try_compile "$LINENO"
   1673 then :
   1674   eval "$3=yes"
   1675 else $as_nop
   1676   eval "$3=no"
   1677 fi
   1678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1679 fi
   1680 eval ac_res=\$$3
   1681 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1682 printf "%s\n" "$ac_res" >&6; }
   1683   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1684 
   1685 } # ac_fn_c_check_header_compile
   1686 
   1687 # ac_fn_c_try_link LINENO
   1688 # -----------------------
   1689 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1690 ac_fn_c_try_link ()
   1691 {
   1692   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1693   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1694   if { { ac_try="$ac_link"
   1695 case "(($ac_try" in
   1696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1697   *) ac_try_echo=$ac_try;;
   1698 esac
   1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1700 printf "%s\n" "$ac_try_echo"; } >&5
   1701   (eval "$ac_link") 2>conftest.err
   1702   ac_status=$?
   1703   if test -s conftest.err; then
   1704     grep -v '^ *+' conftest.err >conftest.er1
   1705     cat conftest.er1 >&5
   1706     mv -f conftest.er1 conftest.err
   1707   fi
   1708   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1709   test $ac_status = 0; } && {
   1710 	 test -z "$ac_c_werror_flag" ||
   1711 	 test ! -s conftest.err
   1712        } && test -s conftest$ac_exeext && {
   1713 	 test "$cross_compiling" = yes ||
   1714 	 test -x conftest$ac_exeext
   1715        }
   1716 then :
   1717   ac_retval=0
   1718 else $as_nop
   1719   printf "%s\n" "$as_me: failed program was:" >&5
   1720 sed 's/^/| /' conftest.$ac_ext >&5
   1721 
   1722 	ac_retval=1
   1723 fi
   1724   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1725   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1726   # interfere with the next link command; also delete a directory that is
   1727   # left behind by Apple's compiler.  We do this before executing the actions.
   1728   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1729   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1730   as_fn_set_status $ac_retval
   1731 
   1732 } # ac_fn_c_try_link
   1733 
   1734 # ac_fn_c_check_func LINENO FUNC VAR
   1735 # ----------------------------------
   1736 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1737 ac_fn_c_check_func ()
   1738 {
   1739   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1740   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1741 printf %s "checking for $2... " >&6; }
   1742 if eval test \${$3+y}
   1743 then :
   1744   printf %s "(cached) " >&6
   1745 else $as_nop
   1746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1747 /* end confdefs.h.  */
   1748 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1750 #define $2 innocuous_$2
   1751 
   1752 /* System header to define __stub macros and hopefully few prototypes,
   1753    which can conflict with char $2 (); below.  */
   1754 
   1755 #include <limits.h>
   1756 #undef $2
   1757 
   1758 /* Override any GCC internal prototype to avoid an error.
   1759    Use char because int might match the return type of a GCC
   1760    builtin and then its argument prototype would still apply.  */
   1761 #ifdef __cplusplus
   1762 extern "C"
   1763 #endif
   1764 char $2 ();
   1765 /* The GNU C library defines this for functions which it implements
   1766     to always fail with ENOSYS.  Some functions are actually named
   1767     something starting with __ and the normal name is an alias.  */
   1768 #if defined __stub_$2 || defined __stub___$2
   1769 choke me
   1770 #endif
   1771 
   1772 int
   1773 main (void)
   1774 {
   1775 return $2 ();
   1776   ;
   1777   return 0;
   1778 }
   1779 _ACEOF
   1780 if ac_fn_c_try_link "$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 \
   1787     conftest$ac_exeext conftest.$ac_ext
   1788 fi
   1789 eval ac_res=\$$3
   1790 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1791 printf "%s\n" "$ac_res" >&6; }
   1792   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1793 
   1794 } # ac_fn_c_check_func
   1795 
   1796 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1797 # ------------------------------------------------------------------
   1798 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1799 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1800 ac_fn_check_decl ()
   1801 {
   1802   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1803   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1805 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1806 if eval test \${$3+y}
   1807 then :
   1808   printf %s "(cached) " >&6
   1809 else $as_nop
   1810   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1811   eval ac_save_FLAGS=\$$6
   1812   as_fn_append $6 " $5"
   1813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1814 /* end confdefs.h.  */
   1815 $4
   1816 int
   1817 main (void)
   1818 {
   1819 #ifndef $as_decl_name
   1820 #ifdef __cplusplus
   1821   (void) $as_decl_use;
   1822 #else
   1823   (void) $as_decl_name;
   1824 #endif
   1825 #endif
   1826 
   1827   ;
   1828   return 0;
   1829 }
   1830 _ACEOF
   1831 if ac_fn_c_try_compile "$LINENO"
   1832 then :
   1833   eval "$3=yes"
   1834 else $as_nop
   1835   eval "$3=no"
   1836 fi
   1837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1838   eval $6=\$ac_save_FLAGS
   1839 
   1840 fi
   1841 eval ac_res=\$$3
   1842 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1843 printf "%s\n" "$ac_res" >&6; }
   1844   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1845 
   1846 } # ac_fn_check_decl
   1847 ac_configure_args_raw=
   1848 for ac_arg
   1849 do
   1850   case $ac_arg in
   1851   *\'*)
   1852     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1853   esac
   1854   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1855 done
   1856 
   1857 case $ac_configure_args_raw in
   1858   *$as_nl*)
   1859     ac_safe_unquote= ;;
   1860   *)
   1861     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1862     ac_unsafe_a="$ac_unsafe_z#~"
   1863     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1864     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1865 esac
   1866 
   1867 cat >config.log <<_ACEOF
   1868 This file contains any messages produced by compilers while
   1869 running configure, to aid debugging if configure makes a mistake.
   1870 
   1871 It was created by libXcursor $as_me 1.2.3, which was
   1872 generated by GNU Autoconf 2.71.  Invocation command line was
   1873 
   1874   $ $0$ac_configure_args_raw
   1875 
   1876 _ACEOF
   1877 exec 5>>config.log
   1878 {
   1879 cat <<_ASUNAME
   1880 ## --------- ##
   1881 ## Platform. ##
   1882 ## --------- ##
   1883 
   1884 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1885 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1886 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1887 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1888 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1889 
   1890 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1891 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1892 
   1893 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1894 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1895 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1896 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1897 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1898 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1899 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1900 
   1901 _ASUNAME
   1902 
   1903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1904 for as_dir in $PATH
   1905 do
   1906   IFS=$as_save_IFS
   1907   case $as_dir in #(((
   1908     '') as_dir=./ ;;
   1909     */) ;;
   1910     *) as_dir=$as_dir/ ;;
   1911   esac
   1912     printf "%s\n" "PATH: $as_dir"
   1913   done
   1914 IFS=$as_save_IFS
   1915 
   1916 } >&5
   1917 
   1918 cat >&5 <<_ACEOF
   1919 
   1920 
   1921 ## ----------- ##
   1922 ## Core tests. ##
   1923 ## ----------- ##
   1924 
   1925 _ACEOF
   1926 
   1927 
   1928 # Keep a trace of the command line.
   1929 # Strip out --no-create and --no-recursion so they do not pile up.
   1930 # Strip out --silent because we don't want to record it for future runs.
   1931 # Also quote any args containing shell meta-characters.
   1932 # Make two passes to allow for proper duplicate-argument suppression.
   1933 ac_configure_args=
   1934 ac_configure_args0=
   1935 ac_configure_args1=
   1936 ac_must_keep_next=false
   1937 for ac_pass in 1 2
   1938 do
   1939   for ac_arg
   1940   do
   1941     case $ac_arg in
   1942     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1943     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1944     | -silent | --silent | --silen | --sile | --sil)
   1945       continue ;;
   1946     *\'*)
   1947       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1948     esac
   1949     case $ac_pass in
   1950     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1951     2)
   1952       as_fn_append ac_configure_args1 " '$ac_arg'"
   1953       if test $ac_must_keep_next = true; then
   1954 	ac_must_keep_next=false # Got value, back to normal.
   1955       else
   1956 	case $ac_arg in
   1957 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1958 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1959 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1960 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1961 	    case "$ac_configure_args0 " in
   1962 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1963 	    esac
   1964 	    ;;
   1965 	  -* ) ac_must_keep_next=true ;;
   1966 	esac
   1967       fi
   1968       as_fn_append ac_configure_args " '$ac_arg'"
   1969       ;;
   1970     esac
   1971   done
   1972 done
   1973 { ac_configure_args0=; unset ac_configure_args0;}
   1974 { ac_configure_args1=; unset ac_configure_args1;}
   1975 
   1976 # When interrupted or exit'd, cleanup temporary files, and complete
   1977 # config.log.  We remove comments because anyway the quotes in there
   1978 # would cause problems or look ugly.
   1979 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1980 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1981 trap 'exit_status=$?
   1982   # Sanitize IFS.
   1983   IFS=" ""	$as_nl"
   1984   # Save into config.log some information that might help in debugging.
   1985   {
   1986     echo
   1987 
   1988     printf "%s\n" "## ---------------- ##
   1989 ## Cache variables. ##
   1990 ## ---------------- ##"
   1991     echo
   1992     # The following way of writing the cache mishandles newlines in values,
   1993 (
   1994   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1995     eval ac_val=\$$ac_var
   1996     case $ac_val in #(
   1997     *${as_nl}*)
   1998       case $ac_var in #(
   1999       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2000 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2001       esac
   2002       case $ac_var in #(
   2003       _ | IFS | as_nl) ;; #(
   2004       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2005       *) { eval $ac_var=; unset $ac_var;} ;;
   2006       esac ;;
   2007     esac
   2008   done
   2009   (set) 2>&1 |
   2010     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2011     *${as_nl}ac_space=\ *)
   2012       sed -n \
   2013 	"s/'\''/'\''\\\\'\'''\''/g;
   2014 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2015       ;; #(
   2016     *)
   2017       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2018       ;;
   2019     esac |
   2020     sort
   2021 )
   2022     echo
   2023 
   2024     printf "%s\n" "## ----------------- ##
   2025 ## Output variables. ##
   2026 ## ----------------- ##"
   2027     echo
   2028     for ac_var in $ac_subst_vars
   2029     do
   2030       eval ac_val=\$$ac_var
   2031       case $ac_val in
   2032       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2033       esac
   2034       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2035     done | sort
   2036     echo
   2037 
   2038     if test -n "$ac_subst_files"; then
   2039       printf "%s\n" "## ------------------- ##
   2040 ## File substitutions. ##
   2041 ## ------------------- ##"
   2042       echo
   2043       for ac_var in $ac_subst_files
   2044       do
   2045 	eval ac_val=\$$ac_var
   2046 	case $ac_val in
   2047 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2048 	esac
   2049 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2050       done | sort
   2051       echo
   2052     fi
   2053 
   2054     if test -s confdefs.h; then
   2055       printf "%s\n" "## ----------- ##
   2056 ## confdefs.h. ##
   2057 ## ----------- ##"
   2058       echo
   2059       cat confdefs.h
   2060       echo
   2061     fi
   2062     test "$ac_signal" != 0 &&
   2063       printf "%s\n" "$as_me: caught signal $ac_signal"
   2064     printf "%s\n" "$as_me: exit $exit_status"
   2065   } >&5
   2066   rm -f core *.core core.conftest.* &&
   2067     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2068     exit $exit_status
   2069 ' 0
   2070 for ac_signal in 1 2 13 15; do
   2071   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2072 done
   2073 ac_signal=0
   2074 
   2075 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2076 rm -f -r conftest* confdefs.h
   2077 
   2078 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2079 
   2080 # Predefined preprocessor variables.
   2081 
   2082 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2083 
   2084 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2085 
   2086 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2087 
   2088 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2089 
   2090 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2091 
   2092 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2093 
   2094 
   2095 # Let the site file select an alternate cache file if it wants to.
   2096 # Prefer an explicitly selected file to automatically selected ones.
   2097 if test -n "$CONFIG_SITE"; then
   2098   ac_site_files="$CONFIG_SITE"
   2099 elif test "x$prefix" != xNONE; then
   2100   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2101 else
   2102   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2103 fi
   2104 
   2105 for ac_site_file in $ac_site_files
   2106 do
   2107   case $ac_site_file in #(
   2108   */*) :
   2109      ;; #(
   2110   *) :
   2111     ac_site_file=./$ac_site_file ;;
   2112 esac
   2113   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2114     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2115 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2116     sed 's/^/| /' "$ac_site_file" >&5
   2117     . "$ac_site_file" \
   2118       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2119 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2120 as_fn_error $? "failed to load site script $ac_site_file
   2121 See \`config.log' for more details" "$LINENO" 5; }
   2122   fi
   2123 done
   2124 
   2125 if test -r "$cache_file"; then
   2126   # Some versions of bash will fail to source /dev/null (special files
   2127   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2128   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2129     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2130 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2131     case $cache_file in
   2132       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2133       *)                      . "./$cache_file";;
   2134     esac
   2135   fi
   2136 else
   2137   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2138 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2139   >$cache_file
   2140 fi
   2141 
   2142 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2143 # Test code for whether the C compiler supports C89 (global declarations)
   2144 ac_c_conftest_c89_globals='
   2145 /* Does the compiler advertise C89 conformance?
   2146    Do not test the value of __STDC__, because some compilers set it to 0
   2147    while being otherwise adequately conformant. */
   2148 #if !defined __STDC__
   2149 # error "Compiler does not advertise C89 conformance"
   2150 #endif
   2151 
   2152 #include <stddef.h>
   2153 #include <stdarg.h>
   2154 struct stat;
   2155 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2156 struct buf { int x; };
   2157 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2158 static char *e (p, i)
   2159      char **p;
   2160      int i;
   2161 {
   2162   return p[i];
   2163 }
   2164 static char *f (char * (*g) (char **, int), char **p, ...)
   2165 {
   2166   char *s;
   2167   va_list v;
   2168   va_start (v,p);
   2169   s = g (p, va_arg (v,int));
   2170   va_end (v);
   2171   return s;
   2172 }
   2173 
   2174 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2175    function prototypes and stuff, but not \xHH hex character constants.
   2176    These do not provoke an error unfortunately, instead are silently treated
   2177    as an "x".  The following induces an error, until -std is added to get
   2178    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2179    array size at least.  It is necessary to write \x00 == 0 to get something
   2180    that is true only with -std.  */
   2181 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2182 
   2183 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2184    inside strings and character constants.  */
   2185 #define FOO(x) '\''x'\''
   2186 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2187 
   2188 int test (int i, double x);
   2189 struct s1 {int (*f) (int a);};
   2190 struct s2 {int (*f) (double a);};
   2191 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2192                int, int);'
   2193 
   2194 # Test code for whether the C compiler supports C89 (body of main).
   2195 ac_c_conftest_c89_main='
   2196 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2197 '
   2198 
   2199 # Test code for whether the C compiler supports C99 (global declarations)
   2200 ac_c_conftest_c99_globals='
   2201 // Does the compiler advertise C99 conformance?
   2202 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2203 # error "Compiler does not advertise C99 conformance"
   2204 #endif
   2205 
   2206 #include <stdbool.h>
   2207 extern int puts (const char *);
   2208 extern int printf (const char *, ...);
   2209 extern int dprintf (int, const char *, ...);
   2210 extern void *malloc (size_t);
   2211 
   2212 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2213 // dprintf is used instead of fprintf to avoid needing to declare
   2214 // FILE and stderr.
   2215 #define debug(...) dprintf (2, __VA_ARGS__)
   2216 #define showlist(...) puts (#__VA_ARGS__)
   2217 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2218 static void
   2219 test_varargs_macros (void)
   2220 {
   2221   int x = 1234;
   2222   int y = 5678;
   2223   debug ("Flag");
   2224   debug ("X = %d\n", x);
   2225   showlist (The first, second, and third items.);
   2226   report (x>y, "x is %d but y is %d", x, y);
   2227 }
   2228 
   2229 // Check long long types.
   2230 #define BIG64 18446744073709551615ull
   2231 #define BIG32 4294967295ul
   2232 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2233 #if !BIG_OK
   2234   #error "your preprocessor is broken"
   2235 #endif
   2236 #if BIG_OK
   2237 #else
   2238   #error "your preprocessor is broken"
   2239 #endif
   2240 static long long int bignum = -9223372036854775807LL;
   2241 static unsigned long long int ubignum = BIG64;
   2242 
   2243 struct incomplete_array
   2244 {
   2245   int datasize;
   2246   double data[];
   2247 };
   2248 
   2249 struct named_init {
   2250   int number;
   2251   const wchar_t *name;
   2252   double average;
   2253 };
   2254 
   2255 typedef const char *ccp;
   2256 
   2257 static inline int
   2258 test_restrict (ccp restrict text)
   2259 {
   2260   // See if C++-style comments work.
   2261   // Iterate through items via the restricted pointer.
   2262   // Also check for declarations in for loops.
   2263   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2264     continue;
   2265   return 0;
   2266 }
   2267 
   2268 // Check varargs and va_copy.
   2269 static bool
   2270 test_varargs (const char *format, ...)
   2271 {
   2272   va_list args;
   2273   va_start (args, format);
   2274   va_list args_copy;
   2275   va_copy (args_copy, args);
   2276 
   2277   const char *str = "";
   2278   int number = 0;
   2279   float fnumber = 0;
   2280 
   2281   while (*format)
   2282     {
   2283       switch (*format++)
   2284 	{
   2285 	case '\''s'\'': // string
   2286 	  str = va_arg (args_copy, const char *);
   2287 	  break;
   2288 	case '\''d'\'': // int
   2289 	  number = va_arg (args_copy, int);
   2290 	  break;
   2291 	case '\''f'\'': // float
   2292 	  fnumber = va_arg (args_copy, double);
   2293 	  break;
   2294 	default:
   2295 	  break;
   2296 	}
   2297     }
   2298   va_end (args_copy);
   2299   va_end (args);
   2300 
   2301   return *str && number && fnumber;
   2302 }
   2303 '
   2304 
   2305 # Test code for whether the C compiler supports C99 (body of main).
   2306 ac_c_conftest_c99_main='
   2307   // Check bool.
   2308   _Bool success = false;
   2309   success |= (argc != 0);
   2310 
   2311   // Check restrict.
   2312   if (test_restrict ("String literal") == 0)
   2313     success = true;
   2314   char *restrict newvar = "Another string";
   2315 
   2316   // Check varargs.
   2317   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2318   test_varargs_macros ();
   2319 
   2320   // Check flexible array members.
   2321   struct incomplete_array *ia =
   2322     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2323   ia->datasize = 10;
   2324   for (int i = 0; i < ia->datasize; ++i)
   2325     ia->data[i] = i * 1.234;
   2326 
   2327   // Check named initializers.
   2328   struct named_init ni = {
   2329     .number = 34,
   2330     .name = L"Test wide string",
   2331     .average = 543.34343,
   2332   };
   2333 
   2334   ni.number = 58;
   2335 
   2336   int dynamic_array[ni.number];
   2337   dynamic_array[0] = argv[0][0];
   2338   dynamic_array[ni.number - 1] = 543;
   2339 
   2340   // work around unused variable warnings
   2341   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2342 	 || dynamic_array[ni.number - 1] != 543);
   2343 '
   2344 
   2345 # Test code for whether the C compiler supports C11 (global declarations)
   2346 ac_c_conftest_c11_globals='
   2347 // Does the compiler advertise C11 conformance?
   2348 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2349 # error "Compiler does not advertise C11 conformance"
   2350 #endif
   2351 
   2352 // Check _Alignas.
   2353 char _Alignas (double) aligned_as_double;
   2354 char _Alignas (0) no_special_alignment;
   2355 extern char aligned_as_int;
   2356 char _Alignas (0) _Alignas (int) aligned_as_int;
   2357 
   2358 // Check _Alignof.
   2359 enum
   2360 {
   2361   int_alignment = _Alignof (int),
   2362   int_array_alignment = _Alignof (int[100]),
   2363   char_alignment = _Alignof (char)
   2364 };
   2365 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2366 
   2367 // Check _Noreturn.
   2368 int _Noreturn does_not_return (void) { for (;;) continue; }
   2369 
   2370 // Check _Static_assert.
   2371 struct test_static_assert
   2372 {
   2373   int x;
   2374   _Static_assert (sizeof (int) <= sizeof (long int),
   2375                   "_Static_assert does not work in struct");
   2376   long int y;
   2377 };
   2378 
   2379 // Check UTF-8 literals.
   2380 #define u8 syntax error!
   2381 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2382 
   2383 // Check duplicate typedefs.
   2384 typedef long *long_ptr;
   2385 typedef long int *long_ptr;
   2386 typedef long_ptr long_ptr;
   2387 
   2388 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2389 struct anonymous
   2390 {
   2391   union {
   2392     struct { int i; int j; };
   2393     struct { int k; long int l; } w;
   2394   };
   2395   int m;
   2396 } v1;
   2397 '
   2398 
   2399 # Test code for whether the C compiler supports C11 (body of main).
   2400 ac_c_conftest_c11_main='
   2401   _Static_assert ((offsetof (struct anonymous, i)
   2402 		   == offsetof (struct anonymous, w.k)),
   2403 		  "Anonymous union alignment botch");
   2404   v1.i = 2;
   2405   v1.w.k = 5;
   2406   ok |= v1.i != 5;
   2407 '
   2408 
   2409 # Test code for whether the C compiler supports C11 (complete).
   2410 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2411 ${ac_c_conftest_c99_globals}
   2412 ${ac_c_conftest_c11_globals}
   2413 
   2414 int
   2415 main (int argc, char **argv)
   2416 {
   2417   int ok = 0;
   2418   ${ac_c_conftest_c89_main}
   2419   ${ac_c_conftest_c99_main}
   2420   ${ac_c_conftest_c11_main}
   2421   return ok;
   2422 }
   2423 "
   2424 
   2425 # Test code for whether the C compiler supports C99 (complete).
   2426 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2427 ${ac_c_conftest_c99_globals}
   2428 
   2429 int
   2430 main (int argc, char **argv)
   2431 {
   2432   int ok = 0;
   2433   ${ac_c_conftest_c89_main}
   2434   ${ac_c_conftest_c99_main}
   2435   return ok;
   2436 }
   2437 "
   2438 
   2439 # Test code for whether the C compiler supports C89 (complete).
   2440 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2441 
   2442 int
   2443 main (int argc, char **argv)
   2444 {
   2445   int ok = 0;
   2446   ${ac_c_conftest_c89_main}
   2447   return ok;
   2448 }
   2449 "
   2450 
   2451 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2452 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2453 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2454 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2455 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2456 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2457 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2458 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2459 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2460 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2461 
   2462 # Auxiliary files required by this configure script.
   2463 ac_aux_files="config.guess config.sub ltmain.sh missing install-sh compile"
   2464 
   2465 # Locations in which to look for auxiliary files.
   2466 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2467 
   2468 # Search for a directory containing all of the required auxiliary files,
   2469 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2470 # If we don't find one directory that contains all the files we need,
   2471 # we report the set of missing files from the *first* directory in
   2472 # $ac_aux_dir_candidates and give up.
   2473 ac_missing_aux_files=""
   2474 ac_first_candidate=:
   2475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2477 as_found=false
   2478 for as_dir in $ac_aux_dir_candidates
   2479 do
   2480   IFS=$as_save_IFS
   2481   case $as_dir in #(((
   2482     '') as_dir=./ ;;
   2483     */) ;;
   2484     *) as_dir=$as_dir/ ;;
   2485   esac
   2486   as_found=:
   2487 
   2488   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2489   ac_aux_dir_found=yes
   2490   ac_install_sh=
   2491   for ac_aux in $ac_aux_files
   2492   do
   2493     # As a special case, if "install-sh" is required, that requirement
   2494     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2495     # and $ac_install_sh is set appropriately for whichever one is found.
   2496     if test x"$ac_aux" = x"install-sh"
   2497     then
   2498       if test -f "${as_dir}install-sh"; then
   2499         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2500         ac_install_sh="${as_dir}install-sh -c"
   2501       elif test -f "${as_dir}install.sh"; then
   2502         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2503         ac_install_sh="${as_dir}install.sh -c"
   2504       elif test -f "${as_dir}shtool"; then
   2505         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2506         ac_install_sh="${as_dir}shtool install -c"
   2507       else
   2508         ac_aux_dir_found=no
   2509         if $ac_first_candidate; then
   2510           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2511         else
   2512           break
   2513         fi
   2514       fi
   2515     else
   2516       if test -f "${as_dir}${ac_aux}"; then
   2517         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2518       else
   2519         ac_aux_dir_found=no
   2520         if $ac_first_candidate; then
   2521           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2522         else
   2523           break
   2524         fi
   2525       fi
   2526     fi
   2527   done
   2528   if test "$ac_aux_dir_found" = yes; then
   2529     ac_aux_dir="$as_dir"
   2530     break
   2531   fi
   2532   ac_first_candidate=false
   2533 
   2534   as_found=false
   2535 done
   2536 IFS=$as_save_IFS
   2537 if $as_found
   2538 then :
   2539 
   2540 else $as_nop
   2541   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2542 fi
   2543 
   2544 
   2545 # These three variables are undocumented and unsupported,
   2546 # and are intended to be withdrawn in a future Autoconf release.
   2547 # They can cause serious problems if a builder's source tree is in a directory
   2548 # whose full name contains unusual characters.
   2549 if test -f "${ac_aux_dir}config.guess"; then
   2550   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2551 fi
   2552 if test -f "${ac_aux_dir}config.sub"; then
   2553   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2554 fi
   2555 if test -f "$ac_aux_dir/configure"; then
   2556   ac_configure="$SHELL ${ac_aux_dir}configure"
   2557 fi
   2558 
   2559 # Check that the precious variables saved in the cache have kept the same
   2560 # value.
   2561 ac_cache_corrupted=false
   2562 for ac_var in $ac_precious_vars; do
   2563   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2564   eval ac_new_set=\$ac_env_${ac_var}_set
   2565   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2566   eval ac_new_val=\$ac_env_${ac_var}_value
   2567   case $ac_old_set,$ac_new_set in
   2568     set,)
   2569       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2570 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2571       ac_cache_corrupted=: ;;
   2572     ,set)
   2573       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2574 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2575       ac_cache_corrupted=: ;;
   2576     ,);;
   2577     *)
   2578       if test "x$ac_old_val" != "x$ac_new_val"; then
   2579 	# differences in whitespace do not lead to failure.
   2580 	ac_old_val_w=`echo x $ac_old_val`
   2581 	ac_new_val_w=`echo x $ac_new_val`
   2582 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2583 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2584 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2585 	  ac_cache_corrupted=:
   2586 	else
   2587 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2588 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2589 	  eval $ac_var=\$ac_old_val
   2590 	fi
   2591 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2592 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2593 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2594 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2595       fi;;
   2596   esac
   2597   # Pass precious variables to config.status.
   2598   if test "$ac_new_set" = set; then
   2599     case $ac_new_val in
   2600     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2601     *) ac_arg=$ac_var=$ac_new_val ;;
   2602     esac
   2603     case " $ac_configure_args " in
   2604       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2605       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2606     esac
   2607   fi
   2608 done
   2609 if $ac_cache_corrupted; then
   2610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2611 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2612   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2613 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2614   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2615 	    and start over" "$LINENO" 5
   2616 fi
   2617 ## -------------------- ##
   2618 ## Main body of script. ##
   2619 ## -------------------- ##
   2620 
   2621 ac_ext=c
   2622 ac_cpp='$CPP $CPPFLAGS'
   2623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2626 
   2627 
   2628 
   2629 ac_config_headers="$ac_config_headers config.h include/X11/Xcursor/Xcursor.h"
   2630 
   2631 
   2632 
   2633 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2634 # Must be called before any macros that run the compiler (like LT_INIT)
   2635 # to avoid autoconf errors.
   2636 
   2637 
   2638 
   2639 
   2640 
   2641 
   2642 
   2643 
   2644 
   2645 
   2646 
   2647 # Expand $ac_aux_dir to an absolute path.
   2648 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2649 
   2650 ac_ext=c
   2651 ac_cpp='$CPP $CPPFLAGS'
   2652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2655 if test -n "$ac_tool_prefix"; then
   2656   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2657 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2659 printf %s "checking for $ac_word... " >&6; }
   2660 if test ${ac_cv_prog_CC+y}
   2661 then :
   2662   printf %s "(cached) " >&6
   2663 else $as_nop
   2664   if test -n "$CC"; then
   2665   ac_cv_prog_CC="$CC" # Let the user override the test.
   2666 else
   2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2668 for as_dir in $PATH
   2669 do
   2670   IFS=$as_save_IFS
   2671   case $as_dir in #(((
   2672     '') as_dir=./ ;;
   2673     */) ;;
   2674     *) as_dir=$as_dir/ ;;
   2675   esac
   2676     for ac_exec_ext in '' $ac_executable_extensions; do
   2677   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2678     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2679     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2680     break 2
   2681   fi
   2682 done
   2683   done
   2684 IFS=$as_save_IFS
   2685 
   2686 fi
   2687 fi
   2688 CC=$ac_cv_prog_CC
   2689 if test -n "$CC"; then
   2690   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2691 printf "%s\n" "$CC" >&6; }
   2692 else
   2693   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2694 printf "%s\n" "no" >&6; }
   2695 fi
   2696 
   2697 
   2698 fi
   2699 if test -z "$ac_cv_prog_CC"; then
   2700   ac_ct_CC=$CC
   2701   # Extract the first word of "gcc", so it can be a program name with args.
   2702 set dummy gcc; ac_word=$2
   2703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2704 printf %s "checking for $ac_word... " >&6; }
   2705 if test ${ac_cv_prog_ac_ct_CC+y}
   2706 then :
   2707   printf %s "(cached) " >&6
   2708 else $as_nop
   2709   if test -n "$ac_ct_CC"; then
   2710   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2711 else
   2712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2713 for as_dir in $PATH
   2714 do
   2715   IFS=$as_save_IFS
   2716   case $as_dir in #(((
   2717     '') as_dir=./ ;;
   2718     */) ;;
   2719     *) as_dir=$as_dir/ ;;
   2720   esac
   2721     for ac_exec_ext in '' $ac_executable_extensions; do
   2722   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2723     ac_cv_prog_ac_ct_CC="gcc"
   2724     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2725     break 2
   2726   fi
   2727 done
   2728   done
   2729 IFS=$as_save_IFS
   2730 
   2731 fi
   2732 fi
   2733 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2734 if test -n "$ac_ct_CC"; then
   2735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2736 printf "%s\n" "$ac_ct_CC" >&6; }
   2737 else
   2738   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2739 printf "%s\n" "no" >&6; }
   2740 fi
   2741 
   2742   if test "x$ac_ct_CC" = x; then
   2743     CC=""
   2744   else
   2745     case $cross_compiling:$ac_tool_warned in
   2746 yes:)
   2747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2748 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2749 ac_tool_warned=yes ;;
   2750 esac
   2751     CC=$ac_ct_CC
   2752   fi
   2753 else
   2754   CC="$ac_cv_prog_CC"
   2755 fi
   2756 
   2757 if test -z "$CC"; then
   2758           if test -n "$ac_tool_prefix"; then
   2759     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2760 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2762 printf %s "checking for $ac_word... " >&6; }
   2763 if test ${ac_cv_prog_CC+y}
   2764 then :
   2765   printf %s "(cached) " >&6
   2766 else $as_nop
   2767   if test -n "$CC"; then
   2768   ac_cv_prog_CC="$CC" # Let the user override the test.
   2769 else
   2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2771 for as_dir in $PATH
   2772 do
   2773   IFS=$as_save_IFS
   2774   case $as_dir in #(((
   2775     '') as_dir=./ ;;
   2776     */) ;;
   2777     *) as_dir=$as_dir/ ;;
   2778   esac
   2779     for ac_exec_ext in '' $ac_executable_extensions; do
   2780   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2781     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2782     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2783     break 2
   2784   fi
   2785 done
   2786   done
   2787 IFS=$as_save_IFS
   2788 
   2789 fi
   2790 fi
   2791 CC=$ac_cv_prog_CC
   2792 if test -n "$CC"; then
   2793   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2794 printf "%s\n" "$CC" >&6; }
   2795 else
   2796   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2797 printf "%s\n" "no" >&6; }
   2798 fi
   2799 
   2800 
   2801   fi
   2802 fi
   2803 if test -z "$CC"; then
   2804   # Extract the first word of "cc", so it can be a program name with args.
   2805 set dummy cc; ac_word=$2
   2806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2807 printf %s "checking for $ac_word... " >&6; }
   2808 if test ${ac_cv_prog_CC+y}
   2809 then :
   2810   printf %s "(cached) " >&6
   2811 else $as_nop
   2812   if test -n "$CC"; then
   2813   ac_cv_prog_CC="$CC" # Let the user override the test.
   2814 else
   2815   ac_prog_rejected=no
   2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2817 for as_dir in $PATH
   2818 do
   2819   IFS=$as_save_IFS
   2820   case $as_dir in #(((
   2821     '') as_dir=./ ;;
   2822     */) ;;
   2823     *) as_dir=$as_dir/ ;;
   2824   esac
   2825     for ac_exec_ext in '' $ac_executable_extensions; do
   2826   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2827     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2828        ac_prog_rejected=yes
   2829        continue
   2830      fi
   2831     ac_cv_prog_CC="cc"
   2832     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2833     break 2
   2834   fi
   2835 done
   2836   done
   2837 IFS=$as_save_IFS
   2838 
   2839 if test $ac_prog_rejected = yes; then
   2840   # We found a bogon in the path, so make sure we never use it.
   2841   set dummy $ac_cv_prog_CC
   2842   shift
   2843   if test $# != 0; then
   2844     # We chose a different compiler from the bogus one.
   2845     # However, it has the same basename, so the bogon will be chosen
   2846     # first if we set CC to just the basename; use the full file name.
   2847     shift
   2848     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2849   fi
   2850 fi
   2851 fi
   2852 fi
   2853 CC=$ac_cv_prog_CC
   2854 if test -n "$CC"; then
   2855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2856 printf "%s\n" "$CC" >&6; }
   2857 else
   2858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2859 printf "%s\n" "no" >&6; }
   2860 fi
   2861 
   2862 
   2863 fi
   2864 if test -z "$CC"; then
   2865   if test -n "$ac_tool_prefix"; then
   2866   for ac_prog in cl.exe
   2867   do
   2868     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2869 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2871 printf %s "checking for $ac_word... " >&6; }
   2872 if test ${ac_cv_prog_CC+y}
   2873 then :
   2874   printf %s "(cached) " >&6
   2875 else $as_nop
   2876   if test -n "$CC"; then
   2877   ac_cv_prog_CC="$CC" # Let the user override the test.
   2878 else
   2879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2880 for as_dir in $PATH
   2881 do
   2882   IFS=$as_save_IFS
   2883   case $as_dir in #(((
   2884     '') as_dir=./ ;;
   2885     */) ;;
   2886     *) as_dir=$as_dir/ ;;
   2887   esac
   2888     for ac_exec_ext in '' $ac_executable_extensions; do
   2889   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2890     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2891     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2892     break 2
   2893   fi
   2894 done
   2895   done
   2896 IFS=$as_save_IFS
   2897 
   2898 fi
   2899 fi
   2900 CC=$ac_cv_prog_CC
   2901 if test -n "$CC"; then
   2902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2903 printf "%s\n" "$CC" >&6; }
   2904 else
   2905   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2906 printf "%s\n" "no" >&6; }
   2907 fi
   2908 
   2909 
   2910     test -n "$CC" && break
   2911   done
   2912 fi
   2913 if test -z "$CC"; then
   2914   ac_ct_CC=$CC
   2915   for ac_prog in cl.exe
   2916 do
   2917   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2918 set dummy $ac_prog; ac_word=$2
   2919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2920 printf %s "checking for $ac_word... " >&6; }
   2921 if test ${ac_cv_prog_ac_ct_CC+y}
   2922 then :
   2923   printf %s "(cached) " >&6
   2924 else $as_nop
   2925   if test -n "$ac_ct_CC"; then
   2926   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2927 else
   2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2929 for as_dir in $PATH
   2930 do
   2931   IFS=$as_save_IFS
   2932   case $as_dir in #(((
   2933     '') as_dir=./ ;;
   2934     */) ;;
   2935     *) as_dir=$as_dir/ ;;
   2936   esac
   2937     for ac_exec_ext in '' $ac_executable_extensions; do
   2938   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2939     ac_cv_prog_ac_ct_CC="$ac_prog"
   2940     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2941     break 2
   2942   fi
   2943 done
   2944   done
   2945 IFS=$as_save_IFS
   2946 
   2947 fi
   2948 fi
   2949 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2950 if test -n "$ac_ct_CC"; then
   2951   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2952 printf "%s\n" "$ac_ct_CC" >&6; }
   2953 else
   2954   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2955 printf "%s\n" "no" >&6; }
   2956 fi
   2957 
   2958 
   2959   test -n "$ac_ct_CC" && break
   2960 done
   2961 
   2962   if test "x$ac_ct_CC" = x; then
   2963     CC=""
   2964   else
   2965     case $cross_compiling:$ac_tool_warned in
   2966 yes:)
   2967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2968 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2969 ac_tool_warned=yes ;;
   2970 esac
   2971     CC=$ac_ct_CC
   2972   fi
   2973 fi
   2974 
   2975 fi
   2976 if test -z "$CC"; then
   2977   if test -n "$ac_tool_prefix"; then
   2978   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   2979 set dummy ${ac_tool_prefix}clang; ac_word=$2
   2980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2981 printf %s "checking for $ac_word... " >&6; }
   2982 if test ${ac_cv_prog_CC+y}
   2983 then :
   2984   printf %s "(cached) " >&6
   2985 else $as_nop
   2986   if test -n "$CC"; then
   2987   ac_cv_prog_CC="$CC" # Let the user override the test.
   2988 else
   2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2990 for as_dir in $PATH
   2991 do
   2992   IFS=$as_save_IFS
   2993   case $as_dir in #(((
   2994     '') as_dir=./ ;;
   2995     */) ;;
   2996     *) as_dir=$as_dir/ ;;
   2997   esac
   2998     for ac_exec_ext in '' $ac_executable_extensions; do
   2999   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3000     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3001     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3002     break 2
   3003   fi
   3004 done
   3005   done
   3006 IFS=$as_save_IFS
   3007 
   3008 fi
   3009 fi
   3010 CC=$ac_cv_prog_CC
   3011 if test -n "$CC"; then
   3012   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3013 printf "%s\n" "$CC" >&6; }
   3014 else
   3015   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3016 printf "%s\n" "no" >&6; }
   3017 fi
   3018 
   3019 
   3020 fi
   3021 if test -z "$ac_cv_prog_CC"; then
   3022   ac_ct_CC=$CC
   3023   # Extract the first word of "clang", so it can be a program name with args.
   3024 set dummy clang; 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="clang"
   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   if test "x$ac_ct_CC" = x; then
   3065     CC=""
   3066   else
   3067     case $cross_compiling:$ac_tool_warned in
   3068 yes:)
   3069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3070 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3071 ac_tool_warned=yes ;;
   3072 esac
   3073     CC=$ac_ct_CC
   3074   fi
   3075 else
   3076   CC="$ac_cv_prog_CC"
   3077 fi
   3078 
   3079 fi
   3080 
   3081 
   3082 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3083 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3084 as_fn_error $? "no acceptable C compiler found in \$PATH
   3085 See \`config.log' for more details" "$LINENO" 5; }
   3086 
   3087 # Provide some information about the compiler.
   3088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3089 set X $ac_compile
   3090 ac_compiler=$2
   3091 for ac_option in --version -v -V -qversion -version; do
   3092   { { ac_try="$ac_compiler $ac_option >&5"
   3093 case "(($ac_try" in
   3094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3095   *) ac_try_echo=$ac_try;;
   3096 esac
   3097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3098 printf "%s\n" "$ac_try_echo"; } >&5
   3099   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3100   ac_status=$?
   3101   if test -s conftest.err; then
   3102     sed '10a\
   3103 ... rest of stderr output deleted ...
   3104          10q' conftest.err >conftest.er1
   3105     cat conftest.er1 >&5
   3106   fi
   3107   rm -f conftest.er1 conftest.err
   3108   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3109   test $ac_status = 0; }
   3110 done
   3111 
   3112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3113 /* end confdefs.h.  */
   3114 
   3115 int
   3116 main (void)
   3117 {
   3118 
   3119   ;
   3120   return 0;
   3121 }
   3122 _ACEOF
   3123 ac_clean_files_save=$ac_clean_files
   3124 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3125 # Try to create an executable without -o first, disregard a.out.
   3126 # It will help us diagnose broken compilers, and finding out an intuition
   3127 # of exeext.
   3128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3129 printf %s "checking whether the C compiler works... " >&6; }
   3130 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3131 
   3132 # The possible output files:
   3133 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3134 
   3135 ac_rmfiles=
   3136 for ac_file in $ac_files
   3137 do
   3138   case $ac_file in
   3139     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3140     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3141   esac
   3142 done
   3143 rm -f $ac_rmfiles
   3144 
   3145 if { { ac_try="$ac_link_default"
   3146 case "(($ac_try" in
   3147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3148   *) ac_try_echo=$ac_try;;
   3149 esac
   3150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3151 printf "%s\n" "$ac_try_echo"; } >&5
   3152   (eval "$ac_link_default") 2>&5
   3153   ac_status=$?
   3154   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3155   test $ac_status = 0; }
   3156 then :
   3157   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3158 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3159 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3160 # so that the user can short-circuit this test for compilers unknown to
   3161 # Autoconf.
   3162 for ac_file in $ac_files ''
   3163 do
   3164   test -f "$ac_file" || continue
   3165   case $ac_file in
   3166     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3167 	;;
   3168     [ab].out )
   3169 	# We found the default executable, but exeext='' is most
   3170 	# certainly right.
   3171 	break;;
   3172     *.* )
   3173 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3174 	then :; else
   3175 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3176 	fi
   3177 	# We set ac_cv_exeext here because the later test for it is not
   3178 	# safe: cross compilers may not add the suffix if given an `-o'
   3179 	# argument, so we may need to know it at that point already.
   3180 	# Even if this section looks crufty: it has the advantage of
   3181 	# actually working.
   3182 	break;;
   3183     * )
   3184 	break;;
   3185   esac
   3186 done
   3187 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3188 
   3189 else $as_nop
   3190   ac_file=''
   3191 fi
   3192 if test -z "$ac_file"
   3193 then :
   3194   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3195 printf "%s\n" "no" >&6; }
   3196 printf "%s\n" "$as_me: failed program was:" >&5
   3197 sed 's/^/| /' conftest.$ac_ext >&5
   3198 
   3199 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3200 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3201 as_fn_error 77 "C compiler cannot create executables
   3202 See \`config.log' for more details" "$LINENO" 5; }
   3203 else $as_nop
   3204   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3205 printf "%s\n" "yes" >&6; }
   3206 fi
   3207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3208 printf %s "checking for C compiler default output file name... " >&6; }
   3209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3210 printf "%s\n" "$ac_file" >&6; }
   3211 ac_exeext=$ac_cv_exeext
   3212 
   3213 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3214 ac_clean_files=$ac_clean_files_save
   3215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3216 printf %s "checking for suffix of executables... " >&6; }
   3217 if { { ac_try="$ac_link"
   3218 case "(($ac_try" in
   3219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3220   *) ac_try_echo=$ac_try;;
   3221 esac
   3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3223 printf "%s\n" "$ac_try_echo"; } >&5
   3224   (eval "$ac_link") 2>&5
   3225   ac_status=$?
   3226   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3227   test $ac_status = 0; }
   3228 then :
   3229   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3230 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3231 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3232 # `rm'.
   3233 for ac_file in conftest.exe conftest conftest.*; do
   3234   test -f "$ac_file" || continue
   3235   case $ac_file in
   3236     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3237     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3238 	  break;;
   3239     * ) break;;
   3240   esac
   3241 done
   3242 else $as_nop
   3243   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3244 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3245 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3246 See \`config.log' for more details" "$LINENO" 5; }
   3247 fi
   3248 rm -f conftest conftest$ac_cv_exeext
   3249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3250 printf "%s\n" "$ac_cv_exeext" >&6; }
   3251 
   3252 rm -f conftest.$ac_ext
   3253 EXEEXT=$ac_cv_exeext
   3254 ac_exeext=$EXEEXT
   3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3256 /* end confdefs.h.  */
   3257 #include <stdio.h>
   3258 int
   3259 main (void)
   3260 {
   3261 FILE *f = fopen ("conftest.out", "w");
   3262  return ferror (f) || fclose (f) != 0;
   3263 
   3264   ;
   3265   return 0;
   3266 }
   3267 _ACEOF
   3268 ac_clean_files="$ac_clean_files conftest.out"
   3269 # Check that the compiler produces executables we can run.  If not, either
   3270 # the compiler is broken, or we cross compile.
   3271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3272 printf %s "checking whether we are cross compiling... " >&6; }
   3273 if test "$cross_compiling" != yes; then
   3274   { { ac_try="$ac_link"
   3275 case "(($ac_try" in
   3276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3277   *) ac_try_echo=$ac_try;;
   3278 esac
   3279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3280 printf "%s\n" "$ac_try_echo"; } >&5
   3281   (eval "$ac_link") 2>&5
   3282   ac_status=$?
   3283   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3284   test $ac_status = 0; }
   3285   if { ac_try='./conftest$ac_cv_exeext'
   3286   { { case "(($ac_try" in
   3287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3288   *) ac_try_echo=$ac_try;;
   3289 esac
   3290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3291 printf "%s\n" "$ac_try_echo"; } >&5
   3292   (eval "$ac_try") 2>&5
   3293   ac_status=$?
   3294   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3295   test $ac_status = 0; }; }; then
   3296     cross_compiling=no
   3297   else
   3298     if test "$cross_compiling" = maybe; then
   3299 	cross_compiling=yes
   3300     else
   3301 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3302 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3303 as_fn_error 77 "cannot run C compiled programs.
   3304 If you meant to cross compile, use \`--host'.
   3305 See \`config.log' for more details" "$LINENO" 5; }
   3306     fi
   3307   fi
   3308 fi
   3309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3310 printf "%s\n" "$cross_compiling" >&6; }
   3311 
   3312 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3313 ac_clean_files=$ac_clean_files_save
   3314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3315 printf %s "checking for suffix of object files... " >&6; }
   3316 if test ${ac_cv_objext+y}
   3317 then :
   3318   printf %s "(cached) " >&6
   3319 else $as_nop
   3320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3321 /* end confdefs.h.  */
   3322 
   3323 int
   3324 main (void)
   3325 {
   3326 
   3327   ;
   3328   return 0;
   3329 }
   3330 _ACEOF
   3331 rm -f conftest.o conftest.obj
   3332 if { { ac_try="$ac_compile"
   3333 case "(($ac_try" in
   3334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3335   *) ac_try_echo=$ac_try;;
   3336 esac
   3337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3338 printf "%s\n" "$ac_try_echo"; } >&5
   3339   (eval "$ac_compile") 2>&5
   3340   ac_status=$?
   3341   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3342   test $ac_status = 0; }
   3343 then :
   3344   for ac_file in conftest.o conftest.obj conftest.*; do
   3345   test -f "$ac_file" || continue;
   3346   case $ac_file in
   3347     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3348     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3349        break;;
   3350   esac
   3351 done
   3352 else $as_nop
   3353   printf "%s\n" "$as_me: failed program was:" >&5
   3354 sed 's/^/| /' conftest.$ac_ext >&5
   3355 
   3356 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3357 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3358 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3359 See \`config.log' for more details" "$LINENO" 5; }
   3360 fi
   3361 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3362 fi
   3363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3364 printf "%s\n" "$ac_cv_objext" >&6; }
   3365 OBJEXT=$ac_cv_objext
   3366 ac_objext=$OBJEXT
   3367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3368 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3369 if test ${ac_cv_c_compiler_gnu+y}
   3370 then :
   3371   printf %s "(cached) " >&6
   3372 else $as_nop
   3373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3374 /* end confdefs.h.  */
   3375 
   3376 int
   3377 main (void)
   3378 {
   3379 #ifndef __GNUC__
   3380        choke me
   3381 #endif
   3382 
   3383   ;
   3384   return 0;
   3385 }
   3386 _ACEOF
   3387 if ac_fn_c_try_compile "$LINENO"
   3388 then :
   3389   ac_compiler_gnu=yes
   3390 else $as_nop
   3391   ac_compiler_gnu=no
   3392 fi
   3393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3394 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3395 
   3396 fi
   3397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3398 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3400 
   3401 if test $ac_compiler_gnu = yes; then
   3402   GCC=yes
   3403 else
   3404   GCC=
   3405 fi
   3406 ac_test_CFLAGS=${CFLAGS+y}
   3407 ac_save_CFLAGS=$CFLAGS
   3408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3409 printf %s "checking whether $CC accepts -g... " >&6; }
   3410 if test ${ac_cv_prog_cc_g+y}
   3411 then :
   3412   printf %s "(cached) " >&6
   3413 else $as_nop
   3414   ac_save_c_werror_flag=$ac_c_werror_flag
   3415    ac_c_werror_flag=yes
   3416    ac_cv_prog_cc_g=no
   3417    CFLAGS="-g"
   3418    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3419 /* end confdefs.h.  */
   3420 
   3421 int
   3422 main (void)
   3423 {
   3424 
   3425   ;
   3426   return 0;
   3427 }
   3428 _ACEOF
   3429 if ac_fn_c_try_compile "$LINENO"
   3430 then :
   3431   ac_cv_prog_cc_g=yes
   3432 else $as_nop
   3433   CFLAGS=""
   3434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3435 /* end confdefs.h.  */
   3436 
   3437 int
   3438 main (void)
   3439 {
   3440 
   3441   ;
   3442   return 0;
   3443 }
   3444 _ACEOF
   3445 if ac_fn_c_try_compile "$LINENO"
   3446 then :
   3447 
   3448 else $as_nop
   3449   ac_c_werror_flag=$ac_save_c_werror_flag
   3450 	 CFLAGS="-g"
   3451 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3452 /* end confdefs.h.  */
   3453 
   3454 int
   3455 main (void)
   3456 {
   3457 
   3458   ;
   3459   return 0;
   3460 }
   3461 _ACEOF
   3462 if ac_fn_c_try_compile "$LINENO"
   3463 then :
   3464   ac_cv_prog_cc_g=yes
   3465 fi
   3466 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3467 fi
   3468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3469 fi
   3470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3471    ac_c_werror_flag=$ac_save_c_werror_flag
   3472 fi
   3473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3474 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3475 if test $ac_test_CFLAGS; then
   3476   CFLAGS=$ac_save_CFLAGS
   3477 elif test $ac_cv_prog_cc_g = yes; then
   3478   if test "$GCC" = yes; then
   3479     CFLAGS="-g -O2"
   3480   else
   3481     CFLAGS="-g"
   3482   fi
   3483 else
   3484   if test "$GCC" = yes; then
   3485     CFLAGS="-O2"
   3486   else
   3487     CFLAGS=
   3488   fi
   3489 fi
   3490 ac_prog_cc_stdc=no
   3491 if test x$ac_prog_cc_stdc = xno
   3492 then :
   3493   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3494 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3495 if test ${ac_cv_prog_cc_c11+y}
   3496 then :
   3497   printf %s "(cached) " >&6
   3498 else $as_nop
   3499   ac_cv_prog_cc_c11=no
   3500 ac_save_CC=$CC
   3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3502 /* end confdefs.h.  */
   3503 $ac_c_conftest_c11_program
   3504 _ACEOF
   3505 for ac_arg in '' -std=gnu11
   3506 do
   3507   CC="$ac_save_CC $ac_arg"
   3508   if ac_fn_c_try_compile "$LINENO"
   3509 then :
   3510   ac_cv_prog_cc_c11=$ac_arg
   3511 fi
   3512 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3513   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3514 done
   3515 rm -f conftest.$ac_ext
   3516 CC=$ac_save_CC
   3517 fi
   3518 
   3519 if test "x$ac_cv_prog_cc_c11" = xno
   3520 then :
   3521   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3522 printf "%s\n" "unsupported" >&6; }
   3523 else $as_nop
   3524   if test "x$ac_cv_prog_cc_c11" = x
   3525 then :
   3526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3527 printf "%s\n" "none needed" >&6; }
   3528 else $as_nop
   3529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3530 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3531      CC="$CC $ac_cv_prog_cc_c11"
   3532 fi
   3533   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3534   ac_prog_cc_stdc=c11
   3535 fi
   3536 fi
   3537 if test x$ac_prog_cc_stdc = xno
   3538 then :
   3539   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3540 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3541 if test ${ac_cv_prog_cc_c99+y}
   3542 then :
   3543   printf %s "(cached) " >&6
   3544 else $as_nop
   3545   ac_cv_prog_cc_c99=no
   3546 ac_save_CC=$CC
   3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3548 /* end confdefs.h.  */
   3549 $ac_c_conftest_c99_program
   3550 _ACEOF
   3551 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3552 do
   3553   CC="$ac_save_CC $ac_arg"
   3554   if ac_fn_c_try_compile "$LINENO"
   3555 then :
   3556   ac_cv_prog_cc_c99=$ac_arg
   3557 fi
   3558 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3559   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3560 done
   3561 rm -f conftest.$ac_ext
   3562 CC=$ac_save_CC
   3563 fi
   3564 
   3565 if test "x$ac_cv_prog_cc_c99" = xno
   3566 then :
   3567   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3568 printf "%s\n" "unsupported" >&6; }
   3569 else $as_nop
   3570   if test "x$ac_cv_prog_cc_c99" = x
   3571 then :
   3572   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3573 printf "%s\n" "none needed" >&6; }
   3574 else $as_nop
   3575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3576 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3577      CC="$CC $ac_cv_prog_cc_c99"
   3578 fi
   3579   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3580   ac_prog_cc_stdc=c99
   3581 fi
   3582 fi
   3583 if test x$ac_prog_cc_stdc = xno
   3584 then :
   3585   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3586 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3587 if test ${ac_cv_prog_cc_c89+y}
   3588 then :
   3589   printf %s "(cached) " >&6
   3590 else $as_nop
   3591   ac_cv_prog_cc_c89=no
   3592 ac_save_CC=$CC
   3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3594 /* end confdefs.h.  */
   3595 $ac_c_conftest_c89_program
   3596 _ACEOF
   3597 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3598 do
   3599   CC="$ac_save_CC $ac_arg"
   3600   if ac_fn_c_try_compile "$LINENO"
   3601 then :
   3602   ac_cv_prog_cc_c89=$ac_arg
   3603 fi
   3604 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3605   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3606 done
   3607 rm -f conftest.$ac_ext
   3608 CC=$ac_save_CC
   3609 fi
   3610 
   3611 if test "x$ac_cv_prog_cc_c89" = xno
   3612 then :
   3613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3614 printf "%s\n" "unsupported" >&6; }
   3615 else $as_nop
   3616   if test "x$ac_cv_prog_cc_c89" = x
   3617 then :
   3618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3619 printf "%s\n" "none needed" >&6; }
   3620 else $as_nop
   3621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3622 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3623      CC="$CC $ac_cv_prog_cc_c89"
   3624 fi
   3625   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3626   ac_prog_cc_stdc=c89
   3627 fi
   3628 fi
   3629 
   3630 ac_ext=c
   3631 ac_cpp='$CPP $CPPFLAGS'
   3632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3635 
   3636 
   3637   ac_ext=c
   3638 ac_cpp='$CPP $CPPFLAGS'
   3639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3643 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3644 if test ${am_cv_prog_cc_c_o+y}
   3645 then :
   3646   printf %s "(cached) " >&6
   3647 else $as_nop
   3648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3649 /* end confdefs.h.  */
   3650 
   3651 int
   3652 main (void)
   3653 {
   3654 
   3655   ;
   3656   return 0;
   3657 }
   3658 _ACEOF
   3659   # Make sure it works both with $CC and with simple cc.
   3660   # Following AC_PROG_CC_C_O, we do the test twice because some
   3661   # compilers refuse to overwrite an existing .o file with -o,
   3662   # though they will create one.
   3663   am_cv_prog_cc_c_o=yes
   3664   for am_i in 1 2; do
   3665     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3666    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3667    ac_status=$?
   3668    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3669    (exit $ac_status); } \
   3670          && test -f conftest2.$ac_objext; then
   3671       : OK
   3672     else
   3673       am_cv_prog_cc_c_o=no
   3674       break
   3675     fi
   3676   done
   3677   rm -f core conftest*
   3678   unset am_i
   3679 fi
   3680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3681 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3682 if test "$am_cv_prog_cc_c_o" != yes; then
   3683    # Losing compiler, so override with the script.
   3684    # FIXME: It is wrong to rewrite CC.
   3685    # But if we don't then we get into trouble of one sort or another.
   3686    # A longer-term fix would be to have automake use am__CC in this case,
   3687    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3688    CC="$am_aux_dir/compile $CC"
   3689 fi
   3690 ac_ext=c
   3691 ac_cpp='$CPP $CPPFLAGS'
   3692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3695 
   3696 
   3697 
   3698 ac_header= ac_cache=
   3699 for ac_item in $ac_header_c_list
   3700 do
   3701   if test $ac_cache; then
   3702     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3703     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3704       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3705     fi
   3706     ac_header= ac_cache=
   3707   elif test $ac_header; then
   3708     ac_cache=$ac_item
   3709   else
   3710     ac_header=$ac_item
   3711   fi
   3712 done
   3713 
   3714 
   3715 
   3716 
   3717 
   3718 
   3719 
   3720 
   3721 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3722 then :
   3723 
   3724 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3725 
   3726 fi
   3727 
   3728 
   3729 
   3730 
   3731 
   3732 
   3733   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3734 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3735 if test ${ac_cv_safe_to_define___extensions__+y}
   3736 then :
   3737   printf %s "(cached) " >&6
   3738 else $as_nop
   3739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3740 /* end confdefs.h.  */
   3741 
   3742 #         define __EXTENSIONS__ 1
   3743           $ac_includes_default
   3744 int
   3745 main (void)
   3746 {
   3747 
   3748   ;
   3749   return 0;
   3750 }
   3751 _ACEOF
   3752 if ac_fn_c_try_compile "$LINENO"
   3753 then :
   3754   ac_cv_safe_to_define___extensions__=yes
   3755 else $as_nop
   3756   ac_cv_safe_to_define___extensions__=no
   3757 fi
   3758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3759 fi
   3760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3761 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3762 
   3763   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3764 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3765 if test ${ac_cv_should_define__xopen_source+y}
   3766 then :
   3767   printf %s "(cached) " >&6
   3768 else $as_nop
   3769   ac_cv_should_define__xopen_source=no
   3770     if test $ac_cv_header_wchar_h = yes
   3771 then :
   3772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3773 /* end confdefs.h.  */
   3774 
   3775           #include <wchar.h>
   3776           mbstate_t x;
   3777 int
   3778 main (void)
   3779 {
   3780 
   3781   ;
   3782   return 0;
   3783 }
   3784 _ACEOF
   3785 if ac_fn_c_try_compile "$LINENO"
   3786 then :
   3787 
   3788 else $as_nop
   3789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3790 /* end confdefs.h.  */
   3791 
   3792             #define _XOPEN_SOURCE 500
   3793             #include <wchar.h>
   3794             mbstate_t x;
   3795 int
   3796 main (void)
   3797 {
   3798 
   3799   ;
   3800   return 0;
   3801 }
   3802 _ACEOF
   3803 if ac_fn_c_try_compile "$LINENO"
   3804 then :
   3805   ac_cv_should_define__xopen_source=yes
   3806 fi
   3807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3808 fi
   3809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3810 fi
   3811 fi
   3812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3813 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   3814 
   3815   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   3816 
   3817   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3818 
   3819   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   3820 
   3821   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3822 
   3823   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   3824 
   3825   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   3826 
   3827   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3828 
   3829   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   3830 
   3831   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   3832 
   3833   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   3834 
   3835   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   3836 
   3837   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   3838 
   3839   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   3840 
   3841   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   3842 
   3843   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   3844 
   3845   if test $ac_cv_header_minix_config_h = yes
   3846 then :
   3847   MINIX=yes
   3848     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   3849 
   3850     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   3851 
   3852     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3853 
   3854 else $as_nop
   3855   MINIX=
   3856 fi
   3857   if test $ac_cv_safe_to_define___extensions__ = yes
   3858 then :
   3859   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   3860 
   3861 fi
   3862   if test $ac_cv_should_define__xopen_source = yes
   3863 then :
   3864   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   3865 
   3866 fi
   3867 
   3868 
   3869 # Initialize Automake
   3870 am__api_version='1.16'
   3871 
   3872 
   3873   # Find a good install program.  We prefer a C program (faster),
   3874 # so one script is as good as another.  But avoid the broken or
   3875 # incompatible versions:
   3876 # SysV /etc/install, /usr/sbin/install
   3877 # SunOS /usr/etc/install
   3878 # IRIX /sbin/install
   3879 # AIX /bin/install
   3880 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3881 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3882 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3883 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3884 # OS/2's system install, which has a completely different semantic
   3885 # ./install, which can be erroneously created by make from ./install.sh.
   3886 # Reject install programs that cannot install multiple files.
   3887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3888 printf %s "checking for a BSD-compatible install... " >&6; }
   3889 if test -z "$INSTALL"; then
   3890 if test ${ac_cv_path_install+y}
   3891 then :
   3892   printf %s "(cached) " >&6
   3893 else $as_nop
   3894   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3895 for as_dir in $PATH
   3896 do
   3897   IFS=$as_save_IFS
   3898   case $as_dir in #(((
   3899     '') as_dir=./ ;;
   3900     */) ;;
   3901     *) as_dir=$as_dir/ ;;
   3902   esac
   3903     # Account for fact that we put trailing slashes in our PATH walk.
   3904 case $as_dir in #((
   3905   ./ | /[cC]/* | \
   3906   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3907   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3908   /usr/ucb/* ) ;;
   3909   *)
   3910     # OSF1 and SCO ODT 3.0 have their own names for install.
   3911     # Don't use installbsd from OSF since it installs stuff as root
   3912     # by default.
   3913     for ac_prog in ginstall scoinst install; do
   3914       for ac_exec_ext in '' $ac_executable_extensions; do
   3915 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3916 	  if test $ac_prog = install &&
   3917 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3918 	    # AIX install.  It has an incompatible calling convention.
   3919 	    :
   3920 	  elif test $ac_prog = install &&
   3921 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3922 	    # program-specific install script used by HP pwplus--don't use.
   3923 	    :
   3924 	  else
   3925 	    rm -rf conftest.one conftest.two conftest.dir
   3926 	    echo one > conftest.one
   3927 	    echo two > conftest.two
   3928 	    mkdir conftest.dir
   3929 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3930 	      test -s conftest.one && test -s conftest.two &&
   3931 	      test -s conftest.dir/conftest.one &&
   3932 	      test -s conftest.dir/conftest.two
   3933 	    then
   3934 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3935 	      break 3
   3936 	    fi
   3937 	  fi
   3938 	fi
   3939       done
   3940     done
   3941     ;;
   3942 esac
   3943 
   3944   done
   3945 IFS=$as_save_IFS
   3946 
   3947 rm -rf conftest.one conftest.two conftest.dir
   3948 
   3949 fi
   3950   if test ${ac_cv_path_install+y}; then
   3951     INSTALL=$ac_cv_path_install
   3952   else
   3953     # As a last resort, use the slow shell script.  Don't cache a
   3954     # value for INSTALL within a source directory, because that will
   3955     # break other packages using the cache if that directory is
   3956     # removed, or if the value is a relative name.
   3957     INSTALL=$ac_install_sh
   3958   fi
   3959 fi
   3960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3961 printf "%s\n" "$INSTALL" >&6; }
   3962 
   3963 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3964 # It thinks the first close brace ends the variable substitution.
   3965 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3966 
   3967 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3968 
   3969 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3970 
   3971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3972 printf %s "checking whether build environment is sane... " >&6; }
   3973 # Reject unsafe characters in $srcdir or the absolute working directory
   3974 # name.  Accept space and tab only in the latter.
   3975 am_lf='
   3976 '
   3977 case `pwd` in
   3978   *[\\\"\#\$\&\'\`$am_lf]*)
   3979     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3980 esac
   3981 case $srcdir in
   3982   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3983     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3984 esac
   3985 
   3986 # Do 'set' in a subshell so we don't clobber the current shell's
   3987 # arguments.  Must try -L first in case configure is actually a
   3988 # symlink; some systems play weird games with the mod time of symlinks
   3989 # (eg FreeBSD returns the mod time of the symlink's containing
   3990 # directory).
   3991 if (
   3992    am_has_slept=no
   3993    for am_try in 1 2; do
   3994      echo "timestamp, slept: $am_has_slept" > conftest.file
   3995      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3996      if test "$*" = "X"; then
   3997 	# -L didn't work.
   3998 	set X `ls -t "$srcdir/configure" conftest.file`
   3999      fi
   4000      if test "$*" != "X $srcdir/configure conftest.file" \
   4001 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4002 
   4003 	# If neither matched, then we have a broken ls.  This can happen
   4004 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4005 	# broken ls alias from the environment.  This has actually
   4006 	# happened.  Such a system could not be considered "sane".
   4007 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4008   alias in your environment" "$LINENO" 5
   4009      fi
   4010      if test "$2" = conftest.file || test $am_try -eq 2; then
   4011        break
   4012      fi
   4013      # Just in case.
   4014      sleep 1
   4015      am_has_slept=yes
   4016    done
   4017    test "$2" = conftest.file
   4018    )
   4019 then
   4020    # Ok.
   4021    :
   4022 else
   4023    as_fn_error $? "newly created file is older than distributed files!
   4024 Check your system clock" "$LINENO" 5
   4025 fi
   4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4027 printf "%s\n" "yes" >&6; }
   4028 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4029 # generated files are strictly newer.
   4030 am_sleep_pid=
   4031 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4032   ( sleep 1 ) &
   4033   am_sleep_pid=$!
   4034 fi
   4035 
   4036 rm -f conftest.file
   4037 
   4038 test "$program_prefix" != NONE &&
   4039   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4040 # Use a double $ so make ignores it.
   4041 test "$program_suffix" != NONE &&
   4042   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4043 # Double any \ or $.
   4044 # By default was `s,x,x', remove it if useless.
   4045 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4046 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4047 
   4048 
   4049   if test x"${MISSING+set}" != xset; then
   4050   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4051 fi
   4052 # Use eval to expand $SHELL
   4053 if eval "$MISSING --is-lightweight"; then
   4054   am_missing_run="$MISSING "
   4055 else
   4056   am_missing_run=
   4057   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4058 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4059 fi
   4060 
   4061 if test x"${install_sh+set}" != xset; then
   4062   case $am_aux_dir in
   4063   *\ * | *\	*)
   4064     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4065   *)
   4066     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4067   esac
   4068 fi
   4069 
   4070 # Installed binaries are usually stripped using 'strip' when the user
   4071 # run "make install-strip".  However 'strip' might not be the right
   4072 # tool to use in cross-compilation environments, therefore Automake
   4073 # will honor the 'STRIP' environment variable to overrule this program.
   4074 if test "$cross_compiling" != no; then
   4075   if test -n "$ac_tool_prefix"; then
   4076   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4077 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4079 printf %s "checking for $ac_word... " >&6; }
   4080 if test ${ac_cv_prog_STRIP+y}
   4081 then :
   4082   printf %s "(cached) " >&6
   4083 else $as_nop
   4084   if test -n "$STRIP"; then
   4085   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4086 else
   4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4088 for as_dir in $PATH
   4089 do
   4090   IFS=$as_save_IFS
   4091   case $as_dir in #(((
   4092     '') as_dir=./ ;;
   4093     */) ;;
   4094     *) as_dir=$as_dir/ ;;
   4095   esac
   4096     for ac_exec_ext in '' $ac_executable_extensions; do
   4097   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4098     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4099     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4100     break 2
   4101   fi
   4102 done
   4103   done
   4104 IFS=$as_save_IFS
   4105 
   4106 fi
   4107 fi
   4108 STRIP=$ac_cv_prog_STRIP
   4109 if test -n "$STRIP"; then
   4110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4111 printf "%s\n" "$STRIP" >&6; }
   4112 else
   4113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4114 printf "%s\n" "no" >&6; }
   4115 fi
   4116 
   4117 
   4118 fi
   4119 if test -z "$ac_cv_prog_STRIP"; then
   4120   ac_ct_STRIP=$STRIP
   4121   # Extract the first word of "strip", so it can be a program name with args.
   4122 set dummy strip; ac_word=$2
   4123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4124 printf %s "checking for $ac_word... " >&6; }
   4125 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4126 then :
   4127   printf %s "(cached) " >&6
   4128 else $as_nop
   4129   if test -n "$ac_ct_STRIP"; then
   4130   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4131 else
   4132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4133 for as_dir in $PATH
   4134 do
   4135   IFS=$as_save_IFS
   4136   case $as_dir in #(((
   4137     '') as_dir=./ ;;
   4138     */) ;;
   4139     *) as_dir=$as_dir/ ;;
   4140   esac
   4141     for ac_exec_ext in '' $ac_executable_extensions; do
   4142   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4143     ac_cv_prog_ac_ct_STRIP="strip"
   4144     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4145     break 2
   4146   fi
   4147 done
   4148   done
   4149 IFS=$as_save_IFS
   4150 
   4151 fi
   4152 fi
   4153 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4154 if test -n "$ac_ct_STRIP"; then
   4155   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4156 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4157 else
   4158   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4159 printf "%s\n" "no" >&6; }
   4160 fi
   4161 
   4162   if test "x$ac_ct_STRIP" = x; then
   4163     STRIP=":"
   4164   else
   4165     case $cross_compiling:$ac_tool_warned in
   4166 yes:)
   4167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4168 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4169 ac_tool_warned=yes ;;
   4170 esac
   4171     STRIP=$ac_ct_STRIP
   4172   fi
   4173 else
   4174   STRIP="$ac_cv_prog_STRIP"
   4175 fi
   4176 
   4177 fi
   4178 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4179 
   4180 
   4181   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4182 printf %s "checking for a race-free mkdir -p... " >&6; }
   4183 if test -z "$MKDIR_P"; then
   4184   if test ${ac_cv_path_mkdir+y}
   4185 then :
   4186   printf %s "(cached) " >&6
   4187 else $as_nop
   4188   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4189 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4190 do
   4191   IFS=$as_save_IFS
   4192   case $as_dir in #(((
   4193     '') as_dir=./ ;;
   4194     */) ;;
   4195     *) as_dir=$as_dir/ ;;
   4196   esac
   4197     for ac_prog in mkdir gmkdir; do
   4198 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4199 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4200 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4201 	     'mkdir ('*'coreutils) '* | \
   4202 	     'BusyBox '* | \
   4203 	     'mkdir (fileutils) '4.1*)
   4204 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4205 	       break 3;;
   4206 	   esac
   4207 	 done
   4208        done
   4209   done
   4210 IFS=$as_save_IFS
   4211 
   4212 fi
   4213 
   4214   test -d ./--version && rmdir ./--version
   4215   if test ${ac_cv_path_mkdir+y}; then
   4216     MKDIR_P="$ac_cv_path_mkdir -p"
   4217   else
   4218     # As a last resort, use the slow shell script.  Don't cache a
   4219     # value for MKDIR_P within a source directory, because that will
   4220     # break other packages using the cache if that directory is
   4221     # removed, or if the value is a relative name.
   4222     MKDIR_P="$ac_install_sh -d"
   4223   fi
   4224 fi
   4225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4226 printf "%s\n" "$MKDIR_P" >&6; }
   4227 
   4228 for ac_prog in gawk mawk nawk awk
   4229 do
   4230   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4231 set dummy $ac_prog; ac_word=$2
   4232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4233 printf %s "checking for $ac_word... " >&6; }
   4234 if test ${ac_cv_prog_AWK+y}
   4235 then :
   4236   printf %s "(cached) " >&6
   4237 else $as_nop
   4238   if test -n "$AWK"; then
   4239   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4240 else
   4241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4242 for as_dir in $PATH
   4243 do
   4244   IFS=$as_save_IFS
   4245   case $as_dir in #(((
   4246     '') as_dir=./ ;;
   4247     */) ;;
   4248     *) as_dir=$as_dir/ ;;
   4249   esac
   4250     for ac_exec_ext in '' $ac_executable_extensions; do
   4251   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4252     ac_cv_prog_AWK="$ac_prog"
   4253     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4254     break 2
   4255   fi
   4256 done
   4257   done
   4258 IFS=$as_save_IFS
   4259 
   4260 fi
   4261 fi
   4262 AWK=$ac_cv_prog_AWK
   4263 if test -n "$AWK"; then
   4264   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4265 printf "%s\n" "$AWK" >&6; }
   4266 else
   4267   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4268 printf "%s\n" "no" >&6; }
   4269 fi
   4270 
   4271 
   4272   test -n "$AWK" && break
   4273 done
   4274 
   4275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4276 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4277 set x ${MAKE-make}
   4278 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4279 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4280 then :
   4281   printf %s "(cached) " >&6
   4282 else $as_nop
   4283   cat >conftest.make <<\_ACEOF
   4284 SHELL = /bin/sh
   4285 all:
   4286 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4287 _ACEOF
   4288 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4289 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4290   *@@@%%%=?*=@@@%%%*)
   4291     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4292   *)
   4293     eval ac_cv_prog_make_${ac_make}_set=no;;
   4294 esac
   4295 rm -f conftest.make
   4296 fi
   4297 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4298   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4299 printf "%s\n" "yes" >&6; }
   4300   SET_MAKE=
   4301 else
   4302   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4303 printf "%s\n" "no" >&6; }
   4304   SET_MAKE="MAKE=${MAKE-make}"
   4305 fi
   4306 
   4307 rm -rf .tst 2>/dev/null
   4308 mkdir .tst 2>/dev/null
   4309 if test -d .tst; then
   4310   am__leading_dot=.
   4311 else
   4312   am__leading_dot=_
   4313 fi
   4314 rmdir .tst 2>/dev/null
   4315 
   4316 DEPDIR="${am__leading_dot}deps"
   4317 
   4318 ac_config_commands="$ac_config_commands depfiles"
   4319 
   4320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4321 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4322 cat > confinc.mk << 'END'
   4323 am__doit:
   4324 	@echo this is the am__doit target >confinc.out
   4325 .PHONY: am__doit
   4326 END
   4327 am__include="#"
   4328 am__quote=
   4329 # BSD make does it like this.
   4330 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4331 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4332 echo 'include confinc.mk # ignored' > confmf.GNU
   4333 _am_result=no
   4334 for s in GNU BSD; do
   4335   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4336    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4337    ac_status=$?
   4338    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4339    (exit $ac_status); }
   4340   case $?:`cat confinc.out 2>/dev/null` in #(
   4341   '0:this is the am__doit target') :
   4342     case $s in #(
   4343   BSD) :
   4344     am__include='.include' am__quote='"' ;; #(
   4345   *) :
   4346     am__include='include' am__quote='' ;;
   4347 esac ;; #(
   4348   *) :
   4349      ;;
   4350 esac
   4351   if test "$am__include" != "#"; then
   4352     _am_result="yes ($s style)"
   4353     break
   4354   fi
   4355 done
   4356 rm -f confinc.* confmf.*
   4357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4358 printf "%s\n" "${_am_result}" >&6; }
   4359 
   4360 # Check whether --enable-dependency-tracking was given.
   4361 if test ${enable_dependency_tracking+y}
   4362 then :
   4363   enableval=$enable_dependency_tracking;
   4364 fi
   4365 
   4366 if test "x$enable_dependency_tracking" != xno; then
   4367   am_depcomp="$ac_aux_dir/depcomp"
   4368   AMDEPBACKSLASH='\'
   4369   am__nodep='_no'
   4370 fi
   4371  if test "x$enable_dependency_tracking" != xno; then
   4372   AMDEP_TRUE=
   4373   AMDEP_FALSE='#'
   4374 else
   4375   AMDEP_TRUE='#'
   4376   AMDEP_FALSE=
   4377 fi
   4378 
   4379 
   4380 # Check whether --enable-silent-rules was given.
   4381 if test ${enable_silent_rules+y}
   4382 then :
   4383   enableval=$enable_silent_rules;
   4384 fi
   4385 
   4386 case $enable_silent_rules in # (((
   4387   yes) AM_DEFAULT_VERBOSITY=0;;
   4388    no) AM_DEFAULT_VERBOSITY=1;;
   4389     *) AM_DEFAULT_VERBOSITY=1;;
   4390 esac
   4391 am_make=${MAKE-make}
   4392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4393 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4394 if test ${am_cv_make_support_nested_variables+y}
   4395 then :
   4396   printf %s "(cached) " >&6
   4397 else $as_nop
   4398   if printf "%s\n" 'TRUE=$(BAR$(V))
   4399 BAR0=false
   4400 BAR1=true
   4401 V=1
   4402 am__doit:
   4403 	@$(TRUE)
   4404 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4405   am_cv_make_support_nested_variables=yes
   4406 else
   4407   am_cv_make_support_nested_variables=no
   4408 fi
   4409 fi
   4410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4411 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4412 if test $am_cv_make_support_nested_variables = yes; then
   4413     AM_V='$(V)'
   4414   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4415 else
   4416   AM_V=$AM_DEFAULT_VERBOSITY
   4417   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4418 fi
   4419 AM_BACKSLASH='\'
   4420 
   4421 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4422   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4423   # is not polluted with repeated "-I."
   4424   am__isrc=' -I$(srcdir)'
   4425   # test to see if srcdir already configured
   4426   if test -f $srcdir/config.status; then
   4427     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4428   fi
   4429 fi
   4430 
   4431 # test whether we have cygpath
   4432 if test -z "$CYGPATH_W"; then
   4433   if (cygpath --version) >/dev/null 2>/dev/null; then
   4434     CYGPATH_W='cygpath -w'
   4435   else
   4436     CYGPATH_W=echo
   4437   fi
   4438 fi
   4439 
   4440 
   4441 # Define the identity of the package.
   4442  PACKAGE='libXcursor'
   4443  VERSION='1.2.3'
   4444 
   4445 
   4446 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4447 
   4448 
   4449 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4450 
   4451 # Some tools Automake needs.
   4452 
   4453 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4454 
   4455 
   4456 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4457 
   4458 
   4459 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4460 
   4461 
   4462 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4463 
   4464 
   4465 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4466 
   4467 # For better backward compatibility.  To be removed once Automake 1.9.x
   4468 # dies out for good.  For more background, see:
   4469 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4470 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4471 mkdir_p='$(MKDIR_P)'
   4472 
   4473 # We need awk for the "check" target (and possibly the TAP driver).  The
   4474 # system "awk" is bad on some platforms.
   4475 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4476 # in the wild :-(  We should find a proper way to deprecate it ...
   4477 AMTAR='$${TAR-tar}'
   4478 
   4479 
   4480 # We'll loop over all known methods to create a tar archive until one works.
   4481 _am_tools='gnutar  pax cpio none'
   4482 
   4483 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4484 
   4485 
   4486 
   4487 
   4488 
   4489 depcc="$CC"   am_compiler_list=
   4490 
   4491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4492 printf %s "checking dependency style of $depcc... " >&6; }
   4493 if test ${am_cv_CC_dependencies_compiler_type+y}
   4494 then :
   4495   printf %s "(cached) " >&6
   4496 else $as_nop
   4497   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4498   # We make a subdir and do the tests there.  Otherwise we can end up
   4499   # making bogus files that we don't know about and never remove.  For
   4500   # instance it was reported that on HP-UX the gcc test will end up
   4501   # making a dummy file named 'D' -- because '-MD' means "put the output
   4502   # in D".
   4503   rm -rf conftest.dir
   4504   mkdir conftest.dir
   4505   # Copy depcomp to subdir because otherwise we won't find it if we're
   4506   # using a relative directory.
   4507   cp "$am_depcomp" conftest.dir
   4508   cd conftest.dir
   4509   # We will build objects and dependencies in a subdirectory because
   4510   # it helps to detect inapplicable dependency modes.  For instance
   4511   # both Tru64's cc and ICC support -MD to output dependencies as a
   4512   # side effect of compilation, but ICC will put the dependencies in
   4513   # the current directory while Tru64 will put them in the object
   4514   # directory.
   4515   mkdir sub
   4516 
   4517   am_cv_CC_dependencies_compiler_type=none
   4518   if test "$am_compiler_list" = ""; then
   4519      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4520   fi
   4521   am__universal=false
   4522   case " $depcc " in #(
   4523      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4524      esac
   4525 
   4526   for depmode in $am_compiler_list; do
   4527     # Setup a source with many dependencies, because some compilers
   4528     # like to wrap large dependency lists on column 80 (with \), and
   4529     # we should not choose a depcomp mode which is confused by this.
   4530     #
   4531     # We need to recreate these files for each test, as the compiler may
   4532     # overwrite some of them when testing with obscure command lines.
   4533     # This happens at least with the AIX C compiler.
   4534     : > sub/conftest.c
   4535     for i in 1 2 3 4 5 6; do
   4536       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4537       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4538       # Solaris 10 /bin/sh.
   4539       echo '/* dummy */' > sub/conftst$i.h
   4540     done
   4541     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4542 
   4543     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4544     # mode.  It turns out that the SunPro C++ compiler does not properly
   4545     # handle '-M -o', and we need to detect this.  Also, some Intel
   4546     # versions had trouble with output in subdirs.
   4547     am__obj=sub/conftest.${OBJEXT-o}
   4548     am__minus_obj="-o $am__obj"
   4549     case $depmode in
   4550     gcc)
   4551       # This depmode causes a compiler race in universal mode.
   4552       test "$am__universal" = false || continue
   4553       ;;
   4554     nosideeffect)
   4555       # After this tag, mechanisms are not by side-effect, so they'll
   4556       # only be used when explicitly requested.
   4557       if test "x$enable_dependency_tracking" = xyes; then
   4558 	continue
   4559       else
   4560 	break
   4561       fi
   4562       ;;
   4563     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4564       # This compiler won't grok '-c -o', but also, the minuso test has
   4565       # not run yet.  These depmodes are late enough in the game, and
   4566       # so weak that their functioning should not be impacted.
   4567       am__obj=conftest.${OBJEXT-o}
   4568       am__minus_obj=
   4569       ;;
   4570     none) break ;;
   4571     esac
   4572     if depmode=$depmode \
   4573        source=sub/conftest.c object=$am__obj \
   4574        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4575        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4576          >/dev/null 2>conftest.err &&
   4577        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4578        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4579        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4580        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4581       # icc doesn't choke on unknown options, it will just issue warnings
   4582       # or remarks (even with -Werror).  So we grep stderr for any message
   4583       # that says an option was ignored or not supported.
   4584       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4585       #   icc: Command line warning: ignoring option '-M'; no argument required
   4586       # The diagnosis changed in icc 8.0:
   4587       #   icc: Command line remark: option '-MP' not supported
   4588       if (grep 'ignoring option' conftest.err ||
   4589           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4590         am_cv_CC_dependencies_compiler_type=$depmode
   4591         break
   4592       fi
   4593     fi
   4594   done
   4595 
   4596   cd ..
   4597   rm -rf conftest.dir
   4598 else
   4599   am_cv_CC_dependencies_compiler_type=none
   4600 fi
   4601 
   4602 fi
   4603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4604 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4605 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4606 
   4607  if
   4608   test "x$enable_dependency_tracking" != xno \
   4609   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4610   am__fastdepCC_TRUE=
   4611   am__fastdepCC_FALSE='#'
   4612 else
   4613   am__fastdepCC_TRUE='#'
   4614   am__fastdepCC_FALSE=
   4615 fi
   4616 
   4617 
   4618 # Variables for tags utilities; see am/tags.am
   4619 if test -z "$CTAGS"; then
   4620   CTAGS=ctags
   4621 fi
   4622 
   4623 if test -z "$ETAGS"; then
   4624   ETAGS=etags
   4625 fi
   4626 
   4627 if test -z "$CSCOPE"; then
   4628   CSCOPE=cscope
   4629 fi
   4630 
   4631 
   4632 
   4633 # POSIX will say in a future version that running "rm -f" with no argument
   4634 # is OK; and we want to be able to make that assumption in our Makefile
   4635 # recipes.  So use an aggressive probe to check that the usage we want is
   4636 # actually supported "in the wild" to an acceptable degree.
   4637 # See automake bug#10828.
   4638 # To make any issue more visible, cause the running configure to be aborted
   4639 # by default if the 'rm' program in use doesn't match our expectations; the
   4640 # user can still override this though.
   4641 if rm -f && rm -fr && rm -rf; then : OK; else
   4642   cat >&2 <<'END'
   4643 Oops!
   4644 
   4645 Your 'rm' program seems unable to run without file operands specified
   4646 on the command line, even when the '-f' option is present.  This is contrary
   4647 to the behaviour of most rm programs out there, and not conforming with
   4648 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4649 
   4650 Please tell bug-automake@gnu.org about your system, including the value
   4651 of your $PATH and any error possibly output before this message.  This
   4652 can help us improve future automake versions.
   4653 
   4654 END
   4655   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4656     echo 'Configuration will proceed anyway, since you have set the' >&2
   4657     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4658     echo >&2
   4659   else
   4660     cat >&2 <<'END'
   4661 Aborting the configuration process, to ensure you take notice of the issue.
   4662 
   4663 You can download and install GNU coreutils to get an 'rm' implementation
   4664 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4665 
   4666 If you want to complete the configuration process using your problematic
   4667 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4668 to "yes", and re-run configure.
   4669 
   4670 END
   4671     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4672   fi
   4673 fi
   4674 
   4675 
   4676 # Initialize libtool
   4677 case `pwd` in
   4678   *\ * | *\	*)
   4679     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4680 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4681 esac
   4682 
   4683 
   4684 
   4685 macro_version='2.4.7'
   4686 macro_revision='2.4.7'
   4687 
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 
   4700 
   4701 ltmain=$ac_aux_dir/ltmain.sh
   4702 
   4703 
   4704 
   4705   # Make sure we can run config.sub.
   4706 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4707   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4708 
   4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4710 printf %s "checking build system type... " >&6; }
   4711 if test ${ac_cv_build+y}
   4712 then :
   4713   printf %s "(cached) " >&6
   4714 else $as_nop
   4715   ac_build_alias=$build_alias
   4716 test "x$ac_build_alias" = x &&
   4717   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4718 test "x$ac_build_alias" = x &&
   4719   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4720 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4721   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4722 
   4723 fi
   4724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4725 printf "%s\n" "$ac_cv_build" >&6; }
   4726 case $ac_cv_build in
   4727 *-*-*) ;;
   4728 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4729 esac
   4730 build=$ac_cv_build
   4731 ac_save_IFS=$IFS; IFS='-'
   4732 set x $ac_cv_build
   4733 shift
   4734 build_cpu=$1
   4735 build_vendor=$2
   4736 shift; shift
   4737 # Remember, the first character of IFS is used to create $*,
   4738 # except with old shells:
   4739 build_os=$*
   4740 IFS=$ac_save_IFS
   4741 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4742 
   4743 
   4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4745 printf %s "checking host system type... " >&6; }
   4746 if test ${ac_cv_host+y}
   4747 then :
   4748   printf %s "(cached) " >&6
   4749 else $as_nop
   4750   if test "x$host_alias" = x; then
   4751   ac_cv_host=$ac_cv_build
   4752 else
   4753   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4754     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4755 fi
   4756 
   4757 fi
   4758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4759 printf "%s\n" "$ac_cv_host" >&6; }
   4760 case $ac_cv_host in
   4761 *-*-*) ;;
   4762 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4763 esac
   4764 host=$ac_cv_host
   4765 ac_save_IFS=$IFS; IFS='-'
   4766 set x $ac_cv_host
   4767 shift
   4768 host_cpu=$1
   4769 host_vendor=$2
   4770 shift; shift
   4771 # Remember, the first character of IFS is used to create $*,
   4772 # except with old shells:
   4773 host_os=$*
   4774 IFS=$ac_save_IFS
   4775 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4776 
   4777 
   4778 # Backslashify metacharacters that are still active within
   4779 # double-quoted strings.
   4780 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4781 
   4782 # Same as above, but do not quote variable references.
   4783 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4784 
   4785 # Sed substitution to delay expansion of an escaped shell variable in a
   4786 # double_quote_subst'ed string.
   4787 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4788 
   4789 # Sed substitution to delay expansion of an escaped single quote.
   4790 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4791 
   4792 # Sed substitution to avoid accidental globbing in evaled expressions
   4793 no_glob_subst='s/\*/\\\*/g'
   4794 
   4795 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4796 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4797 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4798 
   4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4800 printf %s "checking how to print strings... " >&6; }
   4801 # Test print first, because it will be a builtin if present.
   4802 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4803    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4804   ECHO='print -r --'
   4805 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4806   ECHO='printf %s\n'
   4807 else
   4808   # Use this function as a fallback that always works.
   4809   func_fallback_echo ()
   4810   {
   4811     eval 'cat <<_LTECHO_EOF
   4812 $1
   4813 _LTECHO_EOF'
   4814   }
   4815   ECHO='func_fallback_echo'
   4816 fi
   4817 
   4818 # func_echo_all arg...
   4819 # Invoke $ECHO with all args, space-separated.
   4820 func_echo_all ()
   4821 {
   4822     $ECHO ""
   4823 }
   4824 
   4825 case $ECHO in
   4826   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4827 printf "%s\n" "printf" >&6; } ;;
   4828   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4829 printf "%s\n" "print -r" >&6; } ;;
   4830   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4831 printf "%s\n" "cat" >&6; } ;;
   4832 esac
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4848 printf %s "checking for a sed that does not truncate output... " >&6; }
   4849 if test ${ac_cv_path_SED+y}
   4850 then :
   4851   printf %s "(cached) " >&6
   4852 else $as_nop
   4853             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4854      for ac_i in 1 2 3 4 5 6 7; do
   4855        ac_script="$ac_script$as_nl$ac_script"
   4856      done
   4857      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4858      { ac_script=; unset ac_script;}
   4859      if test -z "$SED"; then
   4860   ac_path_SED_found=false
   4861   # Loop through the user's path and test for each of PROGNAME-LIST
   4862   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4863 for as_dir in $PATH
   4864 do
   4865   IFS=$as_save_IFS
   4866   case $as_dir in #(((
   4867     '') as_dir=./ ;;
   4868     */) ;;
   4869     *) as_dir=$as_dir/ ;;
   4870   esac
   4871     for ac_prog in sed gsed
   4872    do
   4873     for ac_exec_ext in '' $ac_executable_extensions; do
   4874       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4875       as_fn_executable_p "$ac_path_SED" || continue
   4876 # Check for GNU ac_path_SED and select it if it is found.
   4877   # Check for GNU $ac_path_SED
   4878 case `"$ac_path_SED" --version 2>&1` in
   4879 *GNU*)
   4880   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4881 *)
   4882   ac_count=0
   4883   printf %s 0123456789 >"conftest.in"
   4884   while :
   4885   do
   4886     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4887     mv "conftest.tmp" "conftest.in"
   4888     cp "conftest.in" "conftest.nl"
   4889     printf "%s\n" '' >> "conftest.nl"
   4890     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4891     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4892     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4893     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4894       # Best one so far, save it but keep looking for a better one
   4895       ac_cv_path_SED="$ac_path_SED"
   4896       ac_path_SED_max=$ac_count
   4897     fi
   4898     # 10*(2^10) chars as input seems more than enough
   4899     test $ac_count -gt 10 && break
   4900   done
   4901   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4902 esac
   4903 
   4904       $ac_path_SED_found && break 3
   4905     done
   4906   done
   4907   done
   4908 IFS=$as_save_IFS
   4909   if test -z "$ac_cv_path_SED"; then
   4910     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4911   fi
   4912 else
   4913   ac_cv_path_SED=$SED
   4914 fi
   4915 
   4916 fi
   4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4918 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4919  SED="$ac_cv_path_SED"
   4920   rm -f conftest.sed
   4921 
   4922 test -z "$SED" && SED=sed
   4923 Xsed="$SED -e 1s/^X//"
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 
   4935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4936 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4937 if test ${ac_cv_path_GREP+y}
   4938 then :
   4939   printf %s "(cached) " >&6
   4940 else $as_nop
   4941   if test -z "$GREP"; then
   4942   ac_path_GREP_found=false
   4943   # Loop through the user's path and test for each of PROGNAME-LIST
   4944   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4945 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4946 do
   4947   IFS=$as_save_IFS
   4948   case $as_dir in #(((
   4949     '') as_dir=./ ;;
   4950     */) ;;
   4951     *) as_dir=$as_dir/ ;;
   4952   esac
   4953     for ac_prog in grep ggrep
   4954    do
   4955     for ac_exec_ext in '' $ac_executable_extensions; do
   4956       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4957       as_fn_executable_p "$ac_path_GREP" || continue
   4958 # Check for GNU ac_path_GREP and select it if it is found.
   4959   # Check for GNU $ac_path_GREP
   4960 case `"$ac_path_GREP" --version 2>&1` in
   4961 *GNU*)
   4962   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4963 *)
   4964   ac_count=0
   4965   printf %s 0123456789 >"conftest.in"
   4966   while :
   4967   do
   4968     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4969     mv "conftest.tmp" "conftest.in"
   4970     cp "conftest.in" "conftest.nl"
   4971     printf "%s\n" 'GREP' >> "conftest.nl"
   4972     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4973     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4974     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4975     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4976       # Best one so far, save it but keep looking for a better one
   4977       ac_cv_path_GREP="$ac_path_GREP"
   4978       ac_path_GREP_max=$ac_count
   4979     fi
   4980     # 10*(2^10) chars as input seems more than enough
   4981     test $ac_count -gt 10 && break
   4982   done
   4983   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4984 esac
   4985 
   4986       $ac_path_GREP_found && break 3
   4987     done
   4988   done
   4989   done
   4990 IFS=$as_save_IFS
   4991   if test -z "$ac_cv_path_GREP"; then
   4992     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4993   fi
   4994 else
   4995   ac_cv_path_GREP=$GREP
   4996 fi
   4997 
   4998 fi
   4999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5000 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5001  GREP="$ac_cv_path_GREP"
   5002 
   5003 
   5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5005 printf %s "checking for egrep... " >&6; }
   5006 if test ${ac_cv_path_EGREP+y}
   5007 then :
   5008   printf %s "(cached) " >&6
   5009 else $as_nop
   5010   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5011    then ac_cv_path_EGREP="$GREP -E"
   5012    else
   5013      if test -z "$EGREP"; then
   5014   ac_path_EGREP_found=false
   5015   # Loop through the user's path and test for each of PROGNAME-LIST
   5016   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5017 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5018 do
   5019   IFS=$as_save_IFS
   5020   case $as_dir in #(((
   5021     '') as_dir=./ ;;
   5022     */) ;;
   5023     *) as_dir=$as_dir/ ;;
   5024   esac
   5025     for ac_prog in egrep
   5026    do
   5027     for ac_exec_ext in '' $ac_executable_extensions; do
   5028       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5029       as_fn_executable_p "$ac_path_EGREP" || continue
   5030 # Check for GNU ac_path_EGREP and select it if it is found.
   5031   # Check for GNU $ac_path_EGREP
   5032 case `"$ac_path_EGREP" --version 2>&1` in
   5033 *GNU*)
   5034   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5035 *)
   5036   ac_count=0
   5037   printf %s 0123456789 >"conftest.in"
   5038   while :
   5039   do
   5040     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5041     mv "conftest.tmp" "conftest.in"
   5042     cp "conftest.in" "conftest.nl"
   5043     printf "%s\n" 'EGREP' >> "conftest.nl"
   5044     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5045     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5046     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5047     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5048       # Best one so far, save it but keep looking for a better one
   5049       ac_cv_path_EGREP="$ac_path_EGREP"
   5050       ac_path_EGREP_max=$ac_count
   5051     fi
   5052     # 10*(2^10) chars as input seems more than enough
   5053     test $ac_count -gt 10 && break
   5054   done
   5055   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5056 esac
   5057 
   5058       $ac_path_EGREP_found && break 3
   5059     done
   5060   done
   5061   done
   5062 IFS=$as_save_IFS
   5063   if test -z "$ac_cv_path_EGREP"; then
   5064     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5065   fi
   5066 else
   5067   ac_cv_path_EGREP=$EGREP
   5068 fi
   5069 
   5070    fi
   5071 fi
   5072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5073 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5074  EGREP="$ac_cv_path_EGREP"
   5075 
   5076 
   5077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5078 printf %s "checking for fgrep... " >&6; }
   5079 if test ${ac_cv_path_FGREP+y}
   5080 then :
   5081   printf %s "(cached) " >&6
   5082 else $as_nop
   5083   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5084    then ac_cv_path_FGREP="$GREP -F"
   5085    else
   5086      if test -z "$FGREP"; then
   5087   ac_path_FGREP_found=false
   5088   # Loop through the user's path and test for each of PROGNAME-LIST
   5089   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5090 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5091 do
   5092   IFS=$as_save_IFS
   5093   case $as_dir in #(((
   5094     '') as_dir=./ ;;
   5095     */) ;;
   5096     *) as_dir=$as_dir/ ;;
   5097   esac
   5098     for ac_prog in fgrep
   5099    do
   5100     for ac_exec_ext in '' $ac_executable_extensions; do
   5101       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5102       as_fn_executable_p "$ac_path_FGREP" || continue
   5103 # Check for GNU ac_path_FGREP and select it if it is found.
   5104   # Check for GNU $ac_path_FGREP
   5105 case `"$ac_path_FGREP" --version 2>&1` in
   5106 *GNU*)
   5107   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5108 *)
   5109   ac_count=0
   5110   printf %s 0123456789 >"conftest.in"
   5111   while :
   5112   do
   5113     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5114     mv "conftest.tmp" "conftest.in"
   5115     cp "conftest.in" "conftest.nl"
   5116     printf "%s\n" 'FGREP' >> "conftest.nl"
   5117     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5118     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5119     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5120     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5121       # Best one so far, save it but keep looking for a better one
   5122       ac_cv_path_FGREP="$ac_path_FGREP"
   5123       ac_path_FGREP_max=$ac_count
   5124     fi
   5125     # 10*(2^10) chars as input seems more than enough
   5126     test $ac_count -gt 10 && break
   5127   done
   5128   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5129 esac
   5130 
   5131       $ac_path_FGREP_found && break 3
   5132     done
   5133   done
   5134   done
   5135 IFS=$as_save_IFS
   5136   if test -z "$ac_cv_path_FGREP"; then
   5137     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5138   fi
   5139 else
   5140   ac_cv_path_FGREP=$FGREP
   5141 fi
   5142 
   5143    fi
   5144 fi
   5145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5146 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5147  FGREP="$ac_cv_path_FGREP"
   5148 
   5149 
   5150 test -z "$GREP" && GREP=grep
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 # Check whether --with-gnu-ld was given.
   5171 if test ${with_gnu_ld+y}
   5172 then :
   5173   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5174 else $as_nop
   5175   with_gnu_ld=no
   5176 fi
   5177 
   5178 ac_prog=ld
   5179 if test yes = "$GCC"; then
   5180   # Check if gcc -print-prog-name=ld gives a path.
   5181   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5182 printf %s "checking for ld used by $CC... " >&6; }
   5183   case $host in
   5184   *-*-mingw*)
   5185     # gcc leaves a trailing carriage return, which upsets mingw
   5186     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5187   *)
   5188     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5189   esac
   5190   case $ac_prog in
   5191     # Accept absolute paths.
   5192     [\\/]* | ?:[\\/]*)
   5193       re_direlt='/[^/][^/]*/\.\./'
   5194       # Canonicalize the pathname of ld
   5195       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5196       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5197 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5198       done
   5199       test -z "$LD" && LD=$ac_prog
   5200       ;;
   5201   "")
   5202     # If it fails, then pretend we aren't using GCC.
   5203     ac_prog=ld
   5204     ;;
   5205   *)
   5206     # If it is relative, then search for the first ld in PATH.
   5207     with_gnu_ld=unknown
   5208     ;;
   5209   esac
   5210 elif test yes = "$with_gnu_ld"; then
   5211   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5212 printf %s "checking for GNU ld... " >&6; }
   5213 else
   5214   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5215 printf %s "checking for non-GNU ld... " >&6; }
   5216 fi
   5217 if test ${lt_cv_path_LD+y}
   5218 then :
   5219   printf %s "(cached) " >&6
   5220 else $as_nop
   5221   if test -z "$LD"; then
   5222   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5223   for ac_dir in $PATH; do
   5224     IFS=$lt_save_ifs
   5225     test -z "$ac_dir" && ac_dir=.
   5226     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5227       lt_cv_path_LD=$ac_dir/$ac_prog
   5228       # Check to see if the program is GNU ld.  I'd rather use --version,
   5229       # but apparently some variants of GNU ld only accept -v.
   5230       # Break only if it was the GNU/non-GNU ld that we prefer.
   5231       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5232       *GNU* | *'with BFD'*)
   5233 	test no != "$with_gnu_ld" && break
   5234 	;;
   5235       *)
   5236 	test yes != "$with_gnu_ld" && break
   5237 	;;
   5238       esac
   5239     fi
   5240   done
   5241   IFS=$lt_save_ifs
   5242 else
   5243   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5244 fi
   5245 fi
   5246 
   5247 LD=$lt_cv_path_LD
   5248 if test -n "$LD"; then
   5249   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5250 printf "%s\n" "$LD" >&6; }
   5251 else
   5252   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5253 printf "%s\n" "no" >&6; }
   5254 fi
   5255 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5257 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5258 if test ${lt_cv_prog_gnu_ld+y}
   5259 then :
   5260   printf %s "(cached) " >&6
   5261 else $as_nop
   5262   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5263 case `$LD -v 2>&1 </dev/null` in
   5264 *GNU* | *'with BFD'*)
   5265   lt_cv_prog_gnu_ld=yes
   5266   ;;
   5267 *)
   5268   lt_cv_prog_gnu_ld=no
   5269   ;;
   5270 esac
   5271 fi
   5272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5273 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5274 with_gnu_ld=$lt_cv_prog_gnu_ld
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5285 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5286 if test ${lt_cv_path_NM+y}
   5287 then :
   5288   printf %s "(cached) " >&6
   5289 else $as_nop
   5290   if test -n "$NM"; then
   5291   # Let the user override the test.
   5292   lt_cv_path_NM=$NM
   5293 else
   5294   lt_nm_to_check=${ac_tool_prefix}nm
   5295   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5296     lt_nm_to_check="$lt_nm_to_check nm"
   5297   fi
   5298   for lt_tmp_nm in $lt_nm_to_check; do
   5299     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5300     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5301       IFS=$lt_save_ifs
   5302       test -z "$ac_dir" && ac_dir=.
   5303       tmp_nm=$ac_dir/$lt_tmp_nm
   5304       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5305 	# Check to see if the nm accepts a BSD-compat flag.
   5306 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5307 	#   nm: unknown option "B" ignored
   5308 	# Tru64's nm complains that /dev/null is an invalid object file
   5309 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5310 	case $build_os in
   5311 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5312 	*) lt_bad_file=/dev/null ;;
   5313 	esac
   5314 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5315 	*$lt_bad_file* | *'Invalid file or object type'*)
   5316 	  lt_cv_path_NM="$tmp_nm -B"
   5317 	  break 2
   5318 	  ;;
   5319 	*)
   5320 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5321 	  */dev/null*)
   5322 	    lt_cv_path_NM="$tmp_nm -p"
   5323 	    break 2
   5324 	    ;;
   5325 	  *)
   5326 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5327 	    continue # so that we can try to find one that supports BSD flags
   5328 	    ;;
   5329 	  esac
   5330 	  ;;
   5331 	esac
   5332       fi
   5333     done
   5334     IFS=$lt_save_ifs
   5335   done
   5336   : ${lt_cv_path_NM=no}
   5337 fi
   5338 fi
   5339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5340 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5341 if test no != "$lt_cv_path_NM"; then
   5342   NM=$lt_cv_path_NM
   5343 else
   5344   # Didn't find any BSD compatible name lister, look for dumpbin.
   5345   if test -n "$DUMPBIN"; then :
   5346     # Let the user override the test.
   5347   else
   5348     if test -n "$ac_tool_prefix"; then
   5349   for ac_prog in dumpbin "link -dump"
   5350   do
   5351     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5352 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5354 printf %s "checking for $ac_word... " >&6; }
   5355 if test ${ac_cv_prog_DUMPBIN+y}
   5356 then :
   5357   printf %s "(cached) " >&6
   5358 else $as_nop
   5359   if test -n "$DUMPBIN"; then
   5360   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5361 else
   5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5363 for as_dir in $PATH
   5364 do
   5365   IFS=$as_save_IFS
   5366   case $as_dir in #(((
   5367     '') as_dir=./ ;;
   5368     */) ;;
   5369     *) as_dir=$as_dir/ ;;
   5370   esac
   5371     for ac_exec_ext in '' $ac_executable_extensions; do
   5372   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5373     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5374     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5375     break 2
   5376   fi
   5377 done
   5378   done
   5379 IFS=$as_save_IFS
   5380 
   5381 fi
   5382 fi
   5383 DUMPBIN=$ac_cv_prog_DUMPBIN
   5384 if test -n "$DUMPBIN"; then
   5385   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5386 printf "%s\n" "$DUMPBIN" >&6; }
   5387 else
   5388   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5389 printf "%s\n" "no" >&6; }
   5390 fi
   5391 
   5392 
   5393     test -n "$DUMPBIN" && break
   5394   done
   5395 fi
   5396 if test -z "$DUMPBIN"; then
   5397   ac_ct_DUMPBIN=$DUMPBIN
   5398   for ac_prog in dumpbin "link -dump"
   5399 do
   5400   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5401 set dummy $ac_prog; ac_word=$2
   5402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5403 printf %s "checking for $ac_word... " >&6; }
   5404 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5405 then :
   5406   printf %s "(cached) " >&6
   5407 else $as_nop
   5408   if test -n "$ac_ct_DUMPBIN"; then
   5409   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5410 else
   5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5412 for as_dir in $PATH
   5413 do
   5414   IFS=$as_save_IFS
   5415   case $as_dir in #(((
   5416     '') as_dir=./ ;;
   5417     */) ;;
   5418     *) as_dir=$as_dir/ ;;
   5419   esac
   5420     for ac_exec_ext in '' $ac_executable_extensions; do
   5421   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5422     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5423     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5424     break 2
   5425   fi
   5426 done
   5427   done
   5428 IFS=$as_save_IFS
   5429 
   5430 fi
   5431 fi
   5432 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5433 if test -n "$ac_ct_DUMPBIN"; then
   5434   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5435 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5436 else
   5437   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5438 printf "%s\n" "no" >&6; }
   5439 fi
   5440 
   5441 
   5442   test -n "$ac_ct_DUMPBIN" && break
   5443 done
   5444 
   5445   if test "x$ac_ct_DUMPBIN" = x; then
   5446     DUMPBIN=":"
   5447   else
   5448     case $cross_compiling:$ac_tool_warned in
   5449 yes:)
   5450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5451 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5452 ac_tool_warned=yes ;;
   5453 esac
   5454     DUMPBIN=$ac_ct_DUMPBIN
   5455   fi
   5456 fi
   5457 
   5458     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5459     *COFF*)
   5460       DUMPBIN="$DUMPBIN -symbols -headers"
   5461       ;;
   5462     *)
   5463       DUMPBIN=:
   5464       ;;
   5465     esac
   5466   fi
   5467 
   5468   if test : != "$DUMPBIN"; then
   5469     NM=$DUMPBIN
   5470   fi
   5471 fi
   5472 test -z "$NM" && NM=nm
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5480 printf %s "checking the name lister ($NM) interface... " >&6; }
   5481 if test ${lt_cv_nm_interface+y}
   5482 then :
   5483   printf %s "(cached) " >&6
   5484 else $as_nop
   5485   lt_cv_nm_interface="BSD nm"
   5486   echo "int some_variable = 0;" > conftest.$ac_ext
   5487   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5488   (eval "$ac_compile" 2>conftest.err)
   5489   cat conftest.err >&5
   5490   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5491   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5492   cat conftest.err >&5
   5493   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5494   cat conftest.out >&5
   5495   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5496     lt_cv_nm_interface="MS dumpbin"
   5497   fi
   5498   rm -f conftest*
   5499 fi
   5500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5501 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5502 
   5503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5504 printf %s "checking whether ln -s works... " >&6; }
   5505 LN_S=$as_ln_s
   5506 if test "$LN_S" = "ln -s"; then
   5507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5508 printf "%s\n" "yes" >&6; }
   5509 else
   5510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5511 printf "%s\n" "no, using $LN_S" >&6; }
   5512 fi
   5513 
   5514 # find the maximum length of command line arguments
   5515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5516 printf %s "checking the maximum length of command line arguments... " >&6; }
   5517 if test ${lt_cv_sys_max_cmd_len+y}
   5518 then :
   5519   printf %s "(cached) " >&6
   5520 else $as_nop
   5521     i=0
   5522   teststring=ABCD
   5523 
   5524   case $build_os in
   5525   msdosdjgpp*)
   5526     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5527     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5528     # during glob expansion).  Even if it were fixed, the result of this
   5529     # check would be larger than it should be.
   5530     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5531     ;;
   5532 
   5533   gnu*)
   5534     # Under GNU Hurd, this test is not required because there is
   5535     # no limit to the length of command line arguments.
   5536     # Libtool will interpret -1 as no limit whatsoever
   5537     lt_cv_sys_max_cmd_len=-1;
   5538     ;;
   5539 
   5540   cygwin* | mingw* | cegcc*)
   5541     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5542     # about 5 minutes as the teststring grows exponentially.
   5543     # Worse, since 9x/ME are not pre-emptively multitasking,
   5544     # you end up with a "frozen" computer, even though with patience
   5545     # the test eventually succeeds (with a max line length of 256k).
   5546     # Instead, let's just punt: use the minimum linelength reported by
   5547     # all of the supported platforms: 8192 (on NT/2K/XP).
   5548     lt_cv_sys_max_cmd_len=8192;
   5549     ;;
   5550 
   5551   mint*)
   5552     # On MiNT this can take a long time and run out of memory.
   5553     lt_cv_sys_max_cmd_len=8192;
   5554     ;;
   5555 
   5556   amigaos*)
   5557     # On AmigaOS with pdksh, this test takes hours, literally.
   5558     # So we just punt and use a minimum line length of 8192.
   5559     lt_cv_sys_max_cmd_len=8192;
   5560     ;;
   5561 
   5562   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5563     # This has been around since 386BSD, at least.  Likely further.
   5564     if test -x /sbin/sysctl; then
   5565       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5566     elif test -x /usr/sbin/sysctl; then
   5567       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5568     else
   5569       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5570     fi
   5571     # And add a safety zone
   5572     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5573     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5574     ;;
   5575 
   5576   interix*)
   5577     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5578     lt_cv_sys_max_cmd_len=196608
   5579     ;;
   5580 
   5581   os2*)
   5582     # The test takes a long time on OS/2.
   5583     lt_cv_sys_max_cmd_len=8192
   5584     ;;
   5585 
   5586   osf*)
   5587     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5588     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5589     # nice to cause kernel panics so lets avoid the loop below.
   5590     # First set a reasonable default.
   5591     lt_cv_sys_max_cmd_len=16384
   5592     #
   5593     if test -x /sbin/sysconfig; then
   5594       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5595         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5596       esac
   5597     fi
   5598     ;;
   5599   sco3.2v5*)
   5600     lt_cv_sys_max_cmd_len=102400
   5601     ;;
   5602   sysv5* | sco5v6* | sysv4.2uw2*)
   5603     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5604     if test -n "$kargmax"; then
   5605       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5606     else
   5607       lt_cv_sys_max_cmd_len=32768
   5608     fi
   5609     ;;
   5610   *)
   5611     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5612     if test -n "$lt_cv_sys_max_cmd_len" && \
   5613        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5614       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5615       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5616     else
   5617       # Make teststring a little bigger before we do anything with it.
   5618       # a 1K string should be a reasonable start.
   5619       for i in 1 2 3 4 5 6 7 8; do
   5620         teststring=$teststring$teststring
   5621       done
   5622       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5623       # If test is not a shell built-in, we'll probably end up computing a
   5624       # maximum length that is only half of the actual maximum length, but
   5625       # we can't tell.
   5626       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5627 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5628 	      test 17 != "$i" # 1/2 MB should be enough
   5629       do
   5630         i=`expr $i + 1`
   5631         teststring=$teststring$teststring
   5632       done
   5633       # Only check the string length outside the loop.
   5634       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5635       teststring=
   5636       # Add a significant safety factor because C++ compilers can tack on
   5637       # massive amounts of additional arguments before passing them to the
   5638       # linker.  It appears as though 1/2 is a usable value.
   5639       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5640     fi
   5641     ;;
   5642   esac
   5643 
   5644 fi
   5645 
   5646 if test -n "$lt_cv_sys_max_cmd_len"; then
   5647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5648 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5649 else
   5650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5651 printf "%s\n" "none" >&6; }
   5652 fi
   5653 max_cmd_len=$lt_cv_sys_max_cmd_len
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 : ${CP="cp -f"}
   5661 : ${MV="mv -f"}
   5662 : ${RM="rm -f"}
   5663 
   5664 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5665   lt_unset=unset
   5666 else
   5667   lt_unset=false
   5668 fi
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 # test EBCDIC or ASCII
   5675 case `echo X|tr X '\101'` in
   5676  A) # ASCII based system
   5677     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5678   lt_SP2NL='tr \040 \012'
   5679   lt_NL2SP='tr \015\012 \040\040'
   5680   ;;
   5681  *) # EBCDIC based system
   5682   lt_SP2NL='tr \100 \n'
   5683   lt_NL2SP='tr \r\n \100\100'
   5684   ;;
   5685 esac
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5696 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5697 if test ${lt_cv_to_host_file_cmd+y}
   5698 then :
   5699   printf %s "(cached) " >&6
   5700 else $as_nop
   5701   case $host in
   5702   *-*-mingw* )
   5703     case $build in
   5704       *-*-mingw* ) # actually msys
   5705         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5706         ;;
   5707       *-*-cygwin* )
   5708         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5709         ;;
   5710       * ) # otherwise, assume *nix
   5711         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5712         ;;
   5713     esac
   5714     ;;
   5715   *-*-cygwin* )
   5716     case $build in
   5717       *-*-mingw* ) # actually msys
   5718         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5719         ;;
   5720       *-*-cygwin* )
   5721         lt_cv_to_host_file_cmd=func_convert_file_noop
   5722         ;;
   5723       * ) # otherwise, assume *nix
   5724         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5725         ;;
   5726     esac
   5727     ;;
   5728   * ) # unhandled hosts (and "normal" native builds)
   5729     lt_cv_to_host_file_cmd=func_convert_file_noop
   5730     ;;
   5731 esac
   5732 
   5733 fi
   5734 
   5735 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5737 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5744 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5745 if test ${lt_cv_to_tool_file_cmd+y}
   5746 then :
   5747   printf %s "(cached) " >&6
   5748 else $as_nop
   5749   #assume ordinary cross tools, or native build.
   5750 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5751 case $host in
   5752   *-*-mingw* )
   5753     case $build in
   5754       *-*-mingw* ) # actually msys
   5755         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5756         ;;
   5757     esac
   5758     ;;
   5759 esac
   5760 
   5761 fi
   5762 
   5763 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5765 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5772 printf %s "checking for $LD option to reload object files... " >&6; }
   5773 if test ${lt_cv_ld_reload_flag+y}
   5774 then :
   5775   printf %s "(cached) " >&6
   5776 else $as_nop
   5777   lt_cv_ld_reload_flag='-r'
   5778 fi
   5779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5780 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5781 reload_flag=$lt_cv_ld_reload_flag
   5782 case $reload_flag in
   5783 "" | " "*) ;;
   5784 *) reload_flag=" $reload_flag" ;;
   5785 esac
   5786 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5787 case $host_os in
   5788   cygwin* | mingw* | pw32* | cegcc*)
   5789     if test yes != "$GCC"; then
   5790       reload_cmds=false
   5791     fi
   5792     ;;
   5793   darwin*)
   5794     if test yes = "$GCC"; then
   5795       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5796     else
   5797       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5798     fi
   5799     ;;
   5800 esac
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 if test -n "$ac_tool_prefix"; then
   5811   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5812 set dummy ${ac_tool_prefix}file; ac_word=$2
   5813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5814 printf %s "checking for $ac_word... " >&6; }
   5815 if test ${ac_cv_prog_FILECMD+y}
   5816 then :
   5817   printf %s "(cached) " >&6
   5818 else $as_nop
   5819   if test -n "$FILECMD"; then
   5820   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5821 else
   5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5823 for as_dir in $PATH
   5824 do
   5825   IFS=$as_save_IFS
   5826   case $as_dir in #(((
   5827     '') as_dir=./ ;;
   5828     */) ;;
   5829     *) as_dir=$as_dir/ ;;
   5830   esac
   5831     for ac_exec_ext in '' $ac_executable_extensions; do
   5832   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5833     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5834     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5835     break 2
   5836   fi
   5837 done
   5838   done
   5839 IFS=$as_save_IFS
   5840 
   5841 fi
   5842 fi
   5843 FILECMD=$ac_cv_prog_FILECMD
   5844 if test -n "$FILECMD"; then
   5845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5846 printf "%s\n" "$FILECMD" >&6; }
   5847 else
   5848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5849 printf "%s\n" "no" >&6; }
   5850 fi
   5851 
   5852 
   5853 fi
   5854 if test -z "$ac_cv_prog_FILECMD"; then
   5855   ac_ct_FILECMD=$FILECMD
   5856   # Extract the first word of "file", so it can be a program name with args.
   5857 set dummy file; ac_word=$2
   5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5859 printf %s "checking for $ac_word... " >&6; }
   5860 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5861 then :
   5862   printf %s "(cached) " >&6
   5863 else $as_nop
   5864   if test -n "$ac_ct_FILECMD"; then
   5865   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5866 else
   5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5868 for as_dir in $PATH
   5869 do
   5870   IFS=$as_save_IFS
   5871   case $as_dir in #(((
   5872     '') as_dir=./ ;;
   5873     */) ;;
   5874     *) as_dir=$as_dir/ ;;
   5875   esac
   5876     for ac_exec_ext in '' $ac_executable_extensions; do
   5877   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5878     ac_cv_prog_ac_ct_FILECMD="file"
   5879     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5880     break 2
   5881   fi
   5882 done
   5883   done
   5884 IFS=$as_save_IFS
   5885 
   5886 fi
   5887 fi
   5888 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5889 if test -n "$ac_ct_FILECMD"; then
   5890   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5891 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5892 else
   5893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5894 printf "%s\n" "no" >&6; }
   5895 fi
   5896 
   5897   if test "x$ac_ct_FILECMD" = x; then
   5898     FILECMD=":"
   5899   else
   5900     case $cross_compiling:$ac_tool_warned in
   5901 yes:)
   5902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5903 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5904 ac_tool_warned=yes ;;
   5905 esac
   5906     FILECMD=$ac_ct_FILECMD
   5907   fi
   5908 else
   5909   FILECMD="$ac_cv_prog_FILECMD"
   5910 fi
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 if test -n "$ac_tool_prefix"; then
   5919   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5920 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5922 printf %s "checking for $ac_word... " >&6; }
   5923 if test ${ac_cv_prog_OBJDUMP+y}
   5924 then :
   5925   printf %s "(cached) " >&6
   5926 else $as_nop
   5927   if test -n "$OBJDUMP"; then
   5928   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5929 else
   5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5931 for as_dir in $PATH
   5932 do
   5933   IFS=$as_save_IFS
   5934   case $as_dir in #(((
   5935     '') as_dir=./ ;;
   5936     */) ;;
   5937     *) as_dir=$as_dir/ ;;
   5938   esac
   5939     for ac_exec_ext in '' $ac_executable_extensions; do
   5940   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5941     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5942     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5943     break 2
   5944   fi
   5945 done
   5946   done
   5947 IFS=$as_save_IFS
   5948 
   5949 fi
   5950 fi
   5951 OBJDUMP=$ac_cv_prog_OBJDUMP
   5952 if test -n "$OBJDUMP"; then
   5953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5954 printf "%s\n" "$OBJDUMP" >&6; }
   5955 else
   5956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5957 printf "%s\n" "no" >&6; }
   5958 fi
   5959 
   5960 
   5961 fi
   5962 if test -z "$ac_cv_prog_OBJDUMP"; then
   5963   ac_ct_OBJDUMP=$OBJDUMP
   5964   # Extract the first word of "objdump", so it can be a program name with args.
   5965 set dummy objdump; ac_word=$2
   5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5967 printf %s "checking for $ac_word... " >&6; }
   5968 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5969 then :
   5970   printf %s "(cached) " >&6
   5971 else $as_nop
   5972   if test -n "$ac_ct_OBJDUMP"; then
   5973   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5974 else
   5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5976 for as_dir in $PATH
   5977 do
   5978   IFS=$as_save_IFS
   5979   case $as_dir in #(((
   5980     '') as_dir=./ ;;
   5981     */) ;;
   5982     *) as_dir=$as_dir/ ;;
   5983   esac
   5984     for ac_exec_ext in '' $ac_executable_extensions; do
   5985   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5986     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5987     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5988     break 2
   5989   fi
   5990 done
   5991   done
   5992 IFS=$as_save_IFS
   5993 
   5994 fi
   5995 fi
   5996 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5997 if test -n "$ac_ct_OBJDUMP"; then
   5998   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5999 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6000 else
   6001   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6002 printf "%s\n" "no" >&6; }
   6003 fi
   6004 
   6005   if test "x$ac_ct_OBJDUMP" = x; then
   6006     OBJDUMP="false"
   6007   else
   6008     case $cross_compiling:$ac_tool_warned in
   6009 yes:)
   6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6011 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6012 ac_tool_warned=yes ;;
   6013 esac
   6014     OBJDUMP=$ac_ct_OBJDUMP
   6015   fi
   6016 else
   6017   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6018 fi
   6019 
   6020 test -z "$OBJDUMP" && OBJDUMP=objdump
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6031 printf %s "checking how to recognize dependent libraries... " >&6; }
   6032 if test ${lt_cv_deplibs_check_method+y}
   6033 then :
   6034   printf %s "(cached) " >&6
   6035 else $as_nop
   6036   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6037 lt_cv_file_magic_test_file=
   6038 lt_cv_deplibs_check_method='unknown'
   6039 # Need to set the preceding variable on all platforms that support
   6040 # interlibrary dependencies.
   6041 # 'none' -- dependencies not supported.
   6042 # 'unknown' -- same as none, but documents that we really don't know.
   6043 # 'pass_all' -- all dependencies passed with no checks.
   6044 # 'test_compile' -- check by making test program.
   6045 # 'file_magic [[regex]]' -- check by looking for files in library path
   6046 # that responds to the $file_magic_cmd with a given extended regex.
   6047 # If you have 'file' or equivalent on your system and you're not sure
   6048 # whether 'pass_all' will *always* work, you probably want this one.
   6049 
   6050 case $host_os in
   6051 aix[4-9]*)
   6052   lt_cv_deplibs_check_method=pass_all
   6053   ;;
   6054 
   6055 beos*)
   6056   lt_cv_deplibs_check_method=pass_all
   6057   ;;
   6058 
   6059 bsdi[45]*)
   6060   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6061   lt_cv_file_magic_cmd='$FILECMD -L'
   6062   lt_cv_file_magic_test_file=/shlib/libc.so
   6063   ;;
   6064 
   6065 cygwin*)
   6066   # func_win32_libid is a shell function defined in ltmain.sh
   6067   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6068   lt_cv_file_magic_cmd='func_win32_libid'
   6069   ;;
   6070 
   6071 mingw* | pw32*)
   6072   # Base MSYS/MinGW do not provide the 'file' command needed by
   6073   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6074   # unless we find 'file', for example because we are cross-compiling.
   6075   if ( file / ) >/dev/null 2>&1; then
   6076     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6077     lt_cv_file_magic_cmd='func_win32_libid'
   6078   else
   6079     # Keep this pattern in sync with the one in func_win32_libid.
   6080     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6081     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6082   fi
   6083   ;;
   6084 
   6085 cegcc*)
   6086   # use the weaker test based on 'objdump'. See mingw*.
   6087   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6088   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6089   ;;
   6090 
   6091 darwin* | rhapsody*)
   6092   lt_cv_deplibs_check_method=pass_all
   6093   ;;
   6094 
   6095 freebsd* | dragonfly* | midnightbsd*)
   6096   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6097     case $host_cpu in
   6098     i*86 )
   6099       # Not sure whether the presence of OpenBSD here was a mistake.
   6100       # Let's accept both of them until this is cleared up.
   6101       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6102       lt_cv_file_magic_cmd=$FILECMD
   6103       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6104       ;;
   6105     esac
   6106   else
   6107     lt_cv_deplibs_check_method=pass_all
   6108   fi
   6109   ;;
   6110 
   6111 haiku*)
   6112   lt_cv_deplibs_check_method=pass_all
   6113   ;;
   6114 
   6115 hpux10.20* | hpux11*)
   6116   lt_cv_file_magic_cmd=$FILECMD
   6117   case $host_cpu in
   6118   ia64*)
   6119     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6120     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6121     ;;
   6122   hppa*64*)
   6123     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]'
   6124     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6125     ;;
   6126   *)
   6127     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6128     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6129     ;;
   6130   esac
   6131   ;;
   6132 
   6133 interix[3-9]*)
   6134   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6135   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6136   ;;
   6137 
   6138 irix5* | irix6* | nonstopux*)
   6139   case $LD in
   6140   *-32|*"-32 ") libmagic=32-bit;;
   6141   *-n32|*"-n32 ") libmagic=N32;;
   6142   *-64|*"-64 ") libmagic=64-bit;;
   6143   *) libmagic=never-match;;
   6144   esac
   6145   lt_cv_deplibs_check_method=pass_all
   6146   ;;
   6147 
   6148 # This must be glibc/ELF.
   6149 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6150   lt_cv_deplibs_check_method=pass_all
   6151   ;;
   6152 
   6153 netbsd* | netbsdelf*-gnu)
   6154   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6155     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6156   else
   6157     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6158   fi
   6159   ;;
   6160 
   6161 newos6*)
   6162   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6163   lt_cv_file_magic_cmd=$FILECMD
   6164   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6165   ;;
   6166 
   6167 *nto* | *qnx*)
   6168   lt_cv_deplibs_check_method=pass_all
   6169   ;;
   6170 
   6171 openbsd* | bitrig*)
   6172   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6173     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6174   else
   6175     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6176   fi
   6177   ;;
   6178 
   6179 osf3* | osf4* | osf5*)
   6180   lt_cv_deplibs_check_method=pass_all
   6181   ;;
   6182 
   6183 rdos*)
   6184   lt_cv_deplibs_check_method=pass_all
   6185   ;;
   6186 
   6187 solaris*)
   6188   lt_cv_deplibs_check_method=pass_all
   6189   ;;
   6190 
   6191 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6192   lt_cv_deplibs_check_method=pass_all
   6193   ;;
   6194 
   6195 sysv4 | sysv4.3*)
   6196   case $host_vendor in
   6197   motorola)
   6198     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]'
   6199     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6200     ;;
   6201   ncr)
   6202     lt_cv_deplibs_check_method=pass_all
   6203     ;;
   6204   sequent)
   6205     lt_cv_file_magic_cmd='/bin/file'
   6206     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6207     ;;
   6208   sni)
   6209     lt_cv_file_magic_cmd='/bin/file'
   6210     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6211     lt_cv_file_magic_test_file=/lib/libc.so
   6212     ;;
   6213   siemens)
   6214     lt_cv_deplibs_check_method=pass_all
   6215     ;;
   6216   pc)
   6217     lt_cv_deplibs_check_method=pass_all
   6218     ;;
   6219   esac
   6220   ;;
   6221 
   6222 tpf*)
   6223   lt_cv_deplibs_check_method=pass_all
   6224   ;;
   6225 os2*)
   6226   lt_cv_deplibs_check_method=pass_all
   6227   ;;
   6228 esac
   6229 
   6230 fi
   6231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6232 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6233 
   6234 file_magic_glob=
   6235 want_nocaseglob=no
   6236 if test "$build" = "$host"; then
   6237   case $host_os in
   6238   mingw* | pw32*)
   6239     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6240       want_nocaseglob=yes
   6241     else
   6242       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6243     fi
   6244     ;;
   6245   esac
   6246 fi
   6247 
   6248 file_magic_cmd=$lt_cv_file_magic_cmd
   6249 deplibs_check_method=$lt_cv_deplibs_check_method
   6250 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 if test -n "$ac_tool_prefix"; then
   6274   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6275 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6277 printf %s "checking for $ac_word... " >&6; }
   6278 if test ${ac_cv_prog_DLLTOOL+y}
   6279 then :
   6280   printf %s "(cached) " >&6
   6281 else $as_nop
   6282   if test -n "$DLLTOOL"; then
   6283   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6284 else
   6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6286 for as_dir in $PATH
   6287 do
   6288   IFS=$as_save_IFS
   6289   case $as_dir in #(((
   6290     '') as_dir=./ ;;
   6291     */) ;;
   6292     *) as_dir=$as_dir/ ;;
   6293   esac
   6294     for ac_exec_ext in '' $ac_executable_extensions; do
   6295   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6296     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6297     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6298     break 2
   6299   fi
   6300 done
   6301   done
   6302 IFS=$as_save_IFS
   6303 
   6304 fi
   6305 fi
   6306 DLLTOOL=$ac_cv_prog_DLLTOOL
   6307 if test -n "$DLLTOOL"; then
   6308   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6309 printf "%s\n" "$DLLTOOL" >&6; }
   6310 else
   6311   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6312 printf "%s\n" "no" >&6; }
   6313 fi
   6314 
   6315 
   6316 fi
   6317 if test -z "$ac_cv_prog_DLLTOOL"; then
   6318   ac_ct_DLLTOOL=$DLLTOOL
   6319   # Extract the first word of "dlltool", so it can be a program name with args.
   6320 set dummy dlltool; ac_word=$2
   6321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6322 printf %s "checking for $ac_word... " >&6; }
   6323 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6324 then :
   6325   printf %s "(cached) " >&6
   6326 else $as_nop
   6327   if test -n "$ac_ct_DLLTOOL"; then
   6328   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6329 else
   6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6331 for as_dir in $PATH
   6332 do
   6333   IFS=$as_save_IFS
   6334   case $as_dir in #(((
   6335     '') as_dir=./ ;;
   6336     */) ;;
   6337     *) as_dir=$as_dir/ ;;
   6338   esac
   6339     for ac_exec_ext in '' $ac_executable_extensions; do
   6340   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6341     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6342     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6343     break 2
   6344   fi
   6345 done
   6346   done
   6347 IFS=$as_save_IFS
   6348 
   6349 fi
   6350 fi
   6351 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6352 if test -n "$ac_ct_DLLTOOL"; then
   6353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6354 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6355 else
   6356   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6357 printf "%s\n" "no" >&6; }
   6358 fi
   6359 
   6360   if test "x$ac_ct_DLLTOOL" = x; then
   6361     DLLTOOL="false"
   6362   else
   6363     case $cross_compiling:$ac_tool_warned in
   6364 yes:)
   6365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6366 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6367 ac_tool_warned=yes ;;
   6368 esac
   6369     DLLTOOL=$ac_ct_DLLTOOL
   6370   fi
   6371 else
   6372   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6373 fi
   6374 
   6375 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6387 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6388 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6389 then :
   6390   printf %s "(cached) " >&6
   6391 else $as_nop
   6392   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6393 
   6394 case $host_os in
   6395 cygwin* | mingw* | pw32* | cegcc*)
   6396   # two different shell functions defined in ltmain.sh;
   6397   # decide which one to use based on capabilities of $DLLTOOL
   6398   case `$DLLTOOL --help 2>&1` in
   6399   *--identify-strict*)
   6400     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6401     ;;
   6402   *)
   6403     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6404     ;;
   6405   esac
   6406   ;;
   6407 *)
   6408   # fallback: assume linklib IS sharedlib
   6409   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6410   ;;
   6411 esac
   6412 
   6413 fi
   6414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6415 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6416 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6417 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 if test -n "$ac_tool_prefix"; then
   6426   for ac_prog in ar
   6427   do
   6428     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6429 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6431 printf %s "checking for $ac_word... " >&6; }
   6432 if test ${ac_cv_prog_AR+y}
   6433 then :
   6434   printf %s "(cached) " >&6
   6435 else $as_nop
   6436   if test -n "$AR"; then
   6437   ac_cv_prog_AR="$AR" # Let the user override the test.
   6438 else
   6439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6440 for as_dir in $PATH
   6441 do
   6442   IFS=$as_save_IFS
   6443   case $as_dir in #(((
   6444     '') as_dir=./ ;;
   6445     */) ;;
   6446     *) as_dir=$as_dir/ ;;
   6447   esac
   6448     for ac_exec_ext in '' $ac_executable_extensions; do
   6449   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6450     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6451     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6452     break 2
   6453   fi
   6454 done
   6455   done
   6456 IFS=$as_save_IFS
   6457 
   6458 fi
   6459 fi
   6460 AR=$ac_cv_prog_AR
   6461 if test -n "$AR"; then
   6462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6463 printf "%s\n" "$AR" >&6; }
   6464 else
   6465   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6466 printf "%s\n" "no" >&6; }
   6467 fi
   6468 
   6469 
   6470     test -n "$AR" && break
   6471   done
   6472 fi
   6473 if test -z "$AR"; then
   6474   ac_ct_AR=$AR
   6475   for ac_prog in ar
   6476 do
   6477   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6478 set dummy $ac_prog; ac_word=$2
   6479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6480 printf %s "checking for $ac_word... " >&6; }
   6481 if test ${ac_cv_prog_ac_ct_AR+y}
   6482 then :
   6483   printf %s "(cached) " >&6
   6484 else $as_nop
   6485   if test -n "$ac_ct_AR"; then
   6486   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6487 else
   6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6489 for as_dir in $PATH
   6490 do
   6491   IFS=$as_save_IFS
   6492   case $as_dir in #(((
   6493     '') as_dir=./ ;;
   6494     */) ;;
   6495     *) as_dir=$as_dir/ ;;
   6496   esac
   6497     for ac_exec_ext in '' $ac_executable_extensions; do
   6498   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6499     ac_cv_prog_ac_ct_AR="$ac_prog"
   6500     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6501     break 2
   6502   fi
   6503 done
   6504   done
   6505 IFS=$as_save_IFS
   6506 
   6507 fi
   6508 fi
   6509 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6510 if test -n "$ac_ct_AR"; then
   6511   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6512 printf "%s\n" "$ac_ct_AR" >&6; }
   6513 else
   6514   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6515 printf "%s\n" "no" >&6; }
   6516 fi
   6517 
   6518 
   6519   test -n "$ac_ct_AR" && break
   6520 done
   6521 
   6522   if test "x$ac_ct_AR" = x; then
   6523     AR="false"
   6524   else
   6525     case $cross_compiling:$ac_tool_warned in
   6526 yes:)
   6527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6528 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6529 ac_tool_warned=yes ;;
   6530 esac
   6531     AR=$ac_ct_AR
   6532   fi
   6533 fi
   6534 
   6535 : ${AR=ar}
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6543 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6544 # higher priority because thats what people were doing historically (setting
   6545 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6546 # variable obsoleted/removed.
   6547 
   6548 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6549 lt_ar_flags=$AR_FLAGS
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6557 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6565 printf %s "checking for archiver @FILE support... " >&6; }
   6566 if test ${lt_cv_ar_at_file+y}
   6567 then :
   6568   printf %s "(cached) " >&6
   6569 else $as_nop
   6570   lt_cv_ar_at_file=no
   6571    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6572 /* end confdefs.h.  */
   6573 
   6574 int
   6575 main (void)
   6576 {
   6577 
   6578   ;
   6579   return 0;
   6580 }
   6581 _ACEOF
   6582 if ac_fn_c_try_compile "$LINENO"
   6583 then :
   6584   echo conftest.$ac_objext > conftest.lst
   6585       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6586       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6587   (eval $lt_ar_try) 2>&5
   6588   ac_status=$?
   6589   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6590   test $ac_status = 0; }
   6591       if test 0 -eq "$ac_status"; then
   6592 	# Ensure the archiver fails upon bogus file names.
   6593 	rm -f conftest.$ac_objext libconftest.a
   6594 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6595   (eval $lt_ar_try) 2>&5
   6596   ac_status=$?
   6597   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6598   test $ac_status = 0; }
   6599 	if test 0 -ne "$ac_status"; then
   6600           lt_cv_ar_at_file=@
   6601         fi
   6602       fi
   6603       rm -f conftest.* libconftest.a
   6604 
   6605 fi
   6606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6607 
   6608 fi
   6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6610 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6611 
   6612 if test no = "$lt_cv_ar_at_file"; then
   6613   archiver_list_spec=
   6614 else
   6615   archiver_list_spec=$lt_cv_ar_at_file
   6616 fi
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 if test -n "$ac_tool_prefix"; then
   6625   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6626 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6628 printf %s "checking for $ac_word... " >&6; }
   6629 if test ${ac_cv_prog_STRIP+y}
   6630 then :
   6631   printf %s "(cached) " >&6
   6632 else $as_nop
   6633   if test -n "$STRIP"; then
   6634   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6635 else
   6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6637 for as_dir in $PATH
   6638 do
   6639   IFS=$as_save_IFS
   6640   case $as_dir in #(((
   6641     '') as_dir=./ ;;
   6642     */) ;;
   6643     *) as_dir=$as_dir/ ;;
   6644   esac
   6645     for ac_exec_ext in '' $ac_executable_extensions; do
   6646   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6647     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6648     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6649     break 2
   6650   fi
   6651 done
   6652   done
   6653 IFS=$as_save_IFS
   6654 
   6655 fi
   6656 fi
   6657 STRIP=$ac_cv_prog_STRIP
   6658 if test -n "$STRIP"; then
   6659   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6660 printf "%s\n" "$STRIP" >&6; }
   6661 else
   6662   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6663 printf "%s\n" "no" >&6; }
   6664 fi
   6665 
   6666 
   6667 fi
   6668 if test -z "$ac_cv_prog_STRIP"; then
   6669   ac_ct_STRIP=$STRIP
   6670   # Extract the first word of "strip", so it can be a program name with args.
   6671 set dummy strip; ac_word=$2
   6672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6673 printf %s "checking for $ac_word... " >&6; }
   6674 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6675 then :
   6676   printf %s "(cached) " >&6
   6677 else $as_nop
   6678   if test -n "$ac_ct_STRIP"; then
   6679   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6680 else
   6681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6682 for as_dir in $PATH
   6683 do
   6684   IFS=$as_save_IFS
   6685   case $as_dir in #(((
   6686     '') as_dir=./ ;;
   6687     */) ;;
   6688     *) as_dir=$as_dir/ ;;
   6689   esac
   6690     for ac_exec_ext in '' $ac_executable_extensions; do
   6691   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6692     ac_cv_prog_ac_ct_STRIP="strip"
   6693     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6694     break 2
   6695   fi
   6696 done
   6697   done
   6698 IFS=$as_save_IFS
   6699 
   6700 fi
   6701 fi
   6702 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6703 if test -n "$ac_ct_STRIP"; then
   6704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6705 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6706 else
   6707   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6708 printf "%s\n" "no" >&6; }
   6709 fi
   6710 
   6711   if test "x$ac_ct_STRIP" = x; then
   6712     STRIP=":"
   6713   else
   6714     case $cross_compiling:$ac_tool_warned in
   6715 yes:)
   6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6717 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6718 ac_tool_warned=yes ;;
   6719 esac
   6720     STRIP=$ac_ct_STRIP
   6721   fi
   6722 else
   6723   STRIP="$ac_cv_prog_STRIP"
   6724 fi
   6725 
   6726 test -z "$STRIP" && STRIP=:
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 if test -n "$ac_tool_prefix"; then
   6734   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6735 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6737 printf %s "checking for $ac_word... " >&6; }
   6738 if test ${ac_cv_prog_RANLIB+y}
   6739 then :
   6740   printf %s "(cached) " >&6
   6741 else $as_nop
   6742   if test -n "$RANLIB"; then
   6743   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6744 else
   6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6746 for as_dir in $PATH
   6747 do
   6748   IFS=$as_save_IFS
   6749   case $as_dir in #(((
   6750     '') as_dir=./ ;;
   6751     */) ;;
   6752     *) as_dir=$as_dir/ ;;
   6753   esac
   6754     for ac_exec_ext in '' $ac_executable_extensions; do
   6755   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6756     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6757     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6758     break 2
   6759   fi
   6760 done
   6761   done
   6762 IFS=$as_save_IFS
   6763 
   6764 fi
   6765 fi
   6766 RANLIB=$ac_cv_prog_RANLIB
   6767 if test -n "$RANLIB"; then
   6768   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6769 printf "%s\n" "$RANLIB" >&6; }
   6770 else
   6771   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6772 printf "%s\n" "no" >&6; }
   6773 fi
   6774 
   6775 
   6776 fi
   6777 if test -z "$ac_cv_prog_RANLIB"; then
   6778   ac_ct_RANLIB=$RANLIB
   6779   # Extract the first word of "ranlib", so it can be a program name with args.
   6780 set dummy ranlib; ac_word=$2
   6781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6782 printf %s "checking for $ac_word... " >&6; }
   6783 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6784 then :
   6785   printf %s "(cached) " >&6
   6786 else $as_nop
   6787   if test -n "$ac_ct_RANLIB"; then
   6788   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6789 else
   6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6791 for as_dir in $PATH
   6792 do
   6793   IFS=$as_save_IFS
   6794   case $as_dir in #(((
   6795     '') as_dir=./ ;;
   6796     */) ;;
   6797     *) as_dir=$as_dir/ ;;
   6798   esac
   6799     for ac_exec_ext in '' $ac_executable_extensions; do
   6800   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6801     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6802     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6803     break 2
   6804   fi
   6805 done
   6806   done
   6807 IFS=$as_save_IFS
   6808 
   6809 fi
   6810 fi
   6811 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6812 if test -n "$ac_ct_RANLIB"; then
   6813   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6814 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6815 else
   6816   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6817 printf "%s\n" "no" >&6; }
   6818 fi
   6819 
   6820   if test "x$ac_ct_RANLIB" = x; then
   6821     RANLIB=":"
   6822   else
   6823     case $cross_compiling:$ac_tool_warned in
   6824 yes:)
   6825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6826 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6827 ac_tool_warned=yes ;;
   6828 esac
   6829     RANLIB=$ac_ct_RANLIB
   6830   fi
   6831 else
   6832   RANLIB="$ac_cv_prog_RANLIB"
   6833 fi
   6834 
   6835 test -z "$RANLIB" && RANLIB=:
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 # Determine commands to create old-style static archives.
   6843 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6844 old_postinstall_cmds='chmod 644 $oldlib'
   6845 old_postuninstall_cmds=
   6846 
   6847 if test -n "$RANLIB"; then
   6848   case $host_os in
   6849   bitrig* | openbsd*)
   6850     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6851     ;;
   6852   *)
   6853     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6854     ;;
   6855   esac
   6856   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6857 fi
   6858 
   6859 case $host_os in
   6860   darwin*)
   6861     lock_old_archive_extraction=yes ;;
   6862   *)
   6863     lock_old_archive_extraction=no ;;
   6864 esac
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 # If no C compiler was specified, use CC.
   6905 LTCC=${LTCC-"$CC"}
   6906 
   6907 # If no C compiler flags were specified, use CFLAGS.
   6908 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6909 
   6910 # Allow CC to be a program name with arguments.
   6911 compiler=$CC
   6912 
   6913 
   6914 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6916 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6917 if test ${lt_cv_sys_global_symbol_pipe+y}
   6918 then :
   6919   printf %s "(cached) " >&6
   6920 else $as_nop
   6921 
   6922 # These are sane defaults that work on at least a few old systems.
   6923 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6924 
   6925 # Character class describing NM global symbol codes.
   6926 symcode='[BCDEGRST]'
   6927 
   6928 # Regexp to match symbols that can be accessed directly from C.
   6929 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6930 
   6931 # Define system-specific variables.
   6932 case $host_os in
   6933 aix*)
   6934   symcode='[BCDT]'
   6935   ;;
   6936 cygwin* | mingw* | pw32* | cegcc*)
   6937   symcode='[ABCDGISTW]'
   6938   ;;
   6939 hpux*)
   6940   if test ia64 = "$host_cpu"; then
   6941     symcode='[ABCDEGRST]'
   6942   fi
   6943   ;;
   6944 irix* | nonstopux*)
   6945   symcode='[BCDEGRST]'
   6946   ;;
   6947 osf*)
   6948   symcode='[BCDEGQRST]'
   6949   ;;
   6950 solaris*)
   6951   symcode='[BDRT]'
   6952   ;;
   6953 sco3.2v5*)
   6954   symcode='[DT]'
   6955   ;;
   6956 sysv4.2uw2*)
   6957   symcode='[DT]'
   6958   ;;
   6959 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6960   symcode='[ABDT]'
   6961   ;;
   6962 sysv4)
   6963   symcode='[DFNSTU]'
   6964   ;;
   6965 esac
   6966 
   6967 # If we're using GNU nm, then use its standard symbol codes.
   6968 case `$NM -V 2>&1` in
   6969 *GNU* | *'with BFD'*)
   6970   symcode='[ABCDGIRSTW]' ;;
   6971 esac
   6972 
   6973 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6974   # Gets list of data symbols to import.
   6975   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6976   # Adjust the below global symbol transforms to fixup imported variables.
   6977   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6978   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6979   lt_c_name_lib_hook="\
   6980   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6981   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6982 else
   6983   # Disable hooks by default.
   6984   lt_cv_sys_global_symbol_to_import=
   6985   lt_cdecl_hook=
   6986   lt_c_name_hook=
   6987   lt_c_name_lib_hook=
   6988 fi
   6989 
   6990 # Transform an extracted symbol line into a proper C declaration.
   6991 # Some systems (esp. on ia64) link data and code symbols differently,
   6992 # so use this general approach.
   6993 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   6994 $lt_cdecl_hook\
   6995 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6996 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6997 
   6998 # Transform an extracted symbol line into symbol name and symbol address
   6999 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7000 $lt_c_name_hook\
   7001 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7002 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7003 
   7004 # Transform an extracted symbol line into symbol name with lib prefix and
   7005 # symbol address.
   7006 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7007 $lt_c_name_lib_hook\
   7008 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7009 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7010 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7011 
   7012 # Handle CRLF in mingw tool chain
   7013 opt_cr=
   7014 case $build_os in
   7015 mingw*)
   7016   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7017   ;;
   7018 esac
   7019 
   7020 # Try without a prefix underscore, then with it.
   7021 for ac_symprfx in "" "_"; do
   7022 
   7023   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7024   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7025 
   7026   # Write the raw and C identifiers.
   7027   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7028     # Fake it for dumpbin and say T for any non-static function,
   7029     # D for any global variable and I for any imported variable.
   7030     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7031     # which start with @ or ?.
   7032     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7033 "     {last_section=section; section=\$ 3};"\
   7034 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7035 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7036 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7037 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7038 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7039 "     \$ 0!~/External *\|/{next};"\
   7040 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7041 "     {if(hide[section]) next};"\
   7042 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7043 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7044 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7045 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7046 "     ' prfx=^$ac_symprfx"
   7047   else
   7048     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7049   fi
   7050   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7051 
   7052   # Check to see that the pipe works correctly.
   7053   pipe_works=no
   7054 
   7055   rm -f conftest*
   7056   cat > conftest.$ac_ext <<_LT_EOF
   7057 #ifdef __cplusplus
   7058 extern "C" {
   7059 #endif
   7060 char nm_test_var;
   7061 void nm_test_func(void);
   7062 void nm_test_func(void){}
   7063 #ifdef __cplusplus
   7064 }
   7065 #endif
   7066 int main(){nm_test_var='a';nm_test_func();return(0);}
   7067 _LT_EOF
   7068 
   7069   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7070   (eval $ac_compile) 2>&5
   7071   ac_status=$?
   7072   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7073   test $ac_status = 0; }; then
   7074     # Now try to grab the symbols.
   7075     nlist=conftest.nm
   7076     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7077     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7078       # Try sorting and uniquifying the output.
   7079       if sort "$nlist" | uniq > "$nlist"T; then
   7080 	mv -f "$nlist"T "$nlist"
   7081       else
   7082 	rm -f "$nlist"T
   7083       fi
   7084 
   7085       # Make sure that we snagged all the symbols we need.
   7086       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7087 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7088 	  cat <<_LT_EOF > conftest.$ac_ext
   7089 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7090 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7091 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7092    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7093 # define LT_DLSYM_CONST
   7094 #elif defined __osf__
   7095 /* This system does not cope well with relocations in const data.  */
   7096 # define LT_DLSYM_CONST
   7097 #else
   7098 # define LT_DLSYM_CONST const
   7099 #endif
   7100 
   7101 #ifdef __cplusplus
   7102 extern "C" {
   7103 #endif
   7104 
   7105 _LT_EOF
   7106 	  # Now generate the symbol file.
   7107 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7108 
   7109 	  cat <<_LT_EOF >> conftest.$ac_ext
   7110 
   7111 /* The mapping between symbol names and symbols.  */
   7112 LT_DLSYM_CONST struct {
   7113   const char *name;
   7114   void       *address;
   7115 }
   7116 lt__PROGRAM__LTX_preloaded_symbols[] =
   7117 {
   7118   { "@PROGRAM@", (void *) 0 },
   7119 _LT_EOF
   7120 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7121 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7122   {0, (void *) 0}
   7123 };
   7124 
   7125 /* This works around a problem in FreeBSD linker */
   7126 #ifdef FREEBSD_WORKAROUND
   7127 static const void *lt_preloaded_setup() {
   7128   return lt__PROGRAM__LTX_preloaded_symbols;
   7129 }
   7130 #endif
   7131 
   7132 #ifdef __cplusplus
   7133 }
   7134 #endif
   7135 _LT_EOF
   7136 	  # Now try linking the two files.
   7137 	  mv conftest.$ac_objext conftstm.$ac_objext
   7138 	  lt_globsym_save_LIBS=$LIBS
   7139 	  lt_globsym_save_CFLAGS=$CFLAGS
   7140 	  LIBS=conftstm.$ac_objext
   7141 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7142 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7143   (eval $ac_link) 2>&5
   7144   ac_status=$?
   7145   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7146   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7147 	    pipe_works=yes
   7148 	  fi
   7149 	  LIBS=$lt_globsym_save_LIBS
   7150 	  CFLAGS=$lt_globsym_save_CFLAGS
   7151 	else
   7152 	  echo "cannot find nm_test_func in $nlist" >&5
   7153 	fi
   7154       else
   7155 	echo "cannot find nm_test_var in $nlist" >&5
   7156       fi
   7157     else
   7158       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7159     fi
   7160   else
   7161     echo "$progname: failed program was:" >&5
   7162     cat conftest.$ac_ext >&5
   7163   fi
   7164   rm -rf conftest* conftst*
   7165 
   7166   # Do not use the global_symbol_pipe unless it works.
   7167   if test yes = "$pipe_works"; then
   7168     break
   7169   else
   7170     lt_cv_sys_global_symbol_pipe=
   7171   fi
   7172 done
   7173 
   7174 fi
   7175 
   7176 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7177   lt_cv_sys_global_symbol_to_cdecl=
   7178 fi
   7179 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7180   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7181 printf "%s\n" "failed" >&6; }
   7182 else
   7183   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7184 printf "%s\n" "ok" >&6; }
   7185 fi
   7186 
   7187 # Response file support.
   7188 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7189   nm_file_list_spec='@'
   7190 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7191   nm_file_list_spec='@'
   7192 fi
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7231 printf %s "checking for sysroot... " >&6; }
   7232 
   7233 # Check whether --with-sysroot was given.
   7234 if test ${with_sysroot+y}
   7235 then :
   7236   withval=$with_sysroot;
   7237 else $as_nop
   7238   with_sysroot=no
   7239 fi
   7240 
   7241 
   7242 lt_sysroot=
   7243 case $with_sysroot in #(
   7244  yes)
   7245    if test yes = "$GCC"; then
   7246      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7247    fi
   7248    ;; #(
   7249  /*)
   7250    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7251    ;; #(
   7252  no|'')
   7253    ;; #(
   7254  *)
   7255    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7256 printf "%s\n" "$with_sysroot" >&6; }
   7257    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7258    ;;
   7259 esac
   7260 
   7261  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7262 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7269 printf %s "checking for a working dd... " >&6; }
   7270 if test ${ac_cv_path_lt_DD+y}
   7271 then :
   7272   printf %s "(cached) " >&6
   7273 else $as_nop
   7274   printf 0123456789abcdef0123456789abcdef >conftest.i
   7275 cat conftest.i conftest.i >conftest2.i
   7276 : ${lt_DD:=$DD}
   7277 if test -z "$lt_DD"; then
   7278   ac_path_lt_DD_found=false
   7279   # Loop through the user's path and test for each of PROGNAME-LIST
   7280   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7281 for as_dir in $PATH
   7282 do
   7283   IFS=$as_save_IFS
   7284   case $as_dir in #(((
   7285     '') as_dir=./ ;;
   7286     */) ;;
   7287     *) as_dir=$as_dir/ ;;
   7288   esac
   7289     for ac_prog in dd
   7290    do
   7291     for ac_exec_ext in '' $ac_executable_extensions; do
   7292       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7293       as_fn_executable_p "$ac_path_lt_DD" || continue
   7294 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7295   cmp -s conftest.i conftest.out \
   7296   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7297 fi
   7298       $ac_path_lt_DD_found && break 3
   7299     done
   7300   done
   7301   done
   7302 IFS=$as_save_IFS
   7303   if test -z "$ac_cv_path_lt_DD"; then
   7304     :
   7305   fi
   7306 else
   7307   ac_cv_path_lt_DD=$lt_DD
   7308 fi
   7309 
   7310 rm -f conftest.i conftest2.i conftest.out
   7311 fi
   7312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7313 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7314 
   7315 
   7316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7317 printf %s "checking how to truncate binary pipes... " >&6; }
   7318 if test ${lt_cv_truncate_bin+y}
   7319 then :
   7320   printf %s "(cached) " >&6
   7321 else $as_nop
   7322   printf 0123456789abcdef0123456789abcdef >conftest.i
   7323 cat conftest.i conftest.i >conftest2.i
   7324 lt_cv_truncate_bin=
   7325 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7326   cmp -s conftest.i conftest.out \
   7327   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7328 fi
   7329 rm -f conftest.i conftest2.i conftest.out
   7330 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7331 fi
   7332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7333 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7334 
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7342 func_cc_basename ()
   7343 {
   7344     for cc_temp in $*""; do
   7345       case $cc_temp in
   7346         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7347         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7348         \-*) ;;
   7349         *) break;;
   7350       esac
   7351     done
   7352     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7353 }
   7354 
   7355 # Check whether --enable-libtool-lock was given.
   7356 if test ${enable_libtool_lock+y}
   7357 then :
   7358   enableval=$enable_libtool_lock;
   7359 fi
   7360 
   7361 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7362 
   7363 # Some flags need to be propagated to the compiler or linker for good
   7364 # libtool support.
   7365 case $host in
   7366 ia64-*-hpux*)
   7367   # Find out what ABI is being produced by ac_compile, and set mode
   7368   # options accordingly.
   7369   echo 'int i;' > conftest.$ac_ext
   7370   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7371   (eval $ac_compile) 2>&5
   7372   ac_status=$?
   7373   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7374   test $ac_status = 0; }; then
   7375     case `$FILECMD conftest.$ac_objext` in
   7376       *ELF-32*)
   7377 	HPUX_IA64_MODE=32
   7378 	;;
   7379       *ELF-64*)
   7380 	HPUX_IA64_MODE=64
   7381 	;;
   7382     esac
   7383   fi
   7384   rm -rf conftest*
   7385   ;;
   7386 *-*-irix6*)
   7387   # Find out what ABI is being produced by ac_compile, and set linker
   7388   # options accordingly.
   7389   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7390   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7391   (eval $ac_compile) 2>&5
   7392   ac_status=$?
   7393   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7394   test $ac_status = 0; }; then
   7395     if test yes = "$lt_cv_prog_gnu_ld"; then
   7396       case `$FILECMD conftest.$ac_objext` in
   7397 	*32-bit*)
   7398 	  LD="${LD-ld} -melf32bsmip"
   7399 	  ;;
   7400 	*N32*)
   7401 	  LD="${LD-ld} -melf32bmipn32"
   7402 	  ;;
   7403 	*64-bit*)
   7404 	  LD="${LD-ld} -melf64bmip"
   7405 	;;
   7406       esac
   7407     else
   7408       case `$FILECMD conftest.$ac_objext` in
   7409 	*32-bit*)
   7410 	  LD="${LD-ld} -32"
   7411 	  ;;
   7412 	*N32*)
   7413 	  LD="${LD-ld} -n32"
   7414 	  ;;
   7415 	*64-bit*)
   7416 	  LD="${LD-ld} -64"
   7417 	  ;;
   7418       esac
   7419     fi
   7420   fi
   7421   rm -rf conftest*
   7422   ;;
   7423 
   7424 mips64*-*linux*)
   7425   # Find out what ABI is being produced by ac_compile, and set linker
   7426   # options accordingly.
   7427   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7428   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7429   (eval $ac_compile) 2>&5
   7430   ac_status=$?
   7431   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7432   test $ac_status = 0; }; then
   7433     emul=elf
   7434     case `$FILECMD conftest.$ac_objext` in
   7435       *32-bit*)
   7436 	emul="${emul}32"
   7437 	;;
   7438       *64-bit*)
   7439 	emul="${emul}64"
   7440 	;;
   7441     esac
   7442     case `$FILECMD conftest.$ac_objext` in
   7443       *MSB*)
   7444 	emul="${emul}btsmip"
   7445 	;;
   7446       *LSB*)
   7447 	emul="${emul}ltsmip"
   7448 	;;
   7449     esac
   7450     case `$FILECMD conftest.$ac_objext` in
   7451       *N32*)
   7452 	emul="${emul}n32"
   7453 	;;
   7454     esac
   7455     LD="${LD-ld} -m $emul"
   7456   fi
   7457   rm -rf conftest*
   7458   ;;
   7459 
   7460 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7461 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7462   # Find out what ABI is being produced by ac_compile, and set linker
   7463   # options accordingly.  Note that the listed cases only cover the
   7464   # situations where additional linker options are needed (such as when
   7465   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7466   # vice versa); the common cases where no linker options are needed do
   7467   # not appear in the list.
   7468   echo 'int i;' > conftest.$ac_ext
   7469   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7470   (eval $ac_compile) 2>&5
   7471   ac_status=$?
   7472   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7473   test $ac_status = 0; }; then
   7474     case `$FILECMD conftest.o` in
   7475       *32-bit*)
   7476 	case $host in
   7477 	  x86_64-*kfreebsd*-gnu)
   7478 	    LD="${LD-ld} -m elf_i386_fbsd"
   7479 	    ;;
   7480 	  x86_64-*linux*)
   7481 	    case `$FILECMD conftest.o` in
   7482 	      *x86-64*)
   7483 		LD="${LD-ld} -m elf32_x86_64"
   7484 		;;
   7485 	      *)
   7486 		LD="${LD-ld} -m elf_i386"
   7487 		;;
   7488 	    esac
   7489 	    ;;
   7490 	  powerpc64le-*linux*)
   7491 	    LD="${LD-ld} -m elf32lppclinux"
   7492 	    ;;
   7493 	  powerpc64-*linux*)
   7494 	    LD="${LD-ld} -m elf32ppclinux"
   7495 	    ;;
   7496 	  s390x-*linux*)
   7497 	    LD="${LD-ld} -m elf_s390"
   7498 	    ;;
   7499 	  sparc64-*linux*)
   7500 	    LD="${LD-ld} -m elf32_sparc"
   7501 	    ;;
   7502 	esac
   7503 	;;
   7504       *64-bit*)
   7505 	case $host in
   7506 	  x86_64-*kfreebsd*-gnu)
   7507 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7508 	    ;;
   7509 	  x86_64-*linux*)
   7510 	    LD="${LD-ld} -m elf_x86_64"
   7511 	    ;;
   7512 	  powerpcle-*linux*)
   7513 	    LD="${LD-ld} -m elf64lppc"
   7514 	    ;;
   7515 	  powerpc-*linux*)
   7516 	    LD="${LD-ld} -m elf64ppc"
   7517 	    ;;
   7518 	  s390*-*linux*|s390*-*tpf*)
   7519 	    LD="${LD-ld} -m elf64_s390"
   7520 	    ;;
   7521 	  sparc*-*linux*)
   7522 	    LD="${LD-ld} -m elf64_sparc"
   7523 	    ;;
   7524 	esac
   7525 	;;
   7526     esac
   7527   fi
   7528   rm -rf conftest*
   7529   ;;
   7530 
   7531 *-*-sco3.2v5*)
   7532   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7533   SAVE_CFLAGS=$CFLAGS
   7534   CFLAGS="$CFLAGS -belf"
   7535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7536 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7537 if test ${lt_cv_cc_needs_belf+y}
   7538 then :
   7539   printf %s "(cached) " >&6
   7540 else $as_nop
   7541   ac_ext=c
   7542 ac_cpp='$CPP $CPPFLAGS'
   7543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7546 
   7547      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7548 /* end confdefs.h.  */
   7549 
   7550 int
   7551 main (void)
   7552 {
   7553 
   7554   ;
   7555   return 0;
   7556 }
   7557 _ACEOF
   7558 if ac_fn_c_try_link "$LINENO"
   7559 then :
   7560   lt_cv_cc_needs_belf=yes
   7561 else $as_nop
   7562   lt_cv_cc_needs_belf=no
   7563 fi
   7564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7565     conftest$ac_exeext conftest.$ac_ext
   7566      ac_ext=c
   7567 ac_cpp='$CPP $CPPFLAGS'
   7568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7571 
   7572 fi
   7573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7574 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7575   if test yes != "$lt_cv_cc_needs_belf"; then
   7576     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7577     CFLAGS=$SAVE_CFLAGS
   7578   fi
   7579   ;;
   7580 *-*solaris*)
   7581   # Find out what ABI is being produced by ac_compile, and set linker
   7582   # options accordingly.
   7583   echo 'int i;' > conftest.$ac_ext
   7584   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7585   (eval $ac_compile) 2>&5
   7586   ac_status=$?
   7587   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7588   test $ac_status = 0; }; then
   7589     case `$FILECMD conftest.o` in
   7590     *64-bit*)
   7591       case $lt_cv_prog_gnu_ld in
   7592       yes*)
   7593         case $host in
   7594         i?86-*-solaris*|x86_64-*-solaris*)
   7595           LD="${LD-ld} -m elf_x86_64"
   7596           ;;
   7597         sparc*-*-solaris*)
   7598           LD="${LD-ld} -m elf64_sparc"
   7599           ;;
   7600         esac
   7601         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7602         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7603           LD=${LD-ld}_sol2
   7604         fi
   7605         ;;
   7606       *)
   7607 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7608 	  LD="${LD-ld} -64"
   7609 	fi
   7610 	;;
   7611       esac
   7612       ;;
   7613     esac
   7614   fi
   7615   rm -rf conftest*
   7616   ;;
   7617 esac
   7618 
   7619 need_locks=$enable_libtool_lock
   7620 
   7621 if test -n "$ac_tool_prefix"; then
   7622   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7623 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7625 printf %s "checking for $ac_word... " >&6; }
   7626 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7627 then :
   7628   printf %s "(cached) " >&6
   7629 else $as_nop
   7630   if test -n "$MANIFEST_TOOL"; then
   7631   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7632 else
   7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7634 for as_dir in $PATH
   7635 do
   7636   IFS=$as_save_IFS
   7637   case $as_dir in #(((
   7638     '') as_dir=./ ;;
   7639     */) ;;
   7640     *) as_dir=$as_dir/ ;;
   7641   esac
   7642     for ac_exec_ext in '' $ac_executable_extensions; do
   7643   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7644     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7645     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7646     break 2
   7647   fi
   7648 done
   7649   done
   7650 IFS=$as_save_IFS
   7651 
   7652 fi
   7653 fi
   7654 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7655 if test -n "$MANIFEST_TOOL"; then
   7656   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7657 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7658 else
   7659   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7660 printf "%s\n" "no" >&6; }
   7661 fi
   7662 
   7663 
   7664 fi
   7665 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7666   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7667   # Extract the first word of "mt", so it can be a program name with args.
   7668 set dummy mt; ac_word=$2
   7669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7670 printf %s "checking for $ac_word... " >&6; }
   7671 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7672 then :
   7673   printf %s "(cached) " >&6
   7674 else $as_nop
   7675   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7676   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7677 else
   7678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7679 for as_dir in $PATH
   7680 do
   7681   IFS=$as_save_IFS
   7682   case $as_dir in #(((
   7683     '') as_dir=./ ;;
   7684     */) ;;
   7685     *) as_dir=$as_dir/ ;;
   7686   esac
   7687     for ac_exec_ext in '' $ac_executable_extensions; do
   7688   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7689     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7690     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7691     break 2
   7692   fi
   7693 done
   7694   done
   7695 IFS=$as_save_IFS
   7696 
   7697 fi
   7698 fi
   7699 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7700 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7702 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7703 else
   7704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7705 printf "%s\n" "no" >&6; }
   7706 fi
   7707 
   7708   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7709     MANIFEST_TOOL=":"
   7710   else
   7711     case $cross_compiling:$ac_tool_warned in
   7712 yes:)
   7713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7714 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7715 ac_tool_warned=yes ;;
   7716 esac
   7717     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7718   fi
   7719 else
   7720   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7721 fi
   7722 
   7723 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7725 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7726 if test ${lt_cv_path_mainfest_tool+y}
   7727 then :
   7728   printf %s "(cached) " >&6
   7729 else $as_nop
   7730   lt_cv_path_mainfest_tool=no
   7731   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7732   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7733   cat conftest.err >&5
   7734   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7735     lt_cv_path_mainfest_tool=yes
   7736   fi
   7737   rm -f conftest*
   7738 fi
   7739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7740 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7741 if test yes != "$lt_cv_path_mainfest_tool"; then
   7742   MANIFEST_TOOL=:
   7743 fi
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750   case $host_os in
   7751     rhapsody* | darwin*)
   7752     if test -n "$ac_tool_prefix"; then
   7753   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7754 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7756 printf %s "checking for $ac_word... " >&6; }
   7757 if test ${ac_cv_prog_DSYMUTIL+y}
   7758 then :
   7759   printf %s "(cached) " >&6
   7760 else $as_nop
   7761   if test -n "$DSYMUTIL"; then
   7762   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7763 else
   7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7765 for as_dir in $PATH
   7766 do
   7767   IFS=$as_save_IFS
   7768   case $as_dir in #(((
   7769     '') as_dir=./ ;;
   7770     */) ;;
   7771     *) as_dir=$as_dir/ ;;
   7772   esac
   7773     for ac_exec_ext in '' $ac_executable_extensions; do
   7774   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7775     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7776     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7777     break 2
   7778   fi
   7779 done
   7780   done
   7781 IFS=$as_save_IFS
   7782 
   7783 fi
   7784 fi
   7785 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7786 if test -n "$DSYMUTIL"; then
   7787   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7788 printf "%s\n" "$DSYMUTIL" >&6; }
   7789 else
   7790   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7791 printf "%s\n" "no" >&6; }
   7792 fi
   7793 
   7794 
   7795 fi
   7796 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7797   ac_ct_DSYMUTIL=$DSYMUTIL
   7798   # Extract the first word of "dsymutil", so it can be a program name with args.
   7799 set dummy dsymutil; ac_word=$2
   7800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7801 printf %s "checking for $ac_word... " >&6; }
   7802 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7803 then :
   7804   printf %s "(cached) " >&6
   7805 else $as_nop
   7806   if test -n "$ac_ct_DSYMUTIL"; then
   7807   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7808 else
   7809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7810 for as_dir in $PATH
   7811 do
   7812   IFS=$as_save_IFS
   7813   case $as_dir in #(((
   7814     '') as_dir=./ ;;
   7815     */) ;;
   7816     *) as_dir=$as_dir/ ;;
   7817   esac
   7818     for ac_exec_ext in '' $ac_executable_extensions; do
   7819   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7820     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7821     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7822     break 2
   7823   fi
   7824 done
   7825   done
   7826 IFS=$as_save_IFS
   7827 
   7828 fi
   7829 fi
   7830 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7831 if test -n "$ac_ct_DSYMUTIL"; then
   7832   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7833 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7834 else
   7835   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7836 printf "%s\n" "no" >&6; }
   7837 fi
   7838 
   7839   if test "x$ac_ct_DSYMUTIL" = x; then
   7840     DSYMUTIL=":"
   7841   else
   7842     case $cross_compiling:$ac_tool_warned in
   7843 yes:)
   7844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7845 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7846 ac_tool_warned=yes ;;
   7847 esac
   7848     DSYMUTIL=$ac_ct_DSYMUTIL
   7849   fi
   7850 else
   7851   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7852 fi
   7853 
   7854     if test -n "$ac_tool_prefix"; then
   7855   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7856 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7858 printf %s "checking for $ac_word... " >&6; }
   7859 if test ${ac_cv_prog_NMEDIT+y}
   7860 then :
   7861   printf %s "(cached) " >&6
   7862 else $as_nop
   7863   if test -n "$NMEDIT"; then
   7864   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7865 else
   7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7867 for as_dir in $PATH
   7868 do
   7869   IFS=$as_save_IFS
   7870   case $as_dir in #(((
   7871     '') as_dir=./ ;;
   7872     */) ;;
   7873     *) as_dir=$as_dir/ ;;
   7874   esac
   7875     for ac_exec_ext in '' $ac_executable_extensions; do
   7876   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7877     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7878     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7879     break 2
   7880   fi
   7881 done
   7882   done
   7883 IFS=$as_save_IFS
   7884 
   7885 fi
   7886 fi
   7887 NMEDIT=$ac_cv_prog_NMEDIT
   7888 if test -n "$NMEDIT"; then
   7889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7890 printf "%s\n" "$NMEDIT" >&6; }
   7891 else
   7892   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7893 printf "%s\n" "no" >&6; }
   7894 fi
   7895 
   7896 
   7897 fi
   7898 if test -z "$ac_cv_prog_NMEDIT"; then
   7899   ac_ct_NMEDIT=$NMEDIT
   7900   # Extract the first word of "nmedit", so it can be a program name with args.
   7901 set dummy nmedit; ac_word=$2
   7902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7903 printf %s "checking for $ac_word... " >&6; }
   7904 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7905 then :
   7906   printf %s "(cached) " >&6
   7907 else $as_nop
   7908   if test -n "$ac_ct_NMEDIT"; then
   7909   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7910 else
   7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7912 for as_dir in $PATH
   7913 do
   7914   IFS=$as_save_IFS
   7915   case $as_dir in #(((
   7916     '') as_dir=./ ;;
   7917     */) ;;
   7918     *) as_dir=$as_dir/ ;;
   7919   esac
   7920     for ac_exec_ext in '' $ac_executable_extensions; do
   7921   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7922     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7923     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7924     break 2
   7925   fi
   7926 done
   7927   done
   7928 IFS=$as_save_IFS
   7929 
   7930 fi
   7931 fi
   7932 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7933 if test -n "$ac_ct_NMEDIT"; then
   7934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7935 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7936 else
   7937   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7938 printf "%s\n" "no" >&6; }
   7939 fi
   7940 
   7941   if test "x$ac_ct_NMEDIT" = x; then
   7942     NMEDIT=":"
   7943   else
   7944     case $cross_compiling:$ac_tool_warned in
   7945 yes:)
   7946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7947 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7948 ac_tool_warned=yes ;;
   7949 esac
   7950     NMEDIT=$ac_ct_NMEDIT
   7951   fi
   7952 else
   7953   NMEDIT="$ac_cv_prog_NMEDIT"
   7954 fi
   7955 
   7956     if test -n "$ac_tool_prefix"; then
   7957   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7958 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7960 printf %s "checking for $ac_word... " >&6; }
   7961 if test ${ac_cv_prog_LIPO+y}
   7962 then :
   7963   printf %s "(cached) " >&6
   7964 else $as_nop
   7965   if test -n "$LIPO"; then
   7966   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7967 else
   7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7969 for as_dir in $PATH
   7970 do
   7971   IFS=$as_save_IFS
   7972   case $as_dir in #(((
   7973     '') as_dir=./ ;;
   7974     */) ;;
   7975     *) as_dir=$as_dir/ ;;
   7976   esac
   7977     for ac_exec_ext in '' $ac_executable_extensions; do
   7978   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7979     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7980     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7981     break 2
   7982   fi
   7983 done
   7984   done
   7985 IFS=$as_save_IFS
   7986 
   7987 fi
   7988 fi
   7989 LIPO=$ac_cv_prog_LIPO
   7990 if test -n "$LIPO"; then
   7991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7992 printf "%s\n" "$LIPO" >&6; }
   7993 else
   7994   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7995 printf "%s\n" "no" >&6; }
   7996 fi
   7997 
   7998 
   7999 fi
   8000 if test -z "$ac_cv_prog_LIPO"; then
   8001   ac_ct_LIPO=$LIPO
   8002   # Extract the first word of "lipo", so it can be a program name with args.
   8003 set dummy lipo; ac_word=$2
   8004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8005 printf %s "checking for $ac_word... " >&6; }
   8006 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8007 then :
   8008   printf %s "(cached) " >&6
   8009 else $as_nop
   8010   if test -n "$ac_ct_LIPO"; then
   8011   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8012 else
   8013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8014 for as_dir in $PATH
   8015 do
   8016   IFS=$as_save_IFS
   8017   case $as_dir in #(((
   8018     '') as_dir=./ ;;
   8019     */) ;;
   8020     *) as_dir=$as_dir/ ;;
   8021   esac
   8022     for ac_exec_ext in '' $ac_executable_extensions; do
   8023   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8024     ac_cv_prog_ac_ct_LIPO="lipo"
   8025     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8026     break 2
   8027   fi
   8028 done
   8029   done
   8030 IFS=$as_save_IFS
   8031 
   8032 fi
   8033 fi
   8034 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8035 if test -n "$ac_ct_LIPO"; then
   8036   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8037 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8038 else
   8039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8040 printf "%s\n" "no" >&6; }
   8041 fi
   8042 
   8043   if test "x$ac_ct_LIPO" = x; then
   8044     LIPO=":"
   8045   else
   8046     case $cross_compiling:$ac_tool_warned in
   8047 yes:)
   8048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8049 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8050 ac_tool_warned=yes ;;
   8051 esac
   8052     LIPO=$ac_ct_LIPO
   8053   fi
   8054 else
   8055   LIPO="$ac_cv_prog_LIPO"
   8056 fi
   8057 
   8058     if test -n "$ac_tool_prefix"; then
   8059   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8060 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8062 printf %s "checking for $ac_word... " >&6; }
   8063 if test ${ac_cv_prog_OTOOL+y}
   8064 then :
   8065   printf %s "(cached) " >&6
   8066 else $as_nop
   8067   if test -n "$OTOOL"; then
   8068   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8069 else
   8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8071 for as_dir in $PATH
   8072 do
   8073   IFS=$as_save_IFS
   8074   case $as_dir in #(((
   8075     '') as_dir=./ ;;
   8076     */) ;;
   8077     *) as_dir=$as_dir/ ;;
   8078   esac
   8079     for ac_exec_ext in '' $ac_executable_extensions; do
   8080   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8081     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8082     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8083     break 2
   8084   fi
   8085 done
   8086   done
   8087 IFS=$as_save_IFS
   8088 
   8089 fi
   8090 fi
   8091 OTOOL=$ac_cv_prog_OTOOL
   8092 if test -n "$OTOOL"; then
   8093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8094 printf "%s\n" "$OTOOL" >&6; }
   8095 else
   8096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8097 printf "%s\n" "no" >&6; }
   8098 fi
   8099 
   8100 
   8101 fi
   8102 if test -z "$ac_cv_prog_OTOOL"; then
   8103   ac_ct_OTOOL=$OTOOL
   8104   # Extract the first word of "otool", so it can be a program name with args.
   8105 set dummy otool; ac_word=$2
   8106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8107 printf %s "checking for $ac_word... " >&6; }
   8108 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8109 then :
   8110   printf %s "(cached) " >&6
   8111 else $as_nop
   8112   if test -n "$ac_ct_OTOOL"; then
   8113   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8114 else
   8115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8116 for as_dir in $PATH
   8117 do
   8118   IFS=$as_save_IFS
   8119   case $as_dir in #(((
   8120     '') as_dir=./ ;;
   8121     */) ;;
   8122     *) as_dir=$as_dir/ ;;
   8123   esac
   8124     for ac_exec_ext in '' $ac_executable_extensions; do
   8125   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8126     ac_cv_prog_ac_ct_OTOOL="otool"
   8127     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8128     break 2
   8129   fi
   8130 done
   8131   done
   8132 IFS=$as_save_IFS
   8133 
   8134 fi
   8135 fi
   8136 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8137 if test -n "$ac_ct_OTOOL"; then
   8138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8139 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8140 else
   8141   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8142 printf "%s\n" "no" >&6; }
   8143 fi
   8144 
   8145   if test "x$ac_ct_OTOOL" = x; then
   8146     OTOOL=":"
   8147   else
   8148     case $cross_compiling:$ac_tool_warned in
   8149 yes:)
   8150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8151 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8152 ac_tool_warned=yes ;;
   8153 esac
   8154     OTOOL=$ac_ct_OTOOL
   8155   fi
   8156 else
   8157   OTOOL="$ac_cv_prog_OTOOL"
   8158 fi
   8159 
   8160     if test -n "$ac_tool_prefix"; then
   8161   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8162 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8164 printf %s "checking for $ac_word... " >&6; }
   8165 if test ${ac_cv_prog_OTOOL64+y}
   8166 then :
   8167   printf %s "(cached) " >&6
   8168 else $as_nop
   8169   if test -n "$OTOOL64"; then
   8170   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8171 else
   8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8173 for as_dir in $PATH
   8174 do
   8175   IFS=$as_save_IFS
   8176   case $as_dir in #(((
   8177     '') as_dir=./ ;;
   8178     */) ;;
   8179     *) as_dir=$as_dir/ ;;
   8180   esac
   8181     for ac_exec_ext in '' $ac_executable_extensions; do
   8182   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8183     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8184     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8185     break 2
   8186   fi
   8187 done
   8188   done
   8189 IFS=$as_save_IFS
   8190 
   8191 fi
   8192 fi
   8193 OTOOL64=$ac_cv_prog_OTOOL64
   8194 if test -n "$OTOOL64"; then
   8195   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8196 printf "%s\n" "$OTOOL64" >&6; }
   8197 else
   8198   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8199 printf "%s\n" "no" >&6; }
   8200 fi
   8201 
   8202 
   8203 fi
   8204 if test -z "$ac_cv_prog_OTOOL64"; then
   8205   ac_ct_OTOOL64=$OTOOL64
   8206   # Extract the first word of "otool64", so it can be a program name with args.
   8207 set dummy otool64; ac_word=$2
   8208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8209 printf %s "checking for $ac_word... " >&6; }
   8210 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8211 then :
   8212   printf %s "(cached) " >&6
   8213 else $as_nop
   8214   if test -n "$ac_ct_OTOOL64"; then
   8215   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8216 else
   8217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8218 for as_dir in $PATH
   8219 do
   8220   IFS=$as_save_IFS
   8221   case $as_dir in #(((
   8222     '') as_dir=./ ;;
   8223     */) ;;
   8224     *) as_dir=$as_dir/ ;;
   8225   esac
   8226     for ac_exec_ext in '' $ac_executable_extensions; do
   8227   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8228     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8229     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8230     break 2
   8231   fi
   8232 done
   8233   done
   8234 IFS=$as_save_IFS
   8235 
   8236 fi
   8237 fi
   8238 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8239 if test -n "$ac_ct_OTOOL64"; then
   8240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8241 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8242 else
   8243   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8244 printf "%s\n" "no" >&6; }
   8245 fi
   8246 
   8247   if test "x$ac_ct_OTOOL64" = x; then
   8248     OTOOL64=":"
   8249   else
   8250     case $cross_compiling:$ac_tool_warned in
   8251 yes:)
   8252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8253 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8254 ac_tool_warned=yes ;;
   8255 esac
   8256     OTOOL64=$ac_ct_OTOOL64
   8257   fi
   8258 else
   8259   OTOOL64="$ac_cv_prog_OTOOL64"
   8260 fi
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8289 printf %s "checking for -single_module linker flag... " >&6; }
   8290 if test ${lt_cv_apple_cc_single_mod+y}
   8291 then :
   8292   printf %s "(cached) " >&6
   8293 else $as_nop
   8294   lt_cv_apple_cc_single_mod=no
   8295       if test -z "$LT_MULTI_MODULE"; then
   8296 	# By default we will add the -single_module flag. You can override
   8297 	# by either setting the environment variable LT_MULTI_MODULE
   8298 	# non-empty at configure time, or by adding -multi_module to the
   8299 	# link flags.
   8300 	rm -rf libconftest.dylib*
   8301 	echo "int foo(void){return 1;}" > conftest.c
   8302 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8303 -dynamiclib -Wl,-single_module conftest.c" >&5
   8304 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8305 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8306         _lt_result=$?
   8307 	# If there is a non-empty error log, and "single_module"
   8308 	# appears in it, assume the flag caused a linker warning
   8309         if test -s conftest.err && $GREP single_module conftest.err; then
   8310 	  cat conftest.err >&5
   8311 	# Otherwise, if the output was created with a 0 exit code from
   8312 	# the compiler, it worked.
   8313 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8314 	  lt_cv_apple_cc_single_mod=yes
   8315 	else
   8316 	  cat conftest.err >&5
   8317 	fi
   8318 	rm -rf libconftest.dylib*
   8319 	rm -f conftest.*
   8320       fi
   8321 fi
   8322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8323 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8324 
   8325     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8326 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8327 if test ${lt_cv_ld_exported_symbols_list+y}
   8328 then :
   8329   printf %s "(cached) " >&6
   8330 else $as_nop
   8331   lt_cv_ld_exported_symbols_list=no
   8332       save_LDFLAGS=$LDFLAGS
   8333       echo "_main" > conftest.sym
   8334       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8336 /* end confdefs.h.  */
   8337 
   8338 int
   8339 main (void)
   8340 {
   8341 
   8342   ;
   8343   return 0;
   8344 }
   8345 _ACEOF
   8346 if ac_fn_c_try_link "$LINENO"
   8347 then :
   8348   lt_cv_ld_exported_symbols_list=yes
   8349 else $as_nop
   8350   lt_cv_ld_exported_symbols_list=no
   8351 fi
   8352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8353     conftest$ac_exeext conftest.$ac_ext
   8354 	LDFLAGS=$save_LDFLAGS
   8355 
   8356 fi
   8357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8358 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8359 
   8360     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8361 printf %s "checking for -force_load linker flag... " >&6; }
   8362 if test ${lt_cv_ld_force_load+y}
   8363 then :
   8364   printf %s "(cached) " >&6
   8365 else $as_nop
   8366   lt_cv_ld_force_load=no
   8367       cat > conftest.c << _LT_EOF
   8368 int forced_loaded() { return 2;}
   8369 _LT_EOF
   8370       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8371       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8372       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8373       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8374       echo "$RANLIB libconftest.a" >&5
   8375       $RANLIB libconftest.a 2>&5
   8376       cat > conftest.c << _LT_EOF
   8377 int main() { return 0;}
   8378 _LT_EOF
   8379       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8380       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8381       _lt_result=$?
   8382       if test -s conftest.err && $GREP force_load conftest.err; then
   8383 	cat conftest.err >&5
   8384       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8385 	lt_cv_ld_force_load=yes
   8386       else
   8387 	cat conftest.err >&5
   8388       fi
   8389         rm -f conftest.err libconftest.a conftest conftest.c
   8390         rm -rf conftest.dSYM
   8391 
   8392 fi
   8393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8394 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8395     case $host_os in
   8396     rhapsody* | darwin1.[012])
   8397       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8398     darwin1.*)
   8399       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8400     darwin*)
   8401       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8402         10.[012],*|,*powerpc*-darwin[5-8]*)
   8403           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8404         *)
   8405           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8406       esac
   8407     ;;
   8408   esac
   8409     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8410       _lt_dar_single_mod='$single_module'
   8411     fi
   8412     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8413       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8414     else
   8415       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8416     fi
   8417     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8418       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8419     else
   8420       _lt_dsymutil=
   8421     fi
   8422     ;;
   8423   esac
   8424 
   8425 # func_munge_path_list VARIABLE PATH
   8426 # -----------------------------------
   8427 # VARIABLE is name of variable containing _space_ separated list of
   8428 # directories to be munged by the contents of PATH, which is string
   8429 # having a format:
   8430 # "DIR[:DIR]:"
   8431 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8432 # ":DIR[:DIR]"
   8433 #       string "DIR[ DIR]" will be appended to VARIABLE
   8434 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8435 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8436 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8437 # "DIR[:DIR]"
   8438 #       VARIABLE will be replaced by "DIR[ DIR]"
   8439 func_munge_path_list ()
   8440 {
   8441     case x$2 in
   8442     x)
   8443         ;;
   8444     *:)
   8445         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8446         ;;
   8447     x:*)
   8448         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8449         ;;
   8450     *::*)
   8451         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8452         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8453         ;;
   8454     *)
   8455         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8456         ;;
   8457     esac
   8458 }
   8459 
   8460 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8461 "
   8462 if test "x$ac_cv_header_dlfcn_h" = xyes
   8463 then :
   8464   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8465 
   8466 fi
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 # Set options
   8473 
   8474 
   8475 
   8476         enable_dlopen=no
   8477 
   8478 
   8479   enable_win32_dll=no
   8480 
   8481 
   8482             # Check whether --enable-shared was given.
   8483 if test ${enable_shared+y}
   8484 then :
   8485   enableval=$enable_shared; p=${PACKAGE-default}
   8486     case $enableval in
   8487     yes) enable_shared=yes ;;
   8488     no) enable_shared=no ;;
   8489     *)
   8490       enable_shared=no
   8491       # Look at the argument we got.  We use all the common list separators.
   8492       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8493       for pkg in $enableval; do
   8494 	IFS=$lt_save_ifs
   8495 	if test "X$pkg" = "X$p"; then
   8496 	  enable_shared=yes
   8497 	fi
   8498       done
   8499       IFS=$lt_save_ifs
   8500       ;;
   8501     esac
   8502 else $as_nop
   8503   enable_shared=yes
   8504 fi
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514   # Check whether --enable-static was given.
   8515 if test ${enable_static+y}
   8516 then :
   8517   enableval=$enable_static; p=${PACKAGE-default}
   8518     case $enableval in
   8519     yes) enable_static=yes ;;
   8520     no) enable_static=no ;;
   8521     *)
   8522      enable_static=no
   8523       # Look at the argument we got.  We use all the common list separators.
   8524       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8525       for pkg in $enableval; do
   8526 	IFS=$lt_save_ifs
   8527 	if test "X$pkg" = "X$p"; then
   8528 	  enable_static=yes
   8529 	fi
   8530       done
   8531       IFS=$lt_save_ifs
   8532       ;;
   8533     esac
   8534 else $as_nop
   8535   enable_static=yes
   8536 fi
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 # Check whether --with-pic was given.
   8548 if test ${with_pic+y}
   8549 then :
   8550   withval=$with_pic; lt_p=${PACKAGE-default}
   8551     case $withval in
   8552     yes|no) pic_mode=$withval ;;
   8553     *)
   8554       pic_mode=default
   8555       # Look at the argument we got.  We use all the common list separators.
   8556       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8557       for lt_pkg in $withval; do
   8558 	IFS=$lt_save_ifs
   8559 	if test "X$lt_pkg" = "X$lt_p"; then
   8560 	  pic_mode=yes
   8561 	fi
   8562       done
   8563       IFS=$lt_save_ifs
   8564       ;;
   8565     esac
   8566 else $as_nop
   8567   pic_mode=default
   8568 fi
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577   # Check whether --enable-fast-install was given.
   8578 if test ${enable_fast_install+y}
   8579 then :
   8580   enableval=$enable_fast_install; p=${PACKAGE-default}
   8581     case $enableval in
   8582     yes) enable_fast_install=yes ;;
   8583     no) enable_fast_install=no ;;
   8584     *)
   8585       enable_fast_install=no
   8586       # Look at the argument we got.  We use all the common list separators.
   8587       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8588       for pkg in $enableval; do
   8589 	IFS=$lt_save_ifs
   8590 	if test "X$pkg" = "X$p"; then
   8591 	  enable_fast_install=yes
   8592 	fi
   8593       done
   8594       IFS=$lt_save_ifs
   8595       ;;
   8596     esac
   8597 else $as_nop
   8598   enable_fast_install=yes
   8599 fi
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608   shared_archive_member_spec=
   8609 case $host,$enable_shared in
   8610 power*-*-aix[5-9]*,yes)
   8611   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8612 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8613 
   8614 # Check whether --with-aix-soname was given.
   8615 if test ${with_aix_soname+y}
   8616 then :
   8617   withval=$with_aix_soname; case $withval in
   8618     aix|svr4|both)
   8619       ;;
   8620     *)
   8621       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8622       ;;
   8623     esac
   8624     lt_cv_with_aix_soname=$with_aix_soname
   8625 else $as_nop
   8626   if test ${lt_cv_with_aix_soname+y}
   8627 then :
   8628   printf %s "(cached) " >&6
   8629 else $as_nop
   8630   lt_cv_with_aix_soname=aix
   8631 fi
   8632 
   8633     with_aix_soname=$lt_cv_with_aix_soname
   8634 fi
   8635 
   8636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8637 printf "%s\n" "$with_aix_soname" >&6; }
   8638   if test aix != "$with_aix_soname"; then
   8639     # For the AIX way of multilib, we name the shared archive member
   8640     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8641     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8642     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8643     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8644     if test 64 = "${OBJECT_MODE-32}"; then
   8645       shared_archive_member_spec=shr_64
   8646     else
   8647       shared_archive_member_spec=shr
   8648     fi
   8649   fi
   8650   ;;
   8651 *)
   8652   with_aix_soname=aix
   8653   ;;
   8654 esac
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 # This can be used to rebuild libtool when needed
   8666 LIBTOOL_DEPS=$ltmain
   8667 
   8668 # Always use our own libtool.
   8669 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 test -z "$LN_S" && LN_S="ln -s"
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 if test -n "${ZSH_VERSION+set}"; then
   8716    setopt NO_GLOB_SUBST
   8717 fi
   8718 
   8719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8720 printf %s "checking for objdir... " >&6; }
   8721 if test ${lt_cv_objdir+y}
   8722 then :
   8723   printf %s "(cached) " >&6
   8724 else $as_nop
   8725   rm -f .libs 2>/dev/null
   8726 mkdir .libs 2>/dev/null
   8727 if test -d .libs; then
   8728   lt_cv_objdir=.libs
   8729 else
   8730   # MS-DOS does not allow filenames that begin with a dot.
   8731   lt_cv_objdir=_libs
   8732 fi
   8733 rmdir .libs 2>/dev/null
   8734 fi
   8735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8736 printf "%s\n" "$lt_cv_objdir" >&6; }
   8737 objdir=$lt_cv_objdir
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8744 
   8745 
   8746 
   8747 
   8748 case $host_os in
   8749 aix3*)
   8750   # AIX sometimes has problems with the GCC collect2 program.  For some
   8751   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8752   # vanish in a puff of smoke.
   8753   if test set != "${COLLECT_NAMES+set}"; then
   8754     COLLECT_NAMES=
   8755     export COLLECT_NAMES
   8756   fi
   8757   ;;
   8758 esac
   8759 
   8760 # Global variables:
   8761 ofile=libtool
   8762 can_build_shared=yes
   8763 
   8764 # All known linkers require a '.a' archive for static linking (except MSVC and
   8765 # ICC, which need '.lib').
   8766 libext=a
   8767 
   8768 with_gnu_ld=$lt_cv_prog_gnu_ld
   8769 
   8770 old_CC=$CC
   8771 old_CFLAGS=$CFLAGS
   8772 
   8773 # Set sane defaults for various variables
   8774 test -z "$CC" && CC=cc
   8775 test -z "$LTCC" && LTCC=$CC
   8776 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8777 test -z "$LD" && LD=ld
   8778 test -z "$ac_objext" && ac_objext=o
   8779 
   8780 func_cc_basename $compiler
   8781 cc_basename=$func_cc_basename_result
   8782 
   8783 
   8784 # Only perform the check for file, if the check method requires it
   8785 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8786 case $deplibs_check_method in
   8787 file_magic*)
   8788   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8789     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8790 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8791 if test ${lt_cv_path_MAGIC_CMD+y}
   8792 then :
   8793   printf %s "(cached) " >&6
   8794 else $as_nop
   8795   case $MAGIC_CMD in
   8796 [\\/*] |  ?:[\\/]*)
   8797   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8798   ;;
   8799 *)
   8800   lt_save_MAGIC_CMD=$MAGIC_CMD
   8801   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8802   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8803   for ac_dir in $ac_dummy; do
   8804     IFS=$lt_save_ifs
   8805     test -z "$ac_dir" && ac_dir=.
   8806     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8807       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8808       if test -n "$file_magic_test_file"; then
   8809 	case $deplibs_check_method in
   8810 	"file_magic "*)
   8811 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8812 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8813 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8814 	    $EGREP "$file_magic_regex" > /dev/null; then
   8815 	    :
   8816 	  else
   8817 	    cat <<_LT_EOF 1>&2
   8818 
   8819 *** Warning: the command libtool uses to detect shared libraries,
   8820 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8821 *** The result is that libtool may fail to recognize shared libraries
   8822 *** as such.  This will affect the creation of libtool libraries that
   8823 *** depend on shared libraries, but programs linked with such libtool
   8824 *** libraries will work regardless of this problem.  Nevertheless, you
   8825 *** may want to report the problem to your system manager and/or to
   8826 *** bug-libtool@gnu.org
   8827 
   8828 _LT_EOF
   8829 	  fi ;;
   8830 	esac
   8831       fi
   8832       break
   8833     fi
   8834   done
   8835   IFS=$lt_save_ifs
   8836   MAGIC_CMD=$lt_save_MAGIC_CMD
   8837   ;;
   8838 esac
   8839 fi
   8840 
   8841 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8842 if test -n "$MAGIC_CMD"; then
   8843   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8844 printf "%s\n" "$MAGIC_CMD" >&6; }
   8845 else
   8846   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8847 printf "%s\n" "no" >&6; }
   8848 fi
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8855   if test -n "$ac_tool_prefix"; then
   8856     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8857 printf %s "checking for file... " >&6; }
   8858 if test ${lt_cv_path_MAGIC_CMD+y}
   8859 then :
   8860   printf %s "(cached) " >&6
   8861 else $as_nop
   8862   case $MAGIC_CMD in
   8863 [\\/*] |  ?:[\\/]*)
   8864   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8865   ;;
   8866 *)
   8867   lt_save_MAGIC_CMD=$MAGIC_CMD
   8868   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8869   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8870   for ac_dir in $ac_dummy; do
   8871     IFS=$lt_save_ifs
   8872     test -z "$ac_dir" && ac_dir=.
   8873     if test -f "$ac_dir/file"; then
   8874       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8875       if test -n "$file_magic_test_file"; then
   8876 	case $deplibs_check_method in
   8877 	"file_magic "*)
   8878 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8879 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8880 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8881 	    $EGREP "$file_magic_regex" > /dev/null; then
   8882 	    :
   8883 	  else
   8884 	    cat <<_LT_EOF 1>&2
   8885 
   8886 *** Warning: the command libtool uses to detect shared libraries,
   8887 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8888 *** The result is that libtool may fail to recognize shared libraries
   8889 *** as such.  This will affect the creation of libtool libraries that
   8890 *** depend on shared libraries, but programs linked with such libtool
   8891 *** libraries will work regardless of this problem.  Nevertheless, you
   8892 *** may want to report the problem to your system manager and/or to
   8893 *** bug-libtool@gnu.org
   8894 
   8895 _LT_EOF
   8896 	  fi ;;
   8897 	esac
   8898       fi
   8899       break
   8900     fi
   8901   done
   8902   IFS=$lt_save_ifs
   8903   MAGIC_CMD=$lt_save_MAGIC_CMD
   8904   ;;
   8905 esac
   8906 fi
   8907 
   8908 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8909 if test -n "$MAGIC_CMD"; then
   8910   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8911 printf "%s\n" "$MAGIC_CMD" >&6; }
   8912 else
   8913   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8914 printf "%s\n" "no" >&6; }
   8915 fi
   8916 
   8917 
   8918   else
   8919     MAGIC_CMD=:
   8920   fi
   8921 fi
   8922 
   8923   fi
   8924   ;;
   8925 esac
   8926 
   8927 # Use C for the default configuration in the libtool script
   8928 
   8929 lt_save_CC=$CC
   8930 ac_ext=c
   8931 ac_cpp='$CPP $CPPFLAGS'
   8932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8935 
   8936 
   8937 # Source file extension for C test sources.
   8938 ac_ext=c
   8939 
   8940 # Object file extension for compiled C test sources.
   8941 objext=o
   8942 objext=$objext
   8943 
   8944 # Code to be used in simple compile tests
   8945 lt_simple_compile_test_code="int some_variable = 0;"
   8946 
   8947 # Code to be used in simple link tests
   8948 lt_simple_link_test_code='int main(){return(0);}'
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 # If no C compiler was specified, use CC.
   8957 LTCC=${LTCC-"$CC"}
   8958 
   8959 # If no C compiler flags were specified, use CFLAGS.
   8960 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8961 
   8962 # Allow CC to be a program name with arguments.
   8963 compiler=$CC
   8964 
   8965 # Save the default compiler, since it gets overwritten when the other
   8966 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8967 compiler_DEFAULT=$CC
   8968 
   8969 # save warnings/boilerplate of simple test code
   8970 ac_outfile=conftest.$ac_objext
   8971 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8972 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8973 _lt_compiler_boilerplate=`cat conftest.err`
   8974 $RM conftest*
   8975 
   8976 ac_outfile=conftest.$ac_objext
   8977 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8978 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8979 _lt_linker_boilerplate=`cat conftest.err`
   8980 $RM -r conftest*
   8981 
   8982 
   8983 ## CAVEAT EMPTOR:
   8984 ## There is no encapsulation within the following macros, do not change
   8985 ## the running order or otherwise move them around unless you know exactly
   8986 ## what you are doing...
   8987 if test -n "$compiler"; then
   8988 
   8989 lt_prog_compiler_no_builtin_flag=
   8990 
   8991 if test yes = "$GCC"; then
   8992   case $cc_basename in
   8993   nvcc*)
   8994     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8995   *)
   8996     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8997   esac
   8998 
   8999   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9000 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9001 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9002 then :
   9003   printf %s "(cached) " >&6
   9004 else $as_nop
   9005   lt_cv_prog_compiler_rtti_exceptions=no
   9006    ac_outfile=conftest.$ac_objext
   9007    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9008    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9009    # Insert the option either (1) after the last *FLAGS variable, or
   9010    # (2) before a word containing "conftest.", or (3) at the end.
   9011    # Note that $ac_compile itself does not contain backslashes and begins
   9012    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9013    # The option is referenced via a variable to avoid confusing sed.
   9014    lt_compile=`echo "$ac_compile" | $SED \
   9015    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9016    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9017    -e 's:$: $lt_compiler_flag:'`
   9018    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9019    (eval "$lt_compile" 2>conftest.err)
   9020    ac_status=$?
   9021    cat conftest.err >&5
   9022    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9023    if (exit $ac_status) && test -s "$ac_outfile"; then
   9024      # The compiler can only warn and ignore the option if not recognized
   9025      # So say no if there are warnings other than the usual output.
   9026      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9027      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9028      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9029        lt_cv_prog_compiler_rtti_exceptions=yes
   9030      fi
   9031    fi
   9032    $RM conftest*
   9033 
   9034 fi
   9035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9036 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9037 
   9038 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9039     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9040 else
   9041     :
   9042 fi
   9043 
   9044 fi
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051   lt_prog_compiler_wl=
   9052 lt_prog_compiler_pic=
   9053 lt_prog_compiler_static=
   9054 
   9055 
   9056   if test yes = "$GCC"; then
   9057     lt_prog_compiler_wl='-Wl,'
   9058     lt_prog_compiler_static='-static'
   9059 
   9060     case $host_os in
   9061       aix*)
   9062       # All AIX code is PIC.
   9063       if test ia64 = "$host_cpu"; then
   9064 	# AIX 5 now supports IA64 processor
   9065 	lt_prog_compiler_static='-Bstatic'
   9066       fi
   9067       lt_prog_compiler_pic='-fPIC'
   9068       ;;
   9069 
   9070     amigaos*)
   9071       case $host_cpu in
   9072       powerpc)
   9073             # see comment about AmigaOS4 .so support
   9074             lt_prog_compiler_pic='-fPIC'
   9075         ;;
   9076       m68k)
   9077             # FIXME: we need at least 68020 code to build shared libraries, but
   9078             # adding the '-m68020' flag to GCC prevents building anything better,
   9079             # like '-m68040'.
   9080             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9081         ;;
   9082       esac
   9083       ;;
   9084 
   9085     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9086       # PIC is the default for these OSes.
   9087       ;;
   9088 
   9089     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9090       # This hack is so that the source file can tell whether it is being
   9091       # built for inclusion in a dll (and should export symbols for example).
   9092       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9093       # (--disable-auto-import) libraries
   9094       lt_prog_compiler_pic='-DDLL_EXPORT'
   9095       case $host_os in
   9096       os2*)
   9097 	lt_prog_compiler_static='$wl-static'
   9098 	;;
   9099       esac
   9100       ;;
   9101 
   9102     darwin* | rhapsody*)
   9103       # PIC is the default on this platform
   9104       # Common symbols not allowed in MH_DYLIB files
   9105       lt_prog_compiler_pic='-fno-common'
   9106       ;;
   9107 
   9108     haiku*)
   9109       # PIC is the default for Haiku.
   9110       # The "-static" flag exists, but is broken.
   9111       lt_prog_compiler_static=
   9112       ;;
   9113 
   9114     hpux*)
   9115       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9116       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9117       # sets the default TLS model and affects inlining.
   9118       case $host_cpu in
   9119       hppa*64*)
   9120 	# +Z the default
   9121 	;;
   9122       *)
   9123 	lt_prog_compiler_pic='-fPIC'
   9124 	;;
   9125       esac
   9126       ;;
   9127 
   9128     interix[3-9]*)
   9129       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9130       # Instead, we relocate shared libraries at runtime.
   9131       ;;
   9132 
   9133     msdosdjgpp*)
   9134       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9135       # on systems that don't support them.
   9136       lt_prog_compiler_can_build_shared=no
   9137       enable_shared=no
   9138       ;;
   9139 
   9140     *nto* | *qnx*)
   9141       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9142       # it will coredump.
   9143       lt_prog_compiler_pic='-fPIC -shared'
   9144       ;;
   9145 
   9146     sysv4*MP*)
   9147       if test -d /usr/nec; then
   9148 	lt_prog_compiler_pic=-Kconform_pic
   9149       fi
   9150       ;;
   9151 
   9152     *)
   9153       lt_prog_compiler_pic='-fPIC'
   9154       ;;
   9155     esac
   9156 
   9157     case $cc_basename in
   9158     nvcc*) # Cuda Compiler Driver 2.2
   9159       lt_prog_compiler_wl='-Xlinker '
   9160       if test -n "$lt_prog_compiler_pic"; then
   9161         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9162       fi
   9163       ;;
   9164     esac
   9165   else
   9166     # PORTME Check for flag to pass linker flags through the system compiler.
   9167     case $host_os in
   9168     aix*)
   9169       lt_prog_compiler_wl='-Wl,'
   9170       if test ia64 = "$host_cpu"; then
   9171 	# AIX 5 now supports IA64 processor
   9172 	lt_prog_compiler_static='-Bstatic'
   9173       else
   9174 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9175       fi
   9176       ;;
   9177 
   9178     darwin* | rhapsody*)
   9179       # PIC is the default on this platform
   9180       # Common symbols not allowed in MH_DYLIB files
   9181       lt_prog_compiler_pic='-fno-common'
   9182       case $cc_basename in
   9183       nagfor*)
   9184         # NAG Fortran compiler
   9185         lt_prog_compiler_wl='-Wl,-Wl,,'
   9186         lt_prog_compiler_pic='-PIC'
   9187         lt_prog_compiler_static='-Bstatic'
   9188         ;;
   9189       esac
   9190       ;;
   9191 
   9192     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9193       # This hack is so that the source file can tell whether it is being
   9194       # built for inclusion in a dll (and should export symbols for example).
   9195       lt_prog_compiler_pic='-DDLL_EXPORT'
   9196       case $host_os in
   9197       os2*)
   9198 	lt_prog_compiler_static='$wl-static'
   9199 	;;
   9200       esac
   9201       ;;
   9202 
   9203     hpux9* | hpux10* | hpux11*)
   9204       lt_prog_compiler_wl='-Wl,'
   9205       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9206       # not for PA HP-UX.
   9207       case $host_cpu in
   9208       hppa*64*|ia64*)
   9209 	# +Z the default
   9210 	;;
   9211       *)
   9212 	lt_prog_compiler_pic='+Z'
   9213 	;;
   9214       esac
   9215       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9216       lt_prog_compiler_static='$wl-a ${wl}archive'
   9217       ;;
   9218 
   9219     irix5* | irix6* | nonstopux*)
   9220       lt_prog_compiler_wl='-Wl,'
   9221       # PIC (with -KPIC) is the default.
   9222       lt_prog_compiler_static='-non_shared'
   9223       ;;
   9224 
   9225     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9226       case $cc_basename in
   9227       # old Intel for x86_64, which still supported -KPIC.
   9228       ecc*)
   9229 	lt_prog_compiler_wl='-Wl,'
   9230 	lt_prog_compiler_pic='-KPIC'
   9231 	lt_prog_compiler_static='-static'
   9232         ;;
   9233       # flang / f18. f95 an alias for gfortran or flang on Debian
   9234       flang* | f18* | f95*)
   9235 	lt_prog_compiler_wl='-Wl,'
   9236 	lt_prog_compiler_pic='-fPIC'
   9237 	lt_prog_compiler_static='-static'
   9238         ;;
   9239       # icc used to be incompatible with GCC.
   9240       # ICC 10 doesn't accept -KPIC any more.
   9241       icc* | ifort*)
   9242 	lt_prog_compiler_wl='-Wl,'
   9243 	lt_prog_compiler_pic='-fPIC'
   9244 	lt_prog_compiler_static='-static'
   9245         ;;
   9246       # Lahey Fortran 8.1.
   9247       lf95*)
   9248 	lt_prog_compiler_wl='-Wl,'
   9249 	lt_prog_compiler_pic='--shared'
   9250 	lt_prog_compiler_static='--static'
   9251 	;;
   9252       nagfor*)
   9253 	# NAG Fortran compiler
   9254 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9255 	lt_prog_compiler_pic='-PIC'
   9256 	lt_prog_compiler_static='-Bstatic'
   9257 	;;
   9258       tcc*)
   9259 	# Fabrice Bellard et al's Tiny C Compiler
   9260 	lt_prog_compiler_wl='-Wl,'
   9261 	lt_prog_compiler_pic='-fPIC'
   9262 	lt_prog_compiler_static='-static'
   9263 	;;
   9264       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9265         # Portland Group compilers (*not* the Pentium gcc compiler,
   9266 	# which looks to be a dead project)
   9267 	lt_prog_compiler_wl='-Wl,'
   9268 	lt_prog_compiler_pic='-fpic'
   9269 	lt_prog_compiler_static='-Bstatic'
   9270         ;;
   9271       ccc*)
   9272         lt_prog_compiler_wl='-Wl,'
   9273         # All Alpha code is PIC.
   9274         lt_prog_compiler_static='-non_shared'
   9275         ;;
   9276       xl* | bgxl* | bgf* | mpixl*)
   9277 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9278 	lt_prog_compiler_wl='-Wl,'
   9279 	lt_prog_compiler_pic='-qpic'
   9280 	lt_prog_compiler_static='-qstaticlink'
   9281 	;;
   9282       *)
   9283 	case `$CC -V 2>&1 | $SED 5q` in
   9284 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9285 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9286 	  lt_prog_compiler_pic='-KPIC'
   9287 	  lt_prog_compiler_static='-Bstatic'
   9288 	  lt_prog_compiler_wl=''
   9289 	  ;;
   9290 	*Sun\ F* | *Sun*Fortran*)
   9291 	  lt_prog_compiler_pic='-KPIC'
   9292 	  lt_prog_compiler_static='-Bstatic'
   9293 	  lt_prog_compiler_wl='-Qoption ld '
   9294 	  ;;
   9295 	*Sun\ C*)
   9296 	  # Sun C 5.9
   9297 	  lt_prog_compiler_pic='-KPIC'
   9298 	  lt_prog_compiler_static='-Bstatic'
   9299 	  lt_prog_compiler_wl='-Wl,'
   9300 	  ;;
   9301         *Intel*\ [CF]*Compiler*)
   9302 	  lt_prog_compiler_wl='-Wl,'
   9303 	  lt_prog_compiler_pic='-fPIC'
   9304 	  lt_prog_compiler_static='-static'
   9305 	  ;;
   9306 	*Portland\ Group*)
   9307 	  lt_prog_compiler_wl='-Wl,'
   9308 	  lt_prog_compiler_pic='-fpic'
   9309 	  lt_prog_compiler_static='-Bstatic'
   9310 	  ;;
   9311 	esac
   9312 	;;
   9313       esac
   9314       ;;
   9315 
   9316     newsos6)
   9317       lt_prog_compiler_pic='-KPIC'
   9318       lt_prog_compiler_static='-Bstatic'
   9319       ;;
   9320 
   9321     *nto* | *qnx*)
   9322       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9323       # it will coredump.
   9324       lt_prog_compiler_pic='-fPIC -shared'
   9325       ;;
   9326 
   9327     osf3* | osf4* | osf5*)
   9328       lt_prog_compiler_wl='-Wl,'
   9329       # All OSF/1 code is PIC.
   9330       lt_prog_compiler_static='-non_shared'
   9331       ;;
   9332 
   9333     rdos*)
   9334       lt_prog_compiler_static='-non_shared'
   9335       ;;
   9336 
   9337     solaris*)
   9338       lt_prog_compiler_pic='-KPIC'
   9339       lt_prog_compiler_static='-Bstatic'
   9340       case $cc_basename in
   9341       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9342 	lt_prog_compiler_wl='-Qoption ld ';;
   9343       *)
   9344 	lt_prog_compiler_wl='-Wl,';;
   9345       esac
   9346       ;;
   9347 
   9348     sunos4*)
   9349       lt_prog_compiler_wl='-Qoption ld '
   9350       lt_prog_compiler_pic='-PIC'
   9351       lt_prog_compiler_static='-Bstatic'
   9352       ;;
   9353 
   9354     sysv4 | sysv4.2uw2* | sysv4.3*)
   9355       lt_prog_compiler_wl='-Wl,'
   9356       lt_prog_compiler_pic='-KPIC'
   9357       lt_prog_compiler_static='-Bstatic'
   9358       ;;
   9359 
   9360     sysv4*MP*)
   9361       if test -d /usr/nec; then
   9362 	lt_prog_compiler_pic='-Kconform_pic'
   9363 	lt_prog_compiler_static='-Bstatic'
   9364       fi
   9365       ;;
   9366 
   9367     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9368       lt_prog_compiler_wl='-Wl,'
   9369       lt_prog_compiler_pic='-KPIC'
   9370       lt_prog_compiler_static='-Bstatic'
   9371       ;;
   9372 
   9373     unicos*)
   9374       lt_prog_compiler_wl='-Wl,'
   9375       lt_prog_compiler_can_build_shared=no
   9376       ;;
   9377 
   9378     uts4*)
   9379       lt_prog_compiler_pic='-pic'
   9380       lt_prog_compiler_static='-Bstatic'
   9381       ;;
   9382 
   9383     *)
   9384       lt_prog_compiler_can_build_shared=no
   9385       ;;
   9386     esac
   9387   fi
   9388 
   9389 case $host_os in
   9390   # For platforms that do not support PIC, -DPIC is meaningless:
   9391   *djgpp*)
   9392     lt_prog_compiler_pic=
   9393     ;;
   9394   *)
   9395     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9396     ;;
   9397 esac
   9398 
   9399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9400 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9401 if test ${lt_cv_prog_compiler_pic+y}
   9402 then :
   9403   printf %s "(cached) " >&6
   9404 else $as_nop
   9405   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9406 fi
   9407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9408 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9409 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9410 
   9411 #
   9412 # Check to make sure the PIC flag actually works.
   9413 #
   9414 if test -n "$lt_prog_compiler_pic"; then
   9415   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9416 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9417 if test ${lt_cv_prog_compiler_pic_works+y}
   9418 then :
   9419   printf %s "(cached) " >&6
   9420 else $as_nop
   9421   lt_cv_prog_compiler_pic_works=no
   9422    ac_outfile=conftest.$ac_objext
   9423    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9424    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9425    # Insert the option either (1) after the last *FLAGS variable, or
   9426    # (2) before a word containing "conftest.", or (3) at the end.
   9427    # Note that $ac_compile itself does not contain backslashes and begins
   9428    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9429    # The option is referenced via a variable to avoid confusing sed.
   9430    lt_compile=`echo "$ac_compile" | $SED \
   9431    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9432    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9433    -e 's:$: $lt_compiler_flag:'`
   9434    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9435    (eval "$lt_compile" 2>conftest.err)
   9436    ac_status=$?
   9437    cat conftest.err >&5
   9438    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9439    if (exit $ac_status) && test -s "$ac_outfile"; then
   9440      # The compiler can only warn and ignore the option if not recognized
   9441      # So say no if there are warnings other than the usual output.
   9442      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9443      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9444      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9445        lt_cv_prog_compiler_pic_works=yes
   9446      fi
   9447    fi
   9448    $RM conftest*
   9449 
   9450 fi
   9451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9452 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9453 
   9454 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9455     case $lt_prog_compiler_pic in
   9456      "" | " "*) ;;
   9457      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9458      esac
   9459 else
   9460     lt_prog_compiler_pic=
   9461      lt_prog_compiler_can_build_shared=no
   9462 fi
   9463 
   9464 fi
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 #
   9477 # Check to make sure the static flag actually works.
   9478 #
   9479 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9481 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9482 if test ${lt_cv_prog_compiler_static_works+y}
   9483 then :
   9484   printf %s "(cached) " >&6
   9485 else $as_nop
   9486   lt_cv_prog_compiler_static_works=no
   9487    save_LDFLAGS=$LDFLAGS
   9488    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9489    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9490    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9491      # The linker can only warn and ignore the option if not recognized
   9492      # So say no if there are warnings
   9493      if test -s conftest.err; then
   9494        # Append any errors to the config.log.
   9495        cat conftest.err 1>&5
   9496        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9497        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9498        if diff conftest.exp conftest.er2 >/dev/null; then
   9499          lt_cv_prog_compiler_static_works=yes
   9500        fi
   9501      else
   9502        lt_cv_prog_compiler_static_works=yes
   9503      fi
   9504    fi
   9505    $RM -r conftest*
   9506    LDFLAGS=$save_LDFLAGS
   9507 
   9508 fi
   9509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9510 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9511 
   9512 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9513     :
   9514 else
   9515     lt_prog_compiler_static=
   9516 fi
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9525 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9526 if test ${lt_cv_prog_compiler_c_o+y}
   9527 then :
   9528   printf %s "(cached) " >&6
   9529 else $as_nop
   9530   lt_cv_prog_compiler_c_o=no
   9531    $RM -r conftest 2>/dev/null
   9532    mkdir conftest
   9533    cd conftest
   9534    mkdir out
   9535    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9536 
   9537    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9538    # Insert the option either (1) after the last *FLAGS variable, or
   9539    # (2) before a word containing "conftest.", or (3) at the end.
   9540    # Note that $ac_compile itself does not contain backslashes and begins
   9541    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9542    lt_compile=`echo "$ac_compile" | $SED \
   9543    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9544    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9545    -e 's:$: $lt_compiler_flag:'`
   9546    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9547    (eval "$lt_compile" 2>out/conftest.err)
   9548    ac_status=$?
   9549    cat out/conftest.err >&5
   9550    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9551    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9552    then
   9553      # The compiler can only warn and ignore the option if not recognized
   9554      # So say no if there are warnings
   9555      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9556      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9557      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9558        lt_cv_prog_compiler_c_o=yes
   9559      fi
   9560    fi
   9561    chmod u+w . 2>&5
   9562    $RM conftest*
   9563    # SGI C++ compiler will create directory out/ii_files/ for
   9564    # template instantiation
   9565    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9566    $RM out/* && rmdir out
   9567    cd ..
   9568    $RM -r conftest
   9569    $RM conftest*
   9570 
   9571 fi
   9572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9573 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9581 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9582 if test ${lt_cv_prog_compiler_c_o+y}
   9583 then :
   9584   printf %s "(cached) " >&6
   9585 else $as_nop
   9586   lt_cv_prog_compiler_c_o=no
   9587    $RM -r conftest 2>/dev/null
   9588    mkdir conftest
   9589    cd conftest
   9590    mkdir out
   9591    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9592 
   9593    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9594    # Insert the option either (1) after the last *FLAGS variable, or
   9595    # (2) before a word containing "conftest.", or (3) at the end.
   9596    # Note that $ac_compile itself does not contain backslashes and begins
   9597    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9598    lt_compile=`echo "$ac_compile" | $SED \
   9599    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9600    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9601    -e 's:$: $lt_compiler_flag:'`
   9602    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9603    (eval "$lt_compile" 2>out/conftest.err)
   9604    ac_status=$?
   9605    cat out/conftest.err >&5
   9606    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9607    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9608    then
   9609      # The compiler can only warn and ignore the option if not recognized
   9610      # So say no if there are warnings
   9611      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9612      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9613      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9614        lt_cv_prog_compiler_c_o=yes
   9615      fi
   9616    fi
   9617    chmod u+w . 2>&5
   9618    $RM conftest*
   9619    # SGI C++ compiler will create directory out/ii_files/ for
   9620    # template instantiation
   9621    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9622    $RM out/* && rmdir out
   9623    cd ..
   9624    $RM -r conftest
   9625    $RM conftest*
   9626 
   9627 fi
   9628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9629 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9630 
   9631 
   9632 
   9633 
   9634 hard_links=nottested
   9635 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9636   # do not overwrite the value of need_locks provided by the user
   9637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9638 printf %s "checking if we can lock with hard links... " >&6; }
   9639   hard_links=yes
   9640   $RM conftest*
   9641   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9642   touch conftest.a
   9643   ln conftest.a conftest.b 2>&5 || hard_links=no
   9644   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9645   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9646 printf "%s\n" "$hard_links" >&6; }
   9647   if test no = "$hard_links"; then
   9648     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9649 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9650     need_locks=warn
   9651   fi
   9652 else
   9653   need_locks=no
   9654 fi
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9662 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9663 
   9664   runpath_var=
   9665   allow_undefined_flag=
   9666   always_export_symbols=no
   9667   archive_cmds=
   9668   archive_expsym_cmds=
   9669   compiler_needs_object=no
   9670   enable_shared_with_static_runtimes=no
   9671   export_dynamic_flag_spec=
   9672   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9673   hardcode_automatic=no
   9674   hardcode_direct=no
   9675   hardcode_direct_absolute=no
   9676   hardcode_libdir_flag_spec=
   9677   hardcode_libdir_separator=
   9678   hardcode_minus_L=no
   9679   hardcode_shlibpath_var=unsupported
   9680   inherit_rpath=no
   9681   link_all_deplibs=unknown
   9682   module_cmds=
   9683   module_expsym_cmds=
   9684   old_archive_from_new_cmds=
   9685   old_archive_from_expsyms_cmds=
   9686   thread_safe_flag_spec=
   9687   whole_archive_flag_spec=
   9688   # include_expsyms should be a list of space-separated symbols to be *always*
   9689   # included in the symbol list
   9690   include_expsyms=
   9691   # exclude_expsyms can be an extended regexp of symbols to exclude
   9692   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9693   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9694   # as well as any symbol that contains 'd'.
   9695   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9696   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9697   # platforms (ab)use it in PIC code, but their linkers get confused if
   9698   # the symbol is explicitly referenced.  Since portable code cannot
   9699   # rely on this symbol name, it's probably fine to never include it in
   9700   # preloaded symbol tables.
   9701   # Exclude shared library initialization/finalization symbols.
   9702   extract_expsyms_cmds=
   9703 
   9704   case $host_os in
   9705   cygwin* | mingw* | pw32* | cegcc*)
   9706     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9707     # When not using gcc, we currently assume that we are using
   9708     # Microsoft Visual C++ or Intel C++ Compiler.
   9709     if test yes != "$GCC"; then
   9710       with_gnu_ld=no
   9711     fi
   9712     ;;
   9713   interix*)
   9714     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9715     with_gnu_ld=yes
   9716     ;;
   9717   openbsd* | bitrig*)
   9718     with_gnu_ld=no
   9719     ;;
   9720   linux* | k*bsd*-gnu | gnu*)
   9721     link_all_deplibs=no
   9722     ;;
   9723   esac
   9724 
   9725   ld_shlibs=yes
   9726 
   9727   # On some targets, GNU ld is compatible enough with the native linker
   9728   # that we're better off using the native interface for both.
   9729   lt_use_gnu_ld_interface=no
   9730   if test yes = "$with_gnu_ld"; then
   9731     case $host_os in
   9732       aix*)
   9733 	# The AIX port of GNU ld has always aspired to compatibility
   9734 	# with the native linker.  However, as the warning in the GNU ld
   9735 	# block says, versions before 2.19.5* couldn't really create working
   9736 	# shared libraries, regardless of the interface used.
   9737 	case `$LD -v 2>&1` in
   9738 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9739 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9740 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9741 	  *)
   9742 	    lt_use_gnu_ld_interface=yes
   9743 	    ;;
   9744 	esac
   9745 	;;
   9746       *)
   9747 	lt_use_gnu_ld_interface=yes
   9748 	;;
   9749     esac
   9750   fi
   9751 
   9752   if test yes = "$lt_use_gnu_ld_interface"; then
   9753     # If archive_cmds runs LD, not CC, wlarc should be empty
   9754     wlarc='$wl'
   9755 
   9756     # Set some defaults for GNU ld with shared library support. These
   9757     # are reset later if shared libraries are not supported. Putting them
   9758     # here allows them to be overridden if necessary.
   9759     runpath_var=LD_RUN_PATH
   9760     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9761     export_dynamic_flag_spec='$wl--export-dynamic'
   9762     # ancient GNU ld didn't support --whole-archive et. al.
   9763     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9764       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9765     else
   9766       whole_archive_flag_spec=
   9767     fi
   9768     supports_anon_versioning=no
   9769     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9770       *GNU\ gold*) supports_anon_versioning=yes ;;
   9771       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9772       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9773       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9774       *\ 2.11.*) ;; # other 2.11 versions
   9775       *) supports_anon_versioning=yes ;;
   9776     esac
   9777 
   9778     # See if GNU ld supports shared libraries.
   9779     case $host_os in
   9780     aix[3-9]*)
   9781       # On AIX/PPC, the GNU linker is very broken
   9782       if test ia64 != "$host_cpu"; then
   9783 	ld_shlibs=no
   9784 	cat <<_LT_EOF 1>&2
   9785 
   9786 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9787 *** to be unable to reliably create shared libraries on AIX.
   9788 *** Therefore, libtool is disabling shared libraries support.  If you
   9789 *** really care for shared libraries, you may want to install binutils
   9790 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9791 *** You will then need to restart the configuration process.
   9792 
   9793 _LT_EOF
   9794       fi
   9795       ;;
   9796 
   9797     amigaos*)
   9798       case $host_cpu in
   9799       powerpc)
   9800             # see comment about AmigaOS4 .so support
   9801             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9802             archive_expsym_cmds=''
   9803         ;;
   9804       m68k)
   9805             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)'
   9806             hardcode_libdir_flag_spec='-L$libdir'
   9807             hardcode_minus_L=yes
   9808         ;;
   9809       esac
   9810       ;;
   9811 
   9812     beos*)
   9813       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9814 	allow_undefined_flag=unsupported
   9815 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9816 	# support --undefined.  This deserves some investigation.  FIXME
   9817 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9818       else
   9819 	ld_shlibs=no
   9820       fi
   9821       ;;
   9822 
   9823     cygwin* | mingw* | pw32* | cegcc*)
   9824       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9825       # as there is no search path for DLLs.
   9826       hardcode_libdir_flag_spec='-L$libdir'
   9827       export_dynamic_flag_spec='$wl--export-all-symbols'
   9828       allow_undefined_flag=unsupported
   9829       always_export_symbols=no
   9830       enable_shared_with_static_runtimes=yes
   9831       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'
   9832       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9833 
   9834       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9835         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9836 	# If the export-symbols file already is a .def file, use it as
   9837 	# is; otherwise, prepend EXPORTS...
   9838 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9839           cp $export_symbols $output_objdir/$soname.def;
   9840         else
   9841           echo EXPORTS > $output_objdir/$soname.def;
   9842           cat $export_symbols >> $output_objdir/$soname.def;
   9843         fi~
   9844         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9845       else
   9846 	ld_shlibs=no
   9847       fi
   9848       ;;
   9849 
   9850     haiku*)
   9851       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9852       link_all_deplibs=yes
   9853       ;;
   9854 
   9855     os2*)
   9856       hardcode_libdir_flag_spec='-L$libdir'
   9857       hardcode_minus_L=yes
   9858       allow_undefined_flag=unsupported
   9859       shrext_cmds=.dll
   9860       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9861 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9862 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9863 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9864 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9865 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9866 	emximp -o $lib $output_objdir/$libname.def'
   9867       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9868 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9869 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9870 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9871 	prefix_cmds="$SED"~
   9872 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9873 	  prefix_cmds="$prefix_cmds -e 1d";
   9874 	fi~
   9875 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9876 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9877 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9878 	emximp -o $lib $output_objdir/$libname.def'
   9879       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9880       enable_shared_with_static_runtimes=yes
   9881       file_list_spec='@'
   9882       ;;
   9883 
   9884     interix[3-9]*)
   9885       hardcode_direct=no
   9886       hardcode_shlibpath_var=no
   9887       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9888       export_dynamic_flag_spec='$wl-E'
   9889       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9890       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9891       # default) and relocated if they conflict, which is a slow very memory
   9892       # consuming and fragmenting process.  To avoid this, we pick a random,
   9893       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9894       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9895       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9896       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'
   9897       ;;
   9898 
   9899     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9900       tmp_diet=no
   9901       if test linux-dietlibc = "$host_os"; then
   9902 	case $cc_basename in
   9903 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9904 	esac
   9905       fi
   9906       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9907 	 && test no = "$tmp_diet"
   9908       then
   9909 	tmp_addflag=' $pic_flag'
   9910 	tmp_sharedflag='-shared'
   9911 	case $cc_basename,$host_cpu in
   9912         pgcc*)				# Portland Group C compiler
   9913 	  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'
   9914 	  tmp_addflag=' $pic_flag'
   9915 	  ;;
   9916 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9917 					# Portland Group f77 and f90 compilers
   9918 	  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'
   9919 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9920 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9921 	  tmp_addflag=' -i_dynamic' ;;
   9922 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9923 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9924 	ifc* | ifort*)			# Intel Fortran compiler
   9925 	  tmp_addflag=' -nofor_main' ;;
   9926 	lf95*)				# Lahey Fortran 8.1
   9927 	  whole_archive_flag_spec=
   9928 	  tmp_sharedflag='--shared' ;;
   9929         nagfor*)                        # NAGFOR 5.3
   9930           tmp_sharedflag='-Wl,-shared' ;;
   9931 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9932 	  tmp_sharedflag='-qmkshrobj'
   9933 	  tmp_addflag= ;;
   9934 	nvcc*)	# Cuda Compiler Driver 2.2
   9935 	  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'
   9936 	  compiler_needs_object=yes
   9937 	  ;;
   9938 	esac
   9939 	case `$CC -V 2>&1 | $SED 5q` in
   9940 	*Sun\ C*)			# Sun C 5.9
   9941 	  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'
   9942 	  compiler_needs_object=yes
   9943 	  tmp_sharedflag='-G' ;;
   9944 	*Sun\ F*)			# Sun Fortran 8.3
   9945 	  tmp_sharedflag='-G' ;;
   9946 	esac
   9947 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9948 
   9949         if test yes = "$supports_anon_versioning"; then
   9950           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9951             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9952             echo "local: *; };" >> $output_objdir/$libname.ver~
   9953             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9954         fi
   9955 
   9956 	case $cc_basename in
   9957 	tcc*)
   9958 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9959 	  export_dynamic_flag_spec='-rdynamic'
   9960 	  ;;
   9961 	xlf* | bgf* | bgxlf* | mpixlf*)
   9962 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9963 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9964 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9965 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9966 	  if test yes = "$supports_anon_versioning"; then
   9967 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9968               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9969               echo "local: *; };" >> $output_objdir/$libname.ver~
   9970               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9971 	  fi
   9972 	  ;;
   9973 	esac
   9974       else
   9975         ld_shlibs=no
   9976       fi
   9977       ;;
   9978 
   9979     netbsd* | netbsdelf*-gnu)
   9980       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9981 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9982 	wlarc=
   9983       else
   9984 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9985 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9986       fi
   9987       ;;
   9988 
   9989     solaris*)
   9990       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9991 	ld_shlibs=no
   9992 	cat <<_LT_EOF 1>&2
   9993 
   9994 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9995 *** create shared libraries on Solaris systems.  Therefore, libtool
   9996 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9997 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9998 *** your PATH or compiler configuration so that the native linker is
   9999 *** used, and then restart.
   10000 
   10001 _LT_EOF
   10002       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10003 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10004 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10005       else
   10006 	ld_shlibs=no
   10007       fi
   10008       ;;
   10009 
   10010     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10011       case `$LD -v 2>&1` in
   10012         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10013 	ld_shlibs=no
   10014 	cat <<_LT_EOF 1>&2
   10015 
   10016 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10017 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10018 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10019 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10020 *** your PATH or compiler configuration so that the native linker is
   10021 *** used, and then restart.
   10022 
   10023 _LT_EOF
   10024 	;;
   10025 	*)
   10026 	  # For security reasons, it is highly recommended that you always
   10027 	  # use absolute paths for naming shared libraries, and exclude the
   10028 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10029 	  # requires that you compile everything twice, which is a pain.
   10030 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10031 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10032 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10033 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10034 	  else
   10035 	    ld_shlibs=no
   10036 	  fi
   10037 	;;
   10038       esac
   10039       ;;
   10040 
   10041     sunos4*)
   10042       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10043       wlarc=
   10044       hardcode_direct=yes
   10045       hardcode_shlibpath_var=no
   10046       ;;
   10047 
   10048     *)
   10049       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10050 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10051 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10052       else
   10053 	ld_shlibs=no
   10054       fi
   10055       ;;
   10056     esac
   10057 
   10058     if test no = "$ld_shlibs"; then
   10059       runpath_var=
   10060       hardcode_libdir_flag_spec=
   10061       export_dynamic_flag_spec=
   10062       whole_archive_flag_spec=
   10063     fi
   10064   else
   10065     # PORTME fill in a description of your system's linker (not GNU ld)
   10066     case $host_os in
   10067     aix3*)
   10068       allow_undefined_flag=unsupported
   10069       always_export_symbols=yes
   10070       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'
   10071       # Note: this linker hardcodes the directories in LIBPATH if there
   10072       # are no directories specified by -L.
   10073       hardcode_minus_L=yes
   10074       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10075 	# Neither direct hardcoding nor static linking is supported with a
   10076 	# broken collect2.
   10077 	hardcode_direct=unsupported
   10078       fi
   10079       ;;
   10080 
   10081     aix[4-9]*)
   10082       if test ia64 = "$host_cpu"; then
   10083 	# On IA64, the linker does run time linking by default, so we don't
   10084 	# have to do anything special.
   10085 	aix_use_runtimelinking=no
   10086 	exp_sym_flag='-Bexport'
   10087 	no_entry_flag=
   10088       else
   10089 	# If we're using GNU nm, then we don't want the "-C" option.
   10090 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10091 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10092 	# weak defined symbols like other global defined symbols, whereas
   10093 	# GNU nm marks them as "W".
   10094 	# While the 'weak' keyword is ignored in the Export File, we need
   10095 	# it in the Import File for the 'aix-soname' feature, so we have
   10096 	# to replace the "-B" option with "-P" for AIX nm.
   10097 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10098 	  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'
   10099 	else
   10100 	  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'
   10101 	fi
   10102 	aix_use_runtimelinking=no
   10103 
   10104 	# Test if we are trying to use run time linking or normal
   10105 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10106 	# have runtime linking enabled, and use it for executables.
   10107 	# For shared libraries, we enable/disable runtime linking
   10108 	# depending on the kind of the shared library created -
   10109 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10110 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10111 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10112 	#            lib.a           static archive
   10113 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10114 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10115 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10116 	#            lib.a(lib.so.V) shared, rtl:no
   10117 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10118 	#            lib.a           static archive
   10119 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10120 	  for ld_flag in $LDFLAGS; do
   10121 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10122 	    aix_use_runtimelinking=yes
   10123 	    break
   10124 	  fi
   10125 	  done
   10126 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10127 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10128 	    # so we don't have lib.a shared libs to link our executables.
   10129 	    # We have to force runtime linking in this case.
   10130 	    aix_use_runtimelinking=yes
   10131 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10132 	  fi
   10133 	  ;;
   10134 	esac
   10135 
   10136 	exp_sym_flag='-bexport'
   10137 	no_entry_flag='-bnoentry'
   10138       fi
   10139 
   10140       # When large executables or shared objects are built, AIX ld can
   10141       # have problems creating the table of contents.  If linking a library
   10142       # or program results in "error TOC overflow" add -mminimal-toc to
   10143       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10144       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10145 
   10146       archive_cmds=''
   10147       hardcode_direct=yes
   10148       hardcode_direct_absolute=yes
   10149       hardcode_libdir_separator=':'
   10150       link_all_deplibs=yes
   10151       file_list_spec='$wl-f,'
   10152       case $with_aix_soname,$aix_use_runtimelinking in
   10153       aix,*) ;; # traditional, no import file
   10154       svr4,* | *,yes) # use import file
   10155 	# The Import File defines what to hardcode.
   10156 	hardcode_direct=no
   10157 	hardcode_direct_absolute=no
   10158 	;;
   10159       esac
   10160 
   10161       if test yes = "$GCC"; then
   10162 	case $host_os in aix4.[012]|aix4.[012].*)
   10163 	# We only want to do this on AIX 4.2 and lower, the check
   10164 	# below for broken collect2 doesn't work under 4.3+
   10165 	  collect2name=`$CC -print-prog-name=collect2`
   10166 	  if test -f "$collect2name" &&
   10167 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10168 	  then
   10169 	  # We have reworked collect2
   10170 	  :
   10171 	  else
   10172 	  # We have old collect2
   10173 	  hardcode_direct=unsupported
   10174 	  # It fails to find uninstalled libraries when the uninstalled
   10175 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10176 	  # to unsupported forces relinking
   10177 	  hardcode_minus_L=yes
   10178 	  hardcode_libdir_flag_spec='-L$libdir'
   10179 	  hardcode_libdir_separator=
   10180 	  fi
   10181 	  ;;
   10182 	esac
   10183 	shared_flag='-shared'
   10184 	if test yes = "$aix_use_runtimelinking"; then
   10185 	  shared_flag="$shared_flag "'$wl-G'
   10186 	fi
   10187 	# Need to ensure runtime linking is disabled for the traditional
   10188 	# shared library, or the linker may eventually find shared libraries
   10189 	# /with/ Import File - we do not want to mix them.
   10190 	shared_flag_aix='-shared'
   10191 	shared_flag_svr4='-shared $wl-G'
   10192       else
   10193 	# not using gcc
   10194 	if test ia64 = "$host_cpu"; then
   10195 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10196 	# chokes on -Wl,-G. The following line is correct:
   10197 	  shared_flag='-G'
   10198 	else
   10199 	  if test yes = "$aix_use_runtimelinking"; then
   10200 	    shared_flag='$wl-G'
   10201 	  else
   10202 	    shared_flag='$wl-bM:SRE'
   10203 	  fi
   10204 	  shared_flag_aix='$wl-bM:SRE'
   10205 	  shared_flag_svr4='$wl-G'
   10206 	fi
   10207       fi
   10208 
   10209       export_dynamic_flag_spec='$wl-bexpall'
   10210       # It seems that -bexpall does not export symbols beginning with
   10211       # underscore (_), so it is better to generate a list of symbols to export.
   10212       always_export_symbols=yes
   10213       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10214 	# Warning - without using the other runtime loading flags (-brtl),
   10215 	# -berok will link without error, but may produce a broken library.
   10216 	allow_undefined_flag='-berok'
   10217         # Determine the default libpath from the value encoded in an
   10218         # empty executable.
   10219         if test set = "${lt_cv_aix_libpath+set}"; then
   10220   aix_libpath=$lt_cv_aix_libpath
   10221 else
   10222   if test ${lt_cv_aix_libpath_+y}
   10223 then :
   10224   printf %s "(cached) " >&6
   10225 else $as_nop
   10226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10227 /* end confdefs.h.  */
   10228 
   10229 int
   10230 main (void)
   10231 {
   10232 
   10233   ;
   10234   return 0;
   10235 }
   10236 _ACEOF
   10237 if ac_fn_c_try_link "$LINENO"
   10238 then :
   10239 
   10240   lt_aix_libpath_sed='
   10241       /Import File Strings/,/^$/ {
   10242 	  /^0/ {
   10243 	      s/^0  *\([^ ]*\) *$/\1/
   10244 	      p
   10245 	  }
   10246       }'
   10247   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10248   # Check for a 64-bit object if we didn't find anything.
   10249   if test -z "$lt_cv_aix_libpath_"; then
   10250     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10251   fi
   10252 fi
   10253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10254     conftest$ac_exeext conftest.$ac_ext
   10255   if test -z "$lt_cv_aix_libpath_"; then
   10256     lt_cv_aix_libpath_=/usr/lib:/lib
   10257   fi
   10258 
   10259 fi
   10260 
   10261   aix_libpath=$lt_cv_aix_libpath_
   10262 fi
   10263 
   10264         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10265         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
   10266       else
   10267 	if test ia64 = "$host_cpu"; then
   10268 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10269 	  allow_undefined_flag="-z nodefs"
   10270 	  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"
   10271 	else
   10272 	 # Determine the default libpath from the value encoded in an
   10273 	 # empty executable.
   10274 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10275   aix_libpath=$lt_cv_aix_libpath
   10276 else
   10277   if test ${lt_cv_aix_libpath_+y}
   10278 then :
   10279   printf %s "(cached) " >&6
   10280 else $as_nop
   10281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10282 /* end confdefs.h.  */
   10283 
   10284 int
   10285 main (void)
   10286 {
   10287 
   10288   ;
   10289   return 0;
   10290 }
   10291 _ACEOF
   10292 if ac_fn_c_try_link "$LINENO"
   10293 then :
   10294 
   10295   lt_aix_libpath_sed='
   10296       /Import File Strings/,/^$/ {
   10297 	  /^0/ {
   10298 	      s/^0  *\([^ ]*\) *$/\1/
   10299 	      p
   10300 	  }
   10301       }'
   10302   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10303   # Check for a 64-bit object if we didn't find anything.
   10304   if test -z "$lt_cv_aix_libpath_"; then
   10305     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10306   fi
   10307 fi
   10308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10309     conftest$ac_exeext conftest.$ac_ext
   10310   if test -z "$lt_cv_aix_libpath_"; then
   10311     lt_cv_aix_libpath_=/usr/lib:/lib
   10312   fi
   10313 
   10314 fi
   10315 
   10316   aix_libpath=$lt_cv_aix_libpath_
   10317 fi
   10318 
   10319 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10320 	  # Warning - without using the other run time loading flags,
   10321 	  # -berok will link without error, but may produce a broken library.
   10322 	  no_undefined_flag=' $wl-bernotok'
   10323 	  allow_undefined_flag=' $wl-berok'
   10324 	  if test yes = "$with_gnu_ld"; then
   10325 	    # We only use this code for GNU lds that support --whole-archive.
   10326 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10327 	  else
   10328 	    # Exported symbols can be pulled into shared objects from archives
   10329 	    whole_archive_flag_spec='$convenience'
   10330 	  fi
   10331 	  archive_cmds_need_lc=yes
   10332 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10333 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10334 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10335 	  if test svr4 != "$with_aix_soname"; then
   10336 	    # This is similar to how AIX traditionally builds its shared libraries.
   10337 	    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'
   10338 	  fi
   10339 	  if test aix != "$with_aix_soname"; then
   10340 	    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'
   10341 	  else
   10342 	    # used by -dlpreopen to get the symbols
   10343 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10344 	  fi
   10345 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10346 	fi
   10347       fi
   10348       ;;
   10349 
   10350     amigaos*)
   10351       case $host_cpu in
   10352       powerpc)
   10353             # see comment about AmigaOS4 .so support
   10354             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10355             archive_expsym_cmds=''
   10356         ;;
   10357       m68k)
   10358             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)'
   10359             hardcode_libdir_flag_spec='-L$libdir'
   10360             hardcode_minus_L=yes
   10361         ;;
   10362       esac
   10363       ;;
   10364 
   10365     bsdi[45]*)
   10366       export_dynamic_flag_spec=-rdynamic
   10367       ;;
   10368 
   10369     cygwin* | mingw* | pw32* | cegcc*)
   10370       # When not using gcc, we currently assume that we are using
   10371       # Microsoft Visual C++ or Intel C++ Compiler.
   10372       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10373       # no search path for DLLs.
   10374       case $cc_basename in
   10375       cl* | icl*)
   10376 	# Native MSVC or ICC
   10377 	hardcode_libdir_flag_spec=' '
   10378 	allow_undefined_flag=unsupported
   10379 	always_export_symbols=yes
   10380 	file_list_spec='@'
   10381 	# Tell ltmain to make .lib files, not .a files.
   10382 	libext=lib
   10383 	# Tell ltmain to make .dll files, not .so files.
   10384 	shrext_cmds=.dll
   10385 	# FIXME: Setting linknames here is a bad hack.
   10386 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10387 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10388             cp "$export_symbols" "$output_objdir/$soname.def";
   10389             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10390           else
   10391             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10392           fi~
   10393           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10394           linknames='
   10395 	# The linker will not automatically build a static lib if we build a DLL.
   10396 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10397 	enable_shared_with_static_runtimes=yes
   10398 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10399 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10400 	# Don't use ranlib
   10401 	old_postinstall_cmds='chmod 644 $oldlib'
   10402 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10403           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10404           case $lt_outputfile in
   10405             *.exe|*.EXE) ;;
   10406             *)
   10407               lt_outputfile=$lt_outputfile.exe
   10408               lt_tool_outputfile=$lt_tool_outputfile.exe
   10409               ;;
   10410           esac~
   10411           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10412             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10413             $RM "$lt_outputfile.manifest";
   10414           fi'
   10415 	;;
   10416       *)
   10417 	# Assume MSVC and ICC wrapper
   10418 	hardcode_libdir_flag_spec=' '
   10419 	allow_undefined_flag=unsupported
   10420 	# Tell ltmain to make .lib files, not .a files.
   10421 	libext=lib
   10422 	# Tell ltmain to make .dll files, not .so files.
   10423 	shrext_cmds=.dll
   10424 	# FIXME: Setting linknames here is a bad hack.
   10425 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10426 	# The linker will automatically build a .lib file if we build a DLL.
   10427 	old_archive_from_new_cmds='true'
   10428 	# FIXME: Should let the user specify the lib program.
   10429 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10430 	enable_shared_with_static_runtimes=yes
   10431 	;;
   10432       esac
   10433       ;;
   10434 
   10435     darwin* | rhapsody*)
   10436 
   10437 
   10438   archive_cmds_need_lc=no
   10439   hardcode_direct=no
   10440   hardcode_automatic=yes
   10441   hardcode_shlibpath_var=unsupported
   10442   if test yes = "$lt_cv_ld_force_load"; then
   10443     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\"`'
   10444 
   10445   else
   10446     whole_archive_flag_spec=''
   10447   fi
   10448   link_all_deplibs=yes
   10449   allow_undefined_flag=$_lt_dar_allow_undefined
   10450   case $cc_basename in
   10451      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10452      *) _lt_dar_can_shared=$GCC ;;
   10453   esac
   10454   if test yes = "$_lt_dar_can_shared"; then
   10455     output_verbose_link_cmd=func_echo_all
   10456     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10457     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10458     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"
   10459     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"
   10460 
   10461   else
   10462   ld_shlibs=no
   10463   fi
   10464 
   10465       ;;
   10466 
   10467     dgux*)
   10468       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10469       hardcode_libdir_flag_spec='-L$libdir'
   10470       hardcode_shlibpath_var=no
   10471       ;;
   10472 
   10473     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10474     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10475     # does not break anything, and helps significantly (at the cost of a little
   10476     # extra space).
   10477     freebsd2.2*)
   10478       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10479       hardcode_libdir_flag_spec='-R$libdir'
   10480       hardcode_direct=yes
   10481       hardcode_shlibpath_var=no
   10482       ;;
   10483 
   10484     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10485     freebsd2.*)
   10486       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10487       hardcode_direct=yes
   10488       hardcode_minus_L=yes
   10489       hardcode_shlibpath_var=no
   10490       ;;
   10491 
   10492     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10493     freebsd* | dragonfly* | midnightbsd*)
   10494       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10495       hardcode_libdir_flag_spec='-R$libdir'
   10496       hardcode_direct=yes
   10497       hardcode_shlibpath_var=no
   10498       ;;
   10499 
   10500     hpux9*)
   10501       if test yes = "$GCC"; then
   10502 	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'
   10503       else
   10504 	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'
   10505       fi
   10506       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10507       hardcode_libdir_separator=:
   10508       hardcode_direct=yes
   10509 
   10510       # hardcode_minus_L: Not really in the search PATH,
   10511       # but as the default location of the library.
   10512       hardcode_minus_L=yes
   10513       export_dynamic_flag_spec='$wl-E'
   10514       ;;
   10515 
   10516     hpux10*)
   10517       if test yes,no = "$GCC,$with_gnu_ld"; then
   10518 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10519       else
   10520 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10521       fi
   10522       if test no = "$with_gnu_ld"; then
   10523 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10524 	hardcode_libdir_separator=:
   10525 	hardcode_direct=yes
   10526 	hardcode_direct_absolute=yes
   10527 	export_dynamic_flag_spec='$wl-E'
   10528 	# hardcode_minus_L: Not really in the search PATH,
   10529 	# but as the default location of the library.
   10530 	hardcode_minus_L=yes
   10531       fi
   10532       ;;
   10533 
   10534     hpux11*)
   10535       if test yes,no = "$GCC,$with_gnu_ld"; then
   10536 	case $host_cpu in
   10537 	hppa*64*)
   10538 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10539 	  ;;
   10540 	ia64*)
   10541 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10542 	  ;;
   10543 	*)
   10544 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10545 	  ;;
   10546 	esac
   10547       else
   10548 	case $host_cpu in
   10549 	hppa*64*)
   10550 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10551 	  ;;
   10552 	ia64*)
   10553 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10554 	  ;;
   10555 	*)
   10556 
   10557 	  # Older versions of the 11.00 compiler do not understand -b yet
   10558 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10559 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10560 printf %s "checking if $CC understands -b... " >&6; }
   10561 if test ${lt_cv_prog_compiler__b+y}
   10562 then :
   10563   printf %s "(cached) " >&6
   10564 else $as_nop
   10565   lt_cv_prog_compiler__b=no
   10566    save_LDFLAGS=$LDFLAGS
   10567    LDFLAGS="$LDFLAGS -b"
   10568    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10569    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10570      # The linker can only warn and ignore the option if not recognized
   10571      # So say no if there are warnings
   10572      if test -s conftest.err; then
   10573        # Append any errors to the config.log.
   10574        cat conftest.err 1>&5
   10575        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10576        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10577        if diff conftest.exp conftest.er2 >/dev/null; then
   10578          lt_cv_prog_compiler__b=yes
   10579        fi
   10580      else
   10581        lt_cv_prog_compiler__b=yes
   10582      fi
   10583    fi
   10584    $RM -r conftest*
   10585    LDFLAGS=$save_LDFLAGS
   10586 
   10587 fi
   10588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10589 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10590 
   10591 if test yes = "$lt_cv_prog_compiler__b"; then
   10592     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10593 else
   10594     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10595 fi
   10596 
   10597 	  ;;
   10598 	esac
   10599       fi
   10600       if test no = "$with_gnu_ld"; then
   10601 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10602 	hardcode_libdir_separator=:
   10603 
   10604 	case $host_cpu in
   10605 	hppa*64*|ia64*)
   10606 	  hardcode_direct=no
   10607 	  hardcode_shlibpath_var=no
   10608 	  ;;
   10609 	*)
   10610 	  hardcode_direct=yes
   10611 	  hardcode_direct_absolute=yes
   10612 	  export_dynamic_flag_spec='$wl-E'
   10613 
   10614 	  # hardcode_minus_L: Not really in the search PATH,
   10615 	  # but as the default location of the library.
   10616 	  hardcode_minus_L=yes
   10617 	  ;;
   10618 	esac
   10619       fi
   10620       ;;
   10621 
   10622     irix5* | irix6* | nonstopux*)
   10623       if test yes = "$GCC"; then
   10624 	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'
   10625 	# Try to use the -exported_symbol ld option, if it does not
   10626 	# work, assume that -exports_file does not work either and
   10627 	# implicitly export all symbols.
   10628 	# This should be the same for all languages, so no per-tag cache variable.
   10629 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10630 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10631 if test ${lt_cv_irix_exported_symbol+y}
   10632 then :
   10633   printf %s "(cached) " >&6
   10634 else $as_nop
   10635   save_LDFLAGS=$LDFLAGS
   10636 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10637 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10638 /* end confdefs.h.  */
   10639 int foo (void) { return 0; }
   10640 _ACEOF
   10641 if ac_fn_c_try_link "$LINENO"
   10642 then :
   10643   lt_cv_irix_exported_symbol=yes
   10644 else $as_nop
   10645   lt_cv_irix_exported_symbol=no
   10646 fi
   10647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10648     conftest$ac_exeext conftest.$ac_ext
   10649            LDFLAGS=$save_LDFLAGS
   10650 fi
   10651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10652 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10653 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10654           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'
   10655 	fi
   10656 	link_all_deplibs=no
   10657       else
   10658 	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'
   10659 	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'
   10660       fi
   10661       archive_cmds_need_lc='no'
   10662       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10663       hardcode_libdir_separator=:
   10664       inherit_rpath=yes
   10665       link_all_deplibs=yes
   10666       ;;
   10667 
   10668     linux*)
   10669       case $cc_basename in
   10670       tcc*)
   10671 	# Fabrice Bellard et al's Tiny C Compiler
   10672 	ld_shlibs=yes
   10673 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10674 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10675 	;;
   10676       esac
   10677       ;;
   10678 
   10679     netbsd* | netbsdelf*-gnu)
   10680       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10681 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10682       else
   10683 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10684       fi
   10685       hardcode_libdir_flag_spec='-R$libdir'
   10686       hardcode_direct=yes
   10687       hardcode_shlibpath_var=no
   10688       ;;
   10689 
   10690     newsos6)
   10691       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10692       hardcode_direct=yes
   10693       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10694       hardcode_libdir_separator=:
   10695       hardcode_shlibpath_var=no
   10696       ;;
   10697 
   10698     *nto* | *qnx*)
   10699       ;;
   10700 
   10701     openbsd* | bitrig*)
   10702       if test -f /usr/libexec/ld.so; then
   10703 	hardcode_direct=yes
   10704 	hardcode_shlibpath_var=no
   10705 	hardcode_direct_absolute=yes
   10706 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10707 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10708 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10709 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10710 	  export_dynamic_flag_spec='$wl-E'
   10711 	else
   10712 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10713 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10714 	fi
   10715       else
   10716 	ld_shlibs=no
   10717       fi
   10718       ;;
   10719 
   10720     os2*)
   10721       hardcode_libdir_flag_spec='-L$libdir'
   10722       hardcode_minus_L=yes
   10723       allow_undefined_flag=unsupported
   10724       shrext_cmds=.dll
   10725       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10726 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10727 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10728 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10729 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10730 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10731 	emximp -o $lib $output_objdir/$libname.def'
   10732       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10733 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10734 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10735 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10736 	prefix_cmds="$SED"~
   10737 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10738 	  prefix_cmds="$prefix_cmds -e 1d";
   10739 	fi~
   10740 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10741 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10742 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10743 	emximp -o $lib $output_objdir/$libname.def'
   10744       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10745       enable_shared_with_static_runtimes=yes
   10746       file_list_spec='@'
   10747       ;;
   10748 
   10749     osf3*)
   10750       if test yes = "$GCC"; then
   10751 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10752 	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'
   10753       else
   10754 	allow_undefined_flag=' -expect_unresolved \*'
   10755 	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'
   10756       fi
   10757       archive_cmds_need_lc='no'
   10758       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10759       hardcode_libdir_separator=:
   10760       ;;
   10761 
   10762     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10763       if test yes = "$GCC"; then
   10764 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10765 	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'
   10766 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10767       else
   10768 	allow_undefined_flag=' -expect_unresolved \*'
   10769 	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'
   10770 	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~
   10771           $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'
   10772 
   10773 	# Both c and cxx compiler support -rpath directly
   10774 	hardcode_libdir_flag_spec='-rpath $libdir'
   10775       fi
   10776       archive_cmds_need_lc='no'
   10777       hardcode_libdir_separator=:
   10778       ;;
   10779 
   10780     solaris*)
   10781       no_undefined_flag=' -z defs'
   10782       if test yes = "$GCC"; then
   10783 	wlarc='$wl'
   10784 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10785 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10786           $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'
   10787       else
   10788 	case `$CC -V 2>&1` in
   10789 	*"Compilers 5.0"*)
   10790 	  wlarc=''
   10791 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10792 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10793             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10794 	  ;;
   10795 	*)
   10796 	  wlarc='$wl'
   10797 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10798 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10799             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10800 	  ;;
   10801 	esac
   10802       fi
   10803       hardcode_libdir_flag_spec='-R$libdir'
   10804       hardcode_shlibpath_var=no
   10805       case $host_os in
   10806       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10807       *)
   10808 	# The compiler driver will combine and reorder linker options,
   10809 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10810 	# but is careful enough not to reorder.
   10811 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10812 	if test yes = "$GCC"; then
   10813 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10814 	else
   10815 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10816 	fi
   10817 	;;
   10818       esac
   10819       link_all_deplibs=yes
   10820       ;;
   10821 
   10822     sunos4*)
   10823       if test sequent = "$host_vendor"; then
   10824 	# Use $CC to link under sequent, because it throws in some extra .o
   10825 	# files that make .init and .fini sections work.
   10826 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10827       else
   10828 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10829       fi
   10830       hardcode_libdir_flag_spec='-L$libdir'
   10831       hardcode_direct=yes
   10832       hardcode_minus_L=yes
   10833       hardcode_shlibpath_var=no
   10834       ;;
   10835 
   10836     sysv4)
   10837       case $host_vendor in
   10838 	sni)
   10839 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10840 	  hardcode_direct=yes # is this really true???
   10841 	;;
   10842 	siemens)
   10843 	  ## LD is ld it makes a PLAMLIB
   10844 	  ## CC just makes a GrossModule.
   10845 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10846 	  reload_cmds='$CC -r -o $output$reload_objs'
   10847 	  hardcode_direct=no
   10848         ;;
   10849 	motorola)
   10850 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10851 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10852 	;;
   10853       esac
   10854       runpath_var='LD_RUN_PATH'
   10855       hardcode_shlibpath_var=no
   10856       ;;
   10857 
   10858     sysv4.3*)
   10859       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10860       hardcode_shlibpath_var=no
   10861       export_dynamic_flag_spec='-Bexport'
   10862       ;;
   10863 
   10864     sysv4*MP*)
   10865       if test -d /usr/nec; then
   10866 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10867 	hardcode_shlibpath_var=no
   10868 	runpath_var=LD_RUN_PATH
   10869 	hardcode_runpath_var=yes
   10870 	ld_shlibs=yes
   10871       fi
   10872       ;;
   10873 
   10874     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10875       no_undefined_flag='$wl-z,text'
   10876       archive_cmds_need_lc=no
   10877       hardcode_shlibpath_var=no
   10878       runpath_var='LD_RUN_PATH'
   10879 
   10880       if test yes = "$GCC"; then
   10881 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10882 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10883       else
   10884 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10885 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10886       fi
   10887       ;;
   10888 
   10889     sysv5* | sco3.2v5* | sco5v6*)
   10890       # Note: We CANNOT use -z defs as we might desire, because we do not
   10891       # link with -lc, and that would cause any symbols used from libc to
   10892       # always be unresolved, which means just about no library would
   10893       # ever link correctly.  If we're not using GNU ld we use -z text
   10894       # though, which does catch some bad symbols but isn't as heavy-handed
   10895       # as -z defs.
   10896       no_undefined_flag='$wl-z,text'
   10897       allow_undefined_flag='$wl-z,nodefs'
   10898       archive_cmds_need_lc=no
   10899       hardcode_shlibpath_var=no
   10900       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10901       hardcode_libdir_separator=':'
   10902       link_all_deplibs=yes
   10903       export_dynamic_flag_spec='$wl-Bexport'
   10904       runpath_var='LD_RUN_PATH'
   10905 
   10906       if test yes = "$GCC"; then
   10907 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10908 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10909       else
   10910 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10911 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10912       fi
   10913       ;;
   10914 
   10915     uts4*)
   10916       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10917       hardcode_libdir_flag_spec='-L$libdir'
   10918       hardcode_shlibpath_var=no
   10919       ;;
   10920 
   10921     *)
   10922       ld_shlibs=no
   10923       ;;
   10924     esac
   10925 
   10926     if test sni = "$host_vendor"; then
   10927       case $host in
   10928       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10929 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10930 	;;
   10931       esac
   10932     fi
   10933   fi
   10934 
   10935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10936 printf "%s\n" "$ld_shlibs" >&6; }
   10937 test no = "$ld_shlibs" && can_build_shared=no
   10938 
   10939 with_gnu_ld=$with_gnu_ld
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 #
   10956 # Do we need to explicitly link libc?
   10957 #
   10958 case "x$archive_cmds_need_lc" in
   10959 x|xyes)
   10960   # Assume -lc should be added
   10961   archive_cmds_need_lc=yes
   10962 
   10963   if test yes,yes = "$GCC,$enable_shared"; then
   10964     case $archive_cmds in
   10965     *'~'*)
   10966       # FIXME: we may have to deal with multi-command sequences.
   10967       ;;
   10968     '$CC '*)
   10969       # Test whether the compiler implicitly links with -lc since on some
   10970       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10971       # to ld, don't add -lc before -lgcc.
   10972       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10973 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10974 if test ${lt_cv_archive_cmds_need_lc+y}
   10975 then :
   10976   printf %s "(cached) " >&6
   10977 else $as_nop
   10978   $RM conftest*
   10979 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10980 
   10981 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10982   (eval $ac_compile) 2>&5
   10983   ac_status=$?
   10984   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10985   test $ac_status = 0; } 2>conftest.err; then
   10986 	  soname=conftest
   10987 	  lib=conftest
   10988 	  libobjs=conftest.$ac_objext
   10989 	  deplibs=
   10990 	  wl=$lt_prog_compiler_wl
   10991 	  pic_flag=$lt_prog_compiler_pic
   10992 	  compiler_flags=-v
   10993 	  linker_flags=-v
   10994 	  verstring=
   10995 	  output_objdir=.
   10996 	  libname=conftest
   10997 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10998 	  allow_undefined_flag=
   10999 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11000   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11001   ac_status=$?
   11002   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11003   test $ac_status = 0; }
   11004 	  then
   11005 	    lt_cv_archive_cmds_need_lc=no
   11006 	  else
   11007 	    lt_cv_archive_cmds_need_lc=yes
   11008 	  fi
   11009 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11010 	else
   11011 	  cat conftest.err 1>&5
   11012 	fi
   11013 	$RM conftest*
   11014 
   11015 fi
   11016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11017 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11018       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11019       ;;
   11020     esac
   11021   fi
   11022   ;;
   11023 esac
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11177 printf %s "checking dynamic linker characteristics... " >&6; }
   11178 
   11179 if test yes = "$GCC"; then
   11180   case $host_os in
   11181     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11182     *) lt_awk_arg='/^libraries:/' ;;
   11183   esac
   11184   case $host_os in
   11185     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11186     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11187   esac
   11188   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11189   case $lt_search_path_spec in
   11190   *\;*)
   11191     # if the path contains ";" then we assume it to be the separator
   11192     # otherwise default to the standard path separator (i.e. ":") - it is
   11193     # assumed that no part of a normal pathname contains ";" but that should
   11194     # okay in the real world where ";" in dirpaths is itself problematic.
   11195     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11196     ;;
   11197   *)
   11198     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11199     ;;
   11200   esac
   11201   # Ok, now we have the path, separated by spaces, we can step through it
   11202   # and add multilib dir if necessary...
   11203   lt_tmp_lt_search_path_spec=
   11204   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11205   # ...but if some path component already ends with the multilib dir we assume
   11206   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11207   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11208   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11209     lt_multi_os_dir=
   11210     ;;
   11211   esac
   11212   for lt_sys_path in $lt_search_path_spec; do
   11213     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11214       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11215     elif test -n "$lt_multi_os_dir"; then
   11216       test -d "$lt_sys_path" && \
   11217 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11218     fi
   11219   done
   11220   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11221 BEGIN {RS = " "; FS = "/|\n";} {
   11222   lt_foo = "";
   11223   lt_count = 0;
   11224   for (lt_i = NF; lt_i > 0; lt_i--) {
   11225     if ($lt_i != "" && $lt_i != ".") {
   11226       if ($lt_i == "..") {
   11227         lt_count++;
   11228       } else {
   11229         if (lt_count == 0) {
   11230           lt_foo = "/" $lt_i lt_foo;
   11231         } else {
   11232           lt_count--;
   11233         }
   11234       }
   11235     }
   11236   }
   11237   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11238   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11239 }'`
   11240   # AWK program above erroneously prepends '/' to C:/dos/paths
   11241   # for these hosts.
   11242   case $host_os in
   11243     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11244       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11245   esac
   11246   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11247 else
   11248   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11249 fi
   11250 library_names_spec=
   11251 libname_spec='lib$name'
   11252 soname_spec=
   11253 shrext_cmds=.so
   11254 postinstall_cmds=
   11255 postuninstall_cmds=
   11256 finish_cmds=
   11257 finish_eval=
   11258 shlibpath_var=
   11259 shlibpath_overrides_runpath=unknown
   11260 version_type=none
   11261 dynamic_linker="$host_os ld.so"
   11262 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11263 need_lib_prefix=unknown
   11264 hardcode_into_libs=no
   11265 
   11266 # when you set need_version to no, make sure it does not cause -set_version
   11267 # flags to be left without arguments
   11268 need_version=unknown
   11269 
   11270 
   11271 
   11272 case $host_os in
   11273 aix3*)
   11274   version_type=linux # correct to gnu/linux during the next big refactor
   11275   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11276   shlibpath_var=LIBPATH
   11277 
   11278   # AIX 3 has no versioning support, so we append a major version to the name.
   11279   soname_spec='$libname$release$shared_ext$major'
   11280   ;;
   11281 
   11282 aix[4-9]*)
   11283   version_type=linux # correct to gnu/linux during the next big refactor
   11284   need_lib_prefix=no
   11285   need_version=no
   11286   hardcode_into_libs=yes
   11287   if test ia64 = "$host_cpu"; then
   11288     # AIX 5 supports IA64
   11289     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11290     shlibpath_var=LD_LIBRARY_PATH
   11291   else
   11292     # With GCC up to 2.95.x, collect2 would create an import file
   11293     # for dependence libraries.  The import file would start with
   11294     # the line '#! .'.  This would cause the generated library to
   11295     # depend on '.', always an invalid library.  This was fixed in
   11296     # development snapshots of GCC prior to 3.0.
   11297     case $host_os in
   11298       aix4 | aix4.[01] | aix4.[01].*)
   11299       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11300 	   echo ' yes '
   11301 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11302 	:
   11303       else
   11304 	can_build_shared=no
   11305       fi
   11306       ;;
   11307     esac
   11308     # Using Import Files as archive members, it is possible to support
   11309     # filename-based versioning of shared library archives on AIX. While
   11310     # this would work for both with and without runtime linking, it will
   11311     # prevent static linking of such archives. So we do filename-based
   11312     # shared library versioning with .so extension only, which is used
   11313     # when both runtime linking and shared linking is enabled.
   11314     # Unfortunately, runtime linking may impact performance, so we do
   11315     # not want this to be the default eventually. Also, we use the
   11316     # versioned .so libs for executables only if there is the -brtl
   11317     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11318     # To allow for filename-based versioning support, we need to create
   11319     # libNAME.so.V as an archive file, containing:
   11320     # *) an Import File, referring to the versioned filename of the
   11321     #    archive as well as the shared archive member, telling the
   11322     #    bitwidth (32 or 64) of that shared object, and providing the
   11323     #    list of exported symbols of that shared object, eventually
   11324     #    decorated with the 'weak' keyword
   11325     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11326     #    it being seen by the linker.
   11327     # At run time we better use the real file rather than another symlink,
   11328     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11329 
   11330     case $with_aix_soname,$aix_use_runtimelinking in
   11331     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11332     # soname into executable. Probably we can add versioning support to
   11333     # collect2, so additional links can be useful in future.
   11334     aix,yes) # traditional libtool
   11335       dynamic_linker='AIX unversionable lib.so'
   11336       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11337       # instead of lib<name>.a to let people know that these are not
   11338       # typical AIX shared libraries.
   11339       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11340       ;;
   11341     aix,no) # traditional AIX only
   11342       dynamic_linker='AIX lib.a(lib.so.V)'
   11343       # We preserve .a as extension for shared libraries through AIX4.2
   11344       # and later when we are not doing run time linking.
   11345       library_names_spec='$libname$release.a $libname.a'
   11346       soname_spec='$libname$release$shared_ext$major'
   11347       ;;
   11348     svr4,*) # full svr4 only
   11349       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11350       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11351       # We do not specify a path in Import Files, so LIBPATH fires.
   11352       shlibpath_overrides_runpath=yes
   11353       ;;
   11354     *,yes) # both, prefer svr4
   11355       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11356       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11357       # unpreferred sharedlib libNAME.a needs extra handling
   11358       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"'
   11359       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"'
   11360       # We do not specify a path in Import Files, so LIBPATH fires.
   11361       shlibpath_overrides_runpath=yes
   11362       ;;
   11363     *,no) # both, prefer aix
   11364       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11365       library_names_spec='$libname$release.a $libname.a'
   11366       soname_spec='$libname$release$shared_ext$major'
   11367       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11368       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)'
   11369       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"'
   11370       ;;
   11371     esac
   11372     shlibpath_var=LIBPATH
   11373   fi
   11374   ;;
   11375 
   11376 amigaos*)
   11377   case $host_cpu in
   11378   powerpc)
   11379     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11380     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11381     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11382     ;;
   11383   m68k)
   11384     library_names_spec='$libname.ixlibrary $libname.a'
   11385     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11386     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'
   11387     ;;
   11388   esac
   11389   ;;
   11390 
   11391 beos*)
   11392   library_names_spec='$libname$shared_ext'
   11393   dynamic_linker="$host_os ld.so"
   11394   shlibpath_var=LIBRARY_PATH
   11395   ;;
   11396 
   11397 bsdi[45]*)
   11398   version_type=linux # correct to gnu/linux during the next big refactor
   11399   need_version=no
   11400   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11401   soname_spec='$libname$release$shared_ext$major'
   11402   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11403   shlibpath_var=LD_LIBRARY_PATH
   11404   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11405   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11406   # the default ld.so.conf also contains /usr/contrib/lib and
   11407   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11408   # libtool to hard-code these into programs
   11409   ;;
   11410 
   11411 cygwin* | mingw* | pw32* | cegcc*)
   11412   version_type=windows
   11413   shrext_cmds=.dll
   11414   need_version=no
   11415   need_lib_prefix=no
   11416 
   11417   case $GCC,$cc_basename in
   11418   yes,*)
   11419     # gcc
   11420     library_names_spec='$libname.dll.a'
   11421     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11422     postinstall_cmds='base_file=`basename \$file`~
   11423       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11424       dldir=$destdir/`dirname \$dlpath`~
   11425       test -d \$dldir || mkdir -p \$dldir~
   11426       $install_prog $dir/$dlname \$dldir/$dlname~
   11427       chmod a+x \$dldir/$dlname~
   11428       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11429         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11430       fi'
   11431     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11432       dlpath=$dir/\$dldll~
   11433        $RM \$dlpath'
   11434     shlibpath_overrides_runpath=yes
   11435 
   11436     case $host_os in
   11437     cygwin*)
   11438       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11439       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11440 
   11441       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11442       ;;
   11443     mingw* | cegcc*)
   11444       # MinGW DLLs use traditional 'lib' prefix
   11445       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11446       ;;
   11447     pw32*)
   11448       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11449       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11450       ;;
   11451     esac
   11452     dynamic_linker='Win32 ld.exe'
   11453     ;;
   11454 
   11455   *,cl* | *,icl*)
   11456     # Native MSVC or ICC
   11457     libname_spec='$name'
   11458     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11459     library_names_spec='$libname.dll.lib'
   11460 
   11461     case $build_os in
   11462     mingw*)
   11463       sys_lib_search_path_spec=
   11464       lt_save_ifs=$IFS
   11465       IFS=';'
   11466       for lt_path in $LIB
   11467       do
   11468         IFS=$lt_save_ifs
   11469         # Let DOS variable expansion print the short 8.3 style file name.
   11470         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11471         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11472       done
   11473       IFS=$lt_save_ifs
   11474       # Convert to MSYS style.
   11475       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11476       ;;
   11477     cygwin*)
   11478       # Convert to unix form, then to dos form, then back to unix form
   11479       # but this time dos style (no spaces!) so that the unix form looks
   11480       # like /cygdrive/c/PROGRA~1:/cygdr...
   11481       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11482       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11483       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11484       ;;
   11485     *)
   11486       sys_lib_search_path_spec=$LIB
   11487       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11488         # It is most probably a Windows format PATH.
   11489         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11490       else
   11491         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11492       fi
   11493       # FIXME: find the short name or the path components, as spaces are
   11494       # common. (e.g. "Program Files" -> "PROGRA~1")
   11495       ;;
   11496     esac
   11497 
   11498     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11499     postinstall_cmds='base_file=`basename \$file`~
   11500       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11501       dldir=$destdir/`dirname \$dlpath`~
   11502       test -d \$dldir || mkdir -p \$dldir~
   11503       $install_prog $dir/$dlname \$dldir/$dlname'
   11504     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11505       dlpath=$dir/\$dldll~
   11506        $RM \$dlpath'
   11507     shlibpath_overrides_runpath=yes
   11508     dynamic_linker='Win32 link.exe'
   11509     ;;
   11510 
   11511   *)
   11512     # Assume MSVC and ICC wrapper
   11513     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11514     dynamic_linker='Win32 ld.exe'
   11515     ;;
   11516   esac
   11517   # FIXME: first we should search . and the directory the executable is in
   11518   shlibpath_var=PATH
   11519   ;;
   11520 
   11521 darwin* | rhapsody*)
   11522   dynamic_linker="$host_os dyld"
   11523   version_type=darwin
   11524   need_lib_prefix=no
   11525   need_version=no
   11526   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11527   soname_spec='$libname$release$major$shared_ext'
   11528   shlibpath_overrides_runpath=yes
   11529   shlibpath_var=DYLD_LIBRARY_PATH
   11530   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11531 
   11532   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11533   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11534   ;;
   11535 
   11536 dgux*)
   11537   version_type=linux # correct to gnu/linux during the next big refactor
   11538   need_lib_prefix=no
   11539   need_version=no
   11540   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11541   soname_spec='$libname$release$shared_ext$major'
   11542   shlibpath_var=LD_LIBRARY_PATH
   11543   ;;
   11544 
   11545 freebsd* | dragonfly* | midnightbsd*)
   11546   # DragonFly does not have aout.  When/if they implement a new
   11547   # versioning mechanism, adjust this.
   11548   if test -x /usr/bin/objformat; then
   11549     objformat=`/usr/bin/objformat`
   11550   else
   11551     case $host_os in
   11552     freebsd[23].*) objformat=aout ;;
   11553     *) objformat=elf ;;
   11554     esac
   11555   fi
   11556   version_type=freebsd-$objformat
   11557   case $version_type in
   11558     freebsd-elf*)
   11559       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11560       soname_spec='$libname$release$shared_ext$major'
   11561       need_version=no
   11562       need_lib_prefix=no
   11563       ;;
   11564     freebsd-*)
   11565       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11566       need_version=yes
   11567       ;;
   11568   esac
   11569   shlibpath_var=LD_LIBRARY_PATH
   11570   case $host_os in
   11571   freebsd2.*)
   11572     shlibpath_overrides_runpath=yes
   11573     ;;
   11574   freebsd3.[01]* | freebsdelf3.[01]*)
   11575     shlibpath_overrides_runpath=yes
   11576     hardcode_into_libs=yes
   11577     ;;
   11578   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11579   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11580     shlibpath_overrides_runpath=no
   11581     hardcode_into_libs=yes
   11582     ;;
   11583   *) # from 4.6 on, and DragonFly
   11584     shlibpath_overrides_runpath=yes
   11585     hardcode_into_libs=yes
   11586     ;;
   11587   esac
   11588   ;;
   11589 
   11590 haiku*)
   11591   version_type=linux # correct to gnu/linux during the next big refactor
   11592   need_lib_prefix=no
   11593   need_version=no
   11594   dynamic_linker="$host_os runtime_loader"
   11595   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11596   soname_spec='$libname$release$shared_ext$major'
   11597   shlibpath_var=LIBRARY_PATH
   11598   shlibpath_overrides_runpath=no
   11599   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11600   hardcode_into_libs=yes
   11601   ;;
   11602 
   11603 hpux9* | hpux10* | hpux11*)
   11604   # Give a soname corresponding to the major version so that dld.sl refuses to
   11605   # link against other versions.
   11606   version_type=sunos
   11607   need_lib_prefix=no
   11608   need_version=no
   11609   case $host_cpu in
   11610   ia64*)
   11611     shrext_cmds='.so'
   11612     hardcode_into_libs=yes
   11613     dynamic_linker="$host_os dld.so"
   11614     shlibpath_var=LD_LIBRARY_PATH
   11615     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11616     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11617     soname_spec='$libname$release$shared_ext$major'
   11618     if test 32 = "$HPUX_IA64_MODE"; then
   11619       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11620       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11621     else
   11622       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11623       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11624     fi
   11625     ;;
   11626   hppa*64*)
   11627     shrext_cmds='.sl'
   11628     hardcode_into_libs=yes
   11629     dynamic_linker="$host_os dld.sl"
   11630     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11631     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11632     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11633     soname_spec='$libname$release$shared_ext$major'
   11634     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11635     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11636     ;;
   11637   *)
   11638     shrext_cmds='.sl'
   11639     dynamic_linker="$host_os dld.sl"
   11640     shlibpath_var=SHLIB_PATH
   11641     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11642     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11643     soname_spec='$libname$release$shared_ext$major'
   11644     ;;
   11645   esac
   11646   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11647   postinstall_cmds='chmod 555 $lib'
   11648   # or fails outright, so override atomically:
   11649   install_override_mode=555
   11650   ;;
   11651 
   11652 interix[3-9]*)
   11653   version_type=linux # correct to gnu/linux during the next big refactor
   11654   need_lib_prefix=no
   11655   need_version=no
   11656   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11657   soname_spec='$libname$release$shared_ext$major'
   11658   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11659   shlibpath_var=LD_LIBRARY_PATH
   11660   shlibpath_overrides_runpath=no
   11661   hardcode_into_libs=yes
   11662   ;;
   11663 
   11664 irix5* | irix6* | nonstopux*)
   11665   case $host_os in
   11666     nonstopux*) version_type=nonstopux ;;
   11667     *)
   11668 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11669 		version_type=linux # correct to gnu/linux during the next big refactor
   11670 	else
   11671 		version_type=irix
   11672 	fi ;;
   11673   esac
   11674   need_lib_prefix=no
   11675   need_version=no
   11676   soname_spec='$libname$release$shared_ext$major'
   11677   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11678   case $host_os in
   11679   irix5* | nonstopux*)
   11680     libsuff= shlibsuff=
   11681     ;;
   11682   *)
   11683     case $LD in # libtool.m4 will add one of these switches to LD
   11684     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11685       libsuff= shlibsuff= libmagic=32-bit;;
   11686     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11687       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11688     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11689       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11690     *) libsuff= shlibsuff= libmagic=never-match;;
   11691     esac
   11692     ;;
   11693   esac
   11694   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11695   shlibpath_overrides_runpath=no
   11696   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11697   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11698   hardcode_into_libs=yes
   11699   ;;
   11700 
   11701 # No shared lib support for Linux oldld, aout, or coff.
   11702 linux*oldld* | linux*aout* | linux*coff*)
   11703   dynamic_linker=no
   11704   ;;
   11705 
   11706 linux*android*)
   11707   version_type=none # Android doesn't support versioned libraries.
   11708   need_lib_prefix=no
   11709   need_version=no
   11710   library_names_spec='$libname$release$shared_ext'
   11711   soname_spec='$libname$release$shared_ext'
   11712   finish_cmds=
   11713   shlibpath_var=LD_LIBRARY_PATH
   11714   shlibpath_overrides_runpath=yes
   11715 
   11716   # This implies no fast_install, which is unacceptable.
   11717   # Some rework will be needed to allow for fast_install
   11718   # before this can be enabled.
   11719   hardcode_into_libs=yes
   11720 
   11721   dynamic_linker='Android linker'
   11722   # Don't embed -rpath directories since the linker doesn't support them.
   11723   hardcode_libdir_flag_spec='-L$libdir'
   11724   ;;
   11725 
   11726 # This must be glibc/ELF.
   11727 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11728   version_type=linux # correct to gnu/linux during the next big refactor
   11729   need_lib_prefix=no
   11730   need_version=no
   11731   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11732   soname_spec='$libname$release$shared_ext$major'
   11733   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11734   shlibpath_var=LD_LIBRARY_PATH
   11735   shlibpath_overrides_runpath=no
   11736 
   11737   # Some binutils ld are patched to set DT_RUNPATH
   11738   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11739 then :
   11740   printf %s "(cached) " >&6
   11741 else $as_nop
   11742   lt_cv_shlibpath_overrides_runpath=no
   11743     save_LDFLAGS=$LDFLAGS
   11744     save_libdir=$libdir
   11745     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11746 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11747     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11748 /* end confdefs.h.  */
   11749 
   11750 int
   11751 main (void)
   11752 {
   11753 
   11754   ;
   11755   return 0;
   11756 }
   11757 _ACEOF
   11758 if ac_fn_c_try_link "$LINENO"
   11759 then :
   11760   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11761 then :
   11762   lt_cv_shlibpath_overrides_runpath=yes
   11763 fi
   11764 fi
   11765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11766     conftest$ac_exeext conftest.$ac_ext
   11767     LDFLAGS=$save_LDFLAGS
   11768     libdir=$save_libdir
   11769 
   11770 fi
   11771 
   11772   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11773 
   11774   # This implies no fast_install, which is unacceptable.
   11775   # Some rework will be needed to allow for fast_install
   11776   # before this can be enabled.
   11777   hardcode_into_libs=yes
   11778 
   11779   # Ideally, we could use ldconfig to report *all* directores which are
   11780   # searched for libraries, however this is still not possible.  Aside from not
   11781   # being certain /sbin/ldconfig is available, command
   11782   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11783   # even though it is searched at run-time.  Try to do the best guess by
   11784   # appending ld.so.conf contents (and includes) to the search path.
   11785   if test -f /etc/ld.so.conf; then
   11786     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' ' '`
   11787     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11788   fi
   11789 
   11790   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11791   # powerpc, because MkLinux only supported shared libraries with the
   11792   # GNU dynamic linker.  Since this was broken with cross compilers,
   11793   # most powerpc-linux boxes support dynamic linking these days and
   11794   # people can always --disable-shared, the test was removed, and we
   11795   # assume the GNU/Linux dynamic linker is in use.
   11796   dynamic_linker='GNU/Linux ld.so'
   11797   ;;
   11798 
   11799 netbsdelf*-gnu)
   11800   version_type=linux
   11801   need_lib_prefix=no
   11802   need_version=no
   11803   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11804   soname_spec='${libname}${release}${shared_ext}$major'
   11805   shlibpath_var=LD_LIBRARY_PATH
   11806   shlibpath_overrides_runpath=no
   11807   hardcode_into_libs=yes
   11808   dynamic_linker='NetBSD ld.elf_so'
   11809   ;;
   11810 
   11811 netbsd*)
   11812   version_type=sunos
   11813   need_lib_prefix=no
   11814   need_version=no
   11815   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11816     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11817     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11818     dynamic_linker='NetBSD (a.out) ld.so'
   11819   else
   11820     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11821     soname_spec='$libname$release$shared_ext$major'
   11822     dynamic_linker='NetBSD ld.elf_so'
   11823   fi
   11824   shlibpath_var=LD_LIBRARY_PATH
   11825   shlibpath_overrides_runpath=yes
   11826   hardcode_into_libs=yes
   11827   ;;
   11828 
   11829 newsos6)
   11830   version_type=linux # correct to gnu/linux during the next big refactor
   11831   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11832   shlibpath_var=LD_LIBRARY_PATH
   11833   shlibpath_overrides_runpath=yes
   11834   ;;
   11835 
   11836 *nto* | *qnx*)
   11837   version_type=qnx
   11838   need_lib_prefix=no
   11839   need_version=no
   11840   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11841   soname_spec='$libname$release$shared_ext$major'
   11842   shlibpath_var=LD_LIBRARY_PATH
   11843   shlibpath_overrides_runpath=no
   11844   hardcode_into_libs=yes
   11845   dynamic_linker='ldqnx.so'
   11846   ;;
   11847 
   11848 openbsd* | bitrig*)
   11849   version_type=sunos
   11850   sys_lib_dlsearch_path_spec=/usr/lib
   11851   need_lib_prefix=no
   11852   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11853     need_version=no
   11854   else
   11855     need_version=yes
   11856   fi
   11857   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11858   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11859   shlibpath_var=LD_LIBRARY_PATH
   11860   shlibpath_overrides_runpath=yes
   11861   ;;
   11862 
   11863 os2*)
   11864   libname_spec='$name'
   11865   version_type=windows
   11866   shrext_cmds=.dll
   11867   need_version=no
   11868   need_lib_prefix=no
   11869   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11870   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11871     v=$($ECHO $release$versuffix | tr -d .-);
   11872     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11873     $ECHO $n$v`$shared_ext'
   11874   library_names_spec='${libname}_dll.$libext'
   11875   dynamic_linker='OS/2 ld.exe'
   11876   shlibpath_var=BEGINLIBPATH
   11877   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11878   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11879   postinstall_cmds='base_file=`basename \$file`~
   11880     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11881     dldir=$destdir/`dirname \$dlpath`~
   11882     test -d \$dldir || mkdir -p \$dldir~
   11883     $install_prog $dir/$dlname \$dldir/$dlname~
   11884     chmod a+x \$dldir/$dlname~
   11885     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11886       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11887     fi'
   11888   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11889     dlpath=$dir/\$dldll~
   11890     $RM \$dlpath'
   11891   ;;
   11892 
   11893 osf3* | osf4* | osf5*)
   11894   version_type=osf
   11895   need_lib_prefix=no
   11896   need_version=no
   11897   soname_spec='$libname$release$shared_ext$major'
   11898   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11899   shlibpath_var=LD_LIBRARY_PATH
   11900   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11901   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11902   ;;
   11903 
   11904 rdos*)
   11905   dynamic_linker=no
   11906   ;;
   11907 
   11908 solaris*)
   11909   version_type=linux # correct to gnu/linux during the next big refactor
   11910   need_lib_prefix=no
   11911   need_version=no
   11912   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11913   soname_spec='$libname$release$shared_ext$major'
   11914   shlibpath_var=LD_LIBRARY_PATH
   11915   shlibpath_overrides_runpath=yes
   11916   hardcode_into_libs=yes
   11917   # ldd complains unless libraries are executable
   11918   postinstall_cmds='chmod +x $lib'
   11919   ;;
   11920 
   11921 sunos4*)
   11922   version_type=sunos
   11923   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11924   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11925   shlibpath_var=LD_LIBRARY_PATH
   11926   shlibpath_overrides_runpath=yes
   11927   if test yes = "$with_gnu_ld"; then
   11928     need_lib_prefix=no
   11929   fi
   11930   need_version=yes
   11931   ;;
   11932 
   11933 sysv4 | sysv4.3*)
   11934   version_type=linux # correct to gnu/linux during the next big refactor
   11935   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11936   soname_spec='$libname$release$shared_ext$major'
   11937   shlibpath_var=LD_LIBRARY_PATH
   11938   case $host_vendor in
   11939     sni)
   11940       shlibpath_overrides_runpath=no
   11941       need_lib_prefix=no
   11942       runpath_var=LD_RUN_PATH
   11943       ;;
   11944     siemens)
   11945       need_lib_prefix=no
   11946       ;;
   11947     motorola)
   11948       need_lib_prefix=no
   11949       need_version=no
   11950       shlibpath_overrides_runpath=no
   11951       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11952       ;;
   11953   esac
   11954   ;;
   11955 
   11956 sysv4*MP*)
   11957   if test -d /usr/nec; then
   11958     version_type=linux # correct to gnu/linux during the next big refactor
   11959     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11960     soname_spec='$libname$shared_ext.$major'
   11961     shlibpath_var=LD_LIBRARY_PATH
   11962   fi
   11963   ;;
   11964 
   11965 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11966   version_type=sco
   11967   need_lib_prefix=no
   11968   need_version=no
   11969   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11970   soname_spec='$libname$release$shared_ext$major'
   11971   shlibpath_var=LD_LIBRARY_PATH
   11972   shlibpath_overrides_runpath=yes
   11973   hardcode_into_libs=yes
   11974   if test yes = "$with_gnu_ld"; then
   11975     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11976   else
   11977     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11978     case $host_os in
   11979       sco3.2v5*)
   11980         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11981 	;;
   11982     esac
   11983   fi
   11984   sys_lib_dlsearch_path_spec='/usr/lib'
   11985   ;;
   11986 
   11987 tpf*)
   11988   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11989   version_type=linux # correct to gnu/linux during the next big refactor
   11990   need_lib_prefix=no
   11991   need_version=no
   11992   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11993   shlibpath_var=LD_LIBRARY_PATH
   11994   shlibpath_overrides_runpath=no
   11995   hardcode_into_libs=yes
   11996   ;;
   11997 
   11998 uts4*)
   11999   version_type=linux # correct to gnu/linux during the next big refactor
   12000   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12001   soname_spec='$libname$release$shared_ext$major'
   12002   shlibpath_var=LD_LIBRARY_PATH
   12003   ;;
   12004 
   12005 *)
   12006   dynamic_linker=no
   12007   ;;
   12008 esac
   12009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12010 printf "%s\n" "$dynamic_linker" >&6; }
   12011 test no = "$dynamic_linker" && can_build_shared=no
   12012 
   12013 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12014 if test yes = "$GCC"; then
   12015   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12016 fi
   12017 
   12018 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12019   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12020 fi
   12021 
   12022 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12023   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12024 fi
   12025 
   12026 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12027 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12028 
   12029 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12030 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12031 
   12032 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12033 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 
   12047 
   12048 
   12049 
   12050 
   12051 
   12052 
   12053 
   12054 
   12055 
   12056 
   12057 
   12058 
   12059 
   12060 
   12061 
   12062 
   12063 
   12064 
   12065 
   12066 
   12067 
   12068 
   12069 
   12070 
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 
   12083 
   12084 
   12085 
   12086 
   12087 
   12088 
   12089 
   12090 
   12091 
   12092 
   12093 
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100 
   12101 
   12102 
   12103 
   12104 
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129 
   12130 
   12131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12132 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12133 hardcode_action=
   12134 if test -n "$hardcode_libdir_flag_spec" ||
   12135    test -n "$runpath_var" ||
   12136    test yes = "$hardcode_automatic"; then
   12137 
   12138   # We can hardcode non-existent directories.
   12139   if test no != "$hardcode_direct" &&
   12140      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12141      # have to relink, otherwise we might link with an installed library
   12142      # when we should be linking with a yet-to-be-installed one
   12143      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12144      test no != "$hardcode_minus_L"; then
   12145     # Linking always hardcodes the temporary library directory.
   12146     hardcode_action=relink
   12147   else
   12148     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12149     hardcode_action=immediate
   12150   fi
   12151 else
   12152   # We cannot hardcode anything, or else we can only hardcode existing
   12153   # directories.
   12154   hardcode_action=unsupported
   12155 fi
   12156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12157 printf "%s\n" "$hardcode_action" >&6; }
   12158 
   12159 if test relink = "$hardcode_action" ||
   12160    test yes = "$inherit_rpath"; then
   12161   # Fast installation is not supported
   12162   enable_fast_install=no
   12163 elif test yes = "$shlibpath_overrides_runpath" ||
   12164      test no = "$enable_shared"; then
   12165   # Fast installation is not necessary
   12166   enable_fast_install=needless
   12167 fi
   12168 
   12169 
   12170 
   12171 
   12172 
   12173 
   12174   if test yes != "$enable_dlopen"; then
   12175   enable_dlopen=unknown
   12176   enable_dlopen_self=unknown
   12177   enable_dlopen_self_static=unknown
   12178 else
   12179   lt_cv_dlopen=no
   12180   lt_cv_dlopen_libs=
   12181 
   12182   case $host_os in
   12183   beos*)
   12184     lt_cv_dlopen=load_add_on
   12185     lt_cv_dlopen_libs=
   12186     lt_cv_dlopen_self=yes
   12187     ;;
   12188 
   12189   mingw* | pw32* | cegcc*)
   12190     lt_cv_dlopen=LoadLibrary
   12191     lt_cv_dlopen_libs=
   12192     ;;
   12193 
   12194   cygwin*)
   12195     lt_cv_dlopen=dlopen
   12196     lt_cv_dlopen_libs=
   12197     ;;
   12198 
   12199   darwin*)
   12200     # if libdl is installed we need to link against it
   12201     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12202 printf %s "checking for dlopen in -ldl... " >&6; }
   12203 if test ${ac_cv_lib_dl_dlopen+y}
   12204 then :
   12205   printf %s "(cached) " >&6
   12206 else $as_nop
   12207   ac_check_lib_save_LIBS=$LIBS
   12208 LIBS="-ldl  $LIBS"
   12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12210 /* end confdefs.h.  */
   12211 
   12212 /* Override any GCC internal prototype to avoid an error.
   12213    Use char because int might match the return type of a GCC
   12214    builtin and then its argument prototype would still apply.  */
   12215 char dlopen ();
   12216 int
   12217 main (void)
   12218 {
   12219 return dlopen ();
   12220   ;
   12221   return 0;
   12222 }
   12223 _ACEOF
   12224 if ac_fn_c_try_link "$LINENO"
   12225 then :
   12226   ac_cv_lib_dl_dlopen=yes
   12227 else $as_nop
   12228   ac_cv_lib_dl_dlopen=no
   12229 fi
   12230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12231     conftest$ac_exeext conftest.$ac_ext
   12232 LIBS=$ac_check_lib_save_LIBS
   12233 fi
   12234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12235 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12236 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12237 then :
   12238   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12239 else $as_nop
   12240 
   12241     lt_cv_dlopen=dyld
   12242     lt_cv_dlopen_libs=
   12243     lt_cv_dlopen_self=yes
   12244 
   12245 fi
   12246 
   12247     ;;
   12248 
   12249   tpf*)
   12250     # Don't try to run any link tests for TPF.  We know it's impossible
   12251     # because TPF is a cross-compiler, and we know how we open DSOs.
   12252     lt_cv_dlopen=dlopen
   12253     lt_cv_dlopen_libs=
   12254     lt_cv_dlopen_self=no
   12255     ;;
   12256 
   12257   *)
   12258     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12259 if test "x$ac_cv_func_shl_load" = xyes
   12260 then :
   12261   lt_cv_dlopen=shl_load
   12262 else $as_nop
   12263   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12264 printf %s "checking for shl_load in -ldld... " >&6; }
   12265 if test ${ac_cv_lib_dld_shl_load+y}
   12266 then :
   12267   printf %s "(cached) " >&6
   12268 else $as_nop
   12269   ac_check_lib_save_LIBS=$LIBS
   12270 LIBS="-ldld  $LIBS"
   12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12272 /* end confdefs.h.  */
   12273 
   12274 /* Override any GCC internal prototype to avoid an error.
   12275    Use char because int might match the return type of a GCC
   12276    builtin and then its argument prototype would still apply.  */
   12277 char shl_load ();
   12278 int
   12279 main (void)
   12280 {
   12281 return shl_load ();
   12282   ;
   12283   return 0;
   12284 }
   12285 _ACEOF
   12286 if ac_fn_c_try_link "$LINENO"
   12287 then :
   12288   ac_cv_lib_dld_shl_load=yes
   12289 else $as_nop
   12290   ac_cv_lib_dld_shl_load=no
   12291 fi
   12292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12293     conftest$ac_exeext conftest.$ac_ext
   12294 LIBS=$ac_check_lib_save_LIBS
   12295 fi
   12296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12297 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12298 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12299 then :
   12300   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12301 else $as_nop
   12302   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12303 if test "x$ac_cv_func_dlopen" = xyes
   12304 then :
   12305   lt_cv_dlopen=dlopen
   12306 else $as_nop
   12307   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12308 printf %s "checking for dlopen in -ldl... " >&6; }
   12309 if test ${ac_cv_lib_dl_dlopen+y}
   12310 then :
   12311   printf %s "(cached) " >&6
   12312 else $as_nop
   12313   ac_check_lib_save_LIBS=$LIBS
   12314 LIBS="-ldl  $LIBS"
   12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12316 /* end confdefs.h.  */
   12317 
   12318 /* Override any GCC internal prototype to avoid an error.
   12319    Use char because int might match the return type of a GCC
   12320    builtin and then its argument prototype would still apply.  */
   12321 char dlopen ();
   12322 int
   12323 main (void)
   12324 {
   12325 return dlopen ();
   12326   ;
   12327   return 0;
   12328 }
   12329 _ACEOF
   12330 if ac_fn_c_try_link "$LINENO"
   12331 then :
   12332   ac_cv_lib_dl_dlopen=yes
   12333 else $as_nop
   12334   ac_cv_lib_dl_dlopen=no
   12335 fi
   12336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12337     conftest$ac_exeext conftest.$ac_ext
   12338 LIBS=$ac_check_lib_save_LIBS
   12339 fi
   12340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12341 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12342 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12343 then :
   12344   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12345 else $as_nop
   12346   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12347 printf %s "checking for dlopen in -lsvld... " >&6; }
   12348 if test ${ac_cv_lib_svld_dlopen+y}
   12349 then :
   12350   printf %s "(cached) " >&6
   12351 else $as_nop
   12352   ac_check_lib_save_LIBS=$LIBS
   12353 LIBS="-lsvld  $LIBS"
   12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12355 /* end confdefs.h.  */
   12356 
   12357 /* Override any GCC internal prototype to avoid an error.
   12358    Use char because int might match the return type of a GCC
   12359    builtin and then its argument prototype would still apply.  */
   12360 char dlopen ();
   12361 int
   12362 main (void)
   12363 {
   12364 return dlopen ();
   12365   ;
   12366   return 0;
   12367 }
   12368 _ACEOF
   12369 if ac_fn_c_try_link "$LINENO"
   12370 then :
   12371   ac_cv_lib_svld_dlopen=yes
   12372 else $as_nop
   12373   ac_cv_lib_svld_dlopen=no
   12374 fi
   12375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12376     conftest$ac_exeext conftest.$ac_ext
   12377 LIBS=$ac_check_lib_save_LIBS
   12378 fi
   12379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12380 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12381 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12382 then :
   12383   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12384 else $as_nop
   12385   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12386 printf %s "checking for dld_link in -ldld... " >&6; }
   12387 if test ${ac_cv_lib_dld_dld_link+y}
   12388 then :
   12389   printf %s "(cached) " >&6
   12390 else $as_nop
   12391   ac_check_lib_save_LIBS=$LIBS
   12392 LIBS="-ldld  $LIBS"
   12393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12394 /* end confdefs.h.  */
   12395 
   12396 /* Override any GCC internal prototype to avoid an error.
   12397    Use char because int might match the return type of a GCC
   12398    builtin and then its argument prototype would still apply.  */
   12399 char dld_link ();
   12400 int
   12401 main (void)
   12402 {
   12403 return dld_link ();
   12404   ;
   12405   return 0;
   12406 }
   12407 _ACEOF
   12408 if ac_fn_c_try_link "$LINENO"
   12409 then :
   12410   ac_cv_lib_dld_dld_link=yes
   12411 else $as_nop
   12412   ac_cv_lib_dld_dld_link=no
   12413 fi
   12414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12415     conftest$ac_exeext conftest.$ac_ext
   12416 LIBS=$ac_check_lib_save_LIBS
   12417 fi
   12418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12419 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12420 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12421 then :
   12422   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12423 fi
   12424 
   12425 
   12426 fi
   12427 
   12428 
   12429 fi
   12430 
   12431 
   12432 fi
   12433 
   12434 
   12435 fi
   12436 
   12437 
   12438 fi
   12439 
   12440     ;;
   12441   esac
   12442 
   12443   if test no = "$lt_cv_dlopen"; then
   12444     enable_dlopen=no
   12445   else
   12446     enable_dlopen=yes
   12447   fi
   12448 
   12449   case $lt_cv_dlopen in
   12450   dlopen)
   12451     save_CPPFLAGS=$CPPFLAGS
   12452     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12453 
   12454     save_LDFLAGS=$LDFLAGS
   12455     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12456 
   12457     save_LIBS=$LIBS
   12458     LIBS="$lt_cv_dlopen_libs $LIBS"
   12459 
   12460     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12461 printf %s "checking whether a program can dlopen itself... " >&6; }
   12462 if test ${lt_cv_dlopen_self+y}
   12463 then :
   12464   printf %s "(cached) " >&6
   12465 else $as_nop
   12466   	  if test yes = "$cross_compiling"; then :
   12467   lt_cv_dlopen_self=cross
   12468 else
   12469   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12470   lt_status=$lt_dlunknown
   12471   cat > conftest.$ac_ext <<_LT_EOF
   12472 #line $LINENO "configure"
   12473 #include "confdefs.h"
   12474 
   12475 #if HAVE_DLFCN_H
   12476 #include <dlfcn.h>
   12477 #endif
   12478 
   12479 #include <stdio.h>
   12480 
   12481 #ifdef RTLD_GLOBAL
   12482 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12483 #else
   12484 #  ifdef DL_GLOBAL
   12485 #    define LT_DLGLOBAL		DL_GLOBAL
   12486 #  else
   12487 #    define LT_DLGLOBAL		0
   12488 #  endif
   12489 #endif
   12490 
   12491 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12492    find out it does not work in some platform. */
   12493 #ifndef LT_DLLAZY_OR_NOW
   12494 #  ifdef RTLD_LAZY
   12495 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12496 #  else
   12497 #    ifdef DL_LAZY
   12498 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12499 #    else
   12500 #      ifdef RTLD_NOW
   12501 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12502 #      else
   12503 #        ifdef DL_NOW
   12504 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12505 #        else
   12506 #          define LT_DLLAZY_OR_NOW	0
   12507 #        endif
   12508 #      endif
   12509 #    endif
   12510 #  endif
   12511 #endif
   12512 
   12513 /* When -fvisibility=hidden is used, assume the code has been annotated
   12514    correspondingly for the symbols needed.  */
   12515 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12516 int fnord () __attribute__((visibility("default")));
   12517 #endif
   12518 
   12519 int fnord () { return 42; }
   12520 int main ()
   12521 {
   12522   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12523   int status = $lt_dlunknown;
   12524 
   12525   if (self)
   12526     {
   12527       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12528       else
   12529         {
   12530 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12531           else puts (dlerror ());
   12532 	}
   12533       /* dlclose (self); */
   12534     }
   12535   else
   12536     puts (dlerror ());
   12537 
   12538   return status;
   12539 }
   12540 _LT_EOF
   12541   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12542   (eval $ac_link) 2>&5
   12543   ac_status=$?
   12544   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12545   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12546     (./conftest; exit; ) >&5 2>/dev/null
   12547     lt_status=$?
   12548     case x$lt_status in
   12549       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12550       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12551       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12552     esac
   12553   else :
   12554     # compilation failed
   12555     lt_cv_dlopen_self=no
   12556   fi
   12557 fi
   12558 rm -fr conftest*
   12559 
   12560 
   12561 fi
   12562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12563 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12564 
   12565     if test yes = "$lt_cv_dlopen_self"; then
   12566       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12567       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12568 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12569 if test ${lt_cv_dlopen_self_static+y}
   12570 then :
   12571   printf %s "(cached) " >&6
   12572 else $as_nop
   12573   	  if test yes = "$cross_compiling"; then :
   12574   lt_cv_dlopen_self_static=cross
   12575 else
   12576   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12577   lt_status=$lt_dlunknown
   12578   cat > conftest.$ac_ext <<_LT_EOF
   12579 #line $LINENO "configure"
   12580 #include "confdefs.h"
   12581 
   12582 #if HAVE_DLFCN_H
   12583 #include <dlfcn.h>
   12584 #endif
   12585 
   12586 #include <stdio.h>
   12587 
   12588 #ifdef RTLD_GLOBAL
   12589 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12590 #else
   12591 #  ifdef DL_GLOBAL
   12592 #    define LT_DLGLOBAL		DL_GLOBAL
   12593 #  else
   12594 #    define LT_DLGLOBAL		0
   12595 #  endif
   12596 #endif
   12597 
   12598 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12599    find out it does not work in some platform. */
   12600 #ifndef LT_DLLAZY_OR_NOW
   12601 #  ifdef RTLD_LAZY
   12602 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12603 #  else
   12604 #    ifdef DL_LAZY
   12605 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12606 #    else
   12607 #      ifdef RTLD_NOW
   12608 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12609 #      else
   12610 #        ifdef DL_NOW
   12611 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12612 #        else
   12613 #          define LT_DLLAZY_OR_NOW	0
   12614 #        endif
   12615 #      endif
   12616 #    endif
   12617 #  endif
   12618 #endif
   12619 
   12620 /* When -fvisibility=hidden is used, assume the code has been annotated
   12621    correspondingly for the symbols needed.  */
   12622 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12623 int fnord () __attribute__((visibility("default")));
   12624 #endif
   12625 
   12626 int fnord () { return 42; }
   12627 int main ()
   12628 {
   12629   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12630   int status = $lt_dlunknown;
   12631 
   12632   if (self)
   12633     {
   12634       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12635       else
   12636         {
   12637 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12638           else puts (dlerror ());
   12639 	}
   12640       /* dlclose (self); */
   12641     }
   12642   else
   12643     puts (dlerror ());
   12644 
   12645   return status;
   12646 }
   12647 _LT_EOF
   12648   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12649   (eval $ac_link) 2>&5
   12650   ac_status=$?
   12651   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12652   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12653     (./conftest; exit; ) >&5 2>/dev/null
   12654     lt_status=$?
   12655     case x$lt_status in
   12656       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12657       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12658       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12659     esac
   12660   else :
   12661     # compilation failed
   12662     lt_cv_dlopen_self_static=no
   12663   fi
   12664 fi
   12665 rm -fr conftest*
   12666 
   12667 
   12668 fi
   12669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12670 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12671     fi
   12672 
   12673     CPPFLAGS=$save_CPPFLAGS
   12674     LDFLAGS=$save_LDFLAGS
   12675     LIBS=$save_LIBS
   12676     ;;
   12677   esac
   12678 
   12679   case $lt_cv_dlopen_self in
   12680   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12681   *) enable_dlopen_self=unknown ;;
   12682   esac
   12683 
   12684   case $lt_cv_dlopen_self_static in
   12685   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12686   *) enable_dlopen_self_static=unknown ;;
   12687   esac
   12688 fi
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 striplib=
   12707 old_striplib=
   12708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12709 printf %s "checking whether stripping libraries is possible... " >&6; }
   12710 if test -z "$STRIP"; then
   12711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12712 printf "%s\n" "no" >&6; }
   12713 else
   12714   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12715     old_striplib="$STRIP --strip-debug"
   12716     striplib="$STRIP --strip-unneeded"
   12717     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12718 printf "%s\n" "yes" >&6; }
   12719   else
   12720     case $host_os in
   12721     darwin*)
   12722       # FIXME - insert some real tests, host_os isn't really good enough
   12723       striplib="$STRIP -x"
   12724       old_striplib="$STRIP -S"
   12725       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12726 printf "%s\n" "yes" >&6; }
   12727       ;;
   12728     freebsd*)
   12729       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12730         old_striplib="$STRIP --strip-debug"
   12731         striplib="$STRIP --strip-unneeded"
   12732         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12733 printf "%s\n" "yes" >&6; }
   12734       else
   12735         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12736 printf "%s\n" "no" >&6; }
   12737       fi
   12738       ;;
   12739     *)
   12740       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12741 printf "%s\n" "no" >&6; }
   12742       ;;
   12743     esac
   12744   fi
   12745 fi
   12746 
   12747 
   12748 
   12749 
   12750 
   12751 
   12752 
   12753 
   12754 
   12755 
   12756 
   12757 
   12758   # Report what library types will actually be built
   12759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12760 printf %s "checking if libtool supports shared libraries... " >&6; }
   12761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12762 printf "%s\n" "$can_build_shared" >&6; }
   12763 
   12764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12765 printf %s "checking whether to build shared libraries... " >&6; }
   12766   test no = "$can_build_shared" && enable_shared=no
   12767 
   12768   # On AIX, shared libraries and static libraries use the same namespace, and
   12769   # are all built from PIC.
   12770   case $host_os in
   12771   aix3*)
   12772     test yes = "$enable_shared" && enable_static=no
   12773     if test -n "$RANLIB"; then
   12774       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12775       postinstall_cmds='$RANLIB $lib'
   12776     fi
   12777     ;;
   12778 
   12779   aix[4-9]*)
   12780     if test ia64 != "$host_cpu"; then
   12781       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12782       yes,aix,yes) ;;			# shared object as lib.so file only
   12783       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12784       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12785       esac
   12786     fi
   12787     ;;
   12788   esac
   12789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12790 printf "%s\n" "$enable_shared" >&6; }
   12791 
   12792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12793 printf %s "checking whether to build static libraries... " >&6; }
   12794   # Make sure either enable_shared or enable_static is yes.
   12795   test yes = "$enable_shared" || enable_static=yes
   12796   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12797 printf "%s\n" "$enable_static" >&6; }
   12798 
   12799 
   12800 
   12801 
   12802 fi
   12803 ac_ext=c
   12804 ac_cpp='$CPP $CPPFLAGS'
   12805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12808 
   12809 CC=$lt_save_CC
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 
   12825         ac_config_commands="$ac_config_commands libtool"
   12826 
   12827 
   12828 
   12829 
   12830 # Only expand once:
   12831 
   12832 
   12833 
   12834 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 
   12842 
   12843 
   12844 
   12845 
   12846 
   12847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12848 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12849 if test ${ac_cv_c_undeclared_builtin_options+y}
   12850 then :
   12851   printf %s "(cached) " >&6
   12852 else $as_nop
   12853   ac_save_CFLAGS=$CFLAGS
   12854    ac_cv_c_undeclared_builtin_options='cannot detect'
   12855    for ac_arg in '' -fno-builtin; do
   12856      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12857      # This test program should *not* compile successfully.
   12858      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12859 /* end confdefs.h.  */
   12860 
   12861 int
   12862 main (void)
   12863 {
   12864 (void) strchr;
   12865   ;
   12866   return 0;
   12867 }
   12868 _ACEOF
   12869 if ac_fn_c_try_compile "$LINENO"
   12870 then :
   12871 
   12872 else $as_nop
   12873   # This test program should compile successfully.
   12874         # No library function is consistently available on
   12875         # freestanding implementations, so test against a dummy
   12876         # declaration.  Include always-available headers on the
   12877         # off chance that they somehow elicit warnings.
   12878         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12879 /* end confdefs.h.  */
   12880 #include <float.h>
   12881 #include <limits.h>
   12882 #include <stdarg.h>
   12883 #include <stddef.h>
   12884 extern void ac_decl (int, char *);
   12885 
   12886 int
   12887 main (void)
   12888 {
   12889 (void) ac_decl (0, (char *) 0);
   12890   (void) ac_decl;
   12891 
   12892   ;
   12893   return 0;
   12894 }
   12895 _ACEOF
   12896 if ac_fn_c_try_compile "$LINENO"
   12897 then :
   12898   if test x"$ac_arg" = x
   12899 then :
   12900   ac_cv_c_undeclared_builtin_options='none needed'
   12901 else $as_nop
   12902   ac_cv_c_undeclared_builtin_options=$ac_arg
   12903 fi
   12904           break
   12905 fi
   12906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12907 fi
   12908 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12909     done
   12910     CFLAGS=$ac_save_CFLAGS
   12911 
   12912 fi
   12913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12914 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12915   case $ac_cv_c_undeclared_builtin_options in #(
   12916   'cannot detect') :
   12917     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12918 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12919 as_fn_error $? "cannot make $CC report undeclared builtins
   12920 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12921   'none needed') :
   12922     ac_c_undeclared_builtin_options='' ;; #(
   12923   *) :
   12924     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12925 esac
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12932 if test "x$ac_cv_have_decl___clang__" = xyes
   12933 then :
   12934   CLANGCC="yes"
   12935 else $as_nop
   12936   CLANGCC="no"
   12937 fi
   12938 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12939 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12940 then :
   12941   INTELCC="yes"
   12942 else $as_nop
   12943   INTELCC="no"
   12944 fi
   12945 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12946 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12947 then :
   12948   SUNCC="yes"
   12949 else $as_nop
   12950   SUNCC="no"
   12951 fi
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12961 	if test -n "$ac_tool_prefix"; then
   12962   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12963 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12965 printf %s "checking for $ac_word... " >&6; }
   12966 if test ${ac_cv_path_PKG_CONFIG+y}
   12967 then :
   12968   printf %s "(cached) " >&6
   12969 else $as_nop
   12970   case $PKG_CONFIG in
   12971   [\\/]* | ?:[\\/]*)
   12972   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12973   ;;
   12974   *)
   12975   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12976 for as_dir in $PATH
   12977 do
   12978   IFS=$as_save_IFS
   12979   case $as_dir in #(((
   12980     '') as_dir=./ ;;
   12981     */) ;;
   12982     *) as_dir=$as_dir/ ;;
   12983   esac
   12984     for ac_exec_ext in '' $ac_executable_extensions; do
   12985   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12986     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12987     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12988     break 2
   12989   fi
   12990 done
   12991   done
   12992 IFS=$as_save_IFS
   12993 
   12994   ;;
   12995 esac
   12996 fi
   12997 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12998 if test -n "$PKG_CONFIG"; then
   12999   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13000 printf "%s\n" "$PKG_CONFIG" >&6; }
   13001 else
   13002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13003 printf "%s\n" "no" >&6; }
   13004 fi
   13005 
   13006 
   13007 fi
   13008 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13009   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13010   # Extract the first word of "pkg-config", so it can be a program name with args.
   13011 set dummy pkg-config; ac_word=$2
   13012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13013 printf %s "checking for $ac_word... " >&6; }
   13014 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13015 then :
   13016   printf %s "(cached) " >&6
   13017 else $as_nop
   13018   case $ac_pt_PKG_CONFIG in
   13019   [\\/]* | ?:[\\/]*)
   13020   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13021   ;;
   13022   *)
   13023   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13024 for as_dir in $PATH
   13025 do
   13026   IFS=$as_save_IFS
   13027   case $as_dir in #(((
   13028     '') as_dir=./ ;;
   13029     */) ;;
   13030     *) as_dir=$as_dir/ ;;
   13031   esac
   13032     for ac_exec_ext in '' $ac_executable_extensions; do
   13033   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13034     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13035     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13036     break 2
   13037   fi
   13038 done
   13039   done
   13040 IFS=$as_save_IFS
   13041 
   13042   ;;
   13043 esac
   13044 fi
   13045 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13046 if test -n "$ac_pt_PKG_CONFIG"; then
   13047   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13048 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13049 else
   13050   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13051 printf "%s\n" "no" >&6; }
   13052 fi
   13053 
   13054   if test "x$ac_pt_PKG_CONFIG" = x; then
   13055     PKG_CONFIG=""
   13056   else
   13057     case $cross_compiling:$ac_tool_warned in
   13058 yes:)
   13059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13060 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13061 ac_tool_warned=yes ;;
   13062 esac
   13063     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13064   fi
   13065 else
   13066   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13067 fi
   13068 
   13069 fi
   13070 if test -n "$PKG_CONFIG"; then
   13071 	_pkg_min_version=0.9.0
   13072 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13073 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13074 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13075 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13076 printf "%s\n" "yes" >&6; }
   13077 	else
   13078 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13079 printf "%s\n" "no" >&6; }
   13080 		PKG_CONFIG=""
   13081 	fi
   13082 fi
   13083 
   13084 
   13085 
   13086 
   13087 
   13088 # Check whether --enable-selective-werror was given.
   13089 if test ${enable_selective_werror+y}
   13090 then :
   13091   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13092 else $as_nop
   13093   SELECTIVE_WERROR=yes
   13094 fi
   13095 
   13096 
   13097 
   13098 
   13099 
   13100 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13101 if test "x$SUNCC" = "xyes"; then
   13102     BASE_CFLAGS="-v"
   13103 else
   13104     BASE_CFLAGS=""
   13105 fi
   13106 
   13107 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13108 
   13109 
   13110 
   13111 
   13112 
   13113 
   13114 
   13115 
   13116 
   13117 
   13118 
   13119 
   13120 
   13121 xorg_testset_save_CFLAGS="$CFLAGS"
   13122 
   13123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13126 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13127 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13128 then :
   13129   printf %s "(cached) " >&6
   13130 else $as_nop
   13131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13132 /* end confdefs.h.  */
   13133 int i;
   13134 _ACEOF
   13135 if ac_fn_c_try_compile "$LINENO"
   13136 then :
   13137   xorg_cv_cc_flag_unknown_warning_option=yes
   13138 else $as_nop
   13139   xorg_cv_cc_flag_unknown_warning_option=no
   13140 fi
   13141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13142 fi
   13143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13144 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13146 	CFLAGS="$xorg_testset_save_CFLAGS"
   13147 fi
   13148 
   13149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13152 	fi
   13153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13154 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13155 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13156 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13157 then :
   13158   printf %s "(cached) " >&6
   13159 else $as_nop
   13160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13161 /* end confdefs.h.  */
   13162 int i;
   13163 _ACEOF
   13164 if ac_fn_c_try_compile "$LINENO"
   13165 then :
   13166   xorg_cv_cc_flag_unused_command_line_argument=yes
   13167 else $as_nop
   13168   xorg_cv_cc_flag_unused_command_line_argument=no
   13169 fi
   13170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13171 fi
   13172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13173 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13175 	CFLAGS="$xorg_testset_save_CFLAGS"
   13176 fi
   13177 
   13178 found="no"
   13179 
   13180 	if test $found = "no" ; then
   13181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13183 		fi
   13184 
   13185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13187 		fi
   13188 
   13189 		CFLAGS="$CFLAGS -Wall"
   13190 
   13191 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13192 printf %s "checking if $CC supports -Wall... " >&6; }
   13193 		cacheid=xorg_cv_cc_flag__Wall
   13194 		if eval test \${$cacheid+y}
   13195 then :
   13196   printf %s "(cached) " >&6
   13197 else $as_nop
   13198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13199 /* end confdefs.h.  */
   13200 int i;
   13201 int
   13202 main (void)
   13203 {
   13204 
   13205   ;
   13206   return 0;
   13207 }
   13208 _ACEOF
   13209 if ac_fn_c_try_link "$LINENO"
   13210 then :
   13211   eval $cacheid=yes
   13212 else $as_nop
   13213   eval $cacheid=no
   13214 fi
   13215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13216     conftest$ac_exeext conftest.$ac_ext
   13217 fi
   13218 
   13219 
   13220 		CFLAGS="$xorg_testset_save_CFLAGS"
   13221 
   13222 		eval supported=\$$cacheid
   13223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13224 printf "%s\n" "$supported" >&6; }
   13225 		if test "$supported" = "yes" ; then
   13226 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13227 			found="yes"
   13228 		fi
   13229 	fi
   13230 
   13231 
   13232 
   13233 
   13234 
   13235 
   13236 
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 
   13243 
   13244 
   13245 xorg_testset_save_CFLAGS="$CFLAGS"
   13246 
   13247 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13248 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13249 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13250 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13251 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13252 then :
   13253   printf %s "(cached) " >&6
   13254 else $as_nop
   13255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13256 /* end confdefs.h.  */
   13257 int i;
   13258 _ACEOF
   13259 if ac_fn_c_try_compile "$LINENO"
   13260 then :
   13261   xorg_cv_cc_flag_unknown_warning_option=yes
   13262 else $as_nop
   13263   xorg_cv_cc_flag_unknown_warning_option=no
   13264 fi
   13265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13266 fi
   13267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13268 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13269 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13270 	CFLAGS="$xorg_testset_save_CFLAGS"
   13271 fi
   13272 
   13273 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13274 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13275 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13276 	fi
   13277 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13278 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13279 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13280 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13281 then :
   13282   printf %s "(cached) " >&6
   13283 else $as_nop
   13284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13285 /* end confdefs.h.  */
   13286 int i;
   13287 _ACEOF
   13288 if ac_fn_c_try_compile "$LINENO"
   13289 then :
   13290   xorg_cv_cc_flag_unused_command_line_argument=yes
   13291 else $as_nop
   13292   xorg_cv_cc_flag_unused_command_line_argument=no
   13293 fi
   13294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13295 fi
   13296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13297 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13298 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13299 	CFLAGS="$xorg_testset_save_CFLAGS"
   13300 fi
   13301 
   13302 found="no"
   13303 
   13304 	if test $found = "no" ; then
   13305 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13307 		fi
   13308 
   13309 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13311 		fi
   13312 
   13313 		CFLAGS="$CFLAGS -Wpointer-arith"
   13314 
   13315 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13316 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13317 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13318 		if eval test \${$cacheid+y}
   13319 then :
   13320   printf %s "(cached) " >&6
   13321 else $as_nop
   13322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13323 /* end confdefs.h.  */
   13324 int i;
   13325 int
   13326 main (void)
   13327 {
   13328 
   13329   ;
   13330   return 0;
   13331 }
   13332 _ACEOF
   13333 if ac_fn_c_try_link "$LINENO"
   13334 then :
   13335   eval $cacheid=yes
   13336 else $as_nop
   13337   eval $cacheid=no
   13338 fi
   13339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13340     conftest$ac_exeext conftest.$ac_ext
   13341 fi
   13342 
   13343 
   13344 		CFLAGS="$xorg_testset_save_CFLAGS"
   13345 
   13346 		eval supported=\$$cacheid
   13347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13348 printf "%s\n" "$supported" >&6; }
   13349 		if test "$supported" = "yes" ; then
   13350 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13351 			found="yes"
   13352 		fi
   13353 	fi
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 
   13364 
   13365 
   13366 
   13367 
   13368 
   13369 xorg_testset_save_CFLAGS="$CFLAGS"
   13370 
   13371 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13372 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13374 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13375 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13376 then :
   13377   printf %s "(cached) " >&6
   13378 else $as_nop
   13379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13380 /* end confdefs.h.  */
   13381 int i;
   13382 _ACEOF
   13383 if ac_fn_c_try_compile "$LINENO"
   13384 then :
   13385   xorg_cv_cc_flag_unknown_warning_option=yes
   13386 else $as_nop
   13387   xorg_cv_cc_flag_unknown_warning_option=no
   13388 fi
   13389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13390 fi
   13391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13392 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13393 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13394 	CFLAGS="$xorg_testset_save_CFLAGS"
   13395 fi
   13396 
   13397 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13398 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13399 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13400 	fi
   13401 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13402 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13403 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13404 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13405 then :
   13406   printf %s "(cached) " >&6
   13407 else $as_nop
   13408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13409 /* end confdefs.h.  */
   13410 int i;
   13411 _ACEOF
   13412 if ac_fn_c_try_compile "$LINENO"
   13413 then :
   13414   xorg_cv_cc_flag_unused_command_line_argument=yes
   13415 else $as_nop
   13416   xorg_cv_cc_flag_unused_command_line_argument=no
   13417 fi
   13418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13419 fi
   13420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13421 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13422 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13423 	CFLAGS="$xorg_testset_save_CFLAGS"
   13424 fi
   13425 
   13426 found="no"
   13427 
   13428 	if test $found = "no" ; then
   13429 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13431 		fi
   13432 
   13433 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13435 		fi
   13436 
   13437 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13438 
   13439 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13440 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13441 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13442 		if eval test \${$cacheid+y}
   13443 then :
   13444   printf %s "(cached) " >&6
   13445 else $as_nop
   13446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13447 /* end confdefs.h.  */
   13448 int i;
   13449 int
   13450 main (void)
   13451 {
   13452 
   13453   ;
   13454   return 0;
   13455 }
   13456 _ACEOF
   13457 if ac_fn_c_try_link "$LINENO"
   13458 then :
   13459   eval $cacheid=yes
   13460 else $as_nop
   13461   eval $cacheid=no
   13462 fi
   13463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13464     conftest$ac_exeext conftest.$ac_ext
   13465 fi
   13466 
   13467 
   13468 		CFLAGS="$xorg_testset_save_CFLAGS"
   13469 
   13470 		eval supported=\$$cacheid
   13471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13472 printf "%s\n" "$supported" >&6; }
   13473 		if test "$supported" = "yes" ; then
   13474 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13475 			found="yes"
   13476 		fi
   13477 	fi
   13478 
   13479 
   13480 
   13481 
   13482 
   13483 
   13484 
   13485 
   13486 
   13487 
   13488 
   13489 
   13490 
   13491 
   13492 
   13493 xorg_testset_save_CFLAGS="$CFLAGS"
   13494 
   13495 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13496 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13497 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13498 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13499 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13500 then :
   13501   printf %s "(cached) " >&6
   13502 else $as_nop
   13503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13504 /* end confdefs.h.  */
   13505 int i;
   13506 _ACEOF
   13507 if ac_fn_c_try_compile "$LINENO"
   13508 then :
   13509   xorg_cv_cc_flag_unknown_warning_option=yes
   13510 else $as_nop
   13511   xorg_cv_cc_flag_unknown_warning_option=no
   13512 fi
   13513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13514 fi
   13515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13516 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13517 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13518 	CFLAGS="$xorg_testset_save_CFLAGS"
   13519 fi
   13520 
   13521 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13522 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13523 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13524 	fi
   13525 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13526 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13527 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13528 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13529 then :
   13530   printf %s "(cached) " >&6
   13531 else $as_nop
   13532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13533 /* end confdefs.h.  */
   13534 int i;
   13535 _ACEOF
   13536 if ac_fn_c_try_compile "$LINENO"
   13537 then :
   13538   xorg_cv_cc_flag_unused_command_line_argument=yes
   13539 else $as_nop
   13540   xorg_cv_cc_flag_unused_command_line_argument=no
   13541 fi
   13542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13543 fi
   13544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13545 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13546 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13547 	CFLAGS="$xorg_testset_save_CFLAGS"
   13548 fi
   13549 
   13550 found="no"
   13551 
   13552 	if test $found = "no" ; then
   13553 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13555 		fi
   13556 
   13557 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13559 		fi
   13560 
   13561 		CFLAGS="$CFLAGS -Wformat=2"
   13562 
   13563 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13564 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13565 		cacheid=xorg_cv_cc_flag__Wformat_2
   13566 		if eval test \${$cacheid+y}
   13567 then :
   13568   printf %s "(cached) " >&6
   13569 else $as_nop
   13570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13571 /* end confdefs.h.  */
   13572 int i;
   13573 int
   13574 main (void)
   13575 {
   13576 
   13577   ;
   13578   return 0;
   13579 }
   13580 _ACEOF
   13581 if ac_fn_c_try_link "$LINENO"
   13582 then :
   13583   eval $cacheid=yes
   13584 else $as_nop
   13585   eval $cacheid=no
   13586 fi
   13587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13588     conftest$ac_exeext conftest.$ac_ext
   13589 fi
   13590 
   13591 
   13592 		CFLAGS="$xorg_testset_save_CFLAGS"
   13593 
   13594 		eval supported=\$$cacheid
   13595 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13596 printf "%s\n" "$supported" >&6; }
   13597 		if test "$supported" = "yes" ; then
   13598 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13599 			found="yes"
   13600 		fi
   13601 	fi
   13602 
   13603 	if test $found = "no" ; then
   13604 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13605 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13606 		fi
   13607 
   13608 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13609 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13610 		fi
   13611 
   13612 		CFLAGS="$CFLAGS -Wformat"
   13613 
   13614 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13615 printf %s "checking if $CC supports -Wformat... " >&6; }
   13616 		cacheid=xorg_cv_cc_flag__Wformat
   13617 		if eval test \${$cacheid+y}
   13618 then :
   13619   printf %s "(cached) " >&6
   13620 else $as_nop
   13621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13622 /* end confdefs.h.  */
   13623 int i;
   13624 int
   13625 main (void)
   13626 {
   13627 
   13628   ;
   13629   return 0;
   13630 }
   13631 _ACEOF
   13632 if ac_fn_c_try_link "$LINENO"
   13633 then :
   13634   eval $cacheid=yes
   13635 else $as_nop
   13636   eval $cacheid=no
   13637 fi
   13638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13639     conftest$ac_exeext conftest.$ac_ext
   13640 fi
   13641 
   13642 
   13643 		CFLAGS="$xorg_testset_save_CFLAGS"
   13644 
   13645 		eval supported=\$$cacheid
   13646 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13647 printf "%s\n" "$supported" >&6; }
   13648 		if test "$supported" = "yes" ; then
   13649 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13650 			found="yes"
   13651 		fi
   13652 	fi
   13653 
   13654 
   13655 
   13656 
   13657 
   13658 
   13659 
   13660 
   13661 
   13662 
   13663 
   13664 
   13665 
   13666 
   13667 
   13668 
   13669 
   13670 xorg_testset_save_CFLAGS="$CFLAGS"
   13671 
   13672 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13673 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13674 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13675 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13676 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13677 then :
   13678   printf %s "(cached) " >&6
   13679 else $as_nop
   13680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13681 /* end confdefs.h.  */
   13682 int i;
   13683 _ACEOF
   13684 if ac_fn_c_try_compile "$LINENO"
   13685 then :
   13686   xorg_cv_cc_flag_unknown_warning_option=yes
   13687 else $as_nop
   13688   xorg_cv_cc_flag_unknown_warning_option=no
   13689 fi
   13690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13691 fi
   13692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13693 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13694 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13695 	CFLAGS="$xorg_testset_save_CFLAGS"
   13696 fi
   13697 
   13698 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13699 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13700 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13701 	fi
   13702 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13703 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13704 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13705 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13706 then :
   13707   printf %s "(cached) " >&6
   13708 else $as_nop
   13709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13710 /* end confdefs.h.  */
   13711 int i;
   13712 _ACEOF
   13713 if ac_fn_c_try_compile "$LINENO"
   13714 then :
   13715   xorg_cv_cc_flag_unused_command_line_argument=yes
   13716 else $as_nop
   13717   xorg_cv_cc_flag_unused_command_line_argument=no
   13718 fi
   13719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13720 fi
   13721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13722 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13723 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13724 	CFLAGS="$xorg_testset_save_CFLAGS"
   13725 fi
   13726 
   13727 found="no"
   13728 
   13729 	if test $found = "no" ; then
   13730 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13731 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13732 		fi
   13733 
   13734 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13735 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13736 		fi
   13737 
   13738 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13739 
   13740 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13741 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13742 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13743 		if eval test \${$cacheid+y}
   13744 then :
   13745   printf %s "(cached) " >&6
   13746 else $as_nop
   13747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13748 /* end confdefs.h.  */
   13749 int i;
   13750 int
   13751 main (void)
   13752 {
   13753 
   13754   ;
   13755   return 0;
   13756 }
   13757 _ACEOF
   13758 if ac_fn_c_try_link "$LINENO"
   13759 then :
   13760   eval $cacheid=yes
   13761 else $as_nop
   13762   eval $cacheid=no
   13763 fi
   13764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13765     conftest$ac_exeext conftest.$ac_ext
   13766 fi
   13767 
   13768 
   13769 		CFLAGS="$xorg_testset_save_CFLAGS"
   13770 
   13771 		eval supported=\$$cacheid
   13772 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13773 printf "%s\n" "$supported" >&6; }
   13774 		if test "$supported" = "yes" ; then
   13775 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13776 			found="yes"
   13777 		fi
   13778 	fi
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 
   13790 
   13791 
   13792 
   13793 
   13794 xorg_testset_save_CFLAGS="$CFLAGS"
   13795 
   13796 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13797 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13798 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13799 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13800 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13801 then :
   13802   printf %s "(cached) " >&6
   13803 else $as_nop
   13804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13805 /* end confdefs.h.  */
   13806 int i;
   13807 _ACEOF
   13808 if ac_fn_c_try_compile "$LINENO"
   13809 then :
   13810   xorg_cv_cc_flag_unknown_warning_option=yes
   13811 else $as_nop
   13812   xorg_cv_cc_flag_unknown_warning_option=no
   13813 fi
   13814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13815 fi
   13816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13817 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13819 	CFLAGS="$xorg_testset_save_CFLAGS"
   13820 fi
   13821 
   13822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13825 	fi
   13826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13827 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13828 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13829 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13830 then :
   13831   printf %s "(cached) " >&6
   13832 else $as_nop
   13833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13834 /* end confdefs.h.  */
   13835 int i;
   13836 _ACEOF
   13837 if ac_fn_c_try_compile "$LINENO"
   13838 then :
   13839   xorg_cv_cc_flag_unused_command_line_argument=yes
   13840 else $as_nop
   13841   xorg_cv_cc_flag_unused_command_line_argument=no
   13842 fi
   13843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13844 fi
   13845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13846 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13848 	CFLAGS="$xorg_testset_save_CFLAGS"
   13849 fi
   13850 
   13851 found="no"
   13852 
   13853 	if test $found = "no" ; then
   13854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13856 		fi
   13857 
   13858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13860 		fi
   13861 
   13862 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13863 
   13864 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13865 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13866 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13867 		if eval test \${$cacheid+y}
   13868 then :
   13869   printf %s "(cached) " >&6
   13870 else $as_nop
   13871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13872 /* end confdefs.h.  */
   13873 int i;
   13874 int
   13875 main (void)
   13876 {
   13877 
   13878   ;
   13879   return 0;
   13880 }
   13881 _ACEOF
   13882 if ac_fn_c_try_link "$LINENO"
   13883 then :
   13884   eval $cacheid=yes
   13885 else $as_nop
   13886   eval $cacheid=no
   13887 fi
   13888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13889     conftest$ac_exeext conftest.$ac_ext
   13890 fi
   13891 
   13892 
   13893 		CFLAGS="$xorg_testset_save_CFLAGS"
   13894 
   13895 		eval supported=\$$cacheid
   13896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13897 printf "%s\n" "$supported" >&6; }
   13898 		if test "$supported" = "yes" ; then
   13899 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13900 			found="yes"
   13901 		fi
   13902 	fi
   13903 
   13904 
   13905 
   13906 
   13907 
   13908 
   13909 
   13910 
   13911 
   13912 
   13913 
   13914 
   13915 
   13916 
   13917 
   13918 xorg_testset_save_CFLAGS="$CFLAGS"
   13919 
   13920 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13921 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13922 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13923 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13924 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13925 then :
   13926   printf %s "(cached) " >&6
   13927 else $as_nop
   13928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13929 /* end confdefs.h.  */
   13930 int i;
   13931 _ACEOF
   13932 if ac_fn_c_try_compile "$LINENO"
   13933 then :
   13934   xorg_cv_cc_flag_unknown_warning_option=yes
   13935 else $as_nop
   13936   xorg_cv_cc_flag_unknown_warning_option=no
   13937 fi
   13938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13939 fi
   13940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13941 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13942 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13943 	CFLAGS="$xorg_testset_save_CFLAGS"
   13944 fi
   13945 
   13946 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13947 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13948 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13949 	fi
   13950 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13951 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13952 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13953 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13954 then :
   13955   printf %s "(cached) " >&6
   13956 else $as_nop
   13957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13958 /* end confdefs.h.  */
   13959 int i;
   13960 _ACEOF
   13961 if ac_fn_c_try_compile "$LINENO"
   13962 then :
   13963   xorg_cv_cc_flag_unused_command_line_argument=yes
   13964 else $as_nop
   13965   xorg_cv_cc_flag_unused_command_line_argument=no
   13966 fi
   13967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13968 fi
   13969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13970 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13971 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13972 	CFLAGS="$xorg_testset_save_CFLAGS"
   13973 fi
   13974 
   13975 found="no"
   13976 
   13977 	if test $found = "no" ; then
   13978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13980 		fi
   13981 
   13982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13984 		fi
   13985 
   13986 		CFLAGS="$CFLAGS -Wnested-externs"
   13987 
   13988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13989 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13990 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13991 		if eval test \${$cacheid+y}
   13992 then :
   13993   printf %s "(cached) " >&6
   13994 else $as_nop
   13995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13996 /* end confdefs.h.  */
   13997 int i;
   13998 int
   13999 main (void)
   14000 {
   14001 
   14002   ;
   14003   return 0;
   14004 }
   14005 _ACEOF
   14006 if ac_fn_c_try_link "$LINENO"
   14007 then :
   14008   eval $cacheid=yes
   14009 else $as_nop
   14010   eval $cacheid=no
   14011 fi
   14012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14013     conftest$ac_exeext conftest.$ac_ext
   14014 fi
   14015 
   14016 
   14017 		CFLAGS="$xorg_testset_save_CFLAGS"
   14018 
   14019 		eval supported=\$$cacheid
   14020 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14021 printf "%s\n" "$supported" >&6; }
   14022 		if test "$supported" = "yes" ; then
   14023 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14024 			found="yes"
   14025 		fi
   14026 	fi
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 
   14033 
   14034 
   14035 
   14036 
   14037 
   14038 
   14039 
   14040 
   14041 
   14042 xorg_testset_save_CFLAGS="$CFLAGS"
   14043 
   14044 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14045 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14046 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14047 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14048 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14049 then :
   14050   printf %s "(cached) " >&6
   14051 else $as_nop
   14052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14053 /* end confdefs.h.  */
   14054 int i;
   14055 _ACEOF
   14056 if ac_fn_c_try_compile "$LINENO"
   14057 then :
   14058   xorg_cv_cc_flag_unknown_warning_option=yes
   14059 else $as_nop
   14060   xorg_cv_cc_flag_unknown_warning_option=no
   14061 fi
   14062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14063 fi
   14064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14065 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14066 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14067 	CFLAGS="$xorg_testset_save_CFLAGS"
   14068 fi
   14069 
   14070 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14071 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14072 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14073 	fi
   14074 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14075 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14076 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14077 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14078 then :
   14079   printf %s "(cached) " >&6
   14080 else $as_nop
   14081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14082 /* end confdefs.h.  */
   14083 int i;
   14084 _ACEOF
   14085 if ac_fn_c_try_compile "$LINENO"
   14086 then :
   14087   xorg_cv_cc_flag_unused_command_line_argument=yes
   14088 else $as_nop
   14089   xorg_cv_cc_flag_unused_command_line_argument=no
   14090 fi
   14091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14092 fi
   14093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14094 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14095 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14096 	CFLAGS="$xorg_testset_save_CFLAGS"
   14097 fi
   14098 
   14099 found="no"
   14100 
   14101 	if test $found = "no" ; then
   14102 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14104 		fi
   14105 
   14106 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14108 		fi
   14109 
   14110 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14111 
   14112 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14113 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14114 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14115 		if eval test \${$cacheid+y}
   14116 then :
   14117   printf %s "(cached) " >&6
   14118 else $as_nop
   14119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14120 /* end confdefs.h.  */
   14121 int i;
   14122 int
   14123 main (void)
   14124 {
   14125 
   14126   ;
   14127   return 0;
   14128 }
   14129 _ACEOF
   14130 if ac_fn_c_try_link "$LINENO"
   14131 then :
   14132   eval $cacheid=yes
   14133 else $as_nop
   14134   eval $cacheid=no
   14135 fi
   14136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14137     conftest$ac_exeext conftest.$ac_ext
   14138 fi
   14139 
   14140 
   14141 		CFLAGS="$xorg_testset_save_CFLAGS"
   14142 
   14143 		eval supported=\$$cacheid
   14144 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14145 printf "%s\n" "$supported" >&6; }
   14146 		if test "$supported" = "yes" ; then
   14147 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14148 			found="yes"
   14149 		fi
   14150 	fi
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 
   14160 
   14161 
   14162 
   14163 
   14164 
   14165 
   14166 xorg_testset_save_CFLAGS="$CFLAGS"
   14167 
   14168 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14170 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14171 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14172 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14173 then :
   14174   printf %s "(cached) " >&6
   14175 else $as_nop
   14176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14177 /* end confdefs.h.  */
   14178 int i;
   14179 _ACEOF
   14180 if ac_fn_c_try_compile "$LINENO"
   14181 then :
   14182   xorg_cv_cc_flag_unknown_warning_option=yes
   14183 else $as_nop
   14184   xorg_cv_cc_flag_unknown_warning_option=no
   14185 fi
   14186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14187 fi
   14188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14189 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14191 	CFLAGS="$xorg_testset_save_CFLAGS"
   14192 fi
   14193 
   14194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14197 	fi
   14198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14199 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14200 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14201 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14202 then :
   14203   printf %s "(cached) " >&6
   14204 else $as_nop
   14205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14206 /* end confdefs.h.  */
   14207 int i;
   14208 _ACEOF
   14209 if ac_fn_c_try_compile "$LINENO"
   14210 then :
   14211   xorg_cv_cc_flag_unused_command_line_argument=yes
   14212 else $as_nop
   14213   xorg_cv_cc_flag_unused_command_line_argument=no
   14214 fi
   14215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14216 fi
   14217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14218 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14220 	CFLAGS="$xorg_testset_save_CFLAGS"
   14221 fi
   14222 
   14223 found="no"
   14224 
   14225 	if test $found = "no" ; then
   14226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14228 		fi
   14229 
   14230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14232 		fi
   14233 
   14234 		CFLAGS="$CFLAGS -Wold-style-definition"
   14235 
   14236 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14237 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14238 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14239 		if eval test \${$cacheid+y}
   14240 then :
   14241   printf %s "(cached) " >&6
   14242 else $as_nop
   14243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14244 /* end confdefs.h.  */
   14245 int i;
   14246 int
   14247 main (void)
   14248 {
   14249 
   14250   ;
   14251   return 0;
   14252 }
   14253 _ACEOF
   14254 if ac_fn_c_try_link "$LINENO"
   14255 then :
   14256   eval $cacheid=yes
   14257 else $as_nop
   14258   eval $cacheid=no
   14259 fi
   14260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14261     conftest$ac_exeext conftest.$ac_ext
   14262 fi
   14263 
   14264 
   14265 		CFLAGS="$xorg_testset_save_CFLAGS"
   14266 
   14267 		eval supported=\$$cacheid
   14268 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14269 printf "%s\n" "$supported" >&6; }
   14270 		if test "$supported" = "yes" ; then
   14271 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14272 			found="yes"
   14273 		fi
   14274 	fi
   14275 
   14276 	if test $found = "no" ; then
   14277 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14278 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14279 		fi
   14280 
   14281 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14282 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14283 		fi
   14284 
   14285 		CFLAGS="$CFLAGS -fd"
   14286 
   14287 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14288 printf %s "checking if $CC supports -fd... " >&6; }
   14289 		cacheid=xorg_cv_cc_flag__fd
   14290 		if eval test \${$cacheid+y}
   14291 then :
   14292   printf %s "(cached) " >&6
   14293 else $as_nop
   14294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14295 /* end confdefs.h.  */
   14296 int i;
   14297 int
   14298 main (void)
   14299 {
   14300 
   14301   ;
   14302   return 0;
   14303 }
   14304 _ACEOF
   14305 if ac_fn_c_try_link "$LINENO"
   14306 then :
   14307   eval $cacheid=yes
   14308 else $as_nop
   14309   eval $cacheid=no
   14310 fi
   14311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14312     conftest$ac_exeext conftest.$ac_ext
   14313 fi
   14314 
   14315 
   14316 		CFLAGS="$xorg_testset_save_CFLAGS"
   14317 
   14318 		eval supported=\$$cacheid
   14319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14320 printf "%s\n" "$supported" >&6; }
   14321 		if test "$supported" = "yes" ; then
   14322 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14323 			found="yes"
   14324 		fi
   14325 	fi
   14326 
   14327 
   14328 
   14329 
   14330 
   14331 
   14332 
   14333 
   14334 
   14335 
   14336 
   14337 
   14338 
   14339 
   14340 
   14341 xorg_testset_save_CFLAGS="$CFLAGS"
   14342 
   14343 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14344 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14345 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14346 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14347 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14348 then :
   14349   printf %s "(cached) " >&6
   14350 else $as_nop
   14351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14352 /* end confdefs.h.  */
   14353 int i;
   14354 _ACEOF
   14355 if ac_fn_c_try_compile "$LINENO"
   14356 then :
   14357   xorg_cv_cc_flag_unknown_warning_option=yes
   14358 else $as_nop
   14359   xorg_cv_cc_flag_unknown_warning_option=no
   14360 fi
   14361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14362 fi
   14363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14364 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14365 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14366 	CFLAGS="$xorg_testset_save_CFLAGS"
   14367 fi
   14368 
   14369 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14370 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14371 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14372 	fi
   14373 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14374 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14375 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14376 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14377 then :
   14378   printf %s "(cached) " >&6
   14379 else $as_nop
   14380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14381 /* end confdefs.h.  */
   14382 int i;
   14383 _ACEOF
   14384 if ac_fn_c_try_compile "$LINENO"
   14385 then :
   14386   xorg_cv_cc_flag_unused_command_line_argument=yes
   14387 else $as_nop
   14388   xorg_cv_cc_flag_unused_command_line_argument=no
   14389 fi
   14390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14391 fi
   14392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14393 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14394 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14395 	CFLAGS="$xorg_testset_save_CFLAGS"
   14396 fi
   14397 
   14398 found="no"
   14399 
   14400 	if test $found = "no" ; then
   14401 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14403 		fi
   14404 
   14405 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14407 		fi
   14408 
   14409 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14410 
   14411 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14412 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14413 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14414 		if eval test \${$cacheid+y}
   14415 then :
   14416   printf %s "(cached) " >&6
   14417 else $as_nop
   14418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14419 /* end confdefs.h.  */
   14420 int i;
   14421 int
   14422 main (void)
   14423 {
   14424 
   14425   ;
   14426   return 0;
   14427 }
   14428 _ACEOF
   14429 if ac_fn_c_try_link "$LINENO"
   14430 then :
   14431   eval $cacheid=yes
   14432 else $as_nop
   14433   eval $cacheid=no
   14434 fi
   14435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14436     conftest$ac_exeext conftest.$ac_ext
   14437 fi
   14438 
   14439 
   14440 		CFLAGS="$xorg_testset_save_CFLAGS"
   14441 
   14442 		eval supported=\$$cacheid
   14443 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14444 printf "%s\n" "$supported" >&6; }
   14445 		if test "$supported" = "yes" ; then
   14446 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14447 			found="yes"
   14448 		fi
   14449 	fi
   14450 
   14451 
   14452 
   14453 
   14454 
   14455 # This chunk adds additional warnings that could catch undesired effects.
   14456 
   14457 
   14458 
   14459 
   14460 
   14461 
   14462 
   14463 
   14464 
   14465 
   14466 
   14467 
   14468 
   14469 xorg_testset_save_CFLAGS="$CFLAGS"
   14470 
   14471 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14472 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14473 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14474 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14475 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14476 then :
   14477   printf %s "(cached) " >&6
   14478 else $as_nop
   14479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14480 /* end confdefs.h.  */
   14481 int i;
   14482 _ACEOF
   14483 if ac_fn_c_try_compile "$LINENO"
   14484 then :
   14485   xorg_cv_cc_flag_unknown_warning_option=yes
   14486 else $as_nop
   14487   xorg_cv_cc_flag_unknown_warning_option=no
   14488 fi
   14489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14490 fi
   14491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14492 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14493 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14494 	CFLAGS="$xorg_testset_save_CFLAGS"
   14495 fi
   14496 
   14497 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14498 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14499 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14500 	fi
   14501 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14502 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14503 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14504 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14505 then :
   14506   printf %s "(cached) " >&6
   14507 else $as_nop
   14508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14509 /* end confdefs.h.  */
   14510 int i;
   14511 _ACEOF
   14512 if ac_fn_c_try_compile "$LINENO"
   14513 then :
   14514   xorg_cv_cc_flag_unused_command_line_argument=yes
   14515 else $as_nop
   14516   xorg_cv_cc_flag_unused_command_line_argument=no
   14517 fi
   14518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14519 fi
   14520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14521 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14523 	CFLAGS="$xorg_testset_save_CFLAGS"
   14524 fi
   14525 
   14526 found="no"
   14527 
   14528 	if test $found = "no" ; then
   14529 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14531 		fi
   14532 
   14533 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14535 		fi
   14536 
   14537 		CFLAGS="$CFLAGS -Wunused"
   14538 
   14539 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14540 printf %s "checking if $CC supports -Wunused... " >&6; }
   14541 		cacheid=xorg_cv_cc_flag__Wunused
   14542 		if eval test \${$cacheid+y}
   14543 then :
   14544   printf %s "(cached) " >&6
   14545 else $as_nop
   14546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14547 /* end confdefs.h.  */
   14548 int i;
   14549 int
   14550 main (void)
   14551 {
   14552 
   14553   ;
   14554   return 0;
   14555 }
   14556 _ACEOF
   14557 if ac_fn_c_try_link "$LINENO"
   14558 then :
   14559   eval $cacheid=yes
   14560 else $as_nop
   14561   eval $cacheid=no
   14562 fi
   14563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14564     conftest$ac_exeext conftest.$ac_ext
   14565 fi
   14566 
   14567 
   14568 		CFLAGS="$xorg_testset_save_CFLAGS"
   14569 
   14570 		eval supported=\$$cacheid
   14571 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14572 printf "%s\n" "$supported" >&6; }
   14573 		if test "$supported" = "yes" ; then
   14574 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14575 			found="yes"
   14576 		fi
   14577 	fi
   14578 
   14579 
   14580 
   14581 
   14582 
   14583 
   14584 
   14585 
   14586 
   14587 
   14588 
   14589 
   14590 
   14591 
   14592 
   14593 xorg_testset_save_CFLAGS="$CFLAGS"
   14594 
   14595 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14596 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14597 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14598 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14599 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14600 then :
   14601   printf %s "(cached) " >&6
   14602 else $as_nop
   14603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14604 /* end confdefs.h.  */
   14605 int i;
   14606 _ACEOF
   14607 if ac_fn_c_try_compile "$LINENO"
   14608 then :
   14609   xorg_cv_cc_flag_unknown_warning_option=yes
   14610 else $as_nop
   14611   xorg_cv_cc_flag_unknown_warning_option=no
   14612 fi
   14613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14614 fi
   14615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14616 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14617 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14618 	CFLAGS="$xorg_testset_save_CFLAGS"
   14619 fi
   14620 
   14621 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14622 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14623 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14624 	fi
   14625 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14626 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14627 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14628 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14629 then :
   14630   printf %s "(cached) " >&6
   14631 else $as_nop
   14632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14633 /* end confdefs.h.  */
   14634 int i;
   14635 _ACEOF
   14636 if ac_fn_c_try_compile "$LINENO"
   14637 then :
   14638   xorg_cv_cc_flag_unused_command_line_argument=yes
   14639 else $as_nop
   14640   xorg_cv_cc_flag_unused_command_line_argument=no
   14641 fi
   14642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14643 fi
   14644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14645 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14646 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14647 	CFLAGS="$xorg_testset_save_CFLAGS"
   14648 fi
   14649 
   14650 found="no"
   14651 
   14652 	if test $found = "no" ; then
   14653 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14654 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14655 		fi
   14656 
   14657 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14658 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14659 		fi
   14660 
   14661 		CFLAGS="$CFLAGS -Wuninitialized"
   14662 
   14663 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14664 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14665 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14666 		if eval test \${$cacheid+y}
   14667 then :
   14668   printf %s "(cached) " >&6
   14669 else $as_nop
   14670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14671 /* end confdefs.h.  */
   14672 int i;
   14673 int
   14674 main (void)
   14675 {
   14676 
   14677   ;
   14678   return 0;
   14679 }
   14680 _ACEOF
   14681 if ac_fn_c_try_link "$LINENO"
   14682 then :
   14683   eval $cacheid=yes
   14684 else $as_nop
   14685   eval $cacheid=no
   14686 fi
   14687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14688     conftest$ac_exeext conftest.$ac_ext
   14689 fi
   14690 
   14691 
   14692 		CFLAGS="$xorg_testset_save_CFLAGS"
   14693 
   14694 		eval supported=\$$cacheid
   14695 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14696 printf "%s\n" "$supported" >&6; }
   14697 		if test "$supported" = "yes" ; then
   14698 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14699 			found="yes"
   14700 		fi
   14701 	fi
   14702 
   14703 
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 
   14714 
   14715 
   14716 
   14717 xorg_testset_save_CFLAGS="$CFLAGS"
   14718 
   14719 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14720 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14721 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14722 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14723 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14724 then :
   14725   printf %s "(cached) " >&6
   14726 else $as_nop
   14727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14728 /* end confdefs.h.  */
   14729 int i;
   14730 _ACEOF
   14731 if ac_fn_c_try_compile "$LINENO"
   14732 then :
   14733   xorg_cv_cc_flag_unknown_warning_option=yes
   14734 else $as_nop
   14735   xorg_cv_cc_flag_unknown_warning_option=no
   14736 fi
   14737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14738 fi
   14739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14740 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14741 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14742 	CFLAGS="$xorg_testset_save_CFLAGS"
   14743 fi
   14744 
   14745 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14746 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14747 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14748 	fi
   14749 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14750 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14751 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14752 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14753 then :
   14754   printf %s "(cached) " >&6
   14755 else $as_nop
   14756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14757 /* end confdefs.h.  */
   14758 int i;
   14759 _ACEOF
   14760 if ac_fn_c_try_compile "$LINENO"
   14761 then :
   14762   xorg_cv_cc_flag_unused_command_line_argument=yes
   14763 else $as_nop
   14764   xorg_cv_cc_flag_unused_command_line_argument=no
   14765 fi
   14766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14767 fi
   14768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14769 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14770 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14771 	CFLAGS="$xorg_testset_save_CFLAGS"
   14772 fi
   14773 
   14774 found="no"
   14775 
   14776 	if test $found = "no" ; then
   14777 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14778 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14779 		fi
   14780 
   14781 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14782 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14783 		fi
   14784 
   14785 		CFLAGS="$CFLAGS -Wshadow"
   14786 
   14787 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14788 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14789 		cacheid=xorg_cv_cc_flag__Wshadow
   14790 		if eval test \${$cacheid+y}
   14791 then :
   14792   printf %s "(cached) " >&6
   14793 else $as_nop
   14794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14795 /* end confdefs.h.  */
   14796 int i;
   14797 int
   14798 main (void)
   14799 {
   14800 
   14801   ;
   14802   return 0;
   14803 }
   14804 _ACEOF
   14805 if ac_fn_c_try_link "$LINENO"
   14806 then :
   14807   eval $cacheid=yes
   14808 else $as_nop
   14809   eval $cacheid=no
   14810 fi
   14811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14812     conftest$ac_exeext conftest.$ac_ext
   14813 fi
   14814 
   14815 
   14816 		CFLAGS="$xorg_testset_save_CFLAGS"
   14817 
   14818 		eval supported=\$$cacheid
   14819 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14820 printf "%s\n" "$supported" >&6; }
   14821 		if test "$supported" = "yes" ; then
   14822 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14823 			found="yes"
   14824 		fi
   14825 	fi
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 xorg_testset_save_CFLAGS="$CFLAGS"
   14842 
   14843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14845 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14846 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14847 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14848 then :
   14849   printf %s "(cached) " >&6
   14850 else $as_nop
   14851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14852 /* end confdefs.h.  */
   14853 int i;
   14854 _ACEOF
   14855 if ac_fn_c_try_compile "$LINENO"
   14856 then :
   14857   xorg_cv_cc_flag_unknown_warning_option=yes
   14858 else $as_nop
   14859   xorg_cv_cc_flag_unknown_warning_option=no
   14860 fi
   14861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14862 fi
   14863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14864 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14866 	CFLAGS="$xorg_testset_save_CFLAGS"
   14867 fi
   14868 
   14869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14872 	fi
   14873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14874 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14875 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14876 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14877 then :
   14878   printf %s "(cached) " >&6
   14879 else $as_nop
   14880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14881 /* end confdefs.h.  */
   14882 int i;
   14883 _ACEOF
   14884 if ac_fn_c_try_compile "$LINENO"
   14885 then :
   14886   xorg_cv_cc_flag_unused_command_line_argument=yes
   14887 else $as_nop
   14888   xorg_cv_cc_flag_unused_command_line_argument=no
   14889 fi
   14890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14891 fi
   14892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14893 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14895 	CFLAGS="$xorg_testset_save_CFLAGS"
   14896 fi
   14897 
   14898 found="no"
   14899 
   14900 	if test $found = "no" ; then
   14901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14903 		fi
   14904 
   14905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14907 		fi
   14908 
   14909 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14910 
   14911 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14912 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14913 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14914 		if eval test \${$cacheid+y}
   14915 then :
   14916   printf %s "(cached) " >&6
   14917 else $as_nop
   14918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14919 /* end confdefs.h.  */
   14920 int i;
   14921 int
   14922 main (void)
   14923 {
   14924 
   14925   ;
   14926   return 0;
   14927 }
   14928 _ACEOF
   14929 if ac_fn_c_try_link "$LINENO"
   14930 then :
   14931   eval $cacheid=yes
   14932 else $as_nop
   14933   eval $cacheid=no
   14934 fi
   14935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14936     conftest$ac_exeext conftest.$ac_ext
   14937 fi
   14938 
   14939 
   14940 		CFLAGS="$xorg_testset_save_CFLAGS"
   14941 
   14942 		eval supported=\$$cacheid
   14943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14944 printf "%s\n" "$supported" >&6; }
   14945 		if test "$supported" = "yes" ; then
   14946 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14947 			found="yes"
   14948 		fi
   14949 	fi
   14950 
   14951 
   14952 
   14953 
   14954 
   14955 
   14956 
   14957 
   14958 
   14959 
   14960 
   14961 
   14962 
   14963 
   14964 
   14965 xorg_testset_save_CFLAGS="$CFLAGS"
   14966 
   14967 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14968 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14969 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14970 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14971 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14972 then :
   14973   printf %s "(cached) " >&6
   14974 else $as_nop
   14975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14976 /* end confdefs.h.  */
   14977 int i;
   14978 _ACEOF
   14979 if ac_fn_c_try_compile "$LINENO"
   14980 then :
   14981   xorg_cv_cc_flag_unknown_warning_option=yes
   14982 else $as_nop
   14983   xorg_cv_cc_flag_unknown_warning_option=no
   14984 fi
   14985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14986 fi
   14987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14988 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14989 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14990 	CFLAGS="$xorg_testset_save_CFLAGS"
   14991 fi
   14992 
   14993 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14994 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14995 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14996 	fi
   14997 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14998 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14999 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15000 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15001 then :
   15002   printf %s "(cached) " >&6
   15003 else $as_nop
   15004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15005 /* end confdefs.h.  */
   15006 int i;
   15007 _ACEOF
   15008 if ac_fn_c_try_compile "$LINENO"
   15009 then :
   15010   xorg_cv_cc_flag_unused_command_line_argument=yes
   15011 else $as_nop
   15012   xorg_cv_cc_flag_unused_command_line_argument=no
   15013 fi
   15014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15015 fi
   15016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15017 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15018 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15019 	CFLAGS="$xorg_testset_save_CFLAGS"
   15020 fi
   15021 
   15022 found="no"
   15023 
   15024 	if test $found = "no" ; then
   15025 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15026 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15027 		fi
   15028 
   15029 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15030 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15031 		fi
   15032 
   15033 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15034 
   15035 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15036 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15037 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15038 		if eval test \${$cacheid+y}
   15039 then :
   15040   printf %s "(cached) " >&6
   15041 else $as_nop
   15042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15043 /* end confdefs.h.  */
   15044 int i;
   15045 int
   15046 main (void)
   15047 {
   15048 
   15049   ;
   15050   return 0;
   15051 }
   15052 _ACEOF
   15053 if ac_fn_c_try_link "$LINENO"
   15054 then :
   15055   eval $cacheid=yes
   15056 else $as_nop
   15057   eval $cacheid=no
   15058 fi
   15059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15060     conftest$ac_exeext conftest.$ac_ext
   15061 fi
   15062 
   15063 
   15064 		CFLAGS="$xorg_testset_save_CFLAGS"
   15065 
   15066 		eval supported=\$$cacheid
   15067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15068 printf "%s\n" "$supported" >&6; }
   15069 		if test "$supported" = "yes" ; then
   15070 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15071 			found="yes"
   15072 		fi
   15073 	fi
   15074 
   15075 
   15076 
   15077 
   15078 
   15079 
   15080 
   15081 
   15082 
   15083 
   15084 
   15085 
   15086 
   15087 
   15088 
   15089 xorg_testset_save_CFLAGS="$CFLAGS"
   15090 
   15091 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15092 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15093 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15094 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15095 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15096 then :
   15097   printf %s "(cached) " >&6
   15098 else $as_nop
   15099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15100 /* end confdefs.h.  */
   15101 int i;
   15102 _ACEOF
   15103 if ac_fn_c_try_compile "$LINENO"
   15104 then :
   15105   xorg_cv_cc_flag_unknown_warning_option=yes
   15106 else $as_nop
   15107   xorg_cv_cc_flag_unknown_warning_option=no
   15108 fi
   15109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15110 fi
   15111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15112 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15113 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15114 	CFLAGS="$xorg_testset_save_CFLAGS"
   15115 fi
   15116 
   15117 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15118 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15119 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15120 	fi
   15121 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15122 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15123 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15124 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15125 then :
   15126   printf %s "(cached) " >&6
   15127 else $as_nop
   15128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15129 /* end confdefs.h.  */
   15130 int i;
   15131 _ACEOF
   15132 if ac_fn_c_try_compile "$LINENO"
   15133 then :
   15134   xorg_cv_cc_flag_unused_command_line_argument=yes
   15135 else $as_nop
   15136   xorg_cv_cc_flag_unused_command_line_argument=no
   15137 fi
   15138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15139 fi
   15140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15141 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15142 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15143 	CFLAGS="$xorg_testset_save_CFLAGS"
   15144 fi
   15145 
   15146 found="no"
   15147 
   15148 	if test $found = "no" ; then
   15149 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15151 		fi
   15152 
   15153 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15155 		fi
   15156 
   15157 		CFLAGS="$CFLAGS -Wredundant-decls"
   15158 
   15159 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15160 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15161 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15162 		if eval test \${$cacheid+y}
   15163 then :
   15164   printf %s "(cached) " >&6
   15165 else $as_nop
   15166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15167 /* end confdefs.h.  */
   15168 int i;
   15169 int
   15170 main (void)
   15171 {
   15172 
   15173   ;
   15174   return 0;
   15175 }
   15176 _ACEOF
   15177 if ac_fn_c_try_link "$LINENO"
   15178 then :
   15179   eval $cacheid=yes
   15180 else $as_nop
   15181   eval $cacheid=no
   15182 fi
   15183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15184     conftest$ac_exeext conftest.$ac_ext
   15185 fi
   15186 
   15187 
   15188 		CFLAGS="$xorg_testset_save_CFLAGS"
   15189 
   15190 		eval supported=\$$cacheid
   15191 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15192 printf "%s\n" "$supported" >&6; }
   15193 		if test "$supported" = "yes" ; then
   15194 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15195 			found="yes"
   15196 		fi
   15197 	fi
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211 
   15212 
   15213 xorg_testset_save_CFLAGS="$CFLAGS"
   15214 
   15215 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15216 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15217 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15218 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15219 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15220 then :
   15221   printf %s "(cached) " >&6
   15222 else $as_nop
   15223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15224 /* end confdefs.h.  */
   15225 int i;
   15226 _ACEOF
   15227 if ac_fn_c_try_compile "$LINENO"
   15228 then :
   15229   xorg_cv_cc_flag_unknown_warning_option=yes
   15230 else $as_nop
   15231   xorg_cv_cc_flag_unknown_warning_option=no
   15232 fi
   15233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15234 fi
   15235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15236 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15237 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15238 	CFLAGS="$xorg_testset_save_CFLAGS"
   15239 fi
   15240 
   15241 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15242 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15243 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15244 	fi
   15245 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15246 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15247 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15248 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15249 then :
   15250   printf %s "(cached) " >&6
   15251 else $as_nop
   15252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15253 /* end confdefs.h.  */
   15254 int i;
   15255 _ACEOF
   15256 if ac_fn_c_try_compile "$LINENO"
   15257 then :
   15258   xorg_cv_cc_flag_unused_command_line_argument=yes
   15259 else $as_nop
   15260   xorg_cv_cc_flag_unused_command_line_argument=no
   15261 fi
   15262 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15263 fi
   15264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15265 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15266 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15267 	CFLAGS="$xorg_testset_save_CFLAGS"
   15268 fi
   15269 
   15270 found="no"
   15271 
   15272 	if test $found = "no" ; then
   15273 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15275 		fi
   15276 
   15277 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15279 		fi
   15280 
   15281 		CFLAGS="$CFLAGS -Wlogical-op"
   15282 
   15283 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15284 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15285 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15286 		if eval test \${$cacheid+y}
   15287 then :
   15288   printf %s "(cached) " >&6
   15289 else $as_nop
   15290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15291 /* end confdefs.h.  */
   15292 int i;
   15293 int
   15294 main (void)
   15295 {
   15296 
   15297   ;
   15298   return 0;
   15299 }
   15300 _ACEOF
   15301 if ac_fn_c_try_link "$LINENO"
   15302 then :
   15303   eval $cacheid=yes
   15304 else $as_nop
   15305   eval $cacheid=no
   15306 fi
   15307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15308     conftest$ac_exeext conftest.$ac_ext
   15309 fi
   15310 
   15311 
   15312 		CFLAGS="$xorg_testset_save_CFLAGS"
   15313 
   15314 		eval supported=\$$cacheid
   15315 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15316 printf "%s\n" "$supported" >&6; }
   15317 		if test "$supported" = "yes" ; then
   15318 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15319 			found="yes"
   15320 		fi
   15321 	fi
   15322 
   15323 
   15324 
   15325 # These are currently disabled because they are noisy.  They will be enabled
   15326 # in the future once the codebase is sufficiently modernized to silence
   15327 # them.  For now, I don't want them to drown out the other warnings.
   15328 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15329 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15330 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15331 
   15332 # Turn some warnings into errors, so we don't accidently get successful builds
   15333 # when there are problems that should be fixed.
   15334 
   15335 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15336 
   15337 
   15338 
   15339 
   15340 
   15341 
   15342 
   15343 
   15344 
   15345 
   15346 
   15347 
   15348 
   15349 xorg_testset_save_CFLAGS="$CFLAGS"
   15350 
   15351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15353 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15354 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15355 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15356 then :
   15357   printf %s "(cached) " >&6
   15358 else $as_nop
   15359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15360 /* end confdefs.h.  */
   15361 int i;
   15362 _ACEOF
   15363 if ac_fn_c_try_compile "$LINENO"
   15364 then :
   15365   xorg_cv_cc_flag_unknown_warning_option=yes
   15366 else $as_nop
   15367   xorg_cv_cc_flag_unknown_warning_option=no
   15368 fi
   15369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15370 fi
   15371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15372 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15373 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15374 	CFLAGS="$xorg_testset_save_CFLAGS"
   15375 fi
   15376 
   15377 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15378 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15380 	fi
   15381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15382 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15383 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15384 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15385 then :
   15386   printf %s "(cached) " >&6
   15387 else $as_nop
   15388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15389 /* end confdefs.h.  */
   15390 int i;
   15391 _ACEOF
   15392 if ac_fn_c_try_compile "$LINENO"
   15393 then :
   15394   xorg_cv_cc_flag_unused_command_line_argument=yes
   15395 else $as_nop
   15396   xorg_cv_cc_flag_unused_command_line_argument=no
   15397 fi
   15398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15399 fi
   15400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15401 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15402 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15403 	CFLAGS="$xorg_testset_save_CFLAGS"
   15404 fi
   15405 
   15406 found="no"
   15407 
   15408 	if test $found = "no" ; then
   15409 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15411 		fi
   15412 
   15413 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15415 		fi
   15416 
   15417 		CFLAGS="$CFLAGS -Werror=implicit"
   15418 
   15419 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15420 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15421 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15422 		if eval test \${$cacheid+y}
   15423 then :
   15424   printf %s "(cached) " >&6
   15425 else $as_nop
   15426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15427 /* end confdefs.h.  */
   15428 int i;
   15429 int
   15430 main (void)
   15431 {
   15432 
   15433   ;
   15434   return 0;
   15435 }
   15436 _ACEOF
   15437 if ac_fn_c_try_link "$LINENO"
   15438 then :
   15439   eval $cacheid=yes
   15440 else $as_nop
   15441   eval $cacheid=no
   15442 fi
   15443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15444     conftest$ac_exeext conftest.$ac_ext
   15445 fi
   15446 
   15447 
   15448 		CFLAGS="$xorg_testset_save_CFLAGS"
   15449 
   15450 		eval supported=\$$cacheid
   15451 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15452 printf "%s\n" "$supported" >&6; }
   15453 		if test "$supported" = "yes" ; then
   15454 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15455 			found="yes"
   15456 		fi
   15457 	fi
   15458 
   15459 	if test $found = "no" ; then
   15460 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15462 		fi
   15463 
   15464 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15466 		fi
   15467 
   15468 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15469 
   15470 		{ 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
   15471 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15472 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15473 		if eval test \${$cacheid+y}
   15474 then :
   15475   printf %s "(cached) " >&6
   15476 else $as_nop
   15477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15478 /* end confdefs.h.  */
   15479 int i;
   15480 int
   15481 main (void)
   15482 {
   15483 
   15484   ;
   15485   return 0;
   15486 }
   15487 _ACEOF
   15488 if ac_fn_c_try_link "$LINENO"
   15489 then :
   15490   eval $cacheid=yes
   15491 else $as_nop
   15492   eval $cacheid=no
   15493 fi
   15494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15495     conftest$ac_exeext conftest.$ac_ext
   15496 fi
   15497 
   15498 
   15499 		CFLAGS="$xorg_testset_save_CFLAGS"
   15500 
   15501 		eval supported=\$$cacheid
   15502 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15503 printf "%s\n" "$supported" >&6; }
   15504 		if test "$supported" = "yes" ; then
   15505 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15506 			found="yes"
   15507 		fi
   15508 	fi
   15509 
   15510 
   15511 
   15512 
   15513 
   15514 
   15515 
   15516 
   15517 
   15518 
   15519 
   15520 
   15521 
   15522 
   15523 
   15524 xorg_testset_save_CFLAGS="$CFLAGS"
   15525 
   15526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15528 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15529 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15530 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   15541 else $as_nop
   15542   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   15547 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15548 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15549 	CFLAGS="$xorg_testset_save_CFLAGS"
   15550 fi
   15551 
   15552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15553 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15555 	fi
   15556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15557 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15558 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15559 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15560 then :
   15561   printf %s "(cached) " >&6
   15562 else $as_nop
   15563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15564 /* end confdefs.h.  */
   15565 int i;
   15566 _ACEOF
   15567 if ac_fn_c_try_compile "$LINENO"
   15568 then :
   15569   xorg_cv_cc_flag_unused_command_line_argument=yes
   15570 else $as_nop
   15571   xorg_cv_cc_flag_unused_command_line_argument=no
   15572 fi
   15573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15574 fi
   15575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15576 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15577 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15578 	CFLAGS="$xorg_testset_save_CFLAGS"
   15579 fi
   15580 
   15581 found="no"
   15582 
   15583 	if test $found = "no" ; then
   15584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15586 		fi
   15587 
   15588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15590 		fi
   15591 
   15592 		CFLAGS="$CFLAGS -Werror=nonnull"
   15593 
   15594 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15595 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15596 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15597 		if eval test \${$cacheid+y}
   15598 then :
   15599   printf %s "(cached) " >&6
   15600 else $as_nop
   15601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15602 /* end confdefs.h.  */
   15603 int i;
   15604 int
   15605 main (void)
   15606 {
   15607 
   15608   ;
   15609   return 0;
   15610 }
   15611 _ACEOF
   15612 if ac_fn_c_try_link "$LINENO"
   15613 then :
   15614   eval $cacheid=yes
   15615 else $as_nop
   15616   eval $cacheid=no
   15617 fi
   15618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15619     conftest$ac_exeext conftest.$ac_ext
   15620 fi
   15621 
   15622 
   15623 		CFLAGS="$xorg_testset_save_CFLAGS"
   15624 
   15625 		eval supported=\$$cacheid
   15626 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15627 printf "%s\n" "$supported" >&6; }
   15628 		if test "$supported" = "yes" ; then
   15629 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15630 			found="yes"
   15631 		fi
   15632 	fi
   15633 
   15634 
   15635 
   15636 
   15637 
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 
   15644 
   15645 
   15646 
   15647 
   15648 xorg_testset_save_CFLAGS="$CFLAGS"
   15649 
   15650 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15652 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15653 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15654 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   15665 else $as_nop
   15666   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   15671 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15672 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15673 	CFLAGS="$xorg_testset_save_CFLAGS"
   15674 fi
   15675 
   15676 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15677 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15678 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15679 	fi
   15680 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15681 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15682 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15683 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15684 then :
   15685   printf %s "(cached) " >&6
   15686 else $as_nop
   15687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15688 /* end confdefs.h.  */
   15689 int i;
   15690 _ACEOF
   15691 if ac_fn_c_try_compile "$LINENO"
   15692 then :
   15693   xorg_cv_cc_flag_unused_command_line_argument=yes
   15694 else $as_nop
   15695   xorg_cv_cc_flag_unused_command_line_argument=no
   15696 fi
   15697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15698 fi
   15699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15700 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15701 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15702 	CFLAGS="$xorg_testset_save_CFLAGS"
   15703 fi
   15704 
   15705 found="no"
   15706 
   15707 	if test $found = "no" ; then
   15708 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15710 		fi
   15711 
   15712 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15714 		fi
   15715 
   15716 		CFLAGS="$CFLAGS -Werror=init-self"
   15717 
   15718 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15719 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15720 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15721 		if eval test \${$cacheid+y}
   15722 then :
   15723   printf %s "(cached) " >&6
   15724 else $as_nop
   15725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15726 /* end confdefs.h.  */
   15727 int i;
   15728 int
   15729 main (void)
   15730 {
   15731 
   15732   ;
   15733   return 0;
   15734 }
   15735 _ACEOF
   15736 if ac_fn_c_try_link "$LINENO"
   15737 then :
   15738   eval $cacheid=yes
   15739 else $as_nop
   15740   eval $cacheid=no
   15741 fi
   15742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15743     conftest$ac_exeext conftest.$ac_ext
   15744 fi
   15745 
   15746 
   15747 		CFLAGS="$xorg_testset_save_CFLAGS"
   15748 
   15749 		eval supported=\$$cacheid
   15750 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15751 printf "%s\n" "$supported" >&6; }
   15752 		if test "$supported" = "yes" ; then
   15753 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15754 			found="yes"
   15755 		fi
   15756 	fi
   15757 
   15758 
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 
   15766 
   15767 
   15768 
   15769 
   15770 
   15771 
   15772 xorg_testset_save_CFLAGS="$CFLAGS"
   15773 
   15774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15776 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15777 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15778 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15779 then :
   15780   printf %s "(cached) " >&6
   15781 else $as_nop
   15782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15783 /* end confdefs.h.  */
   15784 int i;
   15785 _ACEOF
   15786 if ac_fn_c_try_compile "$LINENO"
   15787 then :
   15788   xorg_cv_cc_flag_unknown_warning_option=yes
   15789 else $as_nop
   15790   xorg_cv_cc_flag_unknown_warning_option=no
   15791 fi
   15792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15793 fi
   15794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15795 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15796 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15797 	CFLAGS="$xorg_testset_save_CFLAGS"
   15798 fi
   15799 
   15800 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15801 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15802 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15803 	fi
   15804 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15805 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15806 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15807 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15808 then :
   15809   printf %s "(cached) " >&6
   15810 else $as_nop
   15811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15812 /* end confdefs.h.  */
   15813 int i;
   15814 _ACEOF
   15815 if ac_fn_c_try_compile "$LINENO"
   15816 then :
   15817   xorg_cv_cc_flag_unused_command_line_argument=yes
   15818 else $as_nop
   15819   xorg_cv_cc_flag_unused_command_line_argument=no
   15820 fi
   15821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15822 fi
   15823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15824 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15825 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15826 	CFLAGS="$xorg_testset_save_CFLAGS"
   15827 fi
   15828 
   15829 found="no"
   15830 
   15831 	if test $found = "no" ; then
   15832 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15833 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15834 		fi
   15835 
   15836 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15837 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15838 		fi
   15839 
   15840 		CFLAGS="$CFLAGS -Werror=main"
   15841 
   15842 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15843 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15844 		cacheid=xorg_cv_cc_flag__Werror_main
   15845 		if eval test \${$cacheid+y}
   15846 then :
   15847   printf %s "(cached) " >&6
   15848 else $as_nop
   15849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15850 /* end confdefs.h.  */
   15851 int i;
   15852 int
   15853 main (void)
   15854 {
   15855 
   15856   ;
   15857   return 0;
   15858 }
   15859 _ACEOF
   15860 if ac_fn_c_try_link "$LINENO"
   15861 then :
   15862   eval $cacheid=yes
   15863 else $as_nop
   15864   eval $cacheid=no
   15865 fi
   15866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15867     conftest$ac_exeext conftest.$ac_ext
   15868 fi
   15869 
   15870 
   15871 		CFLAGS="$xorg_testset_save_CFLAGS"
   15872 
   15873 		eval supported=\$$cacheid
   15874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15875 printf "%s\n" "$supported" >&6; }
   15876 		if test "$supported" = "yes" ; then
   15877 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15878 			found="yes"
   15879 		fi
   15880 	fi
   15881 
   15882 
   15883 
   15884 
   15885 
   15886 
   15887 
   15888 
   15889 
   15890 
   15891 
   15892 
   15893 
   15894 
   15895 
   15896 xorg_testset_save_CFLAGS="$CFLAGS"
   15897 
   15898 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15899 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15900 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15901 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15902 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15903 then :
   15904   printf %s "(cached) " >&6
   15905 else $as_nop
   15906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15907 /* end confdefs.h.  */
   15908 int i;
   15909 _ACEOF
   15910 if ac_fn_c_try_compile "$LINENO"
   15911 then :
   15912   xorg_cv_cc_flag_unknown_warning_option=yes
   15913 else $as_nop
   15914   xorg_cv_cc_flag_unknown_warning_option=no
   15915 fi
   15916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15917 fi
   15918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15919 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15920 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15921 	CFLAGS="$xorg_testset_save_CFLAGS"
   15922 fi
   15923 
   15924 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15925 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15926 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15927 	fi
   15928 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15929 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15930 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15931 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15932 then :
   15933   printf %s "(cached) " >&6
   15934 else $as_nop
   15935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15936 /* end confdefs.h.  */
   15937 int i;
   15938 _ACEOF
   15939 if ac_fn_c_try_compile "$LINENO"
   15940 then :
   15941   xorg_cv_cc_flag_unused_command_line_argument=yes
   15942 else $as_nop
   15943   xorg_cv_cc_flag_unused_command_line_argument=no
   15944 fi
   15945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15946 fi
   15947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15948 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15949 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15950 	CFLAGS="$xorg_testset_save_CFLAGS"
   15951 fi
   15952 
   15953 found="no"
   15954 
   15955 	if test $found = "no" ; then
   15956 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15957 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15958 		fi
   15959 
   15960 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15961 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15962 		fi
   15963 
   15964 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15965 
   15966 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15967 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15968 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15969 		if eval test \${$cacheid+y}
   15970 then :
   15971   printf %s "(cached) " >&6
   15972 else $as_nop
   15973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15974 /* end confdefs.h.  */
   15975 int i;
   15976 int
   15977 main (void)
   15978 {
   15979 
   15980   ;
   15981   return 0;
   15982 }
   15983 _ACEOF
   15984 if ac_fn_c_try_link "$LINENO"
   15985 then :
   15986   eval $cacheid=yes
   15987 else $as_nop
   15988   eval $cacheid=no
   15989 fi
   15990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15991     conftest$ac_exeext conftest.$ac_ext
   15992 fi
   15993 
   15994 
   15995 		CFLAGS="$xorg_testset_save_CFLAGS"
   15996 
   15997 		eval supported=\$$cacheid
   15998 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15999 printf "%s\n" "$supported" >&6; }
   16000 		if test "$supported" = "yes" ; then
   16001 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16002 			found="yes"
   16003 		fi
   16004 	fi
   16005 
   16006 
   16007 
   16008 
   16009 
   16010 
   16011 
   16012 
   16013 
   16014 
   16015 
   16016 
   16017 
   16018 
   16019 
   16020 xorg_testset_save_CFLAGS="$CFLAGS"
   16021 
   16022 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16023 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16024 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16025 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16026 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16027 then :
   16028   printf %s "(cached) " >&6
   16029 else $as_nop
   16030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16031 /* end confdefs.h.  */
   16032 int i;
   16033 _ACEOF
   16034 if ac_fn_c_try_compile "$LINENO"
   16035 then :
   16036   xorg_cv_cc_flag_unknown_warning_option=yes
   16037 else $as_nop
   16038   xorg_cv_cc_flag_unknown_warning_option=no
   16039 fi
   16040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16041 fi
   16042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16043 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16044 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16045 	CFLAGS="$xorg_testset_save_CFLAGS"
   16046 fi
   16047 
   16048 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16049 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16050 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16051 	fi
   16052 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16053 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16054 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16055 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16056 then :
   16057   printf %s "(cached) " >&6
   16058 else $as_nop
   16059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16060 /* end confdefs.h.  */
   16061 int i;
   16062 _ACEOF
   16063 if ac_fn_c_try_compile "$LINENO"
   16064 then :
   16065   xorg_cv_cc_flag_unused_command_line_argument=yes
   16066 else $as_nop
   16067   xorg_cv_cc_flag_unused_command_line_argument=no
   16068 fi
   16069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16070 fi
   16071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16072 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16074 	CFLAGS="$xorg_testset_save_CFLAGS"
   16075 fi
   16076 
   16077 found="no"
   16078 
   16079 	if test $found = "no" ; then
   16080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16082 		fi
   16083 
   16084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16086 		fi
   16087 
   16088 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16089 
   16090 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16091 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16092 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16093 		if eval test \${$cacheid+y}
   16094 then :
   16095   printf %s "(cached) " >&6
   16096 else $as_nop
   16097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16098 /* end confdefs.h.  */
   16099 int i;
   16100 int
   16101 main (void)
   16102 {
   16103 
   16104   ;
   16105   return 0;
   16106 }
   16107 _ACEOF
   16108 if ac_fn_c_try_link "$LINENO"
   16109 then :
   16110   eval $cacheid=yes
   16111 else $as_nop
   16112   eval $cacheid=no
   16113 fi
   16114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16115     conftest$ac_exeext conftest.$ac_ext
   16116 fi
   16117 
   16118 
   16119 		CFLAGS="$xorg_testset_save_CFLAGS"
   16120 
   16121 		eval supported=\$$cacheid
   16122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16123 printf "%s\n" "$supported" >&6; }
   16124 		if test "$supported" = "yes" ; then
   16125 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16126 			found="yes"
   16127 		fi
   16128 	fi
   16129 
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 xorg_testset_save_CFLAGS="$CFLAGS"
   16145 
   16146 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16147 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16148 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16149 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16150 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16151 then :
   16152   printf %s "(cached) " >&6
   16153 else $as_nop
   16154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16155 /* end confdefs.h.  */
   16156 int i;
   16157 _ACEOF
   16158 if ac_fn_c_try_compile "$LINENO"
   16159 then :
   16160   xorg_cv_cc_flag_unknown_warning_option=yes
   16161 else $as_nop
   16162   xorg_cv_cc_flag_unknown_warning_option=no
   16163 fi
   16164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16165 fi
   16166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16167 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16168 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16169 	CFLAGS="$xorg_testset_save_CFLAGS"
   16170 fi
   16171 
   16172 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16173 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16174 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16175 	fi
   16176 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16177 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16178 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16179 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16180 then :
   16181   printf %s "(cached) " >&6
   16182 else $as_nop
   16183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16184 /* end confdefs.h.  */
   16185 int i;
   16186 _ACEOF
   16187 if ac_fn_c_try_compile "$LINENO"
   16188 then :
   16189   xorg_cv_cc_flag_unused_command_line_argument=yes
   16190 else $as_nop
   16191   xorg_cv_cc_flag_unused_command_line_argument=no
   16192 fi
   16193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16194 fi
   16195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16196 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16198 	CFLAGS="$xorg_testset_save_CFLAGS"
   16199 fi
   16200 
   16201 found="no"
   16202 
   16203 	if test $found = "no" ; then
   16204 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16206 		fi
   16207 
   16208 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16210 		fi
   16211 
   16212 		CFLAGS="$CFLAGS -Werror=return-type"
   16213 
   16214 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16215 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16216 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16217 		if eval test \${$cacheid+y}
   16218 then :
   16219   printf %s "(cached) " >&6
   16220 else $as_nop
   16221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16222 /* end confdefs.h.  */
   16223 int i;
   16224 int
   16225 main (void)
   16226 {
   16227 
   16228   ;
   16229   return 0;
   16230 }
   16231 _ACEOF
   16232 if ac_fn_c_try_link "$LINENO"
   16233 then :
   16234   eval $cacheid=yes
   16235 else $as_nop
   16236   eval $cacheid=no
   16237 fi
   16238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16239     conftest$ac_exeext conftest.$ac_ext
   16240 fi
   16241 
   16242 
   16243 		CFLAGS="$xorg_testset_save_CFLAGS"
   16244 
   16245 		eval supported=\$$cacheid
   16246 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16247 printf "%s\n" "$supported" >&6; }
   16248 		if test "$supported" = "yes" ; then
   16249 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16250 			found="yes"
   16251 		fi
   16252 	fi
   16253 
   16254 	if test $found = "no" ; then
   16255 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16257 		fi
   16258 
   16259 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16261 		fi
   16262 
   16263 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16264 
   16265 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16266 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16267 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16268 		if eval test \${$cacheid+y}
   16269 then :
   16270   printf %s "(cached) " >&6
   16271 else $as_nop
   16272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16273 /* end confdefs.h.  */
   16274 int i;
   16275 int
   16276 main (void)
   16277 {
   16278 
   16279   ;
   16280   return 0;
   16281 }
   16282 _ACEOF
   16283 if ac_fn_c_try_link "$LINENO"
   16284 then :
   16285   eval $cacheid=yes
   16286 else $as_nop
   16287   eval $cacheid=no
   16288 fi
   16289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16290     conftest$ac_exeext conftest.$ac_ext
   16291 fi
   16292 
   16293 
   16294 		CFLAGS="$xorg_testset_save_CFLAGS"
   16295 
   16296 		eval supported=\$$cacheid
   16297 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16298 printf "%s\n" "$supported" >&6; }
   16299 		if test "$supported" = "yes" ; then
   16300 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16301 			found="yes"
   16302 		fi
   16303 	fi
   16304 
   16305 
   16306 
   16307 
   16308 
   16309 
   16310 
   16311 
   16312 
   16313 
   16314 
   16315 
   16316 
   16317 
   16318 
   16319 xorg_testset_save_CFLAGS="$CFLAGS"
   16320 
   16321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16323 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16324 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16325 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16326 then :
   16327   printf %s "(cached) " >&6
   16328 else $as_nop
   16329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16330 /* end confdefs.h.  */
   16331 int i;
   16332 _ACEOF
   16333 if ac_fn_c_try_compile "$LINENO"
   16334 then :
   16335   xorg_cv_cc_flag_unknown_warning_option=yes
   16336 else $as_nop
   16337   xorg_cv_cc_flag_unknown_warning_option=no
   16338 fi
   16339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16340 fi
   16341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16342 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16343 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16344 	CFLAGS="$xorg_testset_save_CFLAGS"
   16345 fi
   16346 
   16347 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16348 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16349 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16350 	fi
   16351 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16352 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16353 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16354 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16355 then :
   16356   printf %s "(cached) " >&6
   16357 else $as_nop
   16358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16359 /* end confdefs.h.  */
   16360 int i;
   16361 _ACEOF
   16362 if ac_fn_c_try_compile "$LINENO"
   16363 then :
   16364   xorg_cv_cc_flag_unused_command_line_argument=yes
   16365 else $as_nop
   16366   xorg_cv_cc_flag_unused_command_line_argument=no
   16367 fi
   16368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16369 fi
   16370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16371 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16372 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16373 	CFLAGS="$xorg_testset_save_CFLAGS"
   16374 fi
   16375 
   16376 found="no"
   16377 
   16378 	if test $found = "no" ; then
   16379 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16380 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16381 		fi
   16382 
   16383 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16384 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16385 		fi
   16386 
   16387 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16388 
   16389 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16390 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16391 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16392 		if eval test \${$cacheid+y}
   16393 then :
   16394   printf %s "(cached) " >&6
   16395 else $as_nop
   16396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16397 /* end confdefs.h.  */
   16398 int i;
   16399 int
   16400 main (void)
   16401 {
   16402 
   16403   ;
   16404   return 0;
   16405 }
   16406 _ACEOF
   16407 if ac_fn_c_try_link "$LINENO"
   16408 then :
   16409   eval $cacheid=yes
   16410 else $as_nop
   16411   eval $cacheid=no
   16412 fi
   16413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16414     conftest$ac_exeext conftest.$ac_ext
   16415 fi
   16416 
   16417 
   16418 		CFLAGS="$xorg_testset_save_CFLAGS"
   16419 
   16420 		eval supported=\$$cacheid
   16421 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16422 printf "%s\n" "$supported" >&6; }
   16423 		if test "$supported" = "yes" ; then
   16424 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16425 			found="yes"
   16426 		fi
   16427 	fi
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 
   16434 
   16435 
   16436 
   16437 
   16438 
   16439 
   16440 
   16441 
   16442 
   16443 xorg_testset_save_CFLAGS="$CFLAGS"
   16444 
   16445 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16446 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16447 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16448 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16449 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16450 then :
   16451   printf %s "(cached) " >&6
   16452 else $as_nop
   16453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16454 /* end confdefs.h.  */
   16455 int i;
   16456 _ACEOF
   16457 if ac_fn_c_try_compile "$LINENO"
   16458 then :
   16459   xorg_cv_cc_flag_unknown_warning_option=yes
   16460 else $as_nop
   16461   xorg_cv_cc_flag_unknown_warning_option=no
   16462 fi
   16463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16464 fi
   16465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16466 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16467 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16468 	CFLAGS="$xorg_testset_save_CFLAGS"
   16469 fi
   16470 
   16471 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16472 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16473 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16474 	fi
   16475 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16476 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16477 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16478 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16479 then :
   16480   printf %s "(cached) " >&6
   16481 else $as_nop
   16482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16483 /* end confdefs.h.  */
   16484 int i;
   16485 _ACEOF
   16486 if ac_fn_c_try_compile "$LINENO"
   16487 then :
   16488   xorg_cv_cc_flag_unused_command_line_argument=yes
   16489 else $as_nop
   16490   xorg_cv_cc_flag_unused_command_line_argument=no
   16491 fi
   16492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16493 fi
   16494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16495 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16496 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16497 	CFLAGS="$xorg_testset_save_CFLAGS"
   16498 fi
   16499 
   16500 found="no"
   16501 
   16502 	if test $found = "no" ; then
   16503 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16504 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16505 		fi
   16506 
   16507 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16508 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16509 		fi
   16510 
   16511 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16512 
   16513 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16514 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16515 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16516 		if eval test \${$cacheid+y}
   16517 then :
   16518   printf %s "(cached) " >&6
   16519 else $as_nop
   16520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16521 /* end confdefs.h.  */
   16522 int i;
   16523 int
   16524 main (void)
   16525 {
   16526 
   16527   ;
   16528   return 0;
   16529 }
   16530 _ACEOF
   16531 if ac_fn_c_try_link "$LINENO"
   16532 then :
   16533   eval $cacheid=yes
   16534 else $as_nop
   16535   eval $cacheid=no
   16536 fi
   16537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16538     conftest$ac_exeext conftest.$ac_ext
   16539 fi
   16540 
   16541 
   16542 		CFLAGS="$xorg_testset_save_CFLAGS"
   16543 
   16544 		eval supported=\$$cacheid
   16545 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16546 printf "%s\n" "$supported" >&6; }
   16547 		if test "$supported" = "yes" ; then
   16548 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16549 			found="yes"
   16550 		fi
   16551 	fi
   16552 
   16553 
   16554 
   16555 
   16556 
   16557 
   16558 
   16559 
   16560 
   16561 
   16562 
   16563 
   16564 
   16565 
   16566 
   16567 xorg_testset_save_CFLAGS="$CFLAGS"
   16568 
   16569 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16570 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16571 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16572 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16573 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16574 then :
   16575   printf %s "(cached) " >&6
   16576 else $as_nop
   16577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16578 /* end confdefs.h.  */
   16579 int i;
   16580 _ACEOF
   16581 if ac_fn_c_try_compile "$LINENO"
   16582 then :
   16583   xorg_cv_cc_flag_unknown_warning_option=yes
   16584 else $as_nop
   16585   xorg_cv_cc_flag_unknown_warning_option=no
   16586 fi
   16587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16588 fi
   16589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16590 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16591 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16592 	CFLAGS="$xorg_testset_save_CFLAGS"
   16593 fi
   16594 
   16595 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16596 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16597 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16598 	fi
   16599 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16600 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16601 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16602 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16603 then :
   16604   printf %s "(cached) " >&6
   16605 else $as_nop
   16606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16607 /* end confdefs.h.  */
   16608 int i;
   16609 _ACEOF
   16610 if ac_fn_c_try_compile "$LINENO"
   16611 then :
   16612   xorg_cv_cc_flag_unused_command_line_argument=yes
   16613 else $as_nop
   16614   xorg_cv_cc_flag_unused_command_line_argument=no
   16615 fi
   16616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16617 fi
   16618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16619 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16620 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16621 	CFLAGS="$xorg_testset_save_CFLAGS"
   16622 fi
   16623 
   16624 found="no"
   16625 
   16626 	if test $found = "no" ; then
   16627 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16628 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16629 		fi
   16630 
   16631 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16632 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16633 		fi
   16634 
   16635 		CFLAGS="$CFLAGS -Werror=write-strings"
   16636 
   16637 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16638 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16639 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16640 		if eval test \${$cacheid+y}
   16641 then :
   16642   printf %s "(cached) " >&6
   16643 else $as_nop
   16644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16645 /* end confdefs.h.  */
   16646 int i;
   16647 int
   16648 main (void)
   16649 {
   16650 
   16651   ;
   16652   return 0;
   16653 }
   16654 _ACEOF
   16655 if ac_fn_c_try_link "$LINENO"
   16656 then :
   16657   eval $cacheid=yes
   16658 else $as_nop
   16659   eval $cacheid=no
   16660 fi
   16661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16662     conftest$ac_exeext conftest.$ac_ext
   16663 fi
   16664 
   16665 
   16666 		CFLAGS="$xorg_testset_save_CFLAGS"
   16667 
   16668 		eval supported=\$$cacheid
   16669 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16670 printf "%s\n" "$supported" >&6; }
   16671 		if test "$supported" = "yes" ; then
   16672 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16673 			found="yes"
   16674 		fi
   16675 	fi
   16676 
   16677 
   16678 
   16679 
   16680 
   16681 
   16682 
   16683 
   16684 
   16685 
   16686 
   16687 
   16688 
   16689 
   16690 
   16691 xorg_testset_save_CFLAGS="$CFLAGS"
   16692 
   16693 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16694 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16695 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16696 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16697 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16698 then :
   16699   printf %s "(cached) " >&6
   16700 else $as_nop
   16701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16702 /* end confdefs.h.  */
   16703 int i;
   16704 _ACEOF
   16705 if ac_fn_c_try_compile "$LINENO"
   16706 then :
   16707   xorg_cv_cc_flag_unknown_warning_option=yes
   16708 else $as_nop
   16709   xorg_cv_cc_flag_unknown_warning_option=no
   16710 fi
   16711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16712 fi
   16713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16714 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16715 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16716 	CFLAGS="$xorg_testset_save_CFLAGS"
   16717 fi
   16718 
   16719 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16720 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16721 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16722 	fi
   16723 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16724 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16725 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16726 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16727 then :
   16728   printf %s "(cached) " >&6
   16729 else $as_nop
   16730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16731 /* end confdefs.h.  */
   16732 int i;
   16733 _ACEOF
   16734 if ac_fn_c_try_compile "$LINENO"
   16735 then :
   16736   xorg_cv_cc_flag_unused_command_line_argument=yes
   16737 else $as_nop
   16738   xorg_cv_cc_flag_unused_command_line_argument=no
   16739 fi
   16740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16741 fi
   16742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16743 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16744 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16745 	CFLAGS="$xorg_testset_save_CFLAGS"
   16746 fi
   16747 
   16748 found="no"
   16749 
   16750 	if test $found = "no" ; then
   16751 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16752 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16753 		fi
   16754 
   16755 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16756 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16757 		fi
   16758 
   16759 		CFLAGS="$CFLAGS -Werror=address"
   16760 
   16761 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16762 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16763 		cacheid=xorg_cv_cc_flag__Werror_address
   16764 		if eval test \${$cacheid+y}
   16765 then :
   16766   printf %s "(cached) " >&6
   16767 else $as_nop
   16768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16769 /* end confdefs.h.  */
   16770 int i;
   16771 int
   16772 main (void)
   16773 {
   16774 
   16775   ;
   16776   return 0;
   16777 }
   16778 _ACEOF
   16779 if ac_fn_c_try_link "$LINENO"
   16780 then :
   16781   eval $cacheid=yes
   16782 else $as_nop
   16783   eval $cacheid=no
   16784 fi
   16785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16786     conftest$ac_exeext conftest.$ac_ext
   16787 fi
   16788 
   16789 
   16790 		CFLAGS="$xorg_testset_save_CFLAGS"
   16791 
   16792 		eval supported=\$$cacheid
   16793 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16794 printf "%s\n" "$supported" >&6; }
   16795 		if test "$supported" = "yes" ; then
   16796 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16797 			found="yes"
   16798 		fi
   16799 	fi
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 xorg_testset_save_CFLAGS="$CFLAGS"
   16816 
   16817 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16818 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16819 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16820 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16821 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16822 then :
   16823   printf %s "(cached) " >&6
   16824 else $as_nop
   16825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16826 /* end confdefs.h.  */
   16827 int i;
   16828 _ACEOF
   16829 if ac_fn_c_try_compile "$LINENO"
   16830 then :
   16831   xorg_cv_cc_flag_unknown_warning_option=yes
   16832 else $as_nop
   16833   xorg_cv_cc_flag_unknown_warning_option=no
   16834 fi
   16835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16836 fi
   16837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16838 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16839 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16840 	CFLAGS="$xorg_testset_save_CFLAGS"
   16841 fi
   16842 
   16843 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16844 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16845 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16846 	fi
   16847 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16848 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16849 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16850 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16851 then :
   16852   printf %s "(cached) " >&6
   16853 else $as_nop
   16854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16855 /* end confdefs.h.  */
   16856 int i;
   16857 _ACEOF
   16858 if ac_fn_c_try_compile "$LINENO"
   16859 then :
   16860   xorg_cv_cc_flag_unused_command_line_argument=yes
   16861 else $as_nop
   16862   xorg_cv_cc_flag_unused_command_line_argument=no
   16863 fi
   16864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16865 fi
   16866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16867 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16868 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16869 	CFLAGS="$xorg_testset_save_CFLAGS"
   16870 fi
   16871 
   16872 found="no"
   16873 
   16874 	if test $found = "no" ; then
   16875 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16876 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16877 		fi
   16878 
   16879 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16880 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16881 		fi
   16882 
   16883 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16884 
   16885 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16886 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16887 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16888 		if eval test \${$cacheid+y}
   16889 then :
   16890   printf %s "(cached) " >&6
   16891 else $as_nop
   16892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16893 /* end confdefs.h.  */
   16894 int i;
   16895 int
   16896 main (void)
   16897 {
   16898 
   16899   ;
   16900   return 0;
   16901 }
   16902 _ACEOF
   16903 if ac_fn_c_try_link "$LINENO"
   16904 then :
   16905   eval $cacheid=yes
   16906 else $as_nop
   16907   eval $cacheid=no
   16908 fi
   16909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16910     conftest$ac_exeext conftest.$ac_ext
   16911 fi
   16912 
   16913 
   16914 		CFLAGS="$xorg_testset_save_CFLAGS"
   16915 
   16916 		eval supported=\$$cacheid
   16917 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16918 printf "%s\n" "$supported" >&6; }
   16919 		if test "$supported" = "yes" ; then
   16920 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16921 			found="yes"
   16922 		fi
   16923 	fi
   16924 
   16925 	if test $found = "no" ; then
   16926 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16927 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16928 		fi
   16929 
   16930 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16931 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16932 		fi
   16933 
   16934 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16935 
   16936 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16937 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16938 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16939 		if eval test \${$cacheid+y}
   16940 then :
   16941   printf %s "(cached) " >&6
   16942 else $as_nop
   16943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16944 /* end confdefs.h.  */
   16945 int i;
   16946 int
   16947 main (void)
   16948 {
   16949 
   16950   ;
   16951   return 0;
   16952 }
   16953 _ACEOF
   16954 if ac_fn_c_try_link "$LINENO"
   16955 then :
   16956   eval $cacheid=yes
   16957 else $as_nop
   16958   eval $cacheid=no
   16959 fi
   16960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16961     conftest$ac_exeext conftest.$ac_ext
   16962 fi
   16963 
   16964 
   16965 		CFLAGS="$xorg_testset_save_CFLAGS"
   16966 
   16967 		eval supported=\$$cacheid
   16968 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16969 printf "%s\n" "$supported" >&6; }
   16970 		if test "$supported" = "yes" ; then
   16971 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16972 			found="yes"
   16973 		fi
   16974 	fi
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 
   16986 
   16987 
   16988 
   16989 
   16990 xorg_testset_save_CFLAGS="$CFLAGS"
   16991 
   16992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16995 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16996 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16997 then :
   16998   printf %s "(cached) " >&6
   16999 else $as_nop
   17000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17001 /* end confdefs.h.  */
   17002 int i;
   17003 _ACEOF
   17004 if ac_fn_c_try_compile "$LINENO"
   17005 then :
   17006   xorg_cv_cc_flag_unknown_warning_option=yes
   17007 else $as_nop
   17008   xorg_cv_cc_flag_unknown_warning_option=no
   17009 fi
   17010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17011 fi
   17012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17013 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17014 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17015 	CFLAGS="$xorg_testset_save_CFLAGS"
   17016 fi
   17017 
   17018 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17019 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17021 	fi
   17022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17024 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17025 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17026 then :
   17027   printf %s "(cached) " >&6
   17028 else $as_nop
   17029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17030 /* end confdefs.h.  */
   17031 int i;
   17032 _ACEOF
   17033 if ac_fn_c_try_compile "$LINENO"
   17034 then :
   17035   xorg_cv_cc_flag_unused_command_line_argument=yes
   17036 else $as_nop
   17037   xorg_cv_cc_flag_unused_command_line_argument=no
   17038 fi
   17039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17040 fi
   17041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17042 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17043 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17044 	CFLAGS="$xorg_testset_save_CFLAGS"
   17045 fi
   17046 
   17047 found="no"
   17048 
   17049 	if test $found = "no" ; then
   17050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17052 		fi
   17053 
   17054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17056 		fi
   17057 
   17058 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17059 
   17060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17061 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17062 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17063 		if eval test \${$cacheid+y}
   17064 then :
   17065   printf %s "(cached) " >&6
   17066 else $as_nop
   17067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17068 /* end confdefs.h.  */
   17069 int i;
   17070 int
   17071 main (void)
   17072 {
   17073 
   17074   ;
   17075   return 0;
   17076 }
   17077 _ACEOF
   17078 if ac_fn_c_try_link "$LINENO"
   17079 then :
   17080   eval $cacheid=yes
   17081 else $as_nop
   17082   eval $cacheid=no
   17083 fi
   17084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17085     conftest$ac_exeext conftest.$ac_ext
   17086 fi
   17087 
   17088 
   17089 		CFLAGS="$xorg_testset_save_CFLAGS"
   17090 
   17091 		eval supported=\$$cacheid
   17092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17093 printf "%s\n" "$supported" >&6; }
   17094 		if test "$supported" = "yes" ; then
   17095 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17096 			found="yes"
   17097 		fi
   17098 	fi
   17099 
   17100  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17101 else
   17102 { 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
   17103 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;}
   17104 
   17105 
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 
   17112 
   17113 
   17114 
   17115 
   17116 
   17117 xorg_testset_save_CFLAGS="$CFLAGS"
   17118 
   17119 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17120 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17121 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17122 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17123 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17124 then :
   17125   printf %s "(cached) " >&6
   17126 else $as_nop
   17127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17128 /* end confdefs.h.  */
   17129 int i;
   17130 _ACEOF
   17131 if ac_fn_c_try_compile "$LINENO"
   17132 then :
   17133   xorg_cv_cc_flag_unknown_warning_option=yes
   17134 else $as_nop
   17135   xorg_cv_cc_flag_unknown_warning_option=no
   17136 fi
   17137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17138 fi
   17139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17140 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17142 	CFLAGS="$xorg_testset_save_CFLAGS"
   17143 fi
   17144 
   17145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17148 	fi
   17149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17150 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17151 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17152 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17153 then :
   17154   printf %s "(cached) " >&6
   17155 else $as_nop
   17156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17157 /* end confdefs.h.  */
   17158 int i;
   17159 _ACEOF
   17160 if ac_fn_c_try_compile "$LINENO"
   17161 then :
   17162   xorg_cv_cc_flag_unused_command_line_argument=yes
   17163 else $as_nop
   17164   xorg_cv_cc_flag_unused_command_line_argument=no
   17165 fi
   17166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17167 fi
   17168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17169 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17171 	CFLAGS="$xorg_testset_save_CFLAGS"
   17172 fi
   17173 
   17174 found="no"
   17175 
   17176 	if test $found = "no" ; then
   17177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17179 		fi
   17180 
   17181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17183 		fi
   17184 
   17185 		CFLAGS="$CFLAGS -Wimplicit"
   17186 
   17187 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17188 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17189 		cacheid=xorg_cv_cc_flag__Wimplicit
   17190 		if eval test \${$cacheid+y}
   17191 then :
   17192   printf %s "(cached) " >&6
   17193 else $as_nop
   17194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17195 /* end confdefs.h.  */
   17196 int i;
   17197 int
   17198 main (void)
   17199 {
   17200 
   17201   ;
   17202   return 0;
   17203 }
   17204 _ACEOF
   17205 if ac_fn_c_try_link "$LINENO"
   17206 then :
   17207   eval $cacheid=yes
   17208 else $as_nop
   17209   eval $cacheid=no
   17210 fi
   17211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17212     conftest$ac_exeext conftest.$ac_ext
   17213 fi
   17214 
   17215 
   17216 		CFLAGS="$xorg_testset_save_CFLAGS"
   17217 
   17218 		eval supported=\$$cacheid
   17219 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17220 printf "%s\n" "$supported" >&6; }
   17221 		if test "$supported" = "yes" ; then
   17222 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17223 			found="yes"
   17224 		fi
   17225 	fi
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 
   17235 
   17236 
   17237 
   17238 
   17239 
   17240 
   17241 xorg_testset_save_CFLAGS="$CFLAGS"
   17242 
   17243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17244 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17245 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17246 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17247 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17248 then :
   17249   printf %s "(cached) " >&6
   17250 else $as_nop
   17251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17252 /* end confdefs.h.  */
   17253 int i;
   17254 _ACEOF
   17255 if ac_fn_c_try_compile "$LINENO"
   17256 then :
   17257   xorg_cv_cc_flag_unknown_warning_option=yes
   17258 else $as_nop
   17259   xorg_cv_cc_flag_unknown_warning_option=no
   17260 fi
   17261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17262 fi
   17263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17264 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17266 	CFLAGS="$xorg_testset_save_CFLAGS"
   17267 fi
   17268 
   17269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17272 	fi
   17273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17275 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17276 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17277 then :
   17278   printf %s "(cached) " >&6
   17279 else $as_nop
   17280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17281 /* end confdefs.h.  */
   17282 int i;
   17283 _ACEOF
   17284 if ac_fn_c_try_compile "$LINENO"
   17285 then :
   17286   xorg_cv_cc_flag_unused_command_line_argument=yes
   17287 else $as_nop
   17288   xorg_cv_cc_flag_unused_command_line_argument=no
   17289 fi
   17290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17291 fi
   17292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17293 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17294 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17295 	CFLAGS="$xorg_testset_save_CFLAGS"
   17296 fi
   17297 
   17298 found="no"
   17299 
   17300 	if test $found = "no" ; then
   17301 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17302 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17303 		fi
   17304 
   17305 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17306 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17307 		fi
   17308 
   17309 		CFLAGS="$CFLAGS -Wnonnull"
   17310 
   17311 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17312 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17313 		cacheid=xorg_cv_cc_flag__Wnonnull
   17314 		if eval test \${$cacheid+y}
   17315 then :
   17316   printf %s "(cached) " >&6
   17317 else $as_nop
   17318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17319 /* end confdefs.h.  */
   17320 int i;
   17321 int
   17322 main (void)
   17323 {
   17324 
   17325   ;
   17326   return 0;
   17327 }
   17328 _ACEOF
   17329 if ac_fn_c_try_link "$LINENO"
   17330 then :
   17331   eval $cacheid=yes
   17332 else $as_nop
   17333   eval $cacheid=no
   17334 fi
   17335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17336     conftest$ac_exeext conftest.$ac_ext
   17337 fi
   17338 
   17339 
   17340 		CFLAGS="$xorg_testset_save_CFLAGS"
   17341 
   17342 		eval supported=\$$cacheid
   17343 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17344 printf "%s\n" "$supported" >&6; }
   17345 		if test "$supported" = "yes" ; then
   17346 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17347 			found="yes"
   17348 		fi
   17349 	fi
   17350 
   17351 
   17352 
   17353 
   17354 
   17355 
   17356 
   17357 
   17358 
   17359 
   17360 
   17361 
   17362 
   17363 
   17364 
   17365 xorg_testset_save_CFLAGS="$CFLAGS"
   17366 
   17367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17368 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17369 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17370 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17371 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17372 then :
   17373   printf %s "(cached) " >&6
   17374 else $as_nop
   17375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17376 /* end confdefs.h.  */
   17377 int i;
   17378 _ACEOF
   17379 if ac_fn_c_try_compile "$LINENO"
   17380 then :
   17381   xorg_cv_cc_flag_unknown_warning_option=yes
   17382 else $as_nop
   17383   xorg_cv_cc_flag_unknown_warning_option=no
   17384 fi
   17385 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17386 fi
   17387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17388 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17390 	CFLAGS="$xorg_testset_save_CFLAGS"
   17391 fi
   17392 
   17393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17396 	fi
   17397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17399 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17400 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17401 then :
   17402   printf %s "(cached) " >&6
   17403 else $as_nop
   17404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17405 /* end confdefs.h.  */
   17406 int i;
   17407 _ACEOF
   17408 if ac_fn_c_try_compile "$LINENO"
   17409 then :
   17410   xorg_cv_cc_flag_unused_command_line_argument=yes
   17411 else $as_nop
   17412   xorg_cv_cc_flag_unused_command_line_argument=no
   17413 fi
   17414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17415 fi
   17416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17417 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17418 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17419 	CFLAGS="$xorg_testset_save_CFLAGS"
   17420 fi
   17421 
   17422 found="no"
   17423 
   17424 	if test $found = "no" ; then
   17425 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17426 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17427 		fi
   17428 
   17429 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17430 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17431 		fi
   17432 
   17433 		CFLAGS="$CFLAGS -Winit-self"
   17434 
   17435 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17436 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17437 		cacheid=xorg_cv_cc_flag__Winit_self
   17438 		if eval test \${$cacheid+y}
   17439 then :
   17440   printf %s "(cached) " >&6
   17441 else $as_nop
   17442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17443 /* end confdefs.h.  */
   17444 int i;
   17445 int
   17446 main (void)
   17447 {
   17448 
   17449   ;
   17450   return 0;
   17451 }
   17452 _ACEOF
   17453 if ac_fn_c_try_link "$LINENO"
   17454 then :
   17455   eval $cacheid=yes
   17456 else $as_nop
   17457   eval $cacheid=no
   17458 fi
   17459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17460     conftest$ac_exeext conftest.$ac_ext
   17461 fi
   17462 
   17463 
   17464 		CFLAGS="$xorg_testset_save_CFLAGS"
   17465 
   17466 		eval supported=\$$cacheid
   17467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17468 printf "%s\n" "$supported" >&6; }
   17469 		if test "$supported" = "yes" ; then
   17470 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17471 			found="yes"
   17472 		fi
   17473 	fi
   17474 
   17475 
   17476 
   17477 
   17478 
   17479 
   17480 
   17481 
   17482 
   17483 
   17484 
   17485 
   17486 
   17487 
   17488 
   17489 xorg_testset_save_CFLAGS="$CFLAGS"
   17490 
   17491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17492 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17493 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17494 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17495 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17496 then :
   17497   printf %s "(cached) " >&6
   17498 else $as_nop
   17499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17500 /* end confdefs.h.  */
   17501 int i;
   17502 _ACEOF
   17503 if ac_fn_c_try_compile "$LINENO"
   17504 then :
   17505   xorg_cv_cc_flag_unknown_warning_option=yes
   17506 else $as_nop
   17507   xorg_cv_cc_flag_unknown_warning_option=no
   17508 fi
   17509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17510 fi
   17511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17512 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17513 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17514 	CFLAGS="$xorg_testset_save_CFLAGS"
   17515 fi
   17516 
   17517 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17518 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17519 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17520 	fi
   17521 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17522 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17523 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17524 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17525 then :
   17526   printf %s "(cached) " >&6
   17527 else $as_nop
   17528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17529 /* end confdefs.h.  */
   17530 int i;
   17531 _ACEOF
   17532 if ac_fn_c_try_compile "$LINENO"
   17533 then :
   17534   xorg_cv_cc_flag_unused_command_line_argument=yes
   17535 else $as_nop
   17536   xorg_cv_cc_flag_unused_command_line_argument=no
   17537 fi
   17538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17539 fi
   17540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17541 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17542 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17543 	CFLAGS="$xorg_testset_save_CFLAGS"
   17544 fi
   17545 
   17546 found="no"
   17547 
   17548 	if test $found = "no" ; then
   17549 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17550 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17551 		fi
   17552 
   17553 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17554 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17555 		fi
   17556 
   17557 		CFLAGS="$CFLAGS -Wmain"
   17558 
   17559 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17560 printf %s "checking if $CC supports -Wmain... " >&6; }
   17561 		cacheid=xorg_cv_cc_flag__Wmain
   17562 		if eval test \${$cacheid+y}
   17563 then :
   17564   printf %s "(cached) " >&6
   17565 else $as_nop
   17566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17567 /* end confdefs.h.  */
   17568 int i;
   17569 int
   17570 main (void)
   17571 {
   17572 
   17573   ;
   17574   return 0;
   17575 }
   17576 _ACEOF
   17577 if ac_fn_c_try_link "$LINENO"
   17578 then :
   17579   eval $cacheid=yes
   17580 else $as_nop
   17581   eval $cacheid=no
   17582 fi
   17583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17584     conftest$ac_exeext conftest.$ac_ext
   17585 fi
   17586 
   17587 
   17588 		CFLAGS="$xorg_testset_save_CFLAGS"
   17589 
   17590 		eval supported=\$$cacheid
   17591 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17592 printf "%s\n" "$supported" >&6; }
   17593 		if test "$supported" = "yes" ; then
   17594 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17595 			found="yes"
   17596 		fi
   17597 	fi
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 xorg_testset_save_CFLAGS="$CFLAGS"
   17614 
   17615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17616 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17617 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17618 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17619 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17620 then :
   17621   printf %s "(cached) " >&6
   17622 else $as_nop
   17623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17624 /* end confdefs.h.  */
   17625 int i;
   17626 _ACEOF
   17627 if ac_fn_c_try_compile "$LINENO"
   17628 then :
   17629   xorg_cv_cc_flag_unknown_warning_option=yes
   17630 else $as_nop
   17631   xorg_cv_cc_flag_unknown_warning_option=no
   17632 fi
   17633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17634 fi
   17635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17636 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17637 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17638 	CFLAGS="$xorg_testset_save_CFLAGS"
   17639 fi
   17640 
   17641 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17642 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17643 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17644 	fi
   17645 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17646 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17647 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17648 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17649 then :
   17650   printf %s "(cached) " >&6
   17651 else $as_nop
   17652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17653 /* end confdefs.h.  */
   17654 int i;
   17655 _ACEOF
   17656 if ac_fn_c_try_compile "$LINENO"
   17657 then :
   17658   xorg_cv_cc_flag_unused_command_line_argument=yes
   17659 else $as_nop
   17660   xorg_cv_cc_flag_unused_command_line_argument=no
   17661 fi
   17662 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17663 fi
   17664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17665 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17666 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17667 	CFLAGS="$xorg_testset_save_CFLAGS"
   17668 fi
   17669 
   17670 found="no"
   17671 
   17672 	if test $found = "no" ; then
   17673 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17675 		fi
   17676 
   17677 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17679 		fi
   17680 
   17681 		CFLAGS="$CFLAGS -Wmissing-braces"
   17682 
   17683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17684 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17685 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17686 		if eval test \${$cacheid+y}
   17687 then :
   17688   printf %s "(cached) " >&6
   17689 else $as_nop
   17690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17691 /* end confdefs.h.  */
   17692 int i;
   17693 int
   17694 main (void)
   17695 {
   17696 
   17697   ;
   17698   return 0;
   17699 }
   17700 _ACEOF
   17701 if ac_fn_c_try_link "$LINENO"
   17702 then :
   17703   eval $cacheid=yes
   17704 else $as_nop
   17705   eval $cacheid=no
   17706 fi
   17707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17708     conftest$ac_exeext conftest.$ac_ext
   17709 fi
   17710 
   17711 
   17712 		CFLAGS="$xorg_testset_save_CFLAGS"
   17713 
   17714 		eval supported=\$$cacheid
   17715 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17716 printf "%s\n" "$supported" >&6; }
   17717 		if test "$supported" = "yes" ; then
   17718 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17719 			found="yes"
   17720 		fi
   17721 	fi
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 xorg_testset_save_CFLAGS="$CFLAGS"
   17738 
   17739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17740 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17741 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17742 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17743 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17744 then :
   17745   printf %s "(cached) " >&6
   17746 else $as_nop
   17747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17748 /* end confdefs.h.  */
   17749 int i;
   17750 _ACEOF
   17751 if ac_fn_c_try_compile "$LINENO"
   17752 then :
   17753   xorg_cv_cc_flag_unknown_warning_option=yes
   17754 else $as_nop
   17755   xorg_cv_cc_flag_unknown_warning_option=no
   17756 fi
   17757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17758 fi
   17759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17760 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17761 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17762 	CFLAGS="$xorg_testset_save_CFLAGS"
   17763 fi
   17764 
   17765 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17766 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17767 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17768 	fi
   17769 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17770 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17771 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17772 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17773 then :
   17774   printf %s "(cached) " >&6
   17775 else $as_nop
   17776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17777 /* end confdefs.h.  */
   17778 int i;
   17779 _ACEOF
   17780 if ac_fn_c_try_compile "$LINENO"
   17781 then :
   17782   xorg_cv_cc_flag_unused_command_line_argument=yes
   17783 else $as_nop
   17784   xorg_cv_cc_flag_unused_command_line_argument=no
   17785 fi
   17786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17787 fi
   17788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17789 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17791 	CFLAGS="$xorg_testset_save_CFLAGS"
   17792 fi
   17793 
   17794 found="no"
   17795 
   17796 	if test $found = "no" ; then
   17797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17799 		fi
   17800 
   17801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17803 		fi
   17804 
   17805 		CFLAGS="$CFLAGS -Wsequence-point"
   17806 
   17807 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17808 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17809 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17810 		if eval test \${$cacheid+y}
   17811 then :
   17812   printf %s "(cached) " >&6
   17813 else $as_nop
   17814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17815 /* end confdefs.h.  */
   17816 int i;
   17817 int
   17818 main (void)
   17819 {
   17820 
   17821   ;
   17822   return 0;
   17823 }
   17824 _ACEOF
   17825 if ac_fn_c_try_link "$LINENO"
   17826 then :
   17827   eval $cacheid=yes
   17828 else $as_nop
   17829   eval $cacheid=no
   17830 fi
   17831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17832     conftest$ac_exeext conftest.$ac_ext
   17833 fi
   17834 
   17835 
   17836 		CFLAGS="$xorg_testset_save_CFLAGS"
   17837 
   17838 		eval supported=\$$cacheid
   17839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17840 printf "%s\n" "$supported" >&6; }
   17841 		if test "$supported" = "yes" ; then
   17842 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17843 			found="yes"
   17844 		fi
   17845 	fi
   17846 
   17847 
   17848 
   17849 
   17850 
   17851 
   17852 
   17853 
   17854 
   17855 
   17856 
   17857 
   17858 
   17859 
   17860 
   17861 xorg_testset_save_CFLAGS="$CFLAGS"
   17862 
   17863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17865 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17866 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17867 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17868 then :
   17869   printf %s "(cached) " >&6
   17870 else $as_nop
   17871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17872 /* end confdefs.h.  */
   17873 int i;
   17874 _ACEOF
   17875 if ac_fn_c_try_compile "$LINENO"
   17876 then :
   17877   xorg_cv_cc_flag_unknown_warning_option=yes
   17878 else $as_nop
   17879   xorg_cv_cc_flag_unknown_warning_option=no
   17880 fi
   17881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17882 fi
   17883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17884 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17885 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17886 	CFLAGS="$xorg_testset_save_CFLAGS"
   17887 fi
   17888 
   17889 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17890 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17891 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17892 	fi
   17893 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17894 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17895 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17896 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17897 then :
   17898   printf %s "(cached) " >&6
   17899 else $as_nop
   17900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17901 /* end confdefs.h.  */
   17902 int i;
   17903 _ACEOF
   17904 if ac_fn_c_try_compile "$LINENO"
   17905 then :
   17906   xorg_cv_cc_flag_unused_command_line_argument=yes
   17907 else $as_nop
   17908   xorg_cv_cc_flag_unused_command_line_argument=no
   17909 fi
   17910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17911 fi
   17912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17913 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17914 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17915 	CFLAGS="$xorg_testset_save_CFLAGS"
   17916 fi
   17917 
   17918 found="no"
   17919 
   17920 	if test $found = "no" ; then
   17921 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17923 		fi
   17924 
   17925 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17927 		fi
   17928 
   17929 		CFLAGS="$CFLAGS -Wreturn-type"
   17930 
   17931 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17932 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17933 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17934 		if eval test \${$cacheid+y}
   17935 then :
   17936   printf %s "(cached) " >&6
   17937 else $as_nop
   17938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17939 /* end confdefs.h.  */
   17940 int i;
   17941 int
   17942 main (void)
   17943 {
   17944 
   17945   ;
   17946   return 0;
   17947 }
   17948 _ACEOF
   17949 if ac_fn_c_try_link "$LINENO"
   17950 then :
   17951   eval $cacheid=yes
   17952 else $as_nop
   17953   eval $cacheid=no
   17954 fi
   17955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17956     conftest$ac_exeext conftest.$ac_ext
   17957 fi
   17958 
   17959 
   17960 		CFLAGS="$xorg_testset_save_CFLAGS"
   17961 
   17962 		eval supported=\$$cacheid
   17963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17964 printf "%s\n" "$supported" >&6; }
   17965 		if test "$supported" = "yes" ; then
   17966 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17967 			found="yes"
   17968 		fi
   17969 	fi
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 
   17977 
   17978 
   17979 
   17980 
   17981 
   17982 
   17983 
   17984 
   17985 xorg_testset_save_CFLAGS="$CFLAGS"
   17986 
   17987 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17988 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17989 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17990 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17991 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17992 then :
   17993   printf %s "(cached) " >&6
   17994 else $as_nop
   17995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17996 /* end confdefs.h.  */
   17997 int i;
   17998 _ACEOF
   17999 if ac_fn_c_try_compile "$LINENO"
   18000 then :
   18001   xorg_cv_cc_flag_unknown_warning_option=yes
   18002 else $as_nop
   18003   xorg_cv_cc_flag_unknown_warning_option=no
   18004 fi
   18005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18006 fi
   18007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18008 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18009 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18010 	CFLAGS="$xorg_testset_save_CFLAGS"
   18011 fi
   18012 
   18013 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18014 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18015 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18016 	fi
   18017 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18018 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18019 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18020 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18021 then :
   18022   printf %s "(cached) " >&6
   18023 else $as_nop
   18024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18025 /* end confdefs.h.  */
   18026 int i;
   18027 _ACEOF
   18028 if ac_fn_c_try_compile "$LINENO"
   18029 then :
   18030   xorg_cv_cc_flag_unused_command_line_argument=yes
   18031 else $as_nop
   18032   xorg_cv_cc_flag_unused_command_line_argument=no
   18033 fi
   18034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18035 fi
   18036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18037 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18038 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18039 	CFLAGS="$xorg_testset_save_CFLAGS"
   18040 fi
   18041 
   18042 found="no"
   18043 
   18044 	if test $found = "no" ; then
   18045 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18046 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18047 		fi
   18048 
   18049 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18050 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18051 		fi
   18052 
   18053 		CFLAGS="$CFLAGS -Wtrigraphs"
   18054 
   18055 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   18056 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   18057 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   18058 		if eval test \${$cacheid+y}
   18059 then :
   18060   printf %s "(cached) " >&6
   18061 else $as_nop
   18062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18063 /* end confdefs.h.  */
   18064 int i;
   18065 int
   18066 main (void)
   18067 {
   18068 
   18069   ;
   18070   return 0;
   18071 }
   18072 _ACEOF
   18073 if ac_fn_c_try_link "$LINENO"
   18074 then :
   18075   eval $cacheid=yes
   18076 else $as_nop
   18077   eval $cacheid=no
   18078 fi
   18079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18080     conftest$ac_exeext conftest.$ac_ext
   18081 fi
   18082 
   18083 
   18084 		CFLAGS="$xorg_testset_save_CFLAGS"
   18085 
   18086 		eval supported=\$$cacheid
   18087 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18088 printf "%s\n" "$supported" >&6; }
   18089 		if test "$supported" = "yes" ; then
   18090 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18091 			found="yes"
   18092 		fi
   18093 	fi
   18094 
   18095 
   18096 
   18097 
   18098 
   18099 
   18100 
   18101 
   18102 
   18103 
   18104 
   18105 
   18106 
   18107 
   18108 
   18109 xorg_testset_save_CFLAGS="$CFLAGS"
   18110 
   18111 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18112 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18113 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18114 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18115 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18116 then :
   18117   printf %s "(cached) " >&6
   18118 else $as_nop
   18119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18120 /* end confdefs.h.  */
   18121 int i;
   18122 _ACEOF
   18123 if ac_fn_c_try_compile "$LINENO"
   18124 then :
   18125   xorg_cv_cc_flag_unknown_warning_option=yes
   18126 else $as_nop
   18127   xorg_cv_cc_flag_unknown_warning_option=no
   18128 fi
   18129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18130 fi
   18131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18132 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18133 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18134 	CFLAGS="$xorg_testset_save_CFLAGS"
   18135 fi
   18136 
   18137 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18138 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18139 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18140 	fi
   18141 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18142 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18143 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18144 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18145 then :
   18146   printf %s "(cached) " >&6
   18147 else $as_nop
   18148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18149 /* end confdefs.h.  */
   18150 int i;
   18151 _ACEOF
   18152 if ac_fn_c_try_compile "$LINENO"
   18153 then :
   18154   xorg_cv_cc_flag_unused_command_line_argument=yes
   18155 else $as_nop
   18156   xorg_cv_cc_flag_unused_command_line_argument=no
   18157 fi
   18158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18159 fi
   18160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18161 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18162 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18163 	CFLAGS="$xorg_testset_save_CFLAGS"
   18164 fi
   18165 
   18166 found="no"
   18167 
   18168 	if test $found = "no" ; then
   18169 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18171 		fi
   18172 
   18173 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18175 		fi
   18176 
   18177 		CFLAGS="$CFLAGS -Warray-bounds"
   18178 
   18179 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18180 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18181 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18182 		if eval test \${$cacheid+y}
   18183 then :
   18184   printf %s "(cached) " >&6
   18185 else $as_nop
   18186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18187 /* end confdefs.h.  */
   18188 int i;
   18189 int
   18190 main (void)
   18191 {
   18192 
   18193   ;
   18194   return 0;
   18195 }
   18196 _ACEOF
   18197 if ac_fn_c_try_link "$LINENO"
   18198 then :
   18199   eval $cacheid=yes
   18200 else $as_nop
   18201   eval $cacheid=no
   18202 fi
   18203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18204     conftest$ac_exeext conftest.$ac_ext
   18205 fi
   18206 
   18207 
   18208 		CFLAGS="$xorg_testset_save_CFLAGS"
   18209 
   18210 		eval supported=\$$cacheid
   18211 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18212 printf "%s\n" "$supported" >&6; }
   18213 		if test "$supported" = "yes" ; then
   18214 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18215 			found="yes"
   18216 		fi
   18217 	fi
   18218 
   18219 
   18220 
   18221 
   18222 
   18223 
   18224 
   18225 
   18226 
   18227 
   18228 
   18229 
   18230 
   18231 
   18232 
   18233 xorg_testset_save_CFLAGS="$CFLAGS"
   18234 
   18235 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18236 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18237 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18238 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18239 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18240 then :
   18241   printf %s "(cached) " >&6
   18242 else $as_nop
   18243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18244 /* end confdefs.h.  */
   18245 int i;
   18246 _ACEOF
   18247 if ac_fn_c_try_compile "$LINENO"
   18248 then :
   18249   xorg_cv_cc_flag_unknown_warning_option=yes
   18250 else $as_nop
   18251   xorg_cv_cc_flag_unknown_warning_option=no
   18252 fi
   18253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18254 fi
   18255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18256 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18257 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18258 	CFLAGS="$xorg_testset_save_CFLAGS"
   18259 fi
   18260 
   18261 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18262 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18263 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18264 	fi
   18265 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18266 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18267 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18268 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18269 then :
   18270   printf %s "(cached) " >&6
   18271 else $as_nop
   18272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18273 /* end confdefs.h.  */
   18274 int i;
   18275 _ACEOF
   18276 if ac_fn_c_try_compile "$LINENO"
   18277 then :
   18278   xorg_cv_cc_flag_unused_command_line_argument=yes
   18279 else $as_nop
   18280   xorg_cv_cc_flag_unused_command_line_argument=no
   18281 fi
   18282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18283 fi
   18284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18285 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18286 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18287 	CFLAGS="$xorg_testset_save_CFLAGS"
   18288 fi
   18289 
   18290 found="no"
   18291 
   18292 	if test $found = "no" ; then
   18293 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18294 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18295 		fi
   18296 
   18297 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18298 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18299 		fi
   18300 
   18301 		CFLAGS="$CFLAGS -Wwrite-strings"
   18302 
   18303 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18304 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18305 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18306 		if eval test \${$cacheid+y}
   18307 then :
   18308   printf %s "(cached) " >&6
   18309 else $as_nop
   18310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18311 /* end confdefs.h.  */
   18312 int i;
   18313 int
   18314 main (void)
   18315 {
   18316 
   18317   ;
   18318   return 0;
   18319 }
   18320 _ACEOF
   18321 if ac_fn_c_try_link "$LINENO"
   18322 then :
   18323   eval $cacheid=yes
   18324 else $as_nop
   18325   eval $cacheid=no
   18326 fi
   18327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18328     conftest$ac_exeext conftest.$ac_ext
   18329 fi
   18330 
   18331 
   18332 		CFLAGS="$xorg_testset_save_CFLAGS"
   18333 
   18334 		eval supported=\$$cacheid
   18335 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18336 printf "%s\n" "$supported" >&6; }
   18337 		if test "$supported" = "yes" ; then
   18338 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18339 			found="yes"
   18340 		fi
   18341 	fi
   18342 
   18343 
   18344 
   18345 
   18346 
   18347 
   18348 
   18349 
   18350 
   18351 
   18352 
   18353 
   18354 
   18355 
   18356 
   18357 xorg_testset_save_CFLAGS="$CFLAGS"
   18358 
   18359 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18360 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18361 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18362 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18363 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18364 then :
   18365   printf %s "(cached) " >&6
   18366 else $as_nop
   18367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18368 /* end confdefs.h.  */
   18369 int i;
   18370 _ACEOF
   18371 if ac_fn_c_try_compile "$LINENO"
   18372 then :
   18373   xorg_cv_cc_flag_unknown_warning_option=yes
   18374 else $as_nop
   18375   xorg_cv_cc_flag_unknown_warning_option=no
   18376 fi
   18377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18378 fi
   18379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18380 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18382 	CFLAGS="$xorg_testset_save_CFLAGS"
   18383 fi
   18384 
   18385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18388 	fi
   18389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18390 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18391 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18392 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18393 then :
   18394   printf %s "(cached) " >&6
   18395 else $as_nop
   18396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18397 /* end confdefs.h.  */
   18398 int i;
   18399 _ACEOF
   18400 if ac_fn_c_try_compile "$LINENO"
   18401 then :
   18402   xorg_cv_cc_flag_unused_command_line_argument=yes
   18403 else $as_nop
   18404   xorg_cv_cc_flag_unused_command_line_argument=no
   18405 fi
   18406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18407 fi
   18408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18409 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18410 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18411 	CFLAGS="$xorg_testset_save_CFLAGS"
   18412 fi
   18413 
   18414 found="no"
   18415 
   18416 	if test $found = "no" ; then
   18417 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18418 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18419 		fi
   18420 
   18421 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18422 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18423 		fi
   18424 
   18425 		CFLAGS="$CFLAGS -Waddress"
   18426 
   18427 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18428 printf %s "checking if $CC supports -Waddress... " >&6; }
   18429 		cacheid=xorg_cv_cc_flag__Waddress
   18430 		if eval test \${$cacheid+y}
   18431 then :
   18432   printf %s "(cached) " >&6
   18433 else $as_nop
   18434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18435 /* end confdefs.h.  */
   18436 int i;
   18437 int
   18438 main (void)
   18439 {
   18440 
   18441   ;
   18442   return 0;
   18443 }
   18444 _ACEOF
   18445 if ac_fn_c_try_link "$LINENO"
   18446 then :
   18447   eval $cacheid=yes
   18448 else $as_nop
   18449   eval $cacheid=no
   18450 fi
   18451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18452     conftest$ac_exeext conftest.$ac_ext
   18453 fi
   18454 
   18455 
   18456 		CFLAGS="$xorg_testset_save_CFLAGS"
   18457 
   18458 		eval supported=\$$cacheid
   18459 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18460 printf "%s\n" "$supported" >&6; }
   18461 		if test "$supported" = "yes" ; then
   18462 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18463 			found="yes"
   18464 		fi
   18465 	fi
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 
   18472 
   18473 
   18474 
   18475 
   18476 
   18477 
   18478 
   18479 
   18480 
   18481 xorg_testset_save_CFLAGS="$CFLAGS"
   18482 
   18483 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18484 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18485 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18486 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18487 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18488 then :
   18489   printf %s "(cached) " >&6
   18490 else $as_nop
   18491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18492 /* end confdefs.h.  */
   18493 int i;
   18494 _ACEOF
   18495 if ac_fn_c_try_compile "$LINENO"
   18496 then :
   18497   xorg_cv_cc_flag_unknown_warning_option=yes
   18498 else $as_nop
   18499   xorg_cv_cc_flag_unknown_warning_option=no
   18500 fi
   18501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18502 fi
   18503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18504 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18505 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18506 	CFLAGS="$xorg_testset_save_CFLAGS"
   18507 fi
   18508 
   18509 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18510 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18512 	fi
   18513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18514 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18515 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18516 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18517 then :
   18518   printf %s "(cached) " >&6
   18519 else $as_nop
   18520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18521 /* end confdefs.h.  */
   18522 int i;
   18523 _ACEOF
   18524 if ac_fn_c_try_compile "$LINENO"
   18525 then :
   18526   xorg_cv_cc_flag_unused_command_line_argument=yes
   18527 else $as_nop
   18528   xorg_cv_cc_flag_unused_command_line_argument=no
   18529 fi
   18530 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18531 fi
   18532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18533 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18534 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18535 	CFLAGS="$xorg_testset_save_CFLAGS"
   18536 fi
   18537 
   18538 found="no"
   18539 
   18540 	if test $found = "no" ; then
   18541 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18542 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18543 		fi
   18544 
   18545 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18546 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18547 		fi
   18548 
   18549 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18550 
   18551 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18552 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18553 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18554 		if eval test \${$cacheid+y}
   18555 then :
   18556   printf %s "(cached) " >&6
   18557 else $as_nop
   18558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18559 /* end confdefs.h.  */
   18560 int i;
   18561 int
   18562 main (void)
   18563 {
   18564 
   18565   ;
   18566   return 0;
   18567 }
   18568 _ACEOF
   18569 if ac_fn_c_try_link "$LINENO"
   18570 then :
   18571   eval $cacheid=yes
   18572 else $as_nop
   18573   eval $cacheid=no
   18574 fi
   18575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18576     conftest$ac_exeext conftest.$ac_ext
   18577 fi
   18578 
   18579 
   18580 		CFLAGS="$xorg_testset_save_CFLAGS"
   18581 
   18582 		eval supported=\$$cacheid
   18583 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18584 printf "%s\n" "$supported" >&6; }
   18585 		if test "$supported" = "yes" ; then
   18586 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18587 			found="yes"
   18588 		fi
   18589 	fi
   18590 
   18591 
   18592 
   18593 
   18594 
   18595 
   18596 
   18597 
   18598 
   18599 
   18600 
   18601 
   18602 
   18603 
   18604 
   18605 xorg_testset_save_CFLAGS="$CFLAGS"
   18606 
   18607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18609 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18610 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18611 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18612 then :
   18613   printf %s "(cached) " >&6
   18614 else $as_nop
   18615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18616 /* end confdefs.h.  */
   18617 int i;
   18618 _ACEOF
   18619 if ac_fn_c_try_compile "$LINENO"
   18620 then :
   18621   xorg_cv_cc_flag_unknown_warning_option=yes
   18622 else $as_nop
   18623   xorg_cv_cc_flag_unknown_warning_option=no
   18624 fi
   18625 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18626 fi
   18627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18628 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18629 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18630 	CFLAGS="$xorg_testset_save_CFLAGS"
   18631 fi
   18632 
   18633 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18634 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18635 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18636 	fi
   18637 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18638 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18639 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18640 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18641 then :
   18642   printf %s "(cached) " >&6
   18643 else $as_nop
   18644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18645 /* end confdefs.h.  */
   18646 int i;
   18647 _ACEOF
   18648 if ac_fn_c_try_compile "$LINENO"
   18649 then :
   18650   xorg_cv_cc_flag_unused_command_line_argument=yes
   18651 else $as_nop
   18652   xorg_cv_cc_flag_unused_command_line_argument=no
   18653 fi
   18654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18655 fi
   18656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18657 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18658 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18659 	CFLAGS="$xorg_testset_save_CFLAGS"
   18660 fi
   18661 
   18662 found="no"
   18663 
   18664 	if test $found = "no" ; then
   18665 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18666 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18667 		fi
   18668 
   18669 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18670 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18671 		fi
   18672 
   18673 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18674 
   18675 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18676 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18677 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18678 		if eval test \${$cacheid+y}
   18679 then :
   18680   printf %s "(cached) " >&6
   18681 else $as_nop
   18682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18683 /* end confdefs.h.  */
   18684 int i;
   18685 int
   18686 main (void)
   18687 {
   18688 
   18689   ;
   18690   return 0;
   18691 }
   18692 _ACEOF
   18693 if ac_fn_c_try_link "$LINENO"
   18694 then :
   18695   eval $cacheid=yes
   18696 else $as_nop
   18697   eval $cacheid=no
   18698 fi
   18699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18700     conftest$ac_exeext conftest.$ac_ext
   18701 fi
   18702 
   18703 
   18704 		CFLAGS="$xorg_testset_save_CFLAGS"
   18705 
   18706 		eval supported=\$$cacheid
   18707 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18708 printf "%s\n" "$supported" >&6; }
   18709 		if test "$supported" = "yes" ; then
   18710 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18711 			found="yes"
   18712 		fi
   18713 	fi
   18714 
   18715 
   18716 fi
   18717 
   18718 
   18719 
   18720 
   18721 
   18722 
   18723 
   18724 		CWARNFLAGS="$BASE_CFLAGS"
   18725 		if  test "x$GCC" = xyes ; then
   18726 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18727 		fi
   18728 
   18729 
   18730 
   18731 
   18732 
   18733 
   18734 
   18735 
   18736 # Check whether --enable-strict-compilation was given.
   18737 if test ${enable_strict_compilation+y}
   18738 then :
   18739   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18740 else $as_nop
   18741   STRICT_COMPILE=no
   18742 fi
   18743 
   18744 
   18745 
   18746 
   18747 
   18748 
   18749 STRICT_CFLAGS=""
   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 -pedantic"
   18832 
   18833 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18834 printf %s "checking if $CC supports -pedantic... " >&6; }
   18835 		cacheid=xorg_cv_cc_flag__pedantic
   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 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   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 -Werror"
   18956 
   18957 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18958 printf %s "checking if $CC supports -Werror... " >&6; }
   18959 		cacheid=xorg_cv_cc_flag__Werror
   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 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18993 			found="yes"
   18994 		fi
   18995 	fi
   18996 
   18997 	if test $found = "no" ; then
   18998 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19000 		fi
   19001 
   19002 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19004 		fi
   19005 
   19006 		CFLAGS="$CFLAGS -errwarn"
   19007 
   19008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   19009 printf %s "checking if $CC supports -errwarn... " >&6; }
   19010 		cacheid=xorg_cv_cc_flag__errwarn
   19011 		if eval test \${$cacheid+y}
   19012 then :
   19013   printf %s "(cached) " >&6
   19014 else $as_nop
   19015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19016 /* end confdefs.h.  */
   19017 int i;
   19018 int
   19019 main (void)
   19020 {
   19021 
   19022   ;
   19023   return 0;
   19024 }
   19025 _ACEOF
   19026 if ac_fn_c_try_link "$LINENO"
   19027 then :
   19028   eval $cacheid=yes
   19029 else $as_nop
   19030   eval $cacheid=no
   19031 fi
   19032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19033     conftest$ac_exeext conftest.$ac_ext
   19034 fi
   19035 
   19036 
   19037 		CFLAGS="$xorg_testset_save_CFLAGS"
   19038 
   19039 		eval supported=\$$cacheid
   19040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19041 printf "%s\n" "$supported" >&6; }
   19042 		if test "$supported" = "yes" ; then
   19043 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   19044 			found="yes"
   19045 		fi
   19046 	fi
   19047 
   19048 
   19049 
   19050 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   19051 # activate it with -Werror, so we add it here explicitly.
   19052 
   19053 
   19054 
   19055 
   19056 
   19057 
   19058 
   19059 
   19060 
   19061 
   19062 
   19063 
   19064 
   19065 xorg_testset_save_CFLAGS="$CFLAGS"
   19066 
   19067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19069 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19070 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19071 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19072 then :
   19073   printf %s "(cached) " >&6
   19074 else $as_nop
   19075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19076 /* end confdefs.h.  */
   19077 int i;
   19078 _ACEOF
   19079 if ac_fn_c_try_compile "$LINENO"
   19080 then :
   19081   xorg_cv_cc_flag_unknown_warning_option=yes
   19082 else $as_nop
   19083   xorg_cv_cc_flag_unknown_warning_option=no
   19084 fi
   19085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19086 fi
   19087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19088 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19089 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19090 	CFLAGS="$xorg_testset_save_CFLAGS"
   19091 fi
   19092 
   19093 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19094 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19095 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19096 	fi
   19097 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19098 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19099 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19100 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19101 then :
   19102   printf %s "(cached) " >&6
   19103 else $as_nop
   19104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19105 /* end confdefs.h.  */
   19106 int i;
   19107 _ACEOF
   19108 if ac_fn_c_try_compile "$LINENO"
   19109 then :
   19110   xorg_cv_cc_flag_unused_command_line_argument=yes
   19111 else $as_nop
   19112   xorg_cv_cc_flag_unused_command_line_argument=no
   19113 fi
   19114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19115 fi
   19116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19117 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19118 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19119 	CFLAGS="$xorg_testset_save_CFLAGS"
   19120 fi
   19121 
   19122 found="no"
   19123 
   19124 	if test $found = "no" ; then
   19125 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19126 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19127 		fi
   19128 
   19129 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19130 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19131 		fi
   19132 
   19133 		CFLAGS="$CFLAGS -Werror=attributes"
   19134 
   19135 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19136 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19137 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19138 		if eval test \${$cacheid+y}
   19139 then :
   19140   printf %s "(cached) " >&6
   19141 else $as_nop
   19142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19143 /* end confdefs.h.  */
   19144 int i;
   19145 int
   19146 main (void)
   19147 {
   19148 
   19149   ;
   19150   return 0;
   19151 }
   19152 _ACEOF
   19153 if ac_fn_c_try_link "$LINENO"
   19154 then :
   19155   eval $cacheid=yes
   19156 else $as_nop
   19157   eval $cacheid=no
   19158 fi
   19159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19160     conftest$ac_exeext conftest.$ac_ext
   19161 fi
   19162 
   19163 
   19164 		CFLAGS="$xorg_testset_save_CFLAGS"
   19165 
   19166 		eval supported=\$$cacheid
   19167 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19168 printf "%s\n" "$supported" >&6; }
   19169 		if test "$supported" = "yes" ; then
   19170 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19171 			found="yes"
   19172 		fi
   19173 	fi
   19174 
   19175 
   19176 
   19177 if test "x$STRICT_COMPILE" = "xyes"; then
   19178     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19179     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19180 fi
   19181 
   19182 
   19183 
   19184 
   19185 
   19186 
   19187 cat >>confdefs.h <<_ACEOF
   19188 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19189 _ACEOF
   19190 
   19191 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19192 	if test "x$PVM" = "x"; then
   19193 		PVM="0"
   19194 	fi
   19195 
   19196 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19197 
   19198 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19199 	if test "x$PVP" = "x"; then
   19200 		PVP="0"
   19201 	fi
   19202 
   19203 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19204 
   19205 
   19206 
   19207 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19208 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19209 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19210 touch \$(top_srcdir)/ChangeLog; \
   19211 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19212 
   19213 
   19214 
   19215 
   19216 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19217 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19218 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19219 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19220 touch \$(top_srcdir)/INSTALL; \
   19221 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19222 
   19223 
   19224 
   19225 
   19226 
   19227 
   19228 case $host_os in
   19229     solaris*)
   19230         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19231         # check for a man page file found in later versions that use
   19232         # traditional section numbers instead
   19233         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19234 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19235 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19236 then :
   19237   printf %s "(cached) " >&6
   19238 else $as_nop
   19239   test "$cross_compiling" = yes &&
   19240   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19241 if test -r "/usr/share/man/man7/attributes.7"; then
   19242   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19243 else
   19244   ac_cv_file__usr_share_man_man7_attributes_7=no
   19245 fi
   19246 fi
   19247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19248 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19249 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19250 then :
   19251   SYSV_MAN_SECTIONS=false
   19252 else $as_nop
   19253   SYSV_MAN_SECTIONS=true
   19254 fi
   19255 
   19256         ;;
   19257     *) SYSV_MAN_SECTIONS=false ;;
   19258 esac
   19259 
   19260 if test x$APP_MAN_SUFFIX = x    ; then
   19261     APP_MAN_SUFFIX=1
   19262 fi
   19263 if test x$APP_MAN_DIR = x    ; then
   19264     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19265 fi
   19266 
   19267 if test x$LIB_MAN_SUFFIX = x    ; then
   19268     LIB_MAN_SUFFIX=3
   19269 fi
   19270 if test x$LIB_MAN_DIR = x    ; then
   19271     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19272 fi
   19273 
   19274 if test x$FILE_MAN_SUFFIX = x    ; then
   19275     case $SYSV_MAN_SECTIONS in
   19276 	true)				FILE_MAN_SUFFIX=4  ;;
   19277 	*)				FILE_MAN_SUFFIX=5  ;;
   19278     esac
   19279 fi
   19280 if test x$FILE_MAN_DIR = x    ; then
   19281     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19282 fi
   19283 
   19284 if test x$MISC_MAN_SUFFIX = x    ; then
   19285     case $SYSV_MAN_SECTIONS in
   19286 	true)				MISC_MAN_SUFFIX=5  ;;
   19287 	*)				MISC_MAN_SUFFIX=7  ;;
   19288     esac
   19289 fi
   19290 if test x$MISC_MAN_DIR = x    ; then
   19291     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19292 fi
   19293 
   19294 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19295     case $SYSV_MAN_SECTIONS in
   19296 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19297 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19298     esac
   19299 fi
   19300 if test x$DRIVER_MAN_DIR = x    ; then
   19301     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19302 fi
   19303 
   19304 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19305     case $SYSV_MAN_SECTIONS in
   19306 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19307 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19308     esac
   19309 fi
   19310 if test x$ADMIN_MAN_DIR = x    ; then
   19311     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19312 fi
   19313 
   19314 
   19315 
   19316 
   19317 
   19318 
   19319 
   19320 
   19321 
   19322 
   19323 
   19324 
   19325 
   19326 
   19327 
   19328 XORG_MAN_PAGE="X Version 11"
   19329 
   19330 MAN_SUBSTS="\
   19331 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19332 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19333 	-e 's|__xservername__|Xorg|g' \
   19334 	-e 's|__xconfigfile__|xorg.conf|g' \
   19335 	-e 's|__projectroot__|\$(prefix)|g' \
   19336 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19337 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19338 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19339 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19340 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19341 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19342 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19343 
   19344 
   19345 
   19346 # Check whether --enable-silent-rules was given.
   19347 if test ${enable_silent_rules+y}
   19348 then :
   19349   enableval=$enable_silent_rules;
   19350 fi
   19351 
   19352 case $enable_silent_rules in # (((
   19353   yes) AM_DEFAULT_VERBOSITY=0;;
   19354    no) AM_DEFAULT_VERBOSITY=1;;
   19355     *) AM_DEFAULT_VERBOSITY=0;;
   19356 esac
   19357 am_make=${MAKE-make}
   19358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19359 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19360 if test ${am_cv_make_support_nested_variables+y}
   19361 then :
   19362   printf %s "(cached) " >&6
   19363 else $as_nop
   19364   if printf "%s\n" 'TRUE=$(BAR$(V))
   19365 BAR0=false
   19366 BAR1=true
   19367 V=1
   19368 am__doit:
   19369 	@$(TRUE)
   19370 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19371   am_cv_make_support_nested_variables=yes
   19372 else
   19373   am_cv_make_support_nested_variables=no
   19374 fi
   19375 fi
   19376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19377 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19378 if test $am_cv_make_support_nested_variables = yes; then
   19379     AM_V='$(V)'
   19380   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19381 else
   19382   AM_V=$AM_DEFAULT_VERBOSITY
   19383   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19384 fi
   19385 AM_BACKSLASH='\'
   19386 
   19387 
   19388 
   19389 # Set library version for Xcursor.h from package version set in AC_INIT
   19390 # copied from PACKAGE_VERSION_* settings in XORG_VERSION
   19391 
   19392 cat >>confdefs.h <<_ACEOF
   19393 #define XCURSOR_LIB_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19394 _ACEOF
   19395 
   19396 
   19397 cat >>confdefs.h <<_ACEOF
   19398 #define XCURSOR_LIB_MINOR `echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19399 _ACEOF
   19400 
   19401 
   19402 cat >>confdefs.h <<_ACEOF
   19403 #define XCURSOR_LIB_REVISION `echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19404 _ACEOF
   19405 
   19406 
   19407 
   19408 
   19409 # Check whether --with-icondir was given.
   19410 if test ${with_icondir+y}
   19411 then :
   19412   withval=$with_icondir; ICONDIR="$withval"
   19413 else $as_nop
   19414   ICONDIR=${datadir}/icons
   19415 fi
   19416 
   19417 
   19418 
   19419 DEF_CURSORPATH="~/.local/share/icons:~/.icons:${datadir}/icons:${datadir}/pixmaps"
   19420 if test "x${ICONDIR}" != "x${datadir}/icons"; then
   19421 	DEF_CURSORPATH="${DEF_CURSORPATH}:${ICONDIR}"
   19422 fi
   19423 
   19424 # Check whether --with-cursorpath was given.
   19425 if test ${with_cursorpath+y}
   19426 then :
   19427   withval=$with_cursorpath; XCURSORPATH="$withval"
   19428 else $as_nop
   19429   XCURSORPATH=$DEF_CURSORPATH
   19430 fi
   19431 
   19432 
   19433 
   19434 # Obtain compiler/linker options for dependencies
   19435 
   19436 pkg_failed=no
   19437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xrender >= 0.8.2 xfixes x11 fixesproto" >&5
   19438 printf %s "checking for xrender >= 0.8.2 xfixes x11 fixesproto... " >&6; }
   19439 
   19440 if test -n "$XCURSOR_CFLAGS"; then
   19441     pkg_cv_XCURSOR_CFLAGS="$XCURSOR_CFLAGS"
   19442  elif test -n "$PKG_CONFIG"; then
   19443     if test -n "$PKG_CONFIG" && \
   19444     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 xfixes x11 fixesproto\""; } >&5
   19445   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto") 2>&5
   19446   ac_status=$?
   19447   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19448   test $ac_status = 0; }; then
   19449   pkg_cv_XCURSOR_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.8.2 xfixes x11 fixesproto" 2>/dev/null`
   19450 		      test "x$?" != "x0" && pkg_failed=yes
   19451 else
   19452   pkg_failed=yes
   19453 fi
   19454  else
   19455     pkg_failed=untried
   19456 fi
   19457 if test -n "$XCURSOR_LIBS"; then
   19458     pkg_cv_XCURSOR_LIBS="$XCURSOR_LIBS"
   19459  elif test -n "$PKG_CONFIG"; then
   19460     if test -n "$PKG_CONFIG" && \
   19461     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 xfixes x11 fixesproto\""; } >&5
   19462   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto") 2>&5
   19463   ac_status=$?
   19464   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19465   test $ac_status = 0; }; then
   19466   pkg_cv_XCURSOR_LIBS=`$PKG_CONFIG --libs "xrender >= 0.8.2 xfixes x11 fixesproto" 2>/dev/null`
   19467 		      test "x$?" != "x0" && pkg_failed=yes
   19468 else
   19469   pkg_failed=yes
   19470 fi
   19471  else
   19472     pkg_failed=untried
   19473 fi
   19474 
   19475 
   19476 
   19477 if test $pkg_failed = yes; then
   19478         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19479 printf "%s\n" "no" >&6; }
   19480 
   19481 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19482         _pkg_short_errors_supported=yes
   19483 else
   19484         _pkg_short_errors_supported=no
   19485 fi
   19486         if test $_pkg_short_errors_supported = yes; then
   19487                 XCURSOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrender >= 0.8.2 xfixes x11 fixesproto" 2>&1`
   19488         else
   19489                 XCURSOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrender >= 0.8.2 xfixes x11 fixesproto" 2>&1`
   19490         fi
   19491         # Put the nasty error message in config.log where it belongs
   19492         echo "$XCURSOR_PKG_ERRORS" >&5
   19493 
   19494         as_fn_error $? "Package requirements (xrender >= 0.8.2 xfixes x11 fixesproto) were not met:
   19495 
   19496 $XCURSOR_PKG_ERRORS
   19497 
   19498 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19499 installed software in a non-standard prefix.
   19500 
   19501 Alternatively, you may set the environment variables XCURSOR_CFLAGS
   19502 and XCURSOR_LIBS to avoid the need to call pkg-config.
   19503 See the pkg-config man page for more details." "$LINENO" 5
   19504 elif test $pkg_failed = untried; then
   19505         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19506 printf "%s\n" "no" >&6; }
   19507         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19508 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19509 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19510 is in your PATH or set the PKG_CONFIG environment variable to the full
   19511 path to pkg-config.
   19512 
   19513 Alternatively, you may set the environment variables XCURSOR_CFLAGS
   19514 and XCURSOR_LIBS to avoid the need to call pkg-config.
   19515 See the pkg-config man page for more details.
   19516 
   19517 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19518 See \`config.log' for more details" "$LINENO" 5; }
   19519 else
   19520         XCURSOR_CFLAGS=$pkg_cv_XCURSOR_CFLAGS
   19521         XCURSOR_LIBS=$pkg_cv_XCURSOR_LIBS
   19522         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19523 printf "%s\n" "yes" >&6; }
   19524 
   19525 fi
   19526 
   19527 printf "%s\n" "#define HAVE_XFIXES 1" >>confdefs.h
   19528 
   19529 
   19530 # Allow checking code with lint, sparse, etc.
   19531 
   19532 
   19533 
   19534 
   19535 
   19536 # Check whether --with-lint was given.
   19537 if test ${with_lint+y}
   19538 then :
   19539   withval=$with_lint; use_lint=$withval
   19540 else $as_nop
   19541   use_lint=no
   19542 fi
   19543 
   19544 
   19545 # Obtain platform specific info like program name and options
   19546 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   19547 case $host_os in
   19548   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   19549 	lint_name=splint
   19550 	lint_options="-badflag"
   19551 	;;
   19552   *freebsd* | *netbsd*)
   19553 	lint_name=lint
   19554 	lint_options="-u -b"
   19555 	;;
   19556   *solaris*)
   19557 	lint_name=lint
   19558 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   19559 	;;
   19560 esac
   19561 
   19562 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   19563 if test "x$use_lint" = x"yes" ; then
   19564    # Extract the first word of "$lint_name", so it can be a program name with args.
   19565 set dummy $lint_name; ac_word=$2
   19566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19567 printf %s "checking for $ac_word... " >&6; }
   19568 if test ${ac_cv_path_LINT+y}
   19569 then :
   19570   printf %s "(cached) " >&6
   19571 else $as_nop
   19572   case $LINT in
   19573   [\\/]* | ?:[\\/]*)
   19574   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   19575   ;;
   19576   *)
   19577   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19578 for as_dir in $PATH
   19579 do
   19580   IFS=$as_save_IFS
   19581   case $as_dir in #(((
   19582     '') as_dir=./ ;;
   19583     */) ;;
   19584     *) as_dir=$as_dir/ ;;
   19585   esac
   19586     for ac_exec_ext in '' $ac_executable_extensions; do
   19587   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19588     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   19589     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19590     break 2
   19591   fi
   19592 done
   19593   done
   19594 IFS=$as_save_IFS
   19595 
   19596   ;;
   19597 esac
   19598 fi
   19599 LINT=$ac_cv_path_LINT
   19600 if test -n "$LINT"; then
   19601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   19602 printf "%s\n" "$LINT" >&6; }
   19603 else
   19604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19605 printf "%s\n" "no" >&6; }
   19606 fi
   19607 
   19608 
   19609    if test "x$LINT" = "x"; then
   19610         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   19611    fi
   19612 elif test "x$use_lint" = x"no" ; then
   19613    if test "x$LINT" != "x"; then
   19614       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   19615 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   19616    fi
   19617 else
   19618    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   19619 fi
   19620 
   19621 # User supplied flags override default flags
   19622 if test "x$LINT_FLAGS" != "x"; then
   19623    lint_options=$LINT_FLAGS
   19624 fi
   19625 
   19626 LINT_FLAGS=$lint_options
   19627 
   19628  if test "x$LINT" != x; then
   19629   LINT_TRUE=
   19630   LINT_FALSE='#'
   19631 else
   19632   LINT_TRUE='#'
   19633   LINT_FALSE=
   19634 fi
   19635 
   19636 
   19637 
   19638 
   19639 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xcursor.pc"
   19640 
   19641 cat >confcache <<\_ACEOF
   19642 # This file is a shell script that caches the results of configure
   19643 # tests run on this system so they can be shared between configure
   19644 # scripts and configure runs, see configure's option --config-cache.
   19645 # It is not useful on other systems.  If it contains results you don't
   19646 # want to keep, you may remove or edit it.
   19647 #
   19648 # config.status only pays attention to the cache file if you give it
   19649 # the --recheck option to rerun configure.
   19650 #
   19651 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19652 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19653 # following values.
   19654 
   19655 _ACEOF
   19656 
   19657 # The following way of writing the cache mishandles newlines in values,
   19658 # but we know of no workaround that is simple, portable, and efficient.
   19659 # So, we kill variables containing newlines.
   19660 # Ultrix sh set writes to stderr and can't be redirected directly,
   19661 # and sets the high bit in the cache file unless we assign to the vars.
   19662 (
   19663   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19664     eval ac_val=\$$ac_var
   19665     case $ac_val in #(
   19666     *${as_nl}*)
   19667       case $ac_var in #(
   19668       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19669 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19670       esac
   19671       case $ac_var in #(
   19672       _ | IFS | as_nl) ;; #(
   19673       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19674       *) { eval $ac_var=; unset $ac_var;} ;;
   19675       esac ;;
   19676     esac
   19677   done
   19678 
   19679   (set) 2>&1 |
   19680     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19681     *${as_nl}ac_space=\ *)
   19682       # `set' does not quote correctly, so add quotes: double-quote
   19683       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19684       sed -n \
   19685 	"s/'/'\\\\''/g;
   19686 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19687       ;; #(
   19688     *)
   19689       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19690       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19691       ;;
   19692     esac |
   19693     sort
   19694 ) |
   19695   sed '
   19696      /^ac_cv_env_/b end
   19697      t clear
   19698      :clear
   19699      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   19700      t end
   19701      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19702      :end' >>confcache
   19703 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19704   if test -w "$cache_file"; then
   19705     if test "x$cache_file" != "x/dev/null"; then
   19706       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19707 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   19708       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19709 	cat confcache >"$cache_file"
   19710       else
   19711         case $cache_file in #(
   19712         */* | ?:*)
   19713 	  mv -f confcache "$cache_file"$$ &&
   19714 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19715         *)
   19716 	  mv -f confcache "$cache_file" ;;
   19717 	esac
   19718       fi
   19719     fi
   19720   else
   19721     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19722 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   19723   fi
   19724 fi
   19725 rm -f confcache
   19726 
   19727 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19728 # Let make expand exec_prefix.
   19729 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19730 
   19731 DEFS=-DHAVE_CONFIG_H
   19732 
   19733 ac_libobjs=
   19734 ac_ltlibobjs=
   19735 U=
   19736 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19737   # 1. Remove the extension, and $U if already installed.
   19738   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19739   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   19740   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19741   #    will be set to the directory where LIBOBJS objects are built.
   19742   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19743   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19744 done
   19745 LIBOBJS=$ac_libobjs
   19746 
   19747 LTLIBOBJS=$ac_ltlibobjs
   19748 
   19749 
   19750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19751 printf %s "checking that generated files are newer than configure... " >&6; }
   19752    if test -n "$am_sleep_pid"; then
   19753      # Hide warnings about reused PIDs.
   19754      wait $am_sleep_pid 2>/dev/null
   19755    fi
   19756    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19757 printf "%s\n" "done" >&6; }
   19758 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19759   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19761 fi
   19762 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19763   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19765 fi
   19766  if test -n "$EXEEXT"; then
   19767   am__EXEEXT_TRUE=
   19768   am__EXEEXT_FALSE='#'
   19769 else
   19770   am__EXEEXT_TRUE='#'
   19771   am__EXEEXT_FALSE=
   19772 fi
   19773 
   19774 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   19775   as_fn_error $? "conditional \"LINT\" was never defined.
   19776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19777 fi
   19778 
   19779 : "${CONFIG_STATUS=./config.status}"
   19780 ac_write_fail=0
   19781 ac_clean_files_save=$ac_clean_files
   19782 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19784 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   19785 as_write_fail=0
   19786 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19787 #! $SHELL
   19788 # Generated by $as_me.
   19789 # Run this file to recreate the current configuration.
   19790 # Compiler output produced by configure, useful for debugging
   19791 # configure, is in config.log if it exists.
   19792 
   19793 debug=false
   19794 ac_cs_recheck=false
   19795 ac_cs_silent=false
   19796 
   19797 SHELL=\${CONFIG_SHELL-$SHELL}
   19798 export SHELL
   19799 _ASEOF
   19800 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19801 ## -------------------- ##
   19802 ## M4sh Initialization. ##
   19803 ## -------------------- ##
   19804 
   19805 # Be more Bourne compatible
   19806 DUALCASE=1; export DUALCASE # for MKS sh
   19807 as_nop=:
   19808 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   19809 then :
   19810   emulate sh
   19811   NULLCMD=:
   19812   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19813   # is contrary to our usage.  Disable this feature.
   19814   alias -g '${1+"$@"}'='"$@"'
   19815   setopt NO_GLOB_SUBST
   19816 else $as_nop
   19817   case `(set -o) 2>/dev/null` in #(
   19818   *posix*) :
   19819     set -o posix ;; #(
   19820   *) :
   19821      ;;
   19822 esac
   19823 fi
   19824 
   19825 
   19826 
   19827 # Reset variables that may have inherited troublesome values from
   19828 # the environment.
   19829 
   19830 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   19831 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   19832 # side effect of setting IFS to empty, thus disabling word splitting.)
   19833 # Quoting is to prevent editors from complaining about space-tab.
   19834 as_nl='
   19835 '
   19836 export as_nl
   19837 IFS=" ""	$as_nl"
   19838 
   19839 PS1='$ '
   19840 PS2='> '
   19841 PS4='+ '
   19842 
   19843 # Ensure predictable behavior from utilities with locale-dependent output.
   19844 LC_ALL=C
   19845 export LC_ALL
   19846 LANGUAGE=C
   19847 export LANGUAGE
   19848 
   19849 # We cannot yet rely on "unset" to work, but we need these variables
   19850 # to be unset--not just set to an empty or harmless value--now, to
   19851 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   19852 # also avoids known problems related to "unset" and subshell syntax
   19853 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   19854 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   19855 do eval test \${$as_var+y} \
   19856   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19857 done
   19858 
   19859 # Ensure that fds 0, 1, and 2 are open.
   19860 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   19861 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   19862 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   19863 
   19864 # The user is always right.
   19865 if ${PATH_SEPARATOR+false} :; then
   19866   PATH_SEPARATOR=:
   19867   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19868     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19869       PATH_SEPARATOR=';'
   19870   }
   19871 fi
   19872 
   19873 
   19874 # Find who we are.  Look in the path if we contain no directory separator.
   19875 as_myself=
   19876 case $0 in #((
   19877   *[\\/]* ) as_myself=$0 ;;
   19878   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19879 for as_dir in $PATH
   19880 do
   19881   IFS=$as_save_IFS
   19882   case $as_dir in #(((
   19883     '') as_dir=./ ;;
   19884     */) ;;
   19885     *) as_dir=$as_dir/ ;;
   19886   esac
   19887     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   19888   done
   19889 IFS=$as_save_IFS
   19890 
   19891      ;;
   19892 esac
   19893 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19894 # in which case we are not to be found in the path.
   19895 if test "x$as_myself" = x; then
   19896   as_myself=$0
   19897 fi
   19898 if test ! -f "$as_myself"; then
   19899   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19900   exit 1
   19901 fi
   19902 
   19903 
   19904 
   19905 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19906 # ----------------------------------------
   19907 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19908 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19909 # script with STATUS, using 1 if that was 0.
   19910 as_fn_error ()
   19911 {
   19912   as_status=$1; test $as_status -eq 0 && as_status=1
   19913   if test "$4"; then
   19914     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19915     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19916   fi
   19917   printf "%s\n" "$as_me: error: $2" >&2
   19918   as_fn_exit $as_status
   19919 } # as_fn_error
   19920 
   19921 
   19922 
   19923 # as_fn_set_status STATUS
   19924 # -----------------------
   19925 # Set $? to STATUS, without forking.
   19926 as_fn_set_status ()
   19927 {
   19928   return $1
   19929 } # as_fn_set_status
   19930 
   19931 # as_fn_exit STATUS
   19932 # -----------------
   19933 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19934 as_fn_exit ()
   19935 {
   19936   set +e
   19937   as_fn_set_status $1
   19938   exit $1
   19939 } # as_fn_exit
   19940 
   19941 # as_fn_unset VAR
   19942 # ---------------
   19943 # Portably unset VAR.
   19944 as_fn_unset ()
   19945 {
   19946   { eval $1=; unset $1;}
   19947 }
   19948 as_unset=as_fn_unset
   19949 
   19950 # as_fn_append VAR VALUE
   19951 # ----------------------
   19952 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19953 # advantage of any shell optimizations that allow amortized linear growth over
   19954 # repeated appends, instead of the typical quadratic growth present in naive
   19955 # implementations.
   19956 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   19957 then :
   19958   eval 'as_fn_append ()
   19959   {
   19960     eval $1+=\$2
   19961   }'
   19962 else $as_nop
   19963   as_fn_append ()
   19964   {
   19965     eval $1=\$$1\$2
   19966   }
   19967 fi # as_fn_append
   19968 
   19969 # as_fn_arith ARG...
   19970 # ------------------
   19971 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19972 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19973 # must be portable across $(()) and expr.
   19974 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   19975 then :
   19976   eval 'as_fn_arith ()
   19977   {
   19978     as_val=$(( $* ))
   19979   }'
   19980 else $as_nop
   19981   as_fn_arith ()
   19982   {
   19983     as_val=`expr "$@" || test $? -eq 1`
   19984   }
   19985 fi # as_fn_arith
   19986 
   19987 
   19988 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19989    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19990   as_expr=expr
   19991 else
   19992   as_expr=false
   19993 fi
   19994 
   19995 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19996   as_basename=basename
   19997 else
   19998   as_basename=false
   19999 fi
   20000 
   20001 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20002   as_dirname=dirname
   20003 else
   20004   as_dirname=false
   20005 fi
   20006 
   20007 as_me=`$as_basename -- "$0" ||
   20008 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20009 	 X"$0" : 'X\(//\)$' \| \
   20010 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20011 printf "%s\n" X/"$0" |
   20012     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20013 	    s//\1/
   20014 	    q
   20015 	  }
   20016 	  /^X\/\(\/\/\)$/{
   20017 	    s//\1/
   20018 	    q
   20019 	  }
   20020 	  /^X\/\(\/\).*/{
   20021 	    s//\1/
   20022 	    q
   20023 	  }
   20024 	  s/.*/./; q'`
   20025 
   20026 # Avoid depending upon Character Ranges.
   20027 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20028 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20029 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20030 as_cr_digits='0123456789'
   20031 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20032 
   20033 
   20034 # Determine whether it's possible to make 'echo' print without a newline.
   20035 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20036 # for compatibility with existing Makefiles.
   20037 ECHO_C= ECHO_N= ECHO_T=
   20038 case `echo -n x` in #(((((
   20039 -n*)
   20040   case `echo 'xy\c'` in
   20041   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20042   xy)  ECHO_C='\c';;
   20043   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20044        ECHO_T='	';;
   20045   esac;;
   20046 *)
   20047   ECHO_N='-n';;
   20048 esac
   20049 
   20050 # For backward compatibility with old third-party macros, we provide
   20051 # the shell variables $as_echo and $as_echo_n.  New code should use
   20052 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20053 as_echo='printf %s\n'
   20054 as_echo_n='printf %s'
   20055 
   20056 rm -f conf$$ conf$$.exe conf$$.file
   20057 if test -d conf$$.dir; then
   20058   rm -f conf$$.dir/conf$$.file
   20059 else
   20060   rm -f conf$$.dir
   20061   mkdir conf$$.dir 2>/dev/null
   20062 fi
   20063 if (echo >conf$$.file) 2>/dev/null; then
   20064   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20065     as_ln_s='ln -s'
   20066     # ... but there are two gotchas:
   20067     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20068     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20069     # In both cases, we have to default to `cp -pR'.
   20070     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20071       as_ln_s='cp -pR'
   20072   elif ln conf$$.file conf$$ 2>/dev/null; then
   20073     as_ln_s=ln
   20074   else
   20075     as_ln_s='cp -pR'
   20076   fi
   20077 else
   20078   as_ln_s='cp -pR'
   20079 fi
   20080 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20081 rmdir conf$$.dir 2>/dev/null
   20082 
   20083 
   20084 # as_fn_mkdir_p
   20085 # -------------
   20086 # Create "$as_dir" as a directory, including parents if necessary.
   20087 as_fn_mkdir_p ()
   20088 {
   20089 
   20090   case $as_dir in #(
   20091   -*) as_dir=./$as_dir;;
   20092   esac
   20093   test -d "$as_dir" || eval $as_mkdir_p || {
   20094     as_dirs=
   20095     while :; do
   20096       case $as_dir in #(
   20097       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20098       *) as_qdir=$as_dir;;
   20099       esac
   20100       as_dirs="'$as_qdir' $as_dirs"
   20101       as_dir=`$as_dirname -- "$as_dir" ||
   20102 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20103 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20104 	 X"$as_dir" : 'X\(//\)$' \| \
   20105 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20106 printf "%s\n" X"$as_dir" |
   20107     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20108 	    s//\1/
   20109 	    q
   20110 	  }
   20111 	  /^X\(\/\/\)[^/].*/{
   20112 	    s//\1/
   20113 	    q
   20114 	  }
   20115 	  /^X\(\/\/\)$/{
   20116 	    s//\1/
   20117 	    q
   20118 	  }
   20119 	  /^X\(\/\).*/{
   20120 	    s//\1/
   20121 	    q
   20122 	  }
   20123 	  s/.*/./; q'`
   20124       test -d "$as_dir" && break
   20125     done
   20126     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20127   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20128 
   20129 
   20130 } # as_fn_mkdir_p
   20131 if mkdir -p . 2>/dev/null; then
   20132   as_mkdir_p='mkdir -p "$as_dir"'
   20133 else
   20134   test -d ./-p && rmdir ./-p
   20135   as_mkdir_p=false
   20136 fi
   20137 
   20138 
   20139 # as_fn_executable_p FILE
   20140 # -----------------------
   20141 # Test if FILE is an executable regular file.
   20142 as_fn_executable_p ()
   20143 {
   20144   test -f "$1" && test -x "$1"
   20145 } # as_fn_executable_p
   20146 as_test_x='test -x'
   20147 as_executable_p=as_fn_executable_p
   20148 
   20149 # Sed expression to map a string onto a valid CPP name.
   20150 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20151 
   20152 # Sed expression to map a string onto a valid variable name.
   20153 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20154 
   20155 
   20156 exec 6>&1
   20157 ## ----------------------------------- ##
   20158 ## Main body of $CONFIG_STATUS script. ##
   20159 ## ----------------------------------- ##
   20160 _ASEOF
   20161 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20162 
   20163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20164 # Save the log message, to keep $0 and so on meaningful, and to
   20165 # report actual input values of CONFIG_FILES etc. instead of their
   20166 # values after options handling.
   20167 ac_log="
   20168 This file was extended by libXcursor $as_me 1.2.3, which was
   20169 generated by GNU Autoconf 2.71.  Invocation command line was
   20170 
   20171   CONFIG_FILES    = $CONFIG_FILES
   20172   CONFIG_HEADERS  = $CONFIG_HEADERS
   20173   CONFIG_LINKS    = $CONFIG_LINKS
   20174   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20175   $ $0 $@
   20176 
   20177 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20178 "
   20179 
   20180 _ACEOF
   20181 
   20182 case $ac_config_files in *"
   20183 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20184 esac
   20185 
   20186 case $ac_config_headers in *"
   20187 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20188 esac
   20189 
   20190 
   20191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20192 # Files that config.status was made for.
   20193 config_files="$ac_config_files"
   20194 config_headers="$ac_config_headers"
   20195 config_commands="$ac_config_commands"
   20196 
   20197 _ACEOF
   20198 
   20199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20200 ac_cs_usage="\
   20201 \`$as_me' instantiates files and other configuration actions
   20202 from templates according to the current configuration.  Unless the files
   20203 and actions are specified as TAGs, all are instantiated by default.
   20204 
   20205 Usage: $0 [OPTION]... [TAG]...
   20206 
   20207   -h, --help       print this help, then exit
   20208   -V, --version    print version number and configuration settings, then exit
   20209       --config     print configuration, then exit
   20210   -q, --quiet, --silent
   20211                    do not print progress messages
   20212   -d, --debug      don't remove temporary files
   20213       --recheck    update $as_me by reconfiguring in the same conditions
   20214       --file=FILE[:TEMPLATE]
   20215                    instantiate the configuration file FILE
   20216       --header=FILE[:TEMPLATE]
   20217                    instantiate the configuration header FILE
   20218 
   20219 Configuration files:
   20220 $config_files
   20221 
   20222 Configuration headers:
   20223 $config_headers
   20224 
   20225 Configuration commands:
   20226 $config_commands
   20227 
   20228 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxcursor/-/issues>."
   20229 
   20230 _ACEOF
   20231 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20232 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20234 ac_cs_config='$ac_cs_config_escaped'
   20235 ac_cs_version="\\
   20236 libXcursor config.status 1.2.3
   20237 configured by $0, generated by GNU Autoconf 2.71,
   20238   with options \\"\$ac_cs_config\\"
   20239 
   20240 Copyright (C) 2021 Free Software Foundation, Inc.
   20241 This config.status script is free software; the Free Software Foundation
   20242 gives unlimited permission to copy, distribute and modify it."
   20243 
   20244 ac_pwd='$ac_pwd'
   20245 srcdir='$srcdir'
   20246 INSTALL='$INSTALL'
   20247 MKDIR_P='$MKDIR_P'
   20248 AWK='$AWK'
   20249 test -n "\$AWK" || AWK=awk
   20250 _ACEOF
   20251 
   20252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20253 # The default lists apply if the user does not specify any file.
   20254 ac_need_defaults=:
   20255 while test $# != 0
   20256 do
   20257   case $1 in
   20258   --*=?*)
   20259     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20260     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20261     ac_shift=:
   20262     ;;
   20263   --*=)
   20264     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20265     ac_optarg=
   20266     ac_shift=:
   20267     ;;
   20268   *)
   20269     ac_option=$1
   20270     ac_optarg=$2
   20271     ac_shift=shift
   20272     ;;
   20273   esac
   20274 
   20275   case $ac_option in
   20276   # Handling of the options.
   20277   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20278     ac_cs_recheck=: ;;
   20279   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20280     printf "%s\n" "$ac_cs_version"; exit ;;
   20281   --config | --confi | --conf | --con | --co | --c )
   20282     printf "%s\n" "$ac_cs_config"; exit ;;
   20283   --debug | --debu | --deb | --de | --d | -d )
   20284     debug=: ;;
   20285   --file | --fil | --fi | --f )
   20286     $ac_shift
   20287     case $ac_optarg in
   20288     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20289     '') as_fn_error $? "missing file argument" ;;
   20290     esac
   20291     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20292     ac_need_defaults=false;;
   20293   --header | --heade | --head | --hea )
   20294     $ac_shift
   20295     case $ac_optarg in
   20296     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20297     esac
   20298     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20299     ac_need_defaults=false;;
   20300   --he | --h)
   20301     # Conflict between --help and --header
   20302     as_fn_error $? "ambiguous option: \`$1'
   20303 Try \`$0 --help' for more information.";;
   20304   --help | --hel | -h )
   20305     printf "%s\n" "$ac_cs_usage"; exit ;;
   20306   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20307   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20308     ac_cs_silent=: ;;
   20309 
   20310   # This is an error.
   20311   -*) as_fn_error $? "unrecognized option: \`$1'
   20312 Try \`$0 --help' for more information." ;;
   20313 
   20314   *) as_fn_append ac_config_targets " $1"
   20315      ac_need_defaults=false ;;
   20316 
   20317   esac
   20318   shift
   20319 done
   20320 
   20321 ac_configure_extra_args=
   20322 
   20323 if $ac_cs_silent; then
   20324   exec 6>/dev/null
   20325   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20326 fi
   20327 
   20328 _ACEOF
   20329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20330 if \$ac_cs_recheck; then
   20331   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20332   shift
   20333   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20334   CONFIG_SHELL='$SHELL'
   20335   export CONFIG_SHELL
   20336   exec "\$@"
   20337 fi
   20338 
   20339 _ACEOF
   20340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20341 exec 5>>config.log
   20342 {
   20343   echo
   20344   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20345 ## Running $as_me. ##
   20346 _ASBOX
   20347   printf "%s\n" "$ac_log"
   20348 } >&5
   20349 
   20350 _ACEOF
   20351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20352 #
   20353 # INIT-COMMANDS
   20354 #
   20355 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20356 
   20357 
   20358 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20359 # if CDPATH is set.
   20360 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20361 
   20362 sed_quote_subst='$sed_quote_subst'
   20363 double_quote_subst='$double_quote_subst'
   20364 delay_variable_subst='$delay_variable_subst'
   20365 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20366 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20367 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20368 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20369 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20370 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20371 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20372 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20373 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20374 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20375 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20376 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20377 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20378 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20379 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20380 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20381 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20382 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20383 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20384 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20385 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20386 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20387 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20388 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20389 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20390 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20391 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20392 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20393 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20394 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20395 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20396 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20397 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20398 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20399 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20400 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20401 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20402 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20403 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20404 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20405 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20406 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20407 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20408 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20409 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20410 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20411 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20412 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20413 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20414 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20415 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20416 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20417 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20418 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20419 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20420 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20421 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20422 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20423 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20424 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20425 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"`'
   20426 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20427 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20428 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20429 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20430 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20431 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20432 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20433 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20434 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20435 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20436 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20437 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20438 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20439 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20440 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20441 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20442 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20443 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20444 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20445 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20446 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20447 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20448 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20449 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20450 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20451 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20452 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20453 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20454 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20455 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20456 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20457 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20458 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20459 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20460 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20461 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20462 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20463 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20464 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20465 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20466 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20467 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20468 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20469 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20470 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20471 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20472 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20473 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20474 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20475 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20476 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20477 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20478 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20479 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20480 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20481 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20482 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20483 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20484 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20485 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20486 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20487 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20488 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20489 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20490 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20491 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20492 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20493 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20494 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20495 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20496 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20497 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20498 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20499 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20500 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20501 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20502 
   20503 LTCC='$LTCC'
   20504 LTCFLAGS='$LTCFLAGS'
   20505 compiler='$compiler_DEFAULT'
   20506 
   20507 # A function that is used when there is no print builtin or printf.
   20508 func_fallback_echo ()
   20509 {
   20510   eval 'cat <<_LTECHO_EOF
   20511 \$1
   20512 _LTECHO_EOF'
   20513 }
   20514 
   20515 # Quote evaled strings.
   20516 for var in SHELL \
   20517 ECHO \
   20518 PATH_SEPARATOR \
   20519 SED \
   20520 GREP \
   20521 EGREP \
   20522 FGREP \
   20523 LD \
   20524 NM \
   20525 LN_S \
   20526 lt_SP2NL \
   20527 lt_NL2SP \
   20528 reload_flag \
   20529 FILECMD \
   20530 OBJDUMP \
   20531 deplibs_check_method \
   20532 file_magic_cmd \
   20533 file_magic_glob \
   20534 want_nocaseglob \
   20535 DLLTOOL \
   20536 sharedlib_from_linklib_cmd \
   20537 AR \
   20538 archiver_list_spec \
   20539 STRIP \
   20540 RANLIB \
   20541 CC \
   20542 CFLAGS \
   20543 compiler \
   20544 lt_cv_sys_global_symbol_pipe \
   20545 lt_cv_sys_global_symbol_to_cdecl \
   20546 lt_cv_sys_global_symbol_to_import \
   20547 lt_cv_sys_global_symbol_to_c_name_address \
   20548 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20549 lt_cv_nm_interface \
   20550 nm_file_list_spec \
   20551 lt_cv_truncate_bin \
   20552 lt_prog_compiler_no_builtin_flag \
   20553 lt_prog_compiler_pic \
   20554 lt_prog_compiler_wl \
   20555 lt_prog_compiler_static \
   20556 lt_cv_prog_compiler_c_o \
   20557 need_locks \
   20558 MANIFEST_TOOL \
   20559 DSYMUTIL \
   20560 NMEDIT \
   20561 LIPO \
   20562 OTOOL \
   20563 OTOOL64 \
   20564 shrext_cmds \
   20565 export_dynamic_flag_spec \
   20566 whole_archive_flag_spec \
   20567 compiler_needs_object \
   20568 with_gnu_ld \
   20569 allow_undefined_flag \
   20570 no_undefined_flag \
   20571 hardcode_libdir_flag_spec \
   20572 hardcode_libdir_separator \
   20573 exclude_expsyms \
   20574 include_expsyms \
   20575 file_list_spec \
   20576 variables_saved_for_relink \
   20577 libname_spec \
   20578 library_names_spec \
   20579 soname_spec \
   20580 install_override_mode \
   20581 finish_eval \
   20582 old_striplib \
   20583 striplib; do
   20584     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20585     *[\\\\\\\`\\"\\\$]*)
   20586       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20587       ;;
   20588     *)
   20589       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20590       ;;
   20591     esac
   20592 done
   20593 
   20594 # Double-quote double-evaled strings.
   20595 for var in reload_cmds \
   20596 old_postinstall_cmds \
   20597 old_postuninstall_cmds \
   20598 old_archive_cmds \
   20599 extract_expsyms_cmds \
   20600 old_archive_from_new_cmds \
   20601 old_archive_from_expsyms_cmds \
   20602 archive_cmds \
   20603 archive_expsym_cmds \
   20604 module_cmds \
   20605 module_expsym_cmds \
   20606 export_symbols_cmds \
   20607 prelink_cmds \
   20608 postlink_cmds \
   20609 postinstall_cmds \
   20610 postuninstall_cmds \
   20611 finish_cmds \
   20612 sys_lib_search_path_spec \
   20613 configure_time_dlsearch_path \
   20614 configure_time_lt_sys_library_path; do
   20615     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20616     *[\\\\\\\`\\"\\\$]*)
   20617       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20618       ;;
   20619     *)
   20620       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20621       ;;
   20622     esac
   20623 done
   20624 
   20625 ac_aux_dir='$ac_aux_dir'
   20626 
   20627 # See if we are running on zsh, and set the options that allow our
   20628 # commands through without removal of \ escapes INIT.
   20629 if test -n "\${ZSH_VERSION+set}"; then
   20630    setopt NO_GLOB_SUBST
   20631 fi
   20632 
   20633 
   20634     PACKAGE='$PACKAGE'
   20635     VERSION='$VERSION'
   20636     RM='$RM'
   20637     ofile='$ofile'
   20638 
   20639 
   20640 
   20641 
   20642 _ACEOF
   20643 
   20644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20645 
   20646 # Handling of arguments.
   20647 for ac_config_target in $ac_config_targets
   20648 do
   20649   case $ac_config_target in
   20650     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20651     "include/X11/Xcursor/Xcursor.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/Xcursor/Xcursor.h" ;;
   20652     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20653     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20654     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20655     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20656     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20657     "xcursor.pc") CONFIG_FILES="$CONFIG_FILES xcursor.pc" ;;
   20658 
   20659   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20660   esac
   20661 done
   20662 
   20663 
   20664 # If the user did not use the arguments to specify the items to instantiate,
   20665 # then the envvar interface is used.  Set only those that are not.
   20666 # We use the long form for the default assignment because of an extremely
   20667 # bizarre bug on SunOS 4.1.3.
   20668 if $ac_need_defaults; then
   20669   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   20670   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   20671   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   20672 fi
   20673 
   20674 # Have a temporary directory for convenience.  Make it in the build tree
   20675 # simply because there is no reason against having it here, and in addition,
   20676 # creating and moving files from /tmp can sometimes cause problems.
   20677 # Hook for its removal unless debugging.
   20678 # Note that there is a small window in which the directory will not be cleaned:
   20679 # after its creation but before its name has been assigned to `$tmp'.
   20680 $debug ||
   20681 {
   20682   tmp= ac_tmp=
   20683   trap 'exit_status=$?
   20684   : "${ac_tmp:=$tmp}"
   20685   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20686 ' 0
   20687   trap 'as_fn_exit 1' 1 2 13 15
   20688 }
   20689 # Create a (secure) tmp directory for tmp files.
   20690 
   20691 {
   20692   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20693   test -d "$tmp"
   20694 }  ||
   20695 {
   20696   tmp=./conf$$-$RANDOM
   20697   (umask 077 && mkdir "$tmp")
   20698 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20699 ac_tmp=$tmp
   20700 
   20701 # Set up the scripts for CONFIG_FILES section.
   20702 # No need to generate them if there are no CONFIG_FILES.
   20703 # This happens for instance with `./config.status config.h'.
   20704 if test -n "$CONFIG_FILES"; then
   20705 
   20706 
   20707 ac_cr=`echo X | tr X '\015'`
   20708 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20709 # But we know of no other shell where ac_cr would be empty at this
   20710 # point, so we can use a bashism as a fallback.
   20711 if test "x$ac_cr" = x; then
   20712   eval ac_cr=\$\'\\r\'
   20713 fi
   20714 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20715 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20716   ac_cs_awk_cr='\\r'
   20717 else
   20718   ac_cs_awk_cr=$ac_cr
   20719 fi
   20720 
   20721 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20722 _ACEOF
   20723 
   20724 
   20725 {
   20726   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20727   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20728   echo "_ACEOF"
   20729 } >conf$$subs.sh ||
   20730   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20731 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20732 ac_delim='%!_!# '
   20733 for ac_last_try in false false false false false :; do
   20734   . ./conf$$subs.sh ||
   20735     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20736 
   20737   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20738   if test $ac_delim_n = $ac_delim_num; then
   20739     break
   20740   elif $ac_last_try; then
   20741     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20742   else
   20743     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20744   fi
   20745 done
   20746 rm -f conf$$subs.sh
   20747 
   20748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20749 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20750 _ACEOF
   20751 sed -n '
   20752 h
   20753 s/^/S["/; s/!.*/"]=/
   20754 p
   20755 g
   20756 s/^[^!]*!//
   20757 :repl
   20758 t repl
   20759 s/'"$ac_delim"'$//
   20760 t delim
   20761 :nl
   20762 h
   20763 s/\(.\{148\}\)..*/\1/
   20764 t more1
   20765 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20766 p
   20767 n
   20768 b repl
   20769 :more1
   20770 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20771 p
   20772 g
   20773 s/.\{148\}//
   20774 t nl
   20775 :delim
   20776 h
   20777 s/\(.\{148\}\)..*/\1/
   20778 t more2
   20779 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20780 p
   20781 b
   20782 :more2
   20783 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20784 p
   20785 g
   20786 s/.\{148\}//
   20787 t delim
   20788 ' <conf$$subs.awk | sed '
   20789 /^[^""]/{
   20790   N
   20791   s/\n//
   20792 }
   20793 ' >>$CONFIG_STATUS || ac_write_fail=1
   20794 rm -f conf$$subs.awk
   20795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20796 _ACAWK
   20797 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20798   for (key in S) S_is_set[key] = 1
   20799   FS = ""
   20800 
   20801 }
   20802 {
   20803   line = $ 0
   20804   nfields = split(line, field, "@")
   20805   substed = 0
   20806   len = length(field[1])
   20807   for (i = 2; i < nfields; i++) {
   20808     key = field[i]
   20809     keylen = length(key)
   20810     if (S_is_set[key]) {
   20811       value = S[key]
   20812       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20813       len += length(value) + length(field[++i])
   20814       substed = 1
   20815     } else
   20816       len += 1 + keylen
   20817   }
   20818 
   20819   print line
   20820 }
   20821 
   20822 _ACAWK
   20823 _ACEOF
   20824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20825 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20826   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20827 else
   20828   cat
   20829 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20830   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20831 _ACEOF
   20832 
   20833 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20834 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20835 # trailing colons and then remove the whole line if VPATH becomes empty
   20836 # (actually we leave an empty line to preserve line numbers).
   20837 if test "x$srcdir" = x.; then
   20838   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20839 h
   20840 s///
   20841 s/^/:/
   20842 s/[	 ]*$/:/
   20843 s/:\$(srcdir):/:/g
   20844 s/:\${srcdir}:/:/g
   20845 s/:@srcdir@:/:/g
   20846 s/^:*//
   20847 s/:*$//
   20848 x
   20849 s/\(=[	 ]*\).*/\1/
   20850 G
   20851 s/\n//
   20852 s/^[^=]*=[	 ]*$//
   20853 }'
   20854 fi
   20855 
   20856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20857 fi # test -n "$CONFIG_FILES"
   20858 
   20859 # Set up the scripts for CONFIG_HEADERS section.
   20860 # No need to generate them if there are no CONFIG_HEADERS.
   20861 # This happens for instance with `./config.status Makefile'.
   20862 if test -n "$CONFIG_HEADERS"; then
   20863 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20864 BEGIN {
   20865 _ACEOF
   20866 
   20867 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20868 # here-document in config.status, that substitutes the proper values into
   20869 # config.h.in to produce config.h.
   20870 
   20871 # Create a delimiter string that does not exist in confdefs.h, to ease
   20872 # handling of long lines.
   20873 ac_delim='%!_!# '
   20874 for ac_last_try in false false :; do
   20875   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20876   if test -z "$ac_tt"; then
   20877     break
   20878   elif $ac_last_try; then
   20879     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20880   else
   20881     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20882   fi
   20883 done
   20884 
   20885 # For the awk script, D is an array of macro values keyed by name,
   20886 # likewise P contains macro parameters if any.  Preserve backslash
   20887 # newline sequences.
   20888 
   20889 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20890 sed -n '
   20891 s/.\{148\}/&'"$ac_delim"'/g
   20892 t rset
   20893 :rset
   20894 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20895 t def
   20896 d
   20897 :def
   20898 s/\\$//
   20899 t bsnl
   20900 s/["\\]/\\&/g
   20901 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20902 D["\1"]=" \3"/p
   20903 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20904 d
   20905 :bsnl
   20906 s/["\\]/\\&/g
   20907 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20908 D["\1"]=" \3\\\\\\n"\\/p
   20909 t cont
   20910 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20911 t cont
   20912 d
   20913 :cont
   20914 n
   20915 s/.\{148\}/&'"$ac_delim"'/g
   20916 t clear
   20917 :clear
   20918 s/\\$//
   20919 t bsnlc
   20920 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20921 d
   20922 :bsnlc
   20923 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20924 b cont
   20925 ' <confdefs.h | sed '
   20926 s/'"$ac_delim"'/"\\\
   20927 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20928 
   20929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20930   for (key in D) D_is_set[key] = 1
   20931   FS = ""
   20932 }
   20933 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20934   line = \$ 0
   20935   split(line, arg, " ")
   20936   if (arg[1] == "#") {
   20937     defundef = arg[2]
   20938     mac1 = arg[3]
   20939   } else {
   20940     defundef = substr(arg[1], 2)
   20941     mac1 = arg[2]
   20942   }
   20943   split(mac1, mac2, "(") #)
   20944   macro = mac2[1]
   20945   prefix = substr(line, 1, index(line, defundef) - 1)
   20946   if (D_is_set[macro]) {
   20947     # Preserve the white space surrounding the "#".
   20948     print prefix "define", macro P[macro] D[macro]
   20949     next
   20950   } else {
   20951     # Replace #undef with comments.  This is necessary, for example,
   20952     # in the case of _POSIX_SOURCE, which is predefined and required
   20953     # on some systems where configure will not decide to define it.
   20954     if (defundef == "undef") {
   20955       print "/*", prefix defundef, macro, "*/"
   20956       next
   20957     }
   20958   }
   20959 }
   20960 { print }
   20961 _ACAWK
   20962 _ACEOF
   20963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20964   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20965 fi # test -n "$CONFIG_HEADERS"
   20966 
   20967 
   20968 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20969 shift
   20970 for ac_tag
   20971 do
   20972   case $ac_tag in
   20973   :[FHLC]) ac_mode=$ac_tag; continue;;
   20974   esac
   20975   case $ac_mode$ac_tag in
   20976   :[FHL]*:*);;
   20977   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20978   :[FH]-) ac_tag=-:-;;
   20979   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20980   esac
   20981   ac_save_IFS=$IFS
   20982   IFS=:
   20983   set x $ac_tag
   20984   IFS=$ac_save_IFS
   20985   shift
   20986   ac_file=$1
   20987   shift
   20988 
   20989   case $ac_mode in
   20990   :L) ac_source=$1;;
   20991   :[FH])
   20992     ac_file_inputs=
   20993     for ac_f
   20994     do
   20995       case $ac_f in
   20996       -) ac_f="$ac_tmp/stdin";;
   20997       *) # Look for the file first in the build tree, then in the source tree
   20998 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20999 	 # because $ac_f cannot contain `:'.
   21000 	 test -f "$ac_f" ||
   21001 	   case $ac_f in
   21002 	   [\\/$]*) false;;
   21003 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21004 	   esac ||
   21005 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21006       esac
   21007       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21008       as_fn_append ac_file_inputs " '$ac_f'"
   21009     done
   21010 
   21011     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21012     # use $as_me), people would be surprised to read:
   21013     #    /* config.h.  Generated by config.status.  */
   21014     configure_input='Generated from '`
   21015 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21016 	`' by configure.'
   21017     if test x"$ac_file" != x-; then
   21018       configure_input="$ac_file.  $configure_input"
   21019       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21020 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21021     fi
   21022     # Neutralize special characters interpreted by sed in replacement strings.
   21023     case $configure_input in #(
   21024     *\&* | *\|* | *\\* )
   21025        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21026        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21027     *) ac_sed_conf_input=$configure_input;;
   21028     esac
   21029 
   21030     case $ac_tag in
   21031     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21032       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21033     esac
   21034     ;;
   21035   esac
   21036 
   21037   ac_dir=`$as_dirname -- "$ac_file" ||
   21038 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21039 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21040 	 X"$ac_file" : 'X\(//\)$' \| \
   21041 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21042 printf "%s\n" X"$ac_file" |
   21043     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21044 	    s//\1/
   21045 	    q
   21046 	  }
   21047 	  /^X\(\/\/\)[^/].*/{
   21048 	    s//\1/
   21049 	    q
   21050 	  }
   21051 	  /^X\(\/\/\)$/{
   21052 	    s//\1/
   21053 	    q
   21054 	  }
   21055 	  /^X\(\/\).*/{
   21056 	    s//\1/
   21057 	    q
   21058 	  }
   21059 	  s/.*/./; q'`
   21060   as_dir="$ac_dir"; as_fn_mkdir_p
   21061   ac_builddir=.
   21062 
   21063 case "$ac_dir" in
   21064 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21065 *)
   21066   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21067   # A ".." for each directory in $ac_dir_suffix.
   21068   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21069   case $ac_top_builddir_sub in
   21070   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21071   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21072   esac ;;
   21073 esac
   21074 ac_abs_top_builddir=$ac_pwd
   21075 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21076 # for backward compatibility:
   21077 ac_top_builddir=$ac_top_build_prefix
   21078 
   21079 case $srcdir in
   21080   .)  # We are building in place.
   21081     ac_srcdir=.
   21082     ac_top_srcdir=$ac_top_builddir_sub
   21083     ac_abs_top_srcdir=$ac_pwd ;;
   21084   [\\/]* | ?:[\\/]* )  # Absolute name.
   21085     ac_srcdir=$srcdir$ac_dir_suffix;
   21086     ac_top_srcdir=$srcdir
   21087     ac_abs_top_srcdir=$srcdir ;;
   21088   *) # Relative name.
   21089     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21090     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21091     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21092 esac
   21093 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21094 
   21095 
   21096   case $ac_mode in
   21097   :F)
   21098   #
   21099   # CONFIG_FILE
   21100   #
   21101 
   21102   case $INSTALL in
   21103   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21104   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21105   esac
   21106   ac_MKDIR_P=$MKDIR_P
   21107   case $MKDIR_P in
   21108   [\\/$]* | ?:[\\/]* ) ;;
   21109   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21110   esac
   21111 _ACEOF
   21112 
   21113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21114 # If the template does not know about datarootdir, expand it.
   21115 # FIXME: This hack should be removed a few years after 2.60.
   21116 ac_datarootdir_hack=; ac_datarootdir_seen=
   21117 ac_sed_dataroot='
   21118 /datarootdir/ {
   21119   p
   21120   q
   21121 }
   21122 /@datadir@/p
   21123 /@docdir@/p
   21124 /@infodir@/p
   21125 /@localedir@/p
   21126 /@mandir@/p'
   21127 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21128 *datarootdir*) ac_datarootdir_seen=yes;;
   21129 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21131 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21132 _ACEOF
   21133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21134   ac_datarootdir_hack='
   21135   s&@datadir@&$datadir&g
   21136   s&@docdir@&$docdir&g
   21137   s&@infodir@&$infodir&g
   21138   s&@localedir@&$localedir&g
   21139   s&@mandir@&$mandir&g
   21140   s&\\\${datarootdir}&$datarootdir&g' ;;
   21141 esac
   21142 _ACEOF
   21143 
   21144 # Neutralize VPATH when `$srcdir' = `.'.
   21145 # Shell code in configure.ac might set extrasub.
   21146 # FIXME: do we really want to maintain this feature?
   21147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21148 ac_sed_extra="$ac_vpsub
   21149 $extrasub
   21150 _ACEOF
   21151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21152 :t
   21153 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21154 s|@configure_input@|$ac_sed_conf_input|;t t
   21155 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21156 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21157 s&@srcdir@&$ac_srcdir&;t t
   21158 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21159 s&@top_srcdir@&$ac_top_srcdir&;t t
   21160 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21161 s&@builddir@&$ac_builddir&;t t
   21162 s&@abs_builddir@&$ac_abs_builddir&;t t
   21163 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21164 s&@INSTALL@&$ac_INSTALL&;t t
   21165 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21166 $ac_datarootdir_hack
   21167 "
   21168 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21169   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21170 
   21171 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21172   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21173   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21174       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21175   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21176 which seems to be undefined.  Please make sure it is defined" >&5
   21177 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21178 which seems to be undefined.  Please make sure it is defined" >&2;}
   21179 
   21180   rm -f "$ac_tmp/stdin"
   21181   case $ac_file in
   21182   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21183   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21184   esac \
   21185   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21186  ;;
   21187   :H)
   21188   #
   21189   # CONFIG_HEADER
   21190   #
   21191   if test x"$ac_file" != x-; then
   21192     {
   21193       printf "%s\n" "/* $configure_input  */" >&1 \
   21194       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21195     } >"$ac_tmp/config.h" \
   21196       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21197     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21198       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21199 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21200     else
   21201       rm -f "$ac_file"
   21202       mv "$ac_tmp/config.h" "$ac_file" \
   21203 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21204     fi
   21205   else
   21206     printf "%s\n" "/* $configure_input  */" >&1 \
   21207       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21208       || as_fn_error $? "could not create -" "$LINENO" 5
   21209   fi
   21210 # Compute "$ac_file"'s index in $config_headers.
   21211 _am_arg="$ac_file"
   21212 _am_stamp_count=1
   21213 for _am_header in $config_headers :; do
   21214   case $_am_header in
   21215     $_am_arg | $_am_arg:* )
   21216       break ;;
   21217     * )
   21218       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21219   esac
   21220 done
   21221 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21222 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21223 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21224 	 X"$_am_arg" : 'X\(//\)$' \| \
   21225 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21226 printf "%s\n" X"$_am_arg" |
   21227     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21228 	    s//\1/
   21229 	    q
   21230 	  }
   21231 	  /^X\(\/\/\)[^/].*/{
   21232 	    s//\1/
   21233 	    q
   21234 	  }
   21235 	  /^X\(\/\/\)$/{
   21236 	    s//\1/
   21237 	    q
   21238 	  }
   21239 	  /^X\(\/\).*/{
   21240 	    s//\1/
   21241 	    q
   21242 	  }
   21243 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21244  ;;
   21245 
   21246   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21247 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21248  ;;
   21249   esac
   21250 
   21251 
   21252   case $ac_file$ac_mode in
   21253     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21254   # Older Autoconf quotes --file arguments for eval, but not when files
   21255   # are listed without --file.  Let's play safe and only enable the eval
   21256   # if we detect the quoting.
   21257   # TODO: see whether this extra hack can be removed once we start
   21258   # requiring Autoconf 2.70 or later.
   21259   case $CONFIG_FILES in #(
   21260   *\'*) :
   21261     eval set x "$CONFIG_FILES" ;; #(
   21262   *) :
   21263     set x $CONFIG_FILES ;; #(
   21264   *) :
   21265      ;;
   21266 esac
   21267   shift
   21268   # Used to flag and report bootstrapping failures.
   21269   am_rc=0
   21270   for am_mf
   21271   do
   21272     # Strip MF so we end up with the name of the file.
   21273     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21274     # Check whether this is an Automake generated Makefile which includes
   21275     # dependency-tracking related rules and includes.
   21276     # Grep'ing the whole file directly is not great: AIX grep has a line
   21277     # limit of 2048, but all sed's we know have understand at least 4000.
   21278     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21279       || continue
   21280     am_dirpart=`$as_dirname -- "$am_mf" ||
   21281 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21282 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21283 	 X"$am_mf" : 'X\(//\)$' \| \
   21284 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21285 printf "%s\n" X"$am_mf" |
   21286     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21287 	    s//\1/
   21288 	    q
   21289 	  }
   21290 	  /^X\(\/\/\)[^/].*/{
   21291 	    s//\1/
   21292 	    q
   21293 	  }
   21294 	  /^X\(\/\/\)$/{
   21295 	    s//\1/
   21296 	    q
   21297 	  }
   21298 	  /^X\(\/\).*/{
   21299 	    s//\1/
   21300 	    q
   21301 	  }
   21302 	  s/.*/./; q'`
   21303     am_filepart=`$as_basename -- "$am_mf" ||
   21304 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21305 	 X"$am_mf" : 'X\(//\)$' \| \
   21306 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21307 printf "%s\n" X/"$am_mf" |
   21308     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21309 	    s//\1/
   21310 	    q
   21311 	  }
   21312 	  /^X\/\(\/\/\)$/{
   21313 	    s//\1/
   21314 	    q
   21315 	  }
   21316 	  /^X\/\(\/\).*/{
   21317 	    s//\1/
   21318 	    q
   21319 	  }
   21320 	  s/.*/./; q'`
   21321     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21322       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21323         | $MAKE -f - am--depfiles" >&5
   21324    (cd "$am_dirpart" \
   21325       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21326         | $MAKE -f - am--depfiles) >&5 2>&5
   21327    ac_status=$?
   21328    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21329    (exit $ac_status); } || am_rc=$?
   21330   done
   21331   if test $am_rc -ne 0; then
   21332     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21333 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21334 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21335     for automatic dependency tracking.  If GNU make was not used, consider
   21336     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21337     necessary).  You can also try re-running configure with the
   21338     '--disable-dependency-tracking' option to at least be able to build
   21339     the package (albeit without support for automatic dependency tracking).
   21340 See \`config.log' for more details" "$LINENO" 5; }
   21341   fi
   21342   { am_dirpart=; unset am_dirpart;}
   21343   { am_filepart=; unset am_filepart;}
   21344   { am_mf=; unset am_mf;}
   21345   { am_rc=; unset am_rc;}
   21346   rm -f conftest-deps.mk
   21347 }
   21348  ;;
   21349     "libtool":C)
   21350 
   21351     # See if we are running on zsh, and set the options that allow our
   21352     # commands through without removal of \ escapes.
   21353     if test -n "${ZSH_VERSION+set}"; then
   21354       setopt NO_GLOB_SUBST
   21355     fi
   21356 
   21357     cfgfile=${ofile}T
   21358     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21359     $RM "$cfgfile"
   21360 
   21361     cat <<_LT_EOF >> "$cfgfile"
   21362 #! $SHELL
   21363 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21364 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21365 
   21366 # Provide generalized library-building support services.
   21367 # Written by Gordon Matzigkeit, 1996
   21368 
   21369 # Copyright (C) 2014 Free Software Foundation, Inc.
   21370 # This is free software; see the source for copying conditions.  There is NO
   21371 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21372 
   21373 # GNU Libtool is free software; you can redistribute it and/or modify
   21374 # it under the terms of the GNU General Public License as published by
   21375 # the Free Software Foundation; either version 2 of of the License, or
   21376 # (at your option) any later version.
   21377 #
   21378 # As a special exception to the GNU General Public License, if you
   21379 # distribute this file as part of a program or library that is built
   21380 # using GNU Libtool, you may include this file under the  same
   21381 # distribution terms that you use for the rest of that program.
   21382 #
   21383 # GNU Libtool is distributed in the hope that it will be useful, but
   21384 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21385 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21386 # GNU General Public License for more details.
   21387 #
   21388 # You should have received a copy of the GNU General Public License
   21389 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21390 
   21391 
   21392 # The names of the tagged configurations supported by this script.
   21393 available_tags=''
   21394 
   21395 # Configured defaults for sys_lib_dlsearch_path munging.
   21396 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21397 
   21398 # ### BEGIN LIBTOOL CONFIG
   21399 
   21400 # Which release of libtool.m4 was used?
   21401 macro_version=$macro_version
   21402 macro_revision=$macro_revision
   21403 
   21404 # Whether or not to build shared libraries.
   21405 build_libtool_libs=$enable_shared
   21406 
   21407 # Whether or not to build static libraries.
   21408 build_old_libs=$enable_static
   21409 
   21410 # What type of objects to build.
   21411 pic_mode=$pic_mode
   21412 
   21413 # Whether or not to optimize for fast installation.
   21414 fast_install=$enable_fast_install
   21415 
   21416 # Shared archive member basename,for filename based shared library versioning on AIX.
   21417 shared_archive_member_spec=$shared_archive_member_spec
   21418 
   21419 # Shell to use when invoking shell scripts.
   21420 SHELL=$lt_SHELL
   21421 
   21422 # An echo program that protects backslashes.
   21423 ECHO=$lt_ECHO
   21424 
   21425 # The PATH separator for the build system.
   21426 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21427 
   21428 # The host system.
   21429 host_alias=$host_alias
   21430 host=$host
   21431 host_os=$host_os
   21432 
   21433 # The build system.
   21434 build_alias=$build_alias
   21435 build=$build
   21436 build_os=$build_os
   21437 
   21438 # A sed program that does not truncate output.
   21439 SED=$lt_SED
   21440 
   21441 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21442 Xsed="\$SED -e 1s/^X//"
   21443 
   21444 # A grep program that handles long lines.
   21445 GREP=$lt_GREP
   21446 
   21447 # An ERE matcher.
   21448 EGREP=$lt_EGREP
   21449 
   21450 # A literal string matcher.
   21451 FGREP=$lt_FGREP
   21452 
   21453 # A BSD- or MS-compatible name lister.
   21454 NM=$lt_NM
   21455 
   21456 # Whether we need soft or hard links.
   21457 LN_S=$lt_LN_S
   21458 
   21459 # What is the maximum length of a command?
   21460 max_cmd_len=$max_cmd_len
   21461 
   21462 # Object file suffix (normally "o").
   21463 objext=$ac_objext
   21464 
   21465 # Executable file suffix (normally "").
   21466 exeext=$exeext
   21467 
   21468 # whether the shell understands "unset".
   21469 lt_unset=$lt_unset
   21470 
   21471 # turn spaces into newlines.
   21472 SP2NL=$lt_lt_SP2NL
   21473 
   21474 # turn newlines into spaces.
   21475 NL2SP=$lt_lt_NL2SP
   21476 
   21477 # convert \$build file names to \$host format.
   21478 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21479 
   21480 # convert \$build files to toolchain format.
   21481 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21482 
   21483 # A file(cmd) program that detects file types.
   21484 FILECMD=$lt_FILECMD
   21485 
   21486 # An object symbol dumper.
   21487 OBJDUMP=$lt_OBJDUMP
   21488 
   21489 # Method to check whether dependent libraries are shared objects.
   21490 deplibs_check_method=$lt_deplibs_check_method
   21491 
   21492 # Command to use when deplibs_check_method = "file_magic".
   21493 file_magic_cmd=$lt_file_magic_cmd
   21494 
   21495 # How to find potential files when deplibs_check_method = "file_magic".
   21496 file_magic_glob=$lt_file_magic_glob
   21497 
   21498 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21499 want_nocaseglob=$lt_want_nocaseglob
   21500 
   21501 # DLL creation program.
   21502 DLLTOOL=$lt_DLLTOOL
   21503 
   21504 # Command to associate shared and link libraries.
   21505 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21506 
   21507 # The archiver.
   21508 AR=$lt_AR
   21509 
   21510 # Flags to create an archive (by configure).
   21511 lt_ar_flags=$lt_ar_flags
   21512 
   21513 # Flags to create an archive.
   21514 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21515 
   21516 # How to feed a file listing to the archiver.
   21517 archiver_list_spec=$lt_archiver_list_spec
   21518 
   21519 # A symbol stripping program.
   21520 STRIP=$lt_STRIP
   21521 
   21522 # Commands used to install an old-style archive.
   21523 RANLIB=$lt_RANLIB
   21524 old_postinstall_cmds=$lt_old_postinstall_cmds
   21525 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21526 
   21527 # Whether to use a lock for old archive extraction.
   21528 lock_old_archive_extraction=$lock_old_archive_extraction
   21529 
   21530 # A C compiler.
   21531 LTCC=$lt_CC
   21532 
   21533 # LTCC compiler flags.
   21534 LTCFLAGS=$lt_CFLAGS
   21535 
   21536 # Take the output of nm and produce a listing of raw symbols and C names.
   21537 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21538 
   21539 # Transform the output of nm in a proper C declaration.
   21540 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21541 
   21542 # Transform the output of nm into a list of symbols to manually relocate.
   21543 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21544 
   21545 # Transform the output of nm in a C name address pair.
   21546 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21547 
   21548 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21549 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21550 
   21551 # The name lister interface.
   21552 nm_interface=$lt_lt_cv_nm_interface
   21553 
   21554 # Specify filename containing input files for \$NM.
   21555 nm_file_list_spec=$lt_nm_file_list_spec
   21556 
   21557 # The root where to search for dependent libraries,and where our libraries should be installed.
   21558 lt_sysroot=$lt_sysroot
   21559 
   21560 # Command to truncate a binary pipe.
   21561 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21562 
   21563 # The name of the directory that contains temporary libtool files.
   21564 objdir=$objdir
   21565 
   21566 # Used to examine libraries when file_magic_cmd begins with "file".
   21567 MAGIC_CMD=$MAGIC_CMD
   21568 
   21569 # Must we lock files when doing compilation?
   21570 need_locks=$lt_need_locks
   21571 
   21572 # Manifest tool.
   21573 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21574 
   21575 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21576 DSYMUTIL=$lt_DSYMUTIL
   21577 
   21578 # Tool to change global to local symbols on Mac OS X.
   21579 NMEDIT=$lt_NMEDIT
   21580 
   21581 # Tool to manipulate fat objects and archives on Mac OS X.
   21582 LIPO=$lt_LIPO
   21583 
   21584 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21585 OTOOL=$lt_OTOOL
   21586 
   21587 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21588 OTOOL64=$lt_OTOOL64
   21589 
   21590 # Old archive suffix (normally "a").
   21591 libext=$libext
   21592 
   21593 # Shared library suffix (normally ".so").
   21594 shrext_cmds=$lt_shrext_cmds
   21595 
   21596 # The commands to extract the exported symbol list from a shared archive.
   21597 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21598 
   21599 # Variables whose values should be saved in libtool wrapper scripts and
   21600 # restored at link time.
   21601 variables_saved_for_relink=$lt_variables_saved_for_relink
   21602 
   21603 # Do we need the "lib" prefix for modules?
   21604 need_lib_prefix=$need_lib_prefix
   21605 
   21606 # Do we need a version for libraries?
   21607 need_version=$need_version
   21608 
   21609 # Library versioning type.
   21610 version_type=$version_type
   21611 
   21612 # Shared library runtime path variable.
   21613 runpath_var=$runpath_var
   21614 
   21615 # Shared library path variable.
   21616 shlibpath_var=$shlibpath_var
   21617 
   21618 # Is shlibpath searched before the hard-coded library search path?
   21619 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21620 
   21621 # Format of library name prefix.
   21622 libname_spec=$lt_libname_spec
   21623 
   21624 # List of archive names.  First name is the real one, the rest are links.
   21625 # The last name is the one that the linker finds with -lNAME
   21626 library_names_spec=$lt_library_names_spec
   21627 
   21628 # The coded name of the library, if different from the real name.
   21629 soname_spec=$lt_soname_spec
   21630 
   21631 # Permission mode override for installation of shared libraries.
   21632 install_override_mode=$lt_install_override_mode
   21633 
   21634 # Command to use after installation of a shared archive.
   21635 postinstall_cmds=$lt_postinstall_cmds
   21636 
   21637 # Command to use after uninstallation of a shared archive.
   21638 postuninstall_cmds=$lt_postuninstall_cmds
   21639 
   21640 # Commands used to finish a libtool library installation in a directory.
   21641 finish_cmds=$lt_finish_cmds
   21642 
   21643 # As "finish_cmds", except a single script fragment to be evaled but
   21644 # not shown.
   21645 finish_eval=$lt_finish_eval
   21646 
   21647 # Whether we should hardcode library paths into libraries.
   21648 hardcode_into_libs=$hardcode_into_libs
   21649 
   21650 # Compile-time system search path for libraries.
   21651 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21652 
   21653 # Detected run-time system search path for libraries.
   21654 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21655 
   21656 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21657 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21658 
   21659 # Whether dlopen is supported.
   21660 dlopen_support=$enable_dlopen
   21661 
   21662 # Whether dlopen of programs is supported.
   21663 dlopen_self=$enable_dlopen_self
   21664 
   21665 # Whether dlopen of statically linked programs is supported.
   21666 dlopen_self_static=$enable_dlopen_self_static
   21667 
   21668 # Commands to strip libraries.
   21669 old_striplib=$lt_old_striplib
   21670 striplib=$lt_striplib
   21671 
   21672 
   21673 # The linker used to build libraries.
   21674 LD=$lt_LD
   21675 
   21676 # How to create reloadable object files.
   21677 reload_flag=$lt_reload_flag
   21678 reload_cmds=$lt_reload_cmds
   21679 
   21680 # Commands used to build an old-style archive.
   21681 old_archive_cmds=$lt_old_archive_cmds
   21682 
   21683 # A language specific compiler.
   21684 CC=$lt_compiler
   21685 
   21686 # Is the compiler the GNU compiler?
   21687 with_gcc=$GCC
   21688 
   21689 # Compiler flag to turn off builtin functions.
   21690 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21691 
   21692 # Additional compiler flags for building library objects.
   21693 pic_flag=$lt_lt_prog_compiler_pic
   21694 
   21695 # How to pass a linker flag through the compiler.
   21696 wl=$lt_lt_prog_compiler_wl
   21697 
   21698 # Compiler flag to prevent dynamic linking.
   21699 link_static_flag=$lt_lt_prog_compiler_static
   21700 
   21701 # Does compiler simultaneously support -c and -o options?
   21702 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21703 
   21704 # Whether or not to add -lc for building shared libraries.
   21705 build_libtool_need_lc=$archive_cmds_need_lc
   21706 
   21707 # Whether or not to disallow shared libs when runtime libs are static.
   21708 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21709 
   21710 # Compiler flag to allow reflexive dlopens.
   21711 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21712 
   21713 # Compiler flag to generate shared objects directly from archives.
   21714 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21715 
   21716 # Whether the compiler copes with passing no objects directly.
   21717 compiler_needs_object=$lt_compiler_needs_object
   21718 
   21719 # Create an old-style archive from a shared archive.
   21720 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21721 
   21722 # Create a temporary old-style archive to link instead of a shared archive.
   21723 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21724 
   21725 # Commands used to build a shared archive.
   21726 archive_cmds=$lt_archive_cmds
   21727 archive_expsym_cmds=$lt_archive_expsym_cmds
   21728 
   21729 # Commands used to build a loadable module if different from building
   21730 # a shared archive.
   21731 module_cmds=$lt_module_cmds
   21732 module_expsym_cmds=$lt_module_expsym_cmds
   21733 
   21734 # Whether we are building with GNU ld or not.
   21735 with_gnu_ld=$lt_with_gnu_ld
   21736 
   21737 # Flag that allows shared libraries with undefined symbols to be built.
   21738 allow_undefined_flag=$lt_allow_undefined_flag
   21739 
   21740 # Flag that enforces no undefined symbols.
   21741 no_undefined_flag=$lt_no_undefined_flag
   21742 
   21743 # Flag to hardcode \$libdir into a binary during linking.
   21744 # This must work even if \$libdir does not exist
   21745 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21746 
   21747 # Whether we need a single "-rpath" flag with a separated argument.
   21748 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21749 
   21750 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21751 # DIR into the resulting binary.
   21752 hardcode_direct=$hardcode_direct
   21753 
   21754 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21755 # DIR into the resulting binary and the resulting library dependency is
   21756 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21757 # library is relocated.
   21758 hardcode_direct_absolute=$hardcode_direct_absolute
   21759 
   21760 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21761 # into the resulting binary.
   21762 hardcode_minus_L=$hardcode_minus_L
   21763 
   21764 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21765 # into the resulting binary.
   21766 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21767 
   21768 # Set to "yes" if building a shared library automatically hardcodes DIR
   21769 # into the library and all subsequent libraries and executables linked
   21770 # against it.
   21771 hardcode_automatic=$hardcode_automatic
   21772 
   21773 # Set to yes if linker adds runtime paths of dependent libraries
   21774 # to runtime path list.
   21775 inherit_rpath=$inherit_rpath
   21776 
   21777 # Whether libtool must link a program against all its dependency libraries.
   21778 link_all_deplibs=$link_all_deplibs
   21779 
   21780 # Set to "yes" if exported symbols are required.
   21781 always_export_symbols=$always_export_symbols
   21782 
   21783 # The commands to list exported symbols.
   21784 export_symbols_cmds=$lt_export_symbols_cmds
   21785 
   21786 # Symbols that should not be listed in the preloaded symbols.
   21787 exclude_expsyms=$lt_exclude_expsyms
   21788 
   21789 # Symbols that must always be exported.
   21790 include_expsyms=$lt_include_expsyms
   21791 
   21792 # Commands necessary for linking programs (against libraries) with templates.
   21793 prelink_cmds=$lt_prelink_cmds
   21794 
   21795 # Commands necessary for finishing linking programs.
   21796 postlink_cmds=$lt_postlink_cmds
   21797 
   21798 # Specify filename containing input files.
   21799 file_list_spec=$lt_file_list_spec
   21800 
   21801 # How to hardcode a shared library path into an executable.
   21802 hardcode_action=$hardcode_action
   21803 
   21804 # ### END LIBTOOL CONFIG
   21805 
   21806 _LT_EOF
   21807 
   21808     cat <<'_LT_EOF' >> "$cfgfile"
   21809 
   21810 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21811 
   21812 # func_munge_path_list VARIABLE PATH
   21813 # -----------------------------------
   21814 # VARIABLE is name of variable containing _space_ separated list of
   21815 # directories to be munged by the contents of PATH, which is string
   21816 # having a format:
   21817 # "DIR[:DIR]:"
   21818 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21819 # ":DIR[:DIR]"
   21820 #       string "DIR[ DIR]" will be appended to VARIABLE
   21821 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21822 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21823 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21824 # "DIR[:DIR]"
   21825 #       VARIABLE will be replaced by "DIR[ DIR]"
   21826 func_munge_path_list ()
   21827 {
   21828     case x$2 in
   21829     x)
   21830         ;;
   21831     *:)
   21832         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21833         ;;
   21834     x:*)
   21835         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21836         ;;
   21837     *::*)
   21838         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21839         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21840         ;;
   21841     *)
   21842         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21843         ;;
   21844     esac
   21845 }
   21846 
   21847 
   21848 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21849 func_cc_basename ()
   21850 {
   21851     for cc_temp in $*""; do
   21852       case $cc_temp in
   21853         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21854         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21855         \-*) ;;
   21856         *) break;;
   21857       esac
   21858     done
   21859     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21860 }
   21861 
   21862 
   21863 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21864 
   21865 _LT_EOF
   21866 
   21867   case $host_os in
   21868   aix3*)
   21869     cat <<\_LT_EOF >> "$cfgfile"
   21870 # AIX sometimes has problems with the GCC collect2 program.  For some
   21871 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21872 # vanish in a puff of smoke.
   21873 if test set != "${COLLECT_NAMES+set}"; then
   21874   COLLECT_NAMES=
   21875   export COLLECT_NAMES
   21876 fi
   21877 _LT_EOF
   21878     ;;
   21879   esac
   21880 
   21881 
   21882 
   21883 ltmain=$ac_aux_dir/ltmain.sh
   21884 
   21885 
   21886   # We use sed instead of cat because bash on DJGPP gets confused if
   21887   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21888   # text mode, it properly converts lines to CR/LF.  This bash problem
   21889   # is reportedly fixed, but why not run on old versions too?
   21890   $SED '$q' "$ltmain" >> "$cfgfile" \
   21891      || (rm -f "$cfgfile"; exit 1)
   21892 
   21893    mv -f "$cfgfile" "$ofile" ||
   21894     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21895   chmod +x "$ofile"
   21896 
   21897  ;;
   21898 
   21899   esac
   21900 done # for ac_tag
   21901 
   21902 
   21903 as_fn_exit 0
   21904 _ACEOF
   21905 ac_clean_files=$ac_clean_files_save
   21906 
   21907 test $ac_write_fail = 0 ||
   21908   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21909 
   21910 
   21911 # configure is writing to config.log, and then calls config.status.
   21912 # config.status does its own redirection, appending to config.log.
   21913 # Unfortunately, on DOS this fails, as config.log is still kept open
   21914 # by configure, so config.status won't be able to write to it; its
   21915 # output is simply discarded.  So we exec the FD to /dev/null,
   21916 # effectively closing config.log, so it can be properly (re)opened and
   21917 # appended to by config.status.  When coming back to configure, we
   21918 # need to make the FD available again.
   21919 if test "$no_create" != yes; then
   21920   ac_cs_success=:
   21921   ac_config_status_args=
   21922   test "$silent" = yes &&
   21923     ac_config_status_args="$ac_config_status_args --quiet"
   21924   exec 5>/dev/null
   21925   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21926   exec 5>>config.log
   21927   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21928   # would make configure fail if this is the last instruction.
   21929   $ac_cs_success || as_fn_exit 1
   21930 fi
   21931 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21932   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21933 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21934 fi
   21935 
   21936 
   21937