Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libxshmfence 1.3.2.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxshmfence/-/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/libxshmfence/-/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='libxshmfence'
    624 PACKAGE_TARNAME='libxshmfence'
    625 PACKAGE_VERSION='1.3.2'
    626 PACKAGE_STRING='libxshmfence 1.3.2'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxshmfence/-/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 XPROTO_LIBS
    668 XPROTO_CFLAGS
    669 PTHREAD_FALSE
    670 PTHREAD_TRUE
    671 FUTEX_FALSE
    672 FUTEX_TRUE
    673 PTHREAD_LIBS
    674 LINT_FALSE
    675 LINT_TRUE
    676 LINT_FLAGS
    677 LINT
    678 MAN_SUBSTS
    679 XORG_MAN_PAGE
    680 ADMIN_MAN_DIR
    681 DRIVER_MAN_DIR
    682 MISC_MAN_DIR
    683 FILE_MAN_DIR
    684 LIB_MAN_DIR
    685 APP_MAN_DIR
    686 ADMIN_MAN_SUFFIX
    687 DRIVER_MAN_SUFFIX
    688 MISC_MAN_SUFFIX
    689 FILE_MAN_SUFFIX
    690 LIB_MAN_SUFFIX
    691 APP_MAN_SUFFIX
    692 INSTALL_CMD
    693 PKG_CONFIG_LIBDIR
    694 PKG_CONFIG_PATH
    695 PKG_CONFIG
    696 CHANGELOG_CMD
    697 STRICT_CFLAGS
    698 CWARNFLAGS
    699 BASE_CFLAGS
    700 LT_SYS_LIBRARY_PATH
    701 OTOOL64
    702 OTOOL
    703 LIPO
    704 NMEDIT
    705 DSYMUTIL
    706 MANIFEST_TOOL
    707 RANLIB
    708 ac_ct_AR
    709 AR
    710 DLLTOOL
    711 OBJDUMP
    712 FILECMD
    713 LN_S
    714 NM
    715 ac_ct_DUMPBIN
    716 DUMPBIN
    717 LD
    718 FGREP
    719 EGREP
    720 GREP
    721 SED
    722 host_os
    723 host_vendor
    724 host_cpu
    725 host
    726 build_os
    727 build_vendor
    728 build_cpu
    729 build
    730 LIBTOOL
    731 AM_BACKSLASH
    732 AM_DEFAULT_VERBOSITY
    733 AM_DEFAULT_V
    734 AM_V
    735 CSCOPE
    736 ETAGS
    737 CTAGS
    738 am__fastdepCC_FALSE
    739 am__fastdepCC_TRUE
    740 CCDEPMODE
    741 am__nodep
    742 AMDEPBACKSLASH
    743 AMDEP_FALSE
    744 AMDEP_TRUE
    745 am__include
    746 DEPDIR
    747 am__untar
    748 am__tar
    749 AMTAR
    750 am__leading_dot
    751 SET_MAKE
    752 AWK
    753 mkdir_p
    754 MKDIR_P
    755 INSTALL_STRIP_PROGRAM
    756 STRIP
    757 install_sh
    758 MAKEINFO
    759 AUTOHEADER
    760 AUTOMAKE
    761 AUTOCONF
    762 ACLOCAL
    763 VERSION
    764 PACKAGE
    765 CYGPATH_W
    766 am__isrc
    767 INSTALL_DATA
    768 INSTALL_SCRIPT
    769 INSTALL_PROGRAM
    770 OBJEXT
    771 EXEEXT
    772 ac_ct_CC
    773 CPPFLAGS
    774 LDFLAGS
    775 CFLAGS
    776 CC
    777 target_alias
    778 host_alias
    779 build_alias
    780 LIBS
    781 ECHO_T
    782 ECHO_N
    783 ECHO_C
    784 DEFS
    785 mandir
    786 localedir
    787 libdir
    788 psdir
    789 pdfdir
    790 dvidir
    791 htmldir
    792 infodir
    793 docdir
    794 oldincludedir
    795 includedir
    796 runstatedir
    797 localstatedir
    798 sharedstatedir
    799 sysconfdir
    800 datadir
    801 datarootdir
    802 libexecdir
    803 sbindir
    804 bindir
    805 program_transform_name
    806 prefix
    807 exec_prefix
    808 PACKAGE_URL
    809 PACKAGE_BUGREPORT
    810 PACKAGE_STRING
    811 PACKAGE_VERSION
    812 PACKAGE_TARNAME
    813 PACKAGE_NAME
    814 PATH_SEPARATOR
    815 SHELL
    816 am__quote'
    817 ac_subst_files=''
    818 ac_user_opts='
    819 enable_option_checking
    820 enable_dependency_tracking
    821 enable_silent_rules
    822 enable_shared
    823 enable_static
    824 with_pic
    825 enable_fast_install
    826 with_aix_soname
    827 with_gnu_ld
    828 with_sysroot
    829 enable_libtool_lock
    830 enable_selective_werror
    831 enable_strict_compilation
    832 with_lint
    833 enable_largefile
    834 enable_futex
    835 enable_visibility
    836 with_shared_memory_dir
    837 '
    838       ac_precious_vars='build_alias
    839 host_alias
    840 target_alias
    841 CC
    842 CFLAGS
    843 LDFLAGS
    844 LIBS
    845 CPPFLAGS
    846 LT_SYS_LIBRARY_PATH
    847 PKG_CONFIG
    848 PKG_CONFIG_PATH
    849 PKG_CONFIG_LIBDIR
    850 LINT
    851 LINT_FLAGS
    852 XPROTO_CFLAGS
    853 XPROTO_LIBS'
    854 
    855 
    856 # Initialize some variables set by options.
    857 ac_init_help=
    858 ac_init_version=false
    859 ac_unrecognized_opts=
    860 ac_unrecognized_sep=
    861 # The variables have the same names as the options, with
    862 # dashes changed to underlines.
    863 cache_file=/dev/null
    864 exec_prefix=NONE
    865 no_create=
    866 no_recursion=
    867 prefix=NONE
    868 program_prefix=NONE
    869 program_suffix=NONE
    870 program_transform_name=s,x,x,
    871 silent=
    872 site=
    873 srcdir=
    874 verbose=
    875 x_includes=NONE
    876 x_libraries=NONE
    877 
    878 # Installation directory options.
    879 # These are left unexpanded so users can "make install exec_prefix=/foo"
    880 # and all the variables that are supposed to be based on exec_prefix
    881 # by default will actually change.
    882 # Use braces instead of parens because sh, perl, etc. also accept them.
    883 # (The list follows the same order as the GNU Coding Standards.)
    884 bindir='${exec_prefix}/bin'
    885 sbindir='${exec_prefix}/sbin'
    886 libexecdir='${exec_prefix}/libexec'
    887 datarootdir='${prefix}/share'
    888 datadir='${datarootdir}'
    889 sysconfdir='${prefix}/etc'
    890 sharedstatedir='${prefix}/com'
    891 localstatedir='${prefix}/var'
    892 runstatedir='${localstatedir}/run'
    893 includedir='${prefix}/include'
    894 oldincludedir='/usr/include'
    895 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    896 infodir='${datarootdir}/info'
    897 htmldir='${docdir}'
    898 dvidir='${docdir}'
    899 pdfdir='${docdir}'
    900 psdir='${docdir}'
    901 libdir='${exec_prefix}/lib'
    902 localedir='${datarootdir}/locale'
    903 mandir='${datarootdir}/man'
    904 
    905 ac_prev=
    906 ac_dashdash=
    907 for ac_option
    908 do
    909   # If the previous option needs an argument, assign it.
    910   if test -n "$ac_prev"; then
    911     eval $ac_prev=\$ac_option
    912     ac_prev=
    913     continue
    914   fi
    915 
    916   case $ac_option in
    917   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    918   *=)   ac_optarg= ;;
    919   *)    ac_optarg=yes ;;
    920   esac
    921 
    922   case $ac_dashdash$ac_option in
    923   --)
    924     ac_dashdash=yes ;;
    925 
    926   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    927     ac_prev=bindir ;;
    928   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    929     bindir=$ac_optarg ;;
    930 
    931   -build | --build | --buil | --bui | --bu)
    932     ac_prev=build_alias ;;
    933   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    934     build_alias=$ac_optarg ;;
    935 
    936   -cache-file | --cache-file | --cache-fil | --cache-fi \
    937   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    938     ac_prev=cache_file ;;
    939   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    940   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    941     cache_file=$ac_optarg ;;
    942 
    943   --config-cache | -C)
    944     cache_file=config.cache ;;
    945 
    946   -datadir | --datadir | --datadi | --datad)
    947     ac_prev=datadir ;;
    948   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    949     datadir=$ac_optarg ;;
    950 
    951   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    952   | --dataroo | --dataro | --datar)
    953     ac_prev=datarootdir ;;
    954   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    955   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    956     datarootdir=$ac_optarg ;;
    957 
    958   -disable-* | --disable-*)
    959     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    960     # Reject names that are not valid shell variable names.
    961     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    962       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    963     ac_useropt_orig=$ac_useropt
    964     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    965     case $ac_user_opts in
    966       *"
    967 "enable_$ac_useropt"
    968 "*) ;;
    969       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    970 	 ac_unrecognized_sep=', ';;
    971     esac
    972     eval enable_$ac_useropt=no ;;
    973 
    974   -docdir | --docdir | --docdi | --doc | --do)
    975     ac_prev=docdir ;;
    976   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    977     docdir=$ac_optarg ;;
    978 
    979   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    980     ac_prev=dvidir ;;
    981   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    982     dvidir=$ac_optarg ;;
    983 
    984   -enable-* | --enable-*)
    985     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    986     # Reject names that are not valid shell variable names.
    987     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    988       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    989     ac_useropt_orig=$ac_useropt
    990     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    991     case $ac_user_opts in
    992       *"
    993 "enable_$ac_useropt"
    994 "*) ;;
    995       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    996 	 ac_unrecognized_sep=', ';;
    997     esac
    998     eval enable_$ac_useropt=\$ac_optarg ;;
    999 
   1000   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1001   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1002   | --exec | --exe | --ex)
   1003     ac_prev=exec_prefix ;;
   1004   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1005   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1006   | --exec=* | --exe=* | --ex=*)
   1007     exec_prefix=$ac_optarg ;;
   1008 
   1009   -gas | --gas | --ga | --g)
   1010     # Obsolete; use --with-gas.
   1011     with_gas=yes ;;
   1012 
   1013   -help | --help | --hel | --he | -h)
   1014     ac_init_help=long ;;
   1015   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1016     ac_init_help=recursive ;;
   1017   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1018     ac_init_help=short ;;
   1019 
   1020   -host | --host | --hos | --ho)
   1021     ac_prev=host_alias ;;
   1022   -host=* | --host=* | --hos=* | --ho=*)
   1023     host_alias=$ac_optarg ;;
   1024 
   1025   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1026     ac_prev=htmldir ;;
   1027   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1028   | --ht=*)
   1029     htmldir=$ac_optarg ;;
   1030 
   1031   -includedir | --includedir | --includedi | --included | --include \
   1032   | --includ | --inclu | --incl | --inc)
   1033     ac_prev=includedir ;;
   1034   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1035   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1036     includedir=$ac_optarg ;;
   1037 
   1038   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1039     ac_prev=infodir ;;
   1040   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1041     infodir=$ac_optarg ;;
   1042 
   1043   -libdir | --libdir | --libdi | --libd)
   1044     ac_prev=libdir ;;
   1045   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1046     libdir=$ac_optarg ;;
   1047 
   1048   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1049   | --libexe | --libex | --libe)
   1050     ac_prev=libexecdir ;;
   1051   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1052   | --libexe=* | --libex=* | --libe=*)
   1053     libexecdir=$ac_optarg ;;
   1054 
   1055   -localedir | --localedir | --localedi | --localed | --locale)
   1056     ac_prev=localedir ;;
   1057   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1058     localedir=$ac_optarg ;;
   1059 
   1060   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1061   | --localstate | --localstat | --localsta | --localst | --locals)
   1062     ac_prev=localstatedir ;;
   1063   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1064   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1065     localstatedir=$ac_optarg ;;
   1066 
   1067   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1068     ac_prev=mandir ;;
   1069   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1070     mandir=$ac_optarg ;;
   1071 
   1072   -nfp | --nfp | --nf)
   1073     # Obsolete; use --without-fp.
   1074     with_fp=no ;;
   1075 
   1076   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1077   | --no-cr | --no-c | -n)
   1078     no_create=yes ;;
   1079 
   1080   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1081   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1082     no_recursion=yes ;;
   1083 
   1084   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1085   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1086   | --oldin | --oldi | --old | --ol | --o)
   1087     ac_prev=oldincludedir ;;
   1088   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1089   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1090   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1091     oldincludedir=$ac_optarg ;;
   1092 
   1093   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1094     ac_prev=prefix ;;
   1095   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1096     prefix=$ac_optarg ;;
   1097 
   1098   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1099   | --program-pre | --program-pr | --program-p)
   1100     ac_prev=program_prefix ;;
   1101   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1102   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1103     program_prefix=$ac_optarg ;;
   1104 
   1105   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1106   | --program-suf | --program-su | --program-s)
   1107     ac_prev=program_suffix ;;
   1108   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1109   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1110     program_suffix=$ac_optarg ;;
   1111 
   1112   -program-transform-name | --program-transform-name \
   1113   | --program-transform-nam | --program-transform-na \
   1114   | --program-transform-n | --program-transform- \
   1115   | --program-transform | --program-transfor \
   1116   | --program-transfo | --program-transf \
   1117   | --program-trans | --program-tran \
   1118   | --progr-tra | --program-tr | --program-t)
   1119     ac_prev=program_transform_name ;;
   1120   -program-transform-name=* | --program-transform-name=* \
   1121   | --program-transform-nam=* | --program-transform-na=* \
   1122   | --program-transform-n=* | --program-transform-=* \
   1123   | --program-transform=* | --program-transfor=* \
   1124   | --program-transfo=* | --program-transf=* \
   1125   | --program-trans=* | --program-tran=* \
   1126   | --progr-tra=* | --program-tr=* | --program-t=*)
   1127     program_transform_name=$ac_optarg ;;
   1128 
   1129   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1130     ac_prev=pdfdir ;;
   1131   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1132     pdfdir=$ac_optarg ;;
   1133 
   1134   -psdir | --psdir | --psdi | --psd | --ps)
   1135     ac_prev=psdir ;;
   1136   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1137     psdir=$ac_optarg ;;
   1138 
   1139   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1140   | -silent | --silent | --silen | --sile | --sil)
   1141     silent=yes ;;
   1142 
   1143   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1144   | --runstate | --runstat | --runsta | --runst | --runs \
   1145   | --run | --ru | --r)
   1146     ac_prev=runstatedir ;;
   1147   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1148   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1149   | --run=* | --ru=* | --r=*)
   1150     runstatedir=$ac_optarg ;;
   1151 
   1152   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1153     ac_prev=sbindir ;;
   1154   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1155   | --sbi=* | --sb=*)
   1156     sbindir=$ac_optarg ;;
   1157 
   1158   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1159   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1160   | --sharedst | --shareds | --shared | --share | --shar \
   1161   | --sha | --sh)
   1162     ac_prev=sharedstatedir ;;
   1163   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1164   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1165   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1166   | --sha=* | --sh=*)
   1167     sharedstatedir=$ac_optarg ;;
   1168 
   1169   -site | --site | --sit)
   1170     ac_prev=site ;;
   1171   -site=* | --site=* | --sit=*)
   1172     site=$ac_optarg ;;
   1173 
   1174   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1175     ac_prev=srcdir ;;
   1176   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1177     srcdir=$ac_optarg ;;
   1178 
   1179   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1180   | --syscon | --sysco | --sysc | --sys | --sy)
   1181     ac_prev=sysconfdir ;;
   1182   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1183   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1184     sysconfdir=$ac_optarg ;;
   1185 
   1186   -target | --target | --targe | --targ | --tar | --ta | --t)
   1187     ac_prev=target_alias ;;
   1188   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1189     target_alias=$ac_optarg ;;
   1190 
   1191   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1192     verbose=yes ;;
   1193 
   1194   -version | --version | --versio | --versi | --vers | -V)
   1195     ac_init_version=: ;;
   1196 
   1197   -with-* | --with-*)
   1198     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1199     # Reject names that are not valid shell variable names.
   1200     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1201       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1202     ac_useropt_orig=$ac_useropt
   1203     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1204     case $ac_user_opts in
   1205       *"
   1206 "with_$ac_useropt"
   1207 "*) ;;
   1208       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1209 	 ac_unrecognized_sep=', ';;
   1210     esac
   1211     eval with_$ac_useropt=\$ac_optarg ;;
   1212 
   1213   -without-* | --without-*)
   1214     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1215     # Reject names that are not valid shell variable names.
   1216     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1217       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1218     ac_useropt_orig=$ac_useropt
   1219     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1220     case $ac_user_opts in
   1221       *"
   1222 "with_$ac_useropt"
   1223 "*) ;;
   1224       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1225 	 ac_unrecognized_sep=', ';;
   1226     esac
   1227     eval with_$ac_useropt=no ;;
   1228 
   1229   --x)
   1230     # Obsolete; use --with-x.
   1231     with_x=yes ;;
   1232 
   1233   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1234   | --x-incl | --x-inc | --x-in | --x-i)
   1235     ac_prev=x_includes ;;
   1236   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1237   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1238     x_includes=$ac_optarg ;;
   1239 
   1240   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1241   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1242     ac_prev=x_libraries ;;
   1243   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1244   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1245     x_libraries=$ac_optarg ;;
   1246 
   1247   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1248 Try \`$0 --help' for more information"
   1249     ;;
   1250 
   1251   *=*)
   1252     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1253     # Reject names that are not valid shell variable names.
   1254     case $ac_envvar in #(
   1255       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1256       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1257     esac
   1258     eval $ac_envvar=\$ac_optarg
   1259     export $ac_envvar ;;
   1260 
   1261   *)
   1262     # FIXME: should be removed in autoconf 3.0.
   1263     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1264     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1265       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1266     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1267     ;;
   1268 
   1269   esac
   1270 done
   1271 
   1272 if test -n "$ac_prev"; then
   1273   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1274   as_fn_error $? "missing argument to $ac_option"
   1275 fi
   1276 
   1277 if test -n "$ac_unrecognized_opts"; then
   1278   case $enable_option_checking in
   1279     no) ;;
   1280     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1281     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1282   esac
   1283 fi
   1284 
   1285 # Check all directory arguments for consistency.
   1286 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1287 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1288 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1289 		libdir localedir mandir runstatedir
   1290 do
   1291   eval ac_val=\$$ac_var
   1292   # Remove trailing slashes.
   1293   case $ac_val in
   1294     */ )
   1295       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1296       eval $ac_var=\$ac_val;;
   1297   esac
   1298   # Be sure to have absolute directory names.
   1299   case $ac_val in
   1300     [\\/$]* | ?:[\\/]* )  continue;;
   1301     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1302   esac
   1303   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1304 done
   1305 
   1306 # There might be people who depend on the old broken behavior: `$host'
   1307 # used to hold the argument of --host etc.
   1308 # FIXME: To remove some day.
   1309 build=$build_alias
   1310 host=$host_alias
   1311 target=$target_alias
   1312 
   1313 # FIXME: To remove some day.
   1314 if test "x$host_alias" != x; then
   1315   if test "x$build_alias" = x; then
   1316     cross_compiling=maybe
   1317   elif test "x$build_alias" != "x$host_alias"; then
   1318     cross_compiling=yes
   1319   fi
   1320 fi
   1321 
   1322 ac_tool_prefix=
   1323 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1324 
   1325 test "$silent" = yes && exec 6>/dev/null
   1326 
   1327 
   1328 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1329 ac_ls_di=`ls -di .` &&
   1330 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1331   as_fn_error $? "working directory cannot be determined"
   1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1333   as_fn_error $? "pwd does not report name of working directory"
   1334 
   1335 
   1336 # Find the source files, if location was not specified.
   1337 if test -z "$srcdir"; then
   1338   ac_srcdir_defaulted=yes
   1339   # Try the directory containing this script, then the parent directory.
   1340   ac_confdir=`$as_dirname -- "$as_myself" ||
   1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1342 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1343 	 X"$as_myself" : 'X\(//\)$' \| \
   1344 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1345 printf "%s\n" X"$as_myself" |
   1346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  /^X\(\/\/\)[^/].*/{
   1351 	    s//\1/
   1352 	    q
   1353 	  }
   1354 	  /^X\(\/\/\)$/{
   1355 	    s//\1/
   1356 	    q
   1357 	  }
   1358 	  /^X\(\/\).*/{
   1359 	    s//\1/
   1360 	    q
   1361 	  }
   1362 	  s/.*/./; q'`
   1363   srcdir=$ac_confdir
   1364   if test ! -r "$srcdir/$ac_unique_file"; then
   1365     srcdir=..
   1366   fi
   1367 else
   1368   ac_srcdir_defaulted=no
   1369 fi
   1370 if test ! -r "$srcdir/$ac_unique_file"; then
   1371   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1372   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1373 fi
   1374 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1375 ac_abs_confdir=`(
   1376 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1377 	pwd)`
   1378 # When building in place, set srcdir=.
   1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1380   srcdir=.
   1381 fi
   1382 # Remove unnecessary trailing slashes from srcdir.
   1383 # Double slashes in file names in object file debugging info
   1384 # mess up M-x gdb in Emacs.
   1385 case $srcdir in
   1386 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1387 esac
   1388 for ac_var in $ac_precious_vars; do
   1389   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1390   eval ac_env_${ac_var}_value=\$${ac_var}
   1391   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1392   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1393 done
   1394 
   1395 #
   1396 # Report the --help message.
   1397 #
   1398 if test "$ac_init_help" = "long"; then
   1399   # Omit some internal or obsolete options to make the list less imposing.
   1400   # This message is too long to be a string in the A/UX 3.1 sh.
   1401   cat <<_ACEOF
   1402 \`configure' configures libxshmfence 1.3.2 to adapt to many kinds of systems.
   1403 
   1404 Usage: $0 [OPTION]... [VAR=VALUE]...
   1405 
   1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1407 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1408 
   1409 Defaults for the options are specified in brackets.
   1410 
   1411 Configuration:
   1412   -h, --help              display this help and exit
   1413       --help=short        display options specific to this package
   1414       --help=recursive    display the short help of all the included packages
   1415   -V, --version           display version information and exit
   1416   -q, --quiet, --silent   do not print \`checking ...' messages
   1417       --cache-file=FILE   cache test results in FILE [disabled]
   1418   -C, --config-cache      alias for \`--cache-file=config.cache'
   1419   -n, --no-create         do not create output files
   1420       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1421 
   1422 Installation directories:
   1423   --prefix=PREFIX         install architecture-independent files in PREFIX
   1424                           [$ac_default_prefix]
   1425   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1426                           [PREFIX]
   1427 
   1428 By default, \`make install' will install all the files in
   1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1431 for instance \`--prefix=\$HOME'.
   1432 
   1433 For better control, use the options below.
   1434 
   1435 Fine tuning of the installation directories:
   1436   --bindir=DIR            user executables [EPREFIX/bin]
   1437   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1438   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1439   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1440   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1441   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1442   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1443   --libdir=DIR            object code libraries [EPREFIX/lib]
   1444   --includedir=DIR        C header files [PREFIX/include]
   1445   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1446   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1447   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1448   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1449   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1450   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1451   --docdir=DIR            documentation root [DATAROOTDIR/doc/libxshmfence]
   1452   --htmldir=DIR           html documentation [DOCDIR]
   1453   --dvidir=DIR            dvi documentation [DOCDIR]
   1454   --pdfdir=DIR            pdf documentation [DOCDIR]
   1455   --psdir=DIR             ps documentation [DOCDIR]
   1456 _ACEOF
   1457 
   1458   cat <<\_ACEOF
   1459 
   1460 Program names:
   1461   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1462   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1463   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1464 
   1465 System types:
   1466   --build=BUILD     configure for building on BUILD [guessed]
   1467   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1468 _ACEOF
   1469 fi
   1470 
   1471 if test -n "$ac_init_help"; then
   1472   case $ac_init_help in
   1473      short | recursive ) echo "Configuration of libxshmfence 1.3.2:";;
   1474    esac
   1475   cat <<\_ACEOF
   1476 
   1477 Optional Features:
   1478   --disable-option-checking  ignore unrecognized --enable/--with options
   1479   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1480   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1481   --enable-dependency-tracking
   1482                           do not reject slow dependency extractors
   1483   --disable-dependency-tracking
   1484                           speeds up one-time build
   1485   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1486   --disable-silent-rules  verbose build output (undo: "make V=0")
   1487   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1488   --enable-static[=PKGS]  build static libraries [default=yes]
   1489   --enable-fast-install[=PKGS]
   1490                           optimize for fast installation [default=yes]
   1491   --disable-libtool-lock  avoid locking (might break parallel builds)
   1492   --disable-selective-werror
   1493                           Turn off selective compiler errors. (default:
   1494                           enabled)
   1495   --enable-strict-compilation
   1496                           Enable all warnings from compiler and make them
   1497                           errors (default: disabled)
   1498   --disable-largefile     omit support for large files
   1499   --enable-futex          Enable futexes (default: auto)
   1500   --enable-visibility     Enable symbol visibility (default: auto)
   1501 
   1502 Optional Packages:
   1503   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1504   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1505   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1506                           both]
   1507   --with-aix-soname=aix|svr4|both
   1508                           shared library versioning (aka "SONAME") variant to
   1509                           provide on AIX, [default=aix].
   1510   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1511   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1512                           compiler's sysroot if not specified).
   1513   --with-lint             Use a lint-style source code checker (default:
   1514                           disabled)
   1515   --with-shared-memory-dir=PATH
   1516                           Path to directory in a world-writable temporary
   1517                           directory for anonymous shared memory (default:
   1518                           auto)
   1519 
   1520 Some influential environment variables:
   1521   CC          C compiler command
   1522   CFLAGS      C compiler flags
   1523   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1524               nonstandard directory <lib dir>
   1525   LIBS        libraries to pass to the linker, e.g. -l<library>
   1526   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1527               you have headers in a nonstandard directory <include dir>
   1528   LT_SYS_LIBRARY_PATH
   1529               User-defined run-time library search path.
   1530   PKG_CONFIG  path to pkg-config utility
   1531   PKG_CONFIG_PATH
   1532               directories to add to pkg-config's search path
   1533   PKG_CONFIG_LIBDIR
   1534               path overriding pkg-config's built-in search path
   1535   LINT        Path to a lint-style command
   1536   LINT_FLAGS  Flags for the lint-style command
   1537   XPROTO_CFLAGS
   1538               C compiler flags for XPROTO, overriding pkg-config
   1539   XPROTO_LIBS linker flags for XPROTO, overriding pkg-config
   1540 
   1541 Use these variables to override the choices made by `configure' or to help
   1542 it to find libraries and programs with nonstandard names/locations.
   1543 
   1544 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxshmfence/-/issues>.
   1545 _ACEOF
   1546 ac_status=$?
   1547 fi
   1548 
   1549 if test "$ac_init_help" = "recursive"; then
   1550   # If there are subdirs, report their specific --help.
   1551   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1552     test -d "$ac_dir" ||
   1553       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1554       continue
   1555     ac_builddir=.
   1556 
   1557 case "$ac_dir" in
   1558 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1559 *)
   1560   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1561   # A ".." for each directory in $ac_dir_suffix.
   1562   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1563   case $ac_top_builddir_sub in
   1564   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1565   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1566   esac ;;
   1567 esac
   1568 ac_abs_top_builddir=$ac_pwd
   1569 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1570 # for backward compatibility:
   1571 ac_top_builddir=$ac_top_build_prefix
   1572 
   1573 case $srcdir in
   1574   .)  # We are building in place.
   1575     ac_srcdir=.
   1576     ac_top_srcdir=$ac_top_builddir_sub
   1577     ac_abs_top_srcdir=$ac_pwd ;;
   1578   [\\/]* | ?:[\\/]* )  # Absolute name.
   1579     ac_srcdir=$srcdir$ac_dir_suffix;
   1580     ac_top_srcdir=$srcdir
   1581     ac_abs_top_srcdir=$srcdir ;;
   1582   *) # Relative name.
   1583     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1584     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1585     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1586 esac
   1587 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1588 
   1589     cd "$ac_dir" || { ac_status=$?; continue; }
   1590     # Check for configure.gnu first; this name is used for a wrapper for
   1591     # Metaconfig's "Configure" on case-insensitive file systems.
   1592     if test -f "$ac_srcdir/configure.gnu"; then
   1593       echo &&
   1594       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1595     elif test -f "$ac_srcdir/configure"; then
   1596       echo &&
   1597       $SHELL "$ac_srcdir/configure" --help=recursive
   1598     else
   1599       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1600     fi || ac_status=$?
   1601     cd "$ac_pwd" || { ac_status=$?; break; }
   1602   done
   1603 fi
   1604 
   1605 test -n "$ac_init_help" && exit $ac_status
   1606 if $ac_init_version; then
   1607   cat <<\_ACEOF
   1608 libxshmfence configure 1.3.2
   1609 generated by GNU Autoconf 2.71
   1610 
   1611 Copyright (C) 2021 Free Software Foundation, Inc.
   1612 This configure script is free software; the Free Software Foundation
   1613 gives unlimited permission to copy, distribute and modify it.
   1614 _ACEOF
   1615   exit
   1616 fi
   1617 
   1618 ## ------------------------ ##
   1619 ## Autoconf initialization. ##
   1620 ## ------------------------ ##
   1621 
   1622 # ac_fn_c_try_compile LINENO
   1623 # --------------------------
   1624 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1625 ac_fn_c_try_compile ()
   1626 {
   1627   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1628   rm -f conftest.$ac_objext conftest.beam
   1629   if { { ac_try="$ac_compile"
   1630 case "(($ac_try" in
   1631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1632   *) ac_try_echo=$ac_try;;
   1633 esac
   1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1635 printf "%s\n" "$ac_try_echo"; } >&5
   1636   (eval "$ac_compile") 2>conftest.err
   1637   ac_status=$?
   1638   if test -s conftest.err; then
   1639     grep -v '^ *+' conftest.err >conftest.er1
   1640     cat conftest.er1 >&5
   1641     mv -f conftest.er1 conftest.err
   1642   fi
   1643   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1644   test $ac_status = 0; } && {
   1645 	 test -z "$ac_c_werror_flag" ||
   1646 	 test ! -s conftest.err
   1647        } && test -s conftest.$ac_objext
   1648 then :
   1649   ac_retval=0
   1650 else $as_nop
   1651   printf "%s\n" "$as_me: failed program was:" >&5
   1652 sed 's/^/| /' conftest.$ac_ext >&5
   1653 
   1654 	ac_retval=1
   1655 fi
   1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1657   as_fn_set_status $ac_retval
   1658 
   1659 } # ac_fn_c_try_compile
   1660 
   1661 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1662 # -------------------------------------------------------
   1663 # Tests whether HEADER exists and can be compiled using the include files in
   1664 # INCLUDES, setting the cache variable VAR accordingly.
   1665 ac_fn_c_check_header_compile ()
   1666 {
   1667   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1669 printf %s "checking for $2... " >&6; }
   1670 if eval test \${$3+y}
   1671 then :
   1672   printf %s "(cached) " >&6
   1673 else $as_nop
   1674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1675 /* end confdefs.h.  */
   1676 $4
   1677 #include <$2>
   1678 _ACEOF
   1679 if ac_fn_c_try_compile "$LINENO"
   1680 then :
   1681   eval "$3=yes"
   1682 else $as_nop
   1683   eval "$3=no"
   1684 fi
   1685 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1686 fi
   1687 eval ac_res=\$$3
   1688 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1689 printf "%s\n" "$ac_res" >&6; }
   1690   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1691 
   1692 } # ac_fn_c_check_header_compile
   1693 
   1694 # ac_fn_c_try_link LINENO
   1695 # -----------------------
   1696 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1697 ac_fn_c_try_link ()
   1698 {
   1699   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1700   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1701   if { { ac_try="$ac_link"
   1702 case "(($ac_try" in
   1703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1704   *) ac_try_echo=$ac_try;;
   1705 esac
   1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1707 printf "%s\n" "$ac_try_echo"; } >&5
   1708   (eval "$ac_link") 2>conftest.err
   1709   ac_status=$?
   1710   if test -s conftest.err; then
   1711     grep -v '^ *+' conftest.err >conftest.er1
   1712     cat conftest.er1 >&5
   1713     mv -f conftest.er1 conftest.err
   1714   fi
   1715   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1716   test $ac_status = 0; } && {
   1717 	 test -z "$ac_c_werror_flag" ||
   1718 	 test ! -s conftest.err
   1719        } && test -s conftest$ac_exeext && {
   1720 	 test "$cross_compiling" = yes ||
   1721 	 test -x conftest$ac_exeext
   1722        }
   1723 then :
   1724   ac_retval=0
   1725 else $as_nop
   1726   printf "%s\n" "$as_me: failed program was:" >&5
   1727 sed 's/^/| /' conftest.$ac_ext >&5
   1728 
   1729 	ac_retval=1
   1730 fi
   1731   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1732   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1733   # interfere with the next link command; also delete a directory that is
   1734   # left behind by Apple's compiler.  We do this before executing the actions.
   1735   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1736   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1737   as_fn_set_status $ac_retval
   1738 
   1739 } # ac_fn_c_try_link
   1740 
   1741 # ac_fn_c_check_func LINENO FUNC VAR
   1742 # ----------------------------------
   1743 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1744 ac_fn_c_check_func ()
   1745 {
   1746   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1748 printf %s "checking for $2... " >&6; }
   1749 if eval test \${$3+y}
   1750 then :
   1751   printf %s "(cached) " >&6
   1752 else $as_nop
   1753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1754 /* end confdefs.h.  */
   1755 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1757 #define $2 innocuous_$2
   1758 
   1759 /* System header to define __stub macros and hopefully few prototypes,
   1760    which can conflict with char $2 (void); below.  */
   1761 
   1762 #include <limits.h>
   1763 #undef $2
   1764 
   1765 /* Override any GCC internal prototype to avoid an error.
   1766    Use char because int might match the return type of a GCC
   1767    builtin and then its argument prototype would still apply.  */
   1768 #ifdef __cplusplus
   1769 extern "C"
   1770 #endif
   1771 char $2 (void);
   1772 /* The GNU C library defines this for functions which it implements
   1773     to always fail with ENOSYS.  Some functions are actually named
   1774     something starting with __ and the normal name is an alias.  */
   1775 #if defined __stub_$2 || defined __stub___$2
   1776 choke me
   1777 #endif
   1778 
   1779 int
   1780 main (void)
   1781 {
   1782 return $2 ();
   1783   ;
   1784   return 0;
   1785 }
   1786 _ACEOF
   1787 if ac_fn_c_try_link "$LINENO"
   1788 then :
   1789   eval "$3=yes"
   1790 else $as_nop
   1791   eval "$3=no"
   1792 fi
   1793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1794     conftest$ac_exeext conftest.$ac_ext
   1795 fi
   1796 eval ac_res=\$$3
   1797 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1798 printf "%s\n" "$ac_res" >&6; }
   1799   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1800 
   1801 } # ac_fn_c_check_func
   1802 
   1803 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1804 # ------------------------------------------------------------------
   1805 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1806 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1807 ac_fn_check_decl ()
   1808 {
   1809   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1810   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1811   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1812 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1813 if eval test \${$3+y}
   1814 then :
   1815   printf %s "(cached) " >&6
   1816 else $as_nop
   1817   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1818   eval ac_save_FLAGS=\$$6
   1819   as_fn_append $6 " $5"
   1820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1821 /* end confdefs.h.  */
   1822 $4
   1823 int
   1824 main (void)
   1825 {
   1826 #ifndef $as_decl_name
   1827 #ifdef __cplusplus
   1828   (void) $as_decl_use;
   1829 #else
   1830   (void) $as_decl_name;
   1831 #endif
   1832 #endif
   1833 
   1834   ;
   1835   return 0;
   1836 }
   1837 _ACEOF
   1838 if ac_fn_c_try_compile "$LINENO"
   1839 then :
   1840   eval "$3=yes"
   1841 else $as_nop
   1842   eval "$3=no"
   1843 fi
   1844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1845   eval $6=\$ac_save_FLAGS
   1846 
   1847 fi
   1848 eval ac_res=\$$3
   1849 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1850 printf "%s\n" "$ac_res" >&6; }
   1851   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1852 
   1853 } # ac_fn_check_decl
   1854 ac_configure_args_raw=
   1855 for ac_arg
   1856 do
   1857   case $ac_arg in
   1858   *\'*)
   1859     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1860   esac
   1861   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1862 done
   1863 
   1864 case $ac_configure_args_raw in
   1865   *$as_nl*)
   1866     ac_safe_unquote= ;;
   1867   *)
   1868     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1869     ac_unsafe_a="$ac_unsafe_z#~"
   1870     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1871     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1872 esac
   1873 
   1874 cat >config.log <<_ACEOF
   1875 This file contains any messages produced by compilers while
   1876 running configure, to aid debugging if configure makes a mistake.
   1877 
   1878 It was created by libxshmfence $as_me 1.3.2, which was
   1879 generated by GNU Autoconf 2.71.  Invocation command line was
   1880 
   1881   $ $0$ac_configure_args_raw
   1882 
   1883 _ACEOF
   1884 exec 5>>config.log
   1885 {
   1886 cat <<_ASUNAME
   1887 ## --------- ##
   1888 ## Platform. ##
   1889 ## --------- ##
   1890 
   1891 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1892 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1893 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1894 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1895 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1896 
   1897 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1898 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1899 
   1900 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1901 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1902 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1903 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1904 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1905 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1906 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1907 
   1908 _ASUNAME
   1909 
   1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1911 for as_dir in $PATH
   1912 do
   1913   IFS=$as_save_IFS
   1914   case $as_dir in #(((
   1915     '') as_dir=./ ;;
   1916     */) ;;
   1917     *) as_dir=$as_dir/ ;;
   1918   esac
   1919     printf "%s\n" "PATH: $as_dir"
   1920   done
   1921 IFS=$as_save_IFS
   1922 
   1923 } >&5
   1924 
   1925 cat >&5 <<_ACEOF
   1926 
   1927 
   1928 ## ----------- ##
   1929 ## Core tests. ##
   1930 ## ----------- ##
   1931 
   1932 _ACEOF
   1933 
   1934 
   1935 # Keep a trace of the command line.
   1936 # Strip out --no-create and --no-recursion so they do not pile up.
   1937 # Strip out --silent because we don't want to record it for future runs.
   1938 # Also quote any args containing shell meta-characters.
   1939 # Make two passes to allow for proper duplicate-argument suppression.
   1940 ac_configure_args=
   1941 ac_configure_args0=
   1942 ac_configure_args1=
   1943 ac_must_keep_next=false
   1944 for ac_pass in 1 2
   1945 do
   1946   for ac_arg
   1947   do
   1948     case $ac_arg in
   1949     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1950     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1951     | -silent | --silent | --silen | --sile | --sil)
   1952       continue ;;
   1953     *\'*)
   1954       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1955     esac
   1956     case $ac_pass in
   1957     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1958     2)
   1959       as_fn_append ac_configure_args1 " '$ac_arg'"
   1960       if test $ac_must_keep_next = true; then
   1961 	ac_must_keep_next=false # Got value, back to normal.
   1962       else
   1963 	case $ac_arg in
   1964 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1965 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1966 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1967 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1968 	    case "$ac_configure_args0 " in
   1969 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1970 	    esac
   1971 	    ;;
   1972 	  -* ) ac_must_keep_next=true ;;
   1973 	esac
   1974       fi
   1975       as_fn_append ac_configure_args " '$ac_arg'"
   1976       ;;
   1977     esac
   1978   done
   1979 done
   1980 { ac_configure_args0=; unset ac_configure_args0;}
   1981 { ac_configure_args1=; unset ac_configure_args1;}
   1982 
   1983 # When interrupted or exit'd, cleanup temporary files, and complete
   1984 # config.log.  We remove comments because anyway the quotes in there
   1985 # would cause problems or look ugly.
   1986 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1987 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1988 trap 'exit_status=$?
   1989   # Sanitize IFS.
   1990   IFS=" ""	$as_nl"
   1991   # Save into config.log some information that might help in debugging.
   1992   {
   1993     echo
   1994 
   1995     printf "%s\n" "## ---------------- ##
   1996 ## Cache variables. ##
   1997 ## ---------------- ##"
   1998     echo
   1999     # The following way of writing the cache mishandles newlines in values,
   2000 (
   2001   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2002     eval ac_val=\$$ac_var
   2003     case $ac_val in #(
   2004     *${as_nl}*)
   2005       case $ac_var in #(
   2006       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2007 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2008       esac
   2009       case $ac_var in #(
   2010       _ | IFS | as_nl) ;; #(
   2011       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2012       *) { eval $ac_var=; unset $ac_var;} ;;
   2013       esac ;;
   2014     esac
   2015   done
   2016   (set) 2>&1 |
   2017     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2018     *${as_nl}ac_space=\ *)
   2019       sed -n \
   2020 	"s/'\''/'\''\\\\'\'''\''/g;
   2021 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2022       ;; #(
   2023     *)
   2024       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2025       ;;
   2026     esac |
   2027     sort
   2028 )
   2029     echo
   2030 
   2031     printf "%s\n" "## ----------------- ##
   2032 ## Output variables. ##
   2033 ## ----------------- ##"
   2034     echo
   2035     for ac_var in $ac_subst_vars
   2036     do
   2037       eval ac_val=\$$ac_var
   2038       case $ac_val in
   2039       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2040       esac
   2041       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2042     done | sort
   2043     echo
   2044 
   2045     if test -n "$ac_subst_files"; then
   2046       printf "%s\n" "## ------------------- ##
   2047 ## File substitutions. ##
   2048 ## ------------------- ##"
   2049       echo
   2050       for ac_var in $ac_subst_files
   2051       do
   2052 	eval ac_val=\$$ac_var
   2053 	case $ac_val in
   2054 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2055 	esac
   2056 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2057       done | sort
   2058       echo
   2059     fi
   2060 
   2061     if test -s confdefs.h; then
   2062       printf "%s\n" "## ----------- ##
   2063 ## confdefs.h. ##
   2064 ## ----------- ##"
   2065       echo
   2066       cat confdefs.h
   2067       echo
   2068     fi
   2069     test "$ac_signal" != 0 &&
   2070       printf "%s\n" "$as_me: caught signal $ac_signal"
   2071     printf "%s\n" "$as_me: exit $exit_status"
   2072   } >&5
   2073   rm -f core *.core core.conftest.* &&
   2074     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2075     exit $exit_status
   2076 ' 0
   2077 for ac_signal in 1 2 13 15; do
   2078   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2079 done
   2080 ac_signal=0
   2081 
   2082 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2083 rm -f -r conftest* confdefs.h
   2084 
   2085 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2086 
   2087 # Predefined preprocessor variables.
   2088 
   2089 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2090 
   2091 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2092 
   2093 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2094 
   2095 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2096 
   2097 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2098 
   2099 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2100 
   2101 
   2102 # Let the site file select an alternate cache file if it wants to.
   2103 # Prefer an explicitly selected file to automatically selected ones.
   2104 if test -n "$CONFIG_SITE"; then
   2105   ac_site_files="$CONFIG_SITE"
   2106 elif test "x$prefix" != xNONE; then
   2107   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2108 else
   2109   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2110 fi
   2111 
   2112 for ac_site_file in $ac_site_files
   2113 do
   2114   case $ac_site_file in #(
   2115   */*) :
   2116      ;; #(
   2117   *) :
   2118     ac_site_file=./$ac_site_file ;;
   2119 esac
   2120   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2121     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2122 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2123     sed 's/^/| /' "$ac_site_file" >&5
   2124     . "$ac_site_file" \
   2125       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2126 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2127 as_fn_error $? "failed to load site script $ac_site_file
   2128 See \`config.log' for more details" "$LINENO" 5; }
   2129   fi
   2130 done
   2131 
   2132 if test -r "$cache_file"; then
   2133   # Some versions of bash will fail to source /dev/null (special files
   2134   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2135   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2136     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2137 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2138     case $cache_file in
   2139       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2140       *)                      . "./$cache_file";;
   2141     esac
   2142   fi
   2143 else
   2144   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2145 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2146   >$cache_file
   2147 fi
   2148 
   2149 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2150 # Test code for whether the C compiler supports C89 (global declarations)
   2151 ac_c_conftest_c89_globals='
   2152 /* Does the compiler advertise C89 conformance?
   2153    Do not test the value of __STDC__, because some compilers set it to 0
   2154    while being otherwise adequately conformant. */
   2155 #if !defined __STDC__
   2156 # error "Compiler does not advertise C89 conformance"
   2157 #endif
   2158 
   2159 #include <stddef.h>
   2160 #include <stdarg.h>
   2161 struct stat;
   2162 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2163 struct buf { int x; };
   2164 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2165 static char *e (char **p, int i)
   2166 {
   2167   return p[i];
   2168 }
   2169 static char *f (char * (*g) (char **, int), char **p, ...)
   2170 {
   2171   char *s;
   2172   va_list v;
   2173   va_start (v,p);
   2174   s = g (p, va_arg (v,int));
   2175   va_end (v);
   2176   return s;
   2177 }
   2178 
   2179 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2180    function prototypes and stuff, but not \xHH hex character constants.
   2181    These do not provoke an error unfortunately, instead are silently treated
   2182    as an "x".  The following induces an error, until -std is added to get
   2183    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2184    array size at least.  It is necessary to write \x00 == 0 to get something
   2185    that is true only with -std.  */
   2186 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2187 
   2188 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2189    inside strings and character constants.  */
   2190 #define FOO(x) '\''x'\''
   2191 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2192 
   2193 int test (int i, double x);
   2194 struct s1 {int (*f) (int a);};
   2195 struct s2 {int (*f) (double a);};
   2196 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2197                int, int);'
   2198 
   2199 # Test code for whether the C compiler supports C89 (body of main).
   2200 ac_c_conftest_c89_main='
   2201 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2202 '
   2203 
   2204 # Test code for whether the C compiler supports C99 (global declarations)
   2205 ac_c_conftest_c99_globals='
   2206 // Does the compiler advertise C99 conformance?
   2207 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2208 # error "Compiler does not advertise C99 conformance"
   2209 #endif
   2210 
   2211 #include <stdbool.h>
   2212 extern int puts (const char *);
   2213 extern int printf (const char *, ...);
   2214 extern int dprintf (int, const char *, ...);
   2215 extern void *malloc (size_t);
   2216 extern void free (void *);
   2217 
   2218 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2219 // dprintf is used instead of fprintf to avoid needing to declare
   2220 // FILE and stderr.
   2221 #define debug(...) dprintf (2, __VA_ARGS__)
   2222 #define showlist(...) puts (#__VA_ARGS__)
   2223 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2224 static void
   2225 test_varargs_macros (void)
   2226 {
   2227   int x = 1234;
   2228   int y = 5678;
   2229   debug ("Flag");
   2230   debug ("X = %d\n", x);
   2231   showlist (The first, second, and third items.);
   2232   report (x>y, "x is %d but y is %d", x, y);
   2233 }
   2234 
   2235 // Check long long types.
   2236 #define BIG64 18446744073709551615ull
   2237 #define BIG32 4294967295ul
   2238 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2239 #if !BIG_OK
   2240   #error "your preprocessor is broken"
   2241 #endif
   2242 #if BIG_OK
   2243 #else
   2244   #error "your preprocessor is broken"
   2245 #endif
   2246 static long long int bignum = -9223372036854775807LL;
   2247 static unsigned long long int ubignum = BIG64;
   2248 
   2249 struct incomplete_array
   2250 {
   2251   int datasize;
   2252   double data[];
   2253 };
   2254 
   2255 struct named_init {
   2256   int number;
   2257   const wchar_t *name;
   2258   double average;
   2259 };
   2260 
   2261 typedef const char *ccp;
   2262 
   2263 static inline int
   2264 test_restrict (ccp restrict text)
   2265 {
   2266   // See if C++-style comments work.
   2267   // Iterate through items via the restricted pointer.
   2268   // Also check for declarations in for loops.
   2269   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2270     continue;
   2271   return 0;
   2272 }
   2273 
   2274 // Check varargs and va_copy.
   2275 static bool
   2276 test_varargs (const char *format, ...)
   2277 {
   2278   va_list args;
   2279   va_start (args, format);
   2280   va_list args_copy;
   2281   va_copy (args_copy, args);
   2282 
   2283   const char *str = "";
   2284   int number = 0;
   2285   float fnumber = 0;
   2286 
   2287   while (*format)
   2288     {
   2289       switch (*format++)
   2290 	{
   2291 	case '\''s'\'': // string
   2292 	  str = va_arg (args_copy, const char *);
   2293 	  break;
   2294 	case '\''d'\'': // int
   2295 	  number = va_arg (args_copy, int);
   2296 	  break;
   2297 	case '\''f'\'': // float
   2298 	  fnumber = va_arg (args_copy, double);
   2299 	  break;
   2300 	default:
   2301 	  break;
   2302 	}
   2303     }
   2304   va_end (args_copy);
   2305   va_end (args);
   2306 
   2307   return *str && number && fnumber;
   2308 }
   2309 '
   2310 
   2311 # Test code for whether the C compiler supports C99 (body of main).
   2312 ac_c_conftest_c99_main='
   2313   // Check bool.
   2314   _Bool success = false;
   2315   success |= (argc != 0);
   2316 
   2317   // Check restrict.
   2318   if (test_restrict ("String literal") == 0)
   2319     success = true;
   2320   char *restrict newvar = "Another string";
   2321 
   2322   // Check varargs.
   2323   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2324   test_varargs_macros ();
   2325 
   2326   // Check flexible array members.
   2327   struct incomplete_array *ia =
   2328     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2329   ia->datasize = 10;
   2330   for (int i = 0; i < ia->datasize; ++i)
   2331     ia->data[i] = i * 1.234;
   2332 
   2333   // Check named initializers.
   2334   struct named_init ni = {
   2335     .number = 34,
   2336     .name = L"Test wide string",
   2337     .average = 543.34343,
   2338   };
   2339 
   2340   ni.number = 58;
   2341 
   2342   int dynamic_array[ni.number];
   2343   dynamic_array[0] = argv[0][0];
   2344   dynamic_array[ni.number - 1] = 543;
   2345 
   2346   // work around unused variable warnings
   2347   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2348 	 || dynamic_array[ni.number - 1] != 543);
   2349 '
   2350 
   2351 # Test code for whether the C compiler supports C11 (global declarations)
   2352 ac_c_conftest_c11_globals='
   2353 // Does the compiler advertise C11 conformance?
   2354 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2355 # error "Compiler does not advertise C11 conformance"
   2356 #endif
   2357 
   2358 // Check _Alignas.
   2359 char _Alignas (double) aligned_as_double;
   2360 char _Alignas (0) no_special_alignment;
   2361 extern char aligned_as_int;
   2362 char _Alignas (0) _Alignas (int) aligned_as_int;
   2363 
   2364 // Check _Alignof.
   2365 enum
   2366 {
   2367   int_alignment = _Alignof (int),
   2368   int_array_alignment = _Alignof (int[100]),
   2369   char_alignment = _Alignof (char)
   2370 };
   2371 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2372 
   2373 // Check _Noreturn.
   2374 int _Noreturn does_not_return (void) { for (;;) continue; }
   2375 
   2376 // Check _Static_assert.
   2377 struct test_static_assert
   2378 {
   2379   int x;
   2380   _Static_assert (sizeof (int) <= sizeof (long int),
   2381                   "_Static_assert does not work in struct");
   2382   long int y;
   2383 };
   2384 
   2385 // Check UTF-8 literals.
   2386 #define u8 syntax error!
   2387 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2388 
   2389 // Check duplicate typedefs.
   2390 typedef long *long_ptr;
   2391 typedef long int *long_ptr;
   2392 typedef long_ptr long_ptr;
   2393 
   2394 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2395 struct anonymous
   2396 {
   2397   union {
   2398     struct { int i; int j; };
   2399     struct { int k; long int l; } w;
   2400   };
   2401   int m;
   2402 } v1;
   2403 '
   2404 
   2405 # Test code for whether the C compiler supports C11 (body of main).
   2406 ac_c_conftest_c11_main='
   2407   _Static_assert ((offsetof (struct anonymous, i)
   2408 		   == offsetof (struct anonymous, w.k)),
   2409 		  "Anonymous union alignment botch");
   2410   v1.i = 2;
   2411   v1.w.k = 5;
   2412   ok |= v1.i != 5;
   2413 '
   2414 
   2415 # Test code for whether the C compiler supports C11 (complete).
   2416 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2417 ${ac_c_conftest_c99_globals}
   2418 ${ac_c_conftest_c11_globals}
   2419 
   2420 int
   2421 main (int argc, char **argv)
   2422 {
   2423   int ok = 0;
   2424   ${ac_c_conftest_c89_main}
   2425   ${ac_c_conftest_c99_main}
   2426   ${ac_c_conftest_c11_main}
   2427   return ok;
   2428 }
   2429 "
   2430 
   2431 # Test code for whether the C compiler supports C99 (complete).
   2432 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2433 ${ac_c_conftest_c99_globals}
   2434 
   2435 int
   2436 main (int argc, char **argv)
   2437 {
   2438   int ok = 0;
   2439   ${ac_c_conftest_c89_main}
   2440   ${ac_c_conftest_c99_main}
   2441   return ok;
   2442 }
   2443 "
   2444 
   2445 # Test code for whether the C compiler supports C89 (complete).
   2446 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2447 
   2448 int
   2449 main (int argc, char **argv)
   2450 {
   2451   int ok = 0;
   2452   ${ac_c_conftest_c89_main}
   2453   return ok;
   2454 }
   2455 "
   2456 
   2457 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2458 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2459 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2460 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2461 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2462 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2463 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2464 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2465 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2466 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2467 
   2468 # Auxiliary files required by this configure script.
   2469 ac_aux_files="config.guess config.sub ltmain.sh missing install-sh compile"
   2470 
   2471 # Locations in which to look for auxiliary files.
   2472 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2473 
   2474 # Search for a directory containing all of the required auxiliary files,
   2475 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2476 # If we don't find one directory that contains all the files we need,
   2477 # we report the set of missing files from the *first* directory in
   2478 # $ac_aux_dir_candidates and give up.
   2479 ac_missing_aux_files=""
   2480 ac_first_candidate=:
   2481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2483 as_found=false
   2484 for as_dir in $ac_aux_dir_candidates
   2485 do
   2486   IFS=$as_save_IFS
   2487   case $as_dir in #(((
   2488     '') as_dir=./ ;;
   2489     */) ;;
   2490     *) as_dir=$as_dir/ ;;
   2491   esac
   2492   as_found=:
   2493 
   2494   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2495   ac_aux_dir_found=yes
   2496   ac_install_sh=
   2497   for ac_aux in $ac_aux_files
   2498   do
   2499     # As a special case, if "install-sh" is required, that requirement
   2500     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2501     # and $ac_install_sh is set appropriately for whichever one is found.
   2502     if test x"$ac_aux" = x"install-sh"
   2503     then
   2504       if test -f "${as_dir}install-sh"; then
   2505         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2506         ac_install_sh="${as_dir}install-sh -c"
   2507       elif test -f "${as_dir}install.sh"; then
   2508         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2509         ac_install_sh="${as_dir}install.sh -c"
   2510       elif test -f "${as_dir}shtool"; then
   2511         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2512         ac_install_sh="${as_dir}shtool install -c"
   2513       else
   2514         ac_aux_dir_found=no
   2515         if $ac_first_candidate; then
   2516           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2517         else
   2518           break
   2519         fi
   2520       fi
   2521     else
   2522       if test -f "${as_dir}${ac_aux}"; then
   2523         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2524       else
   2525         ac_aux_dir_found=no
   2526         if $ac_first_candidate; then
   2527           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2528         else
   2529           break
   2530         fi
   2531       fi
   2532     fi
   2533   done
   2534   if test "$ac_aux_dir_found" = yes; then
   2535     ac_aux_dir="$as_dir"
   2536     break
   2537   fi
   2538   ac_first_candidate=false
   2539 
   2540   as_found=false
   2541 done
   2542 IFS=$as_save_IFS
   2543 if $as_found
   2544 then :
   2545 
   2546 else $as_nop
   2547   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2548 fi
   2549 
   2550 
   2551 # These three variables are undocumented and unsupported,
   2552 # and are intended to be withdrawn in a future Autoconf release.
   2553 # They can cause serious problems if a builder's source tree is in a directory
   2554 # whose full name contains unusual characters.
   2555 if test -f "${ac_aux_dir}config.guess"; then
   2556   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2557 fi
   2558 if test -f "${ac_aux_dir}config.sub"; then
   2559   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2560 fi
   2561 if test -f "$ac_aux_dir/configure"; then
   2562   ac_configure="$SHELL ${ac_aux_dir}configure"
   2563 fi
   2564 
   2565 # Check that the precious variables saved in the cache have kept the same
   2566 # value.
   2567 ac_cache_corrupted=false
   2568 for ac_var in $ac_precious_vars; do
   2569   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2570   eval ac_new_set=\$ac_env_${ac_var}_set
   2571   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2572   eval ac_new_val=\$ac_env_${ac_var}_value
   2573   case $ac_old_set,$ac_new_set in
   2574     set,)
   2575       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2576 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2577       ac_cache_corrupted=: ;;
   2578     ,set)
   2579       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2580 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2581       ac_cache_corrupted=: ;;
   2582     ,);;
   2583     *)
   2584       if test "x$ac_old_val" != "x$ac_new_val"; then
   2585 	# differences in whitespace do not lead to failure.
   2586 	ac_old_val_w=`echo x $ac_old_val`
   2587 	ac_new_val_w=`echo x $ac_new_val`
   2588 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2589 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2590 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2591 	  ac_cache_corrupted=:
   2592 	else
   2593 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2594 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2595 	  eval $ac_var=\$ac_old_val
   2596 	fi
   2597 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2598 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2600 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2601       fi;;
   2602   esac
   2603   # Pass precious variables to config.status.
   2604   if test "$ac_new_set" = set; then
   2605     case $ac_new_val in
   2606     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2607     *) ac_arg=$ac_var=$ac_new_val ;;
   2608     esac
   2609     case " $ac_configure_args " in
   2610       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2611       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2612     esac
   2613   fi
   2614 done
   2615 if $ac_cache_corrupted; then
   2616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2617 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2619 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2620   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2621 	    and start over" "$LINENO" 5
   2622 fi
   2623 ## -------------------- ##
   2624 ## Main body of script. ##
   2625 ## -------------------- ##
   2626 
   2627 ac_ext=c
   2628 ac_cpp='$CPP $CPPFLAGS'
   2629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2632 
   2633 
   2634 
   2635 ac_config_headers="$ac_config_headers config.h"
   2636 
   2637 
   2638 
   2639 
   2640 
   2641 
   2642 
   2643 
   2644 
   2645 
   2646 
   2647 
   2648 
   2649 # Expand $ac_aux_dir to an absolute path.
   2650 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2651 
   2652 ac_ext=c
   2653 ac_cpp='$CPP $CPPFLAGS'
   2654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2657 if test -n "$ac_tool_prefix"; then
   2658   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2659 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2661 printf %s "checking for $ac_word... " >&6; }
   2662 if test ${ac_cv_prog_CC+y}
   2663 then :
   2664   printf %s "(cached) " >&6
   2665 else $as_nop
   2666   if test -n "$CC"; then
   2667   ac_cv_prog_CC="$CC" # Let the user override the test.
   2668 else
   2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2670 for as_dir in $PATH
   2671 do
   2672   IFS=$as_save_IFS
   2673   case $as_dir in #(((
   2674     '') as_dir=./ ;;
   2675     */) ;;
   2676     *) as_dir=$as_dir/ ;;
   2677   esac
   2678     for ac_exec_ext in '' $ac_executable_extensions; do
   2679   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2680     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2681     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2682     break 2
   2683   fi
   2684 done
   2685   done
   2686 IFS=$as_save_IFS
   2687 
   2688 fi
   2689 fi
   2690 CC=$ac_cv_prog_CC
   2691 if test -n "$CC"; then
   2692   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2693 printf "%s\n" "$CC" >&6; }
   2694 else
   2695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2696 printf "%s\n" "no" >&6; }
   2697 fi
   2698 
   2699 
   2700 fi
   2701 if test -z "$ac_cv_prog_CC"; then
   2702   ac_ct_CC=$CC
   2703   # Extract the first word of "gcc", so it can be a program name with args.
   2704 set dummy gcc; ac_word=$2
   2705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2706 printf %s "checking for $ac_word... " >&6; }
   2707 if test ${ac_cv_prog_ac_ct_CC+y}
   2708 then :
   2709   printf %s "(cached) " >&6
   2710 else $as_nop
   2711   if test -n "$ac_ct_CC"; then
   2712   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2713 else
   2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2715 for as_dir in $PATH
   2716 do
   2717   IFS=$as_save_IFS
   2718   case $as_dir in #(((
   2719     '') as_dir=./ ;;
   2720     */) ;;
   2721     *) as_dir=$as_dir/ ;;
   2722   esac
   2723     for ac_exec_ext in '' $ac_executable_extensions; do
   2724   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2725     ac_cv_prog_ac_ct_CC="gcc"
   2726     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2727     break 2
   2728   fi
   2729 done
   2730   done
   2731 IFS=$as_save_IFS
   2732 
   2733 fi
   2734 fi
   2735 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2736 if test -n "$ac_ct_CC"; then
   2737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2738 printf "%s\n" "$ac_ct_CC" >&6; }
   2739 else
   2740   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2741 printf "%s\n" "no" >&6; }
   2742 fi
   2743 
   2744   if test "x$ac_ct_CC" = x; then
   2745     CC=""
   2746   else
   2747     case $cross_compiling:$ac_tool_warned in
   2748 yes:)
   2749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2750 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2751 ac_tool_warned=yes ;;
   2752 esac
   2753     CC=$ac_ct_CC
   2754   fi
   2755 else
   2756   CC="$ac_cv_prog_CC"
   2757 fi
   2758 
   2759 if test -z "$CC"; then
   2760           if test -n "$ac_tool_prefix"; then
   2761     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2762 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2764 printf %s "checking for $ac_word... " >&6; }
   2765 if test ${ac_cv_prog_CC+y}
   2766 then :
   2767   printf %s "(cached) " >&6
   2768 else $as_nop
   2769   if test -n "$CC"; then
   2770   ac_cv_prog_CC="$CC" # Let the user override the test.
   2771 else
   2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2773 for as_dir in $PATH
   2774 do
   2775   IFS=$as_save_IFS
   2776   case $as_dir in #(((
   2777     '') as_dir=./ ;;
   2778     */) ;;
   2779     *) as_dir=$as_dir/ ;;
   2780   esac
   2781     for ac_exec_ext in '' $ac_executable_extensions; do
   2782   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2783     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2784     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2785     break 2
   2786   fi
   2787 done
   2788   done
   2789 IFS=$as_save_IFS
   2790 
   2791 fi
   2792 fi
   2793 CC=$ac_cv_prog_CC
   2794 if test -n "$CC"; then
   2795   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2796 printf "%s\n" "$CC" >&6; }
   2797 else
   2798   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2799 printf "%s\n" "no" >&6; }
   2800 fi
   2801 
   2802 
   2803   fi
   2804 fi
   2805 if test -z "$CC"; then
   2806   # Extract the first word of "cc", so it can be a program name with args.
   2807 set dummy cc; ac_word=$2
   2808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2809 printf %s "checking for $ac_word... " >&6; }
   2810 if test ${ac_cv_prog_CC+y}
   2811 then :
   2812   printf %s "(cached) " >&6
   2813 else $as_nop
   2814   if test -n "$CC"; then
   2815   ac_cv_prog_CC="$CC" # Let the user override the test.
   2816 else
   2817   ac_prog_rejected=no
   2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2819 for as_dir in $PATH
   2820 do
   2821   IFS=$as_save_IFS
   2822   case $as_dir in #(((
   2823     '') as_dir=./ ;;
   2824     */) ;;
   2825     *) as_dir=$as_dir/ ;;
   2826   esac
   2827     for ac_exec_ext in '' $ac_executable_extensions; do
   2828   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2829     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2830        ac_prog_rejected=yes
   2831        continue
   2832      fi
   2833     ac_cv_prog_CC="cc"
   2834     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2835     break 2
   2836   fi
   2837 done
   2838   done
   2839 IFS=$as_save_IFS
   2840 
   2841 if test $ac_prog_rejected = yes; then
   2842   # We found a bogon in the path, so make sure we never use it.
   2843   set dummy $ac_cv_prog_CC
   2844   shift
   2845   if test $# != 0; then
   2846     # We chose a different compiler from the bogus one.
   2847     # However, it has the same basename, so the bogon will be chosen
   2848     # first if we set CC to just the basename; use the full file name.
   2849     shift
   2850     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2851   fi
   2852 fi
   2853 fi
   2854 fi
   2855 CC=$ac_cv_prog_CC
   2856 if test -n "$CC"; then
   2857   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2858 printf "%s\n" "$CC" >&6; }
   2859 else
   2860   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2861 printf "%s\n" "no" >&6; }
   2862 fi
   2863 
   2864 
   2865 fi
   2866 if test -z "$CC"; then
   2867   if test -n "$ac_tool_prefix"; then
   2868   for ac_prog in cl.exe
   2869   do
   2870     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2871 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2873 printf %s "checking for $ac_word... " >&6; }
   2874 if test ${ac_cv_prog_CC+y}
   2875 then :
   2876   printf %s "(cached) " >&6
   2877 else $as_nop
   2878   if test -n "$CC"; then
   2879   ac_cv_prog_CC="$CC" # Let the user override the test.
   2880 else
   2881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2882 for as_dir in $PATH
   2883 do
   2884   IFS=$as_save_IFS
   2885   case $as_dir in #(((
   2886     '') as_dir=./ ;;
   2887     */) ;;
   2888     *) as_dir=$as_dir/ ;;
   2889   esac
   2890     for ac_exec_ext in '' $ac_executable_extensions; do
   2891   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2892     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2893     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2894     break 2
   2895   fi
   2896 done
   2897   done
   2898 IFS=$as_save_IFS
   2899 
   2900 fi
   2901 fi
   2902 CC=$ac_cv_prog_CC
   2903 if test -n "$CC"; then
   2904   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2905 printf "%s\n" "$CC" >&6; }
   2906 else
   2907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2908 printf "%s\n" "no" >&6; }
   2909 fi
   2910 
   2911 
   2912     test -n "$CC" && break
   2913   done
   2914 fi
   2915 if test -z "$CC"; then
   2916   ac_ct_CC=$CC
   2917   for ac_prog in cl.exe
   2918 do
   2919   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2920 set dummy $ac_prog; ac_word=$2
   2921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2922 printf %s "checking for $ac_word... " >&6; }
   2923 if test ${ac_cv_prog_ac_ct_CC+y}
   2924 then :
   2925   printf %s "(cached) " >&6
   2926 else $as_nop
   2927   if test -n "$ac_ct_CC"; then
   2928   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2929 else
   2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2931 for as_dir in $PATH
   2932 do
   2933   IFS=$as_save_IFS
   2934   case $as_dir in #(((
   2935     '') as_dir=./ ;;
   2936     */) ;;
   2937     *) as_dir=$as_dir/ ;;
   2938   esac
   2939     for ac_exec_ext in '' $ac_executable_extensions; do
   2940   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2941     ac_cv_prog_ac_ct_CC="$ac_prog"
   2942     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2943     break 2
   2944   fi
   2945 done
   2946   done
   2947 IFS=$as_save_IFS
   2948 
   2949 fi
   2950 fi
   2951 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2952 if test -n "$ac_ct_CC"; then
   2953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2954 printf "%s\n" "$ac_ct_CC" >&6; }
   2955 else
   2956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2957 printf "%s\n" "no" >&6; }
   2958 fi
   2959 
   2960 
   2961   test -n "$ac_ct_CC" && break
   2962 done
   2963 
   2964   if test "x$ac_ct_CC" = x; then
   2965     CC=""
   2966   else
   2967     case $cross_compiling:$ac_tool_warned in
   2968 yes:)
   2969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2970 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2971 ac_tool_warned=yes ;;
   2972 esac
   2973     CC=$ac_ct_CC
   2974   fi
   2975 fi
   2976 
   2977 fi
   2978 if test -z "$CC"; then
   2979   if test -n "$ac_tool_prefix"; then
   2980   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   2981 set dummy ${ac_tool_prefix}clang; ac_word=$2
   2982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2983 printf %s "checking for $ac_word... " >&6; }
   2984 if test ${ac_cv_prog_CC+y}
   2985 then :
   2986   printf %s "(cached) " >&6
   2987 else $as_nop
   2988   if test -n "$CC"; then
   2989   ac_cv_prog_CC="$CC" # Let the user override the test.
   2990 else
   2991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2992 for as_dir in $PATH
   2993 do
   2994   IFS=$as_save_IFS
   2995   case $as_dir in #(((
   2996     '') as_dir=./ ;;
   2997     */) ;;
   2998     *) as_dir=$as_dir/ ;;
   2999   esac
   3000     for ac_exec_ext in '' $ac_executable_extensions; do
   3001   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3002     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3003     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3004     break 2
   3005   fi
   3006 done
   3007   done
   3008 IFS=$as_save_IFS
   3009 
   3010 fi
   3011 fi
   3012 CC=$ac_cv_prog_CC
   3013 if test -n "$CC"; then
   3014   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3015 printf "%s\n" "$CC" >&6; }
   3016 else
   3017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3018 printf "%s\n" "no" >&6; }
   3019 fi
   3020 
   3021 
   3022 fi
   3023 if test -z "$ac_cv_prog_CC"; then
   3024   ac_ct_CC=$CC
   3025   # Extract the first word of "clang", so it can be a program name with args.
   3026 set dummy clang; ac_word=$2
   3027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3028 printf %s "checking for $ac_word... " >&6; }
   3029 if test ${ac_cv_prog_ac_ct_CC+y}
   3030 then :
   3031   printf %s "(cached) " >&6
   3032 else $as_nop
   3033   if test -n "$ac_ct_CC"; then
   3034   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3035 else
   3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3037 for as_dir in $PATH
   3038 do
   3039   IFS=$as_save_IFS
   3040   case $as_dir in #(((
   3041     '') as_dir=./ ;;
   3042     */) ;;
   3043     *) as_dir=$as_dir/ ;;
   3044   esac
   3045     for ac_exec_ext in '' $ac_executable_extensions; do
   3046   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3047     ac_cv_prog_ac_ct_CC="clang"
   3048     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3049     break 2
   3050   fi
   3051 done
   3052   done
   3053 IFS=$as_save_IFS
   3054 
   3055 fi
   3056 fi
   3057 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3058 if test -n "$ac_ct_CC"; then
   3059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3060 printf "%s\n" "$ac_ct_CC" >&6; }
   3061 else
   3062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3063 printf "%s\n" "no" >&6; }
   3064 fi
   3065 
   3066   if test "x$ac_ct_CC" = x; then
   3067     CC=""
   3068   else
   3069     case $cross_compiling:$ac_tool_warned in
   3070 yes:)
   3071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3072 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3073 ac_tool_warned=yes ;;
   3074 esac
   3075     CC=$ac_ct_CC
   3076   fi
   3077 else
   3078   CC="$ac_cv_prog_CC"
   3079 fi
   3080 
   3081 fi
   3082 
   3083 
   3084 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3085 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3086 as_fn_error $? "no acceptable C compiler found in \$PATH
   3087 See \`config.log' for more details" "$LINENO" 5; }
   3088 
   3089 # Provide some information about the compiler.
   3090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3091 set X $ac_compile
   3092 ac_compiler=$2
   3093 for ac_option in --version -v -V -qversion -version; do
   3094   { { ac_try="$ac_compiler $ac_option >&5"
   3095 case "(($ac_try" in
   3096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3097   *) ac_try_echo=$ac_try;;
   3098 esac
   3099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3100 printf "%s\n" "$ac_try_echo"; } >&5
   3101   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3102   ac_status=$?
   3103   if test -s conftest.err; then
   3104     sed '10a\
   3105 ... rest of stderr output deleted ...
   3106          10q' conftest.err >conftest.er1
   3107     cat conftest.er1 >&5
   3108   fi
   3109   rm -f conftest.er1 conftest.err
   3110   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3111   test $ac_status = 0; }
   3112 done
   3113 
   3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3115 /* end confdefs.h.  */
   3116 
   3117 int
   3118 main (void)
   3119 {
   3120 
   3121   ;
   3122   return 0;
   3123 }
   3124 _ACEOF
   3125 ac_clean_files_save=$ac_clean_files
   3126 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3127 # Try to create an executable without -o first, disregard a.out.
   3128 # It will help us diagnose broken compilers, and finding out an intuition
   3129 # of exeext.
   3130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3131 printf %s "checking whether the C compiler works... " >&6; }
   3132 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3133 
   3134 # The possible output files:
   3135 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3136 
   3137 ac_rmfiles=
   3138 for ac_file in $ac_files
   3139 do
   3140   case $ac_file in
   3141     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3142     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3143   esac
   3144 done
   3145 rm -f $ac_rmfiles
   3146 
   3147 if { { ac_try="$ac_link_default"
   3148 case "(($ac_try" in
   3149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3150   *) ac_try_echo=$ac_try;;
   3151 esac
   3152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3153 printf "%s\n" "$ac_try_echo"; } >&5
   3154   (eval "$ac_link_default") 2>&5
   3155   ac_status=$?
   3156   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3157   test $ac_status = 0; }
   3158 then :
   3159   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3160 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3161 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3162 # so that the user can short-circuit this test for compilers unknown to
   3163 # Autoconf.
   3164 for ac_file in $ac_files ''
   3165 do
   3166   test -f "$ac_file" || continue
   3167   case $ac_file in
   3168     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3169 	;;
   3170     [ab].out )
   3171 	# We found the default executable, but exeext='' is most
   3172 	# certainly right.
   3173 	break;;
   3174     *.* )
   3175 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3176 	then :; else
   3177 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3178 	fi
   3179 	# We set ac_cv_exeext here because the later test for it is not
   3180 	# safe: cross compilers may not add the suffix if given an `-o'
   3181 	# argument, so we may need to know it at that point already.
   3182 	# Even if this section looks crufty: it has the advantage of
   3183 	# actually working.
   3184 	break;;
   3185     * )
   3186 	break;;
   3187   esac
   3188 done
   3189 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3190 
   3191 else $as_nop
   3192   ac_file=''
   3193 fi
   3194 if test -z "$ac_file"
   3195 then :
   3196   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3197 printf "%s\n" "no" >&6; }
   3198 printf "%s\n" "$as_me: failed program was:" >&5
   3199 sed 's/^/| /' conftest.$ac_ext >&5
   3200 
   3201 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3202 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3203 as_fn_error 77 "C compiler cannot create executables
   3204 See \`config.log' for more details" "$LINENO" 5; }
   3205 else $as_nop
   3206   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3207 printf "%s\n" "yes" >&6; }
   3208 fi
   3209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3210 printf %s "checking for C compiler default output file name... " >&6; }
   3211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3212 printf "%s\n" "$ac_file" >&6; }
   3213 ac_exeext=$ac_cv_exeext
   3214 
   3215 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3216 ac_clean_files=$ac_clean_files_save
   3217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3218 printf %s "checking for suffix of executables... " >&6; }
   3219 if { { ac_try="$ac_link"
   3220 case "(($ac_try" in
   3221   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3222   *) ac_try_echo=$ac_try;;
   3223 esac
   3224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3225 printf "%s\n" "$ac_try_echo"; } >&5
   3226   (eval "$ac_link") 2>&5
   3227   ac_status=$?
   3228   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3229   test $ac_status = 0; }
   3230 then :
   3231   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3232 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3233 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3234 # `rm'.
   3235 for ac_file in conftest.exe conftest conftest.*; do
   3236   test -f "$ac_file" || continue
   3237   case $ac_file in
   3238     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3239     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3240 	  break;;
   3241     * ) break;;
   3242   esac
   3243 done
   3244 else $as_nop
   3245   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3246 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3247 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3248 See \`config.log' for more details" "$LINENO" 5; }
   3249 fi
   3250 rm -f conftest conftest$ac_cv_exeext
   3251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3252 printf "%s\n" "$ac_cv_exeext" >&6; }
   3253 
   3254 rm -f conftest.$ac_ext
   3255 EXEEXT=$ac_cv_exeext
   3256 ac_exeext=$EXEEXT
   3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3258 /* end confdefs.h.  */
   3259 #include <stdio.h>
   3260 int
   3261 main (void)
   3262 {
   3263 FILE *f = fopen ("conftest.out", "w");
   3264  return ferror (f) || fclose (f) != 0;
   3265 
   3266   ;
   3267   return 0;
   3268 }
   3269 _ACEOF
   3270 ac_clean_files="$ac_clean_files conftest.out"
   3271 # Check that the compiler produces executables we can run.  If not, either
   3272 # the compiler is broken, or we cross compile.
   3273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3274 printf %s "checking whether we are cross compiling... " >&6; }
   3275 if test "$cross_compiling" != yes; then
   3276   { { ac_try="$ac_link"
   3277 case "(($ac_try" in
   3278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3279   *) ac_try_echo=$ac_try;;
   3280 esac
   3281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3282 printf "%s\n" "$ac_try_echo"; } >&5
   3283   (eval "$ac_link") 2>&5
   3284   ac_status=$?
   3285   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3286   test $ac_status = 0; }
   3287   if { ac_try='./conftest$ac_cv_exeext'
   3288   { { case "(($ac_try" in
   3289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3290   *) ac_try_echo=$ac_try;;
   3291 esac
   3292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3293 printf "%s\n" "$ac_try_echo"; } >&5
   3294   (eval "$ac_try") 2>&5
   3295   ac_status=$?
   3296   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3297   test $ac_status = 0; }; }; then
   3298     cross_compiling=no
   3299   else
   3300     if test "$cross_compiling" = maybe; then
   3301 	cross_compiling=yes
   3302     else
   3303 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3304 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3305 as_fn_error 77 "cannot run C compiled programs.
   3306 If you meant to cross compile, use \`--host'.
   3307 See \`config.log' for more details" "$LINENO" 5; }
   3308     fi
   3309   fi
   3310 fi
   3311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3312 printf "%s\n" "$cross_compiling" >&6; }
   3313 
   3314 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3315 ac_clean_files=$ac_clean_files_save
   3316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3317 printf %s "checking for suffix of object files... " >&6; }
   3318 if test ${ac_cv_objext+y}
   3319 then :
   3320   printf %s "(cached) " >&6
   3321 else $as_nop
   3322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3323 /* end confdefs.h.  */
   3324 
   3325 int
   3326 main (void)
   3327 {
   3328 
   3329   ;
   3330   return 0;
   3331 }
   3332 _ACEOF
   3333 rm -f conftest.o conftest.obj
   3334 if { { ac_try="$ac_compile"
   3335 case "(($ac_try" in
   3336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3337   *) ac_try_echo=$ac_try;;
   3338 esac
   3339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3340 printf "%s\n" "$ac_try_echo"; } >&5
   3341   (eval "$ac_compile") 2>&5
   3342   ac_status=$?
   3343   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3344   test $ac_status = 0; }
   3345 then :
   3346   for ac_file in conftest.o conftest.obj conftest.*; do
   3347   test -f "$ac_file" || continue;
   3348   case $ac_file in
   3349     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3350     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3351        break;;
   3352   esac
   3353 done
   3354 else $as_nop
   3355   printf "%s\n" "$as_me: failed program was:" >&5
   3356 sed 's/^/| /' conftest.$ac_ext >&5
   3357 
   3358 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3359 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3360 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3361 See \`config.log' for more details" "$LINENO" 5; }
   3362 fi
   3363 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3364 fi
   3365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3366 printf "%s\n" "$ac_cv_objext" >&6; }
   3367 OBJEXT=$ac_cv_objext
   3368 ac_objext=$OBJEXT
   3369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3370 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3371 if test ${ac_cv_c_compiler_gnu+y}
   3372 then :
   3373   printf %s "(cached) " >&6
   3374 else $as_nop
   3375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3376 /* end confdefs.h.  */
   3377 
   3378 int
   3379 main (void)
   3380 {
   3381 #ifndef __GNUC__
   3382        choke me
   3383 #endif
   3384 
   3385   ;
   3386   return 0;
   3387 }
   3388 _ACEOF
   3389 if ac_fn_c_try_compile "$LINENO"
   3390 then :
   3391   ac_compiler_gnu=yes
   3392 else $as_nop
   3393   ac_compiler_gnu=no
   3394 fi
   3395 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3396 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3397 
   3398 fi
   3399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3400 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3402 
   3403 if test $ac_compiler_gnu = yes; then
   3404   GCC=yes
   3405 else
   3406   GCC=
   3407 fi
   3408 ac_test_CFLAGS=${CFLAGS+y}
   3409 ac_save_CFLAGS=$CFLAGS
   3410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3411 printf %s "checking whether $CC accepts -g... " >&6; }
   3412 if test ${ac_cv_prog_cc_g+y}
   3413 then :
   3414   printf %s "(cached) " >&6
   3415 else $as_nop
   3416   ac_save_c_werror_flag=$ac_c_werror_flag
   3417    ac_c_werror_flag=yes
   3418    ac_cv_prog_cc_g=no
   3419    CFLAGS="-g"
   3420    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3421 /* end confdefs.h.  */
   3422 
   3423 int
   3424 main (void)
   3425 {
   3426 
   3427   ;
   3428   return 0;
   3429 }
   3430 _ACEOF
   3431 if ac_fn_c_try_compile "$LINENO"
   3432 then :
   3433   ac_cv_prog_cc_g=yes
   3434 else $as_nop
   3435   CFLAGS=""
   3436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3437 /* end confdefs.h.  */
   3438 
   3439 int
   3440 main (void)
   3441 {
   3442 
   3443   ;
   3444   return 0;
   3445 }
   3446 _ACEOF
   3447 if ac_fn_c_try_compile "$LINENO"
   3448 then :
   3449 
   3450 else $as_nop
   3451   ac_c_werror_flag=$ac_save_c_werror_flag
   3452 	 CFLAGS="-g"
   3453 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3454 /* end confdefs.h.  */
   3455 
   3456 int
   3457 main (void)
   3458 {
   3459 
   3460   ;
   3461   return 0;
   3462 }
   3463 _ACEOF
   3464 if ac_fn_c_try_compile "$LINENO"
   3465 then :
   3466   ac_cv_prog_cc_g=yes
   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 fi
   3472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3473    ac_c_werror_flag=$ac_save_c_werror_flag
   3474 fi
   3475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3476 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3477 if test $ac_test_CFLAGS; then
   3478   CFLAGS=$ac_save_CFLAGS
   3479 elif test $ac_cv_prog_cc_g = yes; then
   3480   if test "$GCC" = yes; then
   3481     CFLAGS="-g -O2"
   3482   else
   3483     CFLAGS="-g"
   3484   fi
   3485 else
   3486   if test "$GCC" = yes; then
   3487     CFLAGS="-O2"
   3488   else
   3489     CFLAGS=
   3490   fi
   3491 fi
   3492 ac_prog_cc_stdc=no
   3493 if test x$ac_prog_cc_stdc = xno
   3494 then :
   3495   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3496 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3497 if test ${ac_cv_prog_cc_c11+y}
   3498 then :
   3499   printf %s "(cached) " >&6
   3500 else $as_nop
   3501   ac_cv_prog_cc_c11=no
   3502 ac_save_CC=$CC
   3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3504 /* end confdefs.h.  */
   3505 $ac_c_conftest_c11_program
   3506 _ACEOF
   3507 for ac_arg in '' -std=gnu11
   3508 do
   3509   CC="$ac_save_CC $ac_arg"
   3510   if ac_fn_c_try_compile "$LINENO"
   3511 then :
   3512   ac_cv_prog_cc_c11=$ac_arg
   3513 fi
   3514 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3515   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3516 done
   3517 rm -f conftest.$ac_ext
   3518 CC=$ac_save_CC
   3519 fi
   3520 
   3521 if test "x$ac_cv_prog_cc_c11" = xno
   3522 then :
   3523   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3524 printf "%s\n" "unsupported" >&6; }
   3525 else $as_nop
   3526   if test "x$ac_cv_prog_cc_c11" = x
   3527 then :
   3528   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3529 printf "%s\n" "none needed" >&6; }
   3530 else $as_nop
   3531   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3532 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3533      CC="$CC $ac_cv_prog_cc_c11"
   3534 fi
   3535   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3536   ac_prog_cc_stdc=c11
   3537 fi
   3538 fi
   3539 if test x$ac_prog_cc_stdc = xno
   3540 then :
   3541   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3542 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3543 if test ${ac_cv_prog_cc_c99+y}
   3544 then :
   3545   printf %s "(cached) " >&6
   3546 else $as_nop
   3547   ac_cv_prog_cc_c99=no
   3548 ac_save_CC=$CC
   3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3550 /* end confdefs.h.  */
   3551 $ac_c_conftest_c99_program
   3552 _ACEOF
   3553 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3554 do
   3555   CC="$ac_save_CC $ac_arg"
   3556   if ac_fn_c_try_compile "$LINENO"
   3557 then :
   3558   ac_cv_prog_cc_c99=$ac_arg
   3559 fi
   3560 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3561   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3562 done
   3563 rm -f conftest.$ac_ext
   3564 CC=$ac_save_CC
   3565 fi
   3566 
   3567 if test "x$ac_cv_prog_cc_c99" = xno
   3568 then :
   3569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3570 printf "%s\n" "unsupported" >&6; }
   3571 else $as_nop
   3572   if test "x$ac_cv_prog_cc_c99" = x
   3573 then :
   3574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3575 printf "%s\n" "none needed" >&6; }
   3576 else $as_nop
   3577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3578 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3579      CC="$CC $ac_cv_prog_cc_c99"
   3580 fi
   3581   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3582   ac_prog_cc_stdc=c99
   3583 fi
   3584 fi
   3585 if test x$ac_prog_cc_stdc = xno
   3586 then :
   3587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3588 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3589 if test ${ac_cv_prog_cc_c89+y}
   3590 then :
   3591   printf %s "(cached) " >&6
   3592 else $as_nop
   3593   ac_cv_prog_cc_c89=no
   3594 ac_save_CC=$CC
   3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3596 /* end confdefs.h.  */
   3597 $ac_c_conftest_c89_program
   3598 _ACEOF
   3599 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3600 do
   3601   CC="$ac_save_CC $ac_arg"
   3602   if ac_fn_c_try_compile "$LINENO"
   3603 then :
   3604   ac_cv_prog_cc_c89=$ac_arg
   3605 fi
   3606 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3607   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3608 done
   3609 rm -f conftest.$ac_ext
   3610 CC=$ac_save_CC
   3611 fi
   3612 
   3613 if test "x$ac_cv_prog_cc_c89" = xno
   3614 then :
   3615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3616 printf "%s\n" "unsupported" >&6; }
   3617 else $as_nop
   3618   if test "x$ac_cv_prog_cc_c89" = x
   3619 then :
   3620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3621 printf "%s\n" "none needed" >&6; }
   3622 else $as_nop
   3623   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3624 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3625      CC="$CC $ac_cv_prog_cc_c89"
   3626 fi
   3627   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3628   ac_prog_cc_stdc=c89
   3629 fi
   3630 fi
   3631 
   3632 ac_ext=c
   3633 ac_cpp='$CPP $CPPFLAGS'
   3634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3637 
   3638 
   3639   ac_ext=c
   3640 ac_cpp='$CPP $CPPFLAGS'
   3641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3645 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3646 if test ${am_cv_prog_cc_c_o+y}
   3647 then :
   3648   printf %s "(cached) " >&6
   3649 else $as_nop
   3650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3651 /* end confdefs.h.  */
   3652 
   3653 int
   3654 main (void)
   3655 {
   3656 
   3657   ;
   3658   return 0;
   3659 }
   3660 _ACEOF
   3661   # Make sure it works both with $CC and with simple cc.
   3662   # Following AC_PROG_CC_C_O, we do the test twice because some
   3663   # compilers refuse to overwrite an existing .o file with -o,
   3664   # though they will create one.
   3665   am_cv_prog_cc_c_o=yes
   3666   for am_i in 1 2; do
   3667     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3668    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3669    ac_status=$?
   3670    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3671    (exit $ac_status); } \
   3672          && test -f conftest2.$ac_objext; then
   3673       : OK
   3674     else
   3675       am_cv_prog_cc_c_o=no
   3676       break
   3677     fi
   3678   done
   3679   rm -f core conftest*
   3680   unset am_i
   3681 fi
   3682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3683 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3684 if test "$am_cv_prog_cc_c_o" != yes; then
   3685    # Losing compiler, so override with the script.
   3686    # FIXME: It is wrong to rewrite CC.
   3687    # But if we don't then we get into trouble of one sort or another.
   3688    # A longer-term fix would be to have automake use am__CC in this case,
   3689    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3690    CC="$am_aux_dir/compile $CC"
   3691 fi
   3692 ac_ext=c
   3693 ac_cpp='$CPP $CPPFLAGS'
   3694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3697 
   3698 
   3699 
   3700 ac_header= ac_cache=
   3701 for ac_item in $ac_header_c_list
   3702 do
   3703   if test $ac_cache; then
   3704     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3705     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3706       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3707     fi
   3708     ac_header= ac_cache=
   3709   elif test $ac_header; then
   3710     ac_cache=$ac_item
   3711   else
   3712     ac_header=$ac_item
   3713   fi
   3714 done
   3715 
   3716 
   3717 
   3718 
   3719 
   3720 
   3721 
   3722 
   3723 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3724 then :
   3725 
   3726 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3727 
   3728 fi
   3729 
   3730 
   3731 
   3732 
   3733 
   3734 
   3735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3736 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3737 if test ${ac_cv_safe_to_define___extensions__+y}
   3738 then :
   3739   printf %s "(cached) " >&6
   3740 else $as_nop
   3741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3742 /* end confdefs.h.  */
   3743 
   3744 #         define __EXTENSIONS__ 1
   3745           $ac_includes_default
   3746 int
   3747 main (void)
   3748 {
   3749 
   3750   ;
   3751   return 0;
   3752 }
   3753 _ACEOF
   3754 if ac_fn_c_try_compile "$LINENO"
   3755 then :
   3756   ac_cv_safe_to_define___extensions__=yes
   3757 else $as_nop
   3758   ac_cv_safe_to_define___extensions__=no
   3759 fi
   3760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3761 fi
   3762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3763 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3764 
   3765   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3766 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3767 if test ${ac_cv_should_define__xopen_source+y}
   3768 then :
   3769   printf %s "(cached) " >&6
   3770 else $as_nop
   3771   ac_cv_should_define__xopen_source=no
   3772     if test $ac_cv_header_wchar_h = yes
   3773 then :
   3774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3775 /* end confdefs.h.  */
   3776 
   3777           #include <wchar.h>
   3778           mbstate_t x;
   3779 int
   3780 main (void)
   3781 {
   3782 
   3783   ;
   3784   return 0;
   3785 }
   3786 _ACEOF
   3787 if ac_fn_c_try_compile "$LINENO"
   3788 then :
   3789 
   3790 else $as_nop
   3791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3792 /* end confdefs.h.  */
   3793 
   3794             #define _XOPEN_SOURCE 500
   3795             #include <wchar.h>
   3796             mbstate_t x;
   3797 int
   3798 main (void)
   3799 {
   3800 
   3801   ;
   3802   return 0;
   3803 }
   3804 _ACEOF
   3805 if ac_fn_c_try_compile "$LINENO"
   3806 then :
   3807   ac_cv_should_define__xopen_source=yes
   3808 fi
   3809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3810 fi
   3811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3812 fi
   3813 fi
   3814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3815 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   3816 
   3817   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   3818 
   3819   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3820 
   3821   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   3822 
   3823   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3824 
   3825   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   3826 
   3827   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   3828 
   3829   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3830 
   3831   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   3832 
   3833   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   3834 
   3835   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   3836 
   3837   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   3838 
   3839   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   3840 
   3841   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   3842 
   3843   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   3844 
   3845   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   3846 
   3847   if test $ac_cv_header_minix_config_h = yes
   3848 then :
   3849   MINIX=yes
   3850     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   3851 
   3852     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   3853 
   3854     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3855 
   3856 else $as_nop
   3857   MINIX=
   3858 fi
   3859   if test $ac_cv_safe_to_define___extensions__ = yes
   3860 then :
   3861   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   3862 
   3863 fi
   3864   if test $ac_cv_should_define__xopen_source = yes
   3865 then :
   3866   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   3867 
   3868 fi
   3869 
   3870 
   3871 # Initialize Automake
   3872 am__api_version='1.16'
   3873 
   3874 
   3875   # Find a good install program.  We prefer a C program (faster),
   3876 # so one script is as good as another.  But avoid the broken or
   3877 # incompatible versions:
   3878 # SysV /etc/install, /usr/sbin/install
   3879 # SunOS /usr/etc/install
   3880 # IRIX /sbin/install
   3881 # AIX /bin/install
   3882 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3883 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3884 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3885 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3886 # OS/2's system install, which has a completely different semantic
   3887 # ./install, which can be erroneously created by make from ./install.sh.
   3888 # Reject install programs that cannot install multiple files.
   3889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3890 printf %s "checking for a BSD-compatible install... " >&6; }
   3891 if test -z "$INSTALL"; then
   3892 if test ${ac_cv_path_install+y}
   3893 then :
   3894   printf %s "(cached) " >&6
   3895 else $as_nop
   3896   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3897 for as_dir in $PATH
   3898 do
   3899   IFS=$as_save_IFS
   3900   case $as_dir in #(((
   3901     '') as_dir=./ ;;
   3902     */) ;;
   3903     *) as_dir=$as_dir/ ;;
   3904   esac
   3905     # Account for fact that we put trailing slashes in our PATH walk.
   3906 case $as_dir in #((
   3907   ./ | /[cC]/* | \
   3908   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3909   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3910   /usr/ucb/* ) ;;
   3911   *)
   3912     # OSF1 and SCO ODT 3.0 have their own names for install.
   3913     # Don't use installbsd from OSF since it installs stuff as root
   3914     # by default.
   3915     for ac_prog in ginstall scoinst install; do
   3916       for ac_exec_ext in '' $ac_executable_extensions; do
   3917 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3918 	  if test $ac_prog = install &&
   3919 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3920 	    # AIX install.  It has an incompatible calling convention.
   3921 	    :
   3922 	  elif test $ac_prog = install &&
   3923 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3924 	    # program-specific install script used by HP pwplus--don't use.
   3925 	    :
   3926 	  else
   3927 	    rm -rf conftest.one conftest.two conftest.dir
   3928 	    echo one > conftest.one
   3929 	    echo two > conftest.two
   3930 	    mkdir conftest.dir
   3931 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3932 	      test -s conftest.one && test -s conftest.two &&
   3933 	      test -s conftest.dir/conftest.one &&
   3934 	      test -s conftest.dir/conftest.two
   3935 	    then
   3936 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3937 	      break 3
   3938 	    fi
   3939 	  fi
   3940 	fi
   3941       done
   3942     done
   3943     ;;
   3944 esac
   3945 
   3946   done
   3947 IFS=$as_save_IFS
   3948 
   3949 rm -rf conftest.one conftest.two conftest.dir
   3950 
   3951 fi
   3952   if test ${ac_cv_path_install+y}; then
   3953     INSTALL=$ac_cv_path_install
   3954   else
   3955     # As a last resort, use the slow shell script.  Don't cache a
   3956     # value for INSTALL within a source directory, because that will
   3957     # break other packages using the cache if that directory is
   3958     # removed, or if the value is a relative name.
   3959     INSTALL=$ac_install_sh
   3960   fi
   3961 fi
   3962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3963 printf "%s\n" "$INSTALL" >&6; }
   3964 
   3965 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3966 # It thinks the first close brace ends the variable substitution.
   3967 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3968 
   3969 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3970 
   3971 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3972 
   3973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3974 printf %s "checking whether build environment is sane... " >&6; }
   3975 # Reject unsafe characters in $srcdir or the absolute working directory
   3976 # name.  Accept space and tab only in the latter.
   3977 am_lf='
   3978 '
   3979 case `pwd` in
   3980   *[\\\"\#\$\&\'\`$am_lf]*)
   3981     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3982 esac
   3983 case $srcdir in
   3984   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3985     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3986 esac
   3987 
   3988 # Do 'set' in a subshell so we don't clobber the current shell's
   3989 # arguments.  Must try -L first in case configure is actually a
   3990 # symlink; some systems play weird games with the mod time of symlinks
   3991 # (eg FreeBSD returns the mod time of the symlink's containing
   3992 # directory).
   3993 if (
   3994    am_has_slept=no
   3995    for am_try in 1 2; do
   3996      echo "timestamp, slept: $am_has_slept" > conftest.file
   3997      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3998      if test "$*" = "X"; then
   3999 	# -L didn't work.
   4000 	set X `ls -t "$srcdir/configure" conftest.file`
   4001      fi
   4002      if test "$*" != "X $srcdir/configure conftest.file" \
   4003 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4004 
   4005 	# If neither matched, then we have a broken ls.  This can happen
   4006 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4007 	# broken ls alias from the environment.  This has actually
   4008 	# happened.  Such a system could not be considered "sane".
   4009 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4010   alias in your environment" "$LINENO" 5
   4011      fi
   4012      if test "$2" = conftest.file || test $am_try -eq 2; then
   4013        break
   4014      fi
   4015      # Just in case.
   4016      sleep 1
   4017      am_has_slept=yes
   4018    done
   4019    test "$2" = conftest.file
   4020    )
   4021 then
   4022    # Ok.
   4023    :
   4024 else
   4025    as_fn_error $? "newly created file is older than distributed files!
   4026 Check your system clock" "$LINENO" 5
   4027 fi
   4028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4029 printf "%s\n" "yes" >&6; }
   4030 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4031 # generated files are strictly newer.
   4032 am_sleep_pid=
   4033 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4034   ( sleep 1 ) &
   4035   am_sleep_pid=$!
   4036 fi
   4037 
   4038 rm -f conftest.file
   4039 
   4040 test "$program_prefix" != NONE &&
   4041   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4042 # Use a double $ so make ignores it.
   4043 test "$program_suffix" != NONE &&
   4044   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4045 # Double any \ or $.
   4046 # By default was `s,x,x', remove it if useless.
   4047 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4048 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4049 
   4050 
   4051   if test x"${MISSING+set}" != xset; then
   4052   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4053 fi
   4054 # Use eval to expand $SHELL
   4055 if eval "$MISSING --is-lightweight"; then
   4056   am_missing_run="$MISSING "
   4057 else
   4058   am_missing_run=
   4059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4060 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4061 fi
   4062 
   4063 if test x"${install_sh+set}" != xset; then
   4064   case $am_aux_dir in
   4065   *\ * | *\	*)
   4066     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4067   *)
   4068     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4069   esac
   4070 fi
   4071 
   4072 # Installed binaries are usually stripped using 'strip' when the user
   4073 # run "make install-strip".  However 'strip' might not be the right
   4074 # tool to use in cross-compilation environments, therefore Automake
   4075 # will honor the 'STRIP' environment variable to overrule this program.
   4076 if test "$cross_compiling" != no; then
   4077   if test -n "$ac_tool_prefix"; then
   4078   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4079 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4081 printf %s "checking for $ac_word... " >&6; }
   4082 if test ${ac_cv_prog_STRIP+y}
   4083 then :
   4084   printf %s "(cached) " >&6
   4085 else $as_nop
   4086   if test -n "$STRIP"; then
   4087   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4088 else
   4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4090 for as_dir in $PATH
   4091 do
   4092   IFS=$as_save_IFS
   4093   case $as_dir in #(((
   4094     '') as_dir=./ ;;
   4095     */) ;;
   4096     *) as_dir=$as_dir/ ;;
   4097   esac
   4098     for ac_exec_ext in '' $ac_executable_extensions; do
   4099   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4100     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4101     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4102     break 2
   4103   fi
   4104 done
   4105   done
   4106 IFS=$as_save_IFS
   4107 
   4108 fi
   4109 fi
   4110 STRIP=$ac_cv_prog_STRIP
   4111 if test -n "$STRIP"; then
   4112   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4113 printf "%s\n" "$STRIP" >&6; }
   4114 else
   4115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4116 printf "%s\n" "no" >&6; }
   4117 fi
   4118 
   4119 
   4120 fi
   4121 if test -z "$ac_cv_prog_STRIP"; then
   4122   ac_ct_STRIP=$STRIP
   4123   # Extract the first word of "strip", so it can be a program name with args.
   4124 set dummy strip; ac_word=$2
   4125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4126 printf %s "checking for $ac_word... " >&6; }
   4127 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4128 then :
   4129   printf %s "(cached) " >&6
   4130 else $as_nop
   4131   if test -n "$ac_ct_STRIP"; then
   4132   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4133 else
   4134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4135 for as_dir in $PATH
   4136 do
   4137   IFS=$as_save_IFS
   4138   case $as_dir in #(((
   4139     '') as_dir=./ ;;
   4140     */) ;;
   4141     *) as_dir=$as_dir/ ;;
   4142   esac
   4143     for ac_exec_ext in '' $ac_executable_extensions; do
   4144   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4145     ac_cv_prog_ac_ct_STRIP="strip"
   4146     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4147     break 2
   4148   fi
   4149 done
   4150   done
   4151 IFS=$as_save_IFS
   4152 
   4153 fi
   4154 fi
   4155 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4156 if test -n "$ac_ct_STRIP"; then
   4157   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4158 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4159 else
   4160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4161 printf "%s\n" "no" >&6; }
   4162 fi
   4163 
   4164   if test "x$ac_ct_STRIP" = x; then
   4165     STRIP=":"
   4166   else
   4167     case $cross_compiling:$ac_tool_warned in
   4168 yes:)
   4169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4170 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4171 ac_tool_warned=yes ;;
   4172 esac
   4173     STRIP=$ac_ct_STRIP
   4174   fi
   4175 else
   4176   STRIP="$ac_cv_prog_STRIP"
   4177 fi
   4178 
   4179 fi
   4180 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4181 
   4182 
   4183   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4184 printf %s "checking for a race-free mkdir -p... " >&6; }
   4185 if test -z "$MKDIR_P"; then
   4186   if test ${ac_cv_path_mkdir+y}
   4187 then :
   4188   printf %s "(cached) " >&6
   4189 else $as_nop
   4190   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4191 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4192 do
   4193   IFS=$as_save_IFS
   4194   case $as_dir in #(((
   4195     '') as_dir=./ ;;
   4196     */) ;;
   4197     *) as_dir=$as_dir/ ;;
   4198   esac
   4199     for ac_prog in mkdir gmkdir; do
   4200 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4201 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4202 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4203 	     'mkdir ('*'coreutils) '* | \
   4204 	     'BusyBox '* | \
   4205 	     'mkdir (fileutils) '4.1*)
   4206 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4207 	       break 3;;
   4208 	   esac
   4209 	 done
   4210        done
   4211   done
   4212 IFS=$as_save_IFS
   4213 
   4214 fi
   4215 
   4216   test -d ./--version && rmdir ./--version
   4217   if test ${ac_cv_path_mkdir+y}; then
   4218     MKDIR_P="$ac_cv_path_mkdir -p"
   4219   else
   4220     # As a last resort, use the slow shell script.  Don't cache a
   4221     # value for MKDIR_P within a source directory, because that will
   4222     # break other packages using the cache if that directory is
   4223     # removed, or if the value is a relative name.
   4224     MKDIR_P="$ac_install_sh -d"
   4225   fi
   4226 fi
   4227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4228 printf "%s\n" "$MKDIR_P" >&6; }
   4229 
   4230 for ac_prog in gawk mawk nawk awk
   4231 do
   4232   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4233 set dummy $ac_prog; ac_word=$2
   4234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4235 printf %s "checking for $ac_word... " >&6; }
   4236 if test ${ac_cv_prog_AWK+y}
   4237 then :
   4238   printf %s "(cached) " >&6
   4239 else $as_nop
   4240   if test -n "$AWK"; then
   4241   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4242 else
   4243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4244 for as_dir in $PATH
   4245 do
   4246   IFS=$as_save_IFS
   4247   case $as_dir in #(((
   4248     '') as_dir=./ ;;
   4249     */) ;;
   4250     *) as_dir=$as_dir/ ;;
   4251   esac
   4252     for ac_exec_ext in '' $ac_executable_extensions; do
   4253   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4254     ac_cv_prog_AWK="$ac_prog"
   4255     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4256     break 2
   4257   fi
   4258 done
   4259   done
   4260 IFS=$as_save_IFS
   4261 
   4262 fi
   4263 fi
   4264 AWK=$ac_cv_prog_AWK
   4265 if test -n "$AWK"; then
   4266   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4267 printf "%s\n" "$AWK" >&6; }
   4268 else
   4269   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4270 printf "%s\n" "no" >&6; }
   4271 fi
   4272 
   4273 
   4274   test -n "$AWK" && break
   4275 done
   4276 
   4277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4278 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4279 set x ${MAKE-make}
   4280 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4281 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4282 then :
   4283   printf %s "(cached) " >&6
   4284 else $as_nop
   4285   cat >conftest.make <<\_ACEOF
   4286 SHELL = /bin/sh
   4287 all:
   4288 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4289 _ACEOF
   4290 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4291 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4292   *@@@%%%=?*=@@@%%%*)
   4293     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4294   *)
   4295     eval ac_cv_prog_make_${ac_make}_set=no;;
   4296 esac
   4297 rm -f conftest.make
   4298 fi
   4299 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4301 printf "%s\n" "yes" >&6; }
   4302   SET_MAKE=
   4303 else
   4304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4305 printf "%s\n" "no" >&6; }
   4306   SET_MAKE="MAKE=${MAKE-make}"
   4307 fi
   4308 
   4309 rm -rf .tst 2>/dev/null
   4310 mkdir .tst 2>/dev/null
   4311 if test -d .tst; then
   4312   am__leading_dot=.
   4313 else
   4314   am__leading_dot=_
   4315 fi
   4316 rmdir .tst 2>/dev/null
   4317 
   4318 DEPDIR="${am__leading_dot}deps"
   4319 
   4320 ac_config_commands="$ac_config_commands depfiles"
   4321 
   4322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4323 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4324 cat > confinc.mk << 'END'
   4325 am__doit:
   4326 	@echo this is the am__doit target >confinc.out
   4327 .PHONY: am__doit
   4328 END
   4329 am__include="#"
   4330 am__quote=
   4331 # BSD make does it like this.
   4332 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4333 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4334 echo 'include confinc.mk # ignored' > confmf.GNU
   4335 _am_result=no
   4336 for s in GNU BSD; do
   4337   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4338    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4339    ac_status=$?
   4340    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4341    (exit $ac_status); }
   4342   case $?:`cat confinc.out 2>/dev/null` in #(
   4343   '0:this is the am__doit target') :
   4344     case $s in #(
   4345   BSD) :
   4346     am__include='.include' am__quote='"' ;; #(
   4347   *) :
   4348     am__include='include' am__quote='' ;;
   4349 esac ;; #(
   4350   *) :
   4351      ;;
   4352 esac
   4353   if test "$am__include" != "#"; then
   4354     _am_result="yes ($s style)"
   4355     break
   4356   fi
   4357 done
   4358 rm -f confinc.* confmf.*
   4359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4360 printf "%s\n" "${_am_result}" >&6; }
   4361 
   4362 # Check whether --enable-dependency-tracking was given.
   4363 if test ${enable_dependency_tracking+y}
   4364 then :
   4365   enableval=$enable_dependency_tracking;
   4366 fi
   4367 
   4368 if test "x$enable_dependency_tracking" != xno; then
   4369   am_depcomp="$ac_aux_dir/depcomp"
   4370   AMDEPBACKSLASH='\'
   4371   am__nodep='_no'
   4372 fi
   4373  if test "x$enable_dependency_tracking" != xno; then
   4374   AMDEP_TRUE=
   4375   AMDEP_FALSE='#'
   4376 else
   4377   AMDEP_TRUE='#'
   4378   AMDEP_FALSE=
   4379 fi
   4380 
   4381 
   4382 # Check whether --enable-silent-rules was given.
   4383 if test ${enable_silent_rules+y}
   4384 then :
   4385   enableval=$enable_silent_rules;
   4386 fi
   4387 
   4388 case $enable_silent_rules in # (((
   4389   yes) AM_DEFAULT_VERBOSITY=0;;
   4390    no) AM_DEFAULT_VERBOSITY=1;;
   4391     *) AM_DEFAULT_VERBOSITY=1;;
   4392 esac
   4393 am_make=${MAKE-make}
   4394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4395 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4396 if test ${am_cv_make_support_nested_variables+y}
   4397 then :
   4398   printf %s "(cached) " >&6
   4399 else $as_nop
   4400   if printf "%s\n" 'TRUE=$(BAR$(V))
   4401 BAR0=false
   4402 BAR1=true
   4403 V=1
   4404 am__doit:
   4405 	@$(TRUE)
   4406 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4407   am_cv_make_support_nested_variables=yes
   4408 else
   4409   am_cv_make_support_nested_variables=no
   4410 fi
   4411 fi
   4412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4413 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4414 if test $am_cv_make_support_nested_variables = yes; then
   4415     AM_V='$(V)'
   4416   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4417 else
   4418   AM_V=$AM_DEFAULT_VERBOSITY
   4419   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4420 fi
   4421 AM_BACKSLASH='\'
   4422 
   4423 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4424   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4425   # is not polluted with repeated "-I."
   4426   am__isrc=' -I$(srcdir)'
   4427   # test to see if srcdir already configured
   4428   if test -f $srcdir/config.status; then
   4429     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4430   fi
   4431 fi
   4432 
   4433 # test whether we have cygpath
   4434 if test -z "$CYGPATH_W"; then
   4435   if (cygpath --version) >/dev/null 2>/dev/null; then
   4436     CYGPATH_W='cygpath -w'
   4437   else
   4438     CYGPATH_W=echo
   4439   fi
   4440 fi
   4441 
   4442 
   4443 # Define the identity of the package.
   4444  PACKAGE='libxshmfence'
   4445  VERSION='1.3.2'
   4446 
   4447 
   4448 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4449 
   4450 
   4451 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4452 
   4453 # Some tools Automake needs.
   4454 
   4455 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4456 
   4457 
   4458 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4459 
   4460 
   4461 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4462 
   4463 
   4464 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4465 
   4466 
   4467 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4468 
   4469 # For better backward compatibility.  To be removed once Automake 1.9.x
   4470 # dies out for good.  For more background, see:
   4471 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4472 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4473 mkdir_p='$(MKDIR_P)'
   4474 
   4475 # We need awk for the "check" target (and possibly the TAP driver).  The
   4476 # system "awk" is bad on some platforms.
   4477 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4478 # in the wild :-(  We should find a proper way to deprecate it ...
   4479 AMTAR='$${TAR-tar}'
   4480 
   4481 
   4482 # We'll loop over all known methods to create a tar archive until one works.
   4483 _am_tools='gnutar  pax cpio none'
   4484 
   4485 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4486 
   4487 
   4488 
   4489 
   4490 
   4491 depcc="$CC"   am_compiler_list=
   4492 
   4493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4494 printf %s "checking dependency style of $depcc... " >&6; }
   4495 if test ${am_cv_CC_dependencies_compiler_type+y}
   4496 then :
   4497   printf %s "(cached) " >&6
   4498 else $as_nop
   4499   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4500   # We make a subdir and do the tests there.  Otherwise we can end up
   4501   # making bogus files that we don't know about and never remove.  For
   4502   # instance it was reported that on HP-UX the gcc test will end up
   4503   # making a dummy file named 'D' -- because '-MD' means "put the output
   4504   # in D".
   4505   rm -rf conftest.dir
   4506   mkdir conftest.dir
   4507   # Copy depcomp to subdir because otherwise we won't find it if we're
   4508   # using a relative directory.
   4509   cp "$am_depcomp" conftest.dir
   4510   cd conftest.dir
   4511   # We will build objects and dependencies in a subdirectory because
   4512   # it helps to detect inapplicable dependency modes.  For instance
   4513   # both Tru64's cc and ICC support -MD to output dependencies as a
   4514   # side effect of compilation, but ICC will put the dependencies in
   4515   # the current directory while Tru64 will put them in the object
   4516   # directory.
   4517   mkdir sub
   4518 
   4519   am_cv_CC_dependencies_compiler_type=none
   4520   if test "$am_compiler_list" = ""; then
   4521      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4522   fi
   4523   am__universal=false
   4524   case " $depcc " in #(
   4525      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4526      esac
   4527 
   4528   for depmode in $am_compiler_list; do
   4529     # Setup a source with many dependencies, because some compilers
   4530     # like to wrap large dependency lists on column 80 (with \), and
   4531     # we should not choose a depcomp mode which is confused by this.
   4532     #
   4533     # We need to recreate these files for each test, as the compiler may
   4534     # overwrite some of them when testing with obscure command lines.
   4535     # This happens at least with the AIX C compiler.
   4536     : > sub/conftest.c
   4537     for i in 1 2 3 4 5 6; do
   4538       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4539       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4540       # Solaris 10 /bin/sh.
   4541       echo '/* dummy */' > sub/conftst$i.h
   4542     done
   4543     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4544 
   4545     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4546     # mode.  It turns out that the SunPro C++ compiler does not properly
   4547     # handle '-M -o', and we need to detect this.  Also, some Intel
   4548     # versions had trouble with output in subdirs.
   4549     am__obj=sub/conftest.${OBJEXT-o}
   4550     am__minus_obj="-o $am__obj"
   4551     case $depmode in
   4552     gcc)
   4553       # This depmode causes a compiler race in universal mode.
   4554       test "$am__universal" = false || continue
   4555       ;;
   4556     nosideeffect)
   4557       # After this tag, mechanisms are not by side-effect, so they'll
   4558       # only be used when explicitly requested.
   4559       if test "x$enable_dependency_tracking" = xyes; then
   4560 	continue
   4561       else
   4562 	break
   4563       fi
   4564       ;;
   4565     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4566       # This compiler won't grok '-c -o', but also, the minuso test has
   4567       # not run yet.  These depmodes are late enough in the game, and
   4568       # so weak that their functioning should not be impacted.
   4569       am__obj=conftest.${OBJEXT-o}
   4570       am__minus_obj=
   4571       ;;
   4572     none) break ;;
   4573     esac
   4574     if depmode=$depmode \
   4575        source=sub/conftest.c object=$am__obj \
   4576        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4577        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4578          >/dev/null 2>conftest.err &&
   4579        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4580        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4581        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4582        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4583       # icc doesn't choke on unknown options, it will just issue warnings
   4584       # or remarks (even with -Werror).  So we grep stderr for any message
   4585       # that says an option was ignored or not supported.
   4586       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4587       #   icc: Command line warning: ignoring option '-M'; no argument required
   4588       # The diagnosis changed in icc 8.0:
   4589       #   icc: Command line remark: option '-MP' not supported
   4590       if (grep 'ignoring option' conftest.err ||
   4591           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4592         am_cv_CC_dependencies_compiler_type=$depmode
   4593         break
   4594       fi
   4595     fi
   4596   done
   4597 
   4598   cd ..
   4599   rm -rf conftest.dir
   4600 else
   4601   am_cv_CC_dependencies_compiler_type=none
   4602 fi
   4603 
   4604 fi
   4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4606 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4607 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4608 
   4609  if
   4610   test "x$enable_dependency_tracking" != xno \
   4611   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4612   am__fastdepCC_TRUE=
   4613   am__fastdepCC_FALSE='#'
   4614 else
   4615   am__fastdepCC_TRUE='#'
   4616   am__fastdepCC_FALSE=
   4617 fi
   4618 
   4619 
   4620 # Variables for tags utilities; see am/tags.am
   4621 if test -z "$CTAGS"; then
   4622   CTAGS=ctags
   4623 fi
   4624 
   4625 if test -z "$ETAGS"; then
   4626   ETAGS=etags
   4627 fi
   4628 
   4629 if test -z "$CSCOPE"; then
   4630   CSCOPE=cscope
   4631 fi
   4632 
   4633 
   4634 
   4635 # POSIX will say in a future version that running "rm -f" with no argument
   4636 # is OK; and we want to be able to make that assumption in our Makefile
   4637 # recipes.  So use an aggressive probe to check that the usage we want is
   4638 # actually supported "in the wild" to an acceptable degree.
   4639 # See automake bug#10828.
   4640 # To make any issue more visible, cause the running configure to be aborted
   4641 # by default if the 'rm' program in use doesn't match our expectations; the
   4642 # user can still override this though.
   4643 if rm -f && rm -fr && rm -rf; then : OK; else
   4644   cat >&2 <<'END'
   4645 Oops!
   4646 
   4647 Your 'rm' program seems unable to run without file operands specified
   4648 on the command line, even when the '-f' option is present.  This is contrary
   4649 to the behaviour of most rm programs out there, and not conforming with
   4650 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4651 
   4652 Please tell bug-automake@gnu.org about your system, including the value
   4653 of your $PATH and any error possibly output before this message.  This
   4654 can help us improve future automake versions.
   4655 
   4656 END
   4657   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4658     echo 'Configuration will proceed anyway, since you have set the' >&2
   4659     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4660     echo >&2
   4661   else
   4662     cat >&2 <<'END'
   4663 Aborting the configuration process, to ensure you take notice of the issue.
   4664 
   4665 You can download and install GNU coreutils to get an 'rm' implementation
   4666 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4667 
   4668 If you want to complete the configuration process using your problematic
   4669 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4670 to "yes", and re-run configure.
   4671 
   4672 END
   4673     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4674   fi
   4675 fi
   4676 
   4677 
   4678 # Initialize libtool
   4679 case `pwd` in
   4680   *\ * | *\	*)
   4681     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4682 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4683 esac
   4684 
   4685 
   4686 
   4687 macro_version='2.4.7'
   4688 macro_revision='2.4.7'
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 ltmain=$ac_aux_dir/ltmain.sh
   4704 
   4705 
   4706 
   4707   # Make sure we can run config.sub.
   4708 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4709   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4710 
   4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4712 printf %s "checking build system type... " >&6; }
   4713 if test ${ac_cv_build+y}
   4714 then :
   4715   printf %s "(cached) " >&6
   4716 else $as_nop
   4717   ac_build_alias=$build_alias
   4718 test "x$ac_build_alias" = x &&
   4719   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4720 test "x$ac_build_alias" = x &&
   4721   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4722 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4723   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4724 
   4725 fi
   4726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4727 printf "%s\n" "$ac_cv_build" >&6; }
   4728 case $ac_cv_build in
   4729 *-*-*) ;;
   4730 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4731 esac
   4732 build=$ac_cv_build
   4733 ac_save_IFS=$IFS; IFS='-'
   4734 set x $ac_cv_build
   4735 shift
   4736 build_cpu=$1
   4737 build_vendor=$2
   4738 shift; shift
   4739 # Remember, the first character of IFS is used to create $*,
   4740 # except with old shells:
   4741 build_os=$*
   4742 IFS=$ac_save_IFS
   4743 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4744 
   4745 
   4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4747 printf %s "checking host system type... " >&6; }
   4748 if test ${ac_cv_host+y}
   4749 then :
   4750   printf %s "(cached) " >&6
   4751 else $as_nop
   4752   if test "x$host_alias" = x; then
   4753   ac_cv_host=$ac_cv_build
   4754 else
   4755   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4756     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4757 fi
   4758 
   4759 fi
   4760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4761 printf "%s\n" "$ac_cv_host" >&6; }
   4762 case $ac_cv_host in
   4763 *-*-*) ;;
   4764 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4765 esac
   4766 host=$ac_cv_host
   4767 ac_save_IFS=$IFS; IFS='-'
   4768 set x $ac_cv_host
   4769 shift
   4770 host_cpu=$1
   4771 host_vendor=$2
   4772 shift; shift
   4773 # Remember, the first character of IFS is used to create $*,
   4774 # except with old shells:
   4775 host_os=$*
   4776 IFS=$ac_save_IFS
   4777 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4778 
   4779 
   4780 # Backslashify metacharacters that are still active within
   4781 # double-quoted strings.
   4782 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4783 
   4784 # Same as above, but do not quote variable references.
   4785 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4786 
   4787 # Sed substitution to delay expansion of an escaped shell variable in a
   4788 # double_quote_subst'ed string.
   4789 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4790 
   4791 # Sed substitution to delay expansion of an escaped single quote.
   4792 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4793 
   4794 # Sed substitution to avoid accidental globbing in evaled expressions
   4795 no_glob_subst='s/\*/\\\*/g'
   4796 
   4797 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4798 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4799 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4800 
   4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4802 printf %s "checking how to print strings... " >&6; }
   4803 # Test print first, because it will be a builtin if present.
   4804 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4805    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4806   ECHO='print -r --'
   4807 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4808   ECHO='printf %s\n'
   4809 else
   4810   # Use this function as a fallback that always works.
   4811   func_fallback_echo ()
   4812   {
   4813     eval 'cat <<_LTECHO_EOF
   4814 $1
   4815 _LTECHO_EOF'
   4816   }
   4817   ECHO='func_fallback_echo'
   4818 fi
   4819 
   4820 # func_echo_all arg...
   4821 # Invoke $ECHO with all args, space-separated.
   4822 func_echo_all ()
   4823 {
   4824     $ECHO ""
   4825 }
   4826 
   4827 case $ECHO in
   4828   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4829 printf "%s\n" "printf" >&6; } ;;
   4830   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4831 printf "%s\n" "print -r" >&6; } ;;
   4832   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4833 printf "%s\n" "cat" >&6; } ;;
   4834 esac
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4850 printf %s "checking for a sed that does not truncate output... " >&6; }
   4851 if test ${ac_cv_path_SED+y}
   4852 then :
   4853   printf %s "(cached) " >&6
   4854 else $as_nop
   4855             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4856      for ac_i in 1 2 3 4 5 6 7; do
   4857        ac_script="$ac_script$as_nl$ac_script"
   4858      done
   4859      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4860      { ac_script=; unset ac_script;}
   4861      if test -z "$SED"; then
   4862   ac_path_SED_found=false
   4863   # Loop through the user's path and test for each of PROGNAME-LIST
   4864   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4865 for as_dir in $PATH
   4866 do
   4867   IFS=$as_save_IFS
   4868   case $as_dir in #(((
   4869     '') as_dir=./ ;;
   4870     */) ;;
   4871     *) as_dir=$as_dir/ ;;
   4872   esac
   4873     for ac_prog in sed gsed
   4874    do
   4875     for ac_exec_ext in '' $ac_executable_extensions; do
   4876       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4877       as_fn_executable_p "$ac_path_SED" || continue
   4878 # Check for GNU ac_path_SED and select it if it is found.
   4879   # Check for GNU $ac_path_SED
   4880 case `"$ac_path_SED" --version 2>&1` in
   4881 *GNU*)
   4882   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4883 *)
   4884   ac_count=0
   4885   printf %s 0123456789 >"conftest.in"
   4886   while :
   4887   do
   4888     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4889     mv "conftest.tmp" "conftest.in"
   4890     cp "conftest.in" "conftest.nl"
   4891     printf "%s\n" '' >> "conftest.nl"
   4892     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4893     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4894     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4895     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4896       # Best one so far, save it but keep looking for a better one
   4897       ac_cv_path_SED="$ac_path_SED"
   4898       ac_path_SED_max=$ac_count
   4899     fi
   4900     # 10*(2^10) chars as input seems more than enough
   4901     test $ac_count -gt 10 && break
   4902   done
   4903   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4904 esac
   4905 
   4906       $ac_path_SED_found && break 3
   4907     done
   4908   done
   4909   done
   4910 IFS=$as_save_IFS
   4911   if test -z "$ac_cv_path_SED"; then
   4912     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4913   fi
   4914 else
   4915   ac_cv_path_SED=$SED
   4916 fi
   4917 
   4918 fi
   4919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4920 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4921  SED="$ac_cv_path_SED"
   4922   rm -f conftest.sed
   4923 
   4924 test -z "$SED" && SED=sed
   4925 Xsed="$SED -e 1s/^X//"
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4938 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4939 if test ${ac_cv_path_GREP+y}
   4940 then :
   4941   printf %s "(cached) " >&6
   4942 else $as_nop
   4943   if test -z "$GREP"; then
   4944   ac_path_GREP_found=false
   4945   # Loop through the user's path and test for each of PROGNAME-LIST
   4946   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4947 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4948 do
   4949   IFS=$as_save_IFS
   4950   case $as_dir in #(((
   4951     '') as_dir=./ ;;
   4952     */) ;;
   4953     *) as_dir=$as_dir/ ;;
   4954   esac
   4955     for ac_prog in grep ggrep
   4956    do
   4957     for ac_exec_ext in '' $ac_executable_extensions; do
   4958       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4959       as_fn_executable_p "$ac_path_GREP" || continue
   4960 # Check for GNU ac_path_GREP and select it if it is found.
   4961   # Check for GNU $ac_path_GREP
   4962 case `"$ac_path_GREP" --version 2>&1` in
   4963 *GNU*)
   4964   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4965 *)
   4966   ac_count=0
   4967   printf %s 0123456789 >"conftest.in"
   4968   while :
   4969   do
   4970     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4971     mv "conftest.tmp" "conftest.in"
   4972     cp "conftest.in" "conftest.nl"
   4973     printf "%s\n" 'GREP' >> "conftest.nl"
   4974     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4975     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4976     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4977     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4978       # Best one so far, save it but keep looking for a better one
   4979       ac_cv_path_GREP="$ac_path_GREP"
   4980       ac_path_GREP_max=$ac_count
   4981     fi
   4982     # 10*(2^10) chars as input seems more than enough
   4983     test $ac_count -gt 10 && break
   4984   done
   4985   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4986 esac
   4987 
   4988       $ac_path_GREP_found && break 3
   4989     done
   4990   done
   4991   done
   4992 IFS=$as_save_IFS
   4993   if test -z "$ac_cv_path_GREP"; then
   4994     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4995   fi
   4996 else
   4997   ac_cv_path_GREP=$GREP
   4998 fi
   4999 
   5000 fi
   5001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5002 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5003  GREP="$ac_cv_path_GREP"
   5004 
   5005 
   5006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5007 printf %s "checking for egrep... " >&6; }
   5008 if test ${ac_cv_path_EGREP+y}
   5009 then :
   5010   printf %s "(cached) " >&6
   5011 else $as_nop
   5012   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5013    then ac_cv_path_EGREP="$GREP -E"
   5014    else
   5015      if test -z "$EGREP"; then
   5016   ac_path_EGREP_found=false
   5017   # Loop through the user's path and test for each of PROGNAME-LIST
   5018   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5019 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5020 do
   5021   IFS=$as_save_IFS
   5022   case $as_dir in #(((
   5023     '') as_dir=./ ;;
   5024     */) ;;
   5025     *) as_dir=$as_dir/ ;;
   5026   esac
   5027     for ac_prog in egrep
   5028    do
   5029     for ac_exec_ext in '' $ac_executable_extensions; do
   5030       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5031       as_fn_executable_p "$ac_path_EGREP" || continue
   5032 # Check for GNU ac_path_EGREP and select it if it is found.
   5033   # Check for GNU $ac_path_EGREP
   5034 case `"$ac_path_EGREP" --version 2>&1` in
   5035 *GNU*)
   5036   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5037 *)
   5038   ac_count=0
   5039   printf %s 0123456789 >"conftest.in"
   5040   while :
   5041   do
   5042     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5043     mv "conftest.tmp" "conftest.in"
   5044     cp "conftest.in" "conftest.nl"
   5045     printf "%s\n" 'EGREP' >> "conftest.nl"
   5046     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5047     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5048     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5049     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5050       # Best one so far, save it but keep looking for a better one
   5051       ac_cv_path_EGREP="$ac_path_EGREP"
   5052       ac_path_EGREP_max=$ac_count
   5053     fi
   5054     # 10*(2^10) chars as input seems more than enough
   5055     test $ac_count -gt 10 && break
   5056   done
   5057   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5058 esac
   5059 
   5060       $ac_path_EGREP_found && break 3
   5061     done
   5062   done
   5063   done
   5064 IFS=$as_save_IFS
   5065   if test -z "$ac_cv_path_EGREP"; then
   5066     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5067   fi
   5068 else
   5069   ac_cv_path_EGREP=$EGREP
   5070 fi
   5071 
   5072    fi
   5073 fi
   5074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5075 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5076  EGREP="$ac_cv_path_EGREP"
   5077 
   5078 
   5079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5080 printf %s "checking for fgrep... " >&6; }
   5081 if test ${ac_cv_path_FGREP+y}
   5082 then :
   5083   printf %s "(cached) " >&6
   5084 else $as_nop
   5085   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5086    then ac_cv_path_FGREP="$GREP -F"
   5087    else
   5088      if test -z "$FGREP"; then
   5089   ac_path_FGREP_found=false
   5090   # Loop through the user's path and test for each of PROGNAME-LIST
   5091   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5092 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5093 do
   5094   IFS=$as_save_IFS
   5095   case $as_dir in #(((
   5096     '') as_dir=./ ;;
   5097     */) ;;
   5098     *) as_dir=$as_dir/ ;;
   5099   esac
   5100     for ac_prog in fgrep
   5101    do
   5102     for ac_exec_ext in '' $ac_executable_extensions; do
   5103       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5104       as_fn_executable_p "$ac_path_FGREP" || continue
   5105 # Check for GNU ac_path_FGREP and select it if it is found.
   5106   # Check for GNU $ac_path_FGREP
   5107 case `"$ac_path_FGREP" --version 2>&1` in
   5108 *GNU*)
   5109   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5110 *)
   5111   ac_count=0
   5112   printf %s 0123456789 >"conftest.in"
   5113   while :
   5114   do
   5115     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5116     mv "conftest.tmp" "conftest.in"
   5117     cp "conftest.in" "conftest.nl"
   5118     printf "%s\n" 'FGREP' >> "conftest.nl"
   5119     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5120     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5121     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5122     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5123       # Best one so far, save it but keep looking for a better one
   5124       ac_cv_path_FGREP="$ac_path_FGREP"
   5125       ac_path_FGREP_max=$ac_count
   5126     fi
   5127     # 10*(2^10) chars as input seems more than enough
   5128     test $ac_count -gt 10 && break
   5129   done
   5130   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5131 esac
   5132 
   5133       $ac_path_FGREP_found && break 3
   5134     done
   5135   done
   5136   done
   5137 IFS=$as_save_IFS
   5138   if test -z "$ac_cv_path_FGREP"; then
   5139     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5140   fi
   5141 else
   5142   ac_cv_path_FGREP=$FGREP
   5143 fi
   5144 
   5145    fi
   5146 fi
   5147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5148 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5149  FGREP="$ac_cv_path_FGREP"
   5150 
   5151 
   5152 test -z "$GREP" && GREP=grep
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 # Check whether --with-gnu-ld was given.
   5173 if test ${with_gnu_ld+y}
   5174 then :
   5175   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5176 else $as_nop
   5177   with_gnu_ld=no
   5178 fi
   5179 
   5180 ac_prog=ld
   5181 if test yes = "$GCC"; then
   5182   # Check if gcc -print-prog-name=ld gives a path.
   5183   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5184 printf %s "checking for ld used by $CC... " >&6; }
   5185   case $host in
   5186   *-*-mingw*)
   5187     # gcc leaves a trailing carriage return, which upsets mingw
   5188     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5189   *)
   5190     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5191   esac
   5192   case $ac_prog in
   5193     # Accept absolute paths.
   5194     [\\/]* | ?:[\\/]*)
   5195       re_direlt='/[^/][^/]*/\.\./'
   5196       # Canonicalize the pathname of ld
   5197       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5198       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5199 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5200       done
   5201       test -z "$LD" && LD=$ac_prog
   5202       ;;
   5203   "")
   5204     # If it fails, then pretend we aren't using GCC.
   5205     ac_prog=ld
   5206     ;;
   5207   *)
   5208     # If it is relative, then search for the first ld in PATH.
   5209     with_gnu_ld=unknown
   5210     ;;
   5211   esac
   5212 elif test yes = "$with_gnu_ld"; then
   5213   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5214 printf %s "checking for GNU ld... " >&6; }
   5215 else
   5216   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5217 printf %s "checking for non-GNU ld... " >&6; }
   5218 fi
   5219 if test ${lt_cv_path_LD+y}
   5220 then :
   5221   printf %s "(cached) " >&6
   5222 else $as_nop
   5223   if test -z "$LD"; then
   5224   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5225   for ac_dir in $PATH; do
   5226     IFS=$lt_save_ifs
   5227     test -z "$ac_dir" && ac_dir=.
   5228     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5229       lt_cv_path_LD=$ac_dir/$ac_prog
   5230       # Check to see if the program is GNU ld.  I'd rather use --version,
   5231       # but apparently some variants of GNU ld only accept -v.
   5232       # Break only if it was the GNU/non-GNU ld that we prefer.
   5233       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5234       *GNU* | *'with BFD'*)
   5235 	test no != "$with_gnu_ld" && break
   5236 	;;
   5237       *)
   5238 	test yes != "$with_gnu_ld" && break
   5239 	;;
   5240       esac
   5241     fi
   5242   done
   5243   IFS=$lt_save_ifs
   5244 else
   5245   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5246 fi
   5247 fi
   5248 
   5249 LD=$lt_cv_path_LD
   5250 if test -n "$LD"; then
   5251   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5252 printf "%s\n" "$LD" >&6; }
   5253 else
   5254   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5255 printf "%s\n" "no" >&6; }
   5256 fi
   5257 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5259 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5260 if test ${lt_cv_prog_gnu_ld+y}
   5261 then :
   5262   printf %s "(cached) " >&6
   5263 else $as_nop
   5264   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5265 case `$LD -v 2>&1 </dev/null` in
   5266 *GNU* | *'with BFD'*)
   5267   lt_cv_prog_gnu_ld=yes
   5268   ;;
   5269 *)
   5270   lt_cv_prog_gnu_ld=no
   5271   ;;
   5272 esac
   5273 fi
   5274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5275 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5276 with_gnu_ld=$lt_cv_prog_gnu_ld
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5287 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5288 if test ${lt_cv_path_NM+y}
   5289 then :
   5290   printf %s "(cached) " >&6
   5291 else $as_nop
   5292   if test -n "$NM"; then
   5293   # Let the user override the test.
   5294   lt_cv_path_NM=$NM
   5295 else
   5296   lt_nm_to_check=${ac_tool_prefix}nm
   5297   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5298     lt_nm_to_check="$lt_nm_to_check nm"
   5299   fi
   5300   for lt_tmp_nm in $lt_nm_to_check; do
   5301     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5302     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5303       IFS=$lt_save_ifs
   5304       test -z "$ac_dir" && ac_dir=.
   5305       tmp_nm=$ac_dir/$lt_tmp_nm
   5306       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5307 	# Check to see if the nm accepts a BSD-compat flag.
   5308 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5309 	#   nm: unknown option "B" ignored
   5310 	# Tru64's nm complains that /dev/null is an invalid object file
   5311 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5312 	case $build_os in
   5313 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5314 	*) lt_bad_file=/dev/null ;;
   5315 	esac
   5316 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5317 	*$lt_bad_file* | *'Invalid file or object type'*)
   5318 	  lt_cv_path_NM="$tmp_nm -B"
   5319 	  break 2
   5320 	  ;;
   5321 	*)
   5322 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5323 	  */dev/null*)
   5324 	    lt_cv_path_NM="$tmp_nm -p"
   5325 	    break 2
   5326 	    ;;
   5327 	  *)
   5328 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5329 	    continue # so that we can try to find one that supports BSD flags
   5330 	    ;;
   5331 	  esac
   5332 	  ;;
   5333 	esac
   5334       fi
   5335     done
   5336     IFS=$lt_save_ifs
   5337   done
   5338   : ${lt_cv_path_NM=no}
   5339 fi
   5340 fi
   5341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5342 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5343 if test no != "$lt_cv_path_NM"; then
   5344   NM=$lt_cv_path_NM
   5345 else
   5346   # Didn't find any BSD compatible name lister, look for dumpbin.
   5347   if test -n "$DUMPBIN"; then :
   5348     # Let the user override the test.
   5349   else
   5350     if test -n "$ac_tool_prefix"; then
   5351   for ac_prog in dumpbin "link -dump"
   5352   do
   5353     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5354 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5356 printf %s "checking for $ac_word... " >&6; }
   5357 if test ${ac_cv_prog_DUMPBIN+y}
   5358 then :
   5359   printf %s "(cached) " >&6
   5360 else $as_nop
   5361   if test -n "$DUMPBIN"; then
   5362   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5363 else
   5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5365 for as_dir in $PATH
   5366 do
   5367   IFS=$as_save_IFS
   5368   case $as_dir in #(((
   5369     '') as_dir=./ ;;
   5370     */) ;;
   5371     *) as_dir=$as_dir/ ;;
   5372   esac
   5373     for ac_exec_ext in '' $ac_executable_extensions; do
   5374   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5375     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5376     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5377     break 2
   5378   fi
   5379 done
   5380   done
   5381 IFS=$as_save_IFS
   5382 
   5383 fi
   5384 fi
   5385 DUMPBIN=$ac_cv_prog_DUMPBIN
   5386 if test -n "$DUMPBIN"; then
   5387   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5388 printf "%s\n" "$DUMPBIN" >&6; }
   5389 else
   5390   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5391 printf "%s\n" "no" >&6; }
   5392 fi
   5393 
   5394 
   5395     test -n "$DUMPBIN" && break
   5396   done
   5397 fi
   5398 if test -z "$DUMPBIN"; then
   5399   ac_ct_DUMPBIN=$DUMPBIN
   5400   for ac_prog in dumpbin "link -dump"
   5401 do
   5402   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5403 set dummy $ac_prog; ac_word=$2
   5404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5405 printf %s "checking for $ac_word... " >&6; }
   5406 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5407 then :
   5408   printf %s "(cached) " >&6
   5409 else $as_nop
   5410   if test -n "$ac_ct_DUMPBIN"; then
   5411   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5412 else
   5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5414 for as_dir in $PATH
   5415 do
   5416   IFS=$as_save_IFS
   5417   case $as_dir in #(((
   5418     '') as_dir=./ ;;
   5419     */) ;;
   5420     *) as_dir=$as_dir/ ;;
   5421   esac
   5422     for ac_exec_ext in '' $ac_executable_extensions; do
   5423   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5424     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5425     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5426     break 2
   5427   fi
   5428 done
   5429   done
   5430 IFS=$as_save_IFS
   5431 
   5432 fi
   5433 fi
   5434 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5435 if test -n "$ac_ct_DUMPBIN"; then
   5436   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5437 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5438 else
   5439   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5440 printf "%s\n" "no" >&6; }
   5441 fi
   5442 
   5443 
   5444   test -n "$ac_ct_DUMPBIN" && break
   5445 done
   5446 
   5447   if test "x$ac_ct_DUMPBIN" = x; then
   5448     DUMPBIN=":"
   5449   else
   5450     case $cross_compiling:$ac_tool_warned in
   5451 yes:)
   5452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5453 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5454 ac_tool_warned=yes ;;
   5455 esac
   5456     DUMPBIN=$ac_ct_DUMPBIN
   5457   fi
   5458 fi
   5459 
   5460     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5461     *COFF*)
   5462       DUMPBIN="$DUMPBIN -symbols -headers"
   5463       ;;
   5464     *)
   5465       DUMPBIN=:
   5466       ;;
   5467     esac
   5468   fi
   5469 
   5470   if test : != "$DUMPBIN"; then
   5471     NM=$DUMPBIN
   5472   fi
   5473 fi
   5474 test -z "$NM" && NM=nm
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5482 printf %s "checking the name lister ($NM) interface... " >&6; }
   5483 if test ${lt_cv_nm_interface+y}
   5484 then :
   5485   printf %s "(cached) " >&6
   5486 else $as_nop
   5487   lt_cv_nm_interface="BSD nm"
   5488   echo "int some_variable = 0;" > conftest.$ac_ext
   5489   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5490   (eval "$ac_compile" 2>conftest.err)
   5491   cat conftest.err >&5
   5492   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5493   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5494   cat conftest.err >&5
   5495   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5496   cat conftest.out >&5
   5497   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5498     lt_cv_nm_interface="MS dumpbin"
   5499   fi
   5500   rm -f conftest*
   5501 fi
   5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5503 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5504 
   5505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5506 printf %s "checking whether ln -s works... " >&6; }
   5507 LN_S=$as_ln_s
   5508 if test "$LN_S" = "ln -s"; then
   5509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5510 printf "%s\n" "yes" >&6; }
   5511 else
   5512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5513 printf "%s\n" "no, using $LN_S" >&6; }
   5514 fi
   5515 
   5516 # find the maximum length of command line arguments
   5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5518 printf %s "checking the maximum length of command line arguments... " >&6; }
   5519 if test ${lt_cv_sys_max_cmd_len+y}
   5520 then :
   5521   printf %s "(cached) " >&6
   5522 else $as_nop
   5523     i=0
   5524   teststring=ABCD
   5525 
   5526   case $build_os in
   5527   msdosdjgpp*)
   5528     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5529     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5530     # during glob expansion).  Even if it were fixed, the result of this
   5531     # check would be larger than it should be.
   5532     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5533     ;;
   5534 
   5535   gnu*)
   5536     # Under GNU Hurd, this test is not required because there is
   5537     # no limit to the length of command line arguments.
   5538     # Libtool will interpret -1 as no limit whatsoever
   5539     lt_cv_sys_max_cmd_len=-1;
   5540     ;;
   5541 
   5542   cygwin* | mingw* | cegcc*)
   5543     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5544     # about 5 minutes as the teststring grows exponentially.
   5545     # Worse, since 9x/ME are not pre-emptively multitasking,
   5546     # you end up with a "frozen" computer, even though with patience
   5547     # the test eventually succeeds (with a max line length of 256k).
   5548     # Instead, let's just punt: use the minimum linelength reported by
   5549     # all of the supported platforms: 8192 (on NT/2K/XP).
   5550     lt_cv_sys_max_cmd_len=8192;
   5551     ;;
   5552 
   5553   mint*)
   5554     # On MiNT this can take a long time and run out of memory.
   5555     lt_cv_sys_max_cmd_len=8192;
   5556     ;;
   5557 
   5558   mint*)
   5559     # On MiNT this can take a long time and run out of memory.
   5560     lt_cv_sys_max_cmd_len=8192;
   5561     ;;
   5562 
   5563   amigaos*)
   5564     # On AmigaOS with pdksh, this test takes hours, literally.
   5565     # So we just punt and use a minimum line length of 8192.
   5566     lt_cv_sys_max_cmd_len=8192;
   5567     ;;
   5568 
   5569   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5570     # This has been around since 386BSD, at least.  Likely further.
   5571     if test -x /sbin/sysctl; then
   5572       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5573     elif test -x /usr/sbin/sysctl; then
   5574       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5575     else
   5576       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5577     fi
   5578     # And add a safety zone
   5579     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5580     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5581     ;;
   5582 
   5583   interix*)
   5584     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5585     lt_cv_sys_max_cmd_len=196608
   5586     ;;
   5587 
   5588   os2*)
   5589     # The test takes a long time on OS/2.
   5590     lt_cv_sys_max_cmd_len=8192
   5591     ;;
   5592 
   5593   osf*)
   5594     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5595     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5596     # nice to cause kernel panics so lets avoid the loop below.
   5597     # First set a reasonable default.
   5598     lt_cv_sys_max_cmd_len=16384
   5599     #
   5600     if test -x /sbin/sysconfig; then
   5601       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5602         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5603       esac
   5604     fi
   5605     ;;
   5606   sco3.2v5*)
   5607     lt_cv_sys_max_cmd_len=102400
   5608     ;;
   5609   sysv5* | sco5v6* | sysv4.2uw2*)
   5610     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5611     if test -n "$kargmax"; then
   5612       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5613     else
   5614       lt_cv_sys_max_cmd_len=32768
   5615     fi
   5616     ;;
   5617   *)
   5618     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5619     if test -n "$lt_cv_sys_max_cmd_len" && \
   5620        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5621       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5622       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5623     else
   5624       # Make teststring a little bigger before we do anything with it.
   5625       # a 1K string should be a reasonable start.
   5626       for i in 1 2 3 4 5 6 7 8; do
   5627         teststring=$teststring$teststring
   5628       done
   5629       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5630       # If test is not a shell built-in, we'll probably end up computing a
   5631       # maximum length that is only half of the actual maximum length, but
   5632       # we can't tell.
   5633       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5634 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5635 	      test 17 != "$i" # 1/2 MB should be enough
   5636       do
   5637         i=`expr $i + 1`
   5638         teststring=$teststring$teststring
   5639       done
   5640       # Only check the string length outside the loop.
   5641       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5642       teststring=
   5643       # Add a significant safety factor because C++ compilers can tack on
   5644       # massive amounts of additional arguments before passing them to the
   5645       # linker.  It appears as though 1/2 is a usable value.
   5646       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5647     fi
   5648     ;;
   5649   esac
   5650 
   5651 fi
   5652 
   5653 if test -n "$lt_cv_sys_max_cmd_len"; then
   5654   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5655 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5656 else
   5657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5658 printf "%s\n" "none" >&6; }
   5659 fi
   5660 max_cmd_len=$lt_cv_sys_max_cmd_len
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 : ${CP="cp -f"}
   5668 : ${MV="mv -f"}
   5669 : ${RM="rm -f"}
   5670 
   5671 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5672   lt_unset=unset
   5673 else
   5674   lt_unset=false
   5675 fi
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 # test EBCDIC or ASCII
   5682 case `echo X|tr X '\101'` in
   5683  A) # ASCII based system
   5684     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5685   lt_SP2NL='tr \040 \012'
   5686   lt_NL2SP='tr \015\012 \040\040'
   5687   ;;
   5688  *) # EBCDIC based system
   5689   lt_SP2NL='tr \100 \n'
   5690   lt_NL2SP='tr \r\n \100\100'
   5691   ;;
   5692 esac
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5703 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5704 if test ${lt_cv_to_host_file_cmd+y}
   5705 then :
   5706   printf %s "(cached) " >&6
   5707 else $as_nop
   5708   case $host in
   5709   *-*-mingw* )
   5710     case $build in
   5711       *-*-mingw* ) # actually msys
   5712         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5713         ;;
   5714       *-*-cygwin* )
   5715         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5716         ;;
   5717       * ) # otherwise, assume *nix
   5718         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5719         ;;
   5720     esac
   5721     ;;
   5722   *-*-cygwin* )
   5723     case $build in
   5724       *-*-mingw* ) # actually msys
   5725         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5726         ;;
   5727       *-*-cygwin* )
   5728         lt_cv_to_host_file_cmd=func_convert_file_noop
   5729         ;;
   5730       * ) # otherwise, assume *nix
   5731         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5732         ;;
   5733     esac
   5734     ;;
   5735   * ) # unhandled hosts (and "normal" native builds)
   5736     lt_cv_to_host_file_cmd=func_convert_file_noop
   5737     ;;
   5738 esac
   5739 
   5740 fi
   5741 
   5742 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5744 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5751 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5752 if test ${lt_cv_to_tool_file_cmd+y}
   5753 then :
   5754   printf %s "(cached) " >&6
   5755 else $as_nop
   5756   #assume ordinary cross tools, or native build.
   5757 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5758 case $host in
   5759   *-*-mingw* )
   5760     case $build in
   5761       *-*-mingw* ) # actually msys
   5762         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5763         ;;
   5764     esac
   5765     ;;
   5766 esac
   5767 
   5768 fi
   5769 
   5770 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5772 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5779 printf %s "checking for $LD option to reload object files... " >&6; }
   5780 if test ${lt_cv_ld_reload_flag+y}
   5781 then :
   5782   printf %s "(cached) " >&6
   5783 else $as_nop
   5784   lt_cv_ld_reload_flag='-r'
   5785 fi
   5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5787 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5788 reload_flag=$lt_cv_ld_reload_flag
   5789 case $reload_flag in
   5790 "" | " "*) ;;
   5791 *) reload_flag=" $reload_flag" ;;
   5792 esac
   5793 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5794 case $host_os in
   5795   cygwin* | mingw* | pw32* | cegcc*)
   5796     if test yes != "$GCC"; then
   5797       reload_cmds=false
   5798     fi
   5799     ;;
   5800   darwin*)
   5801     if test yes = "$GCC"; then
   5802       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5803     else
   5804       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5805     fi
   5806     ;;
   5807 esac
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 if test -n "$ac_tool_prefix"; then
   5818   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5819 set dummy ${ac_tool_prefix}file; ac_word=$2
   5820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5821 printf %s "checking for $ac_word... " >&6; }
   5822 if test ${ac_cv_prog_FILECMD+y}
   5823 then :
   5824   printf %s "(cached) " >&6
   5825 else $as_nop
   5826   if test -n "$FILECMD"; then
   5827   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5828 else
   5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5830 for as_dir in $PATH
   5831 do
   5832   IFS=$as_save_IFS
   5833   case $as_dir in #(((
   5834     '') as_dir=./ ;;
   5835     */) ;;
   5836     *) as_dir=$as_dir/ ;;
   5837   esac
   5838     for ac_exec_ext in '' $ac_executable_extensions; do
   5839   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5840     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5841     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5842     break 2
   5843   fi
   5844 done
   5845   done
   5846 IFS=$as_save_IFS
   5847 
   5848 fi
   5849 fi
   5850 FILECMD=$ac_cv_prog_FILECMD
   5851 if test -n "$FILECMD"; then
   5852   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5853 printf "%s\n" "$FILECMD" >&6; }
   5854 else
   5855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5856 printf "%s\n" "no" >&6; }
   5857 fi
   5858 
   5859 
   5860 fi
   5861 if test -z "$ac_cv_prog_FILECMD"; then
   5862   ac_ct_FILECMD=$FILECMD
   5863   # Extract the first word of "file", so it can be a program name with args.
   5864 set dummy file; ac_word=$2
   5865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5866 printf %s "checking for $ac_word... " >&6; }
   5867 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5868 then :
   5869   printf %s "(cached) " >&6
   5870 else $as_nop
   5871   if test -n "$ac_ct_FILECMD"; then
   5872   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5873 else
   5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5875 for as_dir in $PATH
   5876 do
   5877   IFS=$as_save_IFS
   5878   case $as_dir in #(((
   5879     '') as_dir=./ ;;
   5880     */) ;;
   5881     *) as_dir=$as_dir/ ;;
   5882   esac
   5883     for ac_exec_ext in '' $ac_executable_extensions; do
   5884   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5885     ac_cv_prog_ac_ct_FILECMD="file"
   5886     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5887     break 2
   5888   fi
   5889 done
   5890   done
   5891 IFS=$as_save_IFS
   5892 
   5893 fi
   5894 fi
   5895 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5896 if test -n "$ac_ct_FILECMD"; then
   5897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5898 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5899 else
   5900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5901 printf "%s\n" "no" >&6; }
   5902 fi
   5903 
   5904   if test "x$ac_ct_FILECMD" = x; then
   5905     FILECMD=":"
   5906   else
   5907     case $cross_compiling:$ac_tool_warned in
   5908 yes:)
   5909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5910 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5911 ac_tool_warned=yes ;;
   5912 esac
   5913     FILECMD=$ac_ct_FILECMD
   5914   fi
   5915 else
   5916   FILECMD="$ac_cv_prog_FILECMD"
   5917 fi
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 if test -n "$ac_tool_prefix"; then
   5926   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5927 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5929 printf %s "checking for $ac_word... " >&6; }
   5930 if test ${ac_cv_prog_OBJDUMP+y}
   5931 then :
   5932   printf %s "(cached) " >&6
   5933 else $as_nop
   5934   if test -n "$OBJDUMP"; then
   5935   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5936 else
   5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5938 for as_dir in $PATH
   5939 do
   5940   IFS=$as_save_IFS
   5941   case $as_dir in #(((
   5942     '') as_dir=./ ;;
   5943     */) ;;
   5944     *) as_dir=$as_dir/ ;;
   5945   esac
   5946     for ac_exec_ext in '' $ac_executable_extensions; do
   5947   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5948     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5949     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5950     break 2
   5951   fi
   5952 done
   5953   done
   5954 IFS=$as_save_IFS
   5955 
   5956 fi
   5957 fi
   5958 OBJDUMP=$ac_cv_prog_OBJDUMP
   5959 if test -n "$OBJDUMP"; then
   5960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5961 printf "%s\n" "$OBJDUMP" >&6; }
   5962 else
   5963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5964 printf "%s\n" "no" >&6; }
   5965 fi
   5966 
   5967 
   5968 fi
   5969 if test -z "$ac_cv_prog_OBJDUMP"; then
   5970   ac_ct_OBJDUMP=$OBJDUMP
   5971   # Extract the first word of "objdump", so it can be a program name with args.
   5972 set dummy objdump; ac_word=$2
   5973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5974 printf %s "checking for $ac_word... " >&6; }
   5975 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5976 then :
   5977   printf %s "(cached) " >&6
   5978 else $as_nop
   5979   if test -n "$ac_ct_OBJDUMP"; then
   5980   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5981 else
   5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5983 for as_dir in $PATH
   5984 do
   5985   IFS=$as_save_IFS
   5986   case $as_dir in #(((
   5987     '') as_dir=./ ;;
   5988     */) ;;
   5989     *) as_dir=$as_dir/ ;;
   5990   esac
   5991     for ac_exec_ext in '' $ac_executable_extensions; do
   5992   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5993     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5994     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5995     break 2
   5996   fi
   5997 done
   5998   done
   5999 IFS=$as_save_IFS
   6000 
   6001 fi
   6002 fi
   6003 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6004 if test -n "$ac_ct_OBJDUMP"; then
   6005   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6006 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6007 else
   6008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6009 printf "%s\n" "no" >&6; }
   6010 fi
   6011 
   6012   if test "x$ac_ct_OBJDUMP" = x; then
   6013     OBJDUMP="false"
   6014   else
   6015     case $cross_compiling:$ac_tool_warned in
   6016 yes:)
   6017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6018 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6019 ac_tool_warned=yes ;;
   6020 esac
   6021     OBJDUMP=$ac_ct_OBJDUMP
   6022   fi
   6023 else
   6024   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6025 fi
   6026 
   6027 test -z "$OBJDUMP" && OBJDUMP=objdump
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6038 printf %s "checking how to recognize dependent libraries... " >&6; }
   6039 if test ${lt_cv_deplibs_check_method+y}
   6040 then :
   6041   printf %s "(cached) " >&6
   6042 else $as_nop
   6043   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6044 lt_cv_file_magic_test_file=
   6045 lt_cv_deplibs_check_method='unknown'
   6046 # Need to set the preceding variable on all platforms that support
   6047 # interlibrary dependencies.
   6048 # 'none' -- dependencies not supported.
   6049 # 'unknown' -- same as none, but documents that we really don't know.
   6050 # 'pass_all' -- all dependencies passed with no checks.
   6051 # 'test_compile' -- check by making test program.
   6052 # 'file_magic [[regex]]' -- check by looking for files in library path
   6053 # that responds to the $file_magic_cmd with a given extended regex.
   6054 # If you have 'file' or equivalent on your system and you're not sure
   6055 # whether 'pass_all' will *always* work, you probably want this one.
   6056 
   6057 case $host_os in
   6058 aix[4-9]*)
   6059   lt_cv_deplibs_check_method=pass_all
   6060   ;;
   6061 
   6062 beos*)
   6063   lt_cv_deplibs_check_method=pass_all
   6064   ;;
   6065 
   6066 bsdi[45]*)
   6067   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6068   lt_cv_file_magic_cmd='$FILECMD -L'
   6069   lt_cv_file_magic_test_file=/shlib/libc.so
   6070   ;;
   6071 
   6072 cygwin*)
   6073   # func_win32_libid is a shell function defined in ltmain.sh
   6074   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6075   lt_cv_file_magic_cmd='func_win32_libid'
   6076   ;;
   6077 
   6078 mingw* | pw32*)
   6079   # Base MSYS/MinGW do not provide the 'file' command needed by
   6080   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6081   # unless we find 'file', for example because we are cross-compiling.
   6082   if ( file / ) >/dev/null 2>&1; then
   6083     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6084     lt_cv_file_magic_cmd='func_win32_libid'
   6085   else
   6086     # Keep this pattern in sync with the one in func_win32_libid.
   6087     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6088     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6089   fi
   6090   ;;
   6091 
   6092 cegcc*)
   6093   # use the weaker test based on 'objdump'. See mingw*.
   6094   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6095   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6096   ;;
   6097 
   6098 darwin* | rhapsody*)
   6099   lt_cv_deplibs_check_method=pass_all
   6100   ;;
   6101 
   6102 freebsd* | dragonfly* | midnightbsd*)
   6103   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6104     case $host_cpu in
   6105     i*86 )
   6106       # Not sure whether the presence of OpenBSD here was a mistake.
   6107       # Let's accept both of them until this is cleared up.
   6108       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6109       lt_cv_file_magic_cmd=$FILECMD
   6110       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6111       ;;
   6112     esac
   6113   else
   6114     lt_cv_deplibs_check_method=pass_all
   6115   fi
   6116   ;;
   6117 
   6118 haiku*)
   6119   lt_cv_deplibs_check_method=pass_all
   6120   ;;
   6121 
   6122 hpux10.20* | hpux11*)
   6123   lt_cv_file_magic_cmd=$FILECMD
   6124   case $host_cpu in
   6125   ia64*)
   6126     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6127     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6128     ;;
   6129   hppa*64*)
   6130     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]'
   6131     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6132     ;;
   6133   *)
   6134     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6135     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6136     ;;
   6137   esac
   6138   ;;
   6139 
   6140 interix[3-9]*)
   6141   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6142   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6143   ;;
   6144 
   6145 irix5* | irix6* | nonstopux*)
   6146   case $LD in
   6147   *-32|*"-32 ") libmagic=32-bit;;
   6148   *-n32|*"-n32 ") libmagic=N32;;
   6149   *-64|*"-64 ") libmagic=64-bit;;
   6150   *) libmagic=never-match;;
   6151   esac
   6152   lt_cv_deplibs_check_method=pass_all
   6153   ;;
   6154 
   6155 # This must be glibc/ELF.
   6156 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6157   lt_cv_deplibs_check_method=pass_all
   6158   ;;
   6159 
   6160 netbsd*)
   6161   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6162     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6163   else
   6164     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6165   fi
   6166   ;;
   6167 
   6168 newos6*)
   6169   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6170   lt_cv_file_magic_cmd=$FILECMD
   6171   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6172   ;;
   6173 
   6174 *nto* | *qnx*)
   6175   lt_cv_deplibs_check_method=pass_all
   6176   ;;
   6177 
   6178 openbsd* | bitrig*)
   6179   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6180     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6181   else
   6182     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6183   fi
   6184   ;;
   6185 
   6186 osf3* | osf4* | osf5*)
   6187   lt_cv_deplibs_check_method=pass_all
   6188   ;;
   6189 
   6190 rdos*)
   6191   lt_cv_deplibs_check_method=pass_all
   6192   ;;
   6193 
   6194 solaris*)
   6195   lt_cv_deplibs_check_method=pass_all
   6196   ;;
   6197 
   6198 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6199   lt_cv_deplibs_check_method=pass_all
   6200   ;;
   6201 
   6202 sysv4 | sysv4.3*)
   6203   case $host_vendor in
   6204   motorola)
   6205     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]'
   6206     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6207     ;;
   6208   ncr)
   6209     lt_cv_deplibs_check_method=pass_all
   6210     ;;
   6211   sequent)
   6212     lt_cv_file_magic_cmd='/bin/file'
   6213     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6214     ;;
   6215   sni)
   6216     lt_cv_file_magic_cmd='/bin/file'
   6217     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6218     lt_cv_file_magic_test_file=/lib/libc.so
   6219     ;;
   6220   siemens)
   6221     lt_cv_deplibs_check_method=pass_all
   6222     ;;
   6223   pc)
   6224     lt_cv_deplibs_check_method=pass_all
   6225     ;;
   6226   esac
   6227   ;;
   6228 
   6229 tpf*)
   6230   lt_cv_deplibs_check_method=pass_all
   6231   ;;
   6232 os2*)
   6233   lt_cv_deplibs_check_method=pass_all
   6234   ;;
   6235 esac
   6236 
   6237 fi
   6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6239 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6240 
   6241 file_magic_glob=
   6242 want_nocaseglob=no
   6243 if test "$build" = "$host"; then
   6244   case $host_os in
   6245   mingw* | pw32*)
   6246     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6247       want_nocaseglob=yes
   6248     else
   6249       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6250     fi
   6251     ;;
   6252   esac
   6253 fi
   6254 
   6255 file_magic_cmd=$lt_cv_file_magic_cmd
   6256 deplibs_check_method=$lt_cv_deplibs_check_method
   6257 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 if test -n "$ac_tool_prefix"; then
   6281   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6282 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6284 printf %s "checking for $ac_word... " >&6; }
   6285 if test ${ac_cv_prog_DLLTOOL+y}
   6286 then :
   6287   printf %s "(cached) " >&6
   6288 else $as_nop
   6289   if test -n "$DLLTOOL"; then
   6290   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6291 else
   6292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6293 for as_dir in $PATH
   6294 do
   6295   IFS=$as_save_IFS
   6296   case $as_dir in #(((
   6297     '') as_dir=./ ;;
   6298     */) ;;
   6299     *) as_dir=$as_dir/ ;;
   6300   esac
   6301     for ac_exec_ext in '' $ac_executable_extensions; do
   6302   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6303     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6304     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6305     break 2
   6306   fi
   6307 done
   6308   done
   6309 IFS=$as_save_IFS
   6310 
   6311 fi
   6312 fi
   6313 DLLTOOL=$ac_cv_prog_DLLTOOL
   6314 if test -n "$DLLTOOL"; then
   6315   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6316 printf "%s\n" "$DLLTOOL" >&6; }
   6317 else
   6318   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6319 printf "%s\n" "no" >&6; }
   6320 fi
   6321 
   6322 
   6323 fi
   6324 if test -z "$ac_cv_prog_DLLTOOL"; then
   6325   ac_ct_DLLTOOL=$DLLTOOL
   6326   # Extract the first word of "dlltool", so it can be a program name with args.
   6327 set dummy dlltool; ac_word=$2
   6328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6329 printf %s "checking for $ac_word... " >&6; }
   6330 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6331 then :
   6332   printf %s "(cached) " >&6
   6333 else $as_nop
   6334   if test -n "$ac_ct_DLLTOOL"; then
   6335   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6336 else
   6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6338 for as_dir in $PATH
   6339 do
   6340   IFS=$as_save_IFS
   6341   case $as_dir in #(((
   6342     '') as_dir=./ ;;
   6343     */) ;;
   6344     *) as_dir=$as_dir/ ;;
   6345   esac
   6346     for ac_exec_ext in '' $ac_executable_extensions; do
   6347   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6348     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6349     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6350     break 2
   6351   fi
   6352 done
   6353   done
   6354 IFS=$as_save_IFS
   6355 
   6356 fi
   6357 fi
   6358 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6359 if test -n "$ac_ct_DLLTOOL"; then
   6360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6361 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6362 else
   6363   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6364 printf "%s\n" "no" >&6; }
   6365 fi
   6366 
   6367   if test "x$ac_ct_DLLTOOL" = x; then
   6368     DLLTOOL="false"
   6369   else
   6370     case $cross_compiling:$ac_tool_warned in
   6371 yes:)
   6372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6373 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6374 ac_tool_warned=yes ;;
   6375 esac
   6376     DLLTOOL=$ac_ct_DLLTOOL
   6377   fi
   6378 else
   6379   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6380 fi
   6381 
   6382 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6394 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6395 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6396 then :
   6397   printf %s "(cached) " >&6
   6398 else $as_nop
   6399   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6400 
   6401 case $host_os in
   6402 cygwin* | mingw* | pw32* | cegcc*)
   6403   # two different shell functions defined in ltmain.sh;
   6404   # decide which one to use based on capabilities of $DLLTOOL
   6405   case `$DLLTOOL --help 2>&1` in
   6406   *--identify-strict*)
   6407     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6408     ;;
   6409   *)
   6410     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6411     ;;
   6412   esac
   6413   ;;
   6414 *)
   6415   # fallback: assume linklib IS sharedlib
   6416   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6417   ;;
   6418 esac
   6419 
   6420 fi
   6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6422 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6423 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6424 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 if test -n "$ac_tool_prefix"; then
   6433   for ac_prog in ar
   6434   do
   6435     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6436 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6438 printf %s "checking for $ac_word... " >&6; }
   6439 if test ${ac_cv_prog_AR+y}
   6440 then :
   6441   printf %s "(cached) " >&6
   6442 else $as_nop
   6443   if test -n "$AR"; then
   6444   ac_cv_prog_AR="$AR" # Let the user override the test.
   6445 else
   6446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6447 for as_dir in $PATH
   6448 do
   6449   IFS=$as_save_IFS
   6450   case $as_dir in #(((
   6451     '') as_dir=./ ;;
   6452     */) ;;
   6453     *) as_dir=$as_dir/ ;;
   6454   esac
   6455     for ac_exec_ext in '' $ac_executable_extensions; do
   6456   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6457     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6458     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6459     break 2
   6460   fi
   6461 done
   6462   done
   6463 IFS=$as_save_IFS
   6464 
   6465 fi
   6466 fi
   6467 AR=$ac_cv_prog_AR
   6468 if test -n "$AR"; then
   6469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6470 printf "%s\n" "$AR" >&6; }
   6471 else
   6472   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6473 printf "%s\n" "no" >&6; }
   6474 fi
   6475 
   6476 
   6477     test -n "$AR" && break
   6478   done
   6479 fi
   6480 if test -z "$AR"; then
   6481   ac_ct_AR=$AR
   6482   for ac_prog in ar
   6483 do
   6484   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6485 set dummy $ac_prog; ac_word=$2
   6486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6487 printf %s "checking for $ac_word... " >&6; }
   6488 if test ${ac_cv_prog_ac_ct_AR+y}
   6489 then :
   6490   printf %s "(cached) " >&6
   6491 else $as_nop
   6492   if test -n "$ac_ct_AR"; then
   6493   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6494 else
   6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6496 for as_dir in $PATH
   6497 do
   6498   IFS=$as_save_IFS
   6499   case $as_dir in #(((
   6500     '') as_dir=./ ;;
   6501     */) ;;
   6502     *) as_dir=$as_dir/ ;;
   6503   esac
   6504     for ac_exec_ext in '' $ac_executable_extensions; do
   6505   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6506     ac_cv_prog_ac_ct_AR="$ac_prog"
   6507     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6508     break 2
   6509   fi
   6510 done
   6511   done
   6512 IFS=$as_save_IFS
   6513 
   6514 fi
   6515 fi
   6516 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6517 if test -n "$ac_ct_AR"; then
   6518   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6519 printf "%s\n" "$ac_ct_AR" >&6; }
   6520 else
   6521   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6522 printf "%s\n" "no" >&6; }
   6523 fi
   6524 
   6525 
   6526   test -n "$ac_ct_AR" && break
   6527 done
   6528 
   6529   if test "x$ac_ct_AR" = x; then
   6530     AR="false"
   6531   else
   6532     case $cross_compiling:$ac_tool_warned in
   6533 yes:)
   6534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6535 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6536 ac_tool_warned=yes ;;
   6537 esac
   6538     AR=$ac_ct_AR
   6539   fi
   6540 fi
   6541 
   6542 : ${AR=ar}
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6550 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6551 # higher priority because thats what people were doing historically (setting
   6552 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6553 # variable obsoleted/removed.
   6554 
   6555 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6556 lt_ar_flags=$AR_FLAGS
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6564 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6572 printf %s "checking for archiver @FILE support... " >&6; }
   6573 if test ${lt_cv_ar_at_file+y}
   6574 then :
   6575   printf %s "(cached) " >&6
   6576 else $as_nop
   6577   lt_cv_ar_at_file=no
   6578    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6579 /* end confdefs.h.  */
   6580 
   6581 int
   6582 main (void)
   6583 {
   6584 
   6585   ;
   6586   return 0;
   6587 }
   6588 _ACEOF
   6589 if ac_fn_c_try_compile "$LINENO"
   6590 then :
   6591   echo conftest.$ac_objext > conftest.lst
   6592       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6593       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6594   (eval $lt_ar_try) 2>&5
   6595   ac_status=$?
   6596   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6597   test $ac_status = 0; }
   6598       if test 0 -eq "$ac_status"; then
   6599 	# Ensure the archiver fails upon bogus file names.
   6600 	rm -f conftest.$ac_objext libconftest.a
   6601 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6602   (eval $lt_ar_try) 2>&5
   6603   ac_status=$?
   6604   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6605   test $ac_status = 0; }
   6606 	if test 0 -ne "$ac_status"; then
   6607           lt_cv_ar_at_file=@
   6608         fi
   6609       fi
   6610       rm -f conftest.* libconftest.a
   6611 
   6612 fi
   6613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6614 
   6615 fi
   6616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6617 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6618 
   6619 if test no = "$lt_cv_ar_at_file"; then
   6620   archiver_list_spec=
   6621 else
   6622   archiver_list_spec=$lt_cv_ar_at_file
   6623 fi
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 if test -n "$ac_tool_prefix"; then
   6632   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6633 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6635 printf %s "checking for $ac_word... " >&6; }
   6636 if test ${ac_cv_prog_STRIP+y}
   6637 then :
   6638   printf %s "(cached) " >&6
   6639 else $as_nop
   6640   if test -n "$STRIP"; then
   6641   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6642 else
   6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6644 for as_dir in $PATH
   6645 do
   6646   IFS=$as_save_IFS
   6647   case $as_dir in #(((
   6648     '') as_dir=./ ;;
   6649     */) ;;
   6650     *) as_dir=$as_dir/ ;;
   6651   esac
   6652     for ac_exec_ext in '' $ac_executable_extensions; do
   6653   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6654     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6655     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6656     break 2
   6657   fi
   6658 done
   6659   done
   6660 IFS=$as_save_IFS
   6661 
   6662 fi
   6663 fi
   6664 STRIP=$ac_cv_prog_STRIP
   6665 if test -n "$STRIP"; then
   6666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6667 printf "%s\n" "$STRIP" >&6; }
   6668 else
   6669   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6670 printf "%s\n" "no" >&6; }
   6671 fi
   6672 
   6673 
   6674 fi
   6675 if test -z "$ac_cv_prog_STRIP"; then
   6676   ac_ct_STRIP=$STRIP
   6677   # Extract the first word of "strip", so it can be a program name with args.
   6678 set dummy strip; ac_word=$2
   6679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6680 printf %s "checking for $ac_word... " >&6; }
   6681 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6682 then :
   6683   printf %s "(cached) " >&6
   6684 else $as_nop
   6685   if test -n "$ac_ct_STRIP"; then
   6686   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6687 else
   6688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6689 for as_dir in $PATH
   6690 do
   6691   IFS=$as_save_IFS
   6692   case $as_dir in #(((
   6693     '') as_dir=./ ;;
   6694     */) ;;
   6695     *) as_dir=$as_dir/ ;;
   6696   esac
   6697     for ac_exec_ext in '' $ac_executable_extensions; do
   6698   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6699     ac_cv_prog_ac_ct_STRIP="strip"
   6700     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6701     break 2
   6702   fi
   6703 done
   6704   done
   6705 IFS=$as_save_IFS
   6706 
   6707 fi
   6708 fi
   6709 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6710 if test -n "$ac_ct_STRIP"; then
   6711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6712 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6713 else
   6714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6715 printf "%s\n" "no" >&6; }
   6716 fi
   6717 
   6718   if test "x$ac_ct_STRIP" = x; then
   6719     STRIP=":"
   6720   else
   6721     case $cross_compiling:$ac_tool_warned in
   6722 yes:)
   6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6724 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6725 ac_tool_warned=yes ;;
   6726 esac
   6727     STRIP=$ac_ct_STRIP
   6728   fi
   6729 else
   6730   STRIP="$ac_cv_prog_STRIP"
   6731 fi
   6732 
   6733 test -z "$STRIP" && STRIP=:
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 if test -n "$ac_tool_prefix"; then
   6741   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6742 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6744 printf %s "checking for $ac_word... " >&6; }
   6745 if test ${ac_cv_prog_RANLIB+y}
   6746 then :
   6747   printf %s "(cached) " >&6
   6748 else $as_nop
   6749   if test -n "$RANLIB"; then
   6750   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6751 else
   6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6753 for as_dir in $PATH
   6754 do
   6755   IFS=$as_save_IFS
   6756   case $as_dir in #(((
   6757     '') as_dir=./ ;;
   6758     */) ;;
   6759     *) as_dir=$as_dir/ ;;
   6760   esac
   6761     for ac_exec_ext in '' $ac_executable_extensions; do
   6762   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6763     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6764     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6765     break 2
   6766   fi
   6767 done
   6768   done
   6769 IFS=$as_save_IFS
   6770 
   6771 fi
   6772 fi
   6773 RANLIB=$ac_cv_prog_RANLIB
   6774 if test -n "$RANLIB"; then
   6775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6776 printf "%s\n" "$RANLIB" >&6; }
   6777 else
   6778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6779 printf "%s\n" "no" >&6; }
   6780 fi
   6781 
   6782 
   6783 fi
   6784 if test -z "$ac_cv_prog_RANLIB"; then
   6785   ac_ct_RANLIB=$RANLIB
   6786   # Extract the first word of "ranlib", so it can be a program name with args.
   6787 set dummy ranlib; ac_word=$2
   6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6789 printf %s "checking for $ac_word... " >&6; }
   6790 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6791 then :
   6792   printf %s "(cached) " >&6
   6793 else $as_nop
   6794   if test -n "$ac_ct_RANLIB"; then
   6795   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6796 else
   6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6798 for as_dir in $PATH
   6799 do
   6800   IFS=$as_save_IFS
   6801   case $as_dir in #(((
   6802     '') as_dir=./ ;;
   6803     */) ;;
   6804     *) as_dir=$as_dir/ ;;
   6805   esac
   6806     for ac_exec_ext in '' $ac_executable_extensions; do
   6807   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6808     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6809     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6810     break 2
   6811   fi
   6812 done
   6813   done
   6814 IFS=$as_save_IFS
   6815 
   6816 fi
   6817 fi
   6818 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6819 if test -n "$ac_ct_RANLIB"; then
   6820   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6821 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6822 else
   6823   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6824 printf "%s\n" "no" >&6; }
   6825 fi
   6826 
   6827   if test "x$ac_ct_RANLIB" = x; then
   6828     RANLIB=":"
   6829   else
   6830     case $cross_compiling:$ac_tool_warned in
   6831 yes:)
   6832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6833 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6834 ac_tool_warned=yes ;;
   6835 esac
   6836     RANLIB=$ac_ct_RANLIB
   6837   fi
   6838 else
   6839   RANLIB="$ac_cv_prog_RANLIB"
   6840 fi
   6841 
   6842 test -z "$RANLIB" && RANLIB=:
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 # Determine commands to create old-style static archives.
   6850 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6851 old_postinstall_cmds='chmod 644 $oldlib'
   6852 old_postuninstall_cmds=
   6853 
   6854 if test -n "$RANLIB"; then
   6855   case $host_os in
   6856   bitrig* | openbsd*)
   6857     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6858     ;;
   6859   *)
   6860     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6861     ;;
   6862   esac
   6863   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6864 fi
   6865 
   6866 case $host_os in
   6867   darwin*)
   6868     lock_old_archive_extraction=yes ;;
   6869   *)
   6870     lock_old_archive_extraction=no ;;
   6871 esac
   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 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 # If no C compiler was specified, use CC.
   6912 LTCC=${LTCC-"$CC"}
   6913 
   6914 # If no C compiler flags were specified, use CFLAGS.
   6915 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6916 
   6917 # Allow CC to be a program name with arguments.
   6918 compiler=$CC
   6919 
   6920 
   6921 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6923 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6924 if test ${lt_cv_sys_global_symbol_pipe+y}
   6925 then :
   6926   printf %s "(cached) " >&6
   6927 else $as_nop
   6928 
   6929 # These are sane defaults that work on at least a few old systems.
   6930 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6931 
   6932 # Character class describing NM global symbol codes.
   6933 symcode='[BCDEGRST]'
   6934 
   6935 # Regexp to match symbols that can be accessed directly from C.
   6936 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6937 
   6938 # Define system-specific variables.
   6939 case $host_os in
   6940 aix*)
   6941   symcode='[BCDT]'
   6942   ;;
   6943 cygwin* | mingw* | pw32* | cegcc*)
   6944   symcode='[ABCDGISTW]'
   6945   ;;
   6946 hpux*)
   6947   if test ia64 = "$host_cpu"; then
   6948     symcode='[ABCDEGRST]'
   6949   fi
   6950   ;;
   6951 irix* | nonstopux*)
   6952   symcode='[BCDEGRST]'
   6953   ;;
   6954 osf*)
   6955   symcode='[BCDEGQRST]'
   6956   ;;
   6957 solaris*)
   6958   symcode='[BDRT]'
   6959   ;;
   6960 sco3.2v5*)
   6961   symcode='[DT]'
   6962   ;;
   6963 sysv4.2uw2*)
   6964   symcode='[DT]'
   6965   ;;
   6966 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6967   symcode='[ABDT]'
   6968   ;;
   6969 sysv4)
   6970   symcode='[DFNSTU]'
   6971   ;;
   6972 esac
   6973 
   6974 # If we're using GNU nm, then use its standard symbol codes.
   6975 case `$NM -V 2>&1` in
   6976 *GNU* | *'with BFD'*)
   6977   symcode='[ABCDGIRSTW]' ;;
   6978 esac
   6979 
   6980 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6981   # Gets list of data symbols to import.
   6982   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6983   # Adjust the below global symbol transforms to fixup imported variables.
   6984   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6985   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6986   lt_c_name_lib_hook="\
   6987   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6988   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6989 else
   6990   # Disable hooks by default.
   6991   lt_cv_sys_global_symbol_to_import=
   6992   lt_cdecl_hook=
   6993   lt_c_name_hook=
   6994   lt_c_name_lib_hook=
   6995 fi
   6996 
   6997 # Transform an extracted symbol line into a proper C declaration.
   6998 # Some systems (esp. on ia64) link data and code symbols differently,
   6999 # so use this general approach.
   7000 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7001 $lt_cdecl_hook\
   7002 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7003 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7004 
   7005 # Transform an extracted symbol line into symbol name and symbol address
   7006 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7007 $lt_c_name_hook\
   7008 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7009 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7010 
   7011 # Transform an extracted symbol line into symbol name with lib prefix and
   7012 # symbol address.
   7013 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7014 $lt_c_name_lib_hook\
   7015 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7016 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7017 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7018 
   7019 # Handle CRLF in mingw tool chain
   7020 opt_cr=
   7021 case $build_os in
   7022 mingw*)
   7023   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7024   ;;
   7025 esac
   7026 
   7027 # Try without a prefix underscore, then with it.
   7028 for ac_symprfx in "" "_"; do
   7029 
   7030   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7031   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7032 
   7033   # Write the raw and C identifiers.
   7034   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7035     # Fake it for dumpbin and say T for any non-static function,
   7036     # D for any global variable and I for any imported variable.
   7037     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7038     # which start with @ or ?.
   7039     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7040 "     {last_section=section; section=\$ 3};"\
   7041 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7042 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7043 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7044 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7045 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7046 "     \$ 0!~/External *\|/{next};"\
   7047 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7048 "     {if(hide[section]) next};"\
   7049 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7050 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7051 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7052 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7053 "     ' prfx=^$ac_symprfx"
   7054   else
   7055     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7056   fi
   7057   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7058 
   7059   # Check to see that the pipe works correctly.
   7060   pipe_works=no
   7061 
   7062   rm -f conftest*
   7063   cat > conftest.$ac_ext <<_LT_EOF
   7064 #ifdef __cplusplus
   7065 extern "C" {
   7066 #endif
   7067 char nm_test_var;
   7068 void nm_test_func(void);
   7069 void nm_test_func(void){}
   7070 #ifdef __cplusplus
   7071 }
   7072 #endif
   7073 int main(){nm_test_var='a';nm_test_func();return(0);}
   7074 _LT_EOF
   7075 
   7076   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7077   (eval $ac_compile) 2>&5
   7078   ac_status=$?
   7079   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7080   test $ac_status = 0; }; then
   7081     # Now try to grab the symbols.
   7082     nlist=conftest.nm
   7083     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7084   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7085   ac_status=$?
   7086   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7087   test $ac_status = 0; } && test -s "$nlist"; then
   7088       # Try sorting and uniquifying the output.
   7089       if sort "$nlist" | uniq > "$nlist"T; then
   7090 	mv -f "$nlist"T "$nlist"
   7091       else
   7092 	rm -f "$nlist"T
   7093       fi
   7094 
   7095       # Make sure that we snagged all the symbols we need.
   7096       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7097 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7098 	  cat <<_LT_EOF > conftest.$ac_ext
   7099 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7100 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7101 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7102    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7103 # define LT_DLSYM_CONST
   7104 #elif defined __osf__
   7105 /* This system does not cope well with relocations in const data.  */
   7106 # define LT_DLSYM_CONST
   7107 #else
   7108 # define LT_DLSYM_CONST const
   7109 #endif
   7110 
   7111 #ifdef __cplusplus
   7112 extern "C" {
   7113 #endif
   7114 
   7115 _LT_EOF
   7116 	  # Now generate the symbol file.
   7117 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7118 
   7119 	  cat <<_LT_EOF >> conftest.$ac_ext
   7120 
   7121 /* The mapping between symbol names and symbols.  */
   7122 LT_DLSYM_CONST struct {
   7123   const char *name;
   7124   void       *address;
   7125 }
   7126 lt__PROGRAM__LTX_preloaded_symbols[] =
   7127 {
   7128   { "@PROGRAM@", (void *) 0 },
   7129 _LT_EOF
   7130 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7131 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7132   {0, (void *) 0}
   7133 };
   7134 
   7135 /* This works around a problem in FreeBSD linker */
   7136 #ifdef FREEBSD_WORKAROUND
   7137 static const void *lt_preloaded_setup() {
   7138   return lt__PROGRAM__LTX_preloaded_symbols;
   7139 }
   7140 #endif
   7141 
   7142 #ifdef __cplusplus
   7143 }
   7144 #endif
   7145 _LT_EOF
   7146 	  # Now try linking the two files.
   7147 	  mv conftest.$ac_objext conftstm.$ac_objext
   7148 	  lt_globsym_save_LIBS=$LIBS
   7149 	  lt_globsym_save_CFLAGS=$CFLAGS
   7150 	  LIBS=conftstm.$ac_objext
   7151 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7152 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7153   (eval $ac_link) 2>&5
   7154   ac_status=$?
   7155   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7156   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7157 	    pipe_works=yes
   7158 	  fi
   7159 	  LIBS=$lt_globsym_save_LIBS
   7160 	  CFLAGS=$lt_globsym_save_CFLAGS
   7161 	else
   7162 	  echo "cannot find nm_test_func in $nlist" >&5
   7163 	fi
   7164       else
   7165 	echo "cannot find nm_test_var in $nlist" >&5
   7166       fi
   7167     else
   7168       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7169     fi
   7170   else
   7171     echo "$progname: failed program was:" >&5
   7172     cat conftest.$ac_ext >&5
   7173   fi
   7174   rm -rf conftest* conftst*
   7175 
   7176   # Do not use the global_symbol_pipe unless it works.
   7177   if test yes = "$pipe_works"; then
   7178     break
   7179   else
   7180     lt_cv_sys_global_symbol_pipe=
   7181   fi
   7182 done
   7183 
   7184 fi
   7185 
   7186 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7187   lt_cv_sys_global_symbol_to_cdecl=
   7188 fi
   7189 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7190   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7191 printf "%s\n" "failed" >&6; }
   7192 else
   7193   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7194 printf "%s\n" "ok" >&6; }
   7195 fi
   7196 
   7197 # Response file support.
   7198 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7199   nm_file_list_spec='@'
   7200 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7201   nm_file_list_spec='@'
   7202 fi
   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 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7241 printf %s "checking for sysroot... " >&6; }
   7242 
   7243 # Check whether --with-sysroot was given.
   7244 if test ${with_sysroot+y}
   7245 then :
   7246   withval=$with_sysroot;
   7247 else $as_nop
   7248   with_sysroot=no
   7249 fi
   7250 
   7251 
   7252 lt_sysroot=
   7253 case $with_sysroot in #(
   7254  yes)
   7255    if test yes = "$GCC"; then
   7256      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7257    fi
   7258    ;; #(
   7259  /*)
   7260    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7261    ;; #(
   7262  no|'')
   7263    ;; #(
   7264  *)
   7265    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7266 printf "%s\n" "$with_sysroot" >&6; }
   7267    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7268    ;;
   7269 esac
   7270 
   7271  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7272 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7279 printf %s "checking for a working dd... " >&6; }
   7280 if test ${ac_cv_path_lt_DD+y}
   7281 then :
   7282   printf %s "(cached) " >&6
   7283 else $as_nop
   7284   printf 0123456789abcdef0123456789abcdef >conftest.i
   7285 cat conftest.i conftest.i >conftest2.i
   7286 : ${lt_DD:=$DD}
   7287 if test -z "$lt_DD"; then
   7288   ac_path_lt_DD_found=false
   7289   # Loop through the user's path and test for each of PROGNAME-LIST
   7290   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7291 for as_dir in $PATH
   7292 do
   7293   IFS=$as_save_IFS
   7294   case $as_dir in #(((
   7295     '') as_dir=./ ;;
   7296     */) ;;
   7297     *) as_dir=$as_dir/ ;;
   7298   esac
   7299     for ac_prog in dd
   7300    do
   7301     for ac_exec_ext in '' $ac_executable_extensions; do
   7302       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7303       as_fn_executable_p "$ac_path_lt_DD" || continue
   7304 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7305   cmp -s conftest.i conftest.out \
   7306   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7307 fi
   7308       $ac_path_lt_DD_found && break 3
   7309     done
   7310   done
   7311   done
   7312 IFS=$as_save_IFS
   7313   if test -z "$ac_cv_path_lt_DD"; then
   7314     :
   7315   fi
   7316 else
   7317   ac_cv_path_lt_DD=$lt_DD
   7318 fi
   7319 
   7320 rm -f conftest.i conftest2.i conftest.out
   7321 fi
   7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7323 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7324 
   7325 
   7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7327 printf %s "checking how to truncate binary pipes... " >&6; }
   7328 if test ${lt_cv_truncate_bin+y}
   7329 then :
   7330   printf %s "(cached) " >&6
   7331 else $as_nop
   7332   printf 0123456789abcdef0123456789abcdef >conftest.i
   7333 cat conftest.i conftest.i >conftest2.i
   7334 lt_cv_truncate_bin=
   7335 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7336   cmp -s conftest.i conftest.out \
   7337   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7338 fi
   7339 rm -f conftest.i conftest2.i conftest.out
   7340 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7341 fi
   7342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7343 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7352 func_cc_basename ()
   7353 {
   7354     for cc_temp in $*""; do
   7355       case $cc_temp in
   7356         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7357         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7358         \-*) ;;
   7359         *) break;;
   7360       esac
   7361     done
   7362     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7363 }
   7364 
   7365 # Check whether --enable-libtool-lock was given.
   7366 if test ${enable_libtool_lock+y}
   7367 then :
   7368   enableval=$enable_libtool_lock;
   7369 fi
   7370 
   7371 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7372 
   7373 # Some flags need to be propagated to the compiler or linker for good
   7374 # libtool support.
   7375 case $host in
   7376 ia64-*-hpux*)
   7377   # Find out what ABI is being produced by ac_compile, and set mode
   7378   # options accordingly.
   7379   echo 'int i;' > conftest.$ac_ext
   7380   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7381   (eval $ac_compile) 2>&5
   7382   ac_status=$?
   7383   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7384   test $ac_status = 0; }; then
   7385     case `$FILECMD conftest.$ac_objext` in
   7386       *ELF-32*)
   7387 	HPUX_IA64_MODE=32
   7388 	;;
   7389       *ELF-64*)
   7390 	HPUX_IA64_MODE=64
   7391 	;;
   7392     esac
   7393   fi
   7394   rm -rf conftest*
   7395   ;;
   7396 *-*-irix6*)
   7397   # Find out what ABI is being produced by ac_compile, and set linker
   7398   # options accordingly.
   7399   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7400   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7401   (eval $ac_compile) 2>&5
   7402   ac_status=$?
   7403   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7404   test $ac_status = 0; }; then
   7405     if test yes = "$lt_cv_prog_gnu_ld"; then
   7406       case `$FILECMD conftest.$ac_objext` in
   7407 	*32-bit*)
   7408 	  LD="${LD-ld} -melf32bsmip"
   7409 	  ;;
   7410 	*N32*)
   7411 	  LD="${LD-ld} -melf32bmipn32"
   7412 	  ;;
   7413 	*64-bit*)
   7414 	  LD="${LD-ld} -melf64bmip"
   7415 	;;
   7416       esac
   7417     else
   7418       case `$FILECMD conftest.$ac_objext` in
   7419 	*32-bit*)
   7420 	  LD="${LD-ld} -32"
   7421 	  ;;
   7422 	*N32*)
   7423 	  LD="${LD-ld} -n32"
   7424 	  ;;
   7425 	*64-bit*)
   7426 	  LD="${LD-ld} -64"
   7427 	  ;;
   7428       esac
   7429     fi
   7430   fi
   7431   rm -rf conftest*
   7432   ;;
   7433 
   7434 mips64*-*linux*)
   7435   # Find out what ABI is being produced by ac_compile, and set linker
   7436   # options accordingly.
   7437   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7438   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7439   (eval $ac_compile) 2>&5
   7440   ac_status=$?
   7441   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7442   test $ac_status = 0; }; then
   7443     emul=elf
   7444     case `$FILECMD conftest.$ac_objext` in
   7445       *32-bit*)
   7446 	emul="${emul}32"
   7447 	;;
   7448       *64-bit*)
   7449 	emul="${emul}64"
   7450 	;;
   7451     esac
   7452     case `$FILECMD conftest.$ac_objext` in
   7453       *MSB*)
   7454 	emul="${emul}btsmip"
   7455 	;;
   7456       *LSB*)
   7457 	emul="${emul}ltsmip"
   7458 	;;
   7459     esac
   7460     case `$FILECMD conftest.$ac_objext` in
   7461       *N32*)
   7462 	emul="${emul}n32"
   7463 	;;
   7464     esac
   7465     LD="${LD-ld} -m $emul"
   7466   fi
   7467   rm -rf conftest*
   7468   ;;
   7469 
   7470 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7471 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7472   # Find out what ABI is being produced by ac_compile, and set linker
   7473   # options accordingly.  Note that the listed cases only cover the
   7474   # situations where additional linker options are needed (such as when
   7475   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7476   # vice versa); the common cases where no linker options are needed do
   7477   # not appear in the list.
   7478   echo 'int i;' > conftest.$ac_ext
   7479   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7480   (eval $ac_compile) 2>&5
   7481   ac_status=$?
   7482   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7483   test $ac_status = 0; }; then
   7484     case `$FILECMD conftest.o` in
   7485       *32-bit*)
   7486 	case $host in
   7487 	  x86_64-*kfreebsd*-gnu)
   7488 	    LD="${LD-ld} -m elf_i386_fbsd"
   7489 	    ;;
   7490 	  x86_64-*linux*)
   7491 	    case `$FILECMD conftest.o` in
   7492 	      *x86-64*)
   7493 		LD="${LD-ld} -m elf32_x86_64"
   7494 		;;
   7495 	      *)
   7496 		LD="${LD-ld} -m elf_i386"
   7497 		;;
   7498 	    esac
   7499 	    ;;
   7500 	  powerpc64le-*linux*)
   7501 	    LD="${LD-ld} -m elf32lppclinux"
   7502 	    ;;
   7503 	  powerpc64-*linux*)
   7504 	    LD="${LD-ld} -m elf32ppclinux"
   7505 	    ;;
   7506 	  s390x-*linux*)
   7507 	    LD="${LD-ld} -m elf_s390"
   7508 	    ;;
   7509 	  sparc64-*linux*)
   7510 	    LD="${LD-ld} -m elf32_sparc"
   7511 	    ;;
   7512 	esac
   7513 	;;
   7514       *64-bit*)
   7515 	case $host in
   7516 	  x86_64-*kfreebsd*-gnu)
   7517 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7518 	    ;;
   7519 	  x86_64-*linux*)
   7520 	    LD="${LD-ld} -m elf_x86_64"
   7521 	    ;;
   7522 	  powerpcle-*linux*|powerpc64le-*linux*)
   7523 	    LD="${LD-ld} -m elf64lppc"
   7524 	    ;;
   7525 	  powerpc-*linux*|powerpc64-*linux*)
   7526 	    LD="${LD-ld} -m elf64ppc"
   7527 	    ;;
   7528 	  s390*-*linux*|s390*-*tpf*)
   7529 	    LD="${LD-ld} -m elf64_s390"
   7530 	    ;;
   7531 	  sparc*-*linux*)
   7532 	    LD="${LD-ld} -m elf64_sparc"
   7533 	    ;;
   7534 	esac
   7535 	;;
   7536     esac
   7537   fi
   7538   rm -rf conftest*
   7539   ;;
   7540 
   7541 *-*-sco3.2v5*)
   7542   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7543   SAVE_CFLAGS=$CFLAGS
   7544   CFLAGS="$CFLAGS -belf"
   7545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7546 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7547 if test ${lt_cv_cc_needs_belf+y}
   7548 then :
   7549   printf %s "(cached) " >&6
   7550 else $as_nop
   7551   ac_ext=c
   7552 ac_cpp='$CPP $CPPFLAGS'
   7553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7556 
   7557      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7558 /* end confdefs.h.  */
   7559 
   7560 int
   7561 main (void)
   7562 {
   7563 
   7564   ;
   7565   return 0;
   7566 }
   7567 _ACEOF
   7568 if ac_fn_c_try_link "$LINENO"
   7569 then :
   7570   lt_cv_cc_needs_belf=yes
   7571 else $as_nop
   7572   lt_cv_cc_needs_belf=no
   7573 fi
   7574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7575     conftest$ac_exeext conftest.$ac_ext
   7576      ac_ext=c
   7577 ac_cpp='$CPP $CPPFLAGS'
   7578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7581 
   7582 fi
   7583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7584 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7585   if test yes != "$lt_cv_cc_needs_belf"; then
   7586     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7587     CFLAGS=$SAVE_CFLAGS
   7588   fi
   7589   ;;
   7590 *-*solaris*)
   7591   # Find out what ABI is being produced by ac_compile, and set linker
   7592   # options accordingly.
   7593   echo 'int i;' > conftest.$ac_ext
   7594   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7595   (eval $ac_compile) 2>&5
   7596   ac_status=$?
   7597   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7598   test $ac_status = 0; }; then
   7599     case `$FILECMD conftest.o` in
   7600     *64-bit*)
   7601       case $lt_cv_prog_gnu_ld in
   7602       yes*)
   7603         case $host in
   7604         i?86-*-solaris*|x86_64-*-solaris*)
   7605           LD="${LD-ld} -m elf_x86_64"
   7606           ;;
   7607         sparc*-*-solaris*)
   7608           LD="${LD-ld} -m elf64_sparc"
   7609           ;;
   7610         esac
   7611         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7612         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7613           LD=${LD-ld}_sol2
   7614         fi
   7615         ;;
   7616       *)
   7617 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7618 	  LD="${LD-ld} -64"
   7619 	fi
   7620 	;;
   7621       esac
   7622       ;;
   7623     esac
   7624   fi
   7625   rm -rf conftest*
   7626   ;;
   7627 esac
   7628 
   7629 need_locks=$enable_libtool_lock
   7630 
   7631 if test -n "$ac_tool_prefix"; then
   7632   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7633 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7635 printf %s "checking for $ac_word... " >&6; }
   7636 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7637 then :
   7638   printf %s "(cached) " >&6
   7639 else $as_nop
   7640   if test -n "$MANIFEST_TOOL"; then
   7641   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7642 else
   7643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7644 for as_dir in $PATH
   7645 do
   7646   IFS=$as_save_IFS
   7647   case $as_dir in #(((
   7648     '') as_dir=./ ;;
   7649     */) ;;
   7650     *) as_dir=$as_dir/ ;;
   7651   esac
   7652     for ac_exec_ext in '' $ac_executable_extensions; do
   7653   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7654     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7655     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7656     break 2
   7657   fi
   7658 done
   7659   done
   7660 IFS=$as_save_IFS
   7661 
   7662 fi
   7663 fi
   7664 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7665 if test -n "$MANIFEST_TOOL"; then
   7666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7667 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7668 else
   7669   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7670 printf "%s\n" "no" >&6; }
   7671 fi
   7672 
   7673 
   7674 fi
   7675 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7676   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7677   # Extract the first word of "mt", so it can be a program name with args.
   7678 set dummy mt; ac_word=$2
   7679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7680 printf %s "checking for $ac_word... " >&6; }
   7681 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7682 then :
   7683   printf %s "(cached) " >&6
   7684 else $as_nop
   7685   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7686   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7687 else
   7688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7689 for as_dir in $PATH
   7690 do
   7691   IFS=$as_save_IFS
   7692   case $as_dir in #(((
   7693     '') as_dir=./ ;;
   7694     */) ;;
   7695     *) as_dir=$as_dir/ ;;
   7696   esac
   7697     for ac_exec_ext in '' $ac_executable_extensions; do
   7698   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7699     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7700     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7701     break 2
   7702   fi
   7703 done
   7704   done
   7705 IFS=$as_save_IFS
   7706 
   7707 fi
   7708 fi
   7709 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7710 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7712 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7713 else
   7714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7715 printf "%s\n" "no" >&6; }
   7716 fi
   7717 
   7718   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7719     MANIFEST_TOOL=":"
   7720   else
   7721     case $cross_compiling:$ac_tool_warned in
   7722 yes:)
   7723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7724 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7725 ac_tool_warned=yes ;;
   7726 esac
   7727     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7728   fi
   7729 else
   7730   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7731 fi
   7732 
   7733 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7735 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7736 if test ${lt_cv_path_mainfest_tool+y}
   7737 then :
   7738   printf %s "(cached) " >&6
   7739 else $as_nop
   7740   lt_cv_path_mainfest_tool=no
   7741   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7742   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7743   cat conftest.err >&5
   7744   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7745     lt_cv_path_mainfest_tool=yes
   7746   fi
   7747   rm -f conftest*
   7748 fi
   7749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7750 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7751 if test yes != "$lt_cv_path_mainfest_tool"; then
   7752   MANIFEST_TOOL=:
   7753 fi
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760   case $host_os in
   7761     rhapsody* | darwin*)
   7762     if test -n "$ac_tool_prefix"; then
   7763   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7764 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7766 printf %s "checking for $ac_word... " >&6; }
   7767 if test ${ac_cv_prog_DSYMUTIL+y}
   7768 then :
   7769   printf %s "(cached) " >&6
   7770 else $as_nop
   7771   if test -n "$DSYMUTIL"; then
   7772   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7773 else
   7774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7775 for as_dir in $PATH
   7776 do
   7777   IFS=$as_save_IFS
   7778   case $as_dir in #(((
   7779     '') as_dir=./ ;;
   7780     */) ;;
   7781     *) as_dir=$as_dir/ ;;
   7782   esac
   7783     for ac_exec_ext in '' $ac_executable_extensions; do
   7784   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7785     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7786     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7787     break 2
   7788   fi
   7789 done
   7790   done
   7791 IFS=$as_save_IFS
   7792 
   7793 fi
   7794 fi
   7795 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7796 if test -n "$DSYMUTIL"; then
   7797   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7798 printf "%s\n" "$DSYMUTIL" >&6; }
   7799 else
   7800   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7801 printf "%s\n" "no" >&6; }
   7802 fi
   7803 
   7804 
   7805 fi
   7806 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7807   ac_ct_DSYMUTIL=$DSYMUTIL
   7808   # Extract the first word of "dsymutil", so it can be a program name with args.
   7809 set dummy dsymutil; ac_word=$2
   7810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7811 printf %s "checking for $ac_word... " >&6; }
   7812 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7813 then :
   7814   printf %s "(cached) " >&6
   7815 else $as_nop
   7816   if test -n "$ac_ct_DSYMUTIL"; then
   7817   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7818 else
   7819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7820 for as_dir in $PATH
   7821 do
   7822   IFS=$as_save_IFS
   7823   case $as_dir in #(((
   7824     '') as_dir=./ ;;
   7825     */) ;;
   7826     *) as_dir=$as_dir/ ;;
   7827   esac
   7828     for ac_exec_ext in '' $ac_executable_extensions; do
   7829   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7830     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7831     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7832     break 2
   7833   fi
   7834 done
   7835   done
   7836 IFS=$as_save_IFS
   7837 
   7838 fi
   7839 fi
   7840 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7841 if test -n "$ac_ct_DSYMUTIL"; then
   7842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7843 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7844 else
   7845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7846 printf "%s\n" "no" >&6; }
   7847 fi
   7848 
   7849   if test "x$ac_ct_DSYMUTIL" = x; then
   7850     DSYMUTIL=":"
   7851   else
   7852     case $cross_compiling:$ac_tool_warned in
   7853 yes:)
   7854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7855 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7856 ac_tool_warned=yes ;;
   7857 esac
   7858     DSYMUTIL=$ac_ct_DSYMUTIL
   7859   fi
   7860 else
   7861   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7862 fi
   7863 
   7864     if test -n "$ac_tool_prefix"; then
   7865   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7866 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7868 printf %s "checking for $ac_word... " >&6; }
   7869 if test ${ac_cv_prog_NMEDIT+y}
   7870 then :
   7871   printf %s "(cached) " >&6
   7872 else $as_nop
   7873   if test -n "$NMEDIT"; then
   7874   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7875 else
   7876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7877 for as_dir in $PATH
   7878 do
   7879   IFS=$as_save_IFS
   7880   case $as_dir in #(((
   7881     '') as_dir=./ ;;
   7882     */) ;;
   7883     *) as_dir=$as_dir/ ;;
   7884   esac
   7885     for ac_exec_ext in '' $ac_executable_extensions; do
   7886   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7887     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7888     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7889     break 2
   7890   fi
   7891 done
   7892   done
   7893 IFS=$as_save_IFS
   7894 
   7895 fi
   7896 fi
   7897 NMEDIT=$ac_cv_prog_NMEDIT
   7898 if test -n "$NMEDIT"; then
   7899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7900 printf "%s\n" "$NMEDIT" >&6; }
   7901 else
   7902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7903 printf "%s\n" "no" >&6; }
   7904 fi
   7905 
   7906 
   7907 fi
   7908 if test -z "$ac_cv_prog_NMEDIT"; then
   7909   ac_ct_NMEDIT=$NMEDIT
   7910   # Extract the first word of "nmedit", so it can be a program name with args.
   7911 set dummy nmedit; ac_word=$2
   7912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7913 printf %s "checking for $ac_word... " >&6; }
   7914 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7915 then :
   7916   printf %s "(cached) " >&6
   7917 else $as_nop
   7918   if test -n "$ac_ct_NMEDIT"; then
   7919   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7920 else
   7921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7922 for as_dir in $PATH
   7923 do
   7924   IFS=$as_save_IFS
   7925   case $as_dir in #(((
   7926     '') as_dir=./ ;;
   7927     */) ;;
   7928     *) as_dir=$as_dir/ ;;
   7929   esac
   7930     for ac_exec_ext in '' $ac_executable_extensions; do
   7931   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7932     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7933     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7934     break 2
   7935   fi
   7936 done
   7937   done
   7938 IFS=$as_save_IFS
   7939 
   7940 fi
   7941 fi
   7942 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7943 if test -n "$ac_ct_NMEDIT"; then
   7944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7945 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7946 else
   7947   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7948 printf "%s\n" "no" >&6; }
   7949 fi
   7950 
   7951   if test "x$ac_ct_NMEDIT" = x; then
   7952     NMEDIT=":"
   7953   else
   7954     case $cross_compiling:$ac_tool_warned in
   7955 yes:)
   7956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7957 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7958 ac_tool_warned=yes ;;
   7959 esac
   7960     NMEDIT=$ac_ct_NMEDIT
   7961   fi
   7962 else
   7963   NMEDIT="$ac_cv_prog_NMEDIT"
   7964 fi
   7965 
   7966     if test -n "$ac_tool_prefix"; then
   7967   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7968 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7970 printf %s "checking for $ac_word... " >&6; }
   7971 if test ${ac_cv_prog_LIPO+y}
   7972 then :
   7973   printf %s "(cached) " >&6
   7974 else $as_nop
   7975   if test -n "$LIPO"; then
   7976   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7977 else
   7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7979 for as_dir in $PATH
   7980 do
   7981   IFS=$as_save_IFS
   7982   case $as_dir in #(((
   7983     '') as_dir=./ ;;
   7984     */) ;;
   7985     *) as_dir=$as_dir/ ;;
   7986   esac
   7987     for ac_exec_ext in '' $ac_executable_extensions; do
   7988   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7989     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7990     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7991     break 2
   7992   fi
   7993 done
   7994   done
   7995 IFS=$as_save_IFS
   7996 
   7997 fi
   7998 fi
   7999 LIPO=$ac_cv_prog_LIPO
   8000 if test -n "$LIPO"; then
   8001   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8002 printf "%s\n" "$LIPO" >&6; }
   8003 else
   8004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8005 printf "%s\n" "no" >&6; }
   8006 fi
   8007 
   8008 
   8009 fi
   8010 if test -z "$ac_cv_prog_LIPO"; then
   8011   ac_ct_LIPO=$LIPO
   8012   # Extract the first word of "lipo", so it can be a program name with args.
   8013 set dummy lipo; ac_word=$2
   8014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8015 printf %s "checking for $ac_word... " >&6; }
   8016 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8017 then :
   8018   printf %s "(cached) " >&6
   8019 else $as_nop
   8020   if test -n "$ac_ct_LIPO"; then
   8021   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8022 else
   8023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8024 for as_dir in $PATH
   8025 do
   8026   IFS=$as_save_IFS
   8027   case $as_dir in #(((
   8028     '') as_dir=./ ;;
   8029     */) ;;
   8030     *) as_dir=$as_dir/ ;;
   8031   esac
   8032     for ac_exec_ext in '' $ac_executable_extensions; do
   8033   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8034     ac_cv_prog_ac_ct_LIPO="lipo"
   8035     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8036     break 2
   8037   fi
   8038 done
   8039   done
   8040 IFS=$as_save_IFS
   8041 
   8042 fi
   8043 fi
   8044 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8045 if test -n "$ac_ct_LIPO"; then
   8046   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8047 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8048 else
   8049   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8050 printf "%s\n" "no" >&6; }
   8051 fi
   8052 
   8053   if test "x$ac_ct_LIPO" = x; then
   8054     LIPO=":"
   8055   else
   8056     case $cross_compiling:$ac_tool_warned in
   8057 yes:)
   8058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8059 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8060 ac_tool_warned=yes ;;
   8061 esac
   8062     LIPO=$ac_ct_LIPO
   8063   fi
   8064 else
   8065   LIPO="$ac_cv_prog_LIPO"
   8066 fi
   8067 
   8068     if test -n "$ac_tool_prefix"; then
   8069   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8070 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8072 printf %s "checking for $ac_word... " >&6; }
   8073 if test ${ac_cv_prog_OTOOL+y}
   8074 then :
   8075   printf %s "(cached) " >&6
   8076 else $as_nop
   8077   if test -n "$OTOOL"; then
   8078   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8079 else
   8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8081 for as_dir in $PATH
   8082 do
   8083   IFS=$as_save_IFS
   8084   case $as_dir in #(((
   8085     '') as_dir=./ ;;
   8086     */) ;;
   8087     *) as_dir=$as_dir/ ;;
   8088   esac
   8089     for ac_exec_ext in '' $ac_executable_extensions; do
   8090   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8091     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8092     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8093     break 2
   8094   fi
   8095 done
   8096   done
   8097 IFS=$as_save_IFS
   8098 
   8099 fi
   8100 fi
   8101 OTOOL=$ac_cv_prog_OTOOL
   8102 if test -n "$OTOOL"; then
   8103   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8104 printf "%s\n" "$OTOOL" >&6; }
   8105 else
   8106   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8107 printf "%s\n" "no" >&6; }
   8108 fi
   8109 
   8110 
   8111 fi
   8112 if test -z "$ac_cv_prog_OTOOL"; then
   8113   ac_ct_OTOOL=$OTOOL
   8114   # Extract the first word of "otool", so it can be a program name with args.
   8115 set dummy otool; ac_word=$2
   8116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8117 printf %s "checking for $ac_word... " >&6; }
   8118 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8119 then :
   8120   printf %s "(cached) " >&6
   8121 else $as_nop
   8122   if test -n "$ac_ct_OTOOL"; then
   8123   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8124 else
   8125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8126 for as_dir in $PATH
   8127 do
   8128   IFS=$as_save_IFS
   8129   case $as_dir in #(((
   8130     '') as_dir=./ ;;
   8131     */) ;;
   8132     *) as_dir=$as_dir/ ;;
   8133   esac
   8134     for ac_exec_ext in '' $ac_executable_extensions; do
   8135   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8136     ac_cv_prog_ac_ct_OTOOL="otool"
   8137     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8138     break 2
   8139   fi
   8140 done
   8141   done
   8142 IFS=$as_save_IFS
   8143 
   8144 fi
   8145 fi
   8146 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8147 if test -n "$ac_ct_OTOOL"; then
   8148   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8149 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8150 else
   8151   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8152 printf "%s\n" "no" >&6; }
   8153 fi
   8154 
   8155   if test "x$ac_ct_OTOOL" = x; then
   8156     OTOOL=":"
   8157   else
   8158     case $cross_compiling:$ac_tool_warned in
   8159 yes:)
   8160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8161 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8162 ac_tool_warned=yes ;;
   8163 esac
   8164     OTOOL=$ac_ct_OTOOL
   8165   fi
   8166 else
   8167   OTOOL="$ac_cv_prog_OTOOL"
   8168 fi
   8169 
   8170     if test -n "$ac_tool_prefix"; then
   8171   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8172 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8174 printf %s "checking for $ac_word... " >&6; }
   8175 if test ${ac_cv_prog_OTOOL64+y}
   8176 then :
   8177   printf %s "(cached) " >&6
   8178 else $as_nop
   8179   if test -n "$OTOOL64"; then
   8180   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8181 else
   8182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8183 for as_dir in $PATH
   8184 do
   8185   IFS=$as_save_IFS
   8186   case $as_dir in #(((
   8187     '') as_dir=./ ;;
   8188     */) ;;
   8189     *) as_dir=$as_dir/ ;;
   8190   esac
   8191     for ac_exec_ext in '' $ac_executable_extensions; do
   8192   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8193     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8194     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8195     break 2
   8196   fi
   8197 done
   8198   done
   8199 IFS=$as_save_IFS
   8200 
   8201 fi
   8202 fi
   8203 OTOOL64=$ac_cv_prog_OTOOL64
   8204 if test -n "$OTOOL64"; then
   8205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8206 printf "%s\n" "$OTOOL64" >&6; }
   8207 else
   8208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8209 printf "%s\n" "no" >&6; }
   8210 fi
   8211 
   8212 
   8213 fi
   8214 if test -z "$ac_cv_prog_OTOOL64"; then
   8215   ac_ct_OTOOL64=$OTOOL64
   8216   # Extract the first word of "otool64", so it can be a program name with args.
   8217 set dummy otool64; ac_word=$2
   8218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8219 printf %s "checking for $ac_word... " >&6; }
   8220 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8221 then :
   8222   printf %s "(cached) " >&6
   8223 else $as_nop
   8224   if test -n "$ac_ct_OTOOL64"; then
   8225   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8226 else
   8227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8228 for as_dir in $PATH
   8229 do
   8230   IFS=$as_save_IFS
   8231   case $as_dir in #(((
   8232     '') as_dir=./ ;;
   8233     */) ;;
   8234     *) as_dir=$as_dir/ ;;
   8235   esac
   8236     for ac_exec_ext in '' $ac_executable_extensions; do
   8237   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8238     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8239     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8240     break 2
   8241   fi
   8242 done
   8243   done
   8244 IFS=$as_save_IFS
   8245 
   8246 fi
   8247 fi
   8248 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8249 if test -n "$ac_ct_OTOOL64"; then
   8250   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8251 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8252 else
   8253   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8254 printf "%s\n" "no" >&6; }
   8255 fi
   8256 
   8257   if test "x$ac_ct_OTOOL64" = x; then
   8258     OTOOL64=":"
   8259   else
   8260     case $cross_compiling:$ac_tool_warned in
   8261 yes:)
   8262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8263 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8264 ac_tool_warned=yes ;;
   8265 esac
   8266     OTOOL64=$ac_ct_OTOOL64
   8267   fi
   8268 else
   8269   OTOOL64="$ac_cv_prog_OTOOL64"
   8270 fi
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 
   8298     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8299 printf %s "checking for -single_module linker flag... " >&6; }
   8300 if test ${lt_cv_apple_cc_single_mod+y}
   8301 then :
   8302   printf %s "(cached) " >&6
   8303 else $as_nop
   8304   lt_cv_apple_cc_single_mod=no
   8305       if test -z "$LT_MULTI_MODULE"; then
   8306 	# By default we will add the -single_module flag. You can override
   8307 	# by either setting the environment variable LT_MULTI_MODULE
   8308 	# non-empty at configure time, or by adding -multi_module to the
   8309 	# link flags.
   8310 	rm -rf libconftest.dylib*
   8311 	echo "int foo(void){return 1;}" > conftest.c
   8312 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8313 -dynamiclib -Wl,-single_module conftest.c" >&5
   8314 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8315 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8316         _lt_result=$?
   8317 	# If there is a non-empty error log, and "single_module"
   8318 	# appears in it, assume the flag caused a linker warning
   8319         if test -s conftest.err && $GREP single_module conftest.err; then
   8320 	  cat conftest.err >&5
   8321 	# Otherwise, if the output was created with a 0 exit code from
   8322 	# the compiler, it worked.
   8323 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8324 	  lt_cv_apple_cc_single_mod=yes
   8325 	else
   8326 	  cat conftest.err >&5
   8327 	fi
   8328 	rm -rf libconftest.dylib*
   8329 	rm -f conftest.*
   8330       fi
   8331 fi
   8332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8333 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8334 
   8335     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8336 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8337 if test ${lt_cv_ld_exported_symbols_list+y}
   8338 then :
   8339   printf %s "(cached) " >&6
   8340 else $as_nop
   8341   lt_cv_ld_exported_symbols_list=no
   8342       save_LDFLAGS=$LDFLAGS
   8343       echo "_main" > conftest.sym
   8344       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8345       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8346 /* end confdefs.h.  */
   8347 
   8348 int
   8349 main (void)
   8350 {
   8351 
   8352   ;
   8353   return 0;
   8354 }
   8355 _ACEOF
   8356 if ac_fn_c_try_link "$LINENO"
   8357 then :
   8358   lt_cv_ld_exported_symbols_list=yes
   8359 else $as_nop
   8360   lt_cv_ld_exported_symbols_list=no
   8361 fi
   8362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8363     conftest$ac_exeext conftest.$ac_ext
   8364 	LDFLAGS=$save_LDFLAGS
   8365 
   8366 fi
   8367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8368 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8369 
   8370     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8371 printf %s "checking for -force_load linker flag... " >&6; }
   8372 if test ${lt_cv_ld_force_load+y}
   8373 then :
   8374   printf %s "(cached) " >&6
   8375 else $as_nop
   8376   lt_cv_ld_force_load=no
   8377       cat > conftest.c << _LT_EOF
   8378 int forced_loaded() { return 2;}
   8379 _LT_EOF
   8380       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8381       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8382       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8383       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8384       echo "$RANLIB libconftest.a" >&5
   8385       $RANLIB libconftest.a 2>&5
   8386       cat > conftest.c << _LT_EOF
   8387 int main() { return 0;}
   8388 _LT_EOF
   8389       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8390       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8391       _lt_result=$?
   8392       if test -s conftest.err && $GREP force_load conftest.err; then
   8393 	cat conftest.err >&5
   8394       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8395 	lt_cv_ld_force_load=yes
   8396       else
   8397 	cat conftest.err >&5
   8398       fi
   8399         rm -f conftest.err libconftest.a conftest conftest.c
   8400         rm -rf conftest.dSYM
   8401 
   8402 fi
   8403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8404 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8405     case $host_os in
   8406     rhapsody* | darwin1.[012])
   8407       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8408     darwin1.*)
   8409       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8410     darwin*)
   8411       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8412         10.[012],*|,*powerpc*-darwin[5-8]*)
   8413           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8414         *)
   8415           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8416       esac
   8417     ;;
   8418   esac
   8419     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8420       _lt_dar_single_mod='$single_module'
   8421     fi
   8422     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8423       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8424     else
   8425       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8426     fi
   8427     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8428       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8429     else
   8430       _lt_dsymutil=
   8431     fi
   8432     ;;
   8433   esac
   8434 
   8435 # func_munge_path_list VARIABLE PATH
   8436 # -----------------------------------
   8437 # VARIABLE is name of variable containing _space_ separated list of
   8438 # directories to be munged by the contents of PATH, which is string
   8439 # having a format:
   8440 # "DIR[:DIR]:"
   8441 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8442 # ":DIR[:DIR]"
   8443 #       string "DIR[ DIR]" will be appended to VARIABLE
   8444 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8445 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8446 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8447 # "DIR[:DIR]"
   8448 #       VARIABLE will be replaced by "DIR[ DIR]"
   8449 func_munge_path_list ()
   8450 {
   8451     case x$2 in
   8452     x)
   8453         ;;
   8454     *:)
   8455         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8456         ;;
   8457     x:*)
   8458         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8459         ;;
   8460     *::*)
   8461         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8462         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8463         ;;
   8464     *)
   8465         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8466         ;;
   8467     esac
   8468 }
   8469 
   8470 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8471 "
   8472 if test "x$ac_cv_header_dlfcn_h" = xyes
   8473 then :
   8474   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8475 
   8476 fi
   8477 
   8478 
   8479 
   8480 
   8481 
   8482 # Set options
   8483 
   8484 
   8485 
   8486         enable_dlopen=no
   8487 
   8488 
   8489   enable_win32_dll=no
   8490 
   8491 
   8492             # Check whether --enable-shared was given.
   8493 if test ${enable_shared+y}
   8494 then :
   8495   enableval=$enable_shared; p=${PACKAGE-default}
   8496     case $enableval in
   8497     yes) enable_shared=yes ;;
   8498     no) enable_shared=no ;;
   8499     *)
   8500       enable_shared=no
   8501       # Look at the argument we got.  We use all the common list separators.
   8502       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8503       for pkg in $enableval; do
   8504 	IFS=$lt_save_ifs
   8505 	if test "X$pkg" = "X$p"; then
   8506 	  enable_shared=yes
   8507 	fi
   8508       done
   8509       IFS=$lt_save_ifs
   8510       ;;
   8511     esac
   8512 else $as_nop
   8513   enable_shared=yes
   8514 fi
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524   # Check whether --enable-static was given.
   8525 if test ${enable_static+y}
   8526 then :
   8527   enableval=$enable_static; p=${PACKAGE-default}
   8528     case $enableval in
   8529     yes) enable_static=yes ;;
   8530     no) enable_static=no ;;
   8531     *)
   8532      enable_static=no
   8533       # Look at the argument we got.  We use all the common list separators.
   8534       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8535       for pkg in $enableval; do
   8536 	IFS=$lt_save_ifs
   8537 	if test "X$pkg" = "X$p"; then
   8538 	  enable_static=yes
   8539 	fi
   8540       done
   8541       IFS=$lt_save_ifs
   8542       ;;
   8543     esac
   8544 else $as_nop
   8545   enable_static=yes
   8546 fi
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 # Check whether --with-pic was given.
   8558 if test ${with_pic+y}
   8559 then :
   8560   withval=$with_pic; lt_p=${PACKAGE-default}
   8561     case $withval in
   8562     yes|no) pic_mode=$withval ;;
   8563     *)
   8564       pic_mode=default
   8565       # Look at the argument we got.  We use all the common list separators.
   8566       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8567       for lt_pkg in $withval; do
   8568 	IFS=$lt_save_ifs
   8569 	if test "X$lt_pkg" = "X$lt_p"; then
   8570 	  pic_mode=yes
   8571 	fi
   8572       done
   8573       IFS=$lt_save_ifs
   8574       ;;
   8575     esac
   8576 else $as_nop
   8577   pic_mode=default
   8578 fi
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587   # Check whether --enable-fast-install was given.
   8588 if test ${enable_fast_install+y}
   8589 then :
   8590   enableval=$enable_fast_install; p=${PACKAGE-default}
   8591     case $enableval in
   8592     yes) enable_fast_install=yes ;;
   8593     no) enable_fast_install=no ;;
   8594     *)
   8595       enable_fast_install=no
   8596       # Look at the argument we got.  We use all the common list separators.
   8597       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8598       for pkg in $enableval; do
   8599 	IFS=$lt_save_ifs
   8600 	if test "X$pkg" = "X$p"; then
   8601 	  enable_fast_install=yes
   8602 	fi
   8603       done
   8604       IFS=$lt_save_ifs
   8605       ;;
   8606     esac
   8607 else $as_nop
   8608   enable_fast_install=yes
   8609 fi
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618   shared_archive_member_spec=
   8619 case $host,$enable_shared in
   8620 power*-*-aix[5-9]*,yes)
   8621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8622 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8623 
   8624 # Check whether --with-aix-soname was given.
   8625 if test ${with_aix_soname+y}
   8626 then :
   8627   withval=$with_aix_soname; case $withval in
   8628     aix|svr4|both)
   8629       ;;
   8630     *)
   8631       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8632       ;;
   8633     esac
   8634     lt_cv_with_aix_soname=$with_aix_soname
   8635 else $as_nop
   8636   if test ${lt_cv_with_aix_soname+y}
   8637 then :
   8638   printf %s "(cached) " >&6
   8639 else $as_nop
   8640   lt_cv_with_aix_soname=aix
   8641 fi
   8642 
   8643     with_aix_soname=$lt_cv_with_aix_soname
   8644 fi
   8645 
   8646   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8647 printf "%s\n" "$with_aix_soname" >&6; }
   8648   if test aix != "$with_aix_soname"; then
   8649     # For the AIX way of multilib, we name the shared archive member
   8650     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8651     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8652     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8653     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8654     if test 64 = "${OBJECT_MODE-32}"; then
   8655       shared_archive_member_spec=shr_64
   8656     else
   8657       shared_archive_member_spec=shr
   8658     fi
   8659   fi
   8660   ;;
   8661 *)
   8662   with_aix_soname=aix
   8663   ;;
   8664 esac
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 # This can be used to rebuild libtool when needed
   8676 LIBTOOL_DEPS=$ltmain
   8677 
   8678 # Always use our own libtool.
   8679 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 test -z "$LN_S" && LN_S="ln -s"
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 if test -n "${ZSH_VERSION+set}"; then
   8726    setopt NO_GLOB_SUBST
   8727 fi
   8728 
   8729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8730 printf %s "checking for objdir... " >&6; }
   8731 if test ${lt_cv_objdir+y}
   8732 then :
   8733   printf %s "(cached) " >&6
   8734 else $as_nop
   8735   rm -f .libs 2>/dev/null
   8736 mkdir .libs 2>/dev/null
   8737 if test -d .libs; then
   8738   lt_cv_objdir=.libs
   8739 else
   8740   # MS-DOS does not allow filenames that begin with a dot.
   8741   lt_cv_objdir=_libs
   8742 fi
   8743 rmdir .libs 2>/dev/null
   8744 fi
   8745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8746 printf "%s\n" "$lt_cv_objdir" >&6; }
   8747 objdir=$lt_cv_objdir
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8754 
   8755 
   8756 
   8757 
   8758 case $host_os in
   8759 aix3*)
   8760   # AIX sometimes has problems with the GCC collect2 program.  For some
   8761   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8762   # vanish in a puff of smoke.
   8763   if test set != "${COLLECT_NAMES+set}"; then
   8764     COLLECT_NAMES=
   8765     export COLLECT_NAMES
   8766   fi
   8767   ;;
   8768 esac
   8769 
   8770 # Global variables:
   8771 ofile=libtool
   8772 can_build_shared=yes
   8773 
   8774 # All known linkers require a '.a' archive for static linking (except MSVC and
   8775 # ICC, which need '.lib').
   8776 libext=a
   8777 
   8778 with_gnu_ld=$lt_cv_prog_gnu_ld
   8779 
   8780 old_CC=$CC
   8781 old_CFLAGS=$CFLAGS
   8782 
   8783 # Set sane defaults for various variables
   8784 test -z "$CC" && CC=cc
   8785 test -z "$LTCC" && LTCC=$CC
   8786 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8787 test -z "$LD" && LD=ld
   8788 test -z "$ac_objext" && ac_objext=o
   8789 
   8790 func_cc_basename $compiler
   8791 cc_basename=$func_cc_basename_result
   8792 
   8793 
   8794 # Only perform the check for file, if the check method requires it
   8795 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8796 case $deplibs_check_method in
   8797 file_magic*)
   8798   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8799     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8800 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8801 if test ${lt_cv_path_MAGIC_CMD+y}
   8802 then :
   8803   printf %s "(cached) " >&6
   8804 else $as_nop
   8805   case $MAGIC_CMD in
   8806 [\\/*] |  ?:[\\/]*)
   8807   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8808   ;;
   8809 *)
   8810   lt_save_MAGIC_CMD=$MAGIC_CMD
   8811   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8812   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8813   for ac_dir in $ac_dummy; do
   8814     IFS=$lt_save_ifs
   8815     test -z "$ac_dir" && ac_dir=.
   8816     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8817       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8818       if test -n "$file_magic_test_file"; then
   8819 	case $deplibs_check_method in
   8820 	"file_magic "*)
   8821 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8822 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8823 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8824 	    $EGREP "$file_magic_regex" > /dev/null; then
   8825 	    :
   8826 	  else
   8827 	    cat <<_LT_EOF 1>&2
   8828 
   8829 *** Warning: the command libtool uses to detect shared libraries,
   8830 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8831 *** The result is that libtool may fail to recognize shared libraries
   8832 *** as such.  This will affect the creation of libtool libraries that
   8833 *** depend on shared libraries, but programs linked with such libtool
   8834 *** libraries will work regardless of this problem.  Nevertheless, you
   8835 *** may want to report the problem to your system manager and/or to
   8836 *** bug-libtool@gnu.org
   8837 
   8838 _LT_EOF
   8839 	  fi ;;
   8840 	esac
   8841       fi
   8842       break
   8843     fi
   8844   done
   8845   IFS=$lt_save_ifs
   8846   MAGIC_CMD=$lt_save_MAGIC_CMD
   8847   ;;
   8848 esac
   8849 fi
   8850 
   8851 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8852 if test -n "$MAGIC_CMD"; then
   8853   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8854 printf "%s\n" "$MAGIC_CMD" >&6; }
   8855 else
   8856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8857 printf "%s\n" "no" >&6; }
   8858 fi
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8865   if test -n "$ac_tool_prefix"; then
   8866     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8867 printf %s "checking for file... " >&6; }
   8868 if test ${lt_cv_path_MAGIC_CMD+y}
   8869 then :
   8870   printf %s "(cached) " >&6
   8871 else $as_nop
   8872   case $MAGIC_CMD in
   8873 [\\/*] |  ?:[\\/]*)
   8874   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8875   ;;
   8876 *)
   8877   lt_save_MAGIC_CMD=$MAGIC_CMD
   8878   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8879   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8880   for ac_dir in $ac_dummy; do
   8881     IFS=$lt_save_ifs
   8882     test -z "$ac_dir" && ac_dir=.
   8883     if test -f "$ac_dir/file"; then
   8884       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8885       if test -n "$file_magic_test_file"; then
   8886 	case $deplibs_check_method in
   8887 	"file_magic "*)
   8888 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8889 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8890 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8891 	    $EGREP "$file_magic_regex" > /dev/null; then
   8892 	    :
   8893 	  else
   8894 	    cat <<_LT_EOF 1>&2
   8895 
   8896 *** Warning: the command libtool uses to detect shared libraries,
   8897 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8898 *** The result is that libtool may fail to recognize shared libraries
   8899 *** as such.  This will affect the creation of libtool libraries that
   8900 *** depend on shared libraries, but programs linked with such libtool
   8901 *** libraries will work regardless of this problem.  Nevertheless, you
   8902 *** may want to report the problem to your system manager and/or to
   8903 *** bug-libtool@gnu.org
   8904 
   8905 _LT_EOF
   8906 	  fi ;;
   8907 	esac
   8908       fi
   8909       break
   8910     fi
   8911   done
   8912   IFS=$lt_save_ifs
   8913   MAGIC_CMD=$lt_save_MAGIC_CMD
   8914   ;;
   8915 esac
   8916 fi
   8917 
   8918 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8919 if test -n "$MAGIC_CMD"; then
   8920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8921 printf "%s\n" "$MAGIC_CMD" >&6; }
   8922 else
   8923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8924 printf "%s\n" "no" >&6; }
   8925 fi
   8926 
   8927 
   8928   else
   8929     MAGIC_CMD=:
   8930   fi
   8931 fi
   8932 
   8933   fi
   8934   ;;
   8935 esac
   8936 
   8937 # Use C for the default configuration in the libtool script
   8938 
   8939 lt_save_CC=$CC
   8940 ac_ext=c
   8941 ac_cpp='$CPP $CPPFLAGS'
   8942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8945 
   8946 
   8947 # Source file extension for C test sources.
   8948 ac_ext=c
   8949 
   8950 # Object file extension for compiled C test sources.
   8951 objext=o
   8952 objext=$objext
   8953 
   8954 # Code to be used in simple compile tests
   8955 lt_simple_compile_test_code="int some_variable = 0;"
   8956 
   8957 # Code to be used in simple link tests
   8958 lt_simple_link_test_code='int main(){return(0);}'
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 # If no C compiler was specified, use CC.
   8967 LTCC=${LTCC-"$CC"}
   8968 
   8969 # If no C compiler flags were specified, use CFLAGS.
   8970 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8971 
   8972 # Allow CC to be a program name with arguments.
   8973 compiler=$CC
   8974 
   8975 # Save the default compiler, since it gets overwritten when the other
   8976 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8977 compiler_DEFAULT=$CC
   8978 
   8979 # save warnings/boilerplate of simple test code
   8980 ac_outfile=conftest.$ac_objext
   8981 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8982 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8983 _lt_compiler_boilerplate=`cat conftest.err`
   8984 $RM conftest*
   8985 
   8986 ac_outfile=conftest.$ac_objext
   8987 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8988 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8989 _lt_linker_boilerplate=`cat conftest.err`
   8990 $RM -r conftest*
   8991 
   8992 
   8993 if test -n "$compiler"; then
   8994 
   8995 lt_prog_compiler_no_builtin_flag=
   8996 
   8997 if test yes = "$GCC"; then
   8998   case $cc_basename in
   8999   nvcc*)
   9000     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9001   *)
   9002     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9003   esac
   9004 
   9005   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9006 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9007 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9008 then :
   9009   printf %s "(cached) " >&6
   9010 else $as_nop
   9011   lt_cv_prog_compiler_rtti_exceptions=no
   9012    ac_outfile=conftest.$ac_objext
   9013    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9014    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9015    # Insert the option either (1) after the last *FLAGS variable, or
   9016    # (2) before a word containing "conftest.", or (3) at the end.
   9017    # Note that $ac_compile itself does not contain backslashes and begins
   9018    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9019    # The option is referenced via a variable to avoid confusing sed.
   9020    lt_compile=`echo "$ac_compile" | $SED \
   9021    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9022    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9023    -e 's:$: $lt_compiler_flag:'`
   9024    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9025    (eval "$lt_compile" 2>conftest.err)
   9026    ac_status=$?
   9027    cat conftest.err >&5
   9028    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9029    if (exit $ac_status) && test -s "$ac_outfile"; then
   9030      # The compiler can only warn and ignore the option if not recognized
   9031      # So say no if there are warnings other than the usual output.
   9032      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9033      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9034      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9035        lt_cv_prog_compiler_rtti_exceptions=yes
   9036      fi
   9037    fi
   9038    $RM conftest*
   9039 
   9040 fi
   9041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9042 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9043 
   9044 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9045     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9046 else
   9047     :
   9048 fi
   9049 
   9050 fi
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057   lt_prog_compiler_wl=
   9058 lt_prog_compiler_pic=
   9059 lt_prog_compiler_static=
   9060 
   9061 
   9062   if test yes = "$GCC"; then
   9063     lt_prog_compiler_wl='-Wl,'
   9064     lt_prog_compiler_static='-static'
   9065 
   9066     case $host_os in
   9067       aix*)
   9068       # All AIX code is PIC.
   9069       if test ia64 = "$host_cpu"; then
   9070 	# AIX 5 now supports IA64 processor
   9071 	lt_prog_compiler_static='-Bstatic'
   9072       fi
   9073       lt_prog_compiler_pic='-fPIC'
   9074       ;;
   9075 
   9076     amigaos*)
   9077       case $host_cpu in
   9078       powerpc)
   9079             # see comment about AmigaOS4 .so support
   9080             lt_prog_compiler_pic='-fPIC'
   9081         ;;
   9082       m68k)
   9083             # FIXME: we need at least 68020 code to build shared libraries, but
   9084             # adding the '-m68020' flag to GCC prevents building anything better,
   9085             # like '-m68040'.
   9086             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9087         ;;
   9088       esac
   9089       ;;
   9090 
   9091     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9092       # PIC is the default for these OSes.
   9093       ;;
   9094 
   9095     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9096       # This hack is so that the source file can tell whether it is being
   9097       # built for inclusion in a dll (and should export symbols for example).
   9098       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9099       # (--disable-auto-import) libraries
   9100       lt_prog_compiler_pic='-DDLL_EXPORT'
   9101       case $host_os in
   9102       os2*)
   9103 	lt_prog_compiler_static='$wl-static'
   9104 	;;
   9105       esac
   9106       ;;
   9107 
   9108     darwin* | rhapsody*)
   9109       # PIC is the default on this platform
   9110       # Common symbols not allowed in MH_DYLIB files
   9111       lt_prog_compiler_pic='-fno-common'
   9112       ;;
   9113 
   9114     haiku*)
   9115       # PIC is the default for Haiku.
   9116       # The "-static" flag exists, but is broken.
   9117       lt_prog_compiler_static=
   9118       ;;
   9119 
   9120     hpux*)
   9121       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9122       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9123       # sets the default TLS model and affects inlining.
   9124       case $host_cpu in
   9125       hppa*64*)
   9126 	# +Z the default
   9127 	;;
   9128       *)
   9129 	lt_prog_compiler_pic='-fPIC'
   9130 	;;
   9131       esac
   9132       ;;
   9133 
   9134     interix[3-9]*)
   9135       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9136       # Instead, we relocate shared libraries at runtime.
   9137       ;;
   9138 
   9139     msdosdjgpp*)
   9140       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9141       # on systems that don't support them.
   9142       lt_prog_compiler_can_build_shared=no
   9143       enable_shared=no
   9144       ;;
   9145 
   9146     *nto* | *qnx*)
   9147       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9148       # it will coredump.
   9149       lt_prog_compiler_pic='-fPIC -shared'
   9150       ;;
   9151 
   9152     sysv4*MP*)
   9153       if test -d /usr/nec; then
   9154 	lt_prog_compiler_pic=-Kconform_pic
   9155       fi
   9156       ;;
   9157 
   9158     *)
   9159       lt_prog_compiler_pic='-fPIC'
   9160       ;;
   9161     esac
   9162 
   9163     case $cc_basename in
   9164     nvcc*) # Cuda Compiler Driver 2.2
   9165       lt_prog_compiler_wl='-Xlinker '
   9166       if test -n "$lt_prog_compiler_pic"; then
   9167         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9168       fi
   9169       ;;
   9170     esac
   9171   else
   9172     # PORTME Check for flag to pass linker flags through the system compiler.
   9173     case $host_os in
   9174     aix*)
   9175       lt_prog_compiler_wl='-Wl,'
   9176       if test ia64 = "$host_cpu"; then
   9177 	# AIX 5 now supports IA64 processor
   9178 	lt_prog_compiler_static='-Bstatic'
   9179       else
   9180 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9181       fi
   9182       ;;
   9183 
   9184     darwin* | rhapsody*)
   9185       # PIC is the default on this platform
   9186       # Common symbols not allowed in MH_DYLIB files
   9187       lt_prog_compiler_pic='-fno-common'
   9188       case $cc_basename in
   9189       nagfor*)
   9190         # NAG Fortran compiler
   9191         lt_prog_compiler_wl='-Wl,-Wl,,'
   9192         lt_prog_compiler_pic='-PIC'
   9193         lt_prog_compiler_static='-Bstatic'
   9194         ;;
   9195       esac
   9196       ;;
   9197 
   9198     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9199       # This hack is so that the source file can tell whether it is being
   9200       # built for inclusion in a dll (and should export symbols for example).
   9201       lt_prog_compiler_pic='-DDLL_EXPORT'
   9202       case $host_os in
   9203       os2*)
   9204 	lt_prog_compiler_static='$wl-static'
   9205 	;;
   9206       esac
   9207       ;;
   9208 
   9209     hpux9* | hpux10* | hpux11*)
   9210       lt_prog_compiler_wl='-Wl,'
   9211       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9212       # not for PA HP-UX.
   9213       case $host_cpu in
   9214       hppa*64*|ia64*)
   9215 	# +Z the default
   9216 	;;
   9217       *)
   9218 	lt_prog_compiler_pic='+Z'
   9219 	;;
   9220       esac
   9221       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9222       lt_prog_compiler_static='$wl-a ${wl}archive'
   9223       ;;
   9224 
   9225     irix5* | irix6* | nonstopux*)
   9226       lt_prog_compiler_wl='-Wl,'
   9227       # PIC (with -KPIC) is the default.
   9228       lt_prog_compiler_static='-non_shared'
   9229       ;;
   9230 
   9231     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9232       case $cc_basename in
   9233       # old Intel for x86_64, which still supported -KPIC.
   9234       ecc*)
   9235 	lt_prog_compiler_wl='-Wl,'
   9236 	lt_prog_compiler_pic='-KPIC'
   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   esac
   9721 
   9722   ld_shlibs=yes
   9723 
   9724   # On some targets, GNU ld is compatible enough with the native linker
   9725   # that we're better off using the native interface for both.
   9726   lt_use_gnu_ld_interface=no
   9727   if test yes = "$with_gnu_ld"; then
   9728     case $host_os in
   9729       aix*)
   9730 	# The AIX port of GNU ld has always aspired to compatibility
   9731 	# with the native linker.  However, as the warning in the GNU ld
   9732 	# block says, versions before 2.19.5* couldn't really create working
   9733 	# shared libraries, regardless of the interface used.
   9734 	case `$LD -v 2>&1` in
   9735 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9736 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9737 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9738 	  *)
   9739 	    lt_use_gnu_ld_interface=yes
   9740 	    ;;
   9741 	esac
   9742 	;;
   9743       *)
   9744 	lt_use_gnu_ld_interface=yes
   9745 	;;
   9746     esac
   9747   fi
   9748 
   9749   if test yes = "$lt_use_gnu_ld_interface"; then
   9750     # If archive_cmds runs LD, not CC, wlarc should be empty
   9751     wlarc='$wl'
   9752 
   9753     # Set some defaults for GNU ld with shared library support. These
   9754     # are reset later if shared libraries are not supported. Putting them
   9755     # here allows them to be overridden if necessary.
   9756     runpath_var=LD_RUN_PATH
   9757     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9758     export_dynamic_flag_spec='$wl--export-dynamic'
   9759     # ancient GNU ld didn't support --whole-archive et. al.
   9760     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9761       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9762     else
   9763       whole_archive_flag_spec=
   9764     fi
   9765     supports_anon_versioning=no
   9766     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9767       *GNU\ gold*) supports_anon_versioning=yes ;;
   9768       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9769       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9770       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9771       *\ 2.11.*) ;; # other 2.11 versions
   9772       *) supports_anon_versioning=yes ;;
   9773     esac
   9774 
   9775     # See if GNU ld supports shared libraries.
   9776     case $host_os in
   9777     aix[3-9]*)
   9778       # On AIX/PPC, the GNU linker is very broken
   9779       if test ia64 != "$host_cpu"; then
   9780 	ld_shlibs=no
   9781 	cat <<_LT_EOF 1>&2
   9782 
   9783 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9784 *** to be unable to reliably create shared libraries on AIX.
   9785 *** Therefore, libtool is disabling shared libraries support.  If you
   9786 *** really care for shared libraries, you may want to install binutils
   9787 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9788 *** You will then need to restart the configuration process.
   9789 
   9790 _LT_EOF
   9791       fi
   9792       ;;
   9793 
   9794     amigaos*)
   9795       case $host_cpu in
   9796       powerpc)
   9797             # see comment about AmigaOS4 .so support
   9798             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9799             archive_expsym_cmds=''
   9800         ;;
   9801       m68k)
   9802             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)'
   9803             hardcode_libdir_flag_spec='-L$libdir'
   9804             hardcode_minus_L=yes
   9805         ;;
   9806       esac
   9807       ;;
   9808 
   9809     beos*)
   9810       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9811 	allow_undefined_flag=unsupported
   9812 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9813 	# support --undefined.  This deserves some investigation.  FIXME
   9814 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9815       else
   9816 	ld_shlibs=no
   9817       fi
   9818       ;;
   9819 
   9820     cygwin* | mingw* | pw32* | cegcc*)
   9821       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9822       # as there is no search path for DLLs.
   9823       hardcode_libdir_flag_spec='-L$libdir'
   9824       export_dynamic_flag_spec='$wl--export-all-symbols'
   9825       allow_undefined_flag=unsupported
   9826       always_export_symbols=no
   9827       enable_shared_with_static_runtimes=yes
   9828       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'
   9829       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9830 
   9831       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9832         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9833 	# If the export-symbols file already is a .def file, use it as
   9834 	# is; otherwise, prepend EXPORTS...
   9835 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9836           cp $export_symbols $output_objdir/$soname.def;
   9837         else
   9838           echo EXPORTS > $output_objdir/$soname.def;
   9839           cat $export_symbols >> $output_objdir/$soname.def;
   9840         fi~
   9841         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9842       else
   9843 	ld_shlibs=no
   9844       fi
   9845       ;;
   9846 
   9847     haiku*)
   9848       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9849       link_all_deplibs=yes
   9850       ;;
   9851 
   9852     os2*)
   9853       hardcode_libdir_flag_spec='-L$libdir'
   9854       hardcode_minus_L=yes
   9855       allow_undefined_flag=unsupported
   9856       shrext_cmds=.dll
   9857       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9858 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9859 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9860 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9861 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9862 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9863 	emximp -o $lib $output_objdir/$libname.def'
   9864       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9865 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9866 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9867 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9868 	prefix_cmds="$SED"~
   9869 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9870 	  prefix_cmds="$prefix_cmds -e 1d";
   9871 	fi~
   9872 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9873 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9874 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9875 	emximp -o $lib $output_objdir/$libname.def'
   9876       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9877       enable_shared_with_static_runtimes=yes
   9878       file_list_spec='@'
   9879       ;;
   9880 
   9881     interix[3-9]*)
   9882       hardcode_direct=no
   9883       hardcode_shlibpath_var=no
   9884       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9885       export_dynamic_flag_spec='$wl-E'
   9886       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9887       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9888       # default) and relocated if they conflict, which is a slow very memory
   9889       # consuming and fragmenting process.  To avoid this, we pick a random,
   9890       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9891       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9892       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9893       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'
   9894       ;;
   9895 
   9896     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9897       tmp_diet=no
   9898       if test linux-dietlibc = "$host_os"; then
   9899 	case $cc_basename in
   9900 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9901 	esac
   9902       fi
   9903       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9904 	 && test no = "$tmp_diet"
   9905       then
   9906 	tmp_addflag=' $pic_flag'
   9907 	tmp_sharedflag='-shared'
   9908 	case $cc_basename,$host_cpu in
   9909         pgcc*)				# Portland Group C compiler
   9910 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   9911 	  tmp_addflag=' $pic_flag'
   9912 	  ;;
   9913 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9914 					# Portland Group f77 and f90 compilers
   9915 	  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'
   9916 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9917 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9918 	  tmp_addflag=' -i_dynamic' ;;
   9919 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9920 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9921 	ifc* | ifort*)			# Intel Fortran compiler
   9922 	  tmp_addflag=' -nofor_main' ;;
   9923 	lf95*)				# Lahey Fortran 8.1
   9924 	  whole_archive_flag_spec=
   9925 	  tmp_sharedflag='--shared' ;;
   9926         nagfor*)                        # NAGFOR 5.3
   9927           tmp_sharedflag='-Wl,-shared' ;;
   9928 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9929 	  tmp_sharedflag='-qmkshrobj'
   9930 	  tmp_addflag= ;;
   9931 	nvcc*)	# Cuda Compiler Driver 2.2
   9932 	  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'
   9933 	  compiler_needs_object=yes
   9934 	  ;;
   9935 	esac
   9936 	case `$CC -V 2>&1 | $SED 5q` in
   9937 	*Sun\ C*)			# Sun C 5.9
   9938 	  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'
   9939 	  compiler_needs_object=yes
   9940 	  tmp_sharedflag='-G' ;;
   9941 	*Sun\ F*)			# Sun Fortran 8.3
   9942 	  tmp_sharedflag='-G' ;;
   9943 	esac
   9944 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9945 
   9946         if test yes = "$supports_anon_versioning"; then
   9947           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9948             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9949             echo "local: *; };" >> $output_objdir/$libname.ver~
   9950             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9951         fi
   9952 
   9953 	case $cc_basename in
   9954 	tcc*)
   9955 	  export_dynamic_flag_spec='-rdynamic'
   9956 	  ;;
   9957 	xlf* | bgf* | bgxlf* | mpixlf*)
   9958 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9959 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9960 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9961 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9962 	  if test yes = "$supports_anon_versioning"; then
   9963 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9964               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9965               echo "local: *; };" >> $output_objdir/$libname.ver~
   9966               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9967 	  fi
   9968 	  ;;
   9969 	esac
   9970       else
   9971         ld_shlibs=no
   9972       fi
   9973       ;;
   9974 
   9975     netbsd*)
   9976       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9977 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9978 	wlarc=
   9979       else
   9980 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9981 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9982       fi
   9983       ;;
   9984 
   9985     solaris*)
   9986       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9987 	ld_shlibs=no
   9988 	cat <<_LT_EOF 1>&2
   9989 
   9990 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9991 *** create shared libraries on Solaris systems.  Therefore, libtool
   9992 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9993 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9994 *** your PATH or compiler configuration so that the native linker is
   9995 *** used, and then restart.
   9996 
   9997 _LT_EOF
   9998       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9999 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10000 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10001       else
   10002 	ld_shlibs=no
   10003       fi
   10004       ;;
   10005 
   10006     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10007       case `$LD -v 2>&1` in
   10008         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10009 	ld_shlibs=no
   10010 	cat <<_LT_EOF 1>&2
   10011 
   10012 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10013 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10014 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10015 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10016 *** your PATH or compiler configuration so that the native linker is
   10017 *** used, and then restart.
   10018 
   10019 _LT_EOF
   10020 	;;
   10021 	*)
   10022 	  # For security reasons, it is highly recommended that you always
   10023 	  # use absolute paths for naming shared libraries, and exclude the
   10024 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10025 	  # requires that you compile everything twice, which is a pain.
   10026 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10027 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10028 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10029 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10030 	  else
   10031 	    ld_shlibs=no
   10032 	  fi
   10033 	;;
   10034       esac
   10035       ;;
   10036 
   10037     sunos4*)
   10038       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10039       wlarc=
   10040       hardcode_direct=yes
   10041       hardcode_shlibpath_var=no
   10042       ;;
   10043 
   10044     *)
   10045       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10046 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10047 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10048       else
   10049 	ld_shlibs=no
   10050       fi
   10051       ;;
   10052     esac
   10053 
   10054     if test no = "$ld_shlibs"; then
   10055       runpath_var=
   10056       hardcode_libdir_flag_spec=
   10057       export_dynamic_flag_spec=
   10058       whole_archive_flag_spec=
   10059     fi
   10060   else
   10061     # PORTME fill in a description of your system's linker (not GNU ld)
   10062     case $host_os in
   10063     aix3*)
   10064       allow_undefined_flag=unsupported
   10065       always_export_symbols=yes
   10066       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'
   10067       # Note: this linker hardcodes the directories in LIBPATH if there
   10068       # are no directories specified by -L.
   10069       hardcode_minus_L=yes
   10070       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10071 	# Neither direct hardcoding nor static linking is supported with a
   10072 	# broken collect2.
   10073 	hardcode_direct=unsupported
   10074       fi
   10075       ;;
   10076 
   10077     aix[4-9]*)
   10078       if test ia64 = "$host_cpu"; then
   10079 	# On IA64, the linker does run time linking by default, so we don't
   10080 	# have to do anything special.
   10081 	aix_use_runtimelinking=no
   10082 	exp_sym_flag='-Bexport'
   10083 	no_entry_flag=
   10084       else
   10085 	# If we're using GNU nm, then we don't want the "-C" option.
   10086 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10087 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10088 	# weak defined symbols like other global defined symbols, whereas
   10089 	# GNU nm marks them as "W".
   10090 	# While the 'weak' keyword is ignored in the Export File, we need
   10091 	# it in the Import File for the 'aix-soname' feature, so we have
   10092 	# to replace the "-B" option with "-P" for AIX nm.
   10093 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10094 	  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'
   10095 	else
   10096 	  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'
   10097 	fi
   10098 	aix_use_runtimelinking=no
   10099 
   10100 	# Test if we are trying to use run time linking or normal
   10101 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10102 	# have runtime linking enabled, and use it for executables.
   10103 	# For shared libraries, we enable/disable runtime linking
   10104 	# depending on the kind of the shared library created -
   10105 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10106 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10107 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10108 	#            lib.a           static archive
   10109 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10110 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10111 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10112 	#            lib.a(lib.so.V) shared, rtl:no
   10113 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10114 	#            lib.a           static archive
   10115 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10116 	  for ld_flag in $LDFLAGS; do
   10117 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10118 	    aix_use_runtimelinking=yes
   10119 	    break
   10120 	  fi
   10121 	  done
   10122 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10123 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10124 	    # so we don't have lib.a shared libs to link our executables.
   10125 	    # We have to force runtime linking in this case.
   10126 	    aix_use_runtimelinking=yes
   10127 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10128 	  fi
   10129 	  ;;
   10130 	esac
   10131 
   10132 	exp_sym_flag='-bexport'
   10133 	no_entry_flag='-bnoentry'
   10134       fi
   10135 
   10136       # When large executables or shared objects are built, AIX ld can
   10137       # have problems creating the table of contents.  If linking a library
   10138       # or program results in "error TOC overflow" add -mminimal-toc to
   10139       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10140       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10141 
   10142       archive_cmds=''
   10143       hardcode_direct=yes
   10144       hardcode_direct_absolute=yes
   10145       hardcode_libdir_separator=':'
   10146       link_all_deplibs=yes
   10147       file_list_spec='$wl-f,'
   10148       case $with_aix_soname,$aix_use_runtimelinking in
   10149       aix,*) ;; # traditional, no import file
   10150       svr4,* | *,yes) # use import file
   10151 	# The Import File defines what to hardcode.
   10152 	hardcode_direct=no
   10153 	hardcode_direct_absolute=no
   10154 	;;
   10155       esac
   10156 
   10157       if test yes = "$GCC"; then
   10158 	case $host_os in aix4.[012]|aix4.[012].*)
   10159 	# We only want to do this on AIX 4.2 and lower, the check
   10160 	# below for broken collect2 doesn't work under 4.3+
   10161 	  collect2name=`$CC -print-prog-name=collect2`
   10162 	  if test -f "$collect2name" &&
   10163 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10164 	  then
   10165 	  # We have reworked collect2
   10166 	  :
   10167 	  else
   10168 	  # We have old collect2
   10169 	  hardcode_direct=unsupported
   10170 	  # It fails to find uninstalled libraries when the uninstalled
   10171 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10172 	  # to unsupported forces relinking
   10173 	  hardcode_minus_L=yes
   10174 	  hardcode_libdir_flag_spec='-L$libdir'
   10175 	  hardcode_libdir_separator=
   10176 	  fi
   10177 	  ;;
   10178 	esac
   10179 	shared_flag='-shared'
   10180 	if test yes = "$aix_use_runtimelinking"; then
   10181 	  shared_flag="$shared_flag "'$wl-G'
   10182 	fi
   10183 	# Need to ensure runtime linking is disabled for the traditional
   10184 	# shared library, or the linker may eventually find shared libraries
   10185 	# /with/ Import File - we do not want to mix them.
   10186 	shared_flag_aix='-shared'
   10187 	shared_flag_svr4='-shared $wl-G'
   10188       else
   10189 	# not using gcc
   10190 	if test ia64 = "$host_cpu"; then
   10191 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10192 	# chokes on -Wl,-G. The following line is correct:
   10193 	  shared_flag='-G'
   10194 	else
   10195 	  if test yes = "$aix_use_runtimelinking"; then
   10196 	    shared_flag='$wl-G'
   10197 	  else
   10198 	    shared_flag='$wl-bM:SRE'
   10199 	  fi
   10200 	  shared_flag_aix='$wl-bM:SRE'
   10201 	  shared_flag_svr4='$wl-G'
   10202 	fi
   10203       fi
   10204 
   10205       export_dynamic_flag_spec='$wl-bexpall'
   10206       # It seems that -bexpall does not export symbols beginning with
   10207       # underscore (_), so it is better to generate a list of symbols to export.
   10208       always_export_symbols=yes
   10209       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10210 	# Warning - without using the other runtime loading flags (-brtl),
   10211 	# -berok will link without error, but may produce a broken library.
   10212 	allow_undefined_flag='-berok'
   10213         # Determine the default libpath from the value encoded in an
   10214         # empty executable.
   10215         if test set = "${lt_cv_aix_libpath+set}"; then
   10216   aix_libpath=$lt_cv_aix_libpath
   10217 else
   10218   if test ${lt_cv_aix_libpath_+y}
   10219 then :
   10220   printf %s "(cached) " >&6
   10221 else $as_nop
   10222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10223 /* end confdefs.h.  */
   10224 
   10225 int
   10226 main (void)
   10227 {
   10228 
   10229   ;
   10230   return 0;
   10231 }
   10232 _ACEOF
   10233 if ac_fn_c_try_link "$LINENO"
   10234 then :
   10235 
   10236   lt_aix_libpath_sed='
   10237       /Import File Strings/,/^$/ {
   10238 	  /^0/ {
   10239 	      s/^0  *\([^ ]*\) *$/\1/
   10240 	      p
   10241 	  }
   10242       }'
   10243   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10244   # Check for a 64-bit object if we didn't find anything.
   10245   if test -z "$lt_cv_aix_libpath_"; then
   10246     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10247   fi
   10248 fi
   10249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10250     conftest$ac_exeext conftest.$ac_ext
   10251   if test -z "$lt_cv_aix_libpath_"; then
   10252     lt_cv_aix_libpath_=/usr/lib:/lib
   10253   fi
   10254 
   10255 fi
   10256 
   10257   aix_libpath=$lt_cv_aix_libpath_
   10258 fi
   10259 
   10260         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10261         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
   10262       else
   10263 	if test ia64 = "$host_cpu"; then
   10264 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10265 	  allow_undefined_flag="-z nodefs"
   10266 	  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"
   10267 	else
   10268 	 # Determine the default libpath from the value encoded in an
   10269 	 # empty executable.
   10270 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10271   aix_libpath=$lt_cv_aix_libpath
   10272 else
   10273   if test ${lt_cv_aix_libpath_+y}
   10274 then :
   10275   printf %s "(cached) " >&6
   10276 else $as_nop
   10277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10278 /* end confdefs.h.  */
   10279 
   10280 int
   10281 main (void)
   10282 {
   10283 
   10284   ;
   10285   return 0;
   10286 }
   10287 _ACEOF
   10288 if ac_fn_c_try_link "$LINENO"
   10289 then :
   10290 
   10291   lt_aix_libpath_sed='
   10292       /Import File Strings/,/^$/ {
   10293 	  /^0/ {
   10294 	      s/^0  *\([^ ]*\) *$/\1/
   10295 	      p
   10296 	  }
   10297       }'
   10298   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10299   # Check for a 64-bit object if we didn't find anything.
   10300   if test -z "$lt_cv_aix_libpath_"; then
   10301     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10302   fi
   10303 fi
   10304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10305     conftest$ac_exeext conftest.$ac_ext
   10306   if test -z "$lt_cv_aix_libpath_"; then
   10307     lt_cv_aix_libpath_=/usr/lib:/lib
   10308   fi
   10309 
   10310 fi
   10311 
   10312   aix_libpath=$lt_cv_aix_libpath_
   10313 fi
   10314 
   10315 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10316 	  # Warning - without using the other run time loading flags,
   10317 	  # -berok will link without error, but may produce a broken library.
   10318 	  no_undefined_flag=' $wl-bernotok'
   10319 	  allow_undefined_flag=' $wl-berok'
   10320 	  if test yes = "$with_gnu_ld"; then
   10321 	    # We only use this code for GNU lds that support --whole-archive.
   10322 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10323 	  else
   10324 	    # Exported symbols can be pulled into shared objects from archives
   10325 	    whole_archive_flag_spec='$convenience'
   10326 	  fi
   10327 	  archive_cmds_need_lc=yes
   10328 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10329 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10330 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10331 	  if test svr4 != "$with_aix_soname"; then
   10332 	    # This is similar to how AIX traditionally builds its shared libraries.
   10333 	    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'
   10334 	  fi
   10335 	  if test aix != "$with_aix_soname"; then
   10336 	    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'
   10337 	  else
   10338 	    # used by -dlpreopen to get the symbols
   10339 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10340 	  fi
   10341 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10342 	fi
   10343       fi
   10344       ;;
   10345 
   10346     amigaos*)
   10347       case $host_cpu in
   10348       powerpc)
   10349             # see comment about AmigaOS4 .so support
   10350             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10351             archive_expsym_cmds=''
   10352         ;;
   10353       m68k)
   10354             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)'
   10355             hardcode_libdir_flag_spec='-L$libdir'
   10356             hardcode_minus_L=yes
   10357         ;;
   10358       esac
   10359       ;;
   10360 
   10361     bsdi[45]*)
   10362       export_dynamic_flag_spec=-rdynamic
   10363       ;;
   10364 
   10365     cygwin* | mingw* | pw32* | cegcc*)
   10366       # When not using gcc, we currently assume that we are using
   10367       # Microsoft Visual C++ or Intel C++ Compiler.
   10368       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10369       # no search path for DLLs.
   10370       case $cc_basename in
   10371       cl* | icl*)
   10372 	# Native MSVC or ICC
   10373 	hardcode_libdir_flag_spec=' '
   10374 	allow_undefined_flag=unsupported
   10375 	always_export_symbols=yes
   10376 	file_list_spec='@'
   10377 	# Tell ltmain to make .lib files, not .a files.
   10378 	libext=lib
   10379 	# Tell ltmain to make .dll files, not .so files.
   10380 	shrext_cmds=.dll
   10381 	# FIXME: Setting linknames here is a bad hack.
   10382 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10383 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10384             cp "$export_symbols" "$output_objdir/$soname.def";
   10385             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10386           else
   10387             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10388           fi~
   10389           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10390           linknames='
   10391 	# The linker will not automatically build a static lib if we build a DLL.
   10392 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10393 	enable_shared_with_static_runtimes=yes
   10394 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10395 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10396 	# Don't use ranlib
   10397 	old_postinstall_cmds='chmod 644 $oldlib'
   10398 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10399           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10400           case $lt_outputfile in
   10401             *.exe|*.EXE) ;;
   10402             *)
   10403               lt_outputfile=$lt_outputfile.exe
   10404               lt_tool_outputfile=$lt_tool_outputfile.exe
   10405               ;;
   10406           esac~
   10407           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10408             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10409             $RM "$lt_outputfile.manifest";
   10410           fi'
   10411 	;;
   10412       *)
   10413 	# Assume MSVC and ICC wrapper
   10414 	hardcode_libdir_flag_spec=' '
   10415 	allow_undefined_flag=unsupported
   10416 	# Tell ltmain to make .lib files, not .a files.
   10417 	libext=lib
   10418 	# Tell ltmain to make .dll files, not .so files.
   10419 	shrext_cmds=.dll
   10420 	# FIXME: Setting linknames here is a bad hack.
   10421 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10422 	# The linker will automatically build a .lib file if we build a DLL.
   10423 	old_archive_from_new_cmds='true'
   10424 	# FIXME: Should let the user specify the lib program.
   10425 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10426 	enable_shared_with_static_runtimes=yes
   10427 	;;
   10428       esac
   10429       ;;
   10430 
   10431     darwin* | rhapsody*)
   10432 
   10433 
   10434   archive_cmds_need_lc=no
   10435   hardcode_direct=no
   10436   hardcode_automatic=yes
   10437   hardcode_shlibpath_var=unsupported
   10438   if test yes = "$lt_cv_ld_force_load"; then
   10439     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\"`'
   10440 
   10441   else
   10442     whole_archive_flag_spec=''
   10443   fi
   10444   link_all_deplibs=yes
   10445   allow_undefined_flag=$_lt_dar_allow_undefined
   10446   case $cc_basename in
   10447      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10448      *) _lt_dar_can_shared=$GCC ;;
   10449   esac
   10450   if test yes = "$_lt_dar_can_shared"; then
   10451     output_verbose_link_cmd=func_echo_all
   10452     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10453     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10454     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"
   10455     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"
   10456 
   10457   else
   10458   ld_shlibs=no
   10459   fi
   10460 
   10461       ;;
   10462 
   10463     dgux*)
   10464       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10465       hardcode_libdir_flag_spec='-L$libdir'
   10466       hardcode_shlibpath_var=no
   10467       ;;
   10468 
   10469     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10470     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10471     # does not break anything, and helps significantly (at the cost of a little
   10472     # extra space).
   10473     freebsd2.2*)
   10474       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10475       hardcode_libdir_flag_spec='-R$libdir'
   10476       hardcode_direct=yes
   10477       hardcode_shlibpath_var=no
   10478       ;;
   10479 
   10480     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10481     freebsd2.*)
   10482       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10483       hardcode_direct=yes
   10484       hardcode_minus_L=yes
   10485       hardcode_shlibpath_var=no
   10486       ;;
   10487 
   10488     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10489     freebsd* | dragonfly* | midnightbsd*)
   10490       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10491       hardcode_libdir_flag_spec='-R$libdir'
   10492       hardcode_direct=yes
   10493       hardcode_shlibpath_var=no
   10494       ;;
   10495 
   10496     hpux9*)
   10497       if test yes = "$GCC"; then
   10498 	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'
   10499       else
   10500 	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'
   10501       fi
   10502       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10503       hardcode_libdir_separator=:
   10504       hardcode_direct=yes
   10505 
   10506       # hardcode_minus_L: Not really in the search PATH,
   10507       # but as the default location of the library.
   10508       hardcode_minus_L=yes
   10509       export_dynamic_flag_spec='$wl-E'
   10510       ;;
   10511 
   10512     hpux10*)
   10513       if test yes,no = "$GCC,$with_gnu_ld"; then
   10514 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10515       else
   10516 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10517       fi
   10518       if test no = "$with_gnu_ld"; then
   10519 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10520 	hardcode_libdir_separator=:
   10521 	hardcode_direct=yes
   10522 	hardcode_direct_absolute=yes
   10523 	export_dynamic_flag_spec='$wl-E'
   10524 	# hardcode_minus_L: Not really in the search PATH,
   10525 	# but as the default location of the library.
   10526 	hardcode_minus_L=yes
   10527       fi
   10528       ;;
   10529 
   10530     hpux11*)
   10531       if test yes,no = "$GCC,$with_gnu_ld"; then
   10532 	case $host_cpu in
   10533 	hppa*64*)
   10534 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10535 	  ;;
   10536 	ia64*)
   10537 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10538 	  ;;
   10539 	*)
   10540 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10541 	  ;;
   10542 	esac
   10543       else
   10544 	case $host_cpu in
   10545 	hppa*64*)
   10546 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10547 	  ;;
   10548 	ia64*)
   10549 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10550 	  ;;
   10551 	*)
   10552 
   10553 	  # Older versions of the 11.00 compiler do not understand -b yet
   10554 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10555 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10556 printf %s "checking if $CC understands -b... " >&6; }
   10557 if test ${lt_cv_prog_compiler__b+y}
   10558 then :
   10559   printf %s "(cached) " >&6
   10560 else $as_nop
   10561   lt_cv_prog_compiler__b=no
   10562    save_LDFLAGS=$LDFLAGS
   10563    LDFLAGS="$LDFLAGS -b"
   10564    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10565    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10566      # The linker can only warn and ignore the option if not recognized
   10567      # So say no if there are warnings
   10568      if test -s conftest.err; then
   10569        # Append any errors to the config.log.
   10570        cat conftest.err 1>&5
   10571        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10572        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10573        if diff conftest.exp conftest.er2 >/dev/null; then
   10574          lt_cv_prog_compiler__b=yes
   10575        fi
   10576      else
   10577        lt_cv_prog_compiler__b=yes
   10578      fi
   10579    fi
   10580    $RM -r conftest*
   10581    LDFLAGS=$save_LDFLAGS
   10582 
   10583 fi
   10584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10585 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10586 
   10587 if test yes = "$lt_cv_prog_compiler__b"; then
   10588     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10589 else
   10590     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10591 fi
   10592 
   10593 	  ;;
   10594 	esac
   10595       fi
   10596       if test no = "$with_gnu_ld"; then
   10597 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10598 	hardcode_libdir_separator=:
   10599 
   10600 	case $host_cpu in
   10601 	hppa*64*|ia64*)
   10602 	  hardcode_direct=no
   10603 	  hardcode_shlibpath_var=no
   10604 	  ;;
   10605 	*)
   10606 	  hardcode_direct=yes
   10607 	  hardcode_direct_absolute=yes
   10608 	  export_dynamic_flag_spec='$wl-E'
   10609 
   10610 	  # hardcode_minus_L: Not really in the search PATH,
   10611 	  # but as the default location of the library.
   10612 	  hardcode_minus_L=yes
   10613 	  ;;
   10614 	esac
   10615       fi
   10616       ;;
   10617 
   10618     irix5* | irix6* | nonstopux*)
   10619       if test yes = "$GCC"; then
   10620 	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'
   10621 	# Try to use the -exported_symbol ld option, if it does not
   10622 	# work, assume that -exports_file does not work either and
   10623 	# implicitly export all symbols.
   10624 	# This should be the same for all languages, so no per-tag cache variable.
   10625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10626 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10627 if test ${lt_cv_irix_exported_symbol+y}
   10628 then :
   10629   printf %s "(cached) " >&6
   10630 else $as_nop
   10631   save_LDFLAGS=$LDFLAGS
   10632 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10633 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10634 /* end confdefs.h.  */
   10635 int foo (void) { return 0; }
   10636 _ACEOF
   10637 if ac_fn_c_try_link "$LINENO"
   10638 then :
   10639   lt_cv_irix_exported_symbol=yes
   10640 else $as_nop
   10641   lt_cv_irix_exported_symbol=no
   10642 fi
   10643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10644     conftest$ac_exeext conftest.$ac_ext
   10645            LDFLAGS=$save_LDFLAGS
   10646 fi
   10647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10648 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10649 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10650           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'
   10651 	fi
   10652       else
   10653 	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'
   10654 	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'
   10655       fi
   10656       archive_cmds_need_lc='no'
   10657       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10658       hardcode_libdir_separator=:
   10659       inherit_rpath=yes
   10660       link_all_deplibs=yes
   10661       ;;
   10662 
   10663     linux*)
   10664       case $cc_basename in
   10665       tcc*)
   10666 	# Fabrice Bellard et al's Tiny C Compiler
   10667 	ld_shlibs=yes
   10668 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10669 	;;
   10670       esac
   10671       ;;
   10672 
   10673     netbsd*)
   10674       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10675 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10676       else
   10677 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10678       fi
   10679       hardcode_libdir_flag_spec='-R$libdir'
   10680       hardcode_direct=yes
   10681       hardcode_shlibpath_var=no
   10682       ;;
   10683 
   10684     newsos6)
   10685       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10686       hardcode_direct=yes
   10687       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10688       hardcode_libdir_separator=:
   10689       hardcode_shlibpath_var=no
   10690       ;;
   10691 
   10692     *nto* | *qnx*)
   10693       ;;
   10694 
   10695     openbsd* | bitrig*)
   10696       if test -f /usr/libexec/ld.so; then
   10697 	hardcode_direct=yes
   10698 	hardcode_shlibpath_var=no
   10699 	hardcode_direct_absolute=yes
   10700 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10701 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10702 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10703 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10704 	  export_dynamic_flag_spec='$wl-E'
   10705 	else
   10706 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10707 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10708 	fi
   10709       else
   10710 	ld_shlibs=no
   10711       fi
   10712       ;;
   10713 
   10714     os2*)
   10715       hardcode_libdir_flag_spec='-L$libdir'
   10716       hardcode_minus_L=yes
   10717       allow_undefined_flag=unsupported
   10718       shrext_cmds=.dll
   10719       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10720 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10721 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10722 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10723 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10724 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10725 	emximp -o $lib $output_objdir/$libname.def'
   10726       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10727 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10728 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10729 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10730 	prefix_cmds="$SED"~
   10731 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10732 	  prefix_cmds="$prefix_cmds -e 1d";
   10733 	fi~
   10734 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10735 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10736 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10737 	emximp -o $lib $output_objdir/$libname.def'
   10738       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10739       enable_shared_with_static_runtimes=yes
   10740       file_list_spec='@'
   10741       ;;
   10742 
   10743     osf3*)
   10744       if test yes = "$GCC"; then
   10745 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10746 	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'
   10747       else
   10748 	allow_undefined_flag=' -expect_unresolved \*'
   10749 	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'
   10750       fi
   10751       archive_cmds_need_lc='no'
   10752       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10753       hardcode_libdir_separator=:
   10754       ;;
   10755 
   10756     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10757       if test yes = "$GCC"; then
   10758 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10759 	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'
   10760 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10761       else
   10762 	allow_undefined_flag=' -expect_unresolved \*'
   10763 	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'
   10764 	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~
   10765           $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'
   10766 
   10767 	# Both c and cxx compiler support -rpath directly
   10768 	hardcode_libdir_flag_spec='-rpath $libdir'
   10769       fi
   10770       archive_cmds_need_lc='no'
   10771       hardcode_libdir_separator=:
   10772       ;;
   10773 
   10774     solaris*)
   10775       no_undefined_flag=' -z defs'
   10776       if test yes = "$GCC"; then
   10777 	wlarc='$wl'
   10778 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10779 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10780           $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'
   10781       else
   10782 	case `$CC -V 2>&1` in
   10783 	*"Compilers 5.0"*)
   10784 	  wlarc=''
   10785 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10786 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10787             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10788 	  ;;
   10789 	*)
   10790 	  wlarc='$wl'
   10791 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10792 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10793             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10794 	  ;;
   10795 	esac
   10796       fi
   10797       hardcode_libdir_flag_spec='-R$libdir'
   10798       hardcode_shlibpath_var=no
   10799       case $host_os in
   10800       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10801       *)
   10802 	# The compiler driver will combine and reorder linker options,
   10803 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10804 	# but is careful enough not to reorder.
   10805 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10806 	if test yes = "$GCC"; then
   10807 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10808 	else
   10809 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10810 	fi
   10811 	;;
   10812       esac
   10813       link_all_deplibs=yes
   10814       ;;
   10815 
   10816     sunos4*)
   10817       if test sequent = "$host_vendor"; then
   10818 	# Use $CC to link under sequent, because it throws in some extra .o
   10819 	# files that make .init and .fini sections work.
   10820 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10821       else
   10822 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10823       fi
   10824       hardcode_libdir_flag_spec='-L$libdir'
   10825       hardcode_direct=yes
   10826       hardcode_minus_L=yes
   10827       hardcode_shlibpath_var=no
   10828       ;;
   10829 
   10830     sysv4)
   10831       case $host_vendor in
   10832 	sni)
   10833 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10834 	  hardcode_direct=yes # is this really true???
   10835 	;;
   10836 	siemens)
   10837 	  ## LD is ld it makes a PLAMLIB
   10838 	  ## CC just makes a GrossModule.
   10839 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10840 	  reload_cmds='$CC -r -o $output$reload_objs'
   10841 	  hardcode_direct=no
   10842         ;;
   10843 	motorola)
   10844 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10845 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10846 	;;
   10847       esac
   10848       runpath_var='LD_RUN_PATH'
   10849       hardcode_shlibpath_var=no
   10850       ;;
   10851 
   10852     sysv4.3*)
   10853       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10854       hardcode_shlibpath_var=no
   10855       export_dynamic_flag_spec='-Bexport'
   10856       ;;
   10857 
   10858     sysv4*MP*)
   10859       if test -d /usr/nec; then
   10860 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10861 	hardcode_shlibpath_var=no
   10862 	runpath_var=LD_RUN_PATH
   10863 	hardcode_runpath_var=yes
   10864 	ld_shlibs=yes
   10865       fi
   10866       ;;
   10867 
   10868     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10869       no_undefined_flag='$wl-z,text'
   10870       archive_cmds_need_lc=no
   10871       hardcode_shlibpath_var=no
   10872       runpath_var='LD_RUN_PATH'
   10873 
   10874       if test yes = "$GCC"; then
   10875 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10876 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10877       else
   10878 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10879 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10880       fi
   10881       ;;
   10882 
   10883     sysv5* | sco3.2v5* | sco5v6*)
   10884       # Note: We CANNOT use -z defs as we might desire, because we do not
   10885       # link with -lc, and that would cause any symbols used from libc to
   10886       # always be unresolved, which means just about no library would
   10887       # ever link correctly.  If we're not using GNU ld we use -z text
   10888       # though, which does catch some bad symbols but isn't as heavy-handed
   10889       # as -z defs.
   10890       no_undefined_flag='$wl-z,text'
   10891       allow_undefined_flag='$wl-z,nodefs'
   10892       archive_cmds_need_lc=no
   10893       hardcode_shlibpath_var=no
   10894       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10895       hardcode_libdir_separator=':'
   10896       link_all_deplibs=yes
   10897       export_dynamic_flag_spec='$wl-Bexport'
   10898       runpath_var='LD_RUN_PATH'
   10899 
   10900       if test yes = "$GCC"; then
   10901 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10902 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10903       else
   10904 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10905 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10906       fi
   10907       ;;
   10908 
   10909     uts4*)
   10910       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10911       hardcode_libdir_flag_spec='-L$libdir'
   10912       hardcode_shlibpath_var=no
   10913       ;;
   10914 
   10915     *)
   10916       ld_shlibs=no
   10917       ;;
   10918     esac
   10919 
   10920     if test sni = "$host_vendor"; then
   10921       case $host in
   10922       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10923 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10924 	;;
   10925       esac
   10926     fi
   10927   fi
   10928 
   10929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10930 printf "%s\n" "$ld_shlibs" >&6; }
   10931 test no = "$ld_shlibs" && can_build_shared=no
   10932 
   10933 with_gnu_ld=$with_gnu_ld
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 #
   10950 # Do we need to explicitly link libc?
   10951 #
   10952 case "x$archive_cmds_need_lc" in
   10953 x|xyes)
   10954   # Assume -lc should be added
   10955   archive_cmds_need_lc=yes
   10956 
   10957   if test yes,yes = "$GCC,$enable_shared"; then
   10958     case $archive_cmds in
   10959     *'~'*)
   10960       # FIXME: we may have to deal with multi-command sequences.
   10961       ;;
   10962     '$CC '*)
   10963       # Test whether the compiler implicitly links with -lc since on some
   10964       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10965       # to ld, don't add -lc before -lgcc.
   10966       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10967 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10968 if test ${lt_cv_archive_cmds_need_lc+y}
   10969 then :
   10970   printf %s "(cached) " >&6
   10971 else $as_nop
   10972   $RM conftest*
   10973 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10974 
   10975 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10976   (eval $ac_compile) 2>&5
   10977   ac_status=$?
   10978   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10979   test $ac_status = 0; } 2>conftest.err; then
   10980 	  soname=conftest
   10981 	  lib=conftest
   10982 	  libobjs=conftest.$ac_objext
   10983 	  deplibs=
   10984 	  wl=$lt_prog_compiler_wl
   10985 	  pic_flag=$lt_prog_compiler_pic
   10986 	  compiler_flags=-v
   10987 	  linker_flags=-v
   10988 	  verstring=
   10989 	  output_objdir=.
   10990 	  libname=conftest
   10991 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10992 	  allow_undefined_flag=
   10993 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10994   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10995   ac_status=$?
   10996   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10997   test $ac_status = 0; }
   10998 	  then
   10999 	    lt_cv_archive_cmds_need_lc=no
   11000 	  else
   11001 	    lt_cv_archive_cmds_need_lc=yes
   11002 	  fi
   11003 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11004 	else
   11005 	  cat conftest.err 1>&5
   11006 	fi
   11007 	$RM conftest*
   11008 
   11009 fi
   11010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11011 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11012       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11013       ;;
   11014     esac
   11015   fi
   11016   ;;
   11017 esac
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11171 printf %s "checking dynamic linker characteristics... " >&6; }
   11172 
   11173 if test yes = "$GCC"; then
   11174   case $host_os in
   11175     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11176     *) lt_awk_arg='/^libraries:/' ;;
   11177   esac
   11178   case $host_os in
   11179     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11180     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11181   esac
   11182   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11183   case $lt_search_path_spec in
   11184   *\;*)
   11185     # if the path contains ";" then we assume it to be the separator
   11186     # otherwise default to the standard path separator (i.e. ":") - it is
   11187     # assumed that no part of a normal pathname contains ";" but that should
   11188     # okay in the real world where ";" in dirpaths is itself problematic.
   11189     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11190     ;;
   11191   *)
   11192     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11193     ;;
   11194   esac
   11195   # Ok, now we have the path, separated by spaces, we can step through it
   11196   # and add multilib dir if necessary...
   11197   lt_tmp_lt_search_path_spec=
   11198   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11199   # ...but if some path component already ends with the multilib dir we assume
   11200   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11201   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11202   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11203     lt_multi_os_dir=
   11204     ;;
   11205   esac
   11206   for lt_sys_path in $lt_search_path_spec; do
   11207     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11208       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11209     elif test -n "$lt_multi_os_dir"; then
   11210       test -d "$lt_sys_path" && \
   11211 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11212     fi
   11213   done
   11214   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11215 BEGIN {RS = " "; FS = "/|\n";} {
   11216   lt_foo = "";
   11217   lt_count = 0;
   11218   for (lt_i = NF; lt_i > 0; lt_i--) {
   11219     if ($lt_i != "" && $lt_i != ".") {
   11220       if ($lt_i == "..") {
   11221         lt_count++;
   11222       } else {
   11223         if (lt_count == 0) {
   11224           lt_foo = "/" $lt_i lt_foo;
   11225         } else {
   11226           lt_count--;
   11227         }
   11228       }
   11229     }
   11230   }
   11231   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11232   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11233 }'`
   11234   # AWK program above erroneously prepends '/' to C:/dos/paths
   11235   # for these hosts.
   11236   case $host_os in
   11237     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11238       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11239   esac
   11240   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11241 else
   11242   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11243 fi
   11244 library_names_spec=
   11245 libname_spec='lib$name'
   11246 soname_spec=
   11247 shrext_cmds=.so
   11248 postinstall_cmds=
   11249 postuninstall_cmds=
   11250 finish_cmds=
   11251 finish_eval=
   11252 shlibpath_var=
   11253 shlibpath_overrides_runpath=unknown
   11254 version_type=none
   11255 dynamic_linker="$host_os ld.so"
   11256 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11257 need_lib_prefix=unknown
   11258 hardcode_into_libs=no
   11259 
   11260 # when you set need_version to no, make sure it does not cause -set_version
   11261 # flags to be left without arguments
   11262 need_version=unknown
   11263 
   11264 
   11265 
   11266 case $host_os in
   11267 aix3*)
   11268   version_type=linux # correct to gnu/linux during the next big refactor
   11269   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11270   shlibpath_var=LIBPATH
   11271 
   11272   # AIX 3 has no versioning support, so we append a major version to the name.
   11273   soname_spec='$libname$release$shared_ext$major'
   11274   ;;
   11275 
   11276 aix[4-9]*)
   11277   version_type=linux # correct to gnu/linux during the next big refactor
   11278   need_lib_prefix=no
   11279   need_version=no
   11280   hardcode_into_libs=yes
   11281   if test ia64 = "$host_cpu"; then
   11282     # AIX 5 supports IA64
   11283     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11284     shlibpath_var=LD_LIBRARY_PATH
   11285   else
   11286     # With GCC up to 2.95.x, collect2 would create an import file
   11287     # for dependence libraries.  The import file would start with
   11288     # the line '#! .'.  This would cause the generated library to
   11289     # depend on '.', always an invalid library.  This was fixed in
   11290     # development snapshots of GCC prior to 3.0.
   11291     case $host_os in
   11292       aix4 | aix4.[01] | aix4.[01].*)
   11293       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11294 	   echo ' yes '
   11295 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11296 	:
   11297       else
   11298 	can_build_shared=no
   11299       fi
   11300       ;;
   11301     esac
   11302     # Using Import Files as archive members, it is possible to support
   11303     # filename-based versioning of shared library archives on AIX. While
   11304     # this would work for both with and without runtime linking, it will
   11305     # prevent static linking of such archives. So we do filename-based
   11306     # shared library versioning with .so extension only, which is used
   11307     # when both runtime linking and shared linking is enabled.
   11308     # Unfortunately, runtime linking may impact performance, so we do
   11309     # not want this to be the default eventually. Also, we use the
   11310     # versioned .so libs for executables only if there is the -brtl
   11311     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11312     # To allow for filename-based versioning support, we need to create
   11313     # libNAME.so.V as an archive file, containing:
   11314     # *) an Import File, referring to the versioned filename of the
   11315     #    archive as well as the shared archive member, telling the
   11316     #    bitwidth (32 or 64) of that shared object, and providing the
   11317     #    list of exported symbols of that shared object, eventually
   11318     #    decorated with the 'weak' keyword
   11319     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11320     #    it being seen by the linker.
   11321     # At run time we better use the real file rather than another symlink,
   11322     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11323 
   11324     case $with_aix_soname,$aix_use_runtimelinking in
   11325     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11326     # soname into executable. Probably we can add versioning support to
   11327     # collect2, so additional links can be useful in future.
   11328     aix,yes) # traditional libtool
   11329       dynamic_linker='AIX unversionable lib.so'
   11330       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11331       # instead of lib<name>.a to let people know that these are not
   11332       # typical AIX shared libraries.
   11333       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11334       ;;
   11335     aix,no) # traditional AIX only
   11336       dynamic_linker='AIX lib.a(lib.so.V)'
   11337       # We preserve .a as extension for shared libraries through AIX4.2
   11338       # and later when we are not doing run time linking.
   11339       library_names_spec='$libname$release.a $libname.a'
   11340       soname_spec='$libname$release$shared_ext$major'
   11341       ;;
   11342     svr4,*) # full svr4 only
   11343       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11344       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11345       # We do not specify a path in Import Files, so LIBPATH fires.
   11346       shlibpath_overrides_runpath=yes
   11347       ;;
   11348     *,yes) # both, prefer svr4
   11349       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11350       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11351       # unpreferred sharedlib libNAME.a needs extra handling
   11352       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"'
   11353       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"'
   11354       # We do not specify a path in Import Files, so LIBPATH fires.
   11355       shlibpath_overrides_runpath=yes
   11356       ;;
   11357     *,no) # both, prefer aix
   11358       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11359       library_names_spec='$libname$release.a $libname.a'
   11360       soname_spec='$libname$release$shared_ext$major'
   11361       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11362       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)'
   11363       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"'
   11364       ;;
   11365     esac
   11366     shlibpath_var=LIBPATH
   11367   fi
   11368   ;;
   11369 
   11370 amigaos*)
   11371   case $host_cpu in
   11372   powerpc)
   11373     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11374     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11375     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11376     ;;
   11377   m68k)
   11378     library_names_spec='$libname.ixlibrary $libname.a'
   11379     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11380     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'
   11381     ;;
   11382   esac
   11383   ;;
   11384 
   11385 beos*)
   11386   library_names_spec='$libname$shared_ext'
   11387   dynamic_linker="$host_os ld.so"
   11388   shlibpath_var=LIBRARY_PATH
   11389   ;;
   11390 
   11391 bsdi[45]*)
   11392   version_type=linux # correct to gnu/linux during the next big refactor
   11393   need_version=no
   11394   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11395   soname_spec='$libname$release$shared_ext$major'
   11396   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11397   shlibpath_var=LD_LIBRARY_PATH
   11398   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11399   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11400   # the default ld.so.conf also contains /usr/contrib/lib and
   11401   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11402   # libtool to hard-code these into programs
   11403   ;;
   11404 
   11405 cygwin* | mingw* | pw32* | cegcc*)
   11406   version_type=windows
   11407   shrext_cmds=.dll
   11408   need_version=no
   11409   need_lib_prefix=no
   11410 
   11411   case $GCC,$cc_basename in
   11412   yes,*)
   11413     # gcc
   11414     library_names_spec='$libname.dll.a'
   11415     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11416     postinstall_cmds='base_file=`basename \$file`~
   11417       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11418       dldir=$destdir/`dirname \$dlpath`~
   11419       test -d \$dldir || mkdir -p \$dldir~
   11420       $install_prog $dir/$dlname \$dldir/$dlname~
   11421       chmod a+x \$dldir/$dlname~
   11422       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11423         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11424       fi'
   11425     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11426       dlpath=$dir/\$dldll~
   11427        $RM \$dlpath'
   11428     shlibpath_overrides_runpath=yes
   11429 
   11430     case $host_os in
   11431     cygwin*)
   11432       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11433       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11434 
   11435       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11436       ;;
   11437     mingw* | cegcc*)
   11438       # MinGW DLLs use traditional 'lib' prefix
   11439       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11440       ;;
   11441     pw32*)
   11442       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11443       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11444       ;;
   11445     esac
   11446     dynamic_linker='Win32 ld.exe'
   11447     ;;
   11448 
   11449   *,cl* | *,icl*)
   11450     # Native MSVC or ICC
   11451     libname_spec='$name'
   11452     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11453     library_names_spec='$libname.dll.lib'
   11454 
   11455     case $build_os in
   11456     mingw*)
   11457       sys_lib_search_path_spec=
   11458       lt_save_ifs=$IFS
   11459       IFS=';'
   11460       for lt_path in $LIB
   11461       do
   11462         IFS=$lt_save_ifs
   11463         # Let DOS variable expansion print the short 8.3 style file name.
   11464         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11465         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11466       done
   11467       IFS=$lt_save_ifs
   11468       # Convert to MSYS style.
   11469       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11470       ;;
   11471     cygwin*)
   11472       # Convert to unix form, then to dos form, then back to unix form
   11473       # but this time dos style (no spaces!) so that the unix form looks
   11474       # like /cygdrive/c/PROGRA~1:/cygdr...
   11475       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11476       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11477       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11478       ;;
   11479     *)
   11480       sys_lib_search_path_spec=$LIB
   11481       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11482         # It is most probably a Windows format PATH.
   11483         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11484       else
   11485         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11486       fi
   11487       # FIXME: find the short name or the path components, as spaces are
   11488       # common. (e.g. "Program Files" -> "PROGRA~1")
   11489       ;;
   11490     esac
   11491 
   11492     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11493     postinstall_cmds='base_file=`basename \$file`~
   11494       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11495       dldir=$destdir/`dirname \$dlpath`~
   11496       test -d \$dldir || mkdir -p \$dldir~
   11497       $install_prog $dir/$dlname \$dldir/$dlname'
   11498     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11499       dlpath=$dir/\$dldll~
   11500        $RM \$dlpath'
   11501     shlibpath_overrides_runpath=yes
   11502     dynamic_linker='Win32 link.exe'
   11503     ;;
   11504 
   11505   *)
   11506     # Assume MSVC and ICC wrapper
   11507     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11508     dynamic_linker='Win32 ld.exe'
   11509     ;;
   11510   esac
   11511   # FIXME: first we should search . and the directory the executable is in
   11512   shlibpath_var=PATH
   11513   ;;
   11514 
   11515 darwin* | rhapsody*)
   11516   dynamic_linker="$host_os dyld"
   11517   version_type=darwin
   11518   need_lib_prefix=no
   11519   need_version=no
   11520   library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
   11521   soname_spec='$libname$release$major$shared_ext'
   11522   shlibpath_overrides_runpath=yes
   11523   shlibpath_var=DYLD_LIBRARY_PATH
   11524   shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
   11525 
   11526   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11527   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11528   ;;
   11529 
   11530 dgux*)
   11531   version_type=linux # correct to gnu/linux during the next big refactor
   11532   need_lib_prefix=no
   11533   need_version=no
   11534   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11535   soname_spec='$libname$release$shared_ext$major'
   11536   shlibpath_var=LD_LIBRARY_PATH
   11537   ;;
   11538 
   11539 freebsd* | dragonfly* | midnightbsd*)
   11540   # DragonFly does not have aout.  When/if they implement a new
   11541   # versioning mechanism, adjust this.
   11542   if test -x /usr/bin/objformat; then
   11543     objformat=`/usr/bin/objformat`
   11544   else
   11545     case $host_os in
   11546     freebsd[23].*) objformat=aout ;;
   11547     *) objformat=elf ;;
   11548     esac
   11549   fi
   11550   # Handle Gentoo/FreeBSD as it was Linux
   11551   case $host_vendor in
   11552     gentoo)
   11553       version_type=linux ;;
   11554     *)
   11555       version_type=freebsd-$objformat ;;
   11556   esac
   11557 
   11558   case $version_type in
   11559     freebsd-elf*)
   11560       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11561       soname_spec='$libname$release$shared_ext$major'
   11562       need_version=no
   11563       need_lib_prefix=no
   11564       ;;
   11565     freebsd-*)
   11566       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11567       need_version=yes
   11568       ;;
   11569     linux)
   11570       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11571       soname_spec='${libname}${release}${shared_ext}$major'
   11572       need_lib_prefix=no
   11573       need_version=no
   11574       ;;
   11575   esac
   11576   shlibpath_var=LD_LIBRARY_PATH
   11577   case $host_os in
   11578   freebsd2.*)
   11579     shlibpath_overrides_runpath=yes
   11580     ;;
   11581   freebsd3.[01]* | freebsdelf3.[01]*)
   11582     shlibpath_overrides_runpath=yes
   11583     hardcode_into_libs=yes
   11584     ;;
   11585   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11586   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11587     shlibpath_overrides_runpath=no
   11588     hardcode_into_libs=yes
   11589     ;;
   11590   *) # from 4.6 on, and DragonFly
   11591     shlibpath_overrides_runpath=yes
   11592     hardcode_into_libs=yes
   11593     ;;
   11594   esac
   11595   ;;
   11596 
   11597 haiku*)
   11598   version_type=linux # correct to gnu/linux during the next big refactor
   11599   need_lib_prefix=no
   11600   need_version=no
   11601   dynamic_linker="$host_os runtime_loader"
   11602   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11603   soname_spec='$libname$release$shared_ext$major'
   11604   shlibpath_var=LIBRARY_PATH
   11605   shlibpath_overrides_runpath=no
   11606   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11607   hardcode_into_libs=yes
   11608   ;;
   11609 
   11610 hpux9* | hpux10* | hpux11*)
   11611   # Give a soname corresponding to the major version so that dld.sl refuses to
   11612   # link against other versions.
   11613   version_type=sunos
   11614   need_lib_prefix=no
   11615   need_version=no
   11616   case $host_cpu in
   11617   ia64*)
   11618     shrext_cmds='.so'
   11619     hardcode_into_libs=yes
   11620     dynamic_linker="$host_os dld.so"
   11621     shlibpath_var=LD_LIBRARY_PATH
   11622     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11623     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11624     soname_spec='$libname$release$shared_ext$major'
   11625     if test 32 = "$HPUX_IA64_MODE"; then
   11626       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11627       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11628     else
   11629       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11630       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11631     fi
   11632     ;;
   11633   hppa*64*)
   11634     shrext_cmds='.sl'
   11635     hardcode_into_libs=yes
   11636     dynamic_linker="$host_os dld.sl"
   11637     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11638     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11639     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11640     soname_spec='$libname$release$shared_ext$major'
   11641     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11642     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11643     ;;
   11644   *)
   11645     shrext_cmds='.sl'
   11646     dynamic_linker="$host_os dld.sl"
   11647     shlibpath_var=SHLIB_PATH
   11648     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11649     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11650     soname_spec='$libname$release$shared_ext$major'
   11651     ;;
   11652   esac
   11653   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11654   postinstall_cmds='chmod 555 $lib'
   11655   # or fails outright, so override atomically:
   11656   install_override_mode=555
   11657   ;;
   11658 
   11659 interix[3-9]*)
   11660   version_type=linux # correct to gnu/linux during the next big refactor
   11661   need_lib_prefix=no
   11662   need_version=no
   11663   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11664   soname_spec='$libname$release$shared_ext$major'
   11665   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11666   shlibpath_var=LD_LIBRARY_PATH
   11667   shlibpath_overrides_runpath=no
   11668   hardcode_into_libs=yes
   11669   ;;
   11670 
   11671 irix5* | irix6* | nonstopux*)
   11672   case $host_os in
   11673     nonstopux*) version_type=nonstopux ;;
   11674     *)
   11675 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11676 		version_type=linux # correct to gnu/linux during the next big refactor
   11677 	else
   11678 		version_type=irix
   11679 	fi ;;
   11680   esac
   11681   need_lib_prefix=no
   11682   need_version=no
   11683   soname_spec='$libname$release$shared_ext$major'
   11684   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11685   case $host_os in
   11686   irix5* | nonstopux*)
   11687     libsuff= shlibsuff=
   11688     ;;
   11689   *)
   11690     case $LD in # libtool.m4 will add one of these switches to LD
   11691     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11692       libsuff= shlibsuff= libmagic=32-bit;;
   11693     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11694       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11695     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11696       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11697     *) libsuff= shlibsuff= libmagic=never-match;;
   11698     esac
   11699     ;;
   11700   esac
   11701   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11702   shlibpath_overrides_runpath=no
   11703   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11704   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11705   hardcode_into_libs=yes
   11706   ;;
   11707 
   11708 # No shared lib support for Linux oldld, aout, or coff.
   11709 linux*oldld* | linux*aout* | linux*coff*)
   11710   dynamic_linker=no
   11711   ;;
   11712 
   11713 linux*android*)
   11714   version_type=none # Android doesn't support versioned libraries.
   11715   need_lib_prefix=no
   11716   need_version=no
   11717   library_names_spec='$libname$release$shared_ext'
   11718   soname_spec='$libname$release$shared_ext'
   11719   finish_cmds=
   11720   shlibpath_var=LD_LIBRARY_PATH
   11721   shlibpath_overrides_runpath=yes
   11722 
   11723   # This implies no fast_install, which is unacceptable.
   11724   # Some rework will be needed to allow for fast_install
   11725   # before this can be enabled.
   11726   hardcode_into_libs=yes
   11727 
   11728   dynamic_linker='Android linker'
   11729   # Don't embed -rpath directories since the linker doesn't support them.
   11730   hardcode_libdir_flag_spec='-L$libdir'
   11731   ;;
   11732 
   11733 # This must be glibc/ELF.
   11734 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11735   version_type=linux # correct to gnu/linux during the next big refactor
   11736   need_lib_prefix=no
   11737   need_version=no
   11738   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11739   soname_spec='$libname$release$shared_ext$major'
   11740   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11741   shlibpath_var=LD_LIBRARY_PATH
   11742   shlibpath_overrides_runpath=no
   11743 
   11744   # Some binutils ld are patched to set DT_RUNPATH
   11745   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11746 then :
   11747   printf %s "(cached) " >&6
   11748 else $as_nop
   11749   lt_cv_shlibpath_overrides_runpath=no
   11750     save_LDFLAGS=$LDFLAGS
   11751     save_libdir=$libdir
   11752     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11753 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11754     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11755 /* end confdefs.h.  */
   11756 
   11757 int
   11758 main (void)
   11759 {
   11760 
   11761   ;
   11762   return 0;
   11763 }
   11764 _ACEOF
   11765 if ac_fn_c_try_link "$LINENO"
   11766 then :
   11767   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11768 then :
   11769   lt_cv_shlibpath_overrides_runpath=yes
   11770 fi
   11771 fi
   11772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11773     conftest$ac_exeext conftest.$ac_ext
   11774     LDFLAGS=$save_LDFLAGS
   11775     libdir=$save_libdir
   11776 
   11777 fi
   11778 
   11779   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11780 
   11781   # This implies no fast_install, which is unacceptable.
   11782   # Some rework will be needed to allow for fast_install
   11783   # before this can be enabled.
   11784   hardcode_into_libs=yes
   11785 
   11786   # Ideally, we could use ldconfig to report *all* directores which are
   11787   # searched for libraries, however this is still not possible.  Aside from not
   11788   # being certain /sbin/ldconfig is available, command
   11789   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11790   # even though it is searched at run-time.  Try to do the best guess by
   11791   # appending ld.so.conf contents (and includes) to the search path.
   11792   if test -f /etc/ld.so.conf; then
   11793     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' ' '`
   11794     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11795   fi
   11796 
   11797   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11798   # powerpc, because MkLinux only supported shared libraries with the
   11799   # GNU dynamic linker.  Since this was broken with cross compilers,
   11800   # most powerpc-linux boxes support dynamic linking these days and
   11801   # people can always --disable-shared, the test was removed, and we
   11802   # assume the GNU/Linux dynamic linker is in use.
   11803   dynamic_linker='GNU/Linux ld.so'
   11804   ;;
   11805 
   11806 netbsd*)
   11807   version_type=sunos
   11808   need_lib_prefix=no
   11809   need_version=no
   11810   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11811     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11812     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11813     dynamic_linker='NetBSD (a.out) ld.so'
   11814   else
   11815     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11816     soname_spec='$libname$release$shared_ext$major'
   11817     dynamic_linker='NetBSD ld.elf_so'
   11818   fi
   11819   shlibpath_var=LD_LIBRARY_PATH
   11820   shlibpath_overrides_runpath=yes
   11821   hardcode_into_libs=yes
   11822   ;;
   11823 
   11824 newsos6)
   11825   version_type=linux # correct to gnu/linux during the next big refactor
   11826   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11827   shlibpath_var=LD_LIBRARY_PATH
   11828   shlibpath_overrides_runpath=yes
   11829   ;;
   11830 
   11831 *nto* | *qnx*)
   11832   version_type=qnx
   11833   need_lib_prefix=no
   11834   need_version=no
   11835   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11836   soname_spec='$libname$release$shared_ext$major'
   11837   shlibpath_var=LD_LIBRARY_PATH
   11838   shlibpath_overrides_runpath=no
   11839   hardcode_into_libs=yes
   11840   dynamic_linker='ldqnx.so'
   11841   ;;
   11842 
   11843 openbsd* | bitrig*)
   11844   version_type=sunos
   11845   sys_lib_dlsearch_path_spec=/usr/lib
   11846   need_lib_prefix=no
   11847   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11848     need_version=no
   11849   else
   11850     need_version=yes
   11851   fi
   11852   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11853   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11854   shlibpath_var=LD_LIBRARY_PATH
   11855   shlibpath_overrides_runpath=yes
   11856   ;;
   11857 
   11858 os2*)
   11859   libname_spec='$name'
   11860   version_type=windows
   11861   shrext_cmds=.dll
   11862   need_version=no
   11863   need_lib_prefix=no
   11864   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11865   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11866     v=$($ECHO $release$versuffix | tr -d .-);
   11867     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11868     $ECHO $n$v`$shared_ext'
   11869   library_names_spec='${libname}_dll.$libext'
   11870   dynamic_linker='OS/2 ld.exe'
   11871   shlibpath_var=BEGINLIBPATH
   11872   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11873   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11874   postinstall_cmds='base_file=`basename \$file`~
   11875     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11876     dldir=$destdir/`dirname \$dlpath`~
   11877     test -d \$dldir || mkdir -p \$dldir~
   11878     $install_prog $dir/$dlname \$dldir/$dlname~
   11879     chmod a+x \$dldir/$dlname~
   11880     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11881       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11882     fi'
   11883   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11884     dlpath=$dir/\$dldll~
   11885     $RM \$dlpath'
   11886   ;;
   11887 
   11888 osf3* | osf4* | osf5*)
   11889   version_type=osf
   11890   need_lib_prefix=no
   11891   need_version=no
   11892   soname_spec='$libname$release$shared_ext$major'
   11893   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11894   shlibpath_var=LD_LIBRARY_PATH
   11895   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11896   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11897   ;;
   11898 
   11899 rdos*)
   11900   dynamic_linker=no
   11901   ;;
   11902 
   11903 solaris*)
   11904   version_type=linux # correct to gnu/linux during the next big refactor
   11905   need_lib_prefix=no
   11906   need_version=no
   11907   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11908   soname_spec='$libname$release$shared_ext$major'
   11909   shlibpath_var=LD_LIBRARY_PATH
   11910   shlibpath_overrides_runpath=yes
   11911   hardcode_into_libs=yes
   11912   # ldd complains unless libraries are executable
   11913   postinstall_cmds='chmod +x $lib'
   11914   ;;
   11915 
   11916 sunos4*)
   11917   version_type=sunos
   11918   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11919   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11920   shlibpath_var=LD_LIBRARY_PATH
   11921   shlibpath_overrides_runpath=yes
   11922   if test yes = "$with_gnu_ld"; then
   11923     need_lib_prefix=no
   11924   fi
   11925   need_version=yes
   11926   ;;
   11927 
   11928 sysv4 | sysv4.3*)
   11929   version_type=linux # correct to gnu/linux during the next big refactor
   11930   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11931   soname_spec='$libname$release$shared_ext$major'
   11932   shlibpath_var=LD_LIBRARY_PATH
   11933   case $host_vendor in
   11934     sni)
   11935       shlibpath_overrides_runpath=no
   11936       need_lib_prefix=no
   11937       runpath_var=LD_RUN_PATH
   11938       ;;
   11939     siemens)
   11940       need_lib_prefix=no
   11941       ;;
   11942     motorola)
   11943       need_lib_prefix=no
   11944       need_version=no
   11945       shlibpath_overrides_runpath=no
   11946       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11947       ;;
   11948   esac
   11949   ;;
   11950 
   11951 sysv4*MP*)
   11952   if test -d /usr/nec; then
   11953     version_type=linux # correct to gnu/linux during the next big refactor
   11954     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11955     soname_spec='$libname$shared_ext.$major'
   11956     shlibpath_var=LD_LIBRARY_PATH
   11957   fi
   11958   ;;
   11959 
   11960 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11961   version_type=sco
   11962   need_lib_prefix=no
   11963   need_version=no
   11964   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11965   soname_spec='$libname$release$shared_ext$major'
   11966   shlibpath_var=LD_LIBRARY_PATH
   11967   shlibpath_overrides_runpath=yes
   11968   hardcode_into_libs=yes
   11969   if test yes = "$with_gnu_ld"; then
   11970     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11971   else
   11972     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11973     case $host_os in
   11974       sco3.2v5*)
   11975         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11976 	;;
   11977     esac
   11978   fi
   11979   sys_lib_dlsearch_path_spec='/usr/lib'
   11980   ;;
   11981 
   11982 tpf*)
   11983   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11984   version_type=linux # correct to gnu/linux during the next big refactor
   11985   need_lib_prefix=no
   11986   need_version=no
   11987   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11988   shlibpath_var=LD_LIBRARY_PATH
   11989   shlibpath_overrides_runpath=no
   11990   hardcode_into_libs=yes
   11991   ;;
   11992 
   11993 uts4*)
   11994   version_type=linux # correct to gnu/linux during the next big refactor
   11995   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11996   soname_spec='$libname$release$shared_ext$major'
   11997   shlibpath_var=LD_LIBRARY_PATH
   11998   ;;
   11999 
   12000 *)
   12001   dynamic_linker=no
   12002   ;;
   12003 esac
   12004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12005 printf "%s\n" "$dynamic_linker" >&6; }
   12006 test no = "$dynamic_linker" && can_build_shared=no
   12007 
   12008 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12009 if test yes = "$GCC"; then
   12010   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12011 fi
   12012 
   12013 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12014   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12015 fi
   12016 
   12017 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12018   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12019 fi
   12020 
   12021 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12022 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12023 
   12024 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12025 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12026 
   12027 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12028 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 
   12047 
   12048 
   12049 
   12050 
   12051 
   12052 
   12053 
   12054 
   12055 
   12056 
   12057 
   12058 
   12059 
   12060 
   12061 
   12062 
   12063 
   12064 
   12065 
   12066 
   12067 
   12068 
   12069 
   12070 
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 
   12083 
   12084 
   12085 
   12086 
   12087 
   12088 
   12089 
   12090 
   12091 
   12092 
   12093 
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100 
   12101 
   12102 
   12103 
   12104 
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12127 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12128 hardcode_action=
   12129 if test -n "$hardcode_libdir_flag_spec" ||
   12130    test -n "$runpath_var" ||
   12131    test yes = "$hardcode_automatic"; then
   12132 
   12133   # We can hardcode non-existent directories.
   12134   if test no != "$hardcode_direct" &&
   12135      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12136      # have to relink, otherwise we might link with an installed library
   12137      # when we should be linking with a yet-to-be-installed one
   12138      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12139      test no != "$hardcode_minus_L"; then
   12140     # Linking always hardcodes the temporary library directory.
   12141     hardcode_action=relink
   12142   else
   12143     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12144     hardcode_action=immediate
   12145   fi
   12146 else
   12147   # We cannot hardcode anything, or else we can only hardcode existing
   12148   # directories.
   12149   hardcode_action=unsupported
   12150 fi
   12151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12152 printf "%s\n" "$hardcode_action" >&6; }
   12153 
   12154 if test relink = "$hardcode_action" ||
   12155    test yes = "$inherit_rpath"; then
   12156   # Fast installation is not supported
   12157   enable_fast_install=no
   12158 elif test yes = "$shlibpath_overrides_runpath" ||
   12159      test no = "$enable_shared"; then
   12160   # Fast installation is not necessary
   12161   enable_fast_install=needless
   12162 fi
   12163 
   12164 
   12165 
   12166 
   12167 
   12168 
   12169   if test yes != "$enable_dlopen"; then
   12170   enable_dlopen=unknown
   12171   enable_dlopen_self=unknown
   12172   enable_dlopen_self_static=unknown
   12173 else
   12174   lt_cv_dlopen=no
   12175   lt_cv_dlopen_libs=
   12176 
   12177   case $host_os in
   12178   beos*)
   12179     lt_cv_dlopen=load_add_on
   12180     lt_cv_dlopen_libs=
   12181     lt_cv_dlopen_self=yes
   12182     ;;
   12183 
   12184   mingw* | pw32* | cegcc*)
   12185     lt_cv_dlopen=LoadLibrary
   12186     lt_cv_dlopen_libs=
   12187     ;;
   12188 
   12189   cygwin*)
   12190     lt_cv_dlopen=dlopen
   12191     lt_cv_dlopen_libs=
   12192     ;;
   12193 
   12194   darwin*)
   12195     # if libdl is installed we need to link against it
   12196     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12197 printf %s "checking for dlopen in -ldl... " >&6; }
   12198 if test ${ac_cv_lib_dl_dlopen+y}
   12199 then :
   12200   printf %s "(cached) " >&6
   12201 else $as_nop
   12202   ac_check_lib_save_LIBS=$LIBS
   12203 LIBS="-ldl  $LIBS"
   12204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12205 /* end confdefs.h.  */
   12206 
   12207 /* Override any GCC internal prototype to avoid an error.
   12208    Use char because int might match the return type of a GCC
   12209    builtin and then its argument prototype would still apply.
   12210    The 'extern "C"' is for builds by C++ compilers;
   12211    although this is not generally supported in C code supporting it here
   12212    has little cost and some practical benefit (sr 110532).  */
   12213 #ifdef __cplusplus
   12214 extern "C"
   12215 #endif
   12216 char dlopen (void);
   12217 int
   12218 main (void)
   12219 {
   12220 return dlopen ();
   12221   ;
   12222   return 0;
   12223 }
   12224 _ACEOF
   12225 if ac_fn_c_try_link "$LINENO"
   12226 then :
   12227   ac_cv_lib_dl_dlopen=yes
   12228 else $as_nop
   12229   ac_cv_lib_dl_dlopen=no
   12230 fi
   12231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12232     conftest$ac_exeext conftest.$ac_ext
   12233 LIBS=$ac_check_lib_save_LIBS
   12234 fi
   12235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12236 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12237 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12238 then :
   12239   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12240 else $as_nop
   12241 
   12242     lt_cv_dlopen=dyld
   12243     lt_cv_dlopen_libs=
   12244     lt_cv_dlopen_self=yes
   12245 
   12246 fi
   12247 
   12248     ;;
   12249 
   12250   tpf*)
   12251     # Don't try to run any link tests for TPF.  We know it's impossible
   12252     # because TPF is a cross-compiler, and we know how we open DSOs.
   12253     lt_cv_dlopen=dlopen
   12254     lt_cv_dlopen_libs=
   12255     lt_cv_dlopen_self=no
   12256     ;;
   12257 
   12258   *)
   12259     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12260 if test "x$ac_cv_func_shl_load" = xyes
   12261 then :
   12262   lt_cv_dlopen=shl_load
   12263 else $as_nop
   12264   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12265 printf %s "checking for shl_load in -ldld... " >&6; }
   12266 if test ${ac_cv_lib_dld_shl_load+y}
   12267 then :
   12268   printf %s "(cached) " >&6
   12269 else $as_nop
   12270   ac_check_lib_save_LIBS=$LIBS
   12271 LIBS="-ldld  $LIBS"
   12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12273 /* end confdefs.h.  */
   12274 
   12275 /* Override any GCC internal prototype to avoid an error.
   12276    Use char because int might match the return type of a GCC
   12277    builtin and then its argument prototype would still apply.
   12278    The 'extern "C"' is for builds by C++ compilers;
   12279    although this is not generally supported in C code supporting it here
   12280    has little cost and some practical benefit (sr 110532).  */
   12281 #ifdef __cplusplus
   12282 extern "C"
   12283 #endif
   12284 char shl_load (void);
   12285 int
   12286 main (void)
   12287 {
   12288 return shl_load ();
   12289   ;
   12290   return 0;
   12291 }
   12292 _ACEOF
   12293 if ac_fn_c_try_link "$LINENO"
   12294 then :
   12295   ac_cv_lib_dld_shl_load=yes
   12296 else $as_nop
   12297   ac_cv_lib_dld_shl_load=no
   12298 fi
   12299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12300     conftest$ac_exeext conftest.$ac_ext
   12301 LIBS=$ac_check_lib_save_LIBS
   12302 fi
   12303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12304 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12305 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12306 then :
   12307   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12308 else $as_nop
   12309   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12310 if test "x$ac_cv_func_dlopen" = xyes
   12311 then :
   12312   lt_cv_dlopen=dlopen
   12313 else $as_nop
   12314   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12315 printf %s "checking for dlopen in -ldl... " >&6; }
   12316 if test ${ac_cv_lib_dl_dlopen+y}
   12317 then :
   12318   printf %s "(cached) " >&6
   12319 else $as_nop
   12320   ac_check_lib_save_LIBS=$LIBS
   12321 LIBS="-ldl  $LIBS"
   12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12323 /* end confdefs.h.  */
   12324 
   12325 /* Override any GCC internal prototype to avoid an error.
   12326    Use char because int might match the return type of a GCC
   12327    builtin and then its argument prototype would still apply.
   12328    The 'extern "C"' is for builds by C++ compilers;
   12329    although this is not generally supported in C code supporting it here
   12330    has little cost and some practical benefit (sr 110532).  */
   12331 #ifdef __cplusplus
   12332 extern "C"
   12333 #endif
   12334 char dlopen (void);
   12335 int
   12336 main (void)
   12337 {
   12338 return dlopen ();
   12339   ;
   12340   return 0;
   12341 }
   12342 _ACEOF
   12343 if ac_fn_c_try_link "$LINENO"
   12344 then :
   12345   ac_cv_lib_dl_dlopen=yes
   12346 else $as_nop
   12347   ac_cv_lib_dl_dlopen=no
   12348 fi
   12349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12350     conftest$ac_exeext conftest.$ac_ext
   12351 LIBS=$ac_check_lib_save_LIBS
   12352 fi
   12353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12354 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12355 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12356 then :
   12357   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12358 else $as_nop
   12359   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12360 printf %s "checking for dlopen in -lsvld... " >&6; }
   12361 if test ${ac_cv_lib_svld_dlopen+y}
   12362 then :
   12363   printf %s "(cached) " >&6
   12364 else $as_nop
   12365   ac_check_lib_save_LIBS=$LIBS
   12366 LIBS="-lsvld  $LIBS"
   12367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12368 /* end confdefs.h.  */
   12369 
   12370 /* Override any GCC internal prototype to avoid an error.
   12371    Use char because int might match the return type of a GCC
   12372    builtin and then its argument prototype would still apply.
   12373    The 'extern "C"' is for builds by C++ compilers;
   12374    although this is not generally supported in C code supporting it here
   12375    has little cost and some practical benefit (sr 110532).  */
   12376 #ifdef __cplusplus
   12377 extern "C"
   12378 #endif
   12379 char dlopen (void);
   12380 int
   12381 main (void)
   12382 {
   12383 return dlopen ();
   12384   ;
   12385   return 0;
   12386 }
   12387 _ACEOF
   12388 if ac_fn_c_try_link "$LINENO"
   12389 then :
   12390   ac_cv_lib_svld_dlopen=yes
   12391 else $as_nop
   12392   ac_cv_lib_svld_dlopen=no
   12393 fi
   12394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12395     conftest$ac_exeext conftest.$ac_ext
   12396 LIBS=$ac_check_lib_save_LIBS
   12397 fi
   12398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12399 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12400 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12401 then :
   12402   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12403 else $as_nop
   12404   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12405 printf %s "checking for dld_link in -ldld... " >&6; }
   12406 if test ${ac_cv_lib_dld_dld_link+y}
   12407 then :
   12408   printf %s "(cached) " >&6
   12409 else $as_nop
   12410   ac_check_lib_save_LIBS=$LIBS
   12411 LIBS="-ldld  $LIBS"
   12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12413 /* end confdefs.h.  */
   12414 
   12415 /* Override any GCC internal prototype to avoid an error.
   12416    Use char because int might match the return type of a GCC
   12417    builtin and then its argument prototype would still apply.
   12418    The 'extern "C"' is for builds by C++ compilers;
   12419    although this is not generally supported in C code supporting it here
   12420    has little cost and some practical benefit (sr 110532).  */
   12421 #ifdef __cplusplus
   12422 extern "C"
   12423 #endif
   12424 char dld_link (void);
   12425 int
   12426 main (void)
   12427 {
   12428 return dld_link ();
   12429   ;
   12430   return 0;
   12431 }
   12432 _ACEOF
   12433 if ac_fn_c_try_link "$LINENO"
   12434 then :
   12435   ac_cv_lib_dld_dld_link=yes
   12436 else $as_nop
   12437   ac_cv_lib_dld_dld_link=no
   12438 fi
   12439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12440     conftest$ac_exeext conftest.$ac_ext
   12441 LIBS=$ac_check_lib_save_LIBS
   12442 fi
   12443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12444 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12445 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12446 then :
   12447   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12448 fi
   12449 
   12450 
   12451 fi
   12452 
   12453 
   12454 fi
   12455 
   12456 
   12457 fi
   12458 
   12459 
   12460 fi
   12461 
   12462 
   12463 fi
   12464 
   12465     ;;
   12466   esac
   12467 
   12468   if test no = "$lt_cv_dlopen"; then
   12469     enable_dlopen=no
   12470   else
   12471     enable_dlopen=yes
   12472   fi
   12473 
   12474   case $lt_cv_dlopen in
   12475   dlopen)
   12476     save_CPPFLAGS=$CPPFLAGS
   12477     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12478 
   12479     save_LDFLAGS=$LDFLAGS
   12480     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12481 
   12482     save_LIBS=$LIBS
   12483     LIBS="$lt_cv_dlopen_libs $LIBS"
   12484 
   12485     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12486 printf %s "checking whether a program can dlopen itself... " >&6; }
   12487 if test ${lt_cv_dlopen_self+y}
   12488 then :
   12489   printf %s "(cached) " >&6
   12490 else $as_nop
   12491   	  if test yes = "$cross_compiling"; then :
   12492   lt_cv_dlopen_self=cross
   12493 else
   12494   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12495   lt_status=$lt_dlunknown
   12496   cat > conftest.$ac_ext <<_LT_EOF
   12497 #line $LINENO "configure"
   12498 #include "confdefs.h"
   12499 
   12500 #if HAVE_DLFCN_H
   12501 #include <dlfcn.h>
   12502 #endif
   12503 
   12504 #include <stdio.h>
   12505 
   12506 #ifdef RTLD_GLOBAL
   12507 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12508 #else
   12509 #  ifdef DL_GLOBAL
   12510 #    define LT_DLGLOBAL		DL_GLOBAL
   12511 #  else
   12512 #    define LT_DLGLOBAL		0
   12513 #  endif
   12514 #endif
   12515 
   12516 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12517    find out it does not work in some platform. */
   12518 #ifndef LT_DLLAZY_OR_NOW
   12519 #  ifdef RTLD_LAZY
   12520 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12521 #  else
   12522 #    ifdef DL_LAZY
   12523 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12524 #    else
   12525 #      ifdef RTLD_NOW
   12526 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12527 #      else
   12528 #        ifdef DL_NOW
   12529 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12530 #        else
   12531 #          define LT_DLLAZY_OR_NOW	0
   12532 #        endif
   12533 #      endif
   12534 #    endif
   12535 #  endif
   12536 #endif
   12537 
   12538 /* When -fvisibility=hidden is used, assume the code has been annotated
   12539    correspondingly for the symbols needed.  */
   12540 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12541 int fnord () __attribute__((visibility("default")));
   12542 #endif
   12543 
   12544 int fnord () { return 42; }
   12545 int main ()
   12546 {
   12547   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12548   int status = $lt_dlunknown;
   12549 
   12550   if (self)
   12551     {
   12552       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12553       else
   12554         {
   12555 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12556           else puts (dlerror ());
   12557 	}
   12558       /* dlclose (self); */
   12559     }
   12560   else
   12561     puts (dlerror ());
   12562 
   12563   return status;
   12564 }
   12565 _LT_EOF
   12566   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12567   (eval $ac_link) 2>&5
   12568   ac_status=$?
   12569   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12570   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12571     (./conftest; exit; ) >&5 2>/dev/null
   12572     lt_status=$?
   12573     case x$lt_status in
   12574       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12575       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12576       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12577     esac
   12578   else :
   12579     # compilation failed
   12580     lt_cv_dlopen_self=no
   12581   fi
   12582 fi
   12583 rm -fr conftest*
   12584 
   12585 
   12586 fi
   12587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12588 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12589 
   12590     if test yes = "$lt_cv_dlopen_self"; then
   12591       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12592       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12593 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12594 if test ${lt_cv_dlopen_self_static+y}
   12595 then :
   12596   printf %s "(cached) " >&6
   12597 else $as_nop
   12598   	  if test yes = "$cross_compiling"; then :
   12599   lt_cv_dlopen_self_static=cross
   12600 else
   12601   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12602   lt_status=$lt_dlunknown
   12603   cat > conftest.$ac_ext <<_LT_EOF
   12604 #line $LINENO "configure"
   12605 #include "confdefs.h"
   12606 
   12607 #if HAVE_DLFCN_H
   12608 #include <dlfcn.h>
   12609 #endif
   12610 
   12611 #include <stdio.h>
   12612 
   12613 #ifdef RTLD_GLOBAL
   12614 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12615 #else
   12616 #  ifdef DL_GLOBAL
   12617 #    define LT_DLGLOBAL		DL_GLOBAL
   12618 #  else
   12619 #    define LT_DLGLOBAL		0
   12620 #  endif
   12621 #endif
   12622 
   12623 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12624    find out it does not work in some platform. */
   12625 #ifndef LT_DLLAZY_OR_NOW
   12626 #  ifdef RTLD_LAZY
   12627 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12628 #  else
   12629 #    ifdef DL_LAZY
   12630 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12631 #    else
   12632 #      ifdef RTLD_NOW
   12633 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12634 #      else
   12635 #        ifdef DL_NOW
   12636 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12637 #        else
   12638 #          define LT_DLLAZY_OR_NOW	0
   12639 #        endif
   12640 #      endif
   12641 #    endif
   12642 #  endif
   12643 #endif
   12644 
   12645 /* When -fvisibility=hidden is used, assume the code has been annotated
   12646    correspondingly for the symbols needed.  */
   12647 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12648 int fnord () __attribute__((visibility("default")));
   12649 #endif
   12650 
   12651 int fnord () { return 42; }
   12652 int main ()
   12653 {
   12654   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12655   int status = $lt_dlunknown;
   12656 
   12657   if (self)
   12658     {
   12659       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12660       else
   12661         {
   12662 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12663           else puts (dlerror ());
   12664 	}
   12665       /* dlclose (self); */
   12666     }
   12667   else
   12668     puts (dlerror ());
   12669 
   12670   return status;
   12671 }
   12672 _LT_EOF
   12673   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12674   (eval $ac_link) 2>&5
   12675   ac_status=$?
   12676   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12677   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12678     (./conftest; exit; ) >&5 2>/dev/null
   12679     lt_status=$?
   12680     case x$lt_status in
   12681       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12682       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12683       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12684     esac
   12685   else :
   12686     # compilation failed
   12687     lt_cv_dlopen_self_static=no
   12688   fi
   12689 fi
   12690 rm -fr conftest*
   12691 
   12692 
   12693 fi
   12694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12695 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12696     fi
   12697 
   12698     CPPFLAGS=$save_CPPFLAGS
   12699     LDFLAGS=$save_LDFLAGS
   12700     LIBS=$save_LIBS
   12701     ;;
   12702   esac
   12703 
   12704   case $lt_cv_dlopen_self in
   12705   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12706   *) enable_dlopen_self=unknown ;;
   12707   esac
   12708 
   12709   case $lt_cv_dlopen_self_static in
   12710   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12711   *) enable_dlopen_self_static=unknown ;;
   12712   esac
   12713 fi
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 
   12723 
   12724 
   12725 
   12726 
   12727 
   12728 
   12729 
   12730 
   12731 striplib=
   12732 old_striplib=
   12733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12734 printf %s "checking whether stripping libraries is possible... " >&6; }
   12735 if test -z "$STRIP"; then
   12736   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12737 printf "%s\n" "no" >&6; }
   12738 else
   12739   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12740     old_striplib="$STRIP --strip-debug"
   12741     striplib="$STRIP --strip-unneeded"
   12742     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12743 printf "%s\n" "yes" >&6; }
   12744   else
   12745     case $host_os in
   12746     darwin*)
   12747       # FIXME - insert some real tests, host_os isn't really good enough
   12748       striplib="$STRIP -x"
   12749       old_striplib="$STRIP -S"
   12750       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12751 printf "%s\n" "yes" >&6; }
   12752       ;;
   12753     freebsd*)
   12754       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12755         old_striplib="$STRIP --strip-debug"
   12756         striplib="$STRIP --strip-unneeded"
   12757         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12758 printf "%s\n" "yes" >&6; }
   12759       else
   12760         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12761 printf "%s\n" "no" >&6; }
   12762       fi
   12763       ;;
   12764     *)
   12765       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12766 printf "%s\n" "no" >&6; }
   12767       ;;
   12768     esac
   12769   fi
   12770 fi
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783   # Report what library types will actually be built
   12784   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12785 printf %s "checking if libtool supports shared libraries... " >&6; }
   12786   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12787 printf "%s\n" "$can_build_shared" >&6; }
   12788 
   12789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12790 printf %s "checking whether to build shared libraries... " >&6; }
   12791   test no = "$can_build_shared" && enable_shared=no
   12792 
   12793   # On AIX, shared libraries and static libraries use the same namespace, and
   12794   # are all built from PIC.
   12795   case $host_os in
   12796   aix3*)
   12797     test yes = "$enable_shared" && enable_static=no
   12798     if test -n "$RANLIB"; then
   12799       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12800       postinstall_cmds='$RANLIB $lib'
   12801     fi
   12802     ;;
   12803 
   12804   aix[4-9]*)
   12805     if test ia64 != "$host_cpu"; then
   12806       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12807       yes,aix,yes) ;;			# shared object as lib.so file only
   12808       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12809       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12810       esac
   12811     fi
   12812     ;;
   12813   esac
   12814   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12815 printf "%s\n" "$enable_shared" >&6; }
   12816 
   12817   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12818 printf %s "checking whether to build static libraries... " >&6; }
   12819   # Make sure either enable_shared or enable_static is yes.
   12820   test yes = "$enable_shared" || enable_static=yes
   12821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12822 printf "%s\n" "$enable_static" >&6; }
   12823 
   12824 
   12825 
   12826 
   12827 fi
   12828 ac_ext=c
   12829 ac_cpp='$CPP $CPPFLAGS'
   12830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12833 
   12834 CC=$lt_save_CC
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 
   12842 
   12843 
   12844 
   12845 
   12846 
   12847 
   12848 
   12849 
   12850         ac_config_commands="$ac_config_commands libtool"
   12851 
   12852 
   12853 
   12854 
   12855 # Only expand once:
   12856 
   12857 
   12858 
   12859 # Require xorg-macros: XORG_DEFAULT_OPTIONS, XORG_WITH_LINT
   12860 
   12861 
   12862 
   12863 
   12864 
   12865 
   12866 
   12867 
   12868 
   12869 
   12870 
   12871 
   12872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12873 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12874 if test ${ac_cv_c_undeclared_builtin_options+y}
   12875 then :
   12876   printf %s "(cached) " >&6
   12877 else $as_nop
   12878   ac_save_CFLAGS=$CFLAGS
   12879    ac_cv_c_undeclared_builtin_options='cannot detect'
   12880    for ac_arg in '' -fno-builtin; do
   12881      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12882      # This test program should *not* compile successfully.
   12883      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12884 /* end confdefs.h.  */
   12885 
   12886 int
   12887 main (void)
   12888 {
   12889 (void) strchr;
   12890   ;
   12891   return 0;
   12892 }
   12893 _ACEOF
   12894 if ac_fn_c_try_compile "$LINENO"
   12895 then :
   12896 
   12897 else $as_nop
   12898   # This test program should compile successfully.
   12899         # No library function is consistently available on
   12900         # freestanding implementations, so test against a dummy
   12901         # declaration.  Include always-available headers on the
   12902         # off chance that they somehow elicit warnings.
   12903         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12904 /* end confdefs.h.  */
   12905 #include <float.h>
   12906 #include <limits.h>
   12907 #include <stdarg.h>
   12908 #include <stddef.h>
   12909 extern void ac_decl (int, char *);
   12910 
   12911 int
   12912 main (void)
   12913 {
   12914 (void) ac_decl (0, (char *) 0);
   12915   (void) ac_decl;
   12916 
   12917   ;
   12918   return 0;
   12919 }
   12920 _ACEOF
   12921 if ac_fn_c_try_compile "$LINENO"
   12922 then :
   12923   if test x"$ac_arg" = x
   12924 then :
   12925   ac_cv_c_undeclared_builtin_options='none needed'
   12926 else $as_nop
   12927   ac_cv_c_undeclared_builtin_options=$ac_arg
   12928 fi
   12929           break
   12930 fi
   12931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12932 fi
   12933 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12934     done
   12935     CFLAGS=$ac_save_CFLAGS
   12936 
   12937 fi
   12938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12939 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12940   case $ac_cv_c_undeclared_builtin_options in #(
   12941   'cannot detect') :
   12942     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12943 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12944 as_fn_error $? "cannot make $CC report undeclared builtins
   12945 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12946   'none needed') :
   12947     ac_c_undeclared_builtin_options='' ;; #(
   12948   *) :
   12949     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12950 esac
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12957 if test "x$ac_cv_have_decl___clang__" = xyes
   12958 then :
   12959   CLANGCC="yes"
   12960 else $as_nop
   12961   CLANGCC="no"
   12962 fi
   12963 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12964 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12965 then :
   12966   INTELCC="yes"
   12967 else $as_nop
   12968   INTELCC="no"
   12969 fi
   12970 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12971 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12972 then :
   12973   SUNCC="yes"
   12974 else $as_nop
   12975   SUNCC="no"
   12976 fi
   12977 
   12978 
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12986 	if test -n "$ac_tool_prefix"; then
   12987   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12988 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12990 printf %s "checking for $ac_word... " >&6; }
   12991 if test ${ac_cv_path_PKG_CONFIG+y}
   12992 then :
   12993   printf %s "(cached) " >&6
   12994 else $as_nop
   12995   case $PKG_CONFIG in
   12996   [\\/]* | ?:[\\/]*)
   12997   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12998   ;;
   12999   *)
   13000   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13001 for as_dir in $PATH
   13002 do
   13003   IFS=$as_save_IFS
   13004   case $as_dir in #(((
   13005     '') as_dir=./ ;;
   13006     */) ;;
   13007     *) as_dir=$as_dir/ ;;
   13008   esac
   13009     for ac_exec_ext in '' $ac_executable_extensions; do
   13010   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13011     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13012     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13013     break 2
   13014   fi
   13015 done
   13016   done
   13017 IFS=$as_save_IFS
   13018 
   13019   ;;
   13020 esac
   13021 fi
   13022 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13023 if test -n "$PKG_CONFIG"; then
   13024   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13025 printf "%s\n" "$PKG_CONFIG" >&6; }
   13026 else
   13027   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13028 printf "%s\n" "no" >&6; }
   13029 fi
   13030 
   13031 
   13032 fi
   13033 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13034   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13035   # Extract the first word of "pkg-config", so it can be a program name with args.
   13036 set dummy pkg-config; ac_word=$2
   13037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13038 printf %s "checking for $ac_word... " >&6; }
   13039 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13040 then :
   13041   printf %s "(cached) " >&6
   13042 else $as_nop
   13043   case $ac_pt_PKG_CONFIG in
   13044   [\\/]* | ?:[\\/]*)
   13045   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13046   ;;
   13047   *)
   13048   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13049 for as_dir in $PATH
   13050 do
   13051   IFS=$as_save_IFS
   13052   case $as_dir in #(((
   13053     '') as_dir=./ ;;
   13054     */) ;;
   13055     *) as_dir=$as_dir/ ;;
   13056   esac
   13057     for ac_exec_ext in '' $ac_executable_extensions; do
   13058   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13059     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13060     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13061     break 2
   13062   fi
   13063 done
   13064   done
   13065 IFS=$as_save_IFS
   13066 
   13067   ;;
   13068 esac
   13069 fi
   13070 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13071 if test -n "$ac_pt_PKG_CONFIG"; then
   13072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13073 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13074 else
   13075   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13076 printf "%s\n" "no" >&6; }
   13077 fi
   13078 
   13079   if test "x$ac_pt_PKG_CONFIG" = x; then
   13080     PKG_CONFIG=""
   13081   else
   13082     case $cross_compiling:$ac_tool_warned in
   13083 yes:)
   13084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13085 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13086 ac_tool_warned=yes ;;
   13087 esac
   13088     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13089   fi
   13090 else
   13091   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13092 fi
   13093 
   13094 fi
   13095 if test -n "$PKG_CONFIG"; then
   13096 	_pkg_min_version=0.9.0
   13097 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13098 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13099 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13101 printf "%s\n" "yes" >&6; }
   13102 	else
   13103 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13104 printf "%s\n" "no" >&6; }
   13105 		PKG_CONFIG=""
   13106 	fi
   13107 fi
   13108 
   13109 
   13110 
   13111 
   13112 
   13113 # Check whether --enable-selective-werror was given.
   13114 if test ${enable_selective_werror+y}
   13115 then :
   13116   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13117 else $as_nop
   13118   SELECTIVE_WERROR=yes
   13119 fi
   13120 
   13121 
   13122 
   13123 
   13124 
   13125 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13126 if test "x$SUNCC" = "xyes"; then
   13127     BASE_CFLAGS="-v"
   13128 else
   13129     BASE_CFLAGS=""
   13130 fi
   13131 
   13132 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13133 
   13134 
   13135 
   13136 
   13137 
   13138 
   13139 
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 
   13146 xorg_testset_save_CFLAGS="$CFLAGS"
   13147 
   13148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13150 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13151 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13152 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13153 then :
   13154   printf %s "(cached) " >&6
   13155 else $as_nop
   13156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13157 /* end confdefs.h.  */
   13158 int i;
   13159 _ACEOF
   13160 if ac_fn_c_try_compile "$LINENO"
   13161 then :
   13162   xorg_cv_cc_flag_unknown_warning_option=yes
   13163 else $as_nop
   13164   xorg_cv_cc_flag_unknown_warning_option=no
   13165 fi
   13166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13167 fi
   13168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13169 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13171 	CFLAGS="$xorg_testset_save_CFLAGS"
   13172 fi
   13173 
   13174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13177 	fi
   13178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13179 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13180 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13181 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13182 then :
   13183   printf %s "(cached) " >&6
   13184 else $as_nop
   13185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13186 /* end confdefs.h.  */
   13187 int i;
   13188 _ACEOF
   13189 if ac_fn_c_try_compile "$LINENO"
   13190 then :
   13191   xorg_cv_cc_flag_unused_command_line_argument=yes
   13192 else $as_nop
   13193   xorg_cv_cc_flag_unused_command_line_argument=no
   13194 fi
   13195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13196 fi
   13197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13198 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13200 	CFLAGS="$xorg_testset_save_CFLAGS"
   13201 fi
   13202 
   13203 found="no"
   13204 
   13205 	if test $found = "no" ; then
   13206 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13208 		fi
   13209 
   13210 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13212 		fi
   13213 
   13214 		CFLAGS="$CFLAGS -Wall"
   13215 
   13216 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13217 printf %s "checking if $CC supports -Wall... " >&6; }
   13218 		cacheid=xorg_cv_cc_flag__Wall
   13219 		if eval test \${$cacheid+y}
   13220 then :
   13221   printf %s "(cached) " >&6
   13222 else $as_nop
   13223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13224 /* end confdefs.h.  */
   13225 int i;
   13226 int
   13227 main (void)
   13228 {
   13229 
   13230   ;
   13231   return 0;
   13232 }
   13233 _ACEOF
   13234 if ac_fn_c_try_link "$LINENO"
   13235 then :
   13236   eval $cacheid=yes
   13237 else $as_nop
   13238   eval $cacheid=no
   13239 fi
   13240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13241     conftest$ac_exeext conftest.$ac_ext
   13242 fi
   13243 
   13244 
   13245 		CFLAGS="$xorg_testset_save_CFLAGS"
   13246 
   13247 		eval supported=\$$cacheid
   13248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13249 printf "%s\n" "$supported" >&6; }
   13250 		if test "$supported" = "yes" ; then
   13251 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13252 			found="yes"
   13253 		fi
   13254 	fi
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 
   13269 
   13270 xorg_testset_save_CFLAGS="$CFLAGS"
   13271 
   13272 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13273 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13275 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13276 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13277 then :
   13278   printf %s "(cached) " >&6
   13279 else $as_nop
   13280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13281 /* end confdefs.h.  */
   13282 int i;
   13283 _ACEOF
   13284 if ac_fn_c_try_compile "$LINENO"
   13285 then :
   13286   xorg_cv_cc_flag_unknown_warning_option=yes
   13287 else $as_nop
   13288   xorg_cv_cc_flag_unknown_warning_option=no
   13289 fi
   13290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13291 fi
   13292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13293 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13294 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13295 	CFLAGS="$xorg_testset_save_CFLAGS"
   13296 fi
   13297 
   13298 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13299 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13300 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13301 	fi
   13302 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13303 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13304 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13305 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13306 then :
   13307   printf %s "(cached) " >&6
   13308 else $as_nop
   13309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13310 /* end confdefs.h.  */
   13311 int i;
   13312 _ACEOF
   13313 if ac_fn_c_try_compile "$LINENO"
   13314 then :
   13315   xorg_cv_cc_flag_unused_command_line_argument=yes
   13316 else $as_nop
   13317   xorg_cv_cc_flag_unused_command_line_argument=no
   13318 fi
   13319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13320 fi
   13321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13322 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13323 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13324 	CFLAGS="$xorg_testset_save_CFLAGS"
   13325 fi
   13326 
   13327 found="no"
   13328 
   13329 	if test $found = "no" ; then
   13330 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13331 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13332 		fi
   13333 
   13334 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13335 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13336 		fi
   13337 
   13338 		CFLAGS="$CFLAGS -Wpointer-arith"
   13339 
   13340 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13341 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13342 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13343 		if eval test \${$cacheid+y}
   13344 then :
   13345   printf %s "(cached) " >&6
   13346 else $as_nop
   13347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13348 /* end confdefs.h.  */
   13349 int i;
   13350 int
   13351 main (void)
   13352 {
   13353 
   13354   ;
   13355   return 0;
   13356 }
   13357 _ACEOF
   13358 if ac_fn_c_try_link "$LINENO"
   13359 then :
   13360   eval $cacheid=yes
   13361 else $as_nop
   13362   eval $cacheid=no
   13363 fi
   13364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13365     conftest$ac_exeext conftest.$ac_ext
   13366 fi
   13367 
   13368 
   13369 		CFLAGS="$xorg_testset_save_CFLAGS"
   13370 
   13371 		eval supported=\$$cacheid
   13372 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13373 printf "%s\n" "$supported" >&6; }
   13374 		if test "$supported" = "yes" ; then
   13375 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13376 			found="yes"
   13377 		fi
   13378 	fi
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 xorg_testset_save_CFLAGS="$CFLAGS"
   13395 
   13396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13399 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13400 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13401 then :
   13402   printf %s "(cached) " >&6
   13403 else $as_nop
   13404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13405 /* end confdefs.h.  */
   13406 int i;
   13407 _ACEOF
   13408 if ac_fn_c_try_compile "$LINENO"
   13409 then :
   13410   xorg_cv_cc_flag_unknown_warning_option=yes
   13411 else $as_nop
   13412   xorg_cv_cc_flag_unknown_warning_option=no
   13413 fi
   13414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13415 fi
   13416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13417 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13419 	CFLAGS="$xorg_testset_save_CFLAGS"
   13420 fi
   13421 
   13422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13425 	fi
   13426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13427 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13428 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13429 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13430 then :
   13431   printf %s "(cached) " >&6
   13432 else $as_nop
   13433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13434 /* end confdefs.h.  */
   13435 int i;
   13436 _ACEOF
   13437 if ac_fn_c_try_compile "$LINENO"
   13438 then :
   13439   xorg_cv_cc_flag_unused_command_line_argument=yes
   13440 else $as_nop
   13441   xorg_cv_cc_flag_unused_command_line_argument=no
   13442 fi
   13443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13444 fi
   13445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13446 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13448 	CFLAGS="$xorg_testset_save_CFLAGS"
   13449 fi
   13450 
   13451 found="no"
   13452 
   13453 	if test $found = "no" ; then
   13454 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13456 		fi
   13457 
   13458 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13460 		fi
   13461 
   13462 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13463 
   13464 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13465 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13466 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13467 		if eval test \${$cacheid+y}
   13468 then :
   13469   printf %s "(cached) " >&6
   13470 else $as_nop
   13471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13472 /* end confdefs.h.  */
   13473 int i;
   13474 int
   13475 main (void)
   13476 {
   13477 
   13478   ;
   13479   return 0;
   13480 }
   13481 _ACEOF
   13482 if ac_fn_c_try_link "$LINENO"
   13483 then :
   13484   eval $cacheid=yes
   13485 else $as_nop
   13486   eval $cacheid=no
   13487 fi
   13488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13489     conftest$ac_exeext conftest.$ac_ext
   13490 fi
   13491 
   13492 
   13493 		CFLAGS="$xorg_testset_save_CFLAGS"
   13494 
   13495 		eval supported=\$$cacheid
   13496 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13497 printf "%s\n" "$supported" >&6; }
   13498 		if test "$supported" = "yes" ; then
   13499 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13500 			found="yes"
   13501 		fi
   13502 	fi
   13503 
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 xorg_testset_save_CFLAGS="$CFLAGS"
   13519 
   13520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13522 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13523 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13524 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13525 then :
   13526   printf %s "(cached) " >&6
   13527 else $as_nop
   13528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13529 /* end confdefs.h.  */
   13530 int i;
   13531 _ACEOF
   13532 if ac_fn_c_try_compile "$LINENO"
   13533 then :
   13534   xorg_cv_cc_flag_unknown_warning_option=yes
   13535 else $as_nop
   13536   xorg_cv_cc_flag_unknown_warning_option=no
   13537 fi
   13538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13539 fi
   13540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13541 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13542 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13543 	CFLAGS="$xorg_testset_save_CFLAGS"
   13544 fi
   13545 
   13546 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13547 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13548 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13549 	fi
   13550 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13551 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13552 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13553 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13554 then :
   13555   printf %s "(cached) " >&6
   13556 else $as_nop
   13557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13558 /* end confdefs.h.  */
   13559 int i;
   13560 _ACEOF
   13561 if ac_fn_c_try_compile "$LINENO"
   13562 then :
   13563   xorg_cv_cc_flag_unused_command_line_argument=yes
   13564 else $as_nop
   13565   xorg_cv_cc_flag_unused_command_line_argument=no
   13566 fi
   13567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13568 fi
   13569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13570 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13572 	CFLAGS="$xorg_testset_save_CFLAGS"
   13573 fi
   13574 
   13575 found="no"
   13576 
   13577 	if test $found = "no" ; then
   13578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13580 		fi
   13581 
   13582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13584 		fi
   13585 
   13586 		CFLAGS="$CFLAGS -Wformat=2"
   13587 
   13588 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13589 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13590 		cacheid=xorg_cv_cc_flag__Wformat_2
   13591 		if eval test \${$cacheid+y}
   13592 then :
   13593   printf %s "(cached) " >&6
   13594 else $as_nop
   13595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13596 /* end confdefs.h.  */
   13597 int i;
   13598 int
   13599 main (void)
   13600 {
   13601 
   13602   ;
   13603   return 0;
   13604 }
   13605 _ACEOF
   13606 if ac_fn_c_try_link "$LINENO"
   13607 then :
   13608   eval $cacheid=yes
   13609 else $as_nop
   13610   eval $cacheid=no
   13611 fi
   13612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13613     conftest$ac_exeext conftest.$ac_ext
   13614 fi
   13615 
   13616 
   13617 		CFLAGS="$xorg_testset_save_CFLAGS"
   13618 
   13619 		eval supported=\$$cacheid
   13620 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13621 printf "%s\n" "$supported" >&6; }
   13622 		if test "$supported" = "yes" ; then
   13623 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13624 			found="yes"
   13625 		fi
   13626 	fi
   13627 
   13628 	if test $found = "no" ; then
   13629 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13630 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13631 		fi
   13632 
   13633 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13634 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13635 		fi
   13636 
   13637 		CFLAGS="$CFLAGS -Wformat"
   13638 
   13639 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13640 printf %s "checking if $CC supports -Wformat... " >&6; }
   13641 		cacheid=xorg_cv_cc_flag__Wformat
   13642 		if eval test \${$cacheid+y}
   13643 then :
   13644   printf %s "(cached) " >&6
   13645 else $as_nop
   13646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13647 /* end confdefs.h.  */
   13648 int i;
   13649 int
   13650 main (void)
   13651 {
   13652 
   13653   ;
   13654   return 0;
   13655 }
   13656 _ACEOF
   13657 if ac_fn_c_try_link "$LINENO"
   13658 then :
   13659   eval $cacheid=yes
   13660 else $as_nop
   13661   eval $cacheid=no
   13662 fi
   13663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13664     conftest$ac_exeext conftest.$ac_ext
   13665 fi
   13666 
   13667 
   13668 		CFLAGS="$xorg_testset_save_CFLAGS"
   13669 
   13670 		eval supported=\$$cacheid
   13671 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13672 printf "%s\n" "$supported" >&6; }
   13673 		if test "$supported" = "yes" ; then
   13674 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13675 			found="yes"
   13676 		fi
   13677 	fi
   13678 
   13679 
   13680 
   13681 
   13682 
   13683 
   13684 
   13685 
   13686 
   13687 
   13688 
   13689 
   13690 
   13691 
   13692 
   13693 
   13694 
   13695 xorg_testset_save_CFLAGS="$CFLAGS"
   13696 
   13697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13699 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13700 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13701 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13702 then :
   13703   printf %s "(cached) " >&6
   13704 else $as_nop
   13705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13706 /* end confdefs.h.  */
   13707 int i;
   13708 _ACEOF
   13709 if ac_fn_c_try_compile "$LINENO"
   13710 then :
   13711   xorg_cv_cc_flag_unknown_warning_option=yes
   13712 else $as_nop
   13713   xorg_cv_cc_flag_unknown_warning_option=no
   13714 fi
   13715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13716 fi
   13717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13718 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13719 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13720 	CFLAGS="$xorg_testset_save_CFLAGS"
   13721 fi
   13722 
   13723 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13724 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13725 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13726 	fi
   13727 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13728 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13729 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13730 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13731 then :
   13732   printf %s "(cached) " >&6
   13733 else $as_nop
   13734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13735 /* end confdefs.h.  */
   13736 int i;
   13737 _ACEOF
   13738 if ac_fn_c_try_compile "$LINENO"
   13739 then :
   13740   xorg_cv_cc_flag_unused_command_line_argument=yes
   13741 else $as_nop
   13742   xorg_cv_cc_flag_unused_command_line_argument=no
   13743 fi
   13744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13745 fi
   13746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13747 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13749 	CFLAGS="$xorg_testset_save_CFLAGS"
   13750 fi
   13751 
   13752 found="no"
   13753 
   13754 	if test $found = "no" ; then
   13755 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13757 		fi
   13758 
   13759 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13761 		fi
   13762 
   13763 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13764 
   13765 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13766 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13767 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13768 		if eval test \${$cacheid+y}
   13769 then :
   13770   printf %s "(cached) " >&6
   13771 else $as_nop
   13772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13773 /* end confdefs.h.  */
   13774 int i;
   13775 int
   13776 main (void)
   13777 {
   13778 
   13779   ;
   13780   return 0;
   13781 }
   13782 _ACEOF
   13783 if ac_fn_c_try_link "$LINENO"
   13784 then :
   13785   eval $cacheid=yes
   13786 else $as_nop
   13787   eval $cacheid=no
   13788 fi
   13789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13790     conftest$ac_exeext conftest.$ac_ext
   13791 fi
   13792 
   13793 
   13794 		CFLAGS="$xorg_testset_save_CFLAGS"
   13795 
   13796 		eval supported=\$$cacheid
   13797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13798 printf "%s\n" "$supported" >&6; }
   13799 		if test "$supported" = "yes" ; then
   13800 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13801 			found="yes"
   13802 		fi
   13803 	fi
   13804 
   13805 
   13806 
   13807 
   13808 
   13809 
   13810 
   13811 
   13812 
   13813 
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 xorg_testset_save_CFLAGS="$CFLAGS"
   13820 
   13821 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13822 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13823 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13824 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13825 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13826 then :
   13827   printf %s "(cached) " >&6
   13828 else $as_nop
   13829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13830 /* end confdefs.h.  */
   13831 int i;
   13832 _ACEOF
   13833 if ac_fn_c_try_compile "$LINENO"
   13834 then :
   13835   xorg_cv_cc_flag_unknown_warning_option=yes
   13836 else $as_nop
   13837   xorg_cv_cc_flag_unknown_warning_option=no
   13838 fi
   13839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13840 fi
   13841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13842 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13843 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13844 	CFLAGS="$xorg_testset_save_CFLAGS"
   13845 fi
   13846 
   13847 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13848 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13849 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13850 	fi
   13851 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13852 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13853 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13854 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13855 then :
   13856   printf %s "(cached) " >&6
   13857 else $as_nop
   13858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13859 /* end confdefs.h.  */
   13860 int i;
   13861 _ACEOF
   13862 if ac_fn_c_try_compile "$LINENO"
   13863 then :
   13864   xorg_cv_cc_flag_unused_command_line_argument=yes
   13865 else $as_nop
   13866   xorg_cv_cc_flag_unused_command_line_argument=no
   13867 fi
   13868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13869 fi
   13870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13871 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13873 	CFLAGS="$xorg_testset_save_CFLAGS"
   13874 fi
   13875 
   13876 found="no"
   13877 
   13878 	if test $found = "no" ; then
   13879 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13881 		fi
   13882 
   13883 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13885 		fi
   13886 
   13887 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13888 
   13889 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13890 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13891 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13892 		if eval test \${$cacheid+y}
   13893 then :
   13894   printf %s "(cached) " >&6
   13895 else $as_nop
   13896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13897 /* end confdefs.h.  */
   13898 int i;
   13899 int
   13900 main (void)
   13901 {
   13902 
   13903   ;
   13904   return 0;
   13905 }
   13906 _ACEOF
   13907 if ac_fn_c_try_link "$LINENO"
   13908 then :
   13909   eval $cacheid=yes
   13910 else $as_nop
   13911   eval $cacheid=no
   13912 fi
   13913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13914     conftest$ac_exeext conftest.$ac_ext
   13915 fi
   13916 
   13917 
   13918 		CFLAGS="$xorg_testset_save_CFLAGS"
   13919 
   13920 		eval supported=\$$cacheid
   13921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13922 printf "%s\n" "$supported" >&6; }
   13923 		if test "$supported" = "yes" ; then
   13924 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13925 			found="yes"
   13926 		fi
   13927 	fi
   13928 
   13929 
   13930 
   13931 
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938 
   13939 
   13940 
   13941 
   13942 
   13943 xorg_testset_save_CFLAGS="$CFLAGS"
   13944 
   13945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13947 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13948 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13949 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13950 then :
   13951   printf %s "(cached) " >&6
   13952 else $as_nop
   13953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13954 /* end confdefs.h.  */
   13955 int i;
   13956 _ACEOF
   13957 if ac_fn_c_try_compile "$LINENO"
   13958 then :
   13959   xorg_cv_cc_flag_unknown_warning_option=yes
   13960 else $as_nop
   13961   xorg_cv_cc_flag_unknown_warning_option=no
   13962 fi
   13963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13964 fi
   13965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13966 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13968 	CFLAGS="$xorg_testset_save_CFLAGS"
   13969 fi
   13970 
   13971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13974 	fi
   13975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13976 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13977 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13978 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13979 then :
   13980   printf %s "(cached) " >&6
   13981 else $as_nop
   13982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13983 /* end confdefs.h.  */
   13984 int i;
   13985 _ACEOF
   13986 if ac_fn_c_try_compile "$LINENO"
   13987 then :
   13988   xorg_cv_cc_flag_unused_command_line_argument=yes
   13989 else $as_nop
   13990   xorg_cv_cc_flag_unused_command_line_argument=no
   13991 fi
   13992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13993 fi
   13994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13995 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13997 	CFLAGS="$xorg_testset_save_CFLAGS"
   13998 fi
   13999 
   14000 found="no"
   14001 
   14002 	if test $found = "no" ; then
   14003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14005 		fi
   14006 
   14007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14009 		fi
   14010 
   14011 		CFLAGS="$CFLAGS -Wnested-externs"
   14012 
   14013 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14014 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14015 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14016 		if eval test \${$cacheid+y}
   14017 then :
   14018   printf %s "(cached) " >&6
   14019 else $as_nop
   14020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14021 /* end confdefs.h.  */
   14022 int i;
   14023 int
   14024 main (void)
   14025 {
   14026 
   14027   ;
   14028   return 0;
   14029 }
   14030 _ACEOF
   14031 if ac_fn_c_try_link "$LINENO"
   14032 then :
   14033   eval $cacheid=yes
   14034 else $as_nop
   14035   eval $cacheid=no
   14036 fi
   14037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14038     conftest$ac_exeext conftest.$ac_ext
   14039 fi
   14040 
   14041 
   14042 		CFLAGS="$xorg_testset_save_CFLAGS"
   14043 
   14044 		eval supported=\$$cacheid
   14045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14046 printf "%s\n" "$supported" >&6; }
   14047 		if test "$supported" = "yes" ; then
   14048 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14049 			found="yes"
   14050 		fi
   14051 	fi
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 
   14058 
   14059 
   14060 
   14061 
   14062 
   14063 
   14064 
   14065 
   14066 
   14067 xorg_testset_save_CFLAGS="$CFLAGS"
   14068 
   14069 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14070 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14071 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14072 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14073 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14074 then :
   14075   printf %s "(cached) " >&6
   14076 else $as_nop
   14077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14078 /* end confdefs.h.  */
   14079 int i;
   14080 _ACEOF
   14081 if ac_fn_c_try_compile "$LINENO"
   14082 then :
   14083   xorg_cv_cc_flag_unknown_warning_option=yes
   14084 else $as_nop
   14085   xorg_cv_cc_flag_unknown_warning_option=no
   14086 fi
   14087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14088 fi
   14089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14090 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14091 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14092 	CFLAGS="$xorg_testset_save_CFLAGS"
   14093 fi
   14094 
   14095 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14096 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14097 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14098 	fi
   14099 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14100 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14101 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14102 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14103 then :
   14104   printf %s "(cached) " >&6
   14105 else $as_nop
   14106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14107 /* end confdefs.h.  */
   14108 int i;
   14109 _ACEOF
   14110 if ac_fn_c_try_compile "$LINENO"
   14111 then :
   14112   xorg_cv_cc_flag_unused_command_line_argument=yes
   14113 else $as_nop
   14114   xorg_cv_cc_flag_unused_command_line_argument=no
   14115 fi
   14116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14117 fi
   14118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14119 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14120 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14121 	CFLAGS="$xorg_testset_save_CFLAGS"
   14122 fi
   14123 
   14124 found="no"
   14125 
   14126 	if test $found = "no" ; then
   14127 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14129 		fi
   14130 
   14131 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14133 		fi
   14134 
   14135 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14136 
   14137 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14138 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14139 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14140 		if eval test \${$cacheid+y}
   14141 then :
   14142   printf %s "(cached) " >&6
   14143 else $as_nop
   14144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14145 /* end confdefs.h.  */
   14146 int i;
   14147 int
   14148 main (void)
   14149 {
   14150 
   14151   ;
   14152   return 0;
   14153 }
   14154 _ACEOF
   14155 if ac_fn_c_try_link "$LINENO"
   14156 then :
   14157   eval $cacheid=yes
   14158 else $as_nop
   14159   eval $cacheid=no
   14160 fi
   14161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14162     conftest$ac_exeext conftest.$ac_ext
   14163 fi
   14164 
   14165 
   14166 		CFLAGS="$xorg_testset_save_CFLAGS"
   14167 
   14168 		eval supported=\$$cacheid
   14169 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14170 printf "%s\n" "$supported" >&6; }
   14171 		if test "$supported" = "yes" ; then
   14172 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14173 			found="yes"
   14174 		fi
   14175 	fi
   14176 
   14177 
   14178 
   14179 
   14180 
   14181 
   14182 
   14183 
   14184 
   14185 
   14186 
   14187 
   14188 
   14189 
   14190 
   14191 xorg_testset_save_CFLAGS="$CFLAGS"
   14192 
   14193 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14194 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14195 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14196 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14197 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14198 then :
   14199   printf %s "(cached) " >&6
   14200 else $as_nop
   14201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14202 /* end confdefs.h.  */
   14203 int i;
   14204 _ACEOF
   14205 if ac_fn_c_try_compile "$LINENO"
   14206 then :
   14207   xorg_cv_cc_flag_unknown_warning_option=yes
   14208 else $as_nop
   14209   xorg_cv_cc_flag_unknown_warning_option=no
   14210 fi
   14211 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14212 fi
   14213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14214 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14215 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14216 	CFLAGS="$xorg_testset_save_CFLAGS"
   14217 fi
   14218 
   14219 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14220 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14221 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14222 	fi
   14223 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14224 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14225 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14226 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14227 then :
   14228   printf %s "(cached) " >&6
   14229 else $as_nop
   14230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14231 /* end confdefs.h.  */
   14232 int i;
   14233 _ACEOF
   14234 if ac_fn_c_try_compile "$LINENO"
   14235 then :
   14236   xorg_cv_cc_flag_unused_command_line_argument=yes
   14237 else $as_nop
   14238   xorg_cv_cc_flag_unused_command_line_argument=no
   14239 fi
   14240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14241 fi
   14242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14243 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14244 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14245 	CFLAGS="$xorg_testset_save_CFLAGS"
   14246 fi
   14247 
   14248 found="no"
   14249 
   14250 	if test $found = "no" ; then
   14251 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14253 		fi
   14254 
   14255 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14257 		fi
   14258 
   14259 		CFLAGS="$CFLAGS -Wold-style-definition"
   14260 
   14261 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14262 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14263 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14264 		if eval test \${$cacheid+y}
   14265 then :
   14266   printf %s "(cached) " >&6
   14267 else $as_nop
   14268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14269 /* end confdefs.h.  */
   14270 int i;
   14271 int
   14272 main (void)
   14273 {
   14274 
   14275   ;
   14276   return 0;
   14277 }
   14278 _ACEOF
   14279 if ac_fn_c_try_link "$LINENO"
   14280 then :
   14281   eval $cacheid=yes
   14282 else $as_nop
   14283   eval $cacheid=no
   14284 fi
   14285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14286     conftest$ac_exeext conftest.$ac_ext
   14287 fi
   14288 
   14289 
   14290 		CFLAGS="$xorg_testset_save_CFLAGS"
   14291 
   14292 		eval supported=\$$cacheid
   14293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14294 printf "%s\n" "$supported" >&6; }
   14295 		if test "$supported" = "yes" ; then
   14296 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14297 			found="yes"
   14298 		fi
   14299 	fi
   14300 
   14301 	if test $found = "no" ; then
   14302 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14304 		fi
   14305 
   14306 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14308 		fi
   14309 
   14310 		CFLAGS="$CFLAGS -fd"
   14311 
   14312 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14313 printf %s "checking if $CC supports -fd... " >&6; }
   14314 		cacheid=xorg_cv_cc_flag__fd
   14315 		if eval test \${$cacheid+y}
   14316 then :
   14317   printf %s "(cached) " >&6
   14318 else $as_nop
   14319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14320 /* end confdefs.h.  */
   14321 int i;
   14322 int
   14323 main (void)
   14324 {
   14325 
   14326   ;
   14327   return 0;
   14328 }
   14329 _ACEOF
   14330 if ac_fn_c_try_link "$LINENO"
   14331 then :
   14332   eval $cacheid=yes
   14333 else $as_nop
   14334   eval $cacheid=no
   14335 fi
   14336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14337     conftest$ac_exeext conftest.$ac_ext
   14338 fi
   14339 
   14340 
   14341 		CFLAGS="$xorg_testset_save_CFLAGS"
   14342 
   14343 		eval supported=\$$cacheid
   14344 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14345 printf "%s\n" "$supported" >&6; }
   14346 		if test "$supported" = "yes" ; then
   14347 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14348 			found="yes"
   14349 		fi
   14350 	fi
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 
   14364 
   14365 
   14366 xorg_testset_save_CFLAGS="$CFLAGS"
   14367 
   14368 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14369 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14370 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14371 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14372 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14373 then :
   14374   printf %s "(cached) " >&6
   14375 else $as_nop
   14376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14377 /* end confdefs.h.  */
   14378 int i;
   14379 _ACEOF
   14380 if ac_fn_c_try_compile "$LINENO"
   14381 then :
   14382   xorg_cv_cc_flag_unknown_warning_option=yes
   14383 else $as_nop
   14384   xorg_cv_cc_flag_unknown_warning_option=no
   14385 fi
   14386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14387 fi
   14388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14389 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14390 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14391 	CFLAGS="$xorg_testset_save_CFLAGS"
   14392 fi
   14393 
   14394 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14395 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14396 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14397 	fi
   14398 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14399 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14400 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14401 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14402 then :
   14403   printf %s "(cached) " >&6
   14404 else $as_nop
   14405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14406 /* end confdefs.h.  */
   14407 int i;
   14408 _ACEOF
   14409 if ac_fn_c_try_compile "$LINENO"
   14410 then :
   14411   xorg_cv_cc_flag_unused_command_line_argument=yes
   14412 else $as_nop
   14413   xorg_cv_cc_flag_unused_command_line_argument=no
   14414 fi
   14415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14416 fi
   14417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14418 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14419 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14420 	CFLAGS="$xorg_testset_save_CFLAGS"
   14421 fi
   14422 
   14423 found="no"
   14424 
   14425 	if test $found = "no" ; then
   14426 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14427 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14428 		fi
   14429 
   14430 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14431 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14432 		fi
   14433 
   14434 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14435 
   14436 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14437 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14438 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14439 		if eval test \${$cacheid+y}
   14440 then :
   14441   printf %s "(cached) " >&6
   14442 else $as_nop
   14443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14444 /* end confdefs.h.  */
   14445 int i;
   14446 int
   14447 main (void)
   14448 {
   14449 
   14450   ;
   14451   return 0;
   14452 }
   14453 _ACEOF
   14454 if ac_fn_c_try_link "$LINENO"
   14455 then :
   14456   eval $cacheid=yes
   14457 else $as_nop
   14458   eval $cacheid=no
   14459 fi
   14460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14461     conftest$ac_exeext conftest.$ac_ext
   14462 fi
   14463 
   14464 
   14465 		CFLAGS="$xorg_testset_save_CFLAGS"
   14466 
   14467 		eval supported=\$$cacheid
   14468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14469 printf "%s\n" "$supported" >&6; }
   14470 		if test "$supported" = "yes" ; then
   14471 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14472 			found="yes"
   14473 		fi
   14474 	fi
   14475 
   14476 
   14477 
   14478 
   14479 
   14480 # This chunk adds additional warnings that could catch undesired effects.
   14481 
   14482 
   14483 
   14484 
   14485 
   14486 
   14487 
   14488 
   14489 
   14490 
   14491 
   14492 
   14493 
   14494 xorg_testset_save_CFLAGS="$CFLAGS"
   14495 
   14496 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14497 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14498 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14499 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14500 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14501 then :
   14502   printf %s "(cached) " >&6
   14503 else $as_nop
   14504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14505 /* end confdefs.h.  */
   14506 int i;
   14507 _ACEOF
   14508 if ac_fn_c_try_compile "$LINENO"
   14509 then :
   14510   xorg_cv_cc_flag_unknown_warning_option=yes
   14511 else $as_nop
   14512   xorg_cv_cc_flag_unknown_warning_option=no
   14513 fi
   14514 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14515 fi
   14516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14517 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14518 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14519 	CFLAGS="$xorg_testset_save_CFLAGS"
   14520 fi
   14521 
   14522 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14523 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14524 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14525 	fi
   14526 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14527 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14528 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14529 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14530 then :
   14531   printf %s "(cached) " >&6
   14532 else $as_nop
   14533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14534 /* end confdefs.h.  */
   14535 int i;
   14536 _ACEOF
   14537 if ac_fn_c_try_compile "$LINENO"
   14538 then :
   14539   xorg_cv_cc_flag_unused_command_line_argument=yes
   14540 else $as_nop
   14541   xorg_cv_cc_flag_unused_command_line_argument=no
   14542 fi
   14543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14544 fi
   14545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14546 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14547 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14548 	CFLAGS="$xorg_testset_save_CFLAGS"
   14549 fi
   14550 
   14551 found="no"
   14552 
   14553 	if test $found = "no" ; then
   14554 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14556 		fi
   14557 
   14558 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14560 		fi
   14561 
   14562 		CFLAGS="$CFLAGS -Wunused"
   14563 
   14564 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14565 printf %s "checking if $CC supports -Wunused... " >&6; }
   14566 		cacheid=xorg_cv_cc_flag__Wunused
   14567 		if eval test \${$cacheid+y}
   14568 then :
   14569   printf %s "(cached) " >&6
   14570 else $as_nop
   14571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14572 /* end confdefs.h.  */
   14573 int i;
   14574 int
   14575 main (void)
   14576 {
   14577 
   14578   ;
   14579   return 0;
   14580 }
   14581 _ACEOF
   14582 if ac_fn_c_try_link "$LINENO"
   14583 then :
   14584   eval $cacheid=yes
   14585 else $as_nop
   14586   eval $cacheid=no
   14587 fi
   14588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14589     conftest$ac_exeext conftest.$ac_ext
   14590 fi
   14591 
   14592 
   14593 		CFLAGS="$xorg_testset_save_CFLAGS"
   14594 
   14595 		eval supported=\$$cacheid
   14596 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14597 printf "%s\n" "$supported" >&6; }
   14598 		if test "$supported" = "yes" ; then
   14599 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14600 			found="yes"
   14601 		fi
   14602 	fi
   14603 
   14604 
   14605 
   14606 
   14607 
   14608 
   14609 
   14610 
   14611 
   14612 
   14613 
   14614 
   14615 
   14616 
   14617 
   14618 xorg_testset_save_CFLAGS="$CFLAGS"
   14619 
   14620 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14621 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14622 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14623 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14624 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14625 then :
   14626   printf %s "(cached) " >&6
   14627 else $as_nop
   14628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14629 /* end confdefs.h.  */
   14630 int i;
   14631 _ACEOF
   14632 if ac_fn_c_try_compile "$LINENO"
   14633 then :
   14634   xorg_cv_cc_flag_unknown_warning_option=yes
   14635 else $as_nop
   14636   xorg_cv_cc_flag_unknown_warning_option=no
   14637 fi
   14638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14639 fi
   14640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14641 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14642 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14643 	CFLAGS="$xorg_testset_save_CFLAGS"
   14644 fi
   14645 
   14646 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14647 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14648 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14649 	fi
   14650 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14651 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14652 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14653 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14654 then :
   14655   printf %s "(cached) " >&6
   14656 else $as_nop
   14657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14658 /* end confdefs.h.  */
   14659 int i;
   14660 _ACEOF
   14661 if ac_fn_c_try_compile "$LINENO"
   14662 then :
   14663   xorg_cv_cc_flag_unused_command_line_argument=yes
   14664 else $as_nop
   14665   xorg_cv_cc_flag_unused_command_line_argument=no
   14666 fi
   14667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14668 fi
   14669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14670 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14671 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14672 	CFLAGS="$xorg_testset_save_CFLAGS"
   14673 fi
   14674 
   14675 found="no"
   14676 
   14677 	if test $found = "no" ; then
   14678 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14679 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14680 		fi
   14681 
   14682 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14683 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14684 		fi
   14685 
   14686 		CFLAGS="$CFLAGS -Wuninitialized"
   14687 
   14688 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14689 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14690 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14691 		if eval test \${$cacheid+y}
   14692 then :
   14693   printf %s "(cached) " >&6
   14694 else $as_nop
   14695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14696 /* end confdefs.h.  */
   14697 int i;
   14698 int
   14699 main (void)
   14700 {
   14701 
   14702   ;
   14703   return 0;
   14704 }
   14705 _ACEOF
   14706 if ac_fn_c_try_link "$LINENO"
   14707 then :
   14708   eval $cacheid=yes
   14709 else $as_nop
   14710   eval $cacheid=no
   14711 fi
   14712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14713     conftest$ac_exeext conftest.$ac_ext
   14714 fi
   14715 
   14716 
   14717 		CFLAGS="$xorg_testset_save_CFLAGS"
   14718 
   14719 		eval supported=\$$cacheid
   14720 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14721 printf "%s\n" "$supported" >&6; }
   14722 		if test "$supported" = "yes" ; then
   14723 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14724 			found="yes"
   14725 		fi
   14726 	fi
   14727 
   14728 
   14729 
   14730 
   14731 
   14732 
   14733 
   14734 
   14735 
   14736 
   14737 
   14738 
   14739 
   14740 
   14741 
   14742 xorg_testset_save_CFLAGS="$CFLAGS"
   14743 
   14744 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14746 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14747 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14748 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14749 then :
   14750   printf %s "(cached) " >&6
   14751 else $as_nop
   14752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14753 /* end confdefs.h.  */
   14754 int i;
   14755 _ACEOF
   14756 if ac_fn_c_try_compile "$LINENO"
   14757 then :
   14758   xorg_cv_cc_flag_unknown_warning_option=yes
   14759 else $as_nop
   14760   xorg_cv_cc_flag_unknown_warning_option=no
   14761 fi
   14762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14763 fi
   14764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14765 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14766 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14767 	CFLAGS="$xorg_testset_save_CFLAGS"
   14768 fi
   14769 
   14770 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14771 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14772 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14773 	fi
   14774 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14775 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14776 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14777 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14778 then :
   14779   printf %s "(cached) " >&6
   14780 else $as_nop
   14781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14782 /* end confdefs.h.  */
   14783 int i;
   14784 _ACEOF
   14785 if ac_fn_c_try_compile "$LINENO"
   14786 then :
   14787   xorg_cv_cc_flag_unused_command_line_argument=yes
   14788 else $as_nop
   14789   xorg_cv_cc_flag_unused_command_line_argument=no
   14790 fi
   14791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14792 fi
   14793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14794 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14795 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14796 	CFLAGS="$xorg_testset_save_CFLAGS"
   14797 fi
   14798 
   14799 found="no"
   14800 
   14801 	if test $found = "no" ; then
   14802 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14803 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14804 		fi
   14805 
   14806 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14807 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14808 		fi
   14809 
   14810 		CFLAGS="$CFLAGS -Wshadow"
   14811 
   14812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14813 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14814 		cacheid=xorg_cv_cc_flag__Wshadow
   14815 		if eval test \${$cacheid+y}
   14816 then :
   14817   printf %s "(cached) " >&6
   14818 else $as_nop
   14819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14820 /* end confdefs.h.  */
   14821 int i;
   14822 int
   14823 main (void)
   14824 {
   14825 
   14826   ;
   14827   return 0;
   14828 }
   14829 _ACEOF
   14830 if ac_fn_c_try_link "$LINENO"
   14831 then :
   14832   eval $cacheid=yes
   14833 else $as_nop
   14834   eval $cacheid=no
   14835 fi
   14836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14837     conftest$ac_exeext conftest.$ac_ext
   14838 fi
   14839 
   14840 
   14841 		CFLAGS="$xorg_testset_save_CFLAGS"
   14842 
   14843 		eval supported=\$$cacheid
   14844 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14845 printf "%s\n" "$supported" >&6; }
   14846 		if test "$supported" = "yes" ; then
   14847 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14848 			found="yes"
   14849 		fi
   14850 	fi
   14851 
   14852 
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 
   14859 
   14860 
   14861 
   14862 
   14863 
   14864 
   14865 
   14866 xorg_testset_save_CFLAGS="$CFLAGS"
   14867 
   14868 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14869 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14870 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14871 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14872 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14873 then :
   14874   printf %s "(cached) " >&6
   14875 else $as_nop
   14876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14877 /* end confdefs.h.  */
   14878 int i;
   14879 _ACEOF
   14880 if ac_fn_c_try_compile "$LINENO"
   14881 then :
   14882   xorg_cv_cc_flag_unknown_warning_option=yes
   14883 else $as_nop
   14884   xorg_cv_cc_flag_unknown_warning_option=no
   14885 fi
   14886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14887 fi
   14888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14889 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14890 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14891 	CFLAGS="$xorg_testset_save_CFLAGS"
   14892 fi
   14893 
   14894 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14895 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14896 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14897 	fi
   14898 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14899 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14900 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14901 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14902 then :
   14903   printf %s "(cached) " >&6
   14904 else $as_nop
   14905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14906 /* end confdefs.h.  */
   14907 int i;
   14908 _ACEOF
   14909 if ac_fn_c_try_compile "$LINENO"
   14910 then :
   14911   xorg_cv_cc_flag_unused_command_line_argument=yes
   14912 else $as_nop
   14913   xorg_cv_cc_flag_unused_command_line_argument=no
   14914 fi
   14915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14916 fi
   14917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14918 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14919 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14920 	CFLAGS="$xorg_testset_save_CFLAGS"
   14921 fi
   14922 
   14923 found="no"
   14924 
   14925 	if test $found = "no" ; then
   14926 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14927 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14928 		fi
   14929 
   14930 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14931 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14932 		fi
   14933 
   14934 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14935 
   14936 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14937 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14938 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14939 		if eval test \${$cacheid+y}
   14940 then :
   14941   printf %s "(cached) " >&6
   14942 else $as_nop
   14943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14944 /* end confdefs.h.  */
   14945 int i;
   14946 int
   14947 main (void)
   14948 {
   14949 
   14950   ;
   14951   return 0;
   14952 }
   14953 _ACEOF
   14954 if ac_fn_c_try_link "$LINENO"
   14955 then :
   14956   eval $cacheid=yes
   14957 else $as_nop
   14958   eval $cacheid=no
   14959 fi
   14960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14961     conftest$ac_exeext conftest.$ac_ext
   14962 fi
   14963 
   14964 
   14965 		CFLAGS="$xorg_testset_save_CFLAGS"
   14966 
   14967 		eval supported=\$$cacheid
   14968 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14969 printf "%s\n" "$supported" >&6; }
   14970 		if test "$supported" = "yes" ; then
   14971 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14972 			found="yes"
   14973 		fi
   14974 	fi
   14975 
   14976 
   14977 
   14978 
   14979 
   14980 
   14981 
   14982 
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 xorg_testset_save_CFLAGS="$CFLAGS"
   14991 
   14992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14995 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14996 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14997 then :
   14998   printf %s "(cached) " >&6
   14999 else $as_nop
   15000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15001 /* end confdefs.h.  */
   15002 int i;
   15003 _ACEOF
   15004 if ac_fn_c_try_compile "$LINENO"
   15005 then :
   15006   xorg_cv_cc_flag_unknown_warning_option=yes
   15007 else $as_nop
   15008   xorg_cv_cc_flag_unknown_warning_option=no
   15009 fi
   15010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15011 fi
   15012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15013 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15014 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15015 	CFLAGS="$xorg_testset_save_CFLAGS"
   15016 fi
   15017 
   15018 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15019 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15021 	fi
   15022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15024 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15025 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15026 then :
   15027   printf %s "(cached) " >&6
   15028 else $as_nop
   15029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15030 /* end confdefs.h.  */
   15031 int i;
   15032 _ACEOF
   15033 if ac_fn_c_try_compile "$LINENO"
   15034 then :
   15035   xorg_cv_cc_flag_unused_command_line_argument=yes
   15036 else $as_nop
   15037   xorg_cv_cc_flag_unused_command_line_argument=no
   15038 fi
   15039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15040 fi
   15041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15042 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15043 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15044 	CFLAGS="$xorg_testset_save_CFLAGS"
   15045 fi
   15046 
   15047 found="no"
   15048 
   15049 	if test $found = "no" ; then
   15050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15052 		fi
   15053 
   15054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15056 		fi
   15057 
   15058 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15059 
   15060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15061 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15062 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15063 		if eval test \${$cacheid+y}
   15064 then :
   15065   printf %s "(cached) " >&6
   15066 else $as_nop
   15067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15068 /* end confdefs.h.  */
   15069 int i;
   15070 int
   15071 main (void)
   15072 {
   15073 
   15074   ;
   15075   return 0;
   15076 }
   15077 _ACEOF
   15078 if ac_fn_c_try_link "$LINENO"
   15079 then :
   15080   eval $cacheid=yes
   15081 else $as_nop
   15082   eval $cacheid=no
   15083 fi
   15084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15085     conftest$ac_exeext conftest.$ac_ext
   15086 fi
   15087 
   15088 
   15089 		CFLAGS="$xorg_testset_save_CFLAGS"
   15090 
   15091 		eval supported=\$$cacheid
   15092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15093 printf "%s\n" "$supported" >&6; }
   15094 		if test "$supported" = "yes" ; then
   15095 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15096 			found="yes"
   15097 		fi
   15098 	fi
   15099 
   15100 
   15101 
   15102 
   15103 
   15104 
   15105 
   15106 
   15107 
   15108 
   15109 
   15110 
   15111 
   15112 
   15113 
   15114 xorg_testset_save_CFLAGS="$CFLAGS"
   15115 
   15116 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15117 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15118 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15119 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15120 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15121 then :
   15122   printf %s "(cached) " >&6
   15123 else $as_nop
   15124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15125 /* end confdefs.h.  */
   15126 int i;
   15127 _ACEOF
   15128 if ac_fn_c_try_compile "$LINENO"
   15129 then :
   15130   xorg_cv_cc_flag_unknown_warning_option=yes
   15131 else $as_nop
   15132   xorg_cv_cc_flag_unknown_warning_option=no
   15133 fi
   15134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15135 fi
   15136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15137 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15138 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15139 	CFLAGS="$xorg_testset_save_CFLAGS"
   15140 fi
   15141 
   15142 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15143 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15144 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15145 	fi
   15146 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15147 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15148 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15149 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15150 then :
   15151   printf %s "(cached) " >&6
   15152 else $as_nop
   15153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15154 /* end confdefs.h.  */
   15155 int i;
   15156 _ACEOF
   15157 if ac_fn_c_try_compile "$LINENO"
   15158 then :
   15159   xorg_cv_cc_flag_unused_command_line_argument=yes
   15160 else $as_nop
   15161   xorg_cv_cc_flag_unused_command_line_argument=no
   15162 fi
   15163 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15164 fi
   15165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15166 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15167 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15168 	CFLAGS="$xorg_testset_save_CFLAGS"
   15169 fi
   15170 
   15171 found="no"
   15172 
   15173 	if test $found = "no" ; then
   15174 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15175 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15176 		fi
   15177 
   15178 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15179 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15180 		fi
   15181 
   15182 		CFLAGS="$CFLAGS -Wredundant-decls"
   15183 
   15184 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15185 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15186 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15187 		if eval test \${$cacheid+y}
   15188 then :
   15189   printf %s "(cached) " >&6
   15190 else $as_nop
   15191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15192 /* end confdefs.h.  */
   15193 int i;
   15194 int
   15195 main (void)
   15196 {
   15197 
   15198   ;
   15199   return 0;
   15200 }
   15201 _ACEOF
   15202 if ac_fn_c_try_link "$LINENO"
   15203 then :
   15204   eval $cacheid=yes
   15205 else $as_nop
   15206   eval $cacheid=no
   15207 fi
   15208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15209     conftest$ac_exeext conftest.$ac_ext
   15210 fi
   15211 
   15212 
   15213 		CFLAGS="$xorg_testset_save_CFLAGS"
   15214 
   15215 		eval supported=\$$cacheid
   15216 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15217 printf "%s\n" "$supported" >&6; }
   15218 		if test "$supported" = "yes" ; then
   15219 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15220 			found="yes"
   15221 		fi
   15222 	fi
   15223 
   15224 
   15225 
   15226 
   15227 
   15228 
   15229 
   15230 
   15231 
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 xorg_testset_save_CFLAGS="$CFLAGS"
   15239 
   15240 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15241 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15242 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15243 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15244 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15245 then :
   15246   printf %s "(cached) " >&6
   15247 else $as_nop
   15248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15249 /* end confdefs.h.  */
   15250 int i;
   15251 _ACEOF
   15252 if ac_fn_c_try_compile "$LINENO"
   15253 then :
   15254   xorg_cv_cc_flag_unknown_warning_option=yes
   15255 else $as_nop
   15256   xorg_cv_cc_flag_unknown_warning_option=no
   15257 fi
   15258 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15259 fi
   15260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15261 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15262 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15263 	CFLAGS="$xorg_testset_save_CFLAGS"
   15264 fi
   15265 
   15266 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15267 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15268 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15269 	fi
   15270 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15271 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15272 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15273 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15274 then :
   15275   printf %s "(cached) " >&6
   15276 else $as_nop
   15277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15278 /* end confdefs.h.  */
   15279 int i;
   15280 _ACEOF
   15281 if ac_fn_c_try_compile "$LINENO"
   15282 then :
   15283   xorg_cv_cc_flag_unused_command_line_argument=yes
   15284 else $as_nop
   15285   xorg_cv_cc_flag_unused_command_line_argument=no
   15286 fi
   15287 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15288 fi
   15289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15290 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15291 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15292 	CFLAGS="$xorg_testset_save_CFLAGS"
   15293 fi
   15294 
   15295 found="no"
   15296 
   15297 	if test $found = "no" ; then
   15298 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15300 		fi
   15301 
   15302 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15304 		fi
   15305 
   15306 		CFLAGS="$CFLAGS -Wlogical-op"
   15307 
   15308 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15309 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15310 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15311 		if eval test \${$cacheid+y}
   15312 then :
   15313   printf %s "(cached) " >&6
   15314 else $as_nop
   15315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15316 /* end confdefs.h.  */
   15317 int i;
   15318 int
   15319 main (void)
   15320 {
   15321 
   15322   ;
   15323   return 0;
   15324 }
   15325 _ACEOF
   15326 if ac_fn_c_try_link "$LINENO"
   15327 then :
   15328   eval $cacheid=yes
   15329 else $as_nop
   15330   eval $cacheid=no
   15331 fi
   15332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15333     conftest$ac_exeext conftest.$ac_ext
   15334 fi
   15335 
   15336 
   15337 		CFLAGS="$xorg_testset_save_CFLAGS"
   15338 
   15339 		eval supported=\$$cacheid
   15340 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15341 printf "%s\n" "$supported" >&6; }
   15342 		if test "$supported" = "yes" ; then
   15343 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15344 			found="yes"
   15345 		fi
   15346 	fi
   15347 
   15348 
   15349 
   15350 # These are currently disabled because they are noisy.  They will be enabled
   15351 # in the future once the codebase is sufficiently modernized to silence
   15352 # them.  For now, I don't want them to drown out the other warnings.
   15353 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15354 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15355 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15356 
   15357 # Turn some warnings into errors, so we don't accidently get successful builds
   15358 # when there are problems that should be fixed.
   15359 
   15360 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15361 
   15362 
   15363 
   15364 
   15365 
   15366 
   15367 
   15368 
   15369 
   15370 
   15371 
   15372 
   15373 
   15374 xorg_testset_save_CFLAGS="$CFLAGS"
   15375 
   15376 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15377 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15378 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15379 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15380 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15381 then :
   15382   printf %s "(cached) " >&6
   15383 else $as_nop
   15384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15385 /* end confdefs.h.  */
   15386 int i;
   15387 _ACEOF
   15388 if ac_fn_c_try_compile "$LINENO"
   15389 then :
   15390   xorg_cv_cc_flag_unknown_warning_option=yes
   15391 else $as_nop
   15392   xorg_cv_cc_flag_unknown_warning_option=no
   15393 fi
   15394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15395 fi
   15396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15397 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15398 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15399 	CFLAGS="$xorg_testset_save_CFLAGS"
   15400 fi
   15401 
   15402 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15403 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15404 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15405 	fi
   15406 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15407 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15408 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15409 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15410 then :
   15411   printf %s "(cached) " >&6
   15412 else $as_nop
   15413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15414 /* end confdefs.h.  */
   15415 int i;
   15416 _ACEOF
   15417 if ac_fn_c_try_compile "$LINENO"
   15418 then :
   15419   xorg_cv_cc_flag_unused_command_line_argument=yes
   15420 else $as_nop
   15421   xorg_cv_cc_flag_unused_command_line_argument=no
   15422 fi
   15423 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15424 fi
   15425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15426 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15428 	CFLAGS="$xorg_testset_save_CFLAGS"
   15429 fi
   15430 
   15431 found="no"
   15432 
   15433 	if test $found = "no" ; then
   15434 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15436 		fi
   15437 
   15438 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15440 		fi
   15441 
   15442 		CFLAGS="$CFLAGS -Werror=implicit"
   15443 
   15444 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15445 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15446 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15447 		if eval test \${$cacheid+y}
   15448 then :
   15449   printf %s "(cached) " >&6
   15450 else $as_nop
   15451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15452 /* end confdefs.h.  */
   15453 int i;
   15454 int
   15455 main (void)
   15456 {
   15457 
   15458   ;
   15459   return 0;
   15460 }
   15461 _ACEOF
   15462 if ac_fn_c_try_link "$LINENO"
   15463 then :
   15464   eval $cacheid=yes
   15465 else $as_nop
   15466   eval $cacheid=no
   15467 fi
   15468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15469     conftest$ac_exeext conftest.$ac_ext
   15470 fi
   15471 
   15472 
   15473 		CFLAGS="$xorg_testset_save_CFLAGS"
   15474 
   15475 		eval supported=\$$cacheid
   15476 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15477 printf "%s\n" "$supported" >&6; }
   15478 		if test "$supported" = "yes" ; then
   15479 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15480 			found="yes"
   15481 		fi
   15482 	fi
   15483 
   15484 	if test $found = "no" ; then
   15485 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15487 		fi
   15488 
   15489 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15491 		fi
   15492 
   15493 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15494 
   15495 		{ 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
   15496 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15497 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15498 		if eval test \${$cacheid+y}
   15499 then :
   15500   printf %s "(cached) " >&6
   15501 else $as_nop
   15502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15503 /* end confdefs.h.  */
   15504 int i;
   15505 int
   15506 main (void)
   15507 {
   15508 
   15509   ;
   15510   return 0;
   15511 }
   15512 _ACEOF
   15513 if ac_fn_c_try_link "$LINENO"
   15514 then :
   15515   eval $cacheid=yes
   15516 else $as_nop
   15517   eval $cacheid=no
   15518 fi
   15519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15520     conftest$ac_exeext conftest.$ac_ext
   15521 fi
   15522 
   15523 
   15524 		CFLAGS="$xorg_testset_save_CFLAGS"
   15525 
   15526 		eval supported=\$$cacheid
   15527 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15528 printf "%s\n" "$supported" >&6; }
   15529 		if test "$supported" = "yes" ; then
   15530 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15531 			found="yes"
   15532 		fi
   15533 	fi
   15534 
   15535 
   15536 
   15537 
   15538 
   15539 
   15540 
   15541 
   15542 
   15543 
   15544 
   15545 
   15546 
   15547 
   15548 
   15549 xorg_testset_save_CFLAGS="$CFLAGS"
   15550 
   15551 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15553 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15554 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15555 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15556 then :
   15557   printf %s "(cached) " >&6
   15558 else $as_nop
   15559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15560 /* end confdefs.h.  */
   15561 int i;
   15562 _ACEOF
   15563 if ac_fn_c_try_compile "$LINENO"
   15564 then :
   15565   xorg_cv_cc_flag_unknown_warning_option=yes
   15566 else $as_nop
   15567   xorg_cv_cc_flag_unknown_warning_option=no
   15568 fi
   15569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15570 fi
   15571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15572 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15573 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15574 	CFLAGS="$xorg_testset_save_CFLAGS"
   15575 fi
   15576 
   15577 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15578 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15579 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15580 	fi
   15581 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15582 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15583 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15584 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15585 then :
   15586   printf %s "(cached) " >&6
   15587 else $as_nop
   15588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15589 /* end confdefs.h.  */
   15590 int i;
   15591 _ACEOF
   15592 if ac_fn_c_try_compile "$LINENO"
   15593 then :
   15594   xorg_cv_cc_flag_unused_command_line_argument=yes
   15595 else $as_nop
   15596   xorg_cv_cc_flag_unused_command_line_argument=no
   15597 fi
   15598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15599 fi
   15600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15601 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15602 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15603 	CFLAGS="$xorg_testset_save_CFLAGS"
   15604 fi
   15605 
   15606 found="no"
   15607 
   15608 	if test $found = "no" ; then
   15609 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15611 		fi
   15612 
   15613 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15615 		fi
   15616 
   15617 		CFLAGS="$CFLAGS -Werror=nonnull"
   15618 
   15619 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15620 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15621 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15622 		if eval test \${$cacheid+y}
   15623 then :
   15624   printf %s "(cached) " >&6
   15625 else $as_nop
   15626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15627 /* end confdefs.h.  */
   15628 int i;
   15629 int
   15630 main (void)
   15631 {
   15632 
   15633   ;
   15634   return 0;
   15635 }
   15636 _ACEOF
   15637 if ac_fn_c_try_link "$LINENO"
   15638 then :
   15639   eval $cacheid=yes
   15640 else $as_nop
   15641   eval $cacheid=no
   15642 fi
   15643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15644     conftest$ac_exeext conftest.$ac_ext
   15645 fi
   15646 
   15647 
   15648 		CFLAGS="$xorg_testset_save_CFLAGS"
   15649 
   15650 		eval supported=\$$cacheid
   15651 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15652 printf "%s\n" "$supported" >&6; }
   15653 		if test "$supported" = "yes" ; then
   15654 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15655 			found="yes"
   15656 		fi
   15657 	fi
   15658 
   15659 
   15660 
   15661 
   15662 
   15663 
   15664 
   15665 
   15666 
   15667 
   15668 
   15669 
   15670 
   15671 
   15672 
   15673 xorg_testset_save_CFLAGS="$CFLAGS"
   15674 
   15675 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15676 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15677 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15678 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15679 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15680 then :
   15681   printf %s "(cached) " >&6
   15682 else $as_nop
   15683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15684 /* end confdefs.h.  */
   15685 int i;
   15686 _ACEOF
   15687 if ac_fn_c_try_compile "$LINENO"
   15688 then :
   15689   xorg_cv_cc_flag_unknown_warning_option=yes
   15690 else $as_nop
   15691   xorg_cv_cc_flag_unknown_warning_option=no
   15692 fi
   15693 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15694 fi
   15695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15696 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15697 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15698 	CFLAGS="$xorg_testset_save_CFLAGS"
   15699 fi
   15700 
   15701 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15702 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15703 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15704 	fi
   15705 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15706 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15707 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15708 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15709 then :
   15710   printf %s "(cached) " >&6
   15711 else $as_nop
   15712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15713 /* end confdefs.h.  */
   15714 int i;
   15715 _ACEOF
   15716 if ac_fn_c_try_compile "$LINENO"
   15717 then :
   15718   xorg_cv_cc_flag_unused_command_line_argument=yes
   15719 else $as_nop
   15720   xorg_cv_cc_flag_unused_command_line_argument=no
   15721 fi
   15722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15723 fi
   15724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15725 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15726 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15727 	CFLAGS="$xorg_testset_save_CFLAGS"
   15728 fi
   15729 
   15730 found="no"
   15731 
   15732 	if test $found = "no" ; then
   15733 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15734 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15735 		fi
   15736 
   15737 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15738 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15739 		fi
   15740 
   15741 		CFLAGS="$CFLAGS -Werror=init-self"
   15742 
   15743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15744 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15745 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15746 		if eval test \${$cacheid+y}
   15747 then :
   15748   printf %s "(cached) " >&6
   15749 else $as_nop
   15750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15751 /* end confdefs.h.  */
   15752 int i;
   15753 int
   15754 main (void)
   15755 {
   15756 
   15757   ;
   15758   return 0;
   15759 }
   15760 _ACEOF
   15761 if ac_fn_c_try_link "$LINENO"
   15762 then :
   15763   eval $cacheid=yes
   15764 else $as_nop
   15765   eval $cacheid=no
   15766 fi
   15767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15768     conftest$ac_exeext conftest.$ac_ext
   15769 fi
   15770 
   15771 
   15772 		CFLAGS="$xorg_testset_save_CFLAGS"
   15773 
   15774 		eval supported=\$$cacheid
   15775 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15776 printf "%s\n" "$supported" >&6; }
   15777 		if test "$supported" = "yes" ; then
   15778 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15779 			found="yes"
   15780 		fi
   15781 	fi
   15782 
   15783 
   15784 
   15785 
   15786 
   15787 
   15788 
   15789 
   15790 
   15791 
   15792 
   15793 
   15794 
   15795 
   15796 
   15797 xorg_testset_save_CFLAGS="$CFLAGS"
   15798 
   15799 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15800 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15801 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15802 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15803 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15804 then :
   15805   printf %s "(cached) " >&6
   15806 else $as_nop
   15807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15808 /* end confdefs.h.  */
   15809 int i;
   15810 _ACEOF
   15811 if ac_fn_c_try_compile "$LINENO"
   15812 then :
   15813   xorg_cv_cc_flag_unknown_warning_option=yes
   15814 else $as_nop
   15815   xorg_cv_cc_flag_unknown_warning_option=no
   15816 fi
   15817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15818 fi
   15819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15820 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15821 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15822 	CFLAGS="$xorg_testset_save_CFLAGS"
   15823 fi
   15824 
   15825 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15826 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15827 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15828 	fi
   15829 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15831 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15832 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15833 then :
   15834   printf %s "(cached) " >&6
   15835 else $as_nop
   15836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15837 /* end confdefs.h.  */
   15838 int i;
   15839 _ACEOF
   15840 if ac_fn_c_try_compile "$LINENO"
   15841 then :
   15842   xorg_cv_cc_flag_unused_command_line_argument=yes
   15843 else $as_nop
   15844   xorg_cv_cc_flag_unused_command_line_argument=no
   15845 fi
   15846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15847 fi
   15848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15849 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15850 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15851 	CFLAGS="$xorg_testset_save_CFLAGS"
   15852 fi
   15853 
   15854 found="no"
   15855 
   15856 	if test $found = "no" ; then
   15857 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15859 		fi
   15860 
   15861 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15863 		fi
   15864 
   15865 		CFLAGS="$CFLAGS -Werror=main"
   15866 
   15867 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15868 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15869 		cacheid=xorg_cv_cc_flag__Werror_main
   15870 		if eval test \${$cacheid+y}
   15871 then :
   15872   printf %s "(cached) " >&6
   15873 else $as_nop
   15874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15875 /* end confdefs.h.  */
   15876 int i;
   15877 int
   15878 main (void)
   15879 {
   15880 
   15881   ;
   15882   return 0;
   15883 }
   15884 _ACEOF
   15885 if ac_fn_c_try_link "$LINENO"
   15886 then :
   15887   eval $cacheid=yes
   15888 else $as_nop
   15889   eval $cacheid=no
   15890 fi
   15891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15892     conftest$ac_exeext conftest.$ac_ext
   15893 fi
   15894 
   15895 
   15896 		CFLAGS="$xorg_testset_save_CFLAGS"
   15897 
   15898 		eval supported=\$$cacheid
   15899 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15900 printf "%s\n" "$supported" >&6; }
   15901 		if test "$supported" = "yes" ; then
   15902 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15903 			found="yes"
   15904 		fi
   15905 	fi
   15906 
   15907 
   15908 
   15909 
   15910 
   15911 
   15912 
   15913 
   15914 
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 
   15921 xorg_testset_save_CFLAGS="$CFLAGS"
   15922 
   15923 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15924 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15925 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15926 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15927 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15928 then :
   15929   printf %s "(cached) " >&6
   15930 else $as_nop
   15931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15932 /* end confdefs.h.  */
   15933 int i;
   15934 _ACEOF
   15935 if ac_fn_c_try_compile "$LINENO"
   15936 then :
   15937   xorg_cv_cc_flag_unknown_warning_option=yes
   15938 else $as_nop
   15939   xorg_cv_cc_flag_unknown_warning_option=no
   15940 fi
   15941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15942 fi
   15943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15944 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15945 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15946 	CFLAGS="$xorg_testset_save_CFLAGS"
   15947 fi
   15948 
   15949 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15950 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15951 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15952 	fi
   15953 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15954 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15955 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15956 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15957 then :
   15958   printf %s "(cached) " >&6
   15959 else $as_nop
   15960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15961 /* end confdefs.h.  */
   15962 int i;
   15963 _ACEOF
   15964 if ac_fn_c_try_compile "$LINENO"
   15965 then :
   15966   xorg_cv_cc_flag_unused_command_line_argument=yes
   15967 else $as_nop
   15968   xorg_cv_cc_flag_unused_command_line_argument=no
   15969 fi
   15970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15971 fi
   15972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15973 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15974 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15975 	CFLAGS="$xorg_testset_save_CFLAGS"
   15976 fi
   15977 
   15978 found="no"
   15979 
   15980 	if test $found = "no" ; then
   15981 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15982 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15983 		fi
   15984 
   15985 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15986 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15987 		fi
   15988 
   15989 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15990 
   15991 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15992 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15993 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15994 		if eval test \${$cacheid+y}
   15995 then :
   15996   printf %s "(cached) " >&6
   15997 else $as_nop
   15998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15999 /* end confdefs.h.  */
   16000 int i;
   16001 int
   16002 main (void)
   16003 {
   16004 
   16005   ;
   16006   return 0;
   16007 }
   16008 _ACEOF
   16009 if ac_fn_c_try_link "$LINENO"
   16010 then :
   16011   eval $cacheid=yes
   16012 else $as_nop
   16013   eval $cacheid=no
   16014 fi
   16015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16016     conftest$ac_exeext conftest.$ac_ext
   16017 fi
   16018 
   16019 
   16020 		CFLAGS="$xorg_testset_save_CFLAGS"
   16021 
   16022 		eval supported=\$$cacheid
   16023 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16024 printf "%s\n" "$supported" >&6; }
   16025 		if test "$supported" = "yes" ; then
   16026 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16027 			found="yes"
   16028 		fi
   16029 	fi
   16030 
   16031 
   16032 
   16033 
   16034 
   16035 
   16036 
   16037 
   16038 
   16039 
   16040 
   16041 
   16042 
   16043 
   16044 
   16045 xorg_testset_save_CFLAGS="$CFLAGS"
   16046 
   16047 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16048 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16049 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16050 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16051 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16052 then :
   16053   printf %s "(cached) " >&6
   16054 else $as_nop
   16055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16056 /* end confdefs.h.  */
   16057 int i;
   16058 _ACEOF
   16059 if ac_fn_c_try_compile "$LINENO"
   16060 then :
   16061   xorg_cv_cc_flag_unknown_warning_option=yes
   16062 else $as_nop
   16063   xorg_cv_cc_flag_unknown_warning_option=no
   16064 fi
   16065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16066 fi
   16067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16068 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16070 	CFLAGS="$xorg_testset_save_CFLAGS"
   16071 fi
   16072 
   16073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16076 	fi
   16077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16079 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16080 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16081 then :
   16082   printf %s "(cached) " >&6
   16083 else $as_nop
   16084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16085 /* end confdefs.h.  */
   16086 int i;
   16087 _ACEOF
   16088 if ac_fn_c_try_compile "$LINENO"
   16089 then :
   16090   xorg_cv_cc_flag_unused_command_line_argument=yes
   16091 else $as_nop
   16092   xorg_cv_cc_flag_unused_command_line_argument=no
   16093 fi
   16094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16095 fi
   16096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16097 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16098 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16099 	CFLAGS="$xorg_testset_save_CFLAGS"
   16100 fi
   16101 
   16102 found="no"
   16103 
   16104 	if test $found = "no" ; then
   16105 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16107 		fi
   16108 
   16109 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16111 		fi
   16112 
   16113 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16114 
   16115 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16116 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16117 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16118 		if eval test \${$cacheid+y}
   16119 then :
   16120   printf %s "(cached) " >&6
   16121 else $as_nop
   16122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16123 /* end confdefs.h.  */
   16124 int i;
   16125 int
   16126 main (void)
   16127 {
   16128 
   16129   ;
   16130   return 0;
   16131 }
   16132 _ACEOF
   16133 if ac_fn_c_try_link "$LINENO"
   16134 then :
   16135   eval $cacheid=yes
   16136 else $as_nop
   16137   eval $cacheid=no
   16138 fi
   16139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16140     conftest$ac_exeext conftest.$ac_ext
   16141 fi
   16142 
   16143 
   16144 		CFLAGS="$xorg_testset_save_CFLAGS"
   16145 
   16146 		eval supported=\$$cacheid
   16147 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16148 printf "%s\n" "$supported" >&6; }
   16149 		if test "$supported" = "yes" ; then
   16150 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16151 			found="yes"
   16152 		fi
   16153 	fi
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 
   16165 
   16166 
   16167 
   16168 
   16169 xorg_testset_save_CFLAGS="$CFLAGS"
   16170 
   16171 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16172 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16173 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16174 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16175 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16176 then :
   16177   printf %s "(cached) " >&6
   16178 else $as_nop
   16179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16180 /* end confdefs.h.  */
   16181 int i;
   16182 _ACEOF
   16183 if ac_fn_c_try_compile "$LINENO"
   16184 then :
   16185   xorg_cv_cc_flag_unknown_warning_option=yes
   16186 else $as_nop
   16187   xorg_cv_cc_flag_unknown_warning_option=no
   16188 fi
   16189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16190 fi
   16191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16192 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16193 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16194 	CFLAGS="$xorg_testset_save_CFLAGS"
   16195 fi
   16196 
   16197 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16198 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16199 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16200 	fi
   16201 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16202 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16203 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16204 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16205 then :
   16206   printf %s "(cached) " >&6
   16207 else $as_nop
   16208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16209 /* end confdefs.h.  */
   16210 int i;
   16211 _ACEOF
   16212 if ac_fn_c_try_compile "$LINENO"
   16213 then :
   16214   xorg_cv_cc_flag_unused_command_line_argument=yes
   16215 else $as_nop
   16216   xorg_cv_cc_flag_unused_command_line_argument=no
   16217 fi
   16218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16219 fi
   16220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16221 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16222 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16223 	CFLAGS="$xorg_testset_save_CFLAGS"
   16224 fi
   16225 
   16226 found="no"
   16227 
   16228 	if test $found = "no" ; then
   16229 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16230 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16231 		fi
   16232 
   16233 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16234 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16235 		fi
   16236 
   16237 		CFLAGS="$CFLAGS -Werror=return-type"
   16238 
   16239 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16240 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16241 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16242 		if eval test \${$cacheid+y}
   16243 then :
   16244   printf %s "(cached) " >&6
   16245 else $as_nop
   16246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16247 /* end confdefs.h.  */
   16248 int i;
   16249 int
   16250 main (void)
   16251 {
   16252 
   16253   ;
   16254   return 0;
   16255 }
   16256 _ACEOF
   16257 if ac_fn_c_try_link "$LINENO"
   16258 then :
   16259   eval $cacheid=yes
   16260 else $as_nop
   16261   eval $cacheid=no
   16262 fi
   16263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16264     conftest$ac_exeext conftest.$ac_ext
   16265 fi
   16266 
   16267 
   16268 		CFLAGS="$xorg_testset_save_CFLAGS"
   16269 
   16270 		eval supported=\$$cacheid
   16271 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16272 printf "%s\n" "$supported" >&6; }
   16273 		if test "$supported" = "yes" ; then
   16274 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16275 			found="yes"
   16276 		fi
   16277 	fi
   16278 
   16279 	if test $found = "no" ; then
   16280 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16281 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16282 		fi
   16283 
   16284 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16285 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16286 		fi
   16287 
   16288 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16289 
   16290 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16291 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16292 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16293 		if eval test \${$cacheid+y}
   16294 then :
   16295   printf %s "(cached) " >&6
   16296 else $as_nop
   16297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16298 /* end confdefs.h.  */
   16299 int i;
   16300 int
   16301 main (void)
   16302 {
   16303 
   16304   ;
   16305   return 0;
   16306 }
   16307 _ACEOF
   16308 if ac_fn_c_try_link "$LINENO"
   16309 then :
   16310   eval $cacheid=yes
   16311 else $as_nop
   16312   eval $cacheid=no
   16313 fi
   16314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16315     conftest$ac_exeext conftest.$ac_ext
   16316 fi
   16317 
   16318 
   16319 		CFLAGS="$xorg_testset_save_CFLAGS"
   16320 
   16321 		eval supported=\$$cacheid
   16322 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16323 printf "%s\n" "$supported" >&6; }
   16324 		if test "$supported" = "yes" ; then
   16325 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16326 			found="yes"
   16327 		fi
   16328 	fi
   16329 
   16330 
   16331 
   16332 
   16333 
   16334 
   16335 
   16336 
   16337 
   16338 
   16339 
   16340 
   16341 
   16342 
   16343 
   16344 xorg_testset_save_CFLAGS="$CFLAGS"
   16345 
   16346 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16347 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16348 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16349 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16350 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16351 then :
   16352   printf %s "(cached) " >&6
   16353 else $as_nop
   16354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16355 /* end confdefs.h.  */
   16356 int i;
   16357 _ACEOF
   16358 if ac_fn_c_try_compile "$LINENO"
   16359 then :
   16360   xorg_cv_cc_flag_unknown_warning_option=yes
   16361 else $as_nop
   16362   xorg_cv_cc_flag_unknown_warning_option=no
   16363 fi
   16364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16365 fi
   16366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16367 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16368 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16369 	CFLAGS="$xorg_testset_save_CFLAGS"
   16370 fi
   16371 
   16372 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16373 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16374 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16375 	fi
   16376 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16377 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16378 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16379 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16380 then :
   16381   printf %s "(cached) " >&6
   16382 else $as_nop
   16383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16384 /* end confdefs.h.  */
   16385 int i;
   16386 _ACEOF
   16387 if ac_fn_c_try_compile "$LINENO"
   16388 then :
   16389   xorg_cv_cc_flag_unused_command_line_argument=yes
   16390 else $as_nop
   16391   xorg_cv_cc_flag_unused_command_line_argument=no
   16392 fi
   16393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16394 fi
   16395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16396 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16397 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16398 	CFLAGS="$xorg_testset_save_CFLAGS"
   16399 fi
   16400 
   16401 found="no"
   16402 
   16403 	if test $found = "no" ; then
   16404 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16405 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16406 		fi
   16407 
   16408 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16409 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16410 		fi
   16411 
   16412 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16413 
   16414 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16415 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16416 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16417 		if eval test \${$cacheid+y}
   16418 then :
   16419   printf %s "(cached) " >&6
   16420 else $as_nop
   16421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16422 /* end confdefs.h.  */
   16423 int i;
   16424 int
   16425 main (void)
   16426 {
   16427 
   16428   ;
   16429   return 0;
   16430 }
   16431 _ACEOF
   16432 if ac_fn_c_try_link "$LINENO"
   16433 then :
   16434   eval $cacheid=yes
   16435 else $as_nop
   16436   eval $cacheid=no
   16437 fi
   16438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16439     conftest$ac_exeext conftest.$ac_ext
   16440 fi
   16441 
   16442 
   16443 		CFLAGS="$xorg_testset_save_CFLAGS"
   16444 
   16445 		eval supported=\$$cacheid
   16446 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16447 printf "%s\n" "$supported" >&6; }
   16448 		if test "$supported" = "yes" ; then
   16449 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16450 			found="yes"
   16451 		fi
   16452 	fi
   16453 
   16454 
   16455 
   16456 
   16457 
   16458 
   16459 
   16460 
   16461 
   16462 
   16463 
   16464 
   16465 
   16466 
   16467 
   16468 xorg_testset_save_CFLAGS="$CFLAGS"
   16469 
   16470 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16471 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16472 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16473 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16474 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16475 then :
   16476   printf %s "(cached) " >&6
   16477 else $as_nop
   16478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16479 /* end confdefs.h.  */
   16480 int i;
   16481 _ACEOF
   16482 if ac_fn_c_try_compile "$LINENO"
   16483 then :
   16484   xorg_cv_cc_flag_unknown_warning_option=yes
   16485 else $as_nop
   16486   xorg_cv_cc_flag_unknown_warning_option=no
   16487 fi
   16488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16489 fi
   16490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16491 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16492 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16493 	CFLAGS="$xorg_testset_save_CFLAGS"
   16494 fi
   16495 
   16496 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16497 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16498 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16499 	fi
   16500 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16501 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16502 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16503 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16504 then :
   16505   printf %s "(cached) " >&6
   16506 else $as_nop
   16507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16508 /* end confdefs.h.  */
   16509 int i;
   16510 _ACEOF
   16511 if ac_fn_c_try_compile "$LINENO"
   16512 then :
   16513   xorg_cv_cc_flag_unused_command_line_argument=yes
   16514 else $as_nop
   16515   xorg_cv_cc_flag_unused_command_line_argument=no
   16516 fi
   16517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16518 fi
   16519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16520 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16521 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16522 	CFLAGS="$xorg_testset_save_CFLAGS"
   16523 fi
   16524 
   16525 found="no"
   16526 
   16527 	if test $found = "no" ; then
   16528 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16529 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16530 		fi
   16531 
   16532 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16533 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16534 		fi
   16535 
   16536 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16537 
   16538 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16539 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16540 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16541 		if eval test \${$cacheid+y}
   16542 then :
   16543   printf %s "(cached) " >&6
   16544 else $as_nop
   16545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16546 /* end confdefs.h.  */
   16547 int i;
   16548 int
   16549 main (void)
   16550 {
   16551 
   16552   ;
   16553   return 0;
   16554 }
   16555 _ACEOF
   16556 if ac_fn_c_try_link "$LINENO"
   16557 then :
   16558   eval $cacheid=yes
   16559 else $as_nop
   16560   eval $cacheid=no
   16561 fi
   16562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16563     conftest$ac_exeext conftest.$ac_ext
   16564 fi
   16565 
   16566 
   16567 		CFLAGS="$xorg_testset_save_CFLAGS"
   16568 
   16569 		eval supported=\$$cacheid
   16570 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16571 printf "%s\n" "$supported" >&6; }
   16572 		if test "$supported" = "yes" ; then
   16573 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16574 			found="yes"
   16575 		fi
   16576 	fi
   16577 
   16578 
   16579 
   16580 
   16581 
   16582 
   16583 
   16584 
   16585 
   16586 
   16587 
   16588 
   16589 
   16590 
   16591 
   16592 xorg_testset_save_CFLAGS="$CFLAGS"
   16593 
   16594 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16595 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16596 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16597 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16598 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16599 then :
   16600   printf %s "(cached) " >&6
   16601 else $as_nop
   16602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16603 /* end confdefs.h.  */
   16604 int i;
   16605 _ACEOF
   16606 if ac_fn_c_try_compile "$LINENO"
   16607 then :
   16608   xorg_cv_cc_flag_unknown_warning_option=yes
   16609 else $as_nop
   16610   xorg_cv_cc_flag_unknown_warning_option=no
   16611 fi
   16612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16613 fi
   16614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16615 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16616 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16617 	CFLAGS="$xorg_testset_save_CFLAGS"
   16618 fi
   16619 
   16620 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16621 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16622 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16623 	fi
   16624 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16626 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16627 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16628 then :
   16629   printf %s "(cached) " >&6
   16630 else $as_nop
   16631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16632 /* end confdefs.h.  */
   16633 int i;
   16634 _ACEOF
   16635 if ac_fn_c_try_compile "$LINENO"
   16636 then :
   16637   xorg_cv_cc_flag_unused_command_line_argument=yes
   16638 else $as_nop
   16639   xorg_cv_cc_flag_unused_command_line_argument=no
   16640 fi
   16641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16642 fi
   16643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16644 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16645 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16646 	CFLAGS="$xorg_testset_save_CFLAGS"
   16647 fi
   16648 
   16649 found="no"
   16650 
   16651 	if test $found = "no" ; then
   16652 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16654 		fi
   16655 
   16656 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16658 		fi
   16659 
   16660 		CFLAGS="$CFLAGS -Werror=write-strings"
   16661 
   16662 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16663 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16664 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16665 		if eval test \${$cacheid+y}
   16666 then :
   16667   printf %s "(cached) " >&6
   16668 else $as_nop
   16669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16670 /* end confdefs.h.  */
   16671 int i;
   16672 int
   16673 main (void)
   16674 {
   16675 
   16676   ;
   16677   return 0;
   16678 }
   16679 _ACEOF
   16680 if ac_fn_c_try_link "$LINENO"
   16681 then :
   16682   eval $cacheid=yes
   16683 else $as_nop
   16684   eval $cacheid=no
   16685 fi
   16686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16687     conftest$ac_exeext conftest.$ac_ext
   16688 fi
   16689 
   16690 
   16691 		CFLAGS="$xorg_testset_save_CFLAGS"
   16692 
   16693 		eval supported=\$$cacheid
   16694 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16695 printf "%s\n" "$supported" >&6; }
   16696 		if test "$supported" = "yes" ; then
   16697 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16698 			found="yes"
   16699 		fi
   16700 	fi
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 xorg_testset_save_CFLAGS="$CFLAGS"
   16717 
   16718 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16719 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16720 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16721 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16722 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16723 then :
   16724   printf %s "(cached) " >&6
   16725 else $as_nop
   16726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16727 /* end confdefs.h.  */
   16728 int i;
   16729 _ACEOF
   16730 if ac_fn_c_try_compile "$LINENO"
   16731 then :
   16732   xorg_cv_cc_flag_unknown_warning_option=yes
   16733 else $as_nop
   16734   xorg_cv_cc_flag_unknown_warning_option=no
   16735 fi
   16736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16737 fi
   16738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16739 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16740 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16741 	CFLAGS="$xorg_testset_save_CFLAGS"
   16742 fi
   16743 
   16744 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16745 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16746 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16747 	fi
   16748 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16749 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16750 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16751 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16752 then :
   16753   printf %s "(cached) " >&6
   16754 else $as_nop
   16755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16756 /* end confdefs.h.  */
   16757 int i;
   16758 _ACEOF
   16759 if ac_fn_c_try_compile "$LINENO"
   16760 then :
   16761   xorg_cv_cc_flag_unused_command_line_argument=yes
   16762 else $as_nop
   16763   xorg_cv_cc_flag_unused_command_line_argument=no
   16764 fi
   16765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16766 fi
   16767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16768 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16769 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16770 	CFLAGS="$xorg_testset_save_CFLAGS"
   16771 fi
   16772 
   16773 found="no"
   16774 
   16775 	if test $found = "no" ; then
   16776 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16777 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16778 		fi
   16779 
   16780 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16781 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16782 		fi
   16783 
   16784 		CFLAGS="$CFLAGS -Werror=address"
   16785 
   16786 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16787 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16788 		cacheid=xorg_cv_cc_flag__Werror_address
   16789 		if eval test \${$cacheid+y}
   16790 then :
   16791   printf %s "(cached) " >&6
   16792 else $as_nop
   16793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16794 /* end confdefs.h.  */
   16795 int i;
   16796 int
   16797 main (void)
   16798 {
   16799 
   16800   ;
   16801   return 0;
   16802 }
   16803 _ACEOF
   16804 if ac_fn_c_try_link "$LINENO"
   16805 then :
   16806   eval $cacheid=yes
   16807 else $as_nop
   16808   eval $cacheid=no
   16809 fi
   16810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16811     conftest$ac_exeext conftest.$ac_ext
   16812 fi
   16813 
   16814 
   16815 		CFLAGS="$xorg_testset_save_CFLAGS"
   16816 
   16817 		eval supported=\$$cacheid
   16818 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16819 printf "%s\n" "$supported" >&6; }
   16820 		if test "$supported" = "yes" ; then
   16821 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16822 			found="yes"
   16823 		fi
   16824 	fi
   16825 
   16826 
   16827 
   16828 
   16829 
   16830 
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 xorg_testset_save_CFLAGS="$CFLAGS"
   16841 
   16842 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16843 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16844 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16845 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16846 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16847 then :
   16848   printf %s "(cached) " >&6
   16849 else $as_nop
   16850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16851 /* end confdefs.h.  */
   16852 int i;
   16853 _ACEOF
   16854 if ac_fn_c_try_compile "$LINENO"
   16855 then :
   16856   xorg_cv_cc_flag_unknown_warning_option=yes
   16857 else $as_nop
   16858   xorg_cv_cc_flag_unknown_warning_option=no
   16859 fi
   16860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16861 fi
   16862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16863 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16864 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16865 	CFLAGS="$xorg_testset_save_CFLAGS"
   16866 fi
   16867 
   16868 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16869 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16870 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16871 	fi
   16872 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16874 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16875 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16876 then :
   16877   printf %s "(cached) " >&6
   16878 else $as_nop
   16879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16880 /* end confdefs.h.  */
   16881 int i;
   16882 _ACEOF
   16883 if ac_fn_c_try_compile "$LINENO"
   16884 then :
   16885   xorg_cv_cc_flag_unused_command_line_argument=yes
   16886 else $as_nop
   16887   xorg_cv_cc_flag_unused_command_line_argument=no
   16888 fi
   16889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16890 fi
   16891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16892 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16893 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16894 	CFLAGS="$xorg_testset_save_CFLAGS"
   16895 fi
   16896 
   16897 found="no"
   16898 
   16899 	if test $found = "no" ; then
   16900 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16901 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16902 		fi
   16903 
   16904 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16905 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16906 		fi
   16907 
   16908 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16909 
   16910 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16911 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16912 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16913 		if eval test \${$cacheid+y}
   16914 then :
   16915   printf %s "(cached) " >&6
   16916 else $as_nop
   16917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16918 /* end confdefs.h.  */
   16919 int i;
   16920 int
   16921 main (void)
   16922 {
   16923 
   16924   ;
   16925   return 0;
   16926 }
   16927 _ACEOF
   16928 if ac_fn_c_try_link "$LINENO"
   16929 then :
   16930   eval $cacheid=yes
   16931 else $as_nop
   16932   eval $cacheid=no
   16933 fi
   16934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16935     conftest$ac_exeext conftest.$ac_ext
   16936 fi
   16937 
   16938 
   16939 		CFLAGS="$xorg_testset_save_CFLAGS"
   16940 
   16941 		eval supported=\$$cacheid
   16942 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16943 printf "%s\n" "$supported" >&6; }
   16944 		if test "$supported" = "yes" ; then
   16945 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16946 			found="yes"
   16947 		fi
   16948 	fi
   16949 
   16950 	if test $found = "no" ; then
   16951 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16953 		fi
   16954 
   16955 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16957 		fi
   16958 
   16959 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16960 
   16961 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16962 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16963 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16964 		if eval test \${$cacheid+y}
   16965 then :
   16966   printf %s "(cached) " >&6
   16967 else $as_nop
   16968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16969 /* end confdefs.h.  */
   16970 int i;
   16971 int
   16972 main (void)
   16973 {
   16974 
   16975   ;
   16976   return 0;
   16977 }
   16978 _ACEOF
   16979 if ac_fn_c_try_link "$LINENO"
   16980 then :
   16981   eval $cacheid=yes
   16982 else $as_nop
   16983   eval $cacheid=no
   16984 fi
   16985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16986     conftest$ac_exeext conftest.$ac_ext
   16987 fi
   16988 
   16989 
   16990 		CFLAGS="$xorg_testset_save_CFLAGS"
   16991 
   16992 		eval supported=\$$cacheid
   16993 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16994 printf "%s\n" "$supported" >&6; }
   16995 		if test "$supported" = "yes" ; then
   16996 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16997 			found="yes"
   16998 		fi
   16999 	fi
   17000 
   17001 
   17002 
   17003 
   17004 
   17005 
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 xorg_testset_save_CFLAGS="$CFLAGS"
   17016 
   17017 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17018 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17019 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17020 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17021 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17022 then :
   17023   printf %s "(cached) " >&6
   17024 else $as_nop
   17025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17026 /* end confdefs.h.  */
   17027 int i;
   17028 _ACEOF
   17029 if ac_fn_c_try_compile "$LINENO"
   17030 then :
   17031   xorg_cv_cc_flag_unknown_warning_option=yes
   17032 else $as_nop
   17033   xorg_cv_cc_flag_unknown_warning_option=no
   17034 fi
   17035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17036 fi
   17037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17038 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17039 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17040 	CFLAGS="$xorg_testset_save_CFLAGS"
   17041 fi
   17042 
   17043 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17044 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17045 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17046 	fi
   17047 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17049 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17050 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17051 then :
   17052   printf %s "(cached) " >&6
   17053 else $as_nop
   17054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17055 /* end confdefs.h.  */
   17056 int i;
   17057 _ACEOF
   17058 if ac_fn_c_try_compile "$LINENO"
   17059 then :
   17060   xorg_cv_cc_flag_unused_command_line_argument=yes
   17061 else $as_nop
   17062   xorg_cv_cc_flag_unused_command_line_argument=no
   17063 fi
   17064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17065 fi
   17066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17067 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17068 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17069 	CFLAGS="$xorg_testset_save_CFLAGS"
   17070 fi
   17071 
   17072 found="no"
   17073 
   17074 	if test $found = "no" ; then
   17075 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17076 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17077 		fi
   17078 
   17079 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17080 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17081 		fi
   17082 
   17083 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17084 
   17085 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17086 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17087 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17088 		if eval test \${$cacheid+y}
   17089 then :
   17090   printf %s "(cached) " >&6
   17091 else $as_nop
   17092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17093 /* end confdefs.h.  */
   17094 int i;
   17095 int
   17096 main (void)
   17097 {
   17098 
   17099   ;
   17100   return 0;
   17101 }
   17102 _ACEOF
   17103 if ac_fn_c_try_link "$LINENO"
   17104 then :
   17105   eval $cacheid=yes
   17106 else $as_nop
   17107   eval $cacheid=no
   17108 fi
   17109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17110     conftest$ac_exeext conftest.$ac_ext
   17111 fi
   17112 
   17113 
   17114 		CFLAGS="$xorg_testset_save_CFLAGS"
   17115 
   17116 		eval supported=\$$cacheid
   17117 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17118 printf "%s\n" "$supported" >&6; }
   17119 		if test "$supported" = "yes" ; then
   17120 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17121 			found="yes"
   17122 		fi
   17123 	fi
   17124 
   17125  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17126 else
   17127 { 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
   17128 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;}
   17129 
   17130 
   17131 
   17132 
   17133 
   17134 
   17135 
   17136 
   17137 
   17138 
   17139 
   17140 
   17141 
   17142 xorg_testset_save_CFLAGS="$CFLAGS"
   17143 
   17144 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17145 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17146 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17147 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17148 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17149 then :
   17150   printf %s "(cached) " >&6
   17151 else $as_nop
   17152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17153 /* end confdefs.h.  */
   17154 int i;
   17155 _ACEOF
   17156 if ac_fn_c_try_compile "$LINENO"
   17157 then :
   17158   xorg_cv_cc_flag_unknown_warning_option=yes
   17159 else $as_nop
   17160   xorg_cv_cc_flag_unknown_warning_option=no
   17161 fi
   17162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17163 fi
   17164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17165 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17166 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17167 	CFLAGS="$xorg_testset_save_CFLAGS"
   17168 fi
   17169 
   17170 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17171 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17172 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17173 	fi
   17174 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17175 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17176 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17177 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17178 then :
   17179   printf %s "(cached) " >&6
   17180 else $as_nop
   17181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17182 /* end confdefs.h.  */
   17183 int i;
   17184 _ACEOF
   17185 if ac_fn_c_try_compile "$LINENO"
   17186 then :
   17187   xorg_cv_cc_flag_unused_command_line_argument=yes
   17188 else $as_nop
   17189   xorg_cv_cc_flag_unused_command_line_argument=no
   17190 fi
   17191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17192 fi
   17193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17194 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17195 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17196 	CFLAGS="$xorg_testset_save_CFLAGS"
   17197 fi
   17198 
   17199 found="no"
   17200 
   17201 	if test $found = "no" ; then
   17202 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17204 		fi
   17205 
   17206 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17208 		fi
   17209 
   17210 		CFLAGS="$CFLAGS -Wimplicit"
   17211 
   17212 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17213 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17214 		cacheid=xorg_cv_cc_flag__Wimplicit
   17215 		if eval test \${$cacheid+y}
   17216 then :
   17217   printf %s "(cached) " >&6
   17218 else $as_nop
   17219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17220 /* end confdefs.h.  */
   17221 int i;
   17222 int
   17223 main (void)
   17224 {
   17225 
   17226   ;
   17227   return 0;
   17228 }
   17229 _ACEOF
   17230 if ac_fn_c_try_link "$LINENO"
   17231 then :
   17232   eval $cacheid=yes
   17233 else $as_nop
   17234   eval $cacheid=no
   17235 fi
   17236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17237     conftest$ac_exeext conftest.$ac_ext
   17238 fi
   17239 
   17240 
   17241 		CFLAGS="$xorg_testset_save_CFLAGS"
   17242 
   17243 		eval supported=\$$cacheid
   17244 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17245 printf "%s\n" "$supported" >&6; }
   17246 		if test "$supported" = "yes" ; then
   17247 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17248 			found="yes"
   17249 		fi
   17250 	fi
   17251 
   17252 
   17253 
   17254 
   17255 
   17256 
   17257 
   17258 
   17259 
   17260 
   17261 
   17262 
   17263 
   17264 
   17265 
   17266 xorg_testset_save_CFLAGS="$CFLAGS"
   17267 
   17268 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17269 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17270 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17271 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17272 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17273 then :
   17274   printf %s "(cached) " >&6
   17275 else $as_nop
   17276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17277 /* end confdefs.h.  */
   17278 int i;
   17279 _ACEOF
   17280 if ac_fn_c_try_compile "$LINENO"
   17281 then :
   17282   xorg_cv_cc_flag_unknown_warning_option=yes
   17283 else $as_nop
   17284   xorg_cv_cc_flag_unknown_warning_option=no
   17285 fi
   17286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17287 fi
   17288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17289 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17290 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17291 	CFLAGS="$xorg_testset_save_CFLAGS"
   17292 fi
   17293 
   17294 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17295 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17296 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17297 	fi
   17298 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17299 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17300 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17301 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17302 then :
   17303   printf %s "(cached) " >&6
   17304 else $as_nop
   17305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17306 /* end confdefs.h.  */
   17307 int i;
   17308 _ACEOF
   17309 if ac_fn_c_try_compile "$LINENO"
   17310 then :
   17311   xorg_cv_cc_flag_unused_command_line_argument=yes
   17312 else $as_nop
   17313   xorg_cv_cc_flag_unused_command_line_argument=no
   17314 fi
   17315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17316 fi
   17317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17318 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17319 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17320 	CFLAGS="$xorg_testset_save_CFLAGS"
   17321 fi
   17322 
   17323 found="no"
   17324 
   17325 	if test $found = "no" ; then
   17326 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17327 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17328 		fi
   17329 
   17330 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17331 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17332 		fi
   17333 
   17334 		CFLAGS="$CFLAGS -Wnonnull"
   17335 
   17336 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17337 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17338 		cacheid=xorg_cv_cc_flag__Wnonnull
   17339 		if eval test \${$cacheid+y}
   17340 then :
   17341   printf %s "(cached) " >&6
   17342 else $as_nop
   17343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17344 /* end confdefs.h.  */
   17345 int i;
   17346 int
   17347 main (void)
   17348 {
   17349 
   17350   ;
   17351   return 0;
   17352 }
   17353 _ACEOF
   17354 if ac_fn_c_try_link "$LINENO"
   17355 then :
   17356   eval $cacheid=yes
   17357 else $as_nop
   17358   eval $cacheid=no
   17359 fi
   17360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17361     conftest$ac_exeext conftest.$ac_ext
   17362 fi
   17363 
   17364 
   17365 		CFLAGS="$xorg_testset_save_CFLAGS"
   17366 
   17367 		eval supported=\$$cacheid
   17368 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17369 printf "%s\n" "$supported" >&6; }
   17370 		if test "$supported" = "yes" ; then
   17371 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17372 			found="yes"
   17373 		fi
   17374 	fi
   17375 
   17376 
   17377 
   17378 
   17379 
   17380 
   17381 
   17382 
   17383 
   17384 
   17385 
   17386 
   17387 
   17388 
   17389 
   17390 xorg_testset_save_CFLAGS="$CFLAGS"
   17391 
   17392 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17393 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17394 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17395 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17396 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17397 then :
   17398   printf %s "(cached) " >&6
   17399 else $as_nop
   17400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17401 /* end confdefs.h.  */
   17402 int i;
   17403 _ACEOF
   17404 if ac_fn_c_try_compile "$LINENO"
   17405 then :
   17406   xorg_cv_cc_flag_unknown_warning_option=yes
   17407 else $as_nop
   17408   xorg_cv_cc_flag_unknown_warning_option=no
   17409 fi
   17410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17411 fi
   17412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17413 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17414 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17415 	CFLAGS="$xorg_testset_save_CFLAGS"
   17416 fi
   17417 
   17418 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17419 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17420 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17421 	fi
   17422 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17423 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17424 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17425 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17426 then :
   17427   printf %s "(cached) " >&6
   17428 else $as_nop
   17429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17430 /* end confdefs.h.  */
   17431 int i;
   17432 _ACEOF
   17433 if ac_fn_c_try_compile "$LINENO"
   17434 then :
   17435   xorg_cv_cc_flag_unused_command_line_argument=yes
   17436 else $as_nop
   17437   xorg_cv_cc_flag_unused_command_line_argument=no
   17438 fi
   17439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17440 fi
   17441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17442 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17443 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17444 	CFLAGS="$xorg_testset_save_CFLAGS"
   17445 fi
   17446 
   17447 found="no"
   17448 
   17449 	if test $found = "no" ; then
   17450 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17451 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17452 		fi
   17453 
   17454 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17455 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17456 		fi
   17457 
   17458 		CFLAGS="$CFLAGS -Winit-self"
   17459 
   17460 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17461 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17462 		cacheid=xorg_cv_cc_flag__Winit_self
   17463 		if eval test \${$cacheid+y}
   17464 then :
   17465   printf %s "(cached) " >&6
   17466 else $as_nop
   17467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17468 /* end confdefs.h.  */
   17469 int i;
   17470 int
   17471 main (void)
   17472 {
   17473 
   17474   ;
   17475   return 0;
   17476 }
   17477 _ACEOF
   17478 if ac_fn_c_try_link "$LINENO"
   17479 then :
   17480   eval $cacheid=yes
   17481 else $as_nop
   17482   eval $cacheid=no
   17483 fi
   17484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17485     conftest$ac_exeext conftest.$ac_ext
   17486 fi
   17487 
   17488 
   17489 		CFLAGS="$xorg_testset_save_CFLAGS"
   17490 
   17491 		eval supported=\$$cacheid
   17492 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17493 printf "%s\n" "$supported" >&6; }
   17494 		if test "$supported" = "yes" ; then
   17495 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17496 			found="yes"
   17497 		fi
   17498 	fi
   17499 
   17500 
   17501 
   17502 
   17503 
   17504 
   17505 
   17506 
   17507 
   17508 
   17509 
   17510 
   17511 
   17512 
   17513 
   17514 xorg_testset_save_CFLAGS="$CFLAGS"
   17515 
   17516 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17517 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17518 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17519 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17520 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17521 then :
   17522   printf %s "(cached) " >&6
   17523 else $as_nop
   17524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17525 /* end confdefs.h.  */
   17526 int i;
   17527 _ACEOF
   17528 if ac_fn_c_try_compile "$LINENO"
   17529 then :
   17530   xorg_cv_cc_flag_unknown_warning_option=yes
   17531 else $as_nop
   17532   xorg_cv_cc_flag_unknown_warning_option=no
   17533 fi
   17534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17535 fi
   17536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17537 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17538 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17539 	CFLAGS="$xorg_testset_save_CFLAGS"
   17540 fi
   17541 
   17542 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17543 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17544 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17545 	fi
   17546 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17547 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17548 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17549 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17550 then :
   17551   printf %s "(cached) " >&6
   17552 else $as_nop
   17553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17554 /* end confdefs.h.  */
   17555 int i;
   17556 _ACEOF
   17557 if ac_fn_c_try_compile "$LINENO"
   17558 then :
   17559   xorg_cv_cc_flag_unused_command_line_argument=yes
   17560 else $as_nop
   17561   xorg_cv_cc_flag_unused_command_line_argument=no
   17562 fi
   17563 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17564 fi
   17565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17566 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17568 	CFLAGS="$xorg_testset_save_CFLAGS"
   17569 fi
   17570 
   17571 found="no"
   17572 
   17573 	if test $found = "no" ; then
   17574 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17576 		fi
   17577 
   17578 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17580 		fi
   17581 
   17582 		CFLAGS="$CFLAGS -Wmain"
   17583 
   17584 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17585 printf %s "checking if $CC supports -Wmain... " >&6; }
   17586 		cacheid=xorg_cv_cc_flag__Wmain
   17587 		if eval test \${$cacheid+y}
   17588 then :
   17589   printf %s "(cached) " >&6
   17590 else $as_nop
   17591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17592 /* end confdefs.h.  */
   17593 int i;
   17594 int
   17595 main (void)
   17596 {
   17597 
   17598   ;
   17599   return 0;
   17600 }
   17601 _ACEOF
   17602 if ac_fn_c_try_link "$LINENO"
   17603 then :
   17604   eval $cacheid=yes
   17605 else $as_nop
   17606   eval $cacheid=no
   17607 fi
   17608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17609     conftest$ac_exeext conftest.$ac_ext
   17610 fi
   17611 
   17612 
   17613 		CFLAGS="$xorg_testset_save_CFLAGS"
   17614 
   17615 		eval supported=\$$cacheid
   17616 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17617 printf "%s\n" "$supported" >&6; }
   17618 		if test "$supported" = "yes" ; then
   17619 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17620 			found="yes"
   17621 		fi
   17622 	fi
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 xorg_testset_save_CFLAGS="$CFLAGS"
   17639 
   17640 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17641 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17642 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17643 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17644 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17645 then :
   17646   printf %s "(cached) " >&6
   17647 else $as_nop
   17648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17649 /* end confdefs.h.  */
   17650 int i;
   17651 _ACEOF
   17652 if ac_fn_c_try_compile "$LINENO"
   17653 then :
   17654   xorg_cv_cc_flag_unknown_warning_option=yes
   17655 else $as_nop
   17656   xorg_cv_cc_flag_unknown_warning_option=no
   17657 fi
   17658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17659 fi
   17660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17661 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17663 	CFLAGS="$xorg_testset_save_CFLAGS"
   17664 fi
   17665 
   17666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17669 	fi
   17670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17672 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17673 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17674 then :
   17675   printf %s "(cached) " >&6
   17676 else $as_nop
   17677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17678 /* end confdefs.h.  */
   17679 int i;
   17680 _ACEOF
   17681 if ac_fn_c_try_compile "$LINENO"
   17682 then :
   17683   xorg_cv_cc_flag_unused_command_line_argument=yes
   17684 else $as_nop
   17685   xorg_cv_cc_flag_unused_command_line_argument=no
   17686 fi
   17687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17688 fi
   17689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17690 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17692 	CFLAGS="$xorg_testset_save_CFLAGS"
   17693 fi
   17694 
   17695 found="no"
   17696 
   17697 	if test $found = "no" ; then
   17698 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17700 		fi
   17701 
   17702 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17704 		fi
   17705 
   17706 		CFLAGS="$CFLAGS -Wmissing-braces"
   17707 
   17708 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17709 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17710 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17711 		if eval test \${$cacheid+y}
   17712 then :
   17713   printf %s "(cached) " >&6
   17714 else $as_nop
   17715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17716 /* end confdefs.h.  */
   17717 int i;
   17718 int
   17719 main (void)
   17720 {
   17721 
   17722   ;
   17723   return 0;
   17724 }
   17725 _ACEOF
   17726 if ac_fn_c_try_link "$LINENO"
   17727 then :
   17728   eval $cacheid=yes
   17729 else $as_nop
   17730   eval $cacheid=no
   17731 fi
   17732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17733     conftest$ac_exeext conftest.$ac_ext
   17734 fi
   17735 
   17736 
   17737 		CFLAGS="$xorg_testset_save_CFLAGS"
   17738 
   17739 		eval supported=\$$cacheid
   17740 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17741 printf "%s\n" "$supported" >&6; }
   17742 		if test "$supported" = "yes" ; then
   17743 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17744 			found="yes"
   17745 		fi
   17746 	fi
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 xorg_testset_save_CFLAGS="$CFLAGS"
   17763 
   17764 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17765 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17766 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17767 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17768 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17769 then :
   17770   printf %s "(cached) " >&6
   17771 else $as_nop
   17772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17773 /* end confdefs.h.  */
   17774 int i;
   17775 _ACEOF
   17776 if ac_fn_c_try_compile "$LINENO"
   17777 then :
   17778   xorg_cv_cc_flag_unknown_warning_option=yes
   17779 else $as_nop
   17780   xorg_cv_cc_flag_unknown_warning_option=no
   17781 fi
   17782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17783 fi
   17784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17785 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17786 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17787 	CFLAGS="$xorg_testset_save_CFLAGS"
   17788 fi
   17789 
   17790 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17791 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17792 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17793 	fi
   17794 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17795 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17796 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17797 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17798 then :
   17799   printf %s "(cached) " >&6
   17800 else $as_nop
   17801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17802 /* end confdefs.h.  */
   17803 int i;
   17804 _ACEOF
   17805 if ac_fn_c_try_compile "$LINENO"
   17806 then :
   17807   xorg_cv_cc_flag_unused_command_line_argument=yes
   17808 else $as_nop
   17809   xorg_cv_cc_flag_unused_command_line_argument=no
   17810 fi
   17811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17812 fi
   17813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17814 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17815 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17816 	CFLAGS="$xorg_testset_save_CFLAGS"
   17817 fi
   17818 
   17819 found="no"
   17820 
   17821 	if test $found = "no" ; then
   17822 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17824 		fi
   17825 
   17826 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17828 		fi
   17829 
   17830 		CFLAGS="$CFLAGS -Wsequence-point"
   17831 
   17832 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17833 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17834 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17835 		if eval test \${$cacheid+y}
   17836 then :
   17837   printf %s "(cached) " >&6
   17838 else $as_nop
   17839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17840 /* end confdefs.h.  */
   17841 int i;
   17842 int
   17843 main (void)
   17844 {
   17845 
   17846   ;
   17847   return 0;
   17848 }
   17849 _ACEOF
   17850 if ac_fn_c_try_link "$LINENO"
   17851 then :
   17852   eval $cacheid=yes
   17853 else $as_nop
   17854   eval $cacheid=no
   17855 fi
   17856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17857     conftest$ac_exeext conftest.$ac_ext
   17858 fi
   17859 
   17860 
   17861 		CFLAGS="$xorg_testset_save_CFLAGS"
   17862 
   17863 		eval supported=\$$cacheid
   17864 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17865 printf "%s\n" "$supported" >&6; }
   17866 		if test "$supported" = "yes" ; then
   17867 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17868 			found="yes"
   17869 		fi
   17870 	fi
   17871 
   17872 
   17873 
   17874 
   17875 
   17876 
   17877 
   17878 
   17879 
   17880 
   17881 
   17882 
   17883 
   17884 
   17885 
   17886 xorg_testset_save_CFLAGS="$CFLAGS"
   17887 
   17888 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17889 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17890 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17891 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17892 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17893 then :
   17894   printf %s "(cached) " >&6
   17895 else $as_nop
   17896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17897 /* end confdefs.h.  */
   17898 int i;
   17899 _ACEOF
   17900 if ac_fn_c_try_compile "$LINENO"
   17901 then :
   17902   xorg_cv_cc_flag_unknown_warning_option=yes
   17903 else $as_nop
   17904   xorg_cv_cc_flag_unknown_warning_option=no
   17905 fi
   17906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17907 fi
   17908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17909 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17911 	CFLAGS="$xorg_testset_save_CFLAGS"
   17912 fi
   17913 
   17914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17917 	fi
   17918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17919 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17920 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17921 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17922 then :
   17923   printf %s "(cached) " >&6
   17924 else $as_nop
   17925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17926 /* end confdefs.h.  */
   17927 int i;
   17928 _ACEOF
   17929 if ac_fn_c_try_compile "$LINENO"
   17930 then :
   17931   xorg_cv_cc_flag_unused_command_line_argument=yes
   17932 else $as_nop
   17933   xorg_cv_cc_flag_unused_command_line_argument=no
   17934 fi
   17935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17936 fi
   17937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17938 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17939 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17940 	CFLAGS="$xorg_testset_save_CFLAGS"
   17941 fi
   17942 
   17943 found="no"
   17944 
   17945 	if test $found = "no" ; then
   17946 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17947 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17948 		fi
   17949 
   17950 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17951 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17952 		fi
   17953 
   17954 		CFLAGS="$CFLAGS -Wreturn-type"
   17955 
   17956 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17957 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17958 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17959 		if eval test \${$cacheid+y}
   17960 then :
   17961   printf %s "(cached) " >&6
   17962 else $as_nop
   17963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17964 /* end confdefs.h.  */
   17965 int i;
   17966 int
   17967 main (void)
   17968 {
   17969 
   17970   ;
   17971   return 0;
   17972 }
   17973 _ACEOF
   17974 if ac_fn_c_try_link "$LINENO"
   17975 then :
   17976   eval $cacheid=yes
   17977 else $as_nop
   17978   eval $cacheid=no
   17979 fi
   17980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17981     conftest$ac_exeext conftest.$ac_ext
   17982 fi
   17983 
   17984 
   17985 		CFLAGS="$xorg_testset_save_CFLAGS"
   17986 
   17987 		eval supported=\$$cacheid
   17988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17989 printf "%s\n" "$supported" >&6; }
   17990 		if test "$supported" = "yes" ; then
   17991 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17992 			found="yes"
   17993 		fi
   17994 	fi
   17995 
   17996 
   17997 
   17998 
   17999 
   18000 
   18001 
   18002 
   18003 
   18004 
   18005 
   18006 
   18007 
   18008 
   18009 
   18010 xorg_testset_save_CFLAGS="$CFLAGS"
   18011 
   18012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18014 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18015 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18016 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18017 then :
   18018   printf %s "(cached) " >&6
   18019 else $as_nop
   18020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18021 /* end confdefs.h.  */
   18022 int i;
   18023 _ACEOF
   18024 if ac_fn_c_try_compile "$LINENO"
   18025 then :
   18026   xorg_cv_cc_flag_unknown_warning_option=yes
   18027 else $as_nop
   18028   xorg_cv_cc_flag_unknown_warning_option=no
   18029 fi
   18030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18031 fi
   18032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18033 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18034 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18035 	CFLAGS="$xorg_testset_save_CFLAGS"
   18036 fi
   18037 
   18038 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18039 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18040 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18041 	fi
   18042 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18043 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18044 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18045 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18046 then :
   18047   printf %s "(cached) " >&6
   18048 else $as_nop
   18049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18050 /* end confdefs.h.  */
   18051 int i;
   18052 _ACEOF
   18053 if ac_fn_c_try_compile "$LINENO"
   18054 then :
   18055   xorg_cv_cc_flag_unused_command_line_argument=yes
   18056 else $as_nop
   18057   xorg_cv_cc_flag_unused_command_line_argument=no
   18058 fi
   18059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18060 fi
   18061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18062 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18063 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18064 	CFLAGS="$xorg_testset_save_CFLAGS"
   18065 fi
   18066 
   18067 found="no"
   18068 
   18069 	if test $found = "no" ; then
   18070 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18071 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18072 		fi
   18073 
   18074 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18075 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18076 		fi
   18077 
   18078 		CFLAGS="$CFLAGS -Wtrigraphs"
   18079 
   18080 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   18081 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   18082 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   18083 		if eval test \${$cacheid+y}
   18084 then :
   18085   printf %s "(cached) " >&6
   18086 else $as_nop
   18087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18088 /* end confdefs.h.  */
   18089 int i;
   18090 int
   18091 main (void)
   18092 {
   18093 
   18094   ;
   18095   return 0;
   18096 }
   18097 _ACEOF
   18098 if ac_fn_c_try_link "$LINENO"
   18099 then :
   18100   eval $cacheid=yes
   18101 else $as_nop
   18102   eval $cacheid=no
   18103 fi
   18104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18105     conftest$ac_exeext conftest.$ac_ext
   18106 fi
   18107 
   18108 
   18109 		CFLAGS="$xorg_testset_save_CFLAGS"
   18110 
   18111 		eval supported=\$$cacheid
   18112 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18113 printf "%s\n" "$supported" >&6; }
   18114 		if test "$supported" = "yes" ; then
   18115 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18116 			found="yes"
   18117 		fi
   18118 	fi
   18119 
   18120 
   18121 
   18122 
   18123 
   18124 
   18125 
   18126 
   18127 
   18128 
   18129 
   18130 
   18131 
   18132 
   18133 
   18134 xorg_testset_save_CFLAGS="$CFLAGS"
   18135 
   18136 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18137 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18138 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18139 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18140 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18141 then :
   18142   printf %s "(cached) " >&6
   18143 else $as_nop
   18144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18145 /* end confdefs.h.  */
   18146 int i;
   18147 _ACEOF
   18148 if ac_fn_c_try_compile "$LINENO"
   18149 then :
   18150   xorg_cv_cc_flag_unknown_warning_option=yes
   18151 else $as_nop
   18152   xorg_cv_cc_flag_unknown_warning_option=no
   18153 fi
   18154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18155 fi
   18156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18157 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18158 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18159 	CFLAGS="$xorg_testset_save_CFLAGS"
   18160 fi
   18161 
   18162 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18163 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18164 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18165 	fi
   18166 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18167 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18168 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18169 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18170 then :
   18171   printf %s "(cached) " >&6
   18172 else $as_nop
   18173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18174 /* end confdefs.h.  */
   18175 int i;
   18176 _ACEOF
   18177 if ac_fn_c_try_compile "$LINENO"
   18178 then :
   18179   xorg_cv_cc_flag_unused_command_line_argument=yes
   18180 else $as_nop
   18181   xorg_cv_cc_flag_unused_command_line_argument=no
   18182 fi
   18183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18184 fi
   18185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18186 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18187 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18188 	CFLAGS="$xorg_testset_save_CFLAGS"
   18189 fi
   18190 
   18191 found="no"
   18192 
   18193 	if test $found = "no" ; then
   18194 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18195 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18196 		fi
   18197 
   18198 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18199 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18200 		fi
   18201 
   18202 		CFLAGS="$CFLAGS -Warray-bounds"
   18203 
   18204 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18205 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18206 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18207 		if eval test \${$cacheid+y}
   18208 then :
   18209   printf %s "(cached) " >&6
   18210 else $as_nop
   18211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18212 /* end confdefs.h.  */
   18213 int i;
   18214 int
   18215 main (void)
   18216 {
   18217 
   18218   ;
   18219   return 0;
   18220 }
   18221 _ACEOF
   18222 if ac_fn_c_try_link "$LINENO"
   18223 then :
   18224   eval $cacheid=yes
   18225 else $as_nop
   18226   eval $cacheid=no
   18227 fi
   18228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18229     conftest$ac_exeext conftest.$ac_ext
   18230 fi
   18231 
   18232 
   18233 		CFLAGS="$xorg_testset_save_CFLAGS"
   18234 
   18235 		eval supported=\$$cacheid
   18236 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18237 printf "%s\n" "$supported" >&6; }
   18238 		if test "$supported" = "yes" ; then
   18239 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18240 			found="yes"
   18241 		fi
   18242 	fi
   18243 
   18244 
   18245 
   18246 
   18247 
   18248 
   18249 
   18250 
   18251 
   18252 
   18253 
   18254 
   18255 
   18256 
   18257 
   18258 xorg_testset_save_CFLAGS="$CFLAGS"
   18259 
   18260 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18261 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18262 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18263 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18264 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18265 then :
   18266   printf %s "(cached) " >&6
   18267 else $as_nop
   18268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18269 /* end confdefs.h.  */
   18270 int i;
   18271 _ACEOF
   18272 if ac_fn_c_try_compile "$LINENO"
   18273 then :
   18274   xorg_cv_cc_flag_unknown_warning_option=yes
   18275 else $as_nop
   18276   xorg_cv_cc_flag_unknown_warning_option=no
   18277 fi
   18278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18279 fi
   18280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18281 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18282 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18283 	CFLAGS="$xorg_testset_save_CFLAGS"
   18284 fi
   18285 
   18286 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18287 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18288 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18289 	fi
   18290 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18291 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18292 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18293 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18294 then :
   18295   printf %s "(cached) " >&6
   18296 else $as_nop
   18297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18298 /* end confdefs.h.  */
   18299 int i;
   18300 _ACEOF
   18301 if ac_fn_c_try_compile "$LINENO"
   18302 then :
   18303   xorg_cv_cc_flag_unused_command_line_argument=yes
   18304 else $as_nop
   18305   xorg_cv_cc_flag_unused_command_line_argument=no
   18306 fi
   18307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18308 fi
   18309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18310 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18311 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18312 	CFLAGS="$xorg_testset_save_CFLAGS"
   18313 fi
   18314 
   18315 found="no"
   18316 
   18317 	if test $found = "no" ; then
   18318 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18320 		fi
   18321 
   18322 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18324 		fi
   18325 
   18326 		CFLAGS="$CFLAGS -Wwrite-strings"
   18327 
   18328 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18329 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18330 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18331 		if eval test \${$cacheid+y}
   18332 then :
   18333   printf %s "(cached) " >&6
   18334 else $as_nop
   18335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18336 /* end confdefs.h.  */
   18337 int i;
   18338 int
   18339 main (void)
   18340 {
   18341 
   18342   ;
   18343   return 0;
   18344 }
   18345 _ACEOF
   18346 if ac_fn_c_try_link "$LINENO"
   18347 then :
   18348   eval $cacheid=yes
   18349 else $as_nop
   18350   eval $cacheid=no
   18351 fi
   18352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18353     conftest$ac_exeext conftest.$ac_ext
   18354 fi
   18355 
   18356 
   18357 		CFLAGS="$xorg_testset_save_CFLAGS"
   18358 
   18359 		eval supported=\$$cacheid
   18360 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18361 printf "%s\n" "$supported" >&6; }
   18362 		if test "$supported" = "yes" ; then
   18363 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18364 			found="yes"
   18365 		fi
   18366 	fi
   18367 
   18368 
   18369 
   18370 
   18371 
   18372 
   18373 
   18374 
   18375 
   18376 
   18377 
   18378 
   18379 
   18380 
   18381 
   18382 xorg_testset_save_CFLAGS="$CFLAGS"
   18383 
   18384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18386 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18387 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18388 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18389 then :
   18390   printf %s "(cached) " >&6
   18391 else $as_nop
   18392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18393 /* end confdefs.h.  */
   18394 int i;
   18395 _ACEOF
   18396 if ac_fn_c_try_compile "$LINENO"
   18397 then :
   18398   xorg_cv_cc_flag_unknown_warning_option=yes
   18399 else $as_nop
   18400   xorg_cv_cc_flag_unknown_warning_option=no
   18401 fi
   18402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18403 fi
   18404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18405 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18406 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18407 	CFLAGS="$xorg_testset_save_CFLAGS"
   18408 fi
   18409 
   18410 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18411 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18413 	fi
   18414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18415 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18416 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18417 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18418 then :
   18419   printf %s "(cached) " >&6
   18420 else $as_nop
   18421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18422 /* end confdefs.h.  */
   18423 int i;
   18424 _ACEOF
   18425 if ac_fn_c_try_compile "$LINENO"
   18426 then :
   18427   xorg_cv_cc_flag_unused_command_line_argument=yes
   18428 else $as_nop
   18429   xorg_cv_cc_flag_unused_command_line_argument=no
   18430 fi
   18431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18432 fi
   18433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18434 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18435 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18436 	CFLAGS="$xorg_testset_save_CFLAGS"
   18437 fi
   18438 
   18439 found="no"
   18440 
   18441 	if test $found = "no" ; then
   18442 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18443 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18444 		fi
   18445 
   18446 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18447 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18448 		fi
   18449 
   18450 		CFLAGS="$CFLAGS -Waddress"
   18451 
   18452 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18453 printf %s "checking if $CC supports -Waddress... " >&6; }
   18454 		cacheid=xorg_cv_cc_flag__Waddress
   18455 		if eval test \${$cacheid+y}
   18456 then :
   18457   printf %s "(cached) " >&6
   18458 else $as_nop
   18459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18460 /* end confdefs.h.  */
   18461 int i;
   18462 int
   18463 main (void)
   18464 {
   18465 
   18466   ;
   18467   return 0;
   18468 }
   18469 _ACEOF
   18470 if ac_fn_c_try_link "$LINENO"
   18471 then :
   18472   eval $cacheid=yes
   18473 else $as_nop
   18474   eval $cacheid=no
   18475 fi
   18476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18477     conftest$ac_exeext conftest.$ac_ext
   18478 fi
   18479 
   18480 
   18481 		CFLAGS="$xorg_testset_save_CFLAGS"
   18482 
   18483 		eval supported=\$$cacheid
   18484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18485 printf "%s\n" "$supported" >&6; }
   18486 		if test "$supported" = "yes" ; then
   18487 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18488 			found="yes"
   18489 		fi
   18490 	fi
   18491 
   18492 
   18493 
   18494 
   18495 
   18496 
   18497 
   18498 
   18499 
   18500 
   18501 
   18502 
   18503 
   18504 
   18505 
   18506 xorg_testset_save_CFLAGS="$CFLAGS"
   18507 
   18508 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18509 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18510 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18511 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18512 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18513 then :
   18514   printf %s "(cached) " >&6
   18515 else $as_nop
   18516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18517 /* end confdefs.h.  */
   18518 int i;
   18519 _ACEOF
   18520 if ac_fn_c_try_compile "$LINENO"
   18521 then :
   18522   xorg_cv_cc_flag_unknown_warning_option=yes
   18523 else $as_nop
   18524   xorg_cv_cc_flag_unknown_warning_option=no
   18525 fi
   18526 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18527 fi
   18528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18529 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18530 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18531 	CFLAGS="$xorg_testset_save_CFLAGS"
   18532 fi
   18533 
   18534 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18535 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18536 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18537 	fi
   18538 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18539 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18540 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18541 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18542 then :
   18543   printf %s "(cached) " >&6
   18544 else $as_nop
   18545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18546 /* end confdefs.h.  */
   18547 int i;
   18548 _ACEOF
   18549 if ac_fn_c_try_compile "$LINENO"
   18550 then :
   18551   xorg_cv_cc_flag_unused_command_line_argument=yes
   18552 else $as_nop
   18553   xorg_cv_cc_flag_unused_command_line_argument=no
   18554 fi
   18555 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18556 fi
   18557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18558 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18559 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18560 	CFLAGS="$xorg_testset_save_CFLAGS"
   18561 fi
   18562 
   18563 found="no"
   18564 
   18565 	if test $found = "no" ; then
   18566 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18567 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18568 		fi
   18569 
   18570 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18571 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18572 		fi
   18573 
   18574 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18575 
   18576 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18577 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18578 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18579 		if eval test \${$cacheid+y}
   18580 then :
   18581   printf %s "(cached) " >&6
   18582 else $as_nop
   18583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18584 /* end confdefs.h.  */
   18585 int i;
   18586 int
   18587 main (void)
   18588 {
   18589 
   18590   ;
   18591   return 0;
   18592 }
   18593 _ACEOF
   18594 if ac_fn_c_try_link "$LINENO"
   18595 then :
   18596   eval $cacheid=yes
   18597 else $as_nop
   18598   eval $cacheid=no
   18599 fi
   18600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18601     conftest$ac_exeext conftest.$ac_ext
   18602 fi
   18603 
   18604 
   18605 		CFLAGS="$xorg_testset_save_CFLAGS"
   18606 
   18607 		eval supported=\$$cacheid
   18608 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18609 printf "%s\n" "$supported" >&6; }
   18610 		if test "$supported" = "yes" ; then
   18611 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18612 			found="yes"
   18613 		fi
   18614 	fi
   18615 
   18616 
   18617 
   18618 
   18619 
   18620 
   18621 
   18622 
   18623 
   18624 
   18625 
   18626 
   18627 
   18628 
   18629 
   18630 xorg_testset_save_CFLAGS="$CFLAGS"
   18631 
   18632 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18633 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18634 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18635 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18636 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18637 then :
   18638   printf %s "(cached) " >&6
   18639 else $as_nop
   18640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18641 /* end confdefs.h.  */
   18642 int i;
   18643 _ACEOF
   18644 if ac_fn_c_try_compile "$LINENO"
   18645 then :
   18646   xorg_cv_cc_flag_unknown_warning_option=yes
   18647 else $as_nop
   18648   xorg_cv_cc_flag_unknown_warning_option=no
   18649 fi
   18650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18651 fi
   18652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18653 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18654 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18655 	CFLAGS="$xorg_testset_save_CFLAGS"
   18656 fi
   18657 
   18658 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18659 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18660 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18661 	fi
   18662 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18663 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18664 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18665 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18666 then :
   18667   printf %s "(cached) " >&6
   18668 else $as_nop
   18669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18670 /* end confdefs.h.  */
   18671 int i;
   18672 _ACEOF
   18673 if ac_fn_c_try_compile "$LINENO"
   18674 then :
   18675   xorg_cv_cc_flag_unused_command_line_argument=yes
   18676 else $as_nop
   18677   xorg_cv_cc_flag_unused_command_line_argument=no
   18678 fi
   18679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18680 fi
   18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18682 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18683 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18684 	CFLAGS="$xorg_testset_save_CFLAGS"
   18685 fi
   18686 
   18687 found="no"
   18688 
   18689 	if test $found = "no" ; then
   18690 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18691 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18692 		fi
   18693 
   18694 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18695 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18696 		fi
   18697 
   18698 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18699 
   18700 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18701 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18702 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18703 		if eval test \${$cacheid+y}
   18704 then :
   18705   printf %s "(cached) " >&6
   18706 else $as_nop
   18707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18708 /* end confdefs.h.  */
   18709 int i;
   18710 int
   18711 main (void)
   18712 {
   18713 
   18714   ;
   18715   return 0;
   18716 }
   18717 _ACEOF
   18718 if ac_fn_c_try_link "$LINENO"
   18719 then :
   18720   eval $cacheid=yes
   18721 else $as_nop
   18722   eval $cacheid=no
   18723 fi
   18724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18725     conftest$ac_exeext conftest.$ac_ext
   18726 fi
   18727 
   18728 
   18729 		CFLAGS="$xorg_testset_save_CFLAGS"
   18730 
   18731 		eval supported=\$$cacheid
   18732 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18733 printf "%s\n" "$supported" >&6; }
   18734 		if test "$supported" = "yes" ; then
   18735 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18736 			found="yes"
   18737 		fi
   18738 	fi
   18739 
   18740 
   18741 fi
   18742 
   18743 
   18744 
   18745 
   18746 
   18747 
   18748 
   18749 		CWARNFLAGS="$BASE_CFLAGS"
   18750 		if  test "x$GCC" = xyes ; then
   18751 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18752 		fi
   18753 
   18754 
   18755 
   18756 
   18757 
   18758 
   18759 
   18760 
   18761 # Check whether --enable-strict-compilation was given.
   18762 if test ${enable_strict_compilation+y}
   18763 then :
   18764   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18765 else $as_nop
   18766   STRICT_COMPILE=no
   18767 fi
   18768 
   18769 
   18770 
   18771 
   18772 
   18773 
   18774 STRICT_CFLAGS=""
   18775 
   18776 
   18777 
   18778 
   18779 
   18780 
   18781 
   18782 
   18783 
   18784 
   18785 
   18786 
   18787 
   18788 xorg_testset_save_CFLAGS="$CFLAGS"
   18789 
   18790 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18791 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18792 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18793 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18794 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18795 then :
   18796   printf %s "(cached) " >&6
   18797 else $as_nop
   18798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18799 /* end confdefs.h.  */
   18800 int i;
   18801 _ACEOF
   18802 if ac_fn_c_try_compile "$LINENO"
   18803 then :
   18804   xorg_cv_cc_flag_unknown_warning_option=yes
   18805 else $as_nop
   18806   xorg_cv_cc_flag_unknown_warning_option=no
   18807 fi
   18808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18809 fi
   18810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18811 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18812 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18813 	CFLAGS="$xorg_testset_save_CFLAGS"
   18814 fi
   18815 
   18816 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18817 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18818 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18819 	fi
   18820 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18821 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18822 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18823 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18824 then :
   18825   printf %s "(cached) " >&6
   18826 else $as_nop
   18827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18828 /* end confdefs.h.  */
   18829 int i;
   18830 _ACEOF
   18831 if ac_fn_c_try_compile "$LINENO"
   18832 then :
   18833   xorg_cv_cc_flag_unused_command_line_argument=yes
   18834 else $as_nop
   18835   xorg_cv_cc_flag_unused_command_line_argument=no
   18836 fi
   18837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18838 fi
   18839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18840 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18842 	CFLAGS="$xorg_testset_save_CFLAGS"
   18843 fi
   18844 
   18845 found="no"
   18846 
   18847 	if test $found = "no" ; then
   18848 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18850 		fi
   18851 
   18852 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18854 		fi
   18855 
   18856 		CFLAGS="$CFLAGS -pedantic"
   18857 
   18858 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18859 printf %s "checking if $CC supports -pedantic... " >&6; }
   18860 		cacheid=xorg_cv_cc_flag__pedantic
   18861 		if eval test \${$cacheid+y}
   18862 then :
   18863   printf %s "(cached) " >&6
   18864 else $as_nop
   18865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18866 /* end confdefs.h.  */
   18867 int i;
   18868 int
   18869 main (void)
   18870 {
   18871 
   18872   ;
   18873   return 0;
   18874 }
   18875 _ACEOF
   18876 if ac_fn_c_try_link "$LINENO"
   18877 then :
   18878   eval $cacheid=yes
   18879 else $as_nop
   18880   eval $cacheid=no
   18881 fi
   18882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18883     conftest$ac_exeext conftest.$ac_ext
   18884 fi
   18885 
   18886 
   18887 		CFLAGS="$xorg_testset_save_CFLAGS"
   18888 
   18889 		eval supported=\$$cacheid
   18890 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18891 printf "%s\n" "$supported" >&6; }
   18892 		if test "$supported" = "yes" ; then
   18893 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18894 			found="yes"
   18895 		fi
   18896 	fi
   18897 
   18898 
   18899 
   18900 
   18901 
   18902 
   18903 
   18904 
   18905 
   18906 
   18907 
   18908 
   18909 
   18910 
   18911 
   18912 xorg_testset_save_CFLAGS="$CFLAGS"
   18913 
   18914 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18915 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18916 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18917 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18918 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18919 then :
   18920   printf %s "(cached) " >&6
   18921 else $as_nop
   18922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18923 /* end confdefs.h.  */
   18924 int i;
   18925 _ACEOF
   18926 if ac_fn_c_try_compile "$LINENO"
   18927 then :
   18928   xorg_cv_cc_flag_unknown_warning_option=yes
   18929 else $as_nop
   18930   xorg_cv_cc_flag_unknown_warning_option=no
   18931 fi
   18932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18933 fi
   18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18935 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18936 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18937 	CFLAGS="$xorg_testset_save_CFLAGS"
   18938 fi
   18939 
   18940 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18941 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18943 	fi
   18944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18945 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18946 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18947 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18948 then :
   18949   printf %s "(cached) " >&6
   18950 else $as_nop
   18951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18952 /* end confdefs.h.  */
   18953 int i;
   18954 _ACEOF
   18955 if ac_fn_c_try_compile "$LINENO"
   18956 then :
   18957   xorg_cv_cc_flag_unused_command_line_argument=yes
   18958 else $as_nop
   18959   xorg_cv_cc_flag_unused_command_line_argument=no
   18960 fi
   18961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18962 fi
   18963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18964 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18965 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18966 	CFLAGS="$xorg_testset_save_CFLAGS"
   18967 fi
   18968 
   18969 found="no"
   18970 
   18971 	if test $found = "no" ; then
   18972 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18974 		fi
   18975 
   18976 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18978 		fi
   18979 
   18980 		CFLAGS="$CFLAGS -Werror"
   18981 
   18982 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18983 printf %s "checking if $CC supports -Werror... " >&6; }
   18984 		cacheid=xorg_cv_cc_flag__Werror
   18985 		if eval test \${$cacheid+y}
   18986 then :
   18987   printf %s "(cached) " >&6
   18988 else $as_nop
   18989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18990 /* end confdefs.h.  */
   18991 int i;
   18992 int
   18993 main (void)
   18994 {
   18995 
   18996   ;
   18997   return 0;
   18998 }
   18999 _ACEOF
   19000 if ac_fn_c_try_link "$LINENO"
   19001 then :
   19002   eval $cacheid=yes
   19003 else $as_nop
   19004   eval $cacheid=no
   19005 fi
   19006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19007     conftest$ac_exeext conftest.$ac_ext
   19008 fi
   19009 
   19010 
   19011 		CFLAGS="$xorg_testset_save_CFLAGS"
   19012 
   19013 		eval supported=\$$cacheid
   19014 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19015 printf "%s\n" "$supported" >&6; }
   19016 		if test "$supported" = "yes" ; then
   19017 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   19018 			found="yes"
   19019 		fi
   19020 	fi
   19021 
   19022 	if test $found = "no" ; then
   19023 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19025 		fi
   19026 
   19027 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19029 		fi
   19030 
   19031 		CFLAGS="$CFLAGS -errwarn"
   19032 
   19033 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   19034 printf %s "checking if $CC supports -errwarn... " >&6; }
   19035 		cacheid=xorg_cv_cc_flag__errwarn
   19036 		if eval test \${$cacheid+y}
   19037 then :
   19038   printf %s "(cached) " >&6
   19039 else $as_nop
   19040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19041 /* end confdefs.h.  */
   19042 int i;
   19043 int
   19044 main (void)
   19045 {
   19046 
   19047   ;
   19048   return 0;
   19049 }
   19050 _ACEOF
   19051 if ac_fn_c_try_link "$LINENO"
   19052 then :
   19053   eval $cacheid=yes
   19054 else $as_nop
   19055   eval $cacheid=no
   19056 fi
   19057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19058     conftest$ac_exeext conftest.$ac_ext
   19059 fi
   19060 
   19061 
   19062 		CFLAGS="$xorg_testset_save_CFLAGS"
   19063 
   19064 		eval supported=\$$cacheid
   19065 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19066 printf "%s\n" "$supported" >&6; }
   19067 		if test "$supported" = "yes" ; then
   19068 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   19069 			found="yes"
   19070 		fi
   19071 	fi
   19072 
   19073 
   19074 
   19075 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   19076 # activate it with -Werror, so we add it here explicitly.
   19077 
   19078 
   19079 
   19080 
   19081 
   19082 
   19083 
   19084 
   19085 
   19086 
   19087 
   19088 
   19089 
   19090 xorg_testset_save_CFLAGS="$CFLAGS"
   19091 
   19092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19095 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19096 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19097 then :
   19098   printf %s "(cached) " >&6
   19099 else $as_nop
   19100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19101 /* end confdefs.h.  */
   19102 int i;
   19103 _ACEOF
   19104 if ac_fn_c_try_compile "$LINENO"
   19105 then :
   19106   xorg_cv_cc_flag_unknown_warning_option=yes
   19107 else $as_nop
   19108   xorg_cv_cc_flag_unknown_warning_option=no
   19109 fi
   19110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19111 fi
   19112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19113 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19115 	CFLAGS="$xorg_testset_save_CFLAGS"
   19116 fi
   19117 
   19118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19121 	fi
   19122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19123 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19124 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19125 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19126 then :
   19127   printf %s "(cached) " >&6
   19128 else $as_nop
   19129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19130 /* end confdefs.h.  */
   19131 int i;
   19132 _ACEOF
   19133 if ac_fn_c_try_compile "$LINENO"
   19134 then :
   19135   xorg_cv_cc_flag_unused_command_line_argument=yes
   19136 else $as_nop
   19137   xorg_cv_cc_flag_unused_command_line_argument=no
   19138 fi
   19139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19140 fi
   19141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19142 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19144 	CFLAGS="$xorg_testset_save_CFLAGS"
   19145 fi
   19146 
   19147 found="no"
   19148 
   19149 	if test $found = "no" ; then
   19150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19152 		fi
   19153 
   19154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19156 		fi
   19157 
   19158 		CFLAGS="$CFLAGS -Werror=attributes"
   19159 
   19160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19161 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19162 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19163 		if eval test \${$cacheid+y}
   19164 then :
   19165   printf %s "(cached) " >&6
   19166 else $as_nop
   19167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19168 /* end confdefs.h.  */
   19169 int i;
   19170 int
   19171 main (void)
   19172 {
   19173 
   19174   ;
   19175   return 0;
   19176 }
   19177 _ACEOF
   19178 if ac_fn_c_try_link "$LINENO"
   19179 then :
   19180   eval $cacheid=yes
   19181 else $as_nop
   19182   eval $cacheid=no
   19183 fi
   19184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19185     conftest$ac_exeext conftest.$ac_ext
   19186 fi
   19187 
   19188 
   19189 		CFLAGS="$xorg_testset_save_CFLAGS"
   19190 
   19191 		eval supported=\$$cacheid
   19192 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19193 printf "%s\n" "$supported" >&6; }
   19194 		if test "$supported" = "yes" ; then
   19195 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19196 			found="yes"
   19197 		fi
   19198 	fi
   19199 
   19200 
   19201 
   19202 if test "x$STRICT_COMPILE" = "xyes"; then
   19203     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19204     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19205 fi
   19206 
   19207 
   19208 
   19209 
   19210 
   19211 
   19212 cat >>confdefs.h <<_ACEOF
   19213 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19214 _ACEOF
   19215 
   19216 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19217 	if test "x$PVM" = "x"; then
   19218 		PVM="0"
   19219 	fi
   19220 
   19221 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19222 
   19223 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19224 	if test "x$PVP" = "x"; then
   19225 		PVP="0"
   19226 	fi
   19227 
   19228 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19229 
   19230 
   19231 
   19232 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19233 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19234 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19235 touch \$(top_srcdir)/ChangeLog; \
   19236 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19237 
   19238 
   19239 
   19240 
   19241 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19242 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19243 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19244 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19245 touch \$(top_srcdir)/INSTALL; \
   19246 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19247 
   19248 
   19249 
   19250 
   19251 
   19252 
   19253 case $host_os in
   19254     solaris*)
   19255         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19256         # check for a man page file found in later versions that use
   19257         # traditional section numbers instead
   19258         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19259 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19260 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19261 then :
   19262   printf %s "(cached) " >&6
   19263 else $as_nop
   19264   test "$cross_compiling" = yes &&
   19265   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19266 if test -r "/usr/share/man/man7/attributes.7"; then
   19267   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19268 else
   19269   ac_cv_file__usr_share_man_man7_attributes_7=no
   19270 fi
   19271 fi
   19272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19273 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19274 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19275 then :
   19276   SYSV_MAN_SECTIONS=false
   19277 else $as_nop
   19278   SYSV_MAN_SECTIONS=true
   19279 fi
   19280 
   19281         ;;
   19282     *) SYSV_MAN_SECTIONS=false ;;
   19283 esac
   19284 
   19285 if test x$APP_MAN_SUFFIX = x    ; then
   19286     APP_MAN_SUFFIX=1
   19287 fi
   19288 if test x$APP_MAN_DIR = x    ; then
   19289     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19290 fi
   19291 
   19292 if test x$LIB_MAN_SUFFIX = x    ; then
   19293     LIB_MAN_SUFFIX=3
   19294 fi
   19295 if test x$LIB_MAN_DIR = x    ; then
   19296     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19297 fi
   19298 
   19299 if test x$FILE_MAN_SUFFIX = x    ; then
   19300     case $SYSV_MAN_SECTIONS in
   19301 	true)				FILE_MAN_SUFFIX=4  ;;
   19302 	*)				FILE_MAN_SUFFIX=5  ;;
   19303     esac
   19304 fi
   19305 if test x$FILE_MAN_DIR = x    ; then
   19306     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19307 fi
   19308 
   19309 if test x$MISC_MAN_SUFFIX = x    ; then
   19310     case $SYSV_MAN_SECTIONS in
   19311 	true)				MISC_MAN_SUFFIX=5  ;;
   19312 	*)				MISC_MAN_SUFFIX=7  ;;
   19313     esac
   19314 fi
   19315 if test x$MISC_MAN_DIR = x    ; then
   19316     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19317 fi
   19318 
   19319 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19320     case $SYSV_MAN_SECTIONS in
   19321 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19322 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19323     esac
   19324 fi
   19325 if test x$DRIVER_MAN_DIR = x    ; then
   19326     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19327 fi
   19328 
   19329 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19330     case $SYSV_MAN_SECTIONS in
   19331 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19332 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19333     esac
   19334 fi
   19335 if test x$ADMIN_MAN_DIR = x    ; then
   19336     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19337 fi
   19338 
   19339 
   19340 
   19341 
   19342 
   19343 
   19344 
   19345 
   19346 
   19347 
   19348 
   19349 
   19350 
   19351 
   19352 
   19353 XORG_MAN_PAGE="X Version 11"
   19354 
   19355 MAN_SUBSTS="\
   19356 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19357 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19358 	-e 's|__xservername__|Xorg|g' \
   19359 	-e 's|__xconfigfile__|xorg.conf|g' \
   19360 	-e 's|__projectroot__|\$(prefix)|g' \
   19361 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19362 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19363 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19364 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19365 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19366 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19367 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19368 
   19369 
   19370 
   19371 # Check whether --enable-silent-rules was given.
   19372 if test ${enable_silent_rules+y}
   19373 then :
   19374   enableval=$enable_silent_rules;
   19375 fi
   19376 
   19377 case $enable_silent_rules in # (((
   19378   yes) AM_DEFAULT_VERBOSITY=0;;
   19379    no) AM_DEFAULT_VERBOSITY=1;;
   19380     *) AM_DEFAULT_VERBOSITY=0;;
   19381 esac
   19382 am_make=${MAKE-make}
   19383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19384 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19385 if test ${am_cv_make_support_nested_variables+y}
   19386 then :
   19387   printf %s "(cached) " >&6
   19388 else $as_nop
   19389   if printf "%s\n" 'TRUE=$(BAR$(V))
   19390 BAR0=false
   19391 BAR1=true
   19392 V=1
   19393 am__doit:
   19394 	@$(TRUE)
   19395 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19396   am_cv_make_support_nested_variables=yes
   19397 else
   19398   am_cv_make_support_nested_variables=no
   19399 fi
   19400 fi
   19401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19402 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19403 if test $am_cv_make_support_nested_variables = yes; then
   19404     AM_V='$(V)'
   19405   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19406 else
   19407   AM_V=$AM_DEFAULT_VERBOSITY
   19408   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19409 fi
   19410 AM_BACKSLASH='\'
   19411 
   19412 
   19413 
   19414 
   19415 
   19416 
   19417 
   19418 
   19419 # Check whether --with-lint was given.
   19420 if test ${with_lint+y}
   19421 then :
   19422   withval=$with_lint; use_lint=$withval
   19423 else $as_nop
   19424   use_lint=no
   19425 fi
   19426 
   19427 
   19428 # Obtain platform specific info like program name and options
   19429 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   19430 case $host_os in
   19431   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   19432 	lint_name=splint
   19433 	lint_options="-badflag"
   19434 	;;
   19435   *freebsd* | *netbsd*)
   19436 	lint_name=lint
   19437 	lint_options="-u -b"
   19438 	;;
   19439   *solaris*)
   19440 	lint_name=lint
   19441 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   19442 	;;
   19443 esac
   19444 
   19445 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   19446 if test "x$use_lint" = x"yes" ; then
   19447    # Extract the first word of "$lint_name", so it can be a program name with args.
   19448 set dummy $lint_name; ac_word=$2
   19449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19450 printf %s "checking for $ac_word... " >&6; }
   19451 if test ${ac_cv_path_LINT+y}
   19452 then :
   19453   printf %s "(cached) " >&6
   19454 else $as_nop
   19455   case $LINT in
   19456   [\\/]* | ?:[\\/]*)
   19457   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   19458   ;;
   19459   *)
   19460   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19461 for as_dir in $PATH
   19462 do
   19463   IFS=$as_save_IFS
   19464   case $as_dir in #(((
   19465     '') as_dir=./ ;;
   19466     */) ;;
   19467     *) as_dir=$as_dir/ ;;
   19468   esac
   19469     for ac_exec_ext in '' $ac_executable_extensions; do
   19470   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19471     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   19472     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19473     break 2
   19474   fi
   19475 done
   19476   done
   19477 IFS=$as_save_IFS
   19478 
   19479   ;;
   19480 esac
   19481 fi
   19482 LINT=$ac_cv_path_LINT
   19483 if test -n "$LINT"; then
   19484   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   19485 printf "%s\n" "$LINT" >&6; }
   19486 else
   19487   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19488 printf "%s\n" "no" >&6; }
   19489 fi
   19490 
   19491 
   19492    if test "x$LINT" = "x"; then
   19493         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   19494    fi
   19495 elif test "x$use_lint" = x"no" ; then
   19496    if test "x$LINT" != "x"; then
   19497       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   19498 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   19499    fi
   19500 else
   19501    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   19502 fi
   19503 
   19504 # User supplied flags override default flags
   19505 if test "x$LINT_FLAGS" != "x"; then
   19506    lint_options=$LINT_FLAGS
   19507 fi
   19508 
   19509 LINT_FLAGS=$lint_options
   19510 
   19511  if test "x$LINT" != x; then
   19512   LINT_TRUE=
   19513   LINT_FALSE='#'
   19514 else
   19515   LINT_TRUE='#'
   19516   LINT_FALSE=
   19517 fi
   19518 
   19519 
   19520 
   19521 LINT_FLAGS="${LINT_FLAGS} ${FONTENC_CFLAGS}"
   19522 
   19523 # Checks for typedefs, structures, and compiler characteristics.
   19524 # Check whether --enable-largefile was given.
   19525 if test ${enable_largefile+y}
   19526 then :
   19527   enableval=$enable_largefile;
   19528 fi
   19529 
   19530 if test "$enable_largefile" != no; then
   19531 
   19532   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   19533 printf %s "checking for special C compiler options needed for large files... " >&6; }
   19534 if test ${ac_cv_sys_largefile_CC+y}
   19535 then :
   19536   printf %s "(cached) " >&6
   19537 else $as_nop
   19538   ac_cv_sys_largefile_CC=no
   19539      if test "$GCC" != yes; then
   19540        ac_save_CC=$CC
   19541        while :; do
   19542 	 # IRIX 6.2 and later do not support large files by default,
   19543 	 # so use the C compiler's -n32 option if that helps.
   19544 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19545 /* end confdefs.h.  */
   19546 #include <sys/types.h>
   19547  /* Check that off_t can represent 2**63 - 1 correctly.
   19548     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   19549     since some C++ compilers masquerading as C compilers
   19550     incorrectly reject 9223372036854775807.  */
   19551 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   19552   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   19553 		       && LARGE_OFF_T % 2147483647 == 1)
   19554 		      ? 1 : -1];
   19555 int
   19556 main (void)
   19557 {
   19558 
   19559   ;
   19560   return 0;
   19561 }
   19562 _ACEOF
   19563 	 if ac_fn_c_try_compile "$LINENO"
   19564 then :
   19565   break
   19566 fi
   19567 rm -f core conftest.err conftest.$ac_objext conftest.beam
   19568 	 CC="$CC -n32"
   19569 	 if ac_fn_c_try_compile "$LINENO"
   19570 then :
   19571   ac_cv_sys_largefile_CC=' -n32'; break
   19572 fi
   19573 rm -f core conftest.err conftest.$ac_objext conftest.beam
   19574 	 break
   19575        done
   19576        CC=$ac_save_CC
   19577        rm -f conftest.$ac_ext
   19578     fi
   19579 fi
   19580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   19581 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
   19582   if test "$ac_cv_sys_largefile_CC" != no; then
   19583     CC=$CC$ac_cv_sys_largefile_CC
   19584   fi
   19585 
   19586   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   19587 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   19588 if test ${ac_cv_sys_file_offset_bits+y}
   19589 then :
   19590   printf %s "(cached) " >&6
   19591 else $as_nop
   19592   while :; do
   19593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19594 /* end confdefs.h.  */
   19595 #include <sys/types.h>
   19596  /* Check that off_t can represent 2**63 - 1 correctly.
   19597     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   19598     since some C++ compilers masquerading as C compilers
   19599     incorrectly reject 9223372036854775807.  */
   19600 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   19601   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   19602 		       && LARGE_OFF_T % 2147483647 == 1)
   19603 		      ? 1 : -1];
   19604 int
   19605 main (void)
   19606 {
   19607 
   19608   ;
   19609   return 0;
   19610 }
   19611 _ACEOF
   19612 if ac_fn_c_try_compile "$LINENO"
   19613 then :
   19614   ac_cv_sys_file_offset_bits=no; break
   19615 fi
   19616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19618 /* end confdefs.h.  */
   19619 #define _FILE_OFFSET_BITS 64
   19620 #include <sys/types.h>
   19621  /* Check that off_t can represent 2**63 - 1 correctly.
   19622     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   19623     since some C++ compilers masquerading as C compilers
   19624     incorrectly reject 9223372036854775807.  */
   19625 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   19626   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   19627 		       && LARGE_OFF_T % 2147483647 == 1)
   19628 		      ? 1 : -1];
   19629 int
   19630 main (void)
   19631 {
   19632 
   19633   ;
   19634   return 0;
   19635 }
   19636 _ACEOF
   19637 if ac_fn_c_try_compile "$LINENO"
   19638 then :
   19639   ac_cv_sys_file_offset_bits=64; break
   19640 fi
   19641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19642   ac_cv_sys_file_offset_bits=unknown
   19643   break
   19644 done
   19645 fi
   19646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   19647 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
   19648 case $ac_cv_sys_file_offset_bits in #(
   19649   no | unknown) ;;
   19650   *)
   19651 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
   19652 ;;
   19653 esac
   19654 rm -rf conftest*
   19655   if test $ac_cv_sys_file_offset_bits = unknown; then
   19656     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   19657 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
   19658 if test ${ac_cv_sys_large_files+y}
   19659 then :
   19660   printf %s "(cached) " >&6
   19661 else $as_nop
   19662   while :; do
   19663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19664 /* end confdefs.h.  */
   19665 #include <sys/types.h>
   19666  /* Check that off_t can represent 2**63 - 1 correctly.
   19667     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   19668     since some C++ compilers masquerading as C compilers
   19669     incorrectly reject 9223372036854775807.  */
   19670 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   19671   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   19672 		       && LARGE_OFF_T % 2147483647 == 1)
   19673 		      ? 1 : -1];
   19674 int
   19675 main (void)
   19676 {
   19677 
   19678   ;
   19679   return 0;
   19680 }
   19681 _ACEOF
   19682 if ac_fn_c_try_compile "$LINENO"
   19683 then :
   19684   ac_cv_sys_large_files=no; break
   19685 fi
   19686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19688 /* end confdefs.h.  */
   19689 #define _LARGE_FILES 1
   19690 #include <sys/types.h>
   19691  /* Check that off_t can represent 2**63 - 1 correctly.
   19692     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   19693     since some C++ compilers masquerading as C compilers
   19694     incorrectly reject 9223372036854775807.  */
   19695 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   19696   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   19697 		       && LARGE_OFF_T % 2147483647 == 1)
   19698 		      ? 1 : -1];
   19699 int
   19700 main (void)
   19701 {
   19702 
   19703   ;
   19704   return 0;
   19705 }
   19706 _ACEOF
   19707 if ac_fn_c_try_compile "$LINENO"
   19708 then :
   19709   ac_cv_sys_large_files=1; break
   19710 fi
   19711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19712   ac_cv_sys_large_files=unknown
   19713   break
   19714 done
   19715 fi
   19716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   19717 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
   19718 case $ac_cv_sys_large_files in #(
   19719   no | unknown) ;;
   19720   *)
   19721 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
   19722 ;;
   19723 esac
   19724 rm -rf conftest*
   19725   fi
   19726 fi
   19727 
   19728 
   19729 
   19730 # Check whether --enable-futex was given.
   19731 if test ${enable_futex+y}
   19732 then :
   19733   enableval=$enable_futex; FUTEX=$enableval
   19734 else $as_nop
   19735   FUTEX=auto
   19736 fi
   19737 
   19738 
   19739 if test "x$FUTEX" = "xauto"; then
   19740 	ac_fn_c_check_header_compile "$LINENO" "linux/futex.h" "ac_cv_header_linux_futex_h" "$ac_includes_default"
   19741 if test "x$ac_cv_header_linux_futex_h" = xyes
   19742 then :
   19743   FUTEX=yes
   19744 fi
   19745 
   19746 fi
   19747 
   19748 if test "x$FUTEX" = "xauto"; then
   19749 	ac_fn_c_check_header_compile "$LINENO" "sys/umtx.h" "ac_cv_header_sys_umtx_h" "#include <errno.h>
   19750 	     #include <sys/types.h>
   19751 "
   19752 if test "x$ac_cv_header_sys_umtx_h" = xyes
   19753 then :
   19754   FUTEX=yes
   19755 else $as_nop
   19756   FUTEX=no
   19757 fi
   19758 
   19759 	if test "x$FUTEX" = "xyes"; then
   19760 
   19761 printf "%s\n" "#define HAVE_UMTX 1" >>confdefs.h
   19762 
   19763 	fi
   19764 fi
   19765 
   19766 if test "x$FUTEX" = "xyes"; then
   19767 	PTHREAD=no
   19768 
   19769 printf "%s\n" "#define HAVE_FUTEX 1" >>confdefs.h
   19770 
   19771 else
   19772 	PTHREAD=yes
   19773 
   19774 printf "%s\n" "#define HAVE_PTHREAD 1" >>confdefs.h
   19775 
   19776 fi
   19777 
   19778 PTHREAD_LIBS=
   19779 if test "x$PTHREAD" = "xyes"; then
   19780 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
   19781 printf %s "checking for pthread_create in -lpthread... " >&6; }
   19782 if test ${ac_cv_lib_pthread_pthread_create+y}
   19783 then :
   19784   printf %s "(cached) " >&6
   19785 else $as_nop
   19786   ac_check_lib_save_LIBS=$LIBS
   19787 LIBS="-lpthread  $LIBS"
   19788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19789 /* end confdefs.h.  */
   19790 
   19791 /* Override any GCC internal prototype to avoid an error.
   19792    Use char because int might match the return type of a GCC
   19793    builtin and then its argument prototype would still apply.
   19794    The 'extern "C"' is for builds by C++ compilers;
   19795    although this is not generally supported in C code supporting it here
   19796    has little cost and some practical benefit (sr 110532).  */
   19797 #ifdef __cplusplus
   19798 extern "C"
   19799 #endif
   19800 char pthread_create (void);
   19801 int
   19802 main (void)
   19803 {
   19804 return pthread_create ();
   19805   ;
   19806   return 0;
   19807 }
   19808 _ACEOF
   19809 if ac_fn_c_try_link "$LINENO"
   19810 then :
   19811   ac_cv_lib_pthread_pthread_create=yes
   19812 else $as_nop
   19813   ac_cv_lib_pthread_pthread_create=no
   19814 fi
   19815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19816     conftest$ac_exeext conftest.$ac_ext
   19817 LIBS=$ac_check_lib_save_LIBS
   19818 fi
   19819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
   19820 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
   19821 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
   19822 then :
   19823   PTHREAD_LIBS=-lpthread
   19824 else $as_nop
   19825   PTHREAD_LIBS=
   19826 fi
   19827 
   19828 fi
   19829 
   19830 
   19831 
   19832  if test x"$FUTEX" = xyes; then
   19833   FUTEX_TRUE=
   19834   FUTEX_FALSE='#'
   19835 else
   19836   FUTEX_TRUE='#'
   19837   FUTEX_FALSE=
   19838 fi
   19839 
   19840  if test x"$PTHREAD" = xyes; then
   19841   PTHREAD_TRUE=
   19842   PTHREAD_FALSE='#'
   19843 else
   19844   PTHREAD_TRUE='#'
   19845   PTHREAD_FALSE=
   19846 fi
   19847 
   19848 
   19849 
   19850 pkg_failed=no
   19851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XPROTO" >&5
   19852 printf %s "checking for XPROTO... " >&6; }
   19853 
   19854 if test -n "$XPROTO_CFLAGS"; then
   19855     pkg_cv_XPROTO_CFLAGS="$XPROTO_CFLAGS"
   19856  elif test -n "$PKG_CONFIG"; then
   19857     if test -n "$PKG_CONFIG" && \
   19858     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   19859   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   19860   ac_status=$?
   19861   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19862   test $ac_status = 0; }; then
   19863   pkg_cv_XPROTO_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   19864 		      test "x$?" != "x0" && pkg_failed=yes
   19865 else
   19866   pkg_failed=yes
   19867 fi
   19868  else
   19869     pkg_failed=untried
   19870 fi
   19871 if test -n "$XPROTO_LIBS"; then
   19872     pkg_cv_XPROTO_LIBS="$XPROTO_LIBS"
   19873  elif test -n "$PKG_CONFIG"; then
   19874     if test -n "$PKG_CONFIG" && \
   19875     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   19876   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   19877   ac_status=$?
   19878   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19879   test $ac_status = 0; }; then
   19880   pkg_cv_XPROTO_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   19881 		      test "x$?" != "x0" && pkg_failed=yes
   19882 else
   19883   pkg_failed=yes
   19884 fi
   19885  else
   19886     pkg_failed=untried
   19887 fi
   19888 
   19889 
   19890 
   19891 if test $pkg_failed = yes; then
   19892    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19893 printf "%s\n" "no" >&6; }
   19894 
   19895 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19896         _pkg_short_errors_supported=yes
   19897 else
   19898         _pkg_short_errors_supported=no
   19899 fi
   19900         if test $_pkg_short_errors_supported = yes; then
   19901 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto" 2>&1`
   19902         else
   19903 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto" 2>&1`
   19904         fi
   19905 	# Put the nasty error message in config.log where it belongs
   19906 	echo "$XPROTO_PKG_ERRORS" >&5
   19907 
   19908 	as_fn_error $? "Package requirements (xproto) were not met:
   19909 
   19910 $XPROTO_PKG_ERRORS
   19911 
   19912 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19913 installed software in a non-standard prefix.
   19914 
   19915 Alternatively, you may set the environment variables XPROTO_CFLAGS
   19916 and XPROTO_LIBS to avoid the need to call pkg-config.
   19917 See the pkg-config man page for more details." "$LINENO" 5
   19918 elif test $pkg_failed = untried; then
   19919      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19920 printf "%s\n" "no" >&6; }
   19921 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19922 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19923 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19924 is in your PATH or set the PKG_CONFIG environment variable to the full
   19925 path to pkg-config.
   19926 
   19927 Alternatively, you may set the environment variables XPROTO_CFLAGS
   19928 and XPROTO_LIBS to avoid the need to call pkg-config.
   19929 See the pkg-config man page for more details.
   19930 
   19931 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19932 See \`config.log' for more details" "$LINENO" 5; }
   19933 else
   19934 	XPROTO_CFLAGS=$pkg_cv_XPROTO_CFLAGS
   19935 	XPROTO_LIBS=$pkg_cv_XPROTO_LIBS
   19936         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19937 printf "%s\n" "yes" >&6; }
   19938 
   19939 fi
   19940 
   19941 
   19942 
   19943 CFLAGS="$CFLAGS $XPROTO_CFLAGS"
   19944 
   19945 ac_fn_c_check_func "$LINENO" "memfd_create" "ac_cv_func_memfd_create"
   19946 if test "x$ac_cv_func_memfd_create" = xyes
   19947 then :
   19948   printf "%s\n" "#define HAVE_MEMFD_CREATE 1" >>confdefs.h
   19949 
   19950 fi
   19951 ac_fn_c_check_func "$LINENO" "mkostemp" "ac_cv_func_mkostemp"
   19952 if test "x$ac_cv_func_mkostemp" = xyes
   19953 then :
   19954   printf "%s\n" "#define HAVE_MKOSTEMP 1" >>confdefs.h
   19955 
   19956 fi
   19957 
   19958 
   19959 ac_fn_check_decl "$LINENO" "__NR_memfd_create" "ac_cv_have_decl___NR_memfd_create" "#include <asm/unistd.h>
   19960 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   19961 if test "x$ac_cv_have_decl___NR_memfd_create" = xyes
   19962 then :
   19963   ac_have_decl=1
   19964 else $as_nop
   19965   ac_have_decl=0
   19966 fi
   19967 printf "%s\n" "#define HAVE_DECL___NR_MEMFD_CREATE $ac_have_decl" >>confdefs.h
   19968 
   19969 
   19970        for ac_header in sys/memfd.h
   19971 do :
   19972   ac_fn_c_check_header_compile "$LINENO" "sys/memfd.h" "ac_cv_header_sys_memfd_h" "$ac_includes_default"
   19973 if test "x$ac_cv_header_sys_memfd_h" = xyes
   19974 then :
   19975   printf "%s\n" "#define HAVE_SYS_MEMFD_H 1" >>confdefs.h
   19976 
   19977 printf "%s\n" "#define HAVE_MEMFD_H 1" >>confdefs.h
   19978 
   19979 fi
   19980 
   19981 done
   19982 
   19983 # Check whether --enable-visibility was given.
   19984 if test ${enable_visibility+y}
   19985 then :
   19986   enableval=$enable_visibility; SYMBOL_VISIBILITY=$enableval
   19987 else $as_nop
   19988   SYMBOL_VISIBILITY=auto
   19989 fi
   19990 
   19991 
   19992 symbol_visibility=
   19993 have_visibility=disabled
   19994 if test x$SYMBOL_VISIBILITY != xno; then
   19995     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for symbol visibility support" >&5
   19996 printf %s "checking for symbol visibility support... " >&6; }
   19997     if test x$GCC = xyes; then
   19998 	VISIBILITY_CFLAGS="-fvisibility=hidden"
   19999     else
   20000 	if test x$SUNCC = xyes; then
   20001 	    VISIBILITY_CFLAGS="-xldscope=hidden"
   20002 	else
   20003 	    have_visibility=no
   20004 	fi
   20005     fi
   20006     if test x$have_visibility != xno; then
   20007 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20008 /* end confdefs.h.  */
   20009 #include <X11/Xfuncproto.h>
   20010 	     extern _X_HIDDEN int hidden_int;
   20011 	     extern _X_EXPORT int public_int;
   20012 	     extern _X_HIDDEN int hidden_int_func(void);
   20013 	     extern _X_EXPORT int public_int_func(void);
   20014 int
   20015 main (void)
   20016 {
   20017 
   20018   ;
   20019   return 0;
   20020 }
   20021 _ACEOF
   20022 if ac_fn_c_try_compile "$LINENO"
   20023 then :
   20024   have_visibility=yes
   20025 else $as_nop
   20026   have_visibility=no
   20027 fi
   20028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20029     fi
   20030     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_visibility" >&5
   20031 printf "%s\n" "$have_visibility" >&6; }
   20032     if test x$have_visibility != xno; then
   20033 	symbol_visibility=$VISIBILITY_CFLAGS
   20034 	CFLAGS="$CFLAGS $VISIBILITY_CFLAGS"
   20035     fi
   20036 fi
   20037 
   20038 
   20039 # Check whether --with-shared-memory-dir was given.
   20040 if test ${with_shared_memory_dir+y}
   20041 then :
   20042   withval=$with_shared_memory_dir;
   20043 else $as_nop
   20044   with_shared_memory_dir=yes
   20045 fi
   20046 
   20047 
   20048 shmdirs="/run/shm /dev/shm /var/tmp /tmp"
   20049 
   20050 case x"$with_shared_memory_dir" in
   20051 xyes)
   20052 	for dir in $shmdirs; do
   20053 		case x"$with_shared_memory_dir" in
   20054 		xyes)
   20055 			echo Checking temp dir "$dir"
   20056 			if test -d "$dir"; then
   20057 				with_shared_memory_dir="$dir"
   20058 			fi
   20059 			;;
   20060 		esac
   20061 	done
   20062 	;;
   20063 x/*)
   20064 	;;
   20065 xno)
   20066 	;;
   20067 *)
   20068 	as_fn_error $? "Invalid directory specified for --with-shared-memory-dir: $with_shared_memory_dir" "$LINENO" 5
   20069 	;;
   20070 esac
   20071 
   20072 case x"$with_shared_memory_dir" in
   20073 xyes)
   20074 	as_fn_error $? "No directory found for shared memory temp files." "$LINENO" 5
   20075 	;;
   20076 xno)
   20077 	;;
   20078 *)
   20079 
   20080 printf "%s\n" "#define SHMDIR \"$with_shared_memory_dir\"" >>confdefs.h
   20081 
   20082 	;;
   20083 esac
   20084 
   20085 ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile xshmfence.pc"
   20086 
   20087 cat >confcache <<\_ACEOF
   20088 # This file is a shell script that caches the results of configure
   20089 # tests run on this system so they can be shared between configure
   20090 # scripts and configure runs, see configure's option --config-cache.
   20091 # It is not useful on other systems.  If it contains results you don't
   20092 # want to keep, you may remove or edit it.
   20093 #
   20094 # config.status only pays attention to the cache file if you give it
   20095 # the --recheck option to rerun configure.
   20096 #
   20097 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20098 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20099 # following values.
   20100 
   20101 _ACEOF
   20102 
   20103 # The following way of writing the cache mishandles newlines in values,
   20104 # but we know of no workaround that is simple, portable, and efficient.
   20105 # So, we kill variables containing newlines.
   20106 # Ultrix sh set writes to stderr and can't be redirected directly,
   20107 # and sets the high bit in the cache file unless we assign to the vars.
   20108 (
   20109   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20110     eval ac_val=\$$ac_var
   20111     case $ac_val in #(
   20112     *${as_nl}*)
   20113       case $ac_var in #(
   20114       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20115 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20116       esac
   20117       case $ac_var in #(
   20118       _ | IFS | as_nl) ;; #(
   20119       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20120       *) { eval $ac_var=; unset $ac_var;} ;;
   20121       esac ;;
   20122     esac
   20123   done
   20124 
   20125   (set) 2>&1 |
   20126     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20127     *${as_nl}ac_space=\ *)
   20128       # `set' does not quote correctly, so add quotes: double-quote
   20129       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20130       sed -n \
   20131 	"s/'/'\\\\''/g;
   20132 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20133       ;; #(
   20134     *)
   20135       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20136       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20137       ;;
   20138     esac |
   20139     sort
   20140 ) |
   20141   sed '
   20142      /^ac_cv_env_/b end
   20143      t clear
   20144      :clear
   20145      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20146      t end
   20147      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20148      :end' >>confcache
   20149 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20150   if test -w "$cache_file"; then
   20151     if test "x$cache_file" != "x/dev/null"; then
   20152       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20153 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20154       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20155 	cat confcache >"$cache_file"
   20156       else
   20157         case $cache_file in #(
   20158         */* | ?:*)
   20159 	  mv -f confcache "$cache_file"$$ &&
   20160 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20161         *)
   20162 	  mv -f confcache "$cache_file" ;;
   20163 	esac
   20164       fi
   20165     fi
   20166   else
   20167     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20168 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20169   fi
   20170 fi
   20171 rm -f confcache
   20172 
   20173 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20174 # Let make expand exec_prefix.
   20175 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20176 
   20177 DEFS=-DHAVE_CONFIG_H
   20178 
   20179 ac_libobjs=
   20180 ac_ltlibobjs=
   20181 U=
   20182 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20183   # 1. Remove the extension, and $U if already installed.
   20184   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20185   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20186   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20187   #    will be set to the directory where LIBOBJS objects are built.
   20188   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20189   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20190 done
   20191 LIBOBJS=$ac_libobjs
   20192 
   20193 LTLIBOBJS=$ac_ltlibobjs
   20194 
   20195 
   20196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20197 printf %s "checking that generated files are newer than configure... " >&6; }
   20198    if test -n "$am_sleep_pid"; then
   20199      # Hide warnings about reused PIDs.
   20200      wait $am_sleep_pid 2>/dev/null
   20201    fi
   20202    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20203 printf "%s\n" "done" >&6; }
   20204 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20205   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20207 fi
   20208 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20209   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20211 fi
   20212  if test -n "$EXEEXT"; then
   20213   am__EXEEXT_TRUE=
   20214   am__EXEEXT_FALSE='#'
   20215 else
   20216   am__EXEEXT_TRUE='#'
   20217   am__EXEEXT_FALSE=
   20218 fi
   20219 
   20220 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   20221   as_fn_error $? "conditional \"LINT\" was never defined.
   20222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20223 fi
   20224 if test -z "${FUTEX_TRUE}" && test -z "${FUTEX_FALSE}"; then
   20225   as_fn_error $? "conditional \"FUTEX\" was never defined.
   20226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20227 fi
   20228 if test -z "${PTHREAD_TRUE}" && test -z "${PTHREAD_FALSE}"; then
   20229   as_fn_error $? "conditional \"PTHREAD\" was never defined.
   20230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20231 fi
   20232 
   20233 : "${CONFIG_STATUS=./config.status}"
   20234 ac_write_fail=0
   20235 ac_clean_files_save=$ac_clean_files
   20236 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20238 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20239 as_write_fail=0
   20240 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20241 #! $SHELL
   20242 # Generated by $as_me.
   20243 # Run this file to recreate the current configuration.
   20244 # Compiler output produced by configure, useful for debugging
   20245 # configure, is in config.log if it exists.
   20246 
   20247 debug=false
   20248 ac_cs_recheck=false
   20249 ac_cs_silent=false
   20250 
   20251 SHELL=\${CONFIG_SHELL-$SHELL}
   20252 export SHELL
   20253 _ASEOF
   20254 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20255 ## -------------------- ##
   20256 ## M4sh Initialization. ##
   20257 ## -------------------- ##
   20258 
   20259 # Be more Bourne compatible
   20260 DUALCASE=1; export DUALCASE # for MKS sh
   20261 as_nop=:
   20262 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20263 then :
   20264   emulate sh
   20265   NULLCMD=:
   20266   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20267   # is contrary to our usage.  Disable this feature.
   20268   alias -g '${1+"$@"}'='"$@"'
   20269   setopt NO_GLOB_SUBST
   20270 else $as_nop
   20271   case `(set -o) 2>/dev/null` in #(
   20272   *posix*) :
   20273     set -o posix ;; #(
   20274   *) :
   20275      ;;
   20276 esac
   20277 fi
   20278 
   20279 
   20280 
   20281 # Reset variables that may have inherited troublesome values from
   20282 # the environment.
   20283 
   20284 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20285 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20286 # side effect of setting IFS to empty, thus disabling word splitting.)
   20287 # Quoting is to prevent editors from complaining about space-tab.
   20288 as_nl='
   20289 '
   20290 export as_nl
   20291 IFS=" ""	$as_nl"
   20292 
   20293 PS1='$ '
   20294 PS2='> '
   20295 PS4='+ '
   20296 
   20297 # Ensure predictable behavior from utilities with locale-dependent output.
   20298 LC_ALL=C
   20299 export LC_ALL
   20300 LANGUAGE=C
   20301 export LANGUAGE
   20302 
   20303 # We cannot yet rely on "unset" to work, but we need these variables
   20304 # to be unset--not just set to an empty or harmless value--now, to
   20305 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20306 # also avoids known problems related to "unset" and subshell syntax
   20307 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20308 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20309 do eval test \${$as_var+y} \
   20310   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20311 done
   20312 
   20313 # Ensure that fds 0, 1, and 2 are open.
   20314 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20315 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20316 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20317 
   20318 # The user is always right.
   20319 if ${PATH_SEPARATOR+false} :; then
   20320   PATH_SEPARATOR=:
   20321   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20322     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20323       PATH_SEPARATOR=';'
   20324   }
   20325 fi
   20326 
   20327 
   20328 # Find who we are.  Look in the path if we contain no directory separator.
   20329 as_myself=
   20330 case $0 in #((
   20331   *[\\/]* ) as_myself=$0 ;;
   20332   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20333 for as_dir in $PATH
   20334 do
   20335   IFS=$as_save_IFS
   20336   case $as_dir in #(((
   20337     '') as_dir=./ ;;
   20338     */) ;;
   20339     *) as_dir=$as_dir/ ;;
   20340   esac
   20341     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20342   done
   20343 IFS=$as_save_IFS
   20344 
   20345      ;;
   20346 esac
   20347 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20348 # in which case we are not to be found in the path.
   20349 if test "x$as_myself" = x; then
   20350   as_myself=$0
   20351 fi
   20352 if test ! -f "$as_myself"; then
   20353   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20354   exit 1
   20355 fi
   20356 
   20357 
   20358 
   20359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20360 # ----------------------------------------
   20361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20363 # script with STATUS, using 1 if that was 0.
   20364 as_fn_error ()
   20365 {
   20366   as_status=$1; test $as_status -eq 0 && as_status=1
   20367   if test "$4"; then
   20368     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20369     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20370   fi
   20371   printf "%s\n" "$as_me: error: $2" >&2
   20372   as_fn_exit $as_status
   20373 } # as_fn_error
   20374 
   20375 
   20376 
   20377 # as_fn_set_status STATUS
   20378 # -----------------------
   20379 # Set $? to STATUS, without forking.
   20380 as_fn_set_status ()
   20381 {
   20382   return $1
   20383 } # as_fn_set_status
   20384 
   20385 # as_fn_exit STATUS
   20386 # -----------------
   20387 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20388 as_fn_exit ()
   20389 {
   20390   set +e
   20391   as_fn_set_status $1
   20392   exit $1
   20393 } # as_fn_exit
   20394 
   20395 # as_fn_unset VAR
   20396 # ---------------
   20397 # Portably unset VAR.
   20398 as_fn_unset ()
   20399 {
   20400   { eval $1=; unset $1;}
   20401 }
   20402 as_unset=as_fn_unset
   20403 
   20404 # as_fn_append VAR VALUE
   20405 # ----------------------
   20406 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20407 # advantage of any shell optimizations that allow amortized linear growth over
   20408 # repeated appends, instead of the typical quadratic growth present in naive
   20409 # implementations.
   20410 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20411 then :
   20412   eval 'as_fn_append ()
   20413   {
   20414     eval $1+=\$2
   20415   }'
   20416 else $as_nop
   20417   as_fn_append ()
   20418   {
   20419     eval $1=\$$1\$2
   20420   }
   20421 fi # as_fn_append
   20422 
   20423 # as_fn_arith ARG...
   20424 # ------------------
   20425 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20426 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20427 # must be portable across $(()) and expr.
   20428 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20429 then :
   20430   eval 'as_fn_arith ()
   20431   {
   20432     as_val=$(( $* ))
   20433   }'
   20434 else $as_nop
   20435   as_fn_arith ()
   20436   {
   20437     as_val=`expr "$@" || test $? -eq 1`
   20438   }
   20439 fi # as_fn_arith
   20440 
   20441 
   20442 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20443    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20444   as_expr=expr
   20445 else
   20446   as_expr=false
   20447 fi
   20448 
   20449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20450   as_basename=basename
   20451 else
   20452   as_basename=false
   20453 fi
   20454 
   20455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20456   as_dirname=dirname
   20457 else
   20458   as_dirname=false
   20459 fi
   20460 
   20461 as_me=`$as_basename -- "$0" ||
   20462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20463 	 X"$0" : 'X\(//\)$' \| \
   20464 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20465 printf "%s\n" X/"$0" |
   20466     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20467 	    s//\1/
   20468 	    q
   20469 	  }
   20470 	  /^X\/\(\/\/\)$/{
   20471 	    s//\1/
   20472 	    q
   20473 	  }
   20474 	  /^X\/\(\/\).*/{
   20475 	    s//\1/
   20476 	    q
   20477 	  }
   20478 	  s/.*/./; q'`
   20479 
   20480 # Avoid depending upon Character Ranges.
   20481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20484 as_cr_digits='0123456789'
   20485 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20486 
   20487 
   20488 # Determine whether it's possible to make 'echo' print without a newline.
   20489 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20490 # for compatibility with existing Makefiles.
   20491 ECHO_C= ECHO_N= ECHO_T=
   20492 case `echo -n x` in #(((((
   20493 -n*)
   20494   case `echo 'xy\c'` in
   20495   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20496   xy)  ECHO_C='\c';;
   20497   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20498        ECHO_T='	';;
   20499   esac;;
   20500 *)
   20501   ECHO_N='-n';;
   20502 esac
   20503 
   20504 # For backward compatibility with old third-party macros, we provide
   20505 # the shell variables $as_echo and $as_echo_n.  New code should use
   20506 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20507 as_echo='printf %s\n'
   20508 as_echo_n='printf %s'
   20509 
   20510 rm -f conf$$ conf$$.exe conf$$.file
   20511 if test -d conf$$.dir; then
   20512   rm -f conf$$.dir/conf$$.file
   20513 else
   20514   rm -f conf$$.dir
   20515   mkdir conf$$.dir 2>/dev/null
   20516 fi
   20517 if (echo >conf$$.file) 2>/dev/null; then
   20518   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20519     as_ln_s='ln -s'
   20520     # ... but there are two gotchas:
   20521     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20522     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20523     # In both cases, we have to default to `cp -pR'.
   20524     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20525       as_ln_s='cp -pR'
   20526   elif ln conf$$.file conf$$ 2>/dev/null; then
   20527     as_ln_s=ln
   20528   else
   20529     as_ln_s='cp -pR'
   20530   fi
   20531 else
   20532   as_ln_s='cp -pR'
   20533 fi
   20534 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20535 rmdir conf$$.dir 2>/dev/null
   20536 
   20537 
   20538 # as_fn_mkdir_p
   20539 # -------------
   20540 # Create "$as_dir" as a directory, including parents if necessary.
   20541 as_fn_mkdir_p ()
   20542 {
   20543 
   20544   case $as_dir in #(
   20545   -*) as_dir=./$as_dir;;
   20546   esac
   20547   test -d "$as_dir" || eval $as_mkdir_p || {
   20548     as_dirs=
   20549     while :; do
   20550       case $as_dir in #(
   20551       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20552       *) as_qdir=$as_dir;;
   20553       esac
   20554       as_dirs="'$as_qdir' $as_dirs"
   20555       as_dir=`$as_dirname -- "$as_dir" ||
   20556 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20557 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20558 	 X"$as_dir" : 'X\(//\)$' \| \
   20559 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20560 printf "%s\n" X"$as_dir" |
   20561     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20562 	    s//\1/
   20563 	    q
   20564 	  }
   20565 	  /^X\(\/\/\)[^/].*/{
   20566 	    s//\1/
   20567 	    q
   20568 	  }
   20569 	  /^X\(\/\/\)$/{
   20570 	    s//\1/
   20571 	    q
   20572 	  }
   20573 	  /^X\(\/\).*/{
   20574 	    s//\1/
   20575 	    q
   20576 	  }
   20577 	  s/.*/./; q'`
   20578       test -d "$as_dir" && break
   20579     done
   20580     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20581   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20582 
   20583 
   20584 } # as_fn_mkdir_p
   20585 if mkdir -p . 2>/dev/null; then
   20586   as_mkdir_p='mkdir -p "$as_dir"'
   20587 else
   20588   test -d ./-p && rmdir ./-p
   20589   as_mkdir_p=false
   20590 fi
   20591 
   20592 
   20593 # as_fn_executable_p FILE
   20594 # -----------------------
   20595 # Test if FILE is an executable regular file.
   20596 as_fn_executable_p ()
   20597 {
   20598   test -f "$1" && test -x "$1"
   20599 } # as_fn_executable_p
   20600 as_test_x='test -x'
   20601 as_executable_p=as_fn_executable_p
   20602 
   20603 # Sed expression to map a string onto a valid CPP name.
   20604 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20605 
   20606 # Sed expression to map a string onto a valid variable name.
   20607 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20608 
   20609 
   20610 exec 6>&1
   20611 ## ----------------------------------- ##
   20612 ## Main body of $CONFIG_STATUS script. ##
   20613 ## ----------------------------------- ##
   20614 _ASEOF
   20615 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20616 
   20617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20618 # Save the log message, to keep $0 and so on meaningful, and to
   20619 # report actual input values of CONFIG_FILES etc. instead of their
   20620 # values after options handling.
   20621 ac_log="
   20622 This file was extended by libxshmfence $as_me 1.3.2, which was
   20623 generated by GNU Autoconf 2.71.  Invocation command line was
   20624 
   20625   CONFIG_FILES    = $CONFIG_FILES
   20626   CONFIG_HEADERS  = $CONFIG_HEADERS
   20627   CONFIG_LINKS    = $CONFIG_LINKS
   20628   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20629   $ $0 $@
   20630 
   20631 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20632 "
   20633 
   20634 _ACEOF
   20635 
   20636 case $ac_config_files in *"
   20637 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20638 esac
   20639 
   20640 case $ac_config_headers in *"
   20641 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20642 esac
   20643 
   20644 
   20645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20646 # Files that config.status was made for.
   20647 config_files="$ac_config_files"
   20648 config_headers="$ac_config_headers"
   20649 config_commands="$ac_config_commands"
   20650 
   20651 _ACEOF
   20652 
   20653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20654 ac_cs_usage="\
   20655 \`$as_me' instantiates files and other configuration actions
   20656 from templates according to the current configuration.  Unless the files
   20657 and actions are specified as TAGs, all are instantiated by default.
   20658 
   20659 Usage: $0 [OPTION]... [TAG]...
   20660 
   20661   -h, --help       print this help, then exit
   20662   -V, --version    print version number and configuration settings, then exit
   20663       --config     print configuration, then exit
   20664   -q, --quiet, --silent
   20665                    do not print progress messages
   20666   -d, --debug      don't remove temporary files
   20667       --recheck    update $as_me by reconfiguring in the same conditions
   20668       --file=FILE[:TEMPLATE]
   20669                    instantiate the configuration file FILE
   20670       --header=FILE[:TEMPLATE]
   20671                    instantiate the configuration header FILE
   20672 
   20673 Configuration files:
   20674 $config_files
   20675 
   20676 Configuration headers:
   20677 $config_headers
   20678 
   20679 Configuration commands:
   20680 $config_commands
   20681 
   20682 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxshmfence/-/issues>."
   20683 
   20684 _ACEOF
   20685 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20686 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20688 ac_cs_config='$ac_cs_config_escaped'
   20689 ac_cs_version="\\
   20690 libxshmfence config.status 1.3.2
   20691 configured by $0, generated by GNU Autoconf 2.71,
   20692   with options \\"\$ac_cs_config\\"
   20693 
   20694 Copyright (C) 2021 Free Software Foundation, Inc.
   20695 This config.status script is free software; the Free Software Foundation
   20696 gives unlimited permission to copy, distribute and modify it."
   20697 
   20698 ac_pwd='$ac_pwd'
   20699 srcdir='$srcdir'
   20700 INSTALL='$INSTALL'
   20701 MKDIR_P='$MKDIR_P'
   20702 AWK='$AWK'
   20703 test -n "\$AWK" || AWK=awk
   20704 _ACEOF
   20705 
   20706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20707 # The default lists apply if the user does not specify any file.
   20708 ac_need_defaults=:
   20709 while test $# != 0
   20710 do
   20711   case $1 in
   20712   --*=?*)
   20713     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20714     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20715     ac_shift=:
   20716     ;;
   20717   --*=)
   20718     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20719     ac_optarg=
   20720     ac_shift=:
   20721     ;;
   20722   *)
   20723     ac_option=$1
   20724     ac_optarg=$2
   20725     ac_shift=shift
   20726     ;;
   20727   esac
   20728 
   20729   case $ac_option in
   20730   # Handling of the options.
   20731   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20732     ac_cs_recheck=: ;;
   20733   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20734     printf "%s\n" "$ac_cs_version"; exit ;;
   20735   --config | --confi | --conf | --con | --co | --c )
   20736     printf "%s\n" "$ac_cs_config"; exit ;;
   20737   --debug | --debu | --deb | --de | --d | -d )
   20738     debug=: ;;
   20739   --file | --fil | --fi | --f )
   20740     $ac_shift
   20741     case $ac_optarg in
   20742     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20743     '') as_fn_error $? "missing file argument" ;;
   20744     esac
   20745     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20746     ac_need_defaults=false;;
   20747   --header | --heade | --head | --hea )
   20748     $ac_shift
   20749     case $ac_optarg in
   20750     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20751     esac
   20752     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20753     ac_need_defaults=false;;
   20754   --he | --h)
   20755     # Conflict between --help and --header
   20756     as_fn_error $? "ambiguous option: \`$1'
   20757 Try \`$0 --help' for more information.";;
   20758   --help | --hel | -h )
   20759     printf "%s\n" "$ac_cs_usage"; exit ;;
   20760   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20761   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20762     ac_cs_silent=: ;;
   20763 
   20764   # This is an error.
   20765   -*) as_fn_error $? "unrecognized option: \`$1'
   20766 Try \`$0 --help' for more information." ;;
   20767 
   20768   *) as_fn_append ac_config_targets " $1"
   20769      ac_need_defaults=false ;;
   20770 
   20771   esac
   20772   shift
   20773 done
   20774 
   20775 ac_configure_extra_args=
   20776 
   20777 if $ac_cs_silent; then
   20778   exec 6>/dev/null
   20779   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20780 fi
   20781 
   20782 _ACEOF
   20783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20784 if \$ac_cs_recheck; then
   20785   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20786   shift
   20787   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20788   CONFIG_SHELL='$SHELL'
   20789   export CONFIG_SHELL
   20790   exec "\$@"
   20791 fi
   20792 
   20793 _ACEOF
   20794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20795 exec 5>>config.log
   20796 {
   20797   echo
   20798   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20799 ## Running $as_me. ##
   20800 _ASBOX
   20801   printf "%s\n" "$ac_log"
   20802 } >&5
   20803 
   20804 _ACEOF
   20805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20806 #
   20807 # INIT-COMMANDS
   20808 #
   20809 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20810 
   20811 
   20812 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20813 # if CDPATH is set.
   20814 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20815 
   20816 sed_quote_subst='$sed_quote_subst'
   20817 double_quote_subst='$double_quote_subst'
   20818 delay_variable_subst='$delay_variable_subst'
   20819 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20820 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20821 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20822 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20823 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20824 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20825 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20826 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20827 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20828 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20829 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20830 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20831 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20832 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20833 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20834 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20835 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20836 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20837 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20838 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20839 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20840 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20841 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20842 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20843 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20844 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20845 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20846 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20847 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20848 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20849 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20850 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20851 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20852 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20853 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20854 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20855 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20856 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20857 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20858 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20859 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20860 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20861 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20862 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20863 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20864 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20865 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20866 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20867 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20868 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20869 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20870 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20871 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20872 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20873 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20874 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20875 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20876 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20877 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20878 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20879 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"`'
   20880 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20881 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20882 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20883 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20884 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20885 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20886 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20887 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20888 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20889 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20890 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20891 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20892 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20893 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20894 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20895 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20896 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20897 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20898 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20899 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20900 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20901 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20902 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20903 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20904 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20905 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20906 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20907 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20908 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20909 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20910 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20911 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20912 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20913 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20914 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20915 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20916 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20917 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20918 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20919 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20920 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20921 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20922 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20923 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20924 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20925 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20926 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20927 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20928 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20929 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20930 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20931 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20932 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20933 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20934 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20935 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20936 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20937 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20938 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20939 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20940 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20941 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20942 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20943 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20944 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20945 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20946 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20947 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20948 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20949 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20950 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20951 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20952 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20953 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20954 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20955 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20956 
   20957 LTCC='$LTCC'
   20958 LTCFLAGS='$LTCFLAGS'
   20959 compiler='$compiler_DEFAULT'
   20960 
   20961 # A function that is used when there is no print builtin or printf.
   20962 func_fallback_echo ()
   20963 {
   20964   eval 'cat <<_LTECHO_EOF
   20965 \$1
   20966 _LTECHO_EOF'
   20967 }
   20968 
   20969 # Quote evaled strings.
   20970 for var in SHELL \
   20971 ECHO \
   20972 PATH_SEPARATOR \
   20973 SED \
   20974 GREP \
   20975 EGREP \
   20976 FGREP \
   20977 LD \
   20978 NM \
   20979 LN_S \
   20980 lt_SP2NL \
   20981 lt_NL2SP \
   20982 reload_flag \
   20983 FILECMD \
   20984 OBJDUMP \
   20985 deplibs_check_method \
   20986 file_magic_cmd \
   20987 file_magic_glob \
   20988 want_nocaseglob \
   20989 DLLTOOL \
   20990 sharedlib_from_linklib_cmd \
   20991 AR \
   20992 archiver_list_spec \
   20993 STRIP \
   20994 RANLIB \
   20995 CC \
   20996 CFLAGS \
   20997 compiler \
   20998 lt_cv_sys_global_symbol_pipe \
   20999 lt_cv_sys_global_symbol_to_cdecl \
   21000 lt_cv_sys_global_symbol_to_import \
   21001 lt_cv_sys_global_symbol_to_c_name_address \
   21002 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21003 lt_cv_nm_interface \
   21004 nm_file_list_spec \
   21005 lt_cv_truncate_bin \
   21006 lt_prog_compiler_no_builtin_flag \
   21007 lt_prog_compiler_pic \
   21008 lt_prog_compiler_wl \
   21009 lt_prog_compiler_static \
   21010 lt_cv_prog_compiler_c_o \
   21011 need_locks \
   21012 MANIFEST_TOOL \
   21013 DSYMUTIL \
   21014 NMEDIT \
   21015 LIPO \
   21016 OTOOL \
   21017 OTOOL64 \
   21018 shrext_cmds \
   21019 export_dynamic_flag_spec \
   21020 whole_archive_flag_spec \
   21021 compiler_needs_object \
   21022 with_gnu_ld \
   21023 allow_undefined_flag \
   21024 no_undefined_flag \
   21025 hardcode_libdir_flag_spec \
   21026 hardcode_libdir_separator \
   21027 exclude_expsyms \
   21028 include_expsyms \
   21029 file_list_spec \
   21030 variables_saved_for_relink \
   21031 libname_spec \
   21032 library_names_spec \
   21033 soname_spec \
   21034 install_override_mode \
   21035 finish_eval \
   21036 old_striplib \
   21037 striplib; do
   21038     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21039     *[\\\\\\\`\\"\\\$]*)
   21040       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21041       ;;
   21042     *)
   21043       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21044       ;;
   21045     esac
   21046 done
   21047 
   21048 # Double-quote double-evaled strings.
   21049 for var in reload_cmds \
   21050 old_postinstall_cmds \
   21051 old_postuninstall_cmds \
   21052 old_archive_cmds \
   21053 extract_expsyms_cmds \
   21054 old_archive_from_new_cmds \
   21055 old_archive_from_expsyms_cmds \
   21056 archive_cmds \
   21057 archive_expsym_cmds \
   21058 module_cmds \
   21059 module_expsym_cmds \
   21060 export_symbols_cmds \
   21061 prelink_cmds \
   21062 postlink_cmds \
   21063 postinstall_cmds \
   21064 postuninstall_cmds \
   21065 finish_cmds \
   21066 sys_lib_search_path_spec \
   21067 configure_time_dlsearch_path \
   21068 configure_time_lt_sys_library_path; do
   21069     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21070     *[\\\\\\\`\\"\\\$]*)
   21071       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21072       ;;
   21073     *)
   21074       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21075       ;;
   21076     esac
   21077 done
   21078 
   21079 ac_aux_dir='$ac_aux_dir'
   21080 
   21081 # See if we are running on zsh, and set the options that allow our
   21082 # commands through without removal of \ escapes INIT.
   21083 if test -n "\${ZSH_VERSION+set}"; then
   21084    setopt NO_GLOB_SUBST
   21085 fi
   21086 
   21087 
   21088     PACKAGE='$PACKAGE'
   21089     VERSION='$VERSION'
   21090     RM='$RM'
   21091     ofile='$ofile'
   21092 
   21093 
   21094 
   21095 
   21096 _ACEOF
   21097 
   21098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21099 
   21100 # Handling of arguments.
   21101 for ac_config_target in $ac_config_targets
   21102 do
   21103   case $ac_config_target in
   21104     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21105     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21106     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21107     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21108     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21109     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   21110     "xshmfence.pc") CONFIG_FILES="$CONFIG_FILES xshmfence.pc" ;;
   21111 
   21112   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21113   esac
   21114 done
   21115 
   21116 
   21117 # If the user did not use the arguments to specify the items to instantiate,
   21118 # then the envvar interface is used.  Set only those that are not.
   21119 # We use the long form for the default assignment because of an extremely
   21120 # bizarre bug on SunOS 4.1.3.
   21121 if $ac_need_defaults; then
   21122   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21123   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21124   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21125 fi
   21126 
   21127 # Have a temporary directory for convenience.  Make it in the build tree
   21128 # simply because there is no reason against having it here, and in addition,
   21129 # creating and moving files from /tmp can sometimes cause problems.
   21130 # Hook for its removal unless debugging.
   21131 # Note that there is a small window in which the directory will not be cleaned:
   21132 # after its creation but before its name has been assigned to `$tmp'.
   21133 $debug ||
   21134 {
   21135   tmp= ac_tmp=
   21136   trap 'exit_status=$?
   21137   : "${ac_tmp:=$tmp}"
   21138   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21139 ' 0
   21140   trap 'as_fn_exit 1' 1 2 13 15
   21141 }
   21142 # Create a (secure) tmp directory for tmp files.
   21143 
   21144 {
   21145   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21146   test -d "$tmp"
   21147 }  ||
   21148 {
   21149   tmp=./conf$$-$RANDOM
   21150   (umask 077 && mkdir "$tmp")
   21151 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21152 ac_tmp=$tmp
   21153 
   21154 # Set up the scripts for CONFIG_FILES section.
   21155 # No need to generate them if there are no CONFIG_FILES.
   21156 # This happens for instance with `./config.status config.h'.
   21157 if test -n "$CONFIG_FILES"; then
   21158 
   21159 
   21160 ac_cr=`echo X | tr X '\015'`
   21161 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21162 # But we know of no other shell where ac_cr would be empty at this
   21163 # point, so we can use a bashism as a fallback.
   21164 if test "x$ac_cr" = x; then
   21165   eval ac_cr=\$\'\\r\'
   21166 fi
   21167 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21168 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21169   ac_cs_awk_cr='\\r'
   21170 else
   21171   ac_cs_awk_cr=$ac_cr
   21172 fi
   21173 
   21174 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21175 _ACEOF
   21176 
   21177 
   21178 {
   21179   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21180   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21181   echo "_ACEOF"
   21182 } >conf$$subs.sh ||
   21183   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21184 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21185 ac_delim='%!_!# '
   21186 for ac_last_try in false false false false false :; do
   21187   . ./conf$$subs.sh ||
   21188     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21189 
   21190   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21191   if test $ac_delim_n = $ac_delim_num; then
   21192     break
   21193   elif $ac_last_try; then
   21194     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21195   else
   21196     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21197   fi
   21198 done
   21199 rm -f conf$$subs.sh
   21200 
   21201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21202 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21203 _ACEOF
   21204 sed -n '
   21205 h
   21206 s/^/S["/; s/!.*/"]=/
   21207 p
   21208 g
   21209 s/^[^!]*!//
   21210 :repl
   21211 t repl
   21212 s/'"$ac_delim"'$//
   21213 t delim
   21214 :nl
   21215 h
   21216 s/\(.\{148\}\)..*/\1/
   21217 t more1
   21218 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21219 p
   21220 n
   21221 b repl
   21222 :more1
   21223 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21224 p
   21225 g
   21226 s/.\{148\}//
   21227 t nl
   21228 :delim
   21229 h
   21230 s/\(.\{148\}\)..*/\1/
   21231 t more2
   21232 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21233 p
   21234 b
   21235 :more2
   21236 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21237 p
   21238 g
   21239 s/.\{148\}//
   21240 t delim
   21241 ' <conf$$subs.awk | sed '
   21242 /^[^""]/{
   21243   N
   21244   s/\n//
   21245 }
   21246 ' >>$CONFIG_STATUS || ac_write_fail=1
   21247 rm -f conf$$subs.awk
   21248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21249 _ACAWK
   21250 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21251   for (key in S) S_is_set[key] = 1
   21252   FS = ""
   21253 
   21254 }
   21255 {
   21256   line = $ 0
   21257   nfields = split(line, field, "@")
   21258   substed = 0
   21259   len = length(field[1])
   21260   for (i = 2; i < nfields; i++) {
   21261     key = field[i]
   21262     keylen = length(key)
   21263     if (S_is_set[key]) {
   21264       value = S[key]
   21265       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21266       len += length(value) + length(field[++i])
   21267       substed = 1
   21268     } else
   21269       len += 1 + keylen
   21270   }
   21271 
   21272   print line
   21273 }
   21274 
   21275 _ACAWK
   21276 _ACEOF
   21277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21278 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21279   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21280 else
   21281   cat
   21282 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21283   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21284 _ACEOF
   21285 
   21286 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21287 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21288 # trailing colons and then remove the whole line if VPATH becomes empty
   21289 # (actually we leave an empty line to preserve line numbers).
   21290 if test "x$srcdir" = x.; then
   21291   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21292 h
   21293 s///
   21294 s/^/:/
   21295 s/[	 ]*$/:/
   21296 s/:\$(srcdir):/:/g
   21297 s/:\${srcdir}:/:/g
   21298 s/:@srcdir@:/:/g
   21299 s/^:*//
   21300 s/:*$//
   21301 x
   21302 s/\(=[	 ]*\).*/\1/
   21303 G
   21304 s/\n//
   21305 s/^[^=]*=[	 ]*$//
   21306 }'
   21307 fi
   21308 
   21309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21310 fi # test -n "$CONFIG_FILES"
   21311 
   21312 # Set up the scripts for CONFIG_HEADERS section.
   21313 # No need to generate them if there are no CONFIG_HEADERS.
   21314 # This happens for instance with `./config.status Makefile'.
   21315 if test -n "$CONFIG_HEADERS"; then
   21316 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21317 BEGIN {
   21318 _ACEOF
   21319 
   21320 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21321 # here-document in config.status, that substitutes the proper values into
   21322 # config.h.in to produce config.h.
   21323 
   21324 # Create a delimiter string that does not exist in confdefs.h, to ease
   21325 # handling of long lines.
   21326 ac_delim='%!_!# '
   21327 for ac_last_try in false false :; do
   21328   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21329   if test -z "$ac_tt"; then
   21330     break
   21331   elif $ac_last_try; then
   21332     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21333   else
   21334     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21335   fi
   21336 done
   21337 
   21338 # For the awk script, D is an array of macro values keyed by name,
   21339 # likewise P contains macro parameters if any.  Preserve backslash
   21340 # newline sequences.
   21341 
   21342 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21343 sed -n '
   21344 s/.\{148\}/&'"$ac_delim"'/g
   21345 t rset
   21346 :rset
   21347 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21348 t def
   21349 d
   21350 :def
   21351 s/\\$//
   21352 t bsnl
   21353 s/["\\]/\\&/g
   21354 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21355 D["\1"]=" \3"/p
   21356 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21357 d
   21358 :bsnl
   21359 s/["\\]/\\&/g
   21360 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21361 D["\1"]=" \3\\\\\\n"\\/p
   21362 t cont
   21363 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21364 t cont
   21365 d
   21366 :cont
   21367 n
   21368 s/.\{148\}/&'"$ac_delim"'/g
   21369 t clear
   21370 :clear
   21371 s/\\$//
   21372 t bsnlc
   21373 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21374 d
   21375 :bsnlc
   21376 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21377 b cont
   21378 ' <confdefs.h | sed '
   21379 s/'"$ac_delim"'/"\\\
   21380 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21381 
   21382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21383   for (key in D) D_is_set[key] = 1
   21384   FS = ""
   21385 }
   21386 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21387   line = \$ 0
   21388   split(line, arg, " ")
   21389   if (arg[1] == "#") {
   21390     defundef = arg[2]
   21391     mac1 = arg[3]
   21392   } else {
   21393     defundef = substr(arg[1], 2)
   21394     mac1 = arg[2]
   21395   }
   21396   split(mac1, mac2, "(") #)
   21397   macro = mac2[1]
   21398   prefix = substr(line, 1, index(line, defundef) - 1)
   21399   if (D_is_set[macro]) {
   21400     # Preserve the white space surrounding the "#".
   21401     print prefix "define", macro P[macro] D[macro]
   21402     next
   21403   } else {
   21404     # Replace #undef with comments.  This is necessary, for example,
   21405     # in the case of _POSIX_SOURCE, which is predefined and required
   21406     # on some systems where configure will not decide to define it.
   21407     if (defundef == "undef") {
   21408       print "/*", prefix defundef, macro, "*/"
   21409       next
   21410     }
   21411   }
   21412 }
   21413 { print }
   21414 _ACAWK
   21415 _ACEOF
   21416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21417   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21418 fi # test -n "$CONFIG_HEADERS"
   21419 
   21420 
   21421 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21422 shift
   21423 for ac_tag
   21424 do
   21425   case $ac_tag in
   21426   :[FHLC]) ac_mode=$ac_tag; continue;;
   21427   esac
   21428   case $ac_mode$ac_tag in
   21429   :[FHL]*:*);;
   21430   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21431   :[FH]-) ac_tag=-:-;;
   21432   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21433   esac
   21434   ac_save_IFS=$IFS
   21435   IFS=:
   21436   set x $ac_tag
   21437   IFS=$ac_save_IFS
   21438   shift
   21439   ac_file=$1
   21440   shift
   21441 
   21442   case $ac_mode in
   21443   :L) ac_source=$1;;
   21444   :[FH])
   21445     ac_file_inputs=
   21446     for ac_f
   21447     do
   21448       case $ac_f in
   21449       -) ac_f="$ac_tmp/stdin";;
   21450       *) # Look for the file first in the build tree, then in the source tree
   21451 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21452 	 # because $ac_f cannot contain `:'.
   21453 	 test -f "$ac_f" ||
   21454 	   case $ac_f in
   21455 	   [\\/$]*) false;;
   21456 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21457 	   esac ||
   21458 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21459       esac
   21460       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21461       as_fn_append ac_file_inputs " '$ac_f'"
   21462     done
   21463 
   21464     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21465     # use $as_me), people would be surprised to read:
   21466     #    /* config.h.  Generated by config.status.  */
   21467     configure_input='Generated from '`
   21468 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21469 	`' by configure.'
   21470     if test x"$ac_file" != x-; then
   21471       configure_input="$ac_file.  $configure_input"
   21472       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21473 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21474     fi
   21475     # Neutralize special characters interpreted by sed in replacement strings.
   21476     case $configure_input in #(
   21477     *\&* | *\|* | *\\* )
   21478        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21479        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21480     *) ac_sed_conf_input=$configure_input;;
   21481     esac
   21482 
   21483     case $ac_tag in
   21484     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21485       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21486     esac
   21487     ;;
   21488   esac
   21489 
   21490   ac_dir=`$as_dirname -- "$ac_file" ||
   21491 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21492 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21493 	 X"$ac_file" : 'X\(//\)$' \| \
   21494 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21495 printf "%s\n" X"$ac_file" |
   21496     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21497 	    s//\1/
   21498 	    q
   21499 	  }
   21500 	  /^X\(\/\/\)[^/].*/{
   21501 	    s//\1/
   21502 	    q
   21503 	  }
   21504 	  /^X\(\/\/\)$/{
   21505 	    s//\1/
   21506 	    q
   21507 	  }
   21508 	  /^X\(\/\).*/{
   21509 	    s//\1/
   21510 	    q
   21511 	  }
   21512 	  s/.*/./; q'`
   21513   as_dir="$ac_dir"; as_fn_mkdir_p
   21514   ac_builddir=.
   21515 
   21516 case "$ac_dir" in
   21517 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21518 *)
   21519   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21520   # A ".." for each directory in $ac_dir_suffix.
   21521   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21522   case $ac_top_builddir_sub in
   21523   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21524   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21525   esac ;;
   21526 esac
   21527 ac_abs_top_builddir=$ac_pwd
   21528 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21529 # for backward compatibility:
   21530 ac_top_builddir=$ac_top_build_prefix
   21531 
   21532 case $srcdir in
   21533   .)  # We are building in place.
   21534     ac_srcdir=.
   21535     ac_top_srcdir=$ac_top_builddir_sub
   21536     ac_abs_top_srcdir=$ac_pwd ;;
   21537   [\\/]* | ?:[\\/]* )  # Absolute name.
   21538     ac_srcdir=$srcdir$ac_dir_suffix;
   21539     ac_top_srcdir=$srcdir
   21540     ac_abs_top_srcdir=$srcdir ;;
   21541   *) # Relative name.
   21542     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21543     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21544     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21545 esac
   21546 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21547 
   21548 
   21549   case $ac_mode in
   21550   :F)
   21551   #
   21552   # CONFIG_FILE
   21553   #
   21554 
   21555   case $INSTALL in
   21556   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21557   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21558   esac
   21559   ac_MKDIR_P=$MKDIR_P
   21560   case $MKDIR_P in
   21561   [\\/$]* | ?:[\\/]* ) ;;
   21562   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21563   esac
   21564 _ACEOF
   21565 
   21566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21567 # If the template does not know about datarootdir, expand it.
   21568 # FIXME: This hack should be removed a few years after 2.60.
   21569 ac_datarootdir_hack=; ac_datarootdir_seen=
   21570 ac_sed_dataroot='
   21571 /datarootdir/ {
   21572   p
   21573   q
   21574 }
   21575 /@datadir@/p
   21576 /@docdir@/p
   21577 /@infodir@/p
   21578 /@localedir@/p
   21579 /@mandir@/p'
   21580 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21581 *datarootdir*) ac_datarootdir_seen=yes;;
   21582 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21583   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21584 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21585 _ACEOF
   21586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21587   ac_datarootdir_hack='
   21588   s&@datadir@&$datadir&g
   21589   s&@docdir@&$docdir&g
   21590   s&@infodir@&$infodir&g
   21591   s&@localedir@&$localedir&g
   21592   s&@mandir@&$mandir&g
   21593   s&\\\${datarootdir}&$datarootdir&g' ;;
   21594 esac
   21595 _ACEOF
   21596 
   21597 # Neutralize VPATH when `$srcdir' = `.'.
   21598 # Shell code in configure.ac might set extrasub.
   21599 # FIXME: do we really want to maintain this feature?
   21600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21601 ac_sed_extra="$ac_vpsub
   21602 $extrasub
   21603 _ACEOF
   21604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21605 :t
   21606 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21607 s|@configure_input@|$ac_sed_conf_input|;t t
   21608 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21609 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21610 s&@srcdir@&$ac_srcdir&;t t
   21611 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21612 s&@top_srcdir@&$ac_top_srcdir&;t t
   21613 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21614 s&@builddir@&$ac_builddir&;t t
   21615 s&@abs_builddir@&$ac_abs_builddir&;t t
   21616 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21617 s&@INSTALL@&$ac_INSTALL&;t t
   21618 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21619 $ac_datarootdir_hack
   21620 "
   21621 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21622   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21623 
   21624 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21625   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21626   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21627       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21628   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21629 which seems to be undefined.  Please make sure it is defined" >&5
   21630 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21631 which seems to be undefined.  Please make sure it is defined" >&2;}
   21632 
   21633   rm -f "$ac_tmp/stdin"
   21634   case $ac_file in
   21635   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21636   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21637   esac \
   21638   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21639  ;;
   21640   :H)
   21641   #
   21642   # CONFIG_HEADER
   21643   #
   21644   if test x"$ac_file" != x-; then
   21645     {
   21646       printf "%s\n" "/* $configure_input  */" >&1 \
   21647       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21648     } >"$ac_tmp/config.h" \
   21649       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21650     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21651       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21652 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21653     else
   21654       rm -f "$ac_file"
   21655       mv "$ac_tmp/config.h" "$ac_file" \
   21656 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21657     fi
   21658   else
   21659     printf "%s\n" "/* $configure_input  */" >&1 \
   21660       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21661       || as_fn_error $? "could not create -" "$LINENO" 5
   21662   fi
   21663 # Compute "$ac_file"'s index in $config_headers.
   21664 _am_arg="$ac_file"
   21665 _am_stamp_count=1
   21666 for _am_header in $config_headers :; do
   21667   case $_am_header in
   21668     $_am_arg | $_am_arg:* )
   21669       break ;;
   21670     * )
   21671       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21672   esac
   21673 done
   21674 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21675 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21676 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21677 	 X"$_am_arg" : 'X\(//\)$' \| \
   21678 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21679 printf "%s\n" X"$_am_arg" |
   21680     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21681 	    s//\1/
   21682 	    q
   21683 	  }
   21684 	  /^X\(\/\/\)[^/].*/{
   21685 	    s//\1/
   21686 	    q
   21687 	  }
   21688 	  /^X\(\/\/\)$/{
   21689 	    s//\1/
   21690 	    q
   21691 	  }
   21692 	  /^X\(\/\).*/{
   21693 	    s//\1/
   21694 	    q
   21695 	  }
   21696 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21697  ;;
   21698 
   21699   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21700 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21701  ;;
   21702   esac
   21703 
   21704 
   21705   case $ac_file$ac_mode in
   21706     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21707   # Older Autoconf quotes --file arguments for eval, but not when files
   21708   # are listed without --file.  Let's play safe and only enable the eval
   21709   # if we detect the quoting.
   21710   # TODO: see whether this extra hack can be removed once we start
   21711   # requiring Autoconf 2.70 or later.
   21712   case $CONFIG_FILES in #(
   21713   *\'*) :
   21714     eval set x "$CONFIG_FILES" ;; #(
   21715   *) :
   21716     set x $CONFIG_FILES ;; #(
   21717   *) :
   21718      ;;
   21719 esac
   21720   shift
   21721   # Used to flag and report bootstrapping failures.
   21722   am_rc=0
   21723   for am_mf
   21724   do
   21725     # Strip MF so we end up with the name of the file.
   21726     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21727     # Check whether this is an Automake generated Makefile which includes
   21728     # dependency-tracking related rules and includes.
   21729     # Grep'ing the whole file directly is not great: AIX grep has a line
   21730     # limit of 2048, but all sed's we know have understand at least 4000.
   21731     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21732       || continue
   21733     am_dirpart=`$as_dirname -- "$am_mf" ||
   21734 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21735 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21736 	 X"$am_mf" : 'X\(//\)$' \| \
   21737 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21738 printf "%s\n" X"$am_mf" |
   21739     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21740 	    s//\1/
   21741 	    q
   21742 	  }
   21743 	  /^X\(\/\/\)[^/].*/{
   21744 	    s//\1/
   21745 	    q
   21746 	  }
   21747 	  /^X\(\/\/\)$/{
   21748 	    s//\1/
   21749 	    q
   21750 	  }
   21751 	  /^X\(\/\).*/{
   21752 	    s//\1/
   21753 	    q
   21754 	  }
   21755 	  s/.*/./; q'`
   21756     am_filepart=`$as_basename -- "$am_mf" ||
   21757 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21758 	 X"$am_mf" : 'X\(//\)$' \| \
   21759 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21760 printf "%s\n" X/"$am_mf" |
   21761     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21762 	    s//\1/
   21763 	    q
   21764 	  }
   21765 	  /^X\/\(\/\/\)$/{
   21766 	    s//\1/
   21767 	    q
   21768 	  }
   21769 	  /^X\/\(\/\).*/{
   21770 	    s//\1/
   21771 	    q
   21772 	  }
   21773 	  s/.*/./; q'`
   21774     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21775       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21776         | $MAKE -f - am--depfiles" >&5
   21777    (cd "$am_dirpart" \
   21778       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21779         | $MAKE -f - am--depfiles) >&5 2>&5
   21780    ac_status=$?
   21781    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21782    (exit $ac_status); } || am_rc=$?
   21783   done
   21784   if test $am_rc -ne 0; then
   21785     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21786 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21787 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21788     for automatic dependency tracking.  If GNU make was not used, consider
   21789     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21790     necessary).  You can also try re-running configure with the
   21791     '--disable-dependency-tracking' option to at least be able to build
   21792     the package (albeit without support for automatic dependency tracking).
   21793 See \`config.log' for more details" "$LINENO" 5; }
   21794   fi
   21795   { am_dirpart=; unset am_dirpart;}
   21796   { am_filepart=; unset am_filepart;}
   21797   { am_mf=; unset am_mf;}
   21798   { am_rc=; unset am_rc;}
   21799   rm -f conftest-deps.mk
   21800 }
   21801  ;;
   21802     "libtool":C)
   21803 
   21804     # See if we are running on zsh, and set the options that allow our
   21805     # commands through without removal of \ escapes.
   21806     if test -n "${ZSH_VERSION+set}"; then
   21807       setopt NO_GLOB_SUBST
   21808     fi
   21809 
   21810     cfgfile=${ofile}T
   21811     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21812     $RM "$cfgfile"
   21813 
   21814     cat <<_LT_EOF >> "$cfgfile"
   21815 #! $SHELL
   21816 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21817 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21818 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21819 
   21820 # Provide generalized library-building support services.
   21821 # Written by Gordon Matzigkeit, 1996
   21822 
   21823 # Copyright (C) 2014 Free Software Foundation, Inc.
   21824 # This is free software; see the source for copying conditions.  There is NO
   21825 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21826 
   21827 # GNU Libtool is free software; you can redistribute it and/or modify
   21828 # it under the terms of the GNU General Public License as published by
   21829 # the Free Software Foundation; either version 2 of of the License, or
   21830 # (at your option) any later version.
   21831 #
   21832 # As a special exception to the GNU General Public License, if you
   21833 # distribute this file as part of a program or library that is built
   21834 # using GNU Libtool, you may include this file under the  same
   21835 # distribution terms that you use for the rest of that program.
   21836 #
   21837 # GNU Libtool is distributed in the hope that it will be useful, but
   21838 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21839 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21840 # GNU General Public License for more details.
   21841 #
   21842 # You should have received a copy of the GNU General Public License
   21843 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21844 
   21845 
   21846 # The names of the tagged configurations supported by this script.
   21847 available_tags=''
   21848 
   21849 # Configured defaults for sys_lib_dlsearch_path munging.
   21850 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21851 
   21852 # ### BEGIN LIBTOOL CONFIG
   21853 
   21854 # Which release of libtool.m4 was used?
   21855 macro_version=$macro_version
   21856 macro_revision=$macro_revision
   21857 
   21858 # Whether or not to build shared libraries.
   21859 build_libtool_libs=$enable_shared
   21860 
   21861 # Whether or not to build static libraries.
   21862 build_old_libs=$enable_static
   21863 
   21864 # What type of objects to build.
   21865 pic_mode=$pic_mode
   21866 
   21867 # Whether or not to optimize for fast installation.
   21868 fast_install=$enable_fast_install
   21869 
   21870 # Shared archive member basename,for filename based shared library versioning on AIX.
   21871 shared_archive_member_spec=$shared_archive_member_spec
   21872 
   21873 # Shell to use when invoking shell scripts.
   21874 SHELL=$lt_SHELL
   21875 
   21876 # An echo program that protects backslashes.
   21877 ECHO=$lt_ECHO
   21878 
   21879 # The PATH separator for the build system.
   21880 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21881 
   21882 # The host system.
   21883 host_alias=$host_alias
   21884 host=$host
   21885 host_os=$host_os
   21886 
   21887 # The build system.
   21888 build_alias=$build_alias
   21889 build=$build
   21890 build_os=$build_os
   21891 
   21892 # A sed program that does not truncate output.
   21893 SED=$lt_SED
   21894 
   21895 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21896 Xsed="\$SED -e 1s/^X//"
   21897 
   21898 # A grep program that handles long lines.
   21899 GREP=$lt_GREP
   21900 
   21901 # An ERE matcher.
   21902 EGREP=$lt_EGREP
   21903 
   21904 # A literal string matcher.
   21905 FGREP=$lt_FGREP
   21906 
   21907 # A BSD- or MS-compatible name lister.
   21908 NM=$lt_NM
   21909 
   21910 # Whether we need soft or hard links.
   21911 LN_S=$lt_LN_S
   21912 
   21913 # What is the maximum length of a command?
   21914 max_cmd_len=$max_cmd_len
   21915 
   21916 # Object file suffix (normally "o").
   21917 objext=$ac_objext
   21918 
   21919 # Executable file suffix (normally "").
   21920 exeext=$exeext
   21921 
   21922 # whether the shell understands "unset".
   21923 lt_unset=$lt_unset
   21924 
   21925 # turn spaces into newlines.
   21926 SP2NL=$lt_lt_SP2NL
   21927 
   21928 # turn newlines into spaces.
   21929 NL2SP=$lt_lt_NL2SP
   21930 
   21931 # convert \$build file names to \$host format.
   21932 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21933 
   21934 # convert \$build files to toolchain format.
   21935 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21936 
   21937 # A file(cmd) program that detects file types.
   21938 FILECMD=$lt_FILECMD
   21939 
   21940 # An object symbol dumper.
   21941 OBJDUMP=$lt_OBJDUMP
   21942 
   21943 # Method to check whether dependent libraries are shared objects.
   21944 deplibs_check_method=$lt_deplibs_check_method
   21945 
   21946 # Command to use when deplibs_check_method = "file_magic".
   21947 file_magic_cmd=$lt_file_magic_cmd
   21948 
   21949 # How to find potential files when deplibs_check_method = "file_magic".
   21950 file_magic_glob=$lt_file_magic_glob
   21951 
   21952 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21953 want_nocaseglob=$lt_want_nocaseglob
   21954 
   21955 # DLL creation program.
   21956 DLLTOOL=$lt_DLLTOOL
   21957 
   21958 # Command to associate shared and link libraries.
   21959 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21960 
   21961 # The archiver.
   21962 AR=$lt_AR
   21963 
   21964 # Flags to create an archive (by configure).
   21965 lt_ar_flags=$lt_ar_flags
   21966 
   21967 # Flags to create an archive.
   21968 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21969 
   21970 # How to feed a file listing to the archiver.
   21971 archiver_list_spec=$lt_archiver_list_spec
   21972 
   21973 # A symbol stripping program.
   21974 STRIP=$lt_STRIP
   21975 
   21976 # Commands used to install an old-style archive.
   21977 RANLIB=$lt_RANLIB
   21978 old_postinstall_cmds=$lt_old_postinstall_cmds
   21979 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21980 
   21981 # Whether to use a lock for old archive extraction.
   21982 lock_old_archive_extraction=$lock_old_archive_extraction
   21983 
   21984 # A C compiler.
   21985 LTCC=$lt_CC
   21986 
   21987 # LTCC compiler flags.
   21988 LTCFLAGS=$lt_CFLAGS
   21989 
   21990 # Take the output of nm and produce a listing of raw symbols and C names.
   21991 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21992 
   21993 # Transform the output of nm in a proper C declaration.
   21994 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21995 
   21996 # Transform the output of nm into a list of symbols to manually relocate.
   21997 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21998 
   21999 # Transform the output of nm in a C name address pair.
   22000 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22001 
   22002 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22003 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22004 
   22005 # The name lister interface.
   22006 nm_interface=$lt_lt_cv_nm_interface
   22007 
   22008 # Specify filename containing input files for \$NM.
   22009 nm_file_list_spec=$lt_nm_file_list_spec
   22010 
   22011 # The root where to search for dependent libraries,and where our libraries should be installed.
   22012 lt_sysroot=$lt_sysroot
   22013 
   22014 # Command to truncate a binary pipe.
   22015 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22016 
   22017 # The name of the directory that contains temporary libtool files.
   22018 objdir=$objdir
   22019 
   22020 # Used to examine libraries when file_magic_cmd begins with "file".
   22021 MAGIC_CMD=$MAGIC_CMD
   22022 
   22023 # Must we lock files when doing compilation?
   22024 need_locks=$lt_need_locks
   22025 
   22026 # Manifest tool.
   22027 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22028 
   22029 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22030 DSYMUTIL=$lt_DSYMUTIL
   22031 
   22032 # Tool to change global to local symbols on Mac OS X.
   22033 NMEDIT=$lt_NMEDIT
   22034 
   22035 # Tool to manipulate fat objects and archives on Mac OS X.
   22036 LIPO=$lt_LIPO
   22037 
   22038 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22039 OTOOL=$lt_OTOOL
   22040 
   22041 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22042 OTOOL64=$lt_OTOOL64
   22043 
   22044 # Old archive suffix (normally "a").
   22045 libext=$libext
   22046 
   22047 # Shared library suffix (normally ".so").
   22048 shrext_cmds=$lt_shrext_cmds
   22049 
   22050 # The commands to extract the exported symbol list from a shared archive.
   22051 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22052 
   22053 # Variables whose values should be saved in libtool wrapper scripts and
   22054 # restored at link time.
   22055 variables_saved_for_relink=$lt_variables_saved_for_relink
   22056 
   22057 # Do we need the "lib" prefix for modules?
   22058 need_lib_prefix=$need_lib_prefix
   22059 
   22060 # Do we need a version for libraries?
   22061 need_version=$need_version
   22062 
   22063 # Library versioning type.
   22064 version_type=$version_type
   22065 
   22066 # Shared library runtime path variable.
   22067 runpath_var=$runpath_var
   22068 
   22069 # Shared library path variable.
   22070 shlibpath_var=$shlibpath_var
   22071 
   22072 # Is shlibpath searched before the hard-coded library search path?
   22073 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22074 
   22075 # Format of library name prefix.
   22076 libname_spec=$lt_libname_spec
   22077 
   22078 # List of archive names.  First name is the real one, the rest are links.
   22079 # The last name is the one that the linker finds with -lNAME
   22080 library_names_spec=$lt_library_names_spec
   22081 
   22082 # The coded name of the library, if different from the real name.
   22083 soname_spec=$lt_soname_spec
   22084 
   22085 # Permission mode override for installation of shared libraries.
   22086 install_override_mode=$lt_install_override_mode
   22087 
   22088 # Command to use after installation of a shared archive.
   22089 postinstall_cmds=$lt_postinstall_cmds
   22090 
   22091 # Command to use after uninstallation of a shared archive.
   22092 postuninstall_cmds=$lt_postuninstall_cmds
   22093 
   22094 # Commands used to finish a libtool library installation in a directory.
   22095 finish_cmds=$lt_finish_cmds
   22096 
   22097 # As "finish_cmds", except a single script fragment to be evaled but
   22098 # not shown.
   22099 finish_eval=$lt_finish_eval
   22100 
   22101 # Whether we should hardcode library paths into libraries.
   22102 hardcode_into_libs=$hardcode_into_libs
   22103 
   22104 # Compile-time system search path for libraries.
   22105 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22106 
   22107 # Detected run-time system search path for libraries.
   22108 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22109 
   22110 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22111 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22112 
   22113 # Whether dlopen is supported.
   22114 dlopen_support=$enable_dlopen
   22115 
   22116 # Whether dlopen of programs is supported.
   22117 dlopen_self=$enable_dlopen_self
   22118 
   22119 # Whether dlopen of statically linked programs is supported.
   22120 dlopen_self_static=$enable_dlopen_self_static
   22121 
   22122 # Commands to strip libraries.
   22123 old_striplib=$lt_old_striplib
   22124 striplib=$lt_striplib
   22125 
   22126 
   22127 # The linker used to build libraries.
   22128 LD=$lt_LD
   22129 
   22130 # How to create reloadable object files.
   22131 reload_flag=$lt_reload_flag
   22132 reload_cmds=$lt_reload_cmds
   22133 
   22134 # Commands used to build an old-style archive.
   22135 old_archive_cmds=$lt_old_archive_cmds
   22136 
   22137 # A language specific compiler.
   22138 CC=$lt_compiler
   22139 
   22140 # Is the compiler the GNU compiler?
   22141 with_gcc=$GCC
   22142 
   22143 # Compiler flag to turn off builtin functions.
   22144 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22145 
   22146 # Additional compiler flags for building library objects.
   22147 pic_flag=$lt_lt_prog_compiler_pic
   22148 
   22149 # How to pass a linker flag through the compiler.
   22150 wl=$lt_lt_prog_compiler_wl
   22151 
   22152 # Compiler flag to prevent dynamic linking.
   22153 link_static_flag=$lt_lt_prog_compiler_static
   22154 
   22155 # Does compiler simultaneously support -c and -o options?
   22156 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22157 
   22158 # Whether or not to add -lc for building shared libraries.
   22159 build_libtool_need_lc=$archive_cmds_need_lc
   22160 
   22161 # Whether or not to disallow shared libs when runtime libs are static.
   22162 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22163 
   22164 # Compiler flag to allow reflexive dlopens.
   22165 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22166 
   22167 # Compiler flag to generate shared objects directly from archives.
   22168 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22169 
   22170 # Whether the compiler copes with passing no objects directly.
   22171 compiler_needs_object=$lt_compiler_needs_object
   22172 
   22173 # Create an old-style archive from a shared archive.
   22174 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22175 
   22176 # Create a temporary old-style archive to link instead of a shared archive.
   22177 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22178 
   22179 # Commands used to build a shared archive.
   22180 archive_cmds=$lt_archive_cmds
   22181 archive_expsym_cmds=$lt_archive_expsym_cmds
   22182 
   22183 # Commands used to build a loadable module if different from building
   22184 # a shared archive.
   22185 module_cmds=$lt_module_cmds
   22186 module_expsym_cmds=$lt_module_expsym_cmds
   22187 
   22188 # Whether we are building with GNU ld or not.
   22189 with_gnu_ld=$lt_with_gnu_ld
   22190 
   22191 # Flag that allows shared libraries with undefined symbols to be built.
   22192 allow_undefined_flag=$lt_allow_undefined_flag
   22193 
   22194 # Flag that enforces no undefined symbols.
   22195 no_undefined_flag=$lt_no_undefined_flag
   22196 
   22197 # Flag to hardcode \$libdir into a binary during linking.
   22198 # This must work even if \$libdir does not exist
   22199 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22200 
   22201 # Whether we need a single "-rpath" flag with a separated argument.
   22202 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22203 
   22204 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22205 # DIR into the resulting binary.
   22206 hardcode_direct=$hardcode_direct
   22207 
   22208 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22209 # DIR into the resulting binary and the resulting library dependency is
   22210 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22211 # library is relocated.
   22212 hardcode_direct_absolute=$hardcode_direct_absolute
   22213 
   22214 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22215 # into the resulting binary.
   22216 hardcode_minus_L=$hardcode_minus_L
   22217 
   22218 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22219 # into the resulting binary.
   22220 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22221 
   22222 # Set to "yes" if building a shared library automatically hardcodes DIR
   22223 # into the library and all subsequent libraries and executables linked
   22224 # against it.
   22225 hardcode_automatic=$hardcode_automatic
   22226 
   22227 # Set to yes if linker adds runtime paths of dependent libraries
   22228 # to runtime path list.
   22229 inherit_rpath=$inherit_rpath
   22230 
   22231 # Whether libtool must link a program against all its dependency libraries.
   22232 link_all_deplibs=$link_all_deplibs
   22233 
   22234 # Set to "yes" if exported symbols are required.
   22235 always_export_symbols=$always_export_symbols
   22236 
   22237 # The commands to list exported symbols.
   22238 export_symbols_cmds=$lt_export_symbols_cmds
   22239 
   22240 # Symbols that should not be listed in the preloaded symbols.
   22241 exclude_expsyms=$lt_exclude_expsyms
   22242 
   22243 # Symbols that must always be exported.
   22244 include_expsyms=$lt_include_expsyms
   22245 
   22246 # Commands necessary for linking programs (against libraries) with templates.
   22247 prelink_cmds=$lt_prelink_cmds
   22248 
   22249 # Commands necessary for finishing linking programs.
   22250 postlink_cmds=$lt_postlink_cmds
   22251 
   22252 # Specify filename containing input files.
   22253 file_list_spec=$lt_file_list_spec
   22254 
   22255 # How to hardcode a shared library path into an executable.
   22256 hardcode_action=$hardcode_action
   22257 
   22258 # ### END LIBTOOL CONFIG
   22259 
   22260 _LT_EOF
   22261 
   22262     cat <<'_LT_EOF' >> "$cfgfile"
   22263 
   22264 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22265 
   22266 # func_munge_path_list VARIABLE PATH
   22267 # -----------------------------------
   22268 # VARIABLE is name of variable containing _space_ separated list of
   22269 # directories to be munged by the contents of PATH, which is string
   22270 # having a format:
   22271 # "DIR[:DIR]:"
   22272 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22273 # ":DIR[:DIR]"
   22274 #       string "DIR[ DIR]" will be appended to VARIABLE
   22275 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22276 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22277 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22278 # "DIR[:DIR]"
   22279 #       VARIABLE will be replaced by "DIR[ DIR]"
   22280 func_munge_path_list ()
   22281 {
   22282     case x$2 in
   22283     x)
   22284         ;;
   22285     *:)
   22286         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22287         ;;
   22288     x:*)
   22289         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22290         ;;
   22291     *::*)
   22292         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22293         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22294         ;;
   22295     *)
   22296         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22297         ;;
   22298     esac
   22299 }
   22300 
   22301 
   22302 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22303 func_cc_basename ()
   22304 {
   22305     for cc_temp in $*""; do
   22306       case $cc_temp in
   22307         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22308         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22309         \-*) ;;
   22310         *) break;;
   22311       esac
   22312     done
   22313     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22314 }
   22315 
   22316 
   22317 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22318 
   22319 _LT_EOF
   22320 
   22321   case $host_os in
   22322   aix3*)
   22323     cat <<\_LT_EOF >> "$cfgfile"
   22324 # AIX sometimes has problems with the GCC collect2 program.  For some
   22325 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22326 # vanish in a puff of smoke.
   22327 if test set != "${COLLECT_NAMES+set}"; then
   22328   COLLECT_NAMES=
   22329   export COLLECT_NAMES
   22330 fi
   22331 _LT_EOF
   22332     ;;
   22333   esac
   22334 
   22335 
   22336 
   22337 ltmain=$ac_aux_dir/ltmain.sh
   22338 
   22339 
   22340   # We use sed instead of cat because bash on DJGPP gets confused if
   22341   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22342   # text mode, it properly converts lines to CR/LF.  This bash problem
   22343   # is reportedly fixed, but why not run on old versions too?
   22344   $SED '$q' "$ltmain" >> "$cfgfile" \
   22345      || (rm -f "$cfgfile"; exit 1)
   22346 
   22347    mv -f "$cfgfile" "$ofile" ||
   22348     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22349   chmod +x "$ofile"
   22350 
   22351  ;;
   22352 
   22353   esac
   22354 done # for ac_tag
   22355 
   22356 
   22357 as_fn_exit 0
   22358 _ACEOF
   22359 ac_clean_files=$ac_clean_files_save
   22360 
   22361 test $ac_write_fail = 0 ||
   22362   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22363 
   22364 
   22365 # configure is writing to config.log, and then calls config.status.
   22366 # config.status does its own redirection, appending to config.log.
   22367 # Unfortunately, on DOS this fails, as config.log is still kept open
   22368 # by configure, so config.status won't be able to write to it; its
   22369 # output is simply discarded.  So we exec the FD to /dev/null,
   22370 # effectively closing config.log, so it can be properly (re)opened and
   22371 # appended to by config.status.  When coming back to configure, we
   22372 # need to make the FD available again.
   22373 if test "$no_create" != yes; then
   22374   ac_cs_success=:
   22375   ac_config_status_args=
   22376   test "$silent" = yes &&
   22377     ac_config_status_args="$ac_config_status_args --quiet"
   22378   exec 5>/dev/null
   22379   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22380   exec 5>>config.log
   22381   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22382   # would make configure fail if this is the last instruction.
   22383   $ac_cs_success || as_fn_exit 1
   22384 fi
   22385 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22386   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22387 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22388 fi
   22389 
   22390 
   22391