Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXft 2.3.4.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXft/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/libXft/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='libXft'
    624 PACKAGE_TARNAME='libXft'
    625 PACKAGE_VERSION='2.3.4'
    626 PACKAGE_STRING='libXft 2.3.4'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libXft/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 FONTCONFIG_LIBS
    668 FONTCONFIG_CFLAGS
    669 FREETYPE_LIBS
    670 FREETYPE_CFLAGS
    671 XRENDER_LIBS
    672 XRENDER_CFLAGS
    673 XFT_LT_VERSION
    674 MAN_SUBSTS
    675 XORG_MAN_PAGE
    676 ADMIN_MAN_DIR
    677 DRIVER_MAN_DIR
    678 MISC_MAN_DIR
    679 FILE_MAN_DIR
    680 LIB_MAN_DIR
    681 APP_MAN_DIR
    682 ADMIN_MAN_SUFFIX
    683 DRIVER_MAN_SUFFIX
    684 MISC_MAN_SUFFIX
    685 FILE_MAN_SUFFIX
    686 LIB_MAN_SUFFIX
    687 APP_MAN_SUFFIX
    688 INSTALL_CMD
    689 PKG_CONFIG_LIBDIR
    690 PKG_CONFIG_PATH
    691 PKG_CONFIG
    692 CHANGELOG_CMD
    693 STRICT_CFLAGS
    694 CWARNFLAGS
    695 BASE_CFLAGS
    696 LT_SYS_LIBRARY_PATH
    697 OTOOL64
    698 OTOOL
    699 LIPO
    700 NMEDIT
    701 DSYMUTIL
    702 MANIFEST_TOOL
    703 RANLIB
    704 ac_ct_AR
    705 AR
    706 DLLTOOL
    707 OBJDUMP
    708 LN_S
    709 NM
    710 ac_ct_DUMPBIN
    711 DUMPBIN
    712 LD
    713 FGREP
    714 EGREP
    715 GREP
    716 SED
    717 am__fastdepCC_FALSE
    718 am__fastdepCC_TRUE
    719 CCDEPMODE
    720 am__nodep
    721 AMDEPBACKSLASH
    722 AMDEP_FALSE
    723 AMDEP_TRUE
    724 am__include
    725 DEPDIR
    726 OBJEXT
    727 EXEEXT
    728 ac_ct_CC
    729 CPPFLAGS
    730 LDFLAGS
    731 CFLAGS
    732 CC
    733 host_os
    734 host_vendor
    735 host_cpu
    736 host
    737 build_os
    738 build_vendor
    739 build_cpu
    740 build
    741 LIBTOOL
    742 AM_BACKSLASH
    743 AM_DEFAULT_VERBOSITY
    744 AM_DEFAULT_V
    745 AM_V
    746 CSCOPE
    747 ETAGS
    748 CTAGS
    749 am__untar
    750 am__tar
    751 AMTAR
    752 am__leading_dot
    753 SET_MAKE
    754 AWK
    755 mkdir_p
    756 MKDIR_P
    757 INSTALL_STRIP_PROGRAM
    758 STRIP
    759 install_sh
    760 MAKEINFO
    761 AUTOHEADER
    762 AUTOMAKE
    763 AUTOCONF
    764 ACLOCAL
    765 VERSION
    766 PACKAGE
    767 CYGPATH_W
    768 am__isrc
    769 INSTALL_DATA
    770 INSTALL_SCRIPT
    771 INSTALL_PROGRAM
    772 target_alias
    773 host_alias
    774 build_alias
    775 LIBS
    776 ECHO_T
    777 ECHO_N
    778 ECHO_C
    779 DEFS
    780 mandir
    781 localedir
    782 libdir
    783 psdir
    784 pdfdir
    785 dvidir
    786 htmldir
    787 infodir
    788 docdir
    789 oldincludedir
    790 includedir
    791 runstatedir
    792 localstatedir
    793 sharedstatedir
    794 sysconfdir
    795 datadir
    796 datarootdir
    797 libexecdir
    798 sbindir
    799 bindir
    800 program_transform_name
    801 prefix
    802 exec_prefix
    803 PACKAGE_URL
    804 PACKAGE_BUGREPORT
    805 PACKAGE_STRING
    806 PACKAGE_VERSION
    807 PACKAGE_TARNAME
    808 PACKAGE_NAME
    809 PATH_SEPARATOR
    810 SHELL
    811 am__quote'
    812 ac_subst_files=''
    813 ac_user_opts='
    814 enable_option_checking
    815 enable_silent_rules
    816 enable_shared
    817 enable_static
    818 with_pic
    819 enable_fast_install
    820 with_aix_soname
    821 enable_dependency_tracking
    822 with_gnu_ld
    823 with_sysroot
    824 enable_libtool_lock
    825 enable_selective_werror
    826 enable_strict_compilation
    827 '
    828       ac_precious_vars='build_alias
    829 host_alias
    830 target_alias
    831 CC
    832 CFLAGS
    833 LDFLAGS
    834 LIBS
    835 CPPFLAGS
    836 LT_SYS_LIBRARY_PATH
    837 PKG_CONFIG
    838 PKG_CONFIG_PATH
    839 PKG_CONFIG_LIBDIR
    840 XRENDER_CFLAGS
    841 XRENDER_LIBS
    842 FREETYPE_CFLAGS
    843 FREETYPE_LIBS
    844 FONTCONFIG_CFLAGS
    845 FONTCONFIG_LIBS'
    846 
    847 
    848 # Initialize some variables set by options.
    849 ac_init_help=
    850 ac_init_version=false
    851 ac_unrecognized_opts=
    852 ac_unrecognized_sep=
    853 # The variables have the same names as the options, with
    854 # dashes changed to underlines.
    855 cache_file=/dev/null
    856 exec_prefix=NONE
    857 no_create=
    858 no_recursion=
    859 prefix=NONE
    860 program_prefix=NONE
    861 program_suffix=NONE
    862 program_transform_name=s,x,x,
    863 silent=
    864 site=
    865 srcdir=
    866 verbose=
    867 x_includes=NONE
    868 x_libraries=NONE
    869 
    870 # Installation directory options.
    871 # These are left unexpanded so users can "make install exec_prefix=/foo"
    872 # and all the variables that are supposed to be based on exec_prefix
    873 # by default will actually change.
    874 # Use braces instead of parens because sh, perl, etc. also accept them.
    875 # (The list follows the same order as the GNU Coding Standards.)
    876 bindir='${exec_prefix}/bin'
    877 sbindir='${exec_prefix}/sbin'
    878 libexecdir='${exec_prefix}/libexec'
    879 datarootdir='${prefix}/share'
    880 datadir='${datarootdir}'
    881 sysconfdir='${prefix}/etc'
    882 sharedstatedir='${prefix}/com'
    883 localstatedir='${prefix}/var'
    884 runstatedir='${localstatedir}/run'
    885 includedir='${prefix}/include'
    886 oldincludedir='/usr/include'
    887 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    888 infodir='${datarootdir}/info'
    889 htmldir='${docdir}'
    890 dvidir='${docdir}'
    891 pdfdir='${docdir}'
    892 psdir='${docdir}'
    893 libdir='${exec_prefix}/lib'
    894 localedir='${datarootdir}/locale'
    895 mandir='${datarootdir}/man'
    896 
    897 ac_prev=
    898 ac_dashdash=
    899 for ac_option
    900 do
    901   # If the previous option needs an argument, assign it.
    902   if test -n "$ac_prev"; then
    903     eval $ac_prev=\$ac_option
    904     ac_prev=
    905     continue
    906   fi
    907 
    908   case $ac_option in
    909   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    910   *=)   ac_optarg= ;;
    911   *)    ac_optarg=yes ;;
    912   esac
    913 
    914   case $ac_dashdash$ac_option in
    915   --)
    916     ac_dashdash=yes ;;
    917 
    918   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    919     ac_prev=bindir ;;
    920   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    921     bindir=$ac_optarg ;;
    922 
    923   -build | --build | --buil | --bui | --bu)
    924     ac_prev=build_alias ;;
    925   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    926     build_alias=$ac_optarg ;;
    927 
    928   -cache-file | --cache-file | --cache-fil | --cache-fi \
    929   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    930     ac_prev=cache_file ;;
    931   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    932   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    933     cache_file=$ac_optarg ;;
    934 
    935   --config-cache | -C)
    936     cache_file=config.cache ;;
    937 
    938   -datadir | --datadir | --datadi | --datad)
    939     ac_prev=datadir ;;
    940   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    941     datadir=$ac_optarg ;;
    942 
    943   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    944   | --dataroo | --dataro | --datar)
    945     ac_prev=datarootdir ;;
    946   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    947   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    948     datarootdir=$ac_optarg ;;
    949 
    950   -disable-* | --disable-*)
    951     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    952     # Reject names that are not valid shell variable names.
    953     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    954       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    955     ac_useropt_orig=$ac_useropt
    956     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    957     case $ac_user_opts in
    958       *"
    959 "enable_$ac_useropt"
    960 "*) ;;
    961       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    962 	 ac_unrecognized_sep=', ';;
    963     esac
    964     eval enable_$ac_useropt=no ;;
    965 
    966   -docdir | --docdir | --docdi | --doc | --do)
    967     ac_prev=docdir ;;
    968   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    969     docdir=$ac_optarg ;;
    970 
    971   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    972     ac_prev=dvidir ;;
    973   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    974     dvidir=$ac_optarg ;;
    975 
    976   -enable-* | --enable-*)
    977     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    978     # Reject names that are not valid shell variable names.
    979     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    980       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    981     ac_useropt_orig=$ac_useropt
    982     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    983     case $ac_user_opts in
    984       *"
    985 "enable_$ac_useropt"
    986 "*) ;;
    987       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    988 	 ac_unrecognized_sep=', ';;
    989     esac
    990     eval enable_$ac_useropt=\$ac_optarg ;;
    991 
    992   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    993   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    994   | --exec | --exe | --ex)
    995     ac_prev=exec_prefix ;;
    996   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    997   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    998   | --exec=* | --exe=* | --ex=*)
    999     exec_prefix=$ac_optarg ;;
   1000 
   1001   -gas | --gas | --ga | --g)
   1002     # Obsolete; use --with-gas.
   1003     with_gas=yes ;;
   1004 
   1005   -help | --help | --hel | --he | -h)
   1006     ac_init_help=long ;;
   1007   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1008     ac_init_help=recursive ;;
   1009   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1010     ac_init_help=short ;;
   1011 
   1012   -host | --host | --hos | --ho)
   1013     ac_prev=host_alias ;;
   1014   -host=* | --host=* | --hos=* | --ho=*)
   1015     host_alias=$ac_optarg ;;
   1016 
   1017   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1018     ac_prev=htmldir ;;
   1019   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1020   | --ht=*)
   1021     htmldir=$ac_optarg ;;
   1022 
   1023   -includedir | --includedir | --includedi | --included | --include \
   1024   | --includ | --inclu | --incl | --inc)
   1025     ac_prev=includedir ;;
   1026   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1027   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1028     includedir=$ac_optarg ;;
   1029 
   1030   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1031     ac_prev=infodir ;;
   1032   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1033     infodir=$ac_optarg ;;
   1034 
   1035   -libdir | --libdir | --libdi | --libd)
   1036     ac_prev=libdir ;;
   1037   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1038     libdir=$ac_optarg ;;
   1039 
   1040   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1041   | --libexe | --libex | --libe)
   1042     ac_prev=libexecdir ;;
   1043   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1044   | --libexe=* | --libex=* | --libe=*)
   1045     libexecdir=$ac_optarg ;;
   1046 
   1047   -localedir | --localedir | --localedi | --localed | --locale)
   1048     ac_prev=localedir ;;
   1049   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1050     localedir=$ac_optarg ;;
   1051 
   1052   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1053   | --localstate | --localstat | --localsta | --localst | --locals)
   1054     ac_prev=localstatedir ;;
   1055   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1056   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1057     localstatedir=$ac_optarg ;;
   1058 
   1059   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1060     ac_prev=mandir ;;
   1061   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1062     mandir=$ac_optarg ;;
   1063 
   1064   -nfp | --nfp | --nf)
   1065     # Obsolete; use --without-fp.
   1066     with_fp=no ;;
   1067 
   1068   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1069   | --no-cr | --no-c | -n)
   1070     no_create=yes ;;
   1071 
   1072   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1073   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1074     no_recursion=yes ;;
   1075 
   1076   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1077   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1078   | --oldin | --oldi | --old | --ol | --o)
   1079     ac_prev=oldincludedir ;;
   1080   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1081   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1082   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1083     oldincludedir=$ac_optarg ;;
   1084 
   1085   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1086     ac_prev=prefix ;;
   1087   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1088     prefix=$ac_optarg ;;
   1089 
   1090   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1091   | --program-pre | --program-pr | --program-p)
   1092     ac_prev=program_prefix ;;
   1093   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1094   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1095     program_prefix=$ac_optarg ;;
   1096 
   1097   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1098   | --program-suf | --program-su | --program-s)
   1099     ac_prev=program_suffix ;;
   1100   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1101   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1102     program_suffix=$ac_optarg ;;
   1103 
   1104   -program-transform-name | --program-transform-name \
   1105   | --program-transform-nam | --program-transform-na \
   1106   | --program-transform-n | --program-transform- \
   1107   | --program-transform | --program-transfor \
   1108   | --program-transfo | --program-transf \
   1109   | --program-trans | --program-tran \
   1110   | --progr-tra | --program-tr | --program-t)
   1111     ac_prev=program_transform_name ;;
   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     program_transform_name=$ac_optarg ;;
   1120 
   1121   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1122     ac_prev=pdfdir ;;
   1123   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1124     pdfdir=$ac_optarg ;;
   1125 
   1126   -psdir | --psdir | --psdi | --psd | --ps)
   1127     ac_prev=psdir ;;
   1128   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1129     psdir=$ac_optarg ;;
   1130 
   1131   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1132   | -silent | --silent | --silen | --sile | --sil)
   1133     silent=yes ;;
   1134 
   1135   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1136   | --runstate | --runstat | --runsta | --runst | --runs \
   1137   | --run | --ru | --r)
   1138     ac_prev=runstatedir ;;
   1139   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1140   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1141   | --run=* | --ru=* | --r=*)
   1142     runstatedir=$ac_optarg ;;
   1143 
   1144   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1145     ac_prev=sbindir ;;
   1146   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1147   | --sbi=* | --sb=*)
   1148     sbindir=$ac_optarg ;;
   1149 
   1150   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1151   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1152   | --sharedst | --shareds | --shared | --share | --shar \
   1153   | --sha | --sh)
   1154     ac_prev=sharedstatedir ;;
   1155   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1156   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1157   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1158   | --sha=* | --sh=*)
   1159     sharedstatedir=$ac_optarg ;;
   1160 
   1161   -site | --site | --sit)
   1162     ac_prev=site ;;
   1163   -site=* | --site=* | --sit=*)
   1164     site=$ac_optarg ;;
   1165 
   1166   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1167     ac_prev=srcdir ;;
   1168   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1169     srcdir=$ac_optarg ;;
   1170 
   1171   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1172   | --syscon | --sysco | --sysc | --sys | --sy)
   1173     ac_prev=sysconfdir ;;
   1174   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1175   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1176     sysconfdir=$ac_optarg ;;
   1177 
   1178   -target | --target | --targe | --targ | --tar | --ta | --t)
   1179     ac_prev=target_alias ;;
   1180   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1181     target_alias=$ac_optarg ;;
   1182 
   1183   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1184     verbose=yes ;;
   1185 
   1186   -version | --version | --versio | --versi | --vers | -V)
   1187     ac_init_version=: ;;
   1188 
   1189   -with-* | --with-*)
   1190     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1191     # Reject names that are not valid shell variable names.
   1192     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1193       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1194     ac_useropt_orig=$ac_useropt
   1195     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1196     case $ac_user_opts in
   1197       *"
   1198 "with_$ac_useropt"
   1199 "*) ;;
   1200       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1201 	 ac_unrecognized_sep=', ';;
   1202     esac
   1203     eval with_$ac_useropt=\$ac_optarg ;;
   1204 
   1205   -without-* | --without-*)
   1206     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1207     # Reject names that are not valid shell variable names.
   1208     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1209       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1210     ac_useropt_orig=$ac_useropt
   1211     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1212     case $ac_user_opts in
   1213       *"
   1214 "with_$ac_useropt"
   1215 "*) ;;
   1216       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1217 	 ac_unrecognized_sep=', ';;
   1218     esac
   1219     eval with_$ac_useropt=no ;;
   1220 
   1221   --x)
   1222     # Obsolete; use --with-x.
   1223     with_x=yes ;;
   1224 
   1225   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1226   | --x-incl | --x-inc | --x-in | --x-i)
   1227     ac_prev=x_includes ;;
   1228   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1229   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1230     x_includes=$ac_optarg ;;
   1231 
   1232   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1233   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1234     ac_prev=x_libraries ;;
   1235   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1236   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1237     x_libraries=$ac_optarg ;;
   1238 
   1239   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1240 Try \`$0 --help' for more information"
   1241     ;;
   1242 
   1243   *=*)
   1244     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1245     # Reject names that are not valid shell variable names.
   1246     case $ac_envvar in #(
   1247       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1248       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1249     esac
   1250     eval $ac_envvar=\$ac_optarg
   1251     export $ac_envvar ;;
   1252 
   1253   *)
   1254     # FIXME: should be removed in autoconf 3.0.
   1255     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1256     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1257       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1258     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1259     ;;
   1260 
   1261   esac
   1262 done
   1263 
   1264 if test -n "$ac_prev"; then
   1265   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1266   as_fn_error $? "missing argument to $ac_option"
   1267 fi
   1268 
   1269 if test -n "$ac_unrecognized_opts"; then
   1270   case $enable_option_checking in
   1271     no) ;;
   1272     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1273     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1274   esac
   1275 fi
   1276 
   1277 # Check all directory arguments for consistency.
   1278 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1279 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1280 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1281 		libdir localedir mandir runstatedir
   1282 do
   1283   eval ac_val=\$$ac_var
   1284   # Remove trailing slashes.
   1285   case $ac_val in
   1286     */ )
   1287       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1288       eval $ac_var=\$ac_val;;
   1289   esac
   1290   # Be sure to have absolute directory names.
   1291   case $ac_val in
   1292     [\\/$]* | ?:[\\/]* )  continue;;
   1293     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1294   esac
   1295   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1296 done
   1297 
   1298 # There might be people who depend on the old broken behavior: `$host'
   1299 # used to hold the argument of --host etc.
   1300 # FIXME: To remove some day.
   1301 build=$build_alias
   1302 host=$host_alias
   1303 target=$target_alias
   1304 
   1305 # FIXME: To remove some day.
   1306 if test "x$host_alias" != x; then
   1307   if test "x$build_alias" = x; then
   1308     cross_compiling=maybe
   1309   elif test "x$build_alias" != "x$host_alias"; then
   1310     cross_compiling=yes
   1311   fi
   1312 fi
   1313 
   1314 ac_tool_prefix=
   1315 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1316 
   1317 test "$silent" = yes && exec 6>/dev/null
   1318 
   1319 
   1320 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1321 ac_ls_di=`ls -di .` &&
   1322 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1323   as_fn_error $? "working directory cannot be determined"
   1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1325   as_fn_error $? "pwd does not report name of working directory"
   1326 
   1327 
   1328 # Find the source files, if location was not specified.
   1329 if test -z "$srcdir"; then
   1330   ac_srcdir_defaulted=yes
   1331   # Try the directory containing this script, then the parent directory.
   1332   ac_confdir=`$as_dirname -- "$as_myself" ||
   1333 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1334 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1335 	 X"$as_myself" : 'X\(//\)$' \| \
   1336 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1337 printf "%s\n" X"$as_myself" |
   1338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1339 	    s//\1/
   1340 	    q
   1341 	  }
   1342 	  /^X\(\/\/\)[^/].*/{
   1343 	    s//\1/
   1344 	    q
   1345 	  }
   1346 	  /^X\(\/\/\)$/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  /^X\(\/\).*/{
   1351 	    s//\1/
   1352 	    q
   1353 	  }
   1354 	  s/.*/./; q'`
   1355   srcdir=$ac_confdir
   1356   if test ! -r "$srcdir/$ac_unique_file"; then
   1357     srcdir=..
   1358   fi
   1359 else
   1360   ac_srcdir_defaulted=no
   1361 fi
   1362 if test ! -r "$srcdir/$ac_unique_file"; then
   1363   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1364   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1365 fi
   1366 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1367 ac_abs_confdir=`(
   1368 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1369 	pwd)`
   1370 # When building in place, set srcdir=.
   1371 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1372   srcdir=.
   1373 fi
   1374 # Remove unnecessary trailing slashes from srcdir.
   1375 # Double slashes in file names in object file debugging info
   1376 # mess up M-x gdb in Emacs.
   1377 case $srcdir in
   1378 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1379 esac
   1380 for ac_var in $ac_precious_vars; do
   1381   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1382   eval ac_env_${ac_var}_value=\$${ac_var}
   1383   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1384   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1385 done
   1386 
   1387 #
   1388 # Report the --help message.
   1389 #
   1390 if test "$ac_init_help" = "long"; then
   1391   # Omit some internal or obsolete options to make the list less imposing.
   1392   # This message is too long to be a string in the A/UX 3.1 sh.
   1393   cat <<_ACEOF
   1394 \`configure' configures libXft 2.3.4 to adapt to many kinds of systems.
   1395 
   1396 Usage: $0 [OPTION]... [VAR=VALUE]...
   1397 
   1398 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1399 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1400 
   1401 Defaults for the options are specified in brackets.
   1402 
   1403 Configuration:
   1404   -h, --help              display this help and exit
   1405       --help=short        display options specific to this package
   1406       --help=recursive    display the short help of all the included packages
   1407   -V, --version           display version information and exit
   1408   -q, --quiet, --silent   do not print \`checking ...' messages
   1409       --cache-file=FILE   cache test results in FILE [disabled]
   1410   -C, --config-cache      alias for \`--cache-file=config.cache'
   1411   -n, --no-create         do not create output files
   1412       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1413 
   1414 Installation directories:
   1415   --prefix=PREFIX         install architecture-independent files in PREFIX
   1416                           [$ac_default_prefix]
   1417   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1418                           [PREFIX]
   1419 
   1420 By default, \`make install' will install all the files in
   1421 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1422 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1423 for instance \`--prefix=\$HOME'.
   1424 
   1425 For better control, use the options below.
   1426 
   1427 Fine tuning of the installation directories:
   1428   --bindir=DIR            user executables [EPREFIX/bin]
   1429   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1430   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1431   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1432   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1433   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1434   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1435   --libdir=DIR            object code libraries [EPREFIX/lib]
   1436   --includedir=DIR        C header files [PREFIX/include]
   1437   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1438   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1439   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1440   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1441   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1442   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1443   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXft]
   1444   --htmldir=DIR           html documentation [DOCDIR]
   1445   --dvidir=DIR            dvi documentation [DOCDIR]
   1446   --pdfdir=DIR            pdf documentation [DOCDIR]
   1447   --psdir=DIR             ps documentation [DOCDIR]
   1448 _ACEOF
   1449 
   1450   cat <<\_ACEOF
   1451 
   1452 Program names:
   1453   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1454   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1455   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1456 
   1457 System types:
   1458   --build=BUILD     configure for building on BUILD [guessed]
   1459   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1460 _ACEOF
   1461 fi
   1462 
   1463 if test -n "$ac_init_help"; then
   1464   case $ac_init_help in
   1465      short | recursive ) echo "Configuration of libXft 2.3.4:";;
   1466    esac
   1467   cat <<\_ACEOF
   1468 
   1469 Optional Features:
   1470   --disable-option-checking  ignore unrecognized --enable/--with options
   1471   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1472   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1473   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1474   --disable-silent-rules  verbose build output (undo: "make V=0")
   1475   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1476   --enable-static[=PKGS]  build static libraries [default=yes]
   1477   --enable-fast-install[=PKGS]
   1478                           optimize for fast installation [default=yes]
   1479   --enable-dependency-tracking
   1480                           do not reject slow dependency extractors
   1481   --disable-dependency-tracking
   1482                           speeds up one-time build
   1483   --disable-libtool-lock  avoid locking (might break parallel builds)
   1484   --disable-selective-werror
   1485                           Turn off selective compiler errors. (default:
   1486                           enabled)
   1487   --enable-strict-compilation
   1488                           Enable all warnings from compiler and make them
   1489                           errors (default: disabled)
   1490 
   1491 Optional Packages:
   1492   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1493   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1494   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1495                           both]
   1496   --with-aix-soname=aix|svr4|both
   1497                           shared library versioning (aka "SONAME") variant to
   1498                           provide on AIX, [default=aix].
   1499   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1500   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1501                           compiler's sysroot if not specified).
   1502 
   1503 Some influential environment variables:
   1504   CC          C compiler command
   1505   CFLAGS      C compiler flags
   1506   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1507               nonstandard directory <lib dir>
   1508   LIBS        libraries to pass to the linker, e.g. -l<library>
   1509   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1510               you have headers in a nonstandard directory <include dir>
   1511   LT_SYS_LIBRARY_PATH
   1512               User-defined run-time library search path.
   1513   PKG_CONFIG  path to pkg-config utility
   1514   PKG_CONFIG_PATH
   1515               directories to add to pkg-config's search path
   1516   PKG_CONFIG_LIBDIR
   1517               path overriding pkg-config's built-in search path
   1518   XRENDER_CFLAGS
   1519               C compiler flags for XRENDER, overriding pkg-config
   1520   XRENDER_LIBS
   1521               linker flags for XRENDER, overriding pkg-config
   1522   FREETYPE_CFLAGS
   1523               C compiler flags for FREETYPE, overriding pkg-config
   1524   FREETYPE_LIBS
   1525               linker flags for FREETYPE, overriding pkg-config
   1526   FONTCONFIG_CFLAGS
   1527               C compiler flags for FONTCONFIG, overriding pkg-config
   1528   FONTCONFIG_LIBS
   1529               linker flags for FONTCONFIG, overriding pkg-config
   1530 
   1531 Use these variables to override the choices made by `configure' or to help
   1532 it to find libraries and programs with nonstandard names/locations.
   1533 
   1534 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXft/issues>.
   1535 _ACEOF
   1536 ac_status=$?
   1537 fi
   1538 
   1539 if test "$ac_init_help" = "recursive"; then
   1540   # If there are subdirs, report their specific --help.
   1541   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1542     test -d "$ac_dir" ||
   1543       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1544       continue
   1545     ac_builddir=.
   1546 
   1547 case "$ac_dir" in
   1548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1549 *)
   1550   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1551   # A ".." for each directory in $ac_dir_suffix.
   1552   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1553   case $ac_top_builddir_sub in
   1554   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1555   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1556   esac ;;
   1557 esac
   1558 ac_abs_top_builddir=$ac_pwd
   1559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1560 # for backward compatibility:
   1561 ac_top_builddir=$ac_top_build_prefix
   1562 
   1563 case $srcdir in
   1564   .)  # We are building in place.
   1565     ac_srcdir=.
   1566     ac_top_srcdir=$ac_top_builddir_sub
   1567     ac_abs_top_srcdir=$ac_pwd ;;
   1568   [\\/]* | ?:[\\/]* )  # Absolute name.
   1569     ac_srcdir=$srcdir$ac_dir_suffix;
   1570     ac_top_srcdir=$srcdir
   1571     ac_abs_top_srcdir=$srcdir ;;
   1572   *) # Relative name.
   1573     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1574     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1575     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1576 esac
   1577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1578 
   1579     cd "$ac_dir" || { ac_status=$?; continue; }
   1580     # Check for configure.gnu first; this name is used for a wrapper for
   1581     # Metaconfig's "Configure" on case-insensitive file systems.
   1582     if test -f "$ac_srcdir/configure.gnu"; then
   1583       echo &&
   1584       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1585     elif test -f "$ac_srcdir/configure"; then
   1586       echo &&
   1587       $SHELL "$ac_srcdir/configure" --help=recursive
   1588     else
   1589       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1590     fi || ac_status=$?
   1591     cd "$ac_pwd" || { ac_status=$?; break; }
   1592   done
   1593 fi
   1594 
   1595 test -n "$ac_init_help" && exit $ac_status
   1596 if $ac_init_version; then
   1597   cat <<\_ACEOF
   1598 libXft configure 2.3.4
   1599 generated by GNU Autoconf 2.71
   1600 
   1601 Copyright (C) 2021 Free Software Foundation, Inc.
   1602 This configure script is free software; the Free Software Foundation
   1603 gives unlimited permission to copy, distribute and modify it.
   1604 _ACEOF
   1605   exit
   1606 fi
   1607 
   1608 ## ------------------------ ##
   1609 ## Autoconf initialization. ##
   1610 ## ------------------------ ##
   1611 
   1612 # ac_fn_c_try_compile LINENO
   1613 # --------------------------
   1614 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1615 ac_fn_c_try_compile ()
   1616 {
   1617   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1618   rm -f conftest.$ac_objext conftest.beam
   1619   if { { ac_try="$ac_compile"
   1620 case "(($ac_try" in
   1621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1622   *) ac_try_echo=$ac_try;;
   1623 esac
   1624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1625 printf "%s\n" "$ac_try_echo"; } >&5
   1626   (eval "$ac_compile") 2>conftest.err
   1627   ac_status=$?
   1628   if test -s conftest.err; then
   1629     grep -v '^ *+' conftest.err >conftest.er1
   1630     cat conftest.er1 >&5
   1631     mv -f conftest.er1 conftest.err
   1632   fi
   1633   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1634   test $ac_status = 0; } && {
   1635 	 test -z "$ac_c_werror_flag" ||
   1636 	 test ! -s conftest.err
   1637        } && test -s conftest.$ac_objext
   1638 then :
   1639   ac_retval=0
   1640 else $as_nop
   1641   printf "%s\n" "$as_me: failed program was:" >&5
   1642 sed 's/^/| /' conftest.$ac_ext >&5
   1643 
   1644 	ac_retval=1
   1645 fi
   1646   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1647   as_fn_set_status $ac_retval
   1648 
   1649 } # ac_fn_c_try_compile
   1650 
   1651 # ac_fn_c_try_link LINENO
   1652 # -----------------------
   1653 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1654 ac_fn_c_try_link ()
   1655 {
   1656   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1657   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1658   if { { ac_try="$ac_link"
   1659 case "(($ac_try" in
   1660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1661   *) ac_try_echo=$ac_try;;
   1662 esac
   1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1664 printf "%s\n" "$ac_try_echo"; } >&5
   1665   (eval "$ac_link") 2>conftest.err
   1666   ac_status=$?
   1667   if test -s conftest.err; then
   1668     grep -v '^ *+' conftest.err >conftest.er1
   1669     cat conftest.er1 >&5
   1670     mv -f conftest.er1 conftest.err
   1671   fi
   1672   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1673   test $ac_status = 0; } && {
   1674 	 test -z "$ac_c_werror_flag" ||
   1675 	 test ! -s conftest.err
   1676        } && test -s conftest$ac_exeext && {
   1677 	 test "$cross_compiling" = yes ||
   1678 	 test -x conftest$ac_exeext
   1679        }
   1680 then :
   1681   ac_retval=0
   1682 else $as_nop
   1683   printf "%s\n" "$as_me: failed program was:" >&5
   1684 sed 's/^/| /' conftest.$ac_ext >&5
   1685 
   1686 	ac_retval=1
   1687 fi
   1688   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1689   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1690   # interfere with the next link command; also delete a directory that is
   1691   # left behind by Apple's compiler.  We do this before executing the actions.
   1692   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1693   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1694   as_fn_set_status $ac_retval
   1695 
   1696 } # ac_fn_c_try_link
   1697 
   1698 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1699 # -------------------------------------------------------
   1700 # Tests whether HEADER exists and can be compiled using the include files in
   1701 # INCLUDES, setting the cache variable VAR accordingly.
   1702 ac_fn_c_check_header_compile ()
   1703 {
   1704   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1705   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1706 printf %s "checking for $2... " >&6; }
   1707 if eval test \${$3+y}
   1708 then :
   1709   printf %s "(cached) " >&6
   1710 else $as_nop
   1711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1712 /* end confdefs.h.  */
   1713 $4
   1714 #include <$2>
   1715 _ACEOF
   1716 if ac_fn_c_try_compile "$LINENO"
   1717 then :
   1718   eval "$3=yes"
   1719 else $as_nop
   1720   eval "$3=no"
   1721 fi
   1722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1723 fi
   1724 eval ac_res=\$$3
   1725 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1726 printf "%s\n" "$ac_res" >&6; }
   1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1728 
   1729 } # ac_fn_c_check_header_compile
   1730 
   1731 # ac_fn_c_check_func LINENO FUNC VAR
   1732 # ----------------------------------
   1733 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1734 ac_fn_c_check_func ()
   1735 {
   1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1738 printf %s "checking for $2... " >&6; }
   1739 if eval test \${$3+y}
   1740 then :
   1741   printf %s "(cached) " >&6
   1742 else $as_nop
   1743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1744 /* end confdefs.h.  */
   1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1747 #define $2 innocuous_$2
   1748 
   1749 /* System header to define __stub macros and hopefully few prototypes,
   1750    which can conflict with char $2 (); below.  */
   1751 
   1752 #include <limits.h>
   1753 #undef $2
   1754 
   1755 /* Override any GCC internal prototype to avoid an error.
   1756    Use char because int might match the return type of a GCC
   1757    builtin and then its argument prototype would still apply.  */
   1758 #ifdef __cplusplus
   1759 extern "C"
   1760 #endif
   1761 char $2 ();
   1762 /* The GNU C library defines this for functions which it implements
   1763     to always fail with ENOSYS.  Some functions are actually named
   1764     something starting with __ and the normal name is an alias.  */
   1765 #if defined __stub_$2 || defined __stub___$2
   1766 choke me
   1767 #endif
   1768 
   1769 int
   1770 main (void)
   1771 {
   1772 return $2 ();
   1773   ;
   1774   return 0;
   1775 }
   1776 _ACEOF
   1777 if ac_fn_c_try_link "$LINENO"
   1778 then :
   1779   eval "$3=yes"
   1780 else $as_nop
   1781   eval "$3=no"
   1782 fi
   1783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1784     conftest$ac_exeext conftest.$ac_ext
   1785 fi
   1786 eval ac_res=\$$3
   1787 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1788 printf "%s\n" "$ac_res" >&6; }
   1789   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1790 
   1791 } # ac_fn_c_check_func
   1792 
   1793 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1794 # ------------------------------------------------------------------
   1795 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1796 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1797 ac_fn_check_decl ()
   1798 {
   1799   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1800   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1802 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1803 if eval test \${$3+y}
   1804 then :
   1805   printf %s "(cached) " >&6
   1806 else $as_nop
   1807   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1808   eval ac_save_FLAGS=\$$6
   1809   as_fn_append $6 " $5"
   1810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1811 /* end confdefs.h.  */
   1812 $4
   1813 int
   1814 main (void)
   1815 {
   1816 #ifndef $as_decl_name
   1817 #ifdef __cplusplus
   1818   (void) $as_decl_use;
   1819 #else
   1820   (void) $as_decl_name;
   1821 #endif
   1822 #endif
   1823 
   1824   ;
   1825   return 0;
   1826 }
   1827 _ACEOF
   1828 if ac_fn_c_try_compile "$LINENO"
   1829 then :
   1830   eval "$3=yes"
   1831 else $as_nop
   1832   eval "$3=no"
   1833 fi
   1834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1835   eval $6=\$ac_save_FLAGS
   1836 
   1837 fi
   1838 eval ac_res=\$$3
   1839 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1840 printf "%s\n" "$ac_res" >&6; }
   1841   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1842 
   1843 } # ac_fn_check_decl
   1844 ac_configure_args_raw=
   1845 for ac_arg
   1846 do
   1847   case $ac_arg in
   1848   *\'*)
   1849     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1850   esac
   1851   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1852 done
   1853 
   1854 case $ac_configure_args_raw in
   1855   *$as_nl*)
   1856     ac_safe_unquote= ;;
   1857   *)
   1858     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1859     ac_unsafe_a="$ac_unsafe_z#~"
   1860     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1861     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1862 esac
   1863 
   1864 cat >config.log <<_ACEOF
   1865 This file contains any messages produced by compilers while
   1866 running configure, to aid debugging if configure makes a mistake.
   1867 
   1868 It was created by libXft $as_me 2.3.4, which was
   1869 generated by GNU Autoconf 2.71.  Invocation command line was
   1870 
   1871   $ $0$ac_configure_args_raw
   1872 
   1873 _ACEOF
   1874 exec 5>>config.log
   1875 {
   1876 cat <<_ASUNAME
   1877 ## --------- ##
   1878 ## Platform. ##
   1879 ## --------- ##
   1880 
   1881 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1882 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1883 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1884 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1885 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1886 
   1887 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1888 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1889 
   1890 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1891 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1892 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1893 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1894 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1895 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1896 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1897 
   1898 _ASUNAME
   1899 
   1900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1901 for as_dir in $PATH
   1902 do
   1903   IFS=$as_save_IFS
   1904   case $as_dir in #(((
   1905     '') as_dir=./ ;;
   1906     */) ;;
   1907     *) as_dir=$as_dir/ ;;
   1908   esac
   1909     printf "%s\n" "PATH: $as_dir"
   1910   done
   1911 IFS=$as_save_IFS
   1912 
   1913 } >&5
   1914 
   1915 cat >&5 <<_ACEOF
   1916 
   1917 
   1918 ## ----------- ##
   1919 ## Core tests. ##
   1920 ## ----------- ##
   1921 
   1922 _ACEOF
   1923 
   1924 
   1925 # Keep a trace of the command line.
   1926 # Strip out --no-create and --no-recursion so they do not pile up.
   1927 # Strip out --silent because we don't want to record it for future runs.
   1928 # Also quote any args containing shell meta-characters.
   1929 # Make two passes to allow for proper duplicate-argument suppression.
   1930 ac_configure_args=
   1931 ac_configure_args0=
   1932 ac_configure_args1=
   1933 ac_must_keep_next=false
   1934 for ac_pass in 1 2
   1935 do
   1936   for ac_arg
   1937   do
   1938     case $ac_arg in
   1939     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1940     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1941     | -silent | --silent | --silen | --sile | --sil)
   1942       continue ;;
   1943     *\'*)
   1944       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1945     esac
   1946     case $ac_pass in
   1947     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1948     2)
   1949       as_fn_append ac_configure_args1 " '$ac_arg'"
   1950       if test $ac_must_keep_next = true; then
   1951 	ac_must_keep_next=false # Got value, back to normal.
   1952       else
   1953 	case $ac_arg in
   1954 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1955 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1956 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1957 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1958 	    case "$ac_configure_args0 " in
   1959 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1960 	    esac
   1961 	    ;;
   1962 	  -* ) ac_must_keep_next=true ;;
   1963 	esac
   1964       fi
   1965       as_fn_append ac_configure_args " '$ac_arg'"
   1966       ;;
   1967     esac
   1968   done
   1969 done
   1970 { ac_configure_args0=; unset ac_configure_args0;}
   1971 { ac_configure_args1=; unset ac_configure_args1;}
   1972 
   1973 # When interrupted or exit'd, cleanup temporary files, and complete
   1974 # config.log.  We remove comments because anyway the quotes in there
   1975 # would cause problems or look ugly.
   1976 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1977 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1978 trap 'exit_status=$?
   1979   # Sanitize IFS.
   1980   IFS=" ""	$as_nl"
   1981   # Save into config.log some information that might help in debugging.
   1982   {
   1983     echo
   1984 
   1985     printf "%s\n" "## ---------------- ##
   1986 ## Cache variables. ##
   1987 ## ---------------- ##"
   1988     echo
   1989     # The following way of writing the cache mishandles newlines in values,
   1990 (
   1991   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1992     eval ac_val=\$$ac_var
   1993     case $ac_val in #(
   1994     *${as_nl}*)
   1995       case $ac_var in #(
   1996       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1997 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1998       esac
   1999       case $ac_var in #(
   2000       _ | IFS | as_nl) ;; #(
   2001       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2002       *) { eval $ac_var=; unset $ac_var;} ;;
   2003       esac ;;
   2004     esac
   2005   done
   2006   (set) 2>&1 |
   2007     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2008     *${as_nl}ac_space=\ *)
   2009       sed -n \
   2010 	"s/'\''/'\''\\\\'\'''\''/g;
   2011 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2012       ;; #(
   2013     *)
   2014       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2015       ;;
   2016     esac |
   2017     sort
   2018 )
   2019     echo
   2020 
   2021     printf "%s\n" "## ----------------- ##
   2022 ## Output variables. ##
   2023 ## ----------------- ##"
   2024     echo
   2025     for ac_var in $ac_subst_vars
   2026     do
   2027       eval ac_val=\$$ac_var
   2028       case $ac_val in
   2029       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2030       esac
   2031       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2032     done | sort
   2033     echo
   2034 
   2035     if test -n "$ac_subst_files"; then
   2036       printf "%s\n" "## ------------------- ##
   2037 ## File substitutions. ##
   2038 ## ------------------- ##"
   2039       echo
   2040       for ac_var in $ac_subst_files
   2041       do
   2042 	eval ac_val=\$$ac_var
   2043 	case $ac_val in
   2044 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2045 	esac
   2046 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2047       done | sort
   2048       echo
   2049     fi
   2050 
   2051     if test -s confdefs.h; then
   2052       printf "%s\n" "## ----------- ##
   2053 ## confdefs.h. ##
   2054 ## ----------- ##"
   2055       echo
   2056       cat confdefs.h
   2057       echo
   2058     fi
   2059     test "$ac_signal" != 0 &&
   2060       printf "%s\n" "$as_me: caught signal $ac_signal"
   2061     printf "%s\n" "$as_me: exit $exit_status"
   2062   } >&5
   2063   rm -f core *.core core.conftest.* &&
   2064     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2065     exit $exit_status
   2066 ' 0
   2067 for ac_signal in 1 2 13 15; do
   2068   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2069 done
   2070 ac_signal=0
   2071 
   2072 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2073 rm -f -r conftest* confdefs.h
   2074 
   2075 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2076 
   2077 # Predefined preprocessor variables.
   2078 
   2079 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2080 
   2081 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2082 
   2083 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2084 
   2085 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2086 
   2087 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2088 
   2089 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2090 
   2091 
   2092 # Let the site file select an alternate cache file if it wants to.
   2093 # Prefer an explicitly selected file to automatically selected ones.
   2094 if test -n "$CONFIG_SITE"; then
   2095   ac_site_files="$CONFIG_SITE"
   2096 elif test "x$prefix" != xNONE; then
   2097   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2098 else
   2099   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2100 fi
   2101 
   2102 for ac_site_file in $ac_site_files
   2103 do
   2104   case $ac_site_file in #(
   2105   */*) :
   2106      ;; #(
   2107   *) :
   2108     ac_site_file=./$ac_site_file ;;
   2109 esac
   2110   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2111     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2112 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2113     sed 's/^/| /' "$ac_site_file" >&5
   2114     . "$ac_site_file" \
   2115       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2116 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2117 as_fn_error $? "failed to load site script $ac_site_file
   2118 See \`config.log' for more details" "$LINENO" 5; }
   2119   fi
   2120 done
   2121 
   2122 if test -r "$cache_file"; then
   2123   # Some versions of bash will fail to source /dev/null (special files
   2124   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2125   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2126     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2127 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2128     case $cache_file in
   2129       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2130       *)                      . "./$cache_file";;
   2131     esac
   2132   fi
   2133 else
   2134   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2135 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2136   >$cache_file
   2137 fi
   2138 
   2139 # Test code for whether the C compiler supports C89 (global declarations)
   2140 ac_c_conftest_c89_globals='
   2141 /* Does the compiler advertise C89 conformance?
   2142    Do not test the value of __STDC__, because some compilers set it to 0
   2143    while being otherwise adequately conformant. */
   2144 #if !defined __STDC__
   2145 # error "Compiler does not advertise C89 conformance"
   2146 #endif
   2147 
   2148 #include <stddef.h>
   2149 #include <stdarg.h>
   2150 struct stat;
   2151 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2152 struct buf { int x; };
   2153 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2154 static char *e (p, i)
   2155      char **p;
   2156      int i;
   2157 {
   2158   return p[i];
   2159 }
   2160 static char *f (char * (*g) (char **, int), char **p, ...)
   2161 {
   2162   char *s;
   2163   va_list v;
   2164   va_start (v,p);
   2165   s = g (p, va_arg (v,int));
   2166   va_end (v);
   2167   return s;
   2168 }
   2169 
   2170 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2171    function prototypes and stuff, but not \xHH hex character constants.
   2172    These do not provoke an error unfortunately, instead are silently treated
   2173    as an "x".  The following induces an error, until -std is added to get
   2174    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2175    array size at least.  It is necessary to write \x00 == 0 to get something
   2176    that is true only with -std.  */
   2177 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2178 
   2179 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2180    inside strings and character constants.  */
   2181 #define FOO(x) '\''x'\''
   2182 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2183 
   2184 int test (int i, double x);
   2185 struct s1 {int (*f) (int a);};
   2186 struct s2 {int (*f) (double a);};
   2187 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2188                int, int);'
   2189 
   2190 # Test code for whether the C compiler supports C89 (body of main).
   2191 ac_c_conftest_c89_main='
   2192 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2193 '
   2194 
   2195 # Test code for whether the C compiler supports C99 (global declarations)
   2196 ac_c_conftest_c99_globals='
   2197 // Does the compiler advertise C99 conformance?
   2198 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2199 # error "Compiler does not advertise C99 conformance"
   2200 #endif
   2201 
   2202 #include <stdbool.h>
   2203 extern int puts (const char *);
   2204 extern int printf (const char *, ...);
   2205 extern int dprintf (int, const char *, ...);
   2206 extern void *malloc (size_t);
   2207 
   2208 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2209 // dprintf is used instead of fprintf to avoid needing to declare
   2210 // FILE and stderr.
   2211 #define debug(...) dprintf (2, __VA_ARGS__)
   2212 #define showlist(...) puts (#__VA_ARGS__)
   2213 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2214 static void
   2215 test_varargs_macros (void)
   2216 {
   2217   int x = 1234;
   2218   int y = 5678;
   2219   debug ("Flag");
   2220   debug ("X = %d\n", x);
   2221   showlist (The first, second, and third items.);
   2222   report (x>y, "x is %d but y is %d", x, y);
   2223 }
   2224 
   2225 // Check long long types.
   2226 #define BIG64 18446744073709551615ull
   2227 #define BIG32 4294967295ul
   2228 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2229 #if !BIG_OK
   2230   #error "your preprocessor is broken"
   2231 #endif
   2232 #if BIG_OK
   2233 #else
   2234   #error "your preprocessor is broken"
   2235 #endif
   2236 static long long int bignum = -9223372036854775807LL;
   2237 static unsigned long long int ubignum = BIG64;
   2238 
   2239 struct incomplete_array
   2240 {
   2241   int datasize;
   2242   double data[];
   2243 };
   2244 
   2245 struct named_init {
   2246   int number;
   2247   const wchar_t *name;
   2248   double average;
   2249 };
   2250 
   2251 typedef const char *ccp;
   2252 
   2253 static inline int
   2254 test_restrict (ccp restrict text)
   2255 {
   2256   // See if C++-style comments work.
   2257   // Iterate through items via the restricted pointer.
   2258   // Also check for declarations in for loops.
   2259   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2260     continue;
   2261   return 0;
   2262 }
   2263 
   2264 // Check varargs and va_copy.
   2265 static bool
   2266 test_varargs (const char *format, ...)
   2267 {
   2268   va_list args;
   2269   va_start (args, format);
   2270   va_list args_copy;
   2271   va_copy (args_copy, args);
   2272 
   2273   const char *str = "";
   2274   int number = 0;
   2275   float fnumber = 0;
   2276 
   2277   while (*format)
   2278     {
   2279       switch (*format++)
   2280 	{
   2281 	case '\''s'\'': // string
   2282 	  str = va_arg (args_copy, const char *);
   2283 	  break;
   2284 	case '\''d'\'': // int
   2285 	  number = va_arg (args_copy, int);
   2286 	  break;
   2287 	case '\''f'\'': // float
   2288 	  fnumber = va_arg (args_copy, double);
   2289 	  break;
   2290 	default:
   2291 	  break;
   2292 	}
   2293     }
   2294   va_end (args_copy);
   2295   va_end (args);
   2296 
   2297   return *str && number && fnumber;
   2298 }
   2299 '
   2300 
   2301 # Test code for whether the C compiler supports C99 (body of main).
   2302 ac_c_conftest_c99_main='
   2303   // Check bool.
   2304   _Bool success = false;
   2305   success |= (argc != 0);
   2306 
   2307   // Check restrict.
   2308   if (test_restrict ("String literal") == 0)
   2309     success = true;
   2310   char *restrict newvar = "Another string";
   2311 
   2312   // Check varargs.
   2313   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2314   test_varargs_macros ();
   2315 
   2316   // Check flexible array members.
   2317   struct incomplete_array *ia =
   2318     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2319   ia->datasize = 10;
   2320   for (int i = 0; i < ia->datasize; ++i)
   2321     ia->data[i] = i * 1.234;
   2322 
   2323   // Check named initializers.
   2324   struct named_init ni = {
   2325     .number = 34,
   2326     .name = L"Test wide string",
   2327     .average = 543.34343,
   2328   };
   2329 
   2330   ni.number = 58;
   2331 
   2332   int dynamic_array[ni.number];
   2333   dynamic_array[0] = argv[0][0];
   2334   dynamic_array[ni.number - 1] = 543;
   2335 
   2336   // work around unused variable warnings
   2337   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2338 	 || dynamic_array[ni.number - 1] != 543);
   2339 '
   2340 
   2341 # Test code for whether the C compiler supports C11 (global declarations)
   2342 ac_c_conftest_c11_globals='
   2343 // Does the compiler advertise C11 conformance?
   2344 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2345 # error "Compiler does not advertise C11 conformance"
   2346 #endif
   2347 
   2348 // Check _Alignas.
   2349 char _Alignas (double) aligned_as_double;
   2350 char _Alignas (0) no_special_alignment;
   2351 extern char aligned_as_int;
   2352 char _Alignas (0) _Alignas (int) aligned_as_int;
   2353 
   2354 // Check _Alignof.
   2355 enum
   2356 {
   2357   int_alignment = _Alignof (int),
   2358   int_array_alignment = _Alignof (int[100]),
   2359   char_alignment = _Alignof (char)
   2360 };
   2361 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2362 
   2363 // Check _Noreturn.
   2364 int _Noreturn does_not_return (void) { for (;;) continue; }
   2365 
   2366 // Check _Static_assert.
   2367 struct test_static_assert
   2368 {
   2369   int x;
   2370   _Static_assert (sizeof (int) <= sizeof (long int),
   2371                   "_Static_assert does not work in struct");
   2372   long int y;
   2373 };
   2374 
   2375 // Check UTF-8 literals.
   2376 #define u8 syntax error!
   2377 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2378 
   2379 // Check duplicate typedefs.
   2380 typedef long *long_ptr;
   2381 typedef long int *long_ptr;
   2382 typedef long_ptr long_ptr;
   2383 
   2384 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2385 struct anonymous
   2386 {
   2387   union {
   2388     struct { int i; int j; };
   2389     struct { int k; long int l; } w;
   2390   };
   2391   int m;
   2392 } v1;
   2393 '
   2394 
   2395 # Test code for whether the C compiler supports C11 (body of main).
   2396 ac_c_conftest_c11_main='
   2397   _Static_assert ((offsetof (struct anonymous, i)
   2398 		   == offsetof (struct anonymous, w.k)),
   2399 		  "Anonymous union alignment botch");
   2400   v1.i = 2;
   2401   v1.w.k = 5;
   2402   ok |= v1.i != 5;
   2403 '
   2404 
   2405 # Test code for whether the C compiler supports C11 (complete).
   2406 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2407 ${ac_c_conftest_c99_globals}
   2408 ${ac_c_conftest_c11_globals}
   2409 
   2410 int
   2411 main (int argc, char **argv)
   2412 {
   2413   int ok = 0;
   2414   ${ac_c_conftest_c89_main}
   2415   ${ac_c_conftest_c99_main}
   2416   ${ac_c_conftest_c11_main}
   2417   return ok;
   2418 }
   2419 "
   2420 
   2421 # Test code for whether the C compiler supports C99 (complete).
   2422 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2423 ${ac_c_conftest_c99_globals}
   2424 
   2425 int
   2426 main (int argc, char **argv)
   2427 {
   2428   int ok = 0;
   2429   ${ac_c_conftest_c89_main}
   2430   ${ac_c_conftest_c99_main}
   2431   return ok;
   2432 }
   2433 "
   2434 
   2435 # Test code for whether the C compiler supports C89 (complete).
   2436 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2437 
   2438 int
   2439 main (int argc, char **argv)
   2440 {
   2441   int ok = 0;
   2442   ${ac_c_conftest_c89_main}
   2443   return ok;
   2444 }
   2445 "
   2446 
   2447 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2448 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2449 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2450 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2451 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2452 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2453 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2454 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2455 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2456 
   2457 # Auxiliary files required by this configure script.
   2458 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2459 
   2460 # Locations in which to look for auxiliary files.
   2461 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2462 
   2463 # Search for a directory containing all of the required auxiliary files,
   2464 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2465 # If we don't find one directory that contains all the files we need,
   2466 # we report the set of missing files from the *first* directory in
   2467 # $ac_aux_dir_candidates and give up.
   2468 ac_missing_aux_files=""
   2469 ac_first_candidate=:
   2470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2472 as_found=false
   2473 for as_dir in $ac_aux_dir_candidates
   2474 do
   2475   IFS=$as_save_IFS
   2476   case $as_dir in #(((
   2477     '') as_dir=./ ;;
   2478     */) ;;
   2479     *) as_dir=$as_dir/ ;;
   2480   esac
   2481   as_found=:
   2482 
   2483   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2484   ac_aux_dir_found=yes
   2485   ac_install_sh=
   2486   for ac_aux in $ac_aux_files
   2487   do
   2488     # As a special case, if "install-sh" is required, that requirement
   2489     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2490     # and $ac_install_sh is set appropriately for whichever one is found.
   2491     if test x"$ac_aux" = x"install-sh"
   2492     then
   2493       if test -f "${as_dir}install-sh"; then
   2494         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2495         ac_install_sh="${as_dir}install-sh -c"
   2496       elif test -f "${as_dir}install.sh"; then
   2497         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2498         ac_install_sh="${as_dir}install.sh -c"
   2499       elif test -f "${as_dir}shtool"; then
   2500         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2501         ac_install_sh="${as_dir}shtool install -c"
   2502       else
   2503         ac_aux_dir_found=no
   2504         if $ac_first_candidate; then
   2505           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2506         else
   2507           break
   2508         fi
   2509       fi
   2510     else
   2511       if test -f "${as_dir}${ac_aux}"; then
   2512         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2513       else
   2514         ac_aux_dir_found=no
   2515         if $ac_first_candidate; then
   2516           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2517         else
   2518           break
   2519         fi
   2520       fi
   2521     fi
   2522   done
   2523   if test "$ac_aux_dir_found" = yes; then
   2524     ac_aux_dir="$as_dir"
   2525     break
   2526   fi
   2527   ac_first_candidate=false
   2528 
   2529   as_found=false
   2530 done
   2531 IFS=$as_save_IFS
   2532 if $as_found
   2533 then :
   2534 
   2535 else $as_nop
   2536   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2537 fi
   2538 
   2539 
   2540 # These three variables are undocumented and unsupported,
   2541 # and are intended to be withdrawn in a future Autoconf release.
   2542 # They can cause serious problems if a builder's source tree is in a directory
   2543 # whose full name contains unusual characters.
   2544 if test -f "${ac_aux_dir}config.guess"; then
   2545   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2546 fi
   2547 if test -f "${ac_aux_dir}config.sub"; then
   2548   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2549 fi
   2550 if test -f "$ac_aux_dir/configure"; then
   2551   ac_configure="$SHELL ${ac_aux_dir}configure"
   2552 fi
   2553 
   2554 # Check that the precious variables saved in the cache have kept the same
   2555 # value.
   2556 ac_cache_corrupted=false
   2557 for ac_var in $ac_precious_vars; do
   2558   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2559   eval ac_new_set=\$ac_env_${ac_var}_set
   2560   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2561   eval ac_new_val=\$ac_env_${ac_var}_value
   2562   case $ac_old_set,$ac_new_set in
   2563     set,)
   2564       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2565 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2566       ac_cache_corrupted=: ;;
   2567     ,set)
   2568       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2569 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2570       ac_cache_corrupted=: ;;
   2571     ,);;
   2572     *)
   2573       if test "x$ac_old_val" != "x$ac_new_val"; then
   2574 	# differences in whitespace do not lead to failure.
   2575 	ac_old_val_w=`echo x $ac_old_val`
   2576 	ac_new_val_w=`echo x $ac_new_val`
   2577 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2578 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2579 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2580 	  ac_cache_corrupted=:
   2581 	else
   2582 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2583 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2584 	  eval $ac_var=\$ac_old_val
   2585 	fi
   2586 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2587 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2588 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2589 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2590       fi;;
   2591   esac
   2592   # Pass precious variables to config.status.
   2593   if test "$ac_new_set" = set; then
   2594     case $ac_new_val in
   2595     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2596     *) ac_arg=$ac_var=$ac_new_val ;;
   2597     esac
   2598     case " $ac_configure_args " in
   2599       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2600       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2601     esac
   2602   fi
   2603 done
   2604 if $ac_cache_corrupted; then
   2605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2606 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2608 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2609   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2610 	    and start over" "$LINENO" 5
   2611 fi
   2612 ## -------------------- ##
   2613 ## Main body of script. ##
   2614 ## -------------------- ##
   2615 
   2616 ac_ext=c
   2617 ac_cpp='$CPP $CPPFLAGS'
   2618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2621 
   2622 
   2623 
   2624 ac_config_headers="$ac_config_headers config.h"
   2625 
   2626 
   2627 # Initialize Automake
   2628 am__api_version='1.16'
   2629 
   2630 
   2631 
   2632   # Find a good install program.  We prefer a C program (faster),
   2633 # so one script is as good as another.  But avoid the broken or
   2634 # incompatible versions:
   2635 # SysV /etc/install, /usr/sbin/install
   2636 # SunOS /usr/etc/install
   2637 # IRIX /sbin/install
   2638 # AIX /bin/install
   2639 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2640 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2641 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2642 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2643 # OS/2's system install, which has a completely different semantic
   2644 # ./install, which can be erroneously created by make from ./install.sh.
   2645 # Reject install programs that cannot install multiple files.
   2646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2647 printf %s "checking for a BSD-compatible install... " >&6; }
   2648 if test -z "$INSTALL"; then
   2649 if test ${ac_cv_path_install+y}
   2650 then :
   2651   printf %s "(cached) " >&6
   2652 else $as_nop
   2653   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2654 for as_dir in $PATH
   2655 do
   2656   IFS=$as_save_IFS
   2657   case $as_dir in #(((
   2658     '') as_dir=./ ;;
   2659     */) ;;
   2660     *) as_dir=$as_dir/ ;;
   2661   esac
   2662     # Account for fact that we put trailing slashes in our PATH walk.
   2663 case $as_dir in #((
   2664   ./ | /[cC]/* | \
   2665   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2666   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2667   /usr/ucb/* ) ;;
   2668   *)
   2669     # OSF1 and SCO ODT 3.0 have their own names for install.
   2670     # Don't use installbsd from OSF since it installs stuff as root
   2671     # by default.
   2672     for ac_prog in ginstall scoinst install; do
   2673       for ac_exec_ext in '' $ac_executable_extensions; do
   2674 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2675 	  if test $ac_prog = install &&
   2676 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2677 	    # AIX install.  It has an incompatible calling convention.
   2678 	    :
   2679 	  elif test $ac_prog = install &&
   2680 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2681 	    # program-specific install script used by HP pwplus--don't use.
   2682 	    :
   2683 	  else
   2684 	    rm -rf conftest.one conftest.two conftest.dir
   2685 	    echo one > conftest.one
   2686 	    echo two > conftest.two
   2687 	    mkdir conftest.dir
   2688 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2689 	      test -s conftest.one && test -s conftest.two &&
   2690 	      test -s conftest.dir/conftest.one &&
   2691 	      test -s conftest.dir/conftest.two
   2692 	    then
   2693 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2694 	      break 3
   2695 	    fi
   2696 	  fi
   2697 	fi
   2698       done
   2699     done
   2700     ;;
   2701 esac
   2702 
   2703   done
   2704 IFS=$as_save_IFS
   2705 
   2706 rm -rf conftest.one conftest.two conftest.dir
   2707 
   2708 fi
   2709   if test ${ac_cv_path_install+y}; then
   2710     INSTALL=$ac_cv_path_install
   2711   else
   2712     # As a last resort, use the slow shell script.  Don't cache a
   2713     # value for INSTALL within a source directory, because that will
   2714     # break other packages using the cache if that directory is
   2715     # removed, or if the value is a relative name.
   2716     INSTALL=$ac_install_sh
   2717   fi
   2718 fi
   2719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2720 printf "%s\n" "$INSTALL" >&6; }
   2721 
   2722 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2723 # It thinks the first close brace ends the variable substitution.
   2724 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2725 
   2726 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2727 
   2728 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2729 
   2730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2731 printf %s "checking whether build environment is sane... " >&6; }
   2732 # Reject unsafe characters in $srcdir or the absolute working directory
   2733 # name.  Accept space and tab only in the latter.
   2734 am_lf='
   2735 '
   2736 case `pwd` in
   2737   *[\\\"\#\$\&\'\`$am_lf]*)
   2738     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2739 esac
   2740 case $srcdir in
   2741   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2742     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2743 esac
   2744 
   2745 # Do 'set' in a subshell so we don't clobber the current shell's
   2746 # arguments.  Must try -L first in case configure is actually a
   2747 # symlink; some systems play weird games with the mod time of symlinks
   2748 # (eg FreeBSD returns the mod time of the symlink's containing
   2749 # directory).
   2750 if (
   2751    am_has_slept=no
   2752    for am_try in 1 2; do
   2753      echo "timestamp, slept: $am_has_slept" > conftest.file
   2754      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2755      if test "$*" = "X"; then
   2756 	# -L didn't work.
   2757 	set X `ls -t "$srcdir/configure" conftest.file`
   2758      fi
   2759      if test "$*" != "X $srcdir/configure conftest.file" \
   2760 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2761 
   2762 	# If neither matched, then we have a broken ls.  This can happen
   2763 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2764 	# broken ls alias from the environment.  This has actually
   2765 	# happened.  Such a system could not be considered "sane".
   2766 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2767   alias in your environment" "$LINENO" 5
   2768      fi
   2769      if test "$2" = conftest.file || test $am_try -eq 2; then
   2770        break
   2771      fi
   2772      # Just in case.
   2773      sleep 1
   2774      am_has_slept=yes
   2775    done
   2776    test "$2" = conftest.file
   2777    )
   2778 then
   2779    # Ok.
   2780    :
   2781 else
   2782    as_fn_error $? "newly created file is older than distributed files!
   2783 Check your system clock" "$LINENO" 5
   2784 fi
   2785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2786 printf "%s\n" "yes" >&6; }
   2787 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2788 # generated files are strictly newer.
   2789 am_sleep_pid=
   2790 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2791   ( sleep 1 ) &
   2792   am_sleep_pid=$!
   2793 fi
   2794 
   2795 rm -f conftest.file
   2796 
   2797 test "$program_prefix" != NONE &&
   2798   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2799 # Use a double $ so make ignores it.
   2800 test "$program_suffix" != NONE &&
   2801   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2802 # Double any \ or $.
   2803 # By default was `s,x,x', remove it if useless.
   2804 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2805 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2806 
   2807 
   2808 # Expand $ac_aux_dir to an absolute path.
   2809 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2810 
   2811 
   2812   if test x"${MISSING+set}" != xset; then
   2813   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2814 fi
   2815 # Use eval to expand $SHELL
   2816 if eval "$MISSING --is-lightweight"; then
   2817   am_missing_run="$MISSING "
   2818 else
   2819   am_missing_run=
   2820   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2821 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2822 fi
   2823 
   2824 if test x"${install_sh+set}" != xset; then
   2825   case $am_aux_dir in
   2826   *\ * | *\	*)
   2827     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2828   *)
   2829     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2830   esac
   2831 fi
   2832 
   2833 # Installed binaries are usually stripped using 'strip' when the user
   2834 # run "make install-strip".  However 'strip' might not be the right
   2835 # tool to use in cross-compilation environments, therefore Automake
   2836 # will honor the 'STRIP' environment variable to overrule this program.
   2837 if test "$cross_compiling" != no; then
   2838   if test -n "$ac_tool_prefix"; then
   2839   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2840 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2842 printf %s "checking for $ac_word... " >&6; }
   2843 if test ${ac_cv_prog_STRIP+y}
   2844 then :
   2845   printf %s "(cached) " >&6
   2846 else $as_nop
   2847   if test -n "$STRIP"; then
   2848   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2849 else
   2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2851 for as_dir in $PATH
   2852 do
   2853   IFS=$as_save_IFS
   2854   case $as_dir in #(((
   2855     '') as_dir=./ ;;
   2856     */) ;;
   2857     *) as_dir=$as_dir/ ;;
   2858   esac
   2859     for ac_exec_ext in '' $ac_executable_extensions; do
   2860   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2861     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2862     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2863     break 2
   2864   fi
   2865 done
   2866   done
   2867 IFS=$as_save_IFS
   2868 
   2869 fi
   2870 fi
   2871 STRIP=$ac_cv_prog_STRIP
   2872 if test -n "$STRIP"; then
   2873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2874 printf "%s\n" "$STRIP" >&6; }
   2875 else
   2876   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2877 printf "%s\n" "no" >&6; }
   2878 fi
   2879 
   2880 
   2881 fi
   2882 if test -z "$ac_cv_prog_STRIP"; then
   2883   ac_ct_STRIP=$STRIP
   2884   # Extract the first word of "strip", so it can be a program name with args.
   2885 set dummy strip; ac_word=$2
   2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2887 printf %s "checking for $ac_word... " >&6; }
   2888 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2889 then :
   2890   printf %s "(cached) " >&6
   2891 else $as_nop
   2892   if test -n "$ac_ct_STRIP"; then
   2893   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2894 else
   2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2896 for as_dir in $PATH
   2897 do
   2898   IFS=$as_save_IFS
   2899   case $as_dir in #(((
   2900     '') as_dir=./ ;;
   2901     */) ;;
   2902     *) as_dir=$as_dir/ ;;
   2903   esac
   2904     for ac_exec_ext in '' $ac_executable_extensions; do
   2905   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2906     ac_cv_prog_ac_ct_STRIP="strip"
   2907     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2908     break 2
   2909   fi
   2910 done
   2911   done
   2912 IFS=$as_save_IFS
   2913 
   2914 fi
   2915 fi
   2916 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2917 if test -n "$ac_ct_STRIP"; then
   2918   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2919 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2920 else
   2921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2922 printf "%s\n" "no" >&6; }
   2923 fi
   2924 
   2925   if test "x$ac_ct_STRIP" = x; then
   2926     STRIP=":"
   2927   else
   2928     case $cross_compiling:$ac_tool_warned in
   2929 yes:)
   2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2931 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2932 ac_tool_warned=yes ;;
   2933 esac
   2934     STRIP=$ac_ct_STRIP
   2935   fi
   2936 else
   2937   STRIP="$ac_cv_prog_STRIP"
   2938 fi
   2939 
   2940 fi
   2941 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2942 
   2943 
   2944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2945 printf %s "checking for a race-free mkdir -p... " >&6; }
   2946 if test -z "$MKDIR_P"; then
   2947   if test ${ac_cv_path_mkdir+y}
   2948 then :
   2949   printf %s "(cached) " >&6
   2950 else $as_nop
   2951   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2952 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2953 do
   2954   IFS=$as_save_IFS
   2955   case $as_dir in #(((
   2956     '') as_dir=./ ;;
   2957     */) ;;
   2958     *) as_dir=$as_dir/ ;;
   2959   esac
   2960     for ac_prog in mkdir gmkdir; do
   2961 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2962 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2963 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2964 	     'mkdir ('*'coreutils) '* | \
   2965 	     'BusyBox '* | \
   2966 	     'mkdir (fileutils) '4.1*)
   2967 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2968 	       break 3;;
   2969 	   esac
   2970 	 done
   2971        done
   2972   done
   2973 IFS=$as_save_IFS
   2974 
   2975 fi
   2976 
   2977   test -d ./--version && rmdir ./--version
   2978   if test ${ac_cv_path_mkdir+y}; then
   2979     MKDIR_P="$ac_cv_path_mkdir -p"
   2980   else
   2981     # As a last resort, use the slow shell script.  Don't cache a
   2982     # value for MKDIR_P within a source directory, because that will
   2983     # break other packages using the cache if that directory is
   2984     # removed, or if the value is a relative name.
   2985     MKDIR_P="$ac_install_sh -d"
   2986   fi
   2987 fi
   2988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2989 printf "%s\n" "$MKDIR_P" >&6; }
   2990 
   2991 for ac_prog in gawk mawk nawk awk
   2992 do
   2993   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2994 set dummy $ac_prog; ac_word=$2
   2995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2996 printf %s "checking for $ac_word... " >&6; }
   2997 if test ${ac_cv_prog_AWK+y}
   2998 then :
   2999   printf %s "(cached) " >&6
   3000 else $as_nop
   3001   if test -n "$AWK"; then
   3002   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3003 else
   3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3005 for as_dir in $PATH
   3006 do
   3007   IFS=$as_save_IFS
   3008   case $as_dir in #(((
   3009     '') as_dir=./ ;;
   3010     */) ;;
   3011     *) as_dir=$as_dir/ ;;
   3012   esac
   3013     for ac_exec_ext in '' $ac_executable_extensions; do
   3014   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3015     ac_cv_prog_AWK="$ac_prog"
   3016     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3017     break 2
   3018   fi
   3019 done
   3020   done
   3021 IFS=$as_save_IFS
   3022 
   3023 fi
   3024 fi
   3025 AWK=$ac_cv_prog_AWK
   3026 if test -n "$AWK"; then
   3027   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3028 printf "%s\n" "$AWK" >&6; }
   3029 else
   3030   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3031 printf "%s\n" "no" >&6; }
   3032 fi
   3033 
   3034 
   3035   test -n "$AWK" && break
   3036 done
   3037 
   3038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3039 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3040 set x ${MAKE-make}
   3041 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3042 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3043 then :
   3044   printf %s "(cached) " >&6
   3045 else $as_nop
   3046   cat >conftest.make <<\_ACEOF
   3047 SHELL = /bin/sh
   3048 all:
   3049 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3050 _ACEOF
   3051 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3052 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3053   *@@@%%%=?*=@@@%%%*)
   3054     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3055   *)
   3056     eval ac_cv_prog_make_${ac_make}_set=no;;
   3057 esac
   3058 rm -f conftest.make
   3059 fi
   3060 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3062 printf "%s\n" "yes" >&6; }
   3063   SET_MAKE=
   3064 else
   3065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3066 printf "%s\n" "no" >&6; }
   3067   SET_MAKE="MAKE=${MAKE-make}"
   3068 fi
   3069 
   3070 rm -rf .tst 2>/dev/null
   3071 mkdir .tst 2>/dev/null
   3072 if test -d .tst; then
   3073   am__leading_dot=.
   3074 else
   3075   am__leading_dot=_
   3076 fi
   3077 rmdir .tst 2>/dev/null
   3078 
   3079 # Check whether --enable-silent-rules was given.
   3080 if test ${enable_silent_rules+y}
   3081 then :
   3082   enableval=$enable_silent_rules;
   3083 fi
   3084 
   3085 case $enable_silent_rules in # (((
   3086   yes) AM_DEFAULT_VERBOSITY=0;;
   3087    no) AM_DEFAULT_VERBOSITY=1;;
   3088     *) AM_DEFAULT_VERBOSITY=1;;
   3089 esac
   3090 am_make=${MAKE-make}
   3091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3092 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3093 if test ${am_cv_make_support_nested_variables+y}
   3094 then :
   3095   printf %s "(cached) " >&6
   3096 else $as_nop
   3097   if printf "%s\n" 'TRUE=$(BAR$(V))
   3098 BAR0=false
   3099 BAR1=true
   3100 V=1
   3101 am__doit:
   3102 	@$(TRUE)
   3103 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3104   am_cv_make_support_nested_variables=yes
   3105 else
   3106   am_cv_make_support_nested_variables=no
   3107 fi
   3108 fi
   3109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3110 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3111 if test $am_cv_make_support_nested_variables = yes; then
   3112     AM_V='$(V)'
   3113   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3114 else
   3115   AM_V=$AM_DEFAULT_VERBOSITY
   3116   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3117 fi
   3118 AM_BACKSLASH='\'
   3119 
   3120 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3121   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3122   # is not polluted with repeated "-I."
   3123   am__isrc=' -I$(srcdir)'
   3124   # test to see if srcdir already configured
   3125   if test -f $srcdir/config.status; then
   3126     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3127   fi
   3128 fi
   3129 
   3130 # test whether we have cygpath
   3131 if test -z "$CYGPATH_W"; then
   3132   if (cygpath --version) >/dev/null 2>/dev/null; then
   3133     CYGPATH_W='cygpath -w'
   3134   else
   3135     CYGPATH_W=echo
   3136   fi
   3137 fi
   3138 
   3139 
   3140 # Define the identity of the package.
   3141  PACKAGE='libXft'
   3142  VERSION='2.3.4'
   3143 
   3144 
   3145 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3146 
   3147 
   3148 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3149 
   3150 # Some tools Automake needs.
   3151 
   3152 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3153 
   3154 
   3155 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3156 
   3157 
   3158 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3159 
   3160 
   3161 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3162 
   3163 
   3164 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3165 
   3166 # For better backward compatibility.  To be removed once Automake 1.9.x
   3167 # dies out for good.  For more background, see:
   3168 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3169 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3170 mkdir_p='$(MKDIR_P)'
   3171 
   3172 # We need awk for the "check" target (and possibly the TAP driver).  The
   3173 # system "awk" is bad on some platforms.
   3174 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3175 # in the wild :-(  We should find a proper way to deprecate it ...
   3176 AMTAR='$${TAR-tar}'
   3177 
   3178 
   3179 # We'll loop over all known methods to create a tar archive until one works.
   3180 _am_tools='gnutar  pax cpio none'
   3181 
   3182 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3183 
   3184 
   3185 
   3186 
   3187 
   3188 # Variables for tags utilities; see am/tags.am
   3189 if test -z "$CTAGS"; then
   3190   CTAGS=ctags
   3191 fi
   3192 
   3193 if test -z "$ETAGS"; then
   3194   ETAGS=etags
   3195 fi
   3196 
   3197 if test -z "$CSCOPE"; then
   3198   CSCOPE=cscope
   3199 fi
   3200 
   3201 
   3202 
   3203 # POSIX will say in a future version that running "rm -f" with no argument
   3204 # is OK; and we want to be able to make that assumption in our Makefile
   3205 # recipes.  So use an aggressive probe to check that the usage we want is
   3206 # actually supported "in the wild" to an acceptable degree.
   3207 # See automake bug#10828.
   3208 # To make any issue more visible, cause the running configure to be aborted
   3209 # by default if the 'rm' program in use doesn't match our expectations; the
   3210 # user can still override this though.
   3211 if rm -f && rm -fr && rm -rf; then : OK; else
   3212   cat >&2 <<'END'
   3213 Oops!
   3214 
   3215 Your 'rm' program seems unable to run without file operands specified
   3216 on the command line, even when the '-f' option is present.  This is contrary
   3217 to the behaviour of most rm programs out there, and not conforming with
   3218 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3219 
   3220 Please tell bug-automake@gnu.org about your system, including the value
   3221 of your $PATH and any error possibly output before this message.  This
   3222 can help us improve future automake versions.
   3223 
   3224 END
   3225   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3226     echo 'Configuration will proceed anyway, since you have set the' >&2
   3227     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3228     echo >&2
   3229   else
   3230     cat >&2 <<'END'
   3231 Aborting the configuration process, to ensure you take notice of the issue.
   3232 
   3233 You can download and install GNU coreutils to get an 'rm' implementation
   3234 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3235 
   3236 If you want to complete the configuration process using your problematic
   3237 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3238 to "yes", and re-run configure.
   3239 
   3240 END
   3241     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3242   fi
   3243 fi
   3244 
   3245 
   3246 # Initialize libtool
   3247 case `pwd` in
   3248   *\ * | *\	*)
   3249     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3250 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3251 esac
   3252 
   3253 
   3254 
   3255 macro_version='2.4.6'
   3256 macro_revision='2.4.6'
   3257 
   3258 
   3259 
   3260 
   3261 
   3262 
   3263 
   3264 
   3265 
   3266 
   3267 
   3268 
   3269 
   3270 
   3271 ltmain=$ac_aux_dir/ltmain.sh
   3272 
   3273 
   3274 
   3275   # Make sure we can run config.sub.
   3276 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3277   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3278 
   3279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3280 printf %s "checking build system type... " >&6; }
   3281 if test ${ac_cv_build+y}
   3282 then :
   3283   printf %s "(cached) " >&6
   3284 else $as_nop
   3285   ac_build_alias=$build_alias
   3286 test "x$ac_build_alias" = x &&
   3287   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3288 test "x$ac_build_alias" = x &&
   3289   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3290 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3291   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3292 
   3293 fi
   3294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3295 printf "%s\n" "$ac_cv_build" >&6; }
   3296 case $ac_cv_build in
   3297 *-*-*) ;;
   3298 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3299 esac
   3300 build=$ac_cv_build
   3301 ac_save_IFS=$IFS; IFS='-'
   3302 set x $ac_cv_build
   3303 shift
   3304 build_cpu=$1
   3305 build_vendor=$2
   3306 shift; shift
   3307 # Remember, the first character of IFS is used to create $*,
   3308 # except with old shells:
   3309 build_os=$*
   3310 IFS=$ac_save_IFS
   3311 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3312 
   3313 
   3314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3315 printf %s "checking host system type... " >&6; }
   3316 if test ${ac_cv_host+y}
   3317 then :
   3318   printf %s "(cached) " >&6
   3319 else $as_nop
   3320   if test "x$host_alias" = x; then
   3321   ac_cv_host=$ac_cv_build
   3322 else
   3323   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3324     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3325 fi
   3326 
   3327 fi
   3328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3329 printf "%s\n" "$ac_cv_host" >&6; }
   3330 case $ac_cv_host in
   3331 *-*-*) ;;
   3332 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3333 esac
   3334 host=$ac_cv_host
   3335 ac_save_IFS=$IFS; IFS='-'
   3336 set x $ac_cv_host
   3337 shift
   3338 host_cpu=$1
   3339 host_vendor=$2
   3340 shift; shift
   3341 # Remember, the first character of IFS is used to create $*,
   3342 # except with old shells:
   3343 host_os=$*
   3344 IFS=$ac_save_IFS
   3345 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3346 
   3347 
   3348 # Backslashify metacharacters that are still active within
   3349 # double-quoted strings.
   3350 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3351 
   3352 # Same as above, but do not quote variable references.
   3353 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3354 
   3355 # Sed substitution to delay expansion of an escaped shell variable in a
   3356 # double_quote_subst'ed string.
   3357 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3358 
   3359 # Sed substitution to delay expansion of an escaped single quote.
   3360 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3361 
   3362 # Sed substitution to avoid accidental globbing in evaled expressions
   3363 no_glob_subst='s/\*/\\\*/g'
   3364 
   3365 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3366 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3367 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3368 
   3369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3370 printf %s "checking how to print strings... " >&6; }
   3371 # Test print first, because it will be a builtin if present.
   3372 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3373    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3374   ECHO='print -r --'
   3375 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3376   ECHO='printf %s\n'
   3377 else
   3378   # Use this function as a fallback that always works.
   3379   func_fallback_echo ()
   3380   {
   3381     eval 'cat <<_LTECHO_EOF
   3382 $1
   3383 _LTECHO_EOF'
   3384   }
   3385   ECHO='func_fallback_echo'
   3386 fi
   3387 
   3388 # func_echo_all arg...
   3389 # Invoke $ECHO with all args, space-separated.
   3390 func_echo_all ()
   3391 {
   3392     $ECHO ""
   3393 }
   3394 
   3395 case $ECHO in
   3396   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3397 printf "%s\n" "printf" >&6; } ;;
   3398   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3399 printf "%s\n" "print -r" >&6; } ;;
   3400   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3401 printf "%s\n" "cat" >&6; } ;;
   3402 esac
   3403 
   3404 
   3405 
   3406 
   3407 
   3408 
   3409 
   3410 
   3411 
   3412 
   3413 
   3414 
   3415 
   3416 
   3417 
   3418 
   3419 
   3420 
   3421 
   3422 
   3423 
   3424 
   3425 
   3426 DEPDIR="${am__leading_dot}deps"
   3427 
   3428 ac_config_commands="$ac_config_commands depfiles"
   3429 
   3430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3431 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3432 cat > confinc.mk << 'END'
   3433 am__doit:
   3434 	@echo this is the am__doit target >confinc.out
   3435 .PHONY: am__doit
   3436 END
   3437 am__include="#"
   3438 am__quote=
   3439 # BSD make does it like this.
   3440 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3441 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3442 echo 'include confinc.mk # ignored' > confmf.GNU
   3443 _am_result=no
   3444 for s in GNU BSD; do
   3445   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3446    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3447    ac_status=$?
   3448    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3449    (exit $ac_status); }
   3450   case $?:`cat confinc.out 2>/dev/null` in #(
   3451   '0:this is the am__doit target') :
   3452     case $s in #(
   3453   BSD) :
   3454     am__include='.include' am__quote='"' ;; #(
   3455   *) :
   3456     am__include='include' am__quote='' ;;
   3457 esac ;; #(
   3458   *) :
   3459      ;;
   3460 esac
   3461   if test "$am__include" != "#"; then
   3462     _am_result="yes ($s style)"
   3463     break
   3464   fi
   3465 done
   3466 rm -f confinc.* confmf.*
   3467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3468 printf "%s\n" "${_am_result}" >&6; }
   3469 
   3470 # Check whether --enable-dependency-tracking was given.
   3471 if test ${enable_dependency_tracking+y}
   3472 then :
   3473   enableval=$enable_dependency_tracking;
   3474 fi
   3475 
   3476 if test "x$enable_dependency_tracking" != xno; then
   3477   am_depcomp="$ac_aux_dir/depcomp"
   3478   AMDEPBACKSLASH='\'
   3479   am__nodep='_no'
   3480 fi
   3481  if test "x$enable_dependency_tracking" != xno; then
   3482   AMDEP_TRUE=
   3483   AMDEP_FALSE='#'
   3484 else
   3485   AMDEP_TRUE='#'
   3486   AMDEP_FALSE=
   3487 fi
   3488 
   3489 
   3490 ac_ext=c
   3491 ac_cpp='$CPP $CPPFLAGS'
   3492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3495 if test -n "$ac_tool_prefix"; then
   3496   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3497 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3499 printf %s "checking for $ac_word... " >&6; }
   3500 if test ${ac_cv_prog_CC+y}
   3501 then :
   3502   printf %s "(cached) " >&6
   3503 else $as_nop
   3504   if test -n "$CC"; then
   3505   ac_cv_prog_CC="$CC" # Let the user override the test.
   3506 else
   3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3508 for as_dir in $PATH
   3509 do
   3510   IFS=$as_save_IFS
   3511   case $as_dir in #(((
   3512     '') as_dir=./ ;;
   3513     */) ;;
   3514     *) as_dir=$as_dir/ ;;
   3515   esac
   3516     for ac_exec_ext in '' $ac_executable_extensions; do
   3517   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3518     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3519     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3520     break 2
   3521   fi
   3522 done
   3523   done
   3524 IFS=$as_save_IFS
   3525 
   3526 fi
   3527 fi
   3528 CC=$ac_cv_prog_CC
   3529 if test -n "$CC"; then
   3530   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3531 printf "%s\n" "$CC" >&6; }
   3532 else
   3533   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3534 printf "%s\n" "no" >&6; }
   3535 fi
   3536 
   3537 
   3538 fi
   3539 if test -z "$ac_cv_prog_CC"; then
   3540   ac_ct_CC=$CC
   3541   # Extract the first word of "gcc", so it can be a program name with args.
   3542 set dummy gcc; ac_word=$2
   3543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3544 printf %s "checking for $ac_word... " >&6; }
   3545 if test ${ac_cv_prog_ac_ct_CC+y}
   3546 then :
   3547   printf %s "(cached) " >&6
   3548 else $as_nop
   3549   if test -n "$ac_ct_CC"; then
   3550   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3551 else
   3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3553 for as_dir in $PATH
   3554 do
   3555   IFS=$as_save_IFS
   3556   case $as_dir in #(((
   3557     '') as_dir=./ ;;
   3558     */) ;;
   3559     *) as_dir=$as_dir/ ;;
   3560   esac
   3561     for ac_exec_ext in '' $ac_executable_extensions; do
   3562   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3563     ac_cv_prog_ac_ct_CC="gcc"
   3564     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3565     break 2
   3566   fi
   3567 done
   3568   done
   3569 IFS=$as_save_IFS
   3570 
   3571 fi
   3572 fi
   3573 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3574 if test -n "$ac_ct_CC"; then
   3575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3576 printf "%s\n" "$ac_ct_CC" >&6; }
   3577 else
   3578   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3579 printf "%s\n" "no" >&6; }
   3580 fi
   3581 
   3582   if test "x$ac_ct_CC" = x; then
   3583     CC=""
   3584   else
   3585     case $cross_compiling:$ac_tool_warned in
   3586 yes:)
   3587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3588 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3589 ac_tool_warned=yes ;;
   3590 esac
   3591     CC=$ac_ct_CC
   3592   fi
   3593 else
   3594   CC="$ac_cv_prog_CC"
   3595 fi
   3596 
   3597 if test -z "$CC"; then
   3598           if test -n "$ac_tool_prefix"; then
   3599     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3600 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3602 printf %s "checking for $ac_word... " >&6; }
   3603 if test ${ac_cv_prog_CC+y}
   3604 then :
   3605   printf %s "(cached) " >&6
   3606 else $as_nop
   3607   if test -n "$CC"; then
   3608   ac_cv_prog_CC="$CC" # Let the user override the test.
   3609 else
   3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3611 for as_dir in $PATH
   3612 do
   3613   IFS=$as_save_IFS
   3614   case $as_dir in #(((
   3615     '') as_dir=./ ;;
   3616     */) ;;
   3617     *) as_dir=$as_dir/ ;;
   3618   esac
   3619     for ac_exec_ext in '' $ac_executable_extensions; do
   3620   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3621     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3622     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3623     break 2
   3624   fi
   3625 done
   3626   done
   3627 IFS=$as_save_IFS
   3628 
   3629 fi
   3630 fi
   3631 CC=$ac_cv_prog_CC
   3632 if test -n "$CC"; then
   3633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3634 printf "%s\n" "$CC" >&6; }
   3635 else
   3636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3637 printf "%s\n" "no" >&6; }
   3638 fi
   3639 
   3640 
   3641   fi
   3642 fi
   3643 if test -z "$CC"; then
   3644   # Extract the first word of "cc", so it can be a program name with args.
   3645 set dummy cc; ac_word=$2
   3646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3647 printf %s "checking for $ac_word... " >&6; }
   3648 if test ${ac_cv_prog_CC+y}
   3649 then :
   3650   printf %s "(cached) " >&6
   3651 else $as_nop
   3652   if test -n "$CC"; then
   3653   ac_cv_prog_CC="$CC" # Let the user override the test.
   3654 else
   3655   ac_prog_rejected=no
   3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3657 for as_dir in $PATH
   3658 do
   3659   IFS=$as_save_IFS
   3660   case $as_dir in #(((
   3661     '') as_dir=./ ;;
   3662     */) ;;
   3663     *) as_dir=$as_dir/ ;;
   3664   esac
   3665     for ac_exec_ext in '' $ac_executable_extensions; do
   3666   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3667     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3668        ac_prog_rejected=yes
   3669        continue
   3670      fi
   3671     ac_cv_prog_CC="cc"
   3672     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3673     break 2
   3674   fi
   3675 done
   3676   done
   3677 IFS=$as_save_IFS
   3678 
   3679 if test $ac_prog_rejected = yes; then
   3680   # We found a bogon in the path, so make sure we never use it.
   3681   set dummy $ac_cv_prog_CC
   3682   shift
   3683   if test $# != 0; then
   3684     # We chose a different compiler from the bogus one.
   3685     # However, it has the same basename, so the bogon will be chosen
   3686     # first if we set CC to just the basename; use the full file name.
   3687     shift
   3688     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3689   fi
   3690 fi
   3691 fi
   3692 fi
   3693 CC=$ac_cv_prog_CC
   3694 if test -n "$CC"; then
   3695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3696 printf "%s\n" "$CC" >&6; }
   3697 else
   3698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3699 printf "%s\n" "no" >&6; }
   3700 fi
   3701 
   3702 
   3703 fi
   3704 if test -z "$CC"; then
   3705   if test -n "$ac_tool_prefix"; then
   3706   for ac_prog in cl.exe
   3707   do
   3708     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3711 printf %s "checking for $ac_word... " >&6; }
   3712 if test ${ac_cv_prog_CC+y}
   3713 then :
   3714   printf %s "(cached) " >&6
   3715 else $as_nop
   3716   if test -n "$CC"; then
   3717   ac_cv_prog_CC="$CC" # Let the user override the test.
   3718 else
   3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3720 for as_dir in $PATH
   3721 do
   3722   IFS=$as_save_IFS
   3723   case $as_dir in #(((
   3724     '') as_dir=./ ;;
   3725     */) ;;
   3726     *) as_dir=$as_dir/ ;;
   3727   esac
   3728     for ac_exec_ext in '' $ac_executable_extensions; do
   3729   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3730     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3731     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3732     break 2
   3733   fi
   3734 done
   3735   done
   3736 IFS=$as_save_IFS
   3737 
   3738 fi
   3739 fi
   3740 CC=$ac_cv_prog_CC
   3741 if test -n "$CC"; then
   3742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3743 printf "%s\n" "$CC" >&6; }
   3744 else
   3745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3746 printf "%s\n" "no" >&6; }
   3747 fi
   3748 
   3749 
   3750     test -n "$CC" && break
   3751   done
   3752 fi
   3753 if test -z "$CC"; then
   3754   ac_ct_CC=$CC
   3755   for ac_prog in cl.exe
   3756 do
   3757   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3758 set dummy $ac_prog; ac_word=$2
   3759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3760 printf %s "checking for $ac_word... " >&6; }
   3761 if test ${ac_cv_prog_ac_ct_CC+y}
   3762 then :
   3763   printf %s "(cached) " >&6
   3764 else $as_nop
   3765   if test -n "$ac_ct_CC"; then
   3766   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3767 else
   3768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3769 for as_dir in $PATH
   3770 do
   3771   IFS=$as_save_IFS
   3772   case $as_dir in #(((
   3773     '') as_dir=./ ;;
   3774     */) ;;
   3775     *) as_dir=$as_dir/ ;;
   3776   esac
   3777     for ac_exec_ext in '' $ac_executable_extensions; do
   3778   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3779     ac_cv_prog_ac_ct_CC="$ac_prog"
   3780     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3781     break 2
   3782   fi
   3783 done
   3784   done
   3785 IFS=$as_save_IFS
   3786 
   3787 fi
   3788 fi
   3789 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3790 if test -n "$ac_ct_CC"; then
   3791   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3792 printf "%s\n" "$ac_ct_CC" >&6; }
   3793 else
   3794   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3795 printf "%s\n" "no" >&6; }
   3796 fi
   3797 
   3798 
   3799   test -n "$ac_ct_CC" && break
   3800 done
   3801 
   3802   if test "x$ac_ct_CC" = x; then
   3803     CC=""
   3804   else
   3805     case $cross_compiling:$ac_tool_warned in
   3806 yes:)
   3807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3808 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3809 ac_tool_warned=yes ;;
   3810 esac
   3811     CC=$ac_ct_CC
   3812   fi
   3813 fi
   3814 
   3815 fi
   3816 if test -z "$CC"; then
   3817   if test -n "$ac_tool_prefix"; then
   3818   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3819 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3821 printf %s "checking for $ac_word... " >&6; }
   3822 if test ${ac_cv_prog_CC+y}
   3823 then :
   3824   printf %s "(cached) " >&6
   3825 else $as_nop
   3826   if test -n "$CC"; then
   3827   ac_cv_prog_CC="$CC" # Let the user override the test.
   3828 else
   3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3830 for as_dir in $PATH
   3831 do
   3832   IFS=$as_save_IFS
   3833   case $as_dir in #(((
   3834     '') as_dir=./ ;;
   3835     */) ;;
   3836     *) as_dir=$as_dir/ ;;
   3837   esac
   3838     for ac_exec_ext in '' $ac_executable_extensions; do
   3839   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3840     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3841     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3842     break 2
   3843   fi
   3844 done
   3845   done
   3846 IFS=$as_save_IFS
   3847 
   3848 fi
   3849 fi
   3850 CC=$ac_cv_prog_CC
   3851 if test -n "$CC"; then
   3852   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3853 printf "%s\n" "$CC" >&6; }
   3854 else
   3855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3856 printf "%s\n" "no" >&6; }
   3857 fi
   3858 
   3859 
   3860 fi
   3861 if test -z "$ac_cv_prog_CC"; then
   3862   ac_ct_CC=$CC
   3863   # Extract the first word of "clang", so it can be a program name with args.
   3864 set dummy clang; ac_word=$2
   3865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3866 printf %s "checking for $ac_word... " >&6; }
   3867 if test ${ac_cv_prog_ac_ct_CC+y}
   3868 then :
   3869   printf %s "(cached) " >&6
   3870 else $as_nop
   3871   if test -n "$ac_ct_CC"; then
   3872   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3873 else
   3874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3875 for as_dir in $PATH
   3876 do
   3877   IFS=$as_save_IFS
   3878   case $as_dir in #(((
   3879     '') as_dir=./ ;;
   3880     */) ;;
   3881     *) as_dir=$as_dir/ ;;
   3882   esac
   3883     for ac_exec_ext in '' $ac_executable_extensions; do
   3884   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3885     ac_cv_prog_ac_ct_CC="clang"
   3886     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3887     break 2
   3888   fi
   3889 done
   3890   done
   3891 IFS=$as_save_IFS
   3892 
   3893 fi
   3894 fi
   3895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3896 if test -n "$ac_ct_CC"; then
   3897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3898 printf "%s\n" "$ac_ct_CC" >&6; }
   3899 else
   3900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3901 printf "%s\n" "no" >&6; }
   3902 fi
   3903 
   3904   if test "x$ac_ct_CC" = x; then
   3905     CC=""
   3906   else
   3907     case $cross_compiling:$ac_tool_warned in
   3908 yes:)
   3909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3910 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3911 ac_tool_warned=yes ;;
   3912 esac
   3913     CC=$ac_ct_CC
   3914   fi
   3915 else
   3916   CC="$ac_cv_prog_CC"
   3917 fi
   3918 
   3919 fi
   3920 
   3921 
   3922 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3923 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3924 as_fn_error $? "no acceptable C compiler found in \$PATH
   3925 See \`config.log' for more details" "$LINENO" 5; }
   3926 
   3927 # Provide some information about the compiler.
   3928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3929 set X $ac_compile
   3930 ac_compiler=$2
   3931 for ac_option in --version -v -V -qversion -version; do
   3932   { { ac_try="$ac_compiler $ac_option >&5"
   3933 case "(($ac_try" in
   3934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3935   *) ac_try_echo=$ac_try;;
   3936 esac
   3937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3938 printf "%s\n" "$ac_try_echo"; } >&5
   3939   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3940   ac_status=$?
   3941   if test -s conftest.err; then
   3942     sed '10a\
   3943 ... rest of stderr output deleted ...
   3944          10q' conftest.err >conftest.er1
   3945     cat conftest.er1 >&5
   3946   fi
   3947   rm -f conftest.er1 conftest.err
   3948   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3949   test $ac_status = 0; }
   3950 done
   3951 
   3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3953 /* end confdefs.h.  */
   3954 
   3955 int
   3956 main (void)
   3957 {
   3958 
   3959   ;
   3960   return 0;
   3961 }
   3962 _ACEOF
   3963 ac_clean_files_save=$ac_clean_files
   3964 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3965 # Try to create an executable without -o first, disregard a.out.
   3966 # It will help us diagnose broken compilers, and finding out an intuition
   3967 # of exeext.
   3968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3969 printf %s "checking whether the C compiler works... " >&6; }
   3970 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3971 
   3972 # The possible output files:
   3973 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3974 
   3975 ac_rmfiles=
   3976 for ac_file in $ac_files
   3977 do
   3978   case $ac_file in
   3979     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3980     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3981   esac
   3982 done
   3983 rm -f $ac_rmfiles
   3984 
   3985 if { { ac_try="$ac_link_default"
   3986 case "(($ac_try" in
   3987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3988   *) ac_try_echo=$ac_try;;
   3989 esac
   3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3991 printf "%s\n" "$ac_try_echo"; } >&5
   3992   (eval "$ac_link_default") 2>&5
   3993   ac_status=$?
   3994   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3995   test $ac_status = 0; }
   3996 then :
   3997   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3998 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3999 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4000 # so that the user can short-circuit this test for compilers unknown to
   4001 # Autoconf.
   4002 for ac_file in $ac_files ''
   4003 do
   4004   test -f "$ac_file" || continue
   4005   case $ac_file in
   4006     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4007 	;;
   4008     [ab].out )
   4009 	# We found the default executable, but exeext='' is most
   4010 	# certainly right.
   4011 	break;;
   4012     *.* )
   4013 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4014 	then :; else
   4015 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4016 	fi
   4017 	# We set ac_cv_exeext here because the later test for it is not
   4018 	# safe: cross compilers may not add the suffix if given an `-o'
   4019 	# argument, so we may need to know it at that point already.
   4020 	# Even if this section looks crufty: it has the advantage of
   4021 	# actually working.
   4022 	break;;
   4023     * )
   4024 	break;;
   4025   esac
   4026 done
   4027 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4028 
   4029 else $as_nop
   4030   ac_file=''
   4031 fi
   4032 if test -z "$ac_file"
   4033 then :
   4034   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4035 printf "%s\n" "no" >&6; }
   4036 printf "%s\n" "$as_me: failed program was:" >&5
   4037 sed 's/^/| /' conftest.$ac_ext >&5
   4038 
   4039 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4040 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4041 as_fn_error 77 "C compiler cannot create executables
   4042 See \`config.log' for more details" "$LINENO" 5; }
   4043 else $as_nop
   4044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4045 printf "%s\n" "yes" >&6; }
   4046 fi
   4047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4048 printf %s "checking for C compiler default output file name... " >&6; }
   4049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4050 printf "%s\n" "$ac_file" >&6; }
   4051 ac_exeext=$ac_cv_exeext
   4052 
   4053 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4054 ac_clean_files=$ac_clean_files_save
   4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4056 printf %s "checking for suffix of executables... " >&6; }
   4057 if { { ac_try="$ac_link"
   4058 case "(($ac_try" in
   4059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4060   *) ac_try_echo=$ac_try;;
   4061 esac
   4062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4063 printf "%s\n" "$ac_try_echo"; } >&5
   4064   (eval "$ac_link") 2>&5
   4065   ac_status=$?
   4066   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4067   test $ac_status = 0; }
   4068 then :
   4069   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4070 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4071 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4072 # `rm'.
   4073 for ac_file in conftest.exe conftest conftest.*; do
   4074   test -f "$ac_file" || continue
   4075   case $ac_file in
   4076     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4077     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4078 	  break;;
   4079     * ) break;;
   4080   esac
   4081 done
   4082 else $as_nop
   4083   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4084 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4085 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4086 See \`config.log' for more details" "$LINENO" 5; }
   4087 fi
   4088 rm -f conftest conftest$ac_cv_exeext
   4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4090 printf "%s\n" "$ac_cv_exeext" >&6; }
   4091 
   4092 rm -f conftest.$ac_ext
   4093 EXEEXT=$ac_cv_exeext
   4094 ac_exeext=$EXEEXT
   4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4096 /* end confdefs.h.  */
   4097 #include <stdio.h>
   4098 int
   4099 main (void)
   4100 {
   4101 FILE *f = fopen ("conftest.out", "w");
   4102  return ferror (f) || fclose (f) != 0;
   4103 
   4104   ;
   4105   return 0;
   4106 }
   4107 _ACEOF
   4108 ac_clean_files="$ac_clean_files conftest.out"
   4109 # Check that the compiler produces executables we can run.  If not, either
   4110 # the compiler is broken, or we cross compile.
   4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4112 printf %s "checking whether we are cross compiling... " >&6; }
   4113 if test "$cross_compiling" != yes; then
   4114   { { ac_try="$ac_link"
   4115 case "(($ac_try" in
   4116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4117   *) ac_try_echo=$ac_try;;
   4118 esac
   4119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4120 printf "%s\n" "$ac_try_echo"; } >&5
   4121   (eval "$ac_link") 2>&5
   4122   ac_status=$?
   4123   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4124   test $ac_status = 0; }
   4125   if { ac_try='./conftest$ac_cv_exeext'
   4126   { { case "(($ac_try" in
   4127   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4128   *) ac_try_echo=$ac_try;;
   4129 esac
   4130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4131 printf "%s\n" "$ac_try_echo"; } >&5
   4132   (eval "$ac_try") 2>&5
   4133   ac_status=$?
   4134   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4135   test $ac_status = 0; }; }; then
   4136     cross_compiling=no
   4137   else
   4138     if test "$cross_compiling" = maybe; then
   4139 	cross_compiling=yes
   4140     else
   4141 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4142 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4143 as_fn_error 77 "cannot run C compiled programs.
   4144 If you meant to cross compile, use \`--host'.
   4145 See \`config.log' for more details" "$LINENO" 5; }
   4146     fi
   4147   fi
   4148 fi
   4149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4150 printf "%s\n" "$cross_compiling" >&6; }
   4151 
   4152 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4153 ac_clean_files=$ac_clean_files_save
   4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4155 printf %s "checking for suffix of object files... " >&6; }
   4156 if test ${ac_cv_objext+y}
   4157 then :
   4158   printf %s "(cached) " >&6
   4159 else $as_nop
   4160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4161 /* end confdefs.h.  */
   4162 
   4163 int
   4164 main (void)
   4165 {
   4166 
   4167   ;
   4168   return 0;
   4169 }
   4170 _ACEOF
   4171 rm -f conftest.o conftest.obj
   4172 if { { ac_try="$ac_compile"
   4173 case "(($ac_try" in
   4174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4175   *) ac_try_echo=$ac_try;;
   4176 esac
   4177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4178 printf "%s\n" "$ac_try_echo"; } >&5
   4179   (eval "$ac_compile") 2>&5
   4180   ac_status=$?
   4181   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4182   test $ac_status = 0; }
   4183 then :
   4184   for ac_file in conftest.o conftest.obj conftest.*; do
   4185   test -f "$ac_file" || continue;
   4186   case $ac_file in
   4187     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4188     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4189        break;;
   4190   esac
   4191 done
   4192 else $as_nop
   4193   printf "%s\n" "$as_me: failed program was:" >&5
   4194 sed 's/^/| /' conftest.$ac_ext >&5
   4195 
   4196 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4197 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4198 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4199 See \`config.log' for more details" "$LINENO" 5; }
   4200 fi
   4201 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4202 fi
   4203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4204 printf "%s\n" "$ac_cv_objext" >&6; }
   4205 OBJEXT=$ac_cv_objext
   4206 ac_objext=$OBJEXT
   4207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4208 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4209 if test ${ac_cv_c_compiler_gnu+y}
   4210 then :
   4211   printf %s "(cached) " >&6
   4212 else $as_nop
   4213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4214 /* end confdefs.h.  */
   4215 
   4216 int
   4217 main (void)
   4218 {
   4219 #ifndef __GNUC__
   4220        choke me
   4221 #endif
   4222 
   4223   ;
   4224   return 0;
   4225 }
   4226 _ACEOF
   4227 if ac_fn_c_try_compile "$LINENO"
   4228 then :
   4229   ac_compiler_gnu=yes
   4230 else $as_nop
   4231   ac_compiler_gnu=no
   4232 fi
   4233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4234 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4235 
   4236 fi
   4237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4238 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4240 
   4241 if test $ac_compiler_gnu = yes; then
   4242   GCC=yes
   4243 else
   4244   GCC=
   4245 fi
   4246 ac_test_CFLAGS=${CFLAGS+y}
   4247 ac_save_CFLAGS=$CFLAGS
   4248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4249 printf %s "checking whether $CC accepts -g... " >&6; }
   4250 if test ${ac_cv_prog_cc_g+y}
   4251 then :
   4252   printf %s "(cached) " >&6
   4253 else $as_nop
   4254   ac_save_c_werror_flag=$ac_c_werror_flag
   4255    ac_c_werror_flag=yes
   4256    ac_cv_prog_cc_g=no
   4257    CFLAGS="-g"
   4258    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4259 /* end confdefs.h.  */
   4260 
   4261 int
   4262 main (void)
   4263 {
   4264 
   4265   ;
   4266   return 0;
   4267 }
   4268 _ACEOF
   4269 if ac_fn_c_try_compile "$LINENO"
   4270 then :
   4271   ac_cv_prog_cc_g=yes
   4272 else $as_nop
   4273   CFLAGS=""
   4274       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4275 /* end confdefs.h.  */
   4276 
   4277 int
   4278 main (void)
   4279 {
   4280 
   4281   ;
   4282   return 0;
   4283 }
   4284 _ACEOF
   4285 if ac_fn_c_try_compile "$LINENO"
   4286 then :
   4287 
   4288 else $as_nop
   4289   ac_c_werror_flag=$ac_save_c_werror_flag
   4290 	 CFLAGS="-g"
   4291 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4292 /* end confdefs.h.  */
   4293 
   4294 int
   4295 main (void)
   4296 {
   4297 
   4298   ;
   4299   return 0;
   4300 }
   4301 _ACEOF
   4302 if ac_fn_c_try_compile "$LINENO"
   4303 then :
   4304   ac_cv_prog_cc_g=yes
   4305 fi
   4306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4307 fi
   4308 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4309 fi
   4310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4311    ac_c_werror_flag=$ac_save_c_werror_flag
   4312 fi
   4313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4314 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4315 if test $ac_test_CFLAGS; then
   4316   CFLAGS=$ac_save_CFLAGS
   4317 elif test $ac_cv_prog_cc_g = yes; then
   4318   if test "$GCC" = yes; then
   4319     CFLAGS="-g -O2"
   4320   else
   4321     CFLAGS="-g"
   4322   fi
   4323 else
   4324   if test "$GCC" = yes; then
   4325     CFLAGS="-O2"
   4326   else
   4327     CFLAGS=
   4328   fi
   4329 fi
   4330 ac_prog_cc_stdc=no
   4331 if test x$ac_prog_cc_stdc = xno
   4332 then :
   4333   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4334 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4335 if test ${ac_cv_prog_cc_c11+y}
   4336 then :
   4337   printf %s "(cached) " >&6
   4338 else $as_nop
   4339   ac_cv_prog_cc_c11=no
   4340 ac_save_CC=$CC
   4341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4342 /* end confdefs.h.  */
   4343 $ac_c_conftest_c11_program
   4344 _ACEOF
   4345 for ac_arg in '' -std=gnu11
   4346 do
   4347   CC="$ac_save_CC $ac_arg"
   4348   if ac_fn_c_try_compile "$LINENO"
   4349 then :
   4350   ac_cv_prog_cc_c11=$ac_arg
   4351 fi
   4352 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4353   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4354 done
   4355 rm -f conftest.$ac_ext
   4356 CC=$ac_save_CC
   4357 fi
   4358 
   4359 if test "x$ac_cv_prog_cc_c11" = xno
   4360 then :
   4361   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4362 printf "%s\n" "unsupported" >&6; }
   4363 else $as_nop
   4364   if test "x$ac_cv_prog_cc_c11" = x
   4365 then :
   4366   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4367 printf "%s\n" "none needed" >&6; }
   4368 else $as_nop
   4369   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4370 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4371      CC="$CC $ac_cv_prog_cc_c11"
   4372 fi
   4373   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4374   ac_prog_cc_stdc=c11
   4375 fi
   4376 fi
   4377 if test x$ac_prog_cc_stdc = xno
   4378 then :
   4379   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4380 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4381 if test ${ac_cv_prog_cc_c99+y}
   4382 then :
   4383   printf %s "(cached) " >&6
   4384 else $as_nop
   4385   ac_cv_prog_cc_c99=no
   4386 ac_save_CC=$CC
   4387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4388 /* end confdefs.h.  */
   4389 $ac_c_conftest_c99_program
   4390 _ACEOF
   4391 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4392 do
   4393   CC="$ac_save_CC $ac_arg"
   4394   if ac_fn_c_try_compile "$LINENO"
   4395 then :
   4396   ac_cv_prog_cc_c99=$ac_arg
   4397 fi
   4398 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4399   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4400 done
   4401 rm -f conftest.$ac_ext
   4402 CC=$ac_save_CC
   4403 fi
   4404 
   4405 if test "x$ac_cv_prog_cc_c99" = xno
   4406 then :
   4407   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4408 printf "%s\n" "unsupported" >&6; }
   4409 else $as_nop
   4410   if test "x$ac_cv_prog_cc_c99" = x
   4411 then :
   4412   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4413 printf "%s\n" "none needed" >&6; }
   4414 else $as_nop
   4415   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4416 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4417      CC="$CC $ac_cv_prog_cc_c99"
   4418 fi
   4419   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4420   ac_prog_cc_stdc=c99
   4421 fi
   4422 fi
   4423 if test x$ac_prog_cc_stdc = xno
   4424 then :
   4425   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4426 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4427 if test ${ac_cv_prog_cc_c89+y}
   4428 then :
   4429   printf %s "(cached) " >&6
   4430 else $as_nop
   4431   ac_cv_prog_cc_c89=no
   4432 ac_save_CC=$CC
   4433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4434 /* end confdefs.h.  */
   4435 $ac_c_conftest_c89_program
   4436 _ACEOF
   4437 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4438 do
   4439   CC="$ac_save_CC $ac_arg"
   4440   if ac_fn_c_try_compile "$LINENO"
   4441 then :
   4442   ac_cv_prog_cc_c89=$ac_arg
   4443 fi
   4444 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4445   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4446 done
   4447 rm -f conftest.$ac_ext
   4448 CC=$ac_save_CC
   4449 fi
   4450 
   4451 if test "x$ac_cv_prog_cc_c89" = xno
   4452 then :
   4453   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4454 printf "%s\n" "unsupported" >&6; }
   4455 else $as_nop
   4456   if test "x$ac_cv_prog_cc_c89" = x
   4457 then :
   4458   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4459 printf "%s\n" "none needed" >&6; }
   4460 else $as_nop
   4461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4462 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4463      CC="$CC $ac_cv_prog_cc_c89"
   4464 fi
   4465   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4466   ac_prog_cc_stdc=c89
   4467 fi
   4468 fi
   4469 
   4470 ac_ext=c
   4471 ac_cpp='$CPP $CPPFLAGS'
   4472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4475 
   4476 
   4477   ac_ext=c
   4478 ac_cpp='$CPP $CPPFLAGS'
   4479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4483 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4484 if test ${am_cv_prog_cc_c_o+y}
   4485 then :
   4486   printf %s "(cached) " >&6
   4487 else $as_nop
   4488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4489 /* end confdefs.h.  */
   4490 
   4491 int
   4492 main (void)
   4493 {
   4494 
   4495   ;
   4496   return 0;
   4497 }
   4498 _ACEOF
   4499   # Make sure it works both with $CC and with simple cc.
   4500   # Following AC_PROG_CC_C_O, we do the test twice because some
   4501   # compilers refuse to overwrite an existing .o file with -o,
   4502   # though they will create one.
   4503   am_cv_prog_cc_c_o=yes
   4504   for am_i in 1 2; do
   4505     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4506    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4507    ac_status=$?
   4508    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4509    (exit $ac_status); } \
   4510          && test -f conftest2.$ac_objext; then
   4511       : OK
   4512     else
   4513       am_cv_prog_cc_c_o=no
   4514       break
   4515     fi
   4516   done
   4517   rm -f core conftest*
   4518   unset am_i
   4519 fi
   4520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4521 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4522 if test "$am_cv_prog_cc_c_o" != yes; then
   4523    # Losing compiler, so override with the script.
   4524    # FIXME: It is wrong to rewrite CC.
   4525    # But if we don't then we get into trouble of one sort or another.
   4526    # A longer-term fix would be to have automake use am__CC in this case,
   4527    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4528    CC="$am_aux_dir/compile $CC"
   4529 fi
   4530 ac_ext=c
   4531 ac_cpp='$CPP $CPPFLAGS'
   4532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4535 
   4536 
   4537 depcc="$CC"   am_compiler_list=
   4538 
   4539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4540 printf %s "checking dependency style of $depcc... " >&6; }
   4541 if test ${am_cv_CC_dependencies_compiler_type+y}
   4542 then :
   4543   printf %s "(cached) " >&6
   4544 else $as_nop
   4545   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4546   # We make a subdir and do the tests there.  Otherwise we can end up
   4547   # making bogus files that we don't know about and never remove.  For
   4548   # instance it was reported that on HP-UX the gcc test will end up
   4549   # making a dummy file named 'D' -- because '-MD' means "put the output
   4550   # in D".
   4551   rm -rf conftest.dir
   4552   mkdir conftest.dir
   4553   # Copy depcomp to subdir because otherwise we won't find it if we're
   4554   # using a relative directory.
   4555   cp "$am_depcomp" conftest.dir
   4556   cd conftest.dir
   4557   # We will build objects and dependencies in a subdirectory because
   4558   # it helps to detect inapplicable dependency modes.  For instance
   4559   # both Tru64's cc and ICC support -MD to output dependencies as a
   4560   # side effect of compilation, but ICC will put the dependencies in
   4561   # the current directory while Tru64 will put them in the object
   4562   # directory.
   4563   mkdir sub
   4564 
   4565   am_cv_CC_dependencies_compiler_type=none
   4566   if test "$am_compiler_list" = ""; then
   4567      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4568   fi
   4569   am__universal=false
   4570   case " $depcc " in #(
   4571      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4572      esac
   4573 
   4574   for depmode in $am_compiler_list; do
   4575     # Setup a source with many dependencies, because some compilers
   4576     # like to wrap large dependency lists on column 80 (with \), and
   4577     # we should not choose a depcomp mode which is confused by this.
   4578     #
   4579     # We need to recreate these files for each test, as the compiler may
   4580     # overwrite some of them when testing with obscure command lines.
   4581     # This happens at least with the AIX C compiler.
   4582     : > sub/conftest.c
   4583     for i in 1 2 3 4 5 6; do
   4584       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4585       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4586       # Solaris 10 /bin/sh.
   4587       echo '/* dummy */' > sub/conftst$i.h
   4588     done
   4589     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4590 
   4591     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4592     # mode.  It turns out that the SunPro C++ compiler does not properly
   4593     # handle '-M -o', and we need to detect this.  Also, some Intel
   4594     # versions had trouble with output in subdirs.
   4595     am__obj=sub/conftest.${OBJEXT-o}
   4596     am__minus_obj="-o $am__obj"
   4597     case $depmode in
   4598     gcc)
   4599       # This depmode causes a compiler race in universal mode.
   4600       test "$am__universal" = false || continue
   4601       ;;
   4602     nosideeffect)
   4603       # After this tag, mechanisms are not by side-effect, so they'll
   4604       # only be used when explicitly requested.
   4605       if test "x$enable_dependency_tracking" = xyes; then
   4606 	continue
   4607       else
   4608 	break
   4609       fi
   4610       ;;
   4611     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4612       # This compiler won't grok '-c -o', but also, the minuso test has
   4613       # not run yet.  These depmodes are late enough in the game, and
   4614       # so weak that their functioning should not be impacted.
   4615       am__obj=conftest.${OBJEXT-o}
   4616       am__minus_obj=
   4617       ;;
   4618     none) break ;;
   4619     esac
   4620     if depmode=$depmode \
   4621        source=sub/conftest.c object=$am__obj \
   4622        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4623        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4624          >/dev/null 2>conftest.err &&
   4625        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4626        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4627        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4628        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4629       # icc doesn't choke on unknown options, it will just issue warnings
   4630       # or remarks (even with -Werror).  So we grep stderr for any message
   4631       # that says an option was ignored or not supported.
   4632       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4633       #   icc: Command line warning: ignoring option '-M'; no argument required
   4634       # The diagnosis changed in icc 8.0:
   4635       #   icc: Command line remark: option '-MP' not supported
   4636       if (grep 'ignoring option' conftest.err ||
   4637           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4638         am_cv_CC_dependencies_compiler_type=$depmode
   4639         break
   4640       fi
   4641     fi
   4642   done
   4643 
   4644   cd ..
   4645   rm -rf conftest.dir
   4646 else
   4647   am_cv_CC_dependencies_compiler_type=none
   4648 fi
   4649 
   4650 fi
   4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4652 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4653 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4654 
   4655  if
   4656   test "x$enable_dependency_tracking" != xno \
   4657   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4658   am__fastdepCC_TRUE=
   4659   am__fastdepCC_FALSE='#'
   4660 else
   4661   am__fastdepCC_TRUE='#'
   4662   am__fastdepCC_FALSE=
   4663 fi
   4664 
   4665 
   4666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4667 printf %s "checking for a sed that does not truncate output... " >&6; }
   4668 if test ${ac_cv_path_SED+y}
   4669 then :
   4670   printf %s "(cached) " >&6
   4671 else $as_nop
   4672             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4673      for ac_i in 1 2 3 4 5 6 7; do
   4674        ac_script="$ac_script$as_nl$ac_script"
   4675      done
   4676      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4677      { ac_script=; unset ac_script;}
   4678      if test -z "$SED"; then
   4679   ac_path_SED_found=false
   4680   # Loop through the user's path and test for each of PROGNAME-LIST
   4681   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4682 for as_dir in $PATH
   4683 do
   4684   IFS=$as_save_IFS
   4685   case $as_dir in #(((
   4686     '') as_dir=./ ;;
   4687     */) ;;
   4688     *) as_dir=$as_dir/ ;;
   4689   esac
   4690     for ac_prog in sed gsed
   4691    do
   4692     for ac_exec_ext in '' $ac_executable_extensions; do
   4693       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4694       as_fn_executable_p "$ac_path_SED" || continue
   4695 # Check for GNU ac_path_SED and select it if it is found.
   4696   # Check for GNU $ac_path_SED
   4697 case `"$ac_path_SED" --version 2>&1` in
   4698 *GNU*)
   4699   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4700 *)
   4701   ac_count=0
   4702   printf %s 0123456789 >"conftest.in"
   4703   while :
   4704   do
   4705     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4706     mv "conftest.tmp" "conftest.in"
   4707     cp "conftest.in" "conftest.nl"
   4708     printf "%s\n" '' >> "conftest.nl"
   4709     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4710     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4711     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4712     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4713       # Best one so far, save it but keep looking for a better one
   4714       ac_cv_path_SED="$ac_path_SED"
   4715       ac_path_SED_max=$ac_count
   4716     fi
   4717     # 10*(2^10) chars as input seems more than enough
   4718     test $ac_count -gt 10 && break
   4719   done
   4720   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4721 esac
   4722 
   4723       $ac_path_SED_found && break 3
   4724     done
   4725   done
   4726   done
   4727 IFS=$as_save_IFS
   4728   if test -z "$ac_cv_path_SED"; then
   4729     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4730   fi
   4731 else
   4732   ac_cv_path_SED=$SED
   4733 fi
   4734 
   4735 fi
   4736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4737 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4738  SED="$ac_cv_path_SED"
   4739   rm -f conftest.sed
   4740 
   4741 test -z "$SED" && SED=sed
   4742 Xsed="$SED -e 1s/^X//"
   4743 
   4744 
   4745 
   4746 
   4747 
   4748 
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4755 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4756 if test ${ac_cv_path_GREP+y}
   4757 then :
   4758   printf %s "(cached) " >&6
   4759 else $as_nop
   4760   if test -z "$GREP"; then
   4761   ac_path_GREP_found=false
   4762   # Loop through the user's path and test for each of PROGNAME-LIST
   4763   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4764 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4765 do
   4766   IFS=$as_save_IFS
   4767   case $as_dir in #(((
   4768     '') as_dir=./ ;;
   4769     */) ;;
   4770     *) as_dir=$as_dir/ ;;
   4771   esac
   4772     for ac_prog in grep ggrep
   4773    do
   4774     for ac_exec_ext in '' $ac_executable_extensions; do
   4775       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4776       as_fn_executable_p "$ac_path_GREP" || continue
   4777 # Check for GNU ac_path_GREP and select it if it is found.
   4778   # Check for GNU $ac_path_GREP
   4779 case `"$ac_path_GREP" --version 2>&1` in
   4780 *GNU*)
   4781   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4782 *)
   4783   ac_count=0
   4784   printf %s 0123456789 >"conftest.in"
   4785   while :
   4786   do
   4787     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4788     mv "conftest.tmp" "conftest.in"
   4789     cp "conftest.in" "conftest.nl"
   4790     printf "%s\n" 'GREP' >> "conftest.nl"
   4791     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4792     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4793     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4794     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4795       # Best one so far, save it but keep looking for a better one
   4796       ac_cv_path_GREP="$ac_path_GREP"
   4797       ac_path_GREP_max=$ac_count
   4798     fi
   4799     # 10*(2^10) chars as input seems more than enough
   4800     test $ac_count -gt 10 && break
   4801   done
   4802   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4803 esac
   4804 
   4805       $ac_path_GREP_found && break 3
   4806     done
   4807   done
   4808   done
   4809 IFS=$as_save_IFS
   4810   if test -z "$ac_cv_path_GREP"; then
   4811     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4812   fi
   4813 else
   4814   ac_cv_path_GREP=$GREP
   4815 fi
   4816 
   4817 fi
   4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4819 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   4820  GREP="$ac_cv_path_GREP"
   4821 
   4822 
   4823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4824 printf %s "checking for egrep... " >&6; }
   4825 if test ${ac_cv_path_EGREP+y}
   4826 then :
   4827   printf %s "(cached) " >&6
   4828 else $as_nop
   4829   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4830    then ac_cv_path_EGREP="$GREP -E"
   4831    else
   4832      if test -z "$EGREP"; then
   4833   ac_path_EGREP_found=false
   4834   # Loop through the user's path and test for each of PROGNAME-LIST
   4835   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4836 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4837 do
   4838   IFS=$as_save_IFS
   4839   case $as_dir in #(((
   4840     '') as_dir=./ ;;
   4841     */) ;;
   4842     *) as_dir=$as_dir/ ;;
   4843   esac
   4844     for ac_prog in egrep
   4845    do
   4846     for ac_exec_ext in '' $ac_executable_extensions; do
   4847       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   4848       as_fn_executable_p "$ac_path_EGREP" || continue
   4849 # Check for GNU ac_path_EGREP and select it if it is found.
   4850   # Check for GNU $ac_path_EGREP
   4851 case `"$ac_path_EGREP" --version 2>&1` in
   4852 *GNU*)
   4853   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4854 *)
   4855   ac_count=0
   4856   printf %s 0123456789 >"conftest.in"
   4857   while :
   4858   do
   4859     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4860     mv "conftest.tmp" "conftest.in"
   4861     cp "conftest.in" "conftest.nl"
   4862     printf "%s\n" 'EGREP' >> "conftest.nl"
   4863     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4864     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4865     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4866     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4867       # Best one so far, save it but keep looking for a better one
   4868       ac_cv_path_EGREP="$ac_path_EGREP"
   4869       ac_path_EGREP_max=$ac_count
   4870     fi
   4871     # 10*(2^10) chars as input seems more than enough
   4872     test $ac_count -gt 10 && break
   4873   done
   4874   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4875 esac
   4876 
   4877       $ac_path_EGREP_found && break 3
   4878     done
   4879   done
   4880   done
   4881 IFS=$as_save_IFS
   4882   if test -z "$ac_cv_path_EGREP"; then
   4883     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4884   fi
   4885 else
   4886   ac_cv_path_EGREP=$EGREP
   4887 fi
   4888 
   4889    fi
   4890 fi
   4891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4892 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   4893  EGREP="$ac_cv_path_EGREP"
   4894 
   4895 
   4896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4897 printf %s "checking for fgrep... " >&6; }
   4898 if test ${ac_cv_path_FGREP+y}
   4899 then :
   4900   printf %s "(cached) " >&6
   4901 else $as_nop
   4902   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4903    then ac_cv_path_FGREP="$GREP -F"
   4904    else
   4905      if test -z "$FGREP"; then
   4906   ac_path_FGREP_found=false
   4907   # Loop through the user's path and test for each of PROGNAME-LIST
   4908   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4909 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4910 do
   4911   IFS=$as_save_IFS
   4912   case $as_dir in #(((
   4913     '') as_dir=./ ;;
   4914     */) ;;
   4915     *) as_dir=$as_dir/ ;;
   4916   esac
   4917     for ac_prog in fgrep
   4918    do
   4919     for ac_exec_ext in '' $ac_executable_extensions; do
   4920       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   4921       as_fn_executable_p "$ac_path_FGREP" || continue
   4922 # Check for GNU ac_path_FGREP and select it if it is found.
   4923   # Check for GNU $ac_path_FGREP
   4924 case `"$ac_path_FGREP" --version 2>&1` in
   4925 *GNU*)
   4926   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4927 *)
   4928   ac_count=0
   4929   printf %s 0123456789 >"conftest.in"
   4930   while :
   4931   do
   4932     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4933     mv "conftest.tmp" "conftest.in"
   4934     cp "conftest.in" "conftest.nl"
   4935     printf "%s\n" 'FGREP' >> "conftest.nl"
   4936     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4937     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4938     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4939     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4940       # Best one so far, save it but keep looking for a better one
   4941       ac_cv_path_FGREP="$ac_path_FGREP"
   4942       ac_path_FGREP_max=$ac_count
   4943     fi
   4944     # 10*(2^10) chars as input seems more than enough
   4945     test $ac_count -gt 10 && break
   4946   done
   4947   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4948 esac
   4949 
   4950       $ac_path_FGREP_found && break 3
   4951     done
   4952   done
   4953   done
   4954 IFS=$as_save_IFS
   4955   if test -z "$ac_cv_path_FGREP"; then
   4956     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4957   fi
   4958 else
   4959   ac_cv_path_FGREP=$FGREP
   4960 fi
   4961 
   4962    fi
   4963 fi
   4964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4965 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   4966  FGREP="$ac_cv_path_FGREP"
   4967 
   4968 
   4969 test -z "$GREP" && GREP=grep
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 # Check whether --with-gnu-ld was given.
   4990 if test ${with_gnu_ld+y}
   4991 then :
   4992   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4993 else $as_nop
   4994   with_gnu_ld=no
   4995 fi
   4996 
   4997 ac_prog=ld
   4998 if test yes = "$GCC"; then
   4999   # Check if gcc -print-prog-name=ld gives a path.
   5000   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5001 printf %s "checking for ld used by $CC... " >&6; }
   5002   case $host in
   5003   *-*-mingw*)
   5004     # gcc leaves a trailing carriage return, which upsets mingw
   5005     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5006   *)
   5007     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5008   esac
   5009   case $ac_prog in
   5010     # Accept absolute paths.
   5011     [\\/]* | ?:[\\/]*)
   5012       re_direlt='/[^/][^/]*/\.\./'
   5013       # Canonicalize the pathname of ld
   5014       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5015       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5016 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5017       done
   5018       test -z "$LD" && LD=$ac_prog
   5019       ;;
   5020   "")
   5021     # If it fails, then pretend we aren't using GCC.
   5022     ac_prog=ld
   5023     ;;
   5024   *)
   5025     # If it is relative, then search for the first ld in PATH.
   5026     with_gnu_ld=unknown
   5027     ;;
   5028   esac
   5029 elif test yes = "$with_gnu_ld"; then
   5030   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5031 printf %s "checking for GNU ld... " >&6; }
   5032 else
   5033   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5034 printf %s "checking for non-GNU ld... " >&6; }
   5035 fi
   5036 if test ${lt_cv_path_LD+y}
   5037 then :
   5038   printf %s "(cached) " >&6
   5039 else $as_nop
   5040   if test -z "$LD"; then
   5041   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5042   for ac_dir in $PATH; do
   5043     IFS=$lt_save_ifs
   5044     test -z "$ac_dir" && ac_dir=.
   5045     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5046       lt_cv_path_LD=$ac_dir/$ac_prog
   5047       # Check to see if the program is GNU ld.  I'd rather use --version,
   5048       # but apparently some variants of GNU ld only accept -v.
   5049       # Break only if it was the GNU/non-GNU ld that we prefer.
   5050       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5051       *GNU* | *'with BFD'*)
   5052 	test no != "$with_gnu_ld" && break
   5053 	;;
   5054       *)
   5055 	test yes != "$with_gnu_ld" && break
   5056 	;;
   5057       esac
   5058     fi
   5059   done
   5060   IFS=$lt_save_ifs
   5061 else
   5062   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5063 fi
   5064 fi
   5065 
   5066 LD=$lt_cv_path_LD
   5067 if test -n "$LD"; then
   5068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5069 printf "%s\n" "$LD" >&6; }
   5070 else
   5071   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5072 printf "%s\n" "no" >&6; }
   5073 fi
   5074 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5076 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5077 if test ${lt_cv_prog_gnu_ld+y}
   5078 then :
   5079   printf %s "(cached) " >&6
   5080 else $as_nop
   5081   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5082 case `$LD -v 2>&1 </dev/null` in
   5083 *GNU* | *'with BFD'*)
   5084   lt_cv_prog_gnu_ld=yes
   5085   ;;
   5086 *)
   5087   lt_cv_prog_gnu_ld=no
   5088   ;;
   5089 esac
   5090 fi
   5091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5092 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5093 with_gnu_ld=$lt_cv_prog_gnu_ld
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5104 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5105 if test ${lt_cv_path_NM+y}
   5106 then :
   5107   printf %s "(cached) " >&6
   5108 else $as_nop
   5109   if test -n "$NM"; then
   5110   # Let the user override the test.
   5111   lt_cv_path_NM=$NM
   5112 else
   5113   lt_nm_to_check=${ac_tool_prefix}nm
   5114   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5115     lt_nm_to_check="$lt_nm_to_check nm"
   5116   fi
   5117   for lt_tmp_nm in $lt_nm_to_check; do
   5118     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5119     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5120       IFS=$lt_save_ifs
   5121       test -z "$ac_dir" && ac_dir=.
   5122       tmp_nm=$ac_dir/$lt_tmp_nm
   5123       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5124 	# Check to see if the nm accepts a BSD-compat flag.
   5125 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5126 	#   nm: unknown option "B" ignored
   5127 	# Tru64's nm complains that /dev/null is an invalid object file
   5128 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5129 	case $build_os in
   5130 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5131 	*) lt_bad_file=/dev/null ;;
   5132 	esac
   5133 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   5134 	*$lt_bad_file* | *'Invalid file or object type'*)
   5135 	  lt_cv_path_NM="$tmp_nm -B"
   5136 	  break 2
   5137 	  ;;
   5138 	*)
   5139 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5140 	  */dev/null*)
   5141 	    lt_cv_path_NM="$tmp_nm -p"
   5142 	    break 2
   5143 	    ;;
   5144 	  *)
   5145 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5146 	    continue # so that we can try to find one that supports BSD flags
   5147 	    ;;
   5148 	  esac
   5149 	  ;;
   5150 	esac
   5151       fi
   5152     done
   5153     IFS=$lt_save_ifs
   5154   done
   5155   : ${lt_cv_path_NM=no}
   5156 fi
   5157 fi
   5158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5159 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5160 if test no != "$lt_cv_path_NM"; then
   5161   NM=$lt_cv_path_NM
   5162 else
   5163   # Didn't find any BSD compatible name lister, look for dumpbin.
   5164   if test -n "$DUMPBIN"; then :
   5165     # Let the user override the test.
   5166   else
   5167     if test -n "$ac_tool_prefix"; then
   5168   for ac_prog in dumpbin "link -dump"
   5169   do
   5170     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5171 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5173 printf %s "checking for $ac_word... " >&6; }
   5174 if test ${ac_cv_prog_DUMPBIN+y}
   5175 then :
   5176   printf %s "(cached) " >&6
   5177 else $as_nop
   5178   if test -n "$DUMPBIN"; then
   5179   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5180 else
   5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5182 for as_dir in $PATH
   5183 do
   5184   IFS=$as_save_IFS
   5185   case $as_dir in #(((
   5186     '') as_dir=./ ;;
   5187     */) ;;
   5188     *) as_dir=$as_dir/ ;;
   5189   esac
   5190     for ac_exec_ext in '' $ac_executable_extensions; do
   5191   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5192     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5193     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5194     break 2
   5195   fi
   5196 done
   5197   done
   5198 IFS=$as_save_IFS
   5199 
   5200 fi
   5201 fi
   5202 DUMPBIN=$ac_cv_prog_DUMPBIN
   5203 if test -n "$DUMPBIN"; then
   5204   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5205 printf "%s\n" "$DUMPBIN" >&6; }
   5206 else
   5207   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5208 printf "%s\n" "no" >&6; }
   5209 fi
   5210 
   5211 
   5212     test -n "$DUMPBIN" && break
   5213   done
   5214 fi
   5215 if test -z "$DUMPBIN"; then
   5216   ac_ct_DUMPBIN=$DUMPBIN
   5217   for ac_prog in dumpbin "link -dump"
   5218 do
   5219   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5220 set dummy $ac_prog; ac_word=$2
   5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5222 printf %s "checking for $ac_word... " >&6; }
   5223 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5224 then :
   5225   printf %s "(cached) " >&6
   5226 else $as_nop
   5227   if test -n "$ac_ct_DUMPBIN"; then
   5228   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5229 else
   5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5231 for as_dir in $PATH
   5232 do
   5233   IFS=$as_save_IFS
   5234   case $as_dir in #(((
   5235     '') as_dir=./ ;;
   5236     */) ;;
   5237     *) as_dir=$as_dir/ ;;
   5238   esac
   5239     for ac_exec_ext in '' $ac_executable_extensions; do
   5240   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5241     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5242     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5243     break 2
   5244   fi
   5245 done
   5246   done
   5247 IFS=$as_save_IFS
   5248 
   5249 fi
   5250 fi
   5251 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5252 if test -n "$ac_ct_DUMPBIN"; then
   5253   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5254 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5255 else
   5256   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5257 printf "%s\n" "no" >&6; }
   5258 fi
   5259 
   5260 
   5261   test -n "$ac_ct_DUMPBIN" && break
   5262 done
   5263 
   5264   if test "x$ac_ct_DUMPBIN" = x; then
   5265     DUMPBIN=":"
   5266   else
   5267     case $cross_compiling:$ac_tool_warned in
   5268 yes:)
   5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5270 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5271 ac_tool_warned=yes ;;
   5272 esac
   5273     DUMPBIN=$ac_ct_DUMPBIN
   5274   fi
   5275 fi
   5276 
   5277     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   5278     *COFF*)
   5279       DUMPBIN="$DUMPBIN -symbols -headers"
   5280       ;;
   5281     *)
   5282       DUMPBIN=:
   5283       ;;
   5284     esac
   5285   fi
   5286 
   5287   if test : != "$DUMPBIN"; then
   5288     NM=$DUMPBIN
   5289   fi
   5290 fi
   5291 test -z "$NM" && NM=nm
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5299 printf %s "checking the name lister ($NM) interface... " >&6; }
   5300 if test ${lt_cv_nm_interface+y}
   5301 then :
   5302   printf %s "(cached) " >&6
   5303 else $as_nop
   5304   lt_cv_nm_interface="BSD nm"
   5305   echo "int some_variable = 0;" > conftest.$ac_ext
   5306   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5307   (eval "$ac_compile" 2>conftest.err)
   5308   cat conftest.err >&5
   5309   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5310   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5311   cat conftest.err >&5
   5312   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5313   cat conftest.out >&5
   5314   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5315     lt_cv_nm_interface="MS dumpbin"
   5316   fi
   5317   rm -f conftest*
   5318 fi
   5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5320 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5321 
   5322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5323 printf %s "checking whether ln -s works... " >&6; }
   5324 LN_S=$as_ln_s
   5325 if test "$LN_S" = "ln -s"; then
   5326   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5327 printf "%s\n" "yes" >&6; }
   5328 else
   5329   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5330 printf "%s\n" "no, using $LN_S" >&6; }
   5331 fi
   5332 
   5333 # find the maximum length of command line arguments
   5334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5335 printf %s "checking the maximum length of command line arguments... " >&6; }
   5336 if test ${lt_cv_sys_max_cmd_len+y}
   5337 then :
   5338   printf %s "(cached) " >&6
   5339 else $as_nop
   5340     i=0
   5341   teststring=ABCD
   5342 
   5343   case $build_os in
   5344   msdosdjgpp*)
   5345     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5346     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5347     # during glob expansion).  Even if it were fixed, the result of this
   5348     # check would be larger than it should be.
   5349     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5350     ;;
   5351 
   5352   gnu*)
   5353     # Under GNU Hurd, this test is not required because there is
   5354     # no limit to the length of command line arguments.
   5355     # Libtool will interpret -1 as no limit whatsoever
   5356     lt_cv_sys_max_cmd_len=-1;
   5357     ;;
   5358 
   5359   cygwin* | mingw* | cegcc*)
   5360     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5361     # about 5 minutes as the teststring grows exponentially.
   5362     # Worse, since 9x/ME are not pre-emptively multitasking,
   5363     # you end up with a "frozen" computer, even though with patience
   5364     # the test eventually succeeds (with a max line length of 256k).
   5365     # Instead, let's just punt: use the minimum linelength reported by
   5366     # all of the supported platforms: 8192 (on NT/2K/XP).
   5367     lt_cv_sys_max_cmd_len=8192;
   5368     ;;
   5369 
   5370   mint*)
   5371     # On MiNT this can take a long time and run out of memory.
   5372     lt_cv_sys_max_cmd_len=8192;
   5373     ;;
   5374 
   5375   amigaos*)
   5376     # On AmigaOS with pdksh, this test takes hours, literally.
   5377     # So we just punt and use a minimum line length of 8192.
   5378     lt_cv_sys_max_cmd_len=8192;
   5379     ;;
   5380 
   5381   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   5382     # This has been around since 386BSD, at least.  Likely further.
   5383     if test -x /sbin/sysctl; then
   5384       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5385     elif test -x /usr/sbin/sysctl; then
   5386       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5387     else
   5388       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5389     fi
   5390     # And add a safety zone
   5391     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5392     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5393     ;;
   5394 
   5395   interix*)
   5396     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5397     lt_cv_sys_max_cmd_len=196608
   5398     ;;
   5399 
   5400   os2*)
   5401     # The test takes a long time on OS/2.
   5402     lt_cv_sys_max_cmd_len=8192
   5403     ;;
   5404 
   5405   osf*)
   5406     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5407     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5408     # nice to cause kernel panics so lets avoid the loop below.
   5409     # First set a reasonable default.
   5410     lt_cv_sys_max_cmd_len=16384
   5411     #
   5412     if test -x /sbin/sysconfig; then
   5413       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5414         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5415       esac
   5416     fi
   5417     ;;
   5418   sco3.2v5*)
   5419     lt_cv_sys_max_cmd_len=102400
   5420     ;;
   5421   sysv5* | sco5v6* | sysv4.2uw2*)
   5422     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5423     if test -n "$kargmax"; then
   5424       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5425     else
   5426       lt_cv_sys_max_cmd_len=32768
   5427     fi
   5428     ;;
   5429   *)
   5430     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5431     if test -n "$lt_cv_sys_max_cmd_len" && \
   5432        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5433       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5434       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5435     else
   5436       # Make teststring a little bigger before we do anything with it.
   5437       # a 1K string should be a reasonable start.
   5438       for i in 1 2 3 4 5 6 7 8; do
   5439         teststring=$teststring$teststring
   5440       done
   5441       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5442       # If test is not a shell built-in, we'll probably end up computing a
   5443       # maximum length that is only half of the actual maximum length, but
   5444       # we can't tell.
   5445       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5446 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5447 	      test 17 != "$i" # 1/2 MB should be enough
   5448       do
   5449         i=`expr $i + 1`
   5450         teststring=$teststring$teststring
   5451       done
   5452       # Only check the string length outside the loop.
   5453       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5454       teststring=
   5455       # Add a significant safety factor because C++ compilers can tack on
   5456       # massive amounts of additional arguments before passing them to the
   5457       # linker.  It appears as though 1/2 is a usable value.
   5458       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5459     fi
   5460     ;;
   5461   esac
   5462 
   5463 fi
   5464 
   5465 if test -n "$lt_cv_sys_max_cmd_len"; then
   5466   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5467 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5468 else
   5469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5470 printf "%s\n" "none" >&6; }
   5471 fi
   5472 max_cmd_len=$lt_cv_sys_max_cmd_len
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 : ${CP="cp -f"}
   5480 : ${MV="mv -f"}
   5481 : ${RM="rm -f"}
   5482 
   5483 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5484   lt_unset=unset
   5485 else
   5486   lt_unset=false
   5487 fi
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 # test EBCDIC or ASCII
   5494 case `echo X|tr X '\101'` in
   5495  A) # ASCII based system
   5496     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5497   lt_SP2NL='tr \040 \012'
   5498   lt_NL2SP='tr \015\012 \040\040'
   5499   ;;
   5500  *) # EBCDIC based system
   5501   lt_SP2NL='tr \100 \n'
   5502   lt_NL2SP='tr \r\n \100\100'
   5503   ;;
   5504 esac
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5515 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5516 if test ${lt_cv_to_host_file_cmd+y}
   5517 then :
   5518   printf %s "(cached) " >&6
   5519 else $as_nop
   5520   case $host in
   5521   *-*-mingw* )
   5522     case $build in
   5523       *-*-mingw* ) # actually msys
   5524         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5525         ;;
   5526       *-*-cygwin* )
   5527         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5528         ;;
   5529       * ) # otherwise, assume *nix
   5530         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5531         ;;
   5532     esac
   5533     ;;
   5534   *-*-cygwin* )
   5535     case $build in
   5536       *-*-mingw* ) # actually msys
   5537         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5538         ;;
   5539       *-*-cygwin* )
   5540         lt_cv_to_host_file_cmd=func_convert_file_noop
   5541         ;;
   5542       * ) # otherwise, assume *nix
   5543         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5544         ;;
   5545     esac
   5546     ;;
   5547   * ) # unhandled hosts (and "normal" native builds)
   5548     lt_cv_to_host_file_cmd=func_convert_file_noop
   5549     ;;
   5550 esac
   5551 
   5552 fi
   5553 
   5554 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5556 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5563 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5564 if test ${lt_cv_to_tool_file_cmd+y}
   5565 then :
   5566   printf %s "(cached) " >&6
   5567 else $as_nop
   5568   #assume ordinary cross tools, or native build.
   5569 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5570 case $host in
   5571   *-*-mingw* )
   5572     case $build in
   5573       *-*-mingw* ) # actually msys
   5574         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5575         ;;
   5576     esac
   5577     ;;
   5578 esac
   5579 
   5580 fi
   5581 
   5582 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5584 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5591 printf %s "checking for $LD option to reload object files... " >&6; }
   5592 if test ${lt_cv_ld_reload_flag+y}
   5593 then :
   5594   printf %s "(cached) " >&6
   5595 else $as_nop
   5596   lt_cv_ld_reload_flag='-r'
   5597 fi
   5598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5599 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5600 reload_flag=$lt_cv_ld_reload_flag
   5601 case $reload_flag in
   5602 "" | " "*) ;;
   5603 *) reload_flag=" $reload_flag" ;;
   5604 esac
   5605 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5606 case $host_os in
   5607   cygwin* | mingw* | pw32* | cegcc*)
   5608     if test yes != "$GCC"; then
   5609       reload_cmds=false
   5610     fi
   5611     ;;
   5612   darwin*)
   5613     if test yes = "$GCC"; then
   5614       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5615     else
   5616       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5617     fi
   5618     ;;
   5619 esac
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 if test -n "$ac_tool_prefix"; then
   5630   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5631 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5633 printf %s "checking for $ac_word... " >&6; }
   5634 if test ${ac_cv_prog_OBJDUMP+y}
   5635 then :
   5636   printf %s "(cached) " >&6
   5637 else $as_nop
   5638   if test -n "$OBJDUMP"; then
   5639   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5640 else
   5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5642 for as_dir in $PATH
   5643 do
   5644   IFS=$as_save_IFS
   5645   case $as_dir in #(((
   5646     '') as_dir=./ ;;
   5647     */) ;;
   5648     *) as_dir=$as_dir/ ;;
   5649   esac
   5650     for ac_exec_ext in '' $ac_executable_extensions; do
   5651   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5652     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5653     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5654     break 2
   5655   fi
   5656 done
   5657   done
   5658 IFS=$as_save_IFS
   5659 
   5660 fi
   5661 fi
   5662 OBJDUMP=$ac_cv_prog_OBJDUMP
   5663 if test -n "$OBJDUMP"; then
   5664   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5665 printf "%s\n" "$OBJDUMP" >&6; }
   5666 else
   5667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5668 printf "%s\n" "no" >&6; }
   5669 fi
   5670 
   5671 
   5672 fi
   5673 if test -z "$ac_cv_prog_OBJDUMP"; then
   5674   ac_ct_OBJDUMP=$OBJDUMP
   5675   # Extract the first word of "objdump", so it can be a program name with args.
   5676 set dummy objdump; ac_word=$2
   5677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5678 printf %s "checking for $ac_word... " >&6; }
   5679 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5680 then :
   5681   printf %s "(cached) " >&6
   5682 else $as_nop
   5683   if test -n "$ac_ct_OBJDUMP"; then
   5684   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5685 else
   5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5687 for as_dir in $PATH
   5688 do
   5689   IFS=$as_save_IFS
   5690   case $as_dir in #(((
   5691     '') as_dir=./ ;;
   5692     */) ;;
   5693     *) as_dir=$as_dir/ ;;
   5694   esac
   5695     for ac_exec_ext in '' $ac_executable_extensions; do
   5696   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5697     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5698     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5699     break 2
   5700   fi
   5701 done
   5702   done
   5703 IFS=$as_save_IFS
   5704 
   5705 fi
   5706 fi
   5707 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5708 if test -n "$ac_ct_OBJDUMP"; then
   5709   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5710 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5711 else
   5712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5713 printf "%s\n" "no" >&6; }
   5714 fi
   5715 
   5716   if test "x$ac_ct_OBJDUMP" = x; then
   5717     OBJDUMP="false"
   5718   else
   5719     case $cross_compiling:$ac_tool_warned in
   5720 yes:)
   5721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5722 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5723 ac_tool_warned=yes ;;
   5724 esac
   5725     OBJDUMP=$ac_ct_OBJDUMP
   5726   fi
   5727 else
   5728   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5729 fi
   5730 
   5731 test -z "$OBJDUMP" && OBJDUMP=objdump
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5742 printf %s "checking how to recognize dependent libraries... " >&6; }
   5743 if test ${lt_cv_deplibs_check_method+y}
   5744 then :
   5745   printf %s "(cached) " >&6
   5746 else $as_nop
   5747   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5748 lt_cv_file_magic_test_file=
   5749 lt_cv_deplibs_check_method='unknown'
   5750 # Need to set the preceding variable on all platforms that support
   5751 # interlibrary dependencies.
   5752 # 'none' -- dependencies not supported.
   5753 # 'unknown' -- same as none, but documents that we really don't know.
   5754 # 'pass_all' -- all dependencies passed with no checks.
   5755 # 'test_compile' -- check by making test program.
   5756 # 'file_magic [[regex]]' -- check by looking for files in library path
   5757 # that responds to the $file_magic_cmd with a given extended regex.
   5758 # If you have 'file' or equivalent on your system and you're not sure
   5759 # whether 'pass_all' will *always* work, you probably want this one.
   5760 
   5761 case $host_os in
   5762 aix[4-9]*)
   5763   lt_cv_deplibs_check_method=pass_all
   5764   ;;
   5765 
   5766 beos*)
   5767   lt_cv_deplibs_check_method=pass_all
   5768   ;;
   5769 
   5770 bsdi[45]*)
   5771   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5772   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5773   lt_cv_file_magic_test_file=/shlib/libc.so
   5774   ;;
   5775 
   5776 cygwin*)
   5777   # func_win32_libid is a shell function defined in ltmain.sh
   5778   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5779   lt_cv_file_magic_cmd='func_win32_libid'
   5780   ;;
   5781 
   5782 mingw* | pw32*)
   5783   # Base MSYS/MinGW do not provide the 'file' command needed by
   5784   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5785   # unless we find 'file', for example because we are cross-compiling.
   5786   if ( file / ) >/dev/null 2>&1; then
   5787     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5788     lt_cv_file_magic_cmd='func_win32_libid'
   5789   else
   5790     # Keep this pattern in sync with the one in func_win32_libid.
   5791     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5792     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5793   fi
   5794   ;;
   5795 
   5796 cegcc*)
   5797   # use the weaker test based on 'objdump'. See mingw*.
   5798   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5799   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5800   ;;
   5801 
   5802 darwin* | rhapsody*)
   5803   lt_cv_deplibs_check_method=pass_all
   5804   ;;
   5805 
   5806 freebsd* | dragonfly*)
   5807   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5808     case $host_cpu in
   5809     i*86 )
   5810       # Not sure whether the presence of OpenBSD here was a mistake.
   5811       # Let's accept both of them until this is cleared up.
   5812       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5813       lt_cv_file_magic_cmd=/usr/bin/file
   5814       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5815       ;;
   5816     esac
   5817   else
   5818     lt_cv_deplibs_check_method=pass_all
   5819   fi
   5820   ;;
   5821 
   5822 haiku*)
   5823   lt_cv_deplibs_check_method=pass_all
   5824   ;;
   5825 
   5826 hpux10.20* | hpux11*)
   5827   lt_cv_file_magic_cmd=/usr/bin/file
   5828   case $host_cpu in
   5829   ia64*)
   5830     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5831     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5832     ;;
   5833   hppa*64*)
   5834     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]'
   5835     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5836     ;;
   5837   *)
   5838     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5839     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5840     ;;
   5841   esac
   5842   ;;
   5843 
   5844 interix[3-9]*)
   5845   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5846   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5847   ;;
   5848 
   5849 irix5* | irix6* | nonstopux*)
   5850   case $LD in
   5851   *-32|*"-32 ") libmagic=32-bit;;
   5852   *-n32|*"-n32 ") libmagic=N32;;
   5853   *-64|*"-64 ") libmagic=64-bit;;
   5854   *) libmagic=never-match;;
   5855   esac
   5856   lt_cv_deplibs_check_method=pass_all
   5857   ;;
   5858 
   5859 # This must be glibc/ELF.
   5860 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5861   lt_cv_deplibs_check_method=pass_all
   5862   ;;
   5863 
   5864 netbsd*)
   5865   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5866     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5867   else
   5868     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5869   fi
   5870   ;;
   5871 
   5872 newos6*)
   5873   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5874   lt_cv_file_magic_cmd=/usr/bin/file
   5875   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5876   ;;
   5877 
   5878 *nto* | *qnx*)
   5879   lt_cv_deplibs_check_method=pass_all
   5880   ;;
   5881 
   5882 openbsd* | bitrig*)
   5883   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5884     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5885   else
   5886     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5887   fi
   5888   ;;
   5889 
   5890 osf3* | osf4* | osf5*)
   5891   lt_cv_deplibs_check_method=pass_all
   5892   ;;
   5893 
   5894 rdos*)
   5895   lt_cv_deplibs_check_method=pass_all
   5896   ;;
   5897 
   5898 solaris*)
   5899   lt_cv_deplibs_check_method=pass_all
   5900   ;;
   5901 
   5902 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5903   lt_cv_deplibs_check_method=pass_all
   5904   ;;
   5905 
   5906 sysv4 | sysv4.3*)
   5907   case $host_vendor in
   5908   motorola)
   5909     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]'
   5910     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5911     ;;
   5912   ncr)
   5913     lt_cv_deplibs_check_method=pass_all
   5914     ;;
   5915   sequent)
   5916     lt_cv_file_magic_cmd='/bin/file'
   5917     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5918     ;;
   5919   sni)
   5920     lt_cv_file_magic_cmd='/bin/file'
   5921     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5922     lt_cv_file_magic_test_file=/lib/libc.so
   5923     ;;
   5924   siemens)
   5925     lt_cv_deplibs_check_method=pass_all
   5926     ;;
   5927   pc)
   5928     lt_cv_deplibs_check_method=pass_all
   5929     ;;
   5930   esac
   5931   ;;
   5932 
   5933 tpf*)
   5934   lt_cv_deplibs_check_method=pass_all
   5935   ;;
   5936 os2*)
   5937   lt_cv_deplibs_check_method=pass_all
   5938   ;;
   5939 esac
   5940 
   5941 fi
   5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5943 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   5944 
   5945 file_magic_glob=
   5946 want_nocaseglob=no
   5947 if test "$build" = "$host"; then
   5948   case $host_os in
   5949   mingw* | pw32*)
   5950     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5951       want_nocaseglob=yes
   5952     else
   5953       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5954     fi
   5955     ;;
   5956   esac
   5957 fi
   5958 
   5959 file_magic_cmd=$lt_cv_file_magic_cmd
   5960 deplibs_check_method=$lt_cv_deplibs_check_method
   5961 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 if test -n "$ac_tool_prefix"; then
   5985   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5986 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5988 printf %s "checking for $ac_word... " >&6; }
   5989 if test ${ac_cv_prog_DLLTOOL+y}
   5990 then :
   5991   printf %s "(cached) " >&6
   5992 else $as_nop
   5993   if test -n "$DLLTOOL"; then
   5994   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5995 else
   5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5997 for as_dir in $PATH
   5998 do
   5999   IFS=$as_save_IFS
   6000   case $as_dir in #(((
   6001     '') as_dir=./ ;;
   6002     */) ;;
   6003     *) as_dir=$as_dir/ ;;
   6004   esac
   6005     for ac_exec_ext in '' $ac_executable_extensions; do
   6006   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6007     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6008     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6009     break 2
   6010   fi
   6011 done
   6012   done
   6013 IFS=$as_save_IFS
   6014 
   6015 fi
   6016 fi
   6017 DLLTOOL=$ac_cv_prog_DLLTOOL
   6018 if test -n "$DLLTOOL"; then
   6019   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6020 printf "%s\n" "$DLLTOOL" >&6; }
   6021 else
   6022   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6023 printf "%s\n" "no" >&6; }
   6024 fi
   6025 
   6026 
   6027 fi
   6028 if test -z "$ac_cv_prog_DLLTOOL"; then
   6029   ac_ct_DLLTOOL=$DLLTOOL
   6030   # Extract the first word of "dlltool", so it can be a program name with args.
   6031 set dummy dlltool; ac_word=$2
   6032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6033 printf %s "checking for $ac_word... " >&6; }
   6034 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6035 then :
   6036   printf %s "(cached) " >&6
   6037 else $as_nop
   6038   if test -n "$ac_ct_DLLTOOL"; then
   6039   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6040 else
   6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6042 for as_dir in $PATH
   6043 do
   6044   IFS=$as_save_IFS
   6045   case $as_dir in #(((
   6046     '') as_dir=./ ;;
   6047     */) ;;
   6048     *) as_dir=$as_dir/ ;;
   6049   esac
   6050     for ac_exec_ext in '' $ac_executable_extensions; do
   6051   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6052     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6053     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6054     break 2
   6055   fi
   6056 done
   6057   done
   6058 IFS=$as_save_IFS
   6059 
   6060 fi
   6061 fi
   6062 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6063 if test -n "$ac_ct_DLLTOOL"; then
   6064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6065 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6066 else
   6067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6068 printf "%s\n" "no" >&6; }
   6069 fi
   6070 
   6071   if test "x$ac_ct_DLLTOOL" = x; then
   6072     DLLTOOL="false"
   6073   else
   6074     case $cross_compiling:$ac_tool_warned in
   6075 yes:)
   6076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6077 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6078 ac_tool_warned=yes ;;
   6079 esac
   6080     DLLTOOL=$ac_ct_DLLTOOL
   6081   fi
   6082 else
   6083   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6084 fi
   6085 
   6086 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6098 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6099 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6100 then :
   6101   printf %s "(cached) " >&6
   6102 else $as_nop
   6103   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6104 
   6105 case $host_os in
   6106 cygwin* | mingw* | pw32* | cegcc*)
   6107   # two different shell functions defined in ltmain.sh;
   6108   # decide which one to use based on capabilities of $DLLTOOL
   6109   case `$DLLTOOL --help 2>&1` in
   6110   *--identify-strict*)
   6111     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6112     ;;
   6113   *)
   6114     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6115     ;;
   6116   esac
   6117   ;;
   6118 *)
   6119   # fallback: assume linklib IS sharedlib
   6120   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6121   ;;
   6122 esac
   6123 
   6124 fi
   6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6126 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6127 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6128 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 if test -n "$ac_tool_prefix"; then
   6138   for ac_prog in ar
   6139   do
   6140     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6141 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6143 printf %s "checking for $ac_word... " >&6; }
   6144 if test ${ac_cv_prog_AR+y}
   6145 then :
   6146   printf %s "(cached) " >&6
   6147 else $as_nop
   6148   if test -n "$AR"; then
   6149   ac_cv_prog_AR="$AR" # Let the user override the test.
   6150 else
   6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6152 for as_dir in $PATH
   6153 do
   6154   IFS=$as_save_IFS
   6155   case $as_dir in #(((
   6156     '') as_dir=./ ;;
   6157     */) ;;
   6158     *) as_dir=$as_dir/ ;;
   6159   esac
   6160     for ac_exec_ext in '' $ac_executable_extensions; do
   6161   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6162     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6163     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6164     break 2
   6165   fi
   6166 done
   6167   done
   6168 IFS=$as_save_IFS
   6169 
   6170 fi
   6171 fi
   6172 AR=$ac_cv_prog_AR
   6173 if test -n "$AR"; then
   6174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6175 printf "%s\n" "$AR" >&6; }
   6176 else
   6177   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6178 printf "%s\n" "no" >&6; }
   6179 fi
   6180 
   6181 
   6182     test -n "$AR" && break
   6183   done
   6184 fi
   6185 if test -z "$AR"; then
   6186   ac_ct_AR=$AR
   6187   for ac_prog in ar
   6188 do
   6189   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6190 set dummy $ac_prog; ac_word=$2
   6191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6192 printf %s "checking for $ac_word... " >&6; }
   6193 if test ${ac_cv_prog_ac_ct_AR+y}
   6194 then :
   6195   printf %s "(cached) " >&6
   6196 else $as_nop
   6197   if test -n "$ac_ct_AR"; then
   6198   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6199 else
   6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6201 for as_dir in $PATH
   6202 do
   6203   IFS=$as_save_IFS
   6204   case $as_dir in #(((
   6205     '') as_dir=./ ;;
   6206     */) ;;
   6207     *) as_dir=$as_dir/ ;;
   6208   esac
   6209     for ac_exec_ext in '' $ac_executable_extensions; do
   6210   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6211     ac_cv_prog_ac_ct_AR="$ac_prog"
   6212     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6213     break 2
   6214   fi
   6215 done
   6216   done
   6217 IFS=$as_save_IFS
   6218 
   6219 fi
   6220 fi
   6221 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6222 if test -n "$ac_ct_AR"; then
   6223   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6224 printf "%s\n" "$ac_ct_AR" >&6; }
   6225 else
   6226   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6227 printf "%s\n" "no" >&6; }
   6228 fi
   6229 
   6230 
   6231   test -n "$ac_ct_AR" && break
   6232 done
   6233 
   6234   if test "x$ac_ct_AR" = x; then
   6235     AR="false"
   6236   else
   6237     case $cross_compiling:$ac_tool_warned in
   6238 yes:)
   6239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6240 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6241 ac_tool_warned=yes ;;
   6242 esac
   6243     AR=$ac_ct_AR
   6244   fi
   6245 fi
   6246 
   6247 : ${AR=ar}
   6248 : ${AR_FLAGS=cru}
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6261 printf %s "checking for archiver @FILE support... " >&6; }
   6262 if test ${lt_cv_ar_at_file+y}
   6263 then :
   6264   printf %s "(cached) " >&6
   6265 else $as_nop
   6266   lt_cv_ar_at_file=no
   6267    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6268 /* end confdefs.h.  */
   6269 
   6270 int
   6271 main (void)
   6272 {
   6273 
   6274   ;
   6275   return 0;
   6276 }
   6277 _ACEOF
   6278 if ac_fn_c_try_compile "$LINENO"
   6279 then :
   6280   echo conftest.$ac_objext > conftest.lst
   6281       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6282       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6283   (eval $lt_ar_try) 2>&5
   6284   ac_status=$?
   6285   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6286   test $ac_status = 0; }
   6287       if test 0 -eq "$ac_status"; then
   6288 	# Ensure the archiver fails upon bogus file names.
   6289 	rm -f conftest.$ac_objext libconftest.a
   6290 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6291   (eval $lt_ar_try) 2>&5
   6292   ac_status=$?
   6293   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6294   test $ac_status = 0; }
   6295 	if test 0 -ne "$ac_status"; then
   6296           lt_cv_ar_at_file=@
   6297         fi
   6298       fi
   6299       rm -f conftest.* libconftest.a
   6300 
   6301 fi
   6302 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6303 
   6304 fi
   6305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6306 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6307 
   6308 if test no = "$lt_cv_ar_at_file"; then
   6309   archiver_list_spec=
   6310 else
   6311   archiver_list_spec=$lt_cv_ar_at_file
   6312 fi
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 if test -n "$ac_tool_prefix"; then
   6321   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6322 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6324 printf %s "checking for $ac_word... " >&6; }
   6325 if test ${ac_cv_prog_STRIP+y}
   6326 then :
   6327   printf %s "(cached) " >&6
   6328 else $as_nop
   6329   if test -n "$STRIP"; then
   6330   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6331 else
   6332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6333 for as_dir in $PATH
   6334 do
   6335   IFS=$as_save_IFS
   6336   case $as_dir in #(((
   6337     '') as_dir=./ ;;
   6338     */) ;;
   6339     *) as_dir=$as_dir/ ;;
   6340   esac
   6341     for ac_exec_ext in '' $ac_executable_extensions; do
   6342   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6343     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6344     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6345     break 2
   6346   fi
   6347 done
   6348   done
   6349 IFS=$as_save_IFS
   6350 
   6351 fi
   6352 fi
   6353 STRIP=$ac_cv_prog_STRIP
   6354 if test -n "$STRIP"; then
   6355   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6356 printf "%s\n" "$STRIP" >&6; }
   6357 else
   6358   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6359 printf "%s\n" "no" >&6; }
   6360 fi
   6361 
   6362 
   6363 fi
   6364 if test -z "$ac_cv_prog_STRIP"; then
   6365   ac_ct_STRIP=$STRIP
   6366   # Extract the first word of "strip", so it can be a program name with args.
   6367 set dummy strip; ac_word=$2
   6368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6369 printf %s "checking for $ac_word... " >&6; }
   6370 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6371 then :
   6372   printf %s "(cached) " >&6
   6373 else $as_nop
   6374   if test -n "$ac_ct_STRIP"; then
   6375   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6376 else
   6377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6378 for as_dir in $PATH
   6379 do
   6380   IFS=$as_save_IFS
   6381   case $as_dir in #(((
   6382     '') as_dir=./ ;;
   6383     */) ;;
   6384     *) as_dir=$as_dir/ ;;
   6385   esac
   6386     for ac_exec_ext in '' $ac_executable_extensions; do
   6387   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6388     ac_cv_prog_ac_ct_STRIP="strip"
   6389     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6390     break 2
   6391   fi
   6392 done
   6393   done
   6394 IFS=$as_save_IFS
   6395 
   6396 fi
   6397 fi
   6398 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6399 if test -n "$ac_ct_STRIP"; then
   6400   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6401 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6402 else
   6403   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6404 printf "%s\n" "no" >&6; }
   6405 fi
   6406 
   6407   if test "x$ac_ct_STRIP" = x; then
   6408     STRIP=":"
   6409   else
   6410     case $cross_compiling:$ac_tool_warned in
   6411 yes:)
   6412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6413 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6414 ac_tool_warned=yes ;;
   6415 esac
   6416     STRIP=$ac_ct_STRIP
   6417   fi
   6418 else
   6419   STRIP="$ac_cv_prog_STRIP"
   6420 fi
   6421 
   6422 test -z "$STRIP" && STRIP=:
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 if test -n "$ac_tool_prefix"; then
   6430   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6431 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6433 printf %s "checking for $ac_word... " >&6; }
   6434 if test ${ac_cv_prog_RANLIB+y}
   6435 then :
   6436   printf %s "(cached) " >&6
   6437 else $as_nop
   6438   if test -n "$RANLIB"; then
   6439   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6440 else
   6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6442 for as_dir in $PATH
   6443 do
   6444   IFS=$as_save_IFS
   6445   case $as_dir in #(((
   6446     '') as_dir=./ ;;
   6447     */) ;;
   6448     *) as_dir=$as_dir/ ;;
   6449   esac
   6450     for ac_exec_ext in '' $ac_executable_extensions; do
   6451   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6452     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6453     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6454     break 2
   6455   fi
   6456 done
   6457   done
   6458 IFS=$as_save_IFS
   6459 
   6460 fi
   6461 fi
   6462 RANLIB=$ac_cv_prog_RANLIB
   6463 if test -n "$RANLIB"; then
   6464   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6465 printf "%s\n" "$RANLIB" >&6; }
   6466 else
   6467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6468 printf "%s\n" "no" >&6; }
   6469 fi
   6470 
   6471 
   6472 fi
   6473 if test -z "$ac_cv_prog_RANLIB"; then
   6474   ac_ct_RANLIB=$RANLIB
   6475   # Extract the first word of "ranlib", so it can be a program name with args.
   6476 set dummy ranlib; ac_word=$2
   6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6478 printf %s "checking for $ac_word... " >&6; }
   6479 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6480 then :
   6481   printf %s "(cached) " >&6
   6482 else $as_nop
   6483   if test -n "$ac_ct_RANLIB"; then
   6484   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6485 else
   6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6487 for as_dir in $PATH
   6488 do
   6489   IFS=$as_save_IFS
   6490   case $as_dir in #(((
   6491     '') as_dir=./ ;;
   6492     */) ;;
   6493     *) as_dir=$as_dir/ ;;
   6494   esac
   6495     for ac_exec_ext in '' $ac_executable_extensions; do
   6496   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6497     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6498     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6499     break 2
   6500   fi
   6501 done
   6502   done
   6503 IFS=$as_save_IFS
   6504 
   6505 fi
   6506 fi
   6507 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6508 if test -n "$ac_ct_RANLIB"; then
   6509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6510 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6511 else
   6512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6513 printf "%s\n" "no" >&6; }
   6514 fi
   6515 
   6516   if test "x$ac_ct_RANLIB" = x; then
   6517     RANLIB=":"
   6518   else
   6519     case $cross_compiling:$ac_tool_warned in
   6520 yes:)
   6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6522 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6523 ac_tool_warned=yes ;;
   6524 esac
   6525     RANLIB=$ac_ct_RANLIB
   6526   fi
   6527 else
   6528   RANLIB="$ac_cv_prog_RANLIB"
   6529 fi
   6530 
   6531 test -z "$RANLIB" && RANLIB=:
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 # Determine commands to create old-style static archives.
   6539 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6540 old_postinstall_cmds='chmod 644 $oldlib'
   6541 old_postuninstall_cmds=
   6542 
   6543 if test -n "$RANLIB"; then
   6544   case $host_os in
   6545   bitrig* | openbsd*)
   6546     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6547     ;;
   6548   *)
   6549     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6550     ;;
   6551   esac
   6552   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6553 fi
   6554 
   6555 case $host_os in
   6556   darwin*)
   6557     lock_old_archive_extraction=yes ;;
   6558   *)
   6559     lock_old_archive_extraction=no ;;
   6560 esac
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 # If no C compiler was specified, use CC.
   6601 LTCC=${LTCC-"$CC"}
   6602 
   6603 # If no C compiler flags were specified, use CFLAGS.
   6604 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6605 
   6606 # Allow CC to be a program name with arguments.
   6607 compiler=$CC
   6608 
   6609 
   6610 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6612 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6613 if test ${lt_cv_sys_global_symbol_pipe+y}
   6614 then :
   6615   printf %s "(cached) " >&6
   6616 else $as_nop
   6617 
   6618 # These are sane defaults that work on at least a few old systems.
   6619 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6620 
   6621 # Character class describing NM global symbol codes.
   6622 symcode='[BCDEGRST]'
   6623 
   6624 # Regexp to match symbols that can be accessed directly from C.
   6625 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6626 
   6627 # Define system-specific variables.
   6628 case $host_os in
   6629 aix*)
   6630   symcode='[BCDT]'
   6631   ;;
   6632 cygwin* | mingw* | pw32* | cegcc*)
   6633   symcode='[ABCDGISTW]'
   6634   ;;
   6635 hpux*)
   6636   if test ia64 = "$host_cpu"; then
   6637     symcode='[ABCDEGRST]'
   6638   fi
   6639   ;;
   6640 irix* | nonstopux*)
   6641   symcode='[BCDEGRST]'
   6642   ;;
   6643 osf*)
   6644   symcode='[BCDEGQRST]'
   6645   ;;
   6646 solaris*)
   6647   symcode='[BDRT]'
   6648   ;;
   6649 sco3.2v5*)
   6650   symcode='[DT]'
   6651   ;;
   6652 sysv4.2uw2*)
   6653   symcode='[DT]'
   6654   ;;
   6655 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6656   symcode='[ABDT]'
   6657   ;;
   6658 sysv4)
   6659   symcode='[DFNSTU]'
   6660   ;;
   6661 esac
   6662 
   6663 # If we're using GNU nm, then use its standard symbol codes.
   6664 case `$NM -V 2>&1` in
   6665 *GNU* | *'with BFD'*)
   6666   symcode='[ABCDGIRSTW]' ;;
   6667 esac
   6668 
   6669 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6670   # Gets list of data symbols to import.
   6671   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6672   # Adjust the below global symbol transforms to fixup imported variables.
   6673   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6674   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6675   lt_c_name_lib_hook="\
   6676   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6677   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6678 else
   6679   # Disable hooks by default.
   6680   lt_cv_sys_global_symbol_to_import=
   6681   lt_cdecl_hook=
   6682   lt_c_name_hook=
   6683   lt_c_name_lib_hook=
   6684 fi
   6685 
   6686 # Transform an extracted symbol line into a proper C declaration.
   6687 # Some systems (esp. on ia64) link data and code symbols differently,
   6688 # so use this general approach.
   6689 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6690 $lt_cdecl_hook\
   6691 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6692 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6693 
   6694 # Transform an extracted symbol line into symbol name and symbol address
   6695 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6696 $lt_c_name_hook\
   6697 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6698 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6699 
   6700 # Transform an extracted symbol line into symbol name with lib prefix and
   6701 # symbol address.
   6702 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6703 $lt_c_name_lib_hook\
   6704 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6705 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6706 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6707 
   6708 # Handle CRLF in mingw tool chain
   6709 opt_cr=
   6710 case $build_os in
   6711 mingw*)
   6712   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6713   ;;
   6714 esac
   6715 
   6716 # Try without a prefix underscore, then with it.
   6717 for ac_symprfx in "" "_"; do
   6718 
   6719   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6720   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6721 
   6722   # Write the raw and C identifiers.
   6723   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6724     # Fake it for dumpbin and say T for any non-static function,
   6725     # D for any global variable and I for any imported variable.
   6726     # Also find C++ and __fastcall symbols from MSVC++,
   6727     # which start with @ or ?.
   6728     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6729 "     {last_section=section; section=\$ 3};"\
   6730 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6731 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6732 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6733 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6734 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6735 "     \$ 0!~/External *\|/{next};"\
   6736 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6737 "     {if(hide[section]) next};"\
   6738 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6739 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6740 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6741 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6742 "     ' prfx=^$ac_symprfx"
   6743   else
   6744     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6745   fi
   6746   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6747 
   6748   # Check to see that the pipe works correctly.
   6749   pipe_works=no
   6750 
   6751   rm -f conftest*
   6752   cat > conftest.$ac_ext <<_LT_EOF
   6753 #ifdef __cplusplus
   6754 extern "C" {
   6755 #endif
   6756 char nm_test_var;
   6757 void nm_test_func(void);
   6758 void nm_test_func(void){}
   6759 #ifdef __cplusplus
   6760 }
   6761 #endif
   6762 int main(){nm_test_var='a';nm_test_func();return(0);}
   6763 _LT_EOF
   6764 
   6765   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6766   (eval $ac_compile) 2>&5
   6767   ac_status=$?
   6768   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6769   test $ac_status = 0; }; then
   6770     # Now try to grab the symbols.
   6771     nlist=conftest.nm
   6772     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6773   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6774   ac_status=$?
   6775   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6776   test $ac_status = 0; } && test -s "$nlist"; then
   6777       # Try sorting and uniquifying the output.
   6778       if sort "$nlist" | uniq > "$nlist"T; then
   6779 	mv -f "$nlist"T "$nlist"
   6780       else
   6781 	rm -f "$nlist"T
   6782       fi
   6783 
   6784       # Make sure that we snagged all the symbols we need.
   6785       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6786 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6787 	  cat <<_LT_EOF > conftest.$ac_ext
   6788 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6789 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6790 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6791    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6792 # define LT_DLSYM_CONST
   6793 #elif defined __osf__
   6794 /* This system does not cope well with relocations in const data.  */
   6795 # define LT_DLSYM_CONST
   6796 #else
   6797 # define LT_DLSYM_CONST const
   6798 #endif
   6799 
   6800 #ifdef __cplusplus
   6801 extern "C" {
   6802 #endif
   6803 
   6804 _LT_EOF
   6805 	  # Now generate the symbol file.
   6806 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6807 
   6808 	  cat <<_LT_EOF >> conftest.$ac_ext
   6809 
   6810 /* The mapping between symbol names and symbols.  */
   6811 LT_DLSYM_CONST struct {
   6812   const char *name;
   6813   void       *address;
   6814 }
   6815 lt__PROGRAM__LTX_preloaded_symbols[] =
   6816 {
   6817   { "@PROGRAM@", (void *) 0 },
   6818 _LT_EOF
   6819 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6820 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6821   {0, (void *) 0}
   6822 };
   6823 
   6824 /* This works around a problem in FreeBSD linker */
   6825 #ifdef FREEBSD_WORKAROUND
   6826 static const void *lt_preloaded_setup() {
   6827   return lt__PROGRAM__LTX_preloaded_symbols;
   6828 }
   6829 #endif
   6830 
   6831 #ifdef __cplusplus
   6832 }
   6833 #endif
   6834 _LT_EOF
   6835 	  # Now try linking the two files.
   6836 	  mv conftest.$ac_objext conftstm.$ac_objext
   6837 	  lt_globsym_save_LIBS=$LIBS
   6838 	  lt_globsym_save_CFLAGS=$CFLAGS
   6839 	  LIBS=conftstm.$ac_objext
   6840 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6841 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6842   (eval $ac_link) 2>&5
   6843   ac_status=$?
   6844   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6845   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6846 	    pipe_works=yes
   6847 	  fi
   6848 	  LIBS=$lt_globsym_save_LIBS
   6849 	  CFLAGS=$lt_globsym_save_CFLAGS
   6850 	else
   6851 	  echo "cannot find nm_test_func in $nlist" >&5
   6852 	fi
   6853       else
   6854 	echo "cannot find nm_test_var in $nlist" >&5
   6855       fi
   6856     else
   6857       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6858     fi
   6859   else
   6860     echo "$progname: failed program was:" >&5
   6861     cat conftest.$ac_ext >&5
   6862   fi
   6863   rm -rf conftest* conftst*
   6864 
   6865   # Do not use the global_symbol_pipe unless it works.
   6866   if test yes = "$pipe_works"; then
   6867     break
   6868   else
   6869     lt_cv_sys_global_symbol_pipe=
   6870   fi
   6871 done
   6872 
   6873 fi
   6874 
   6875 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6876   lt_cv_sys_global_symbol_to_cdecl=
   6877 fi
   6878 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6879   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6880 printf "%s\n" "failed" >&6; }
   6881 else
   6882   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6883 printf "%s\n" "ok" >&6; }
   6884 fi
   6885 
   6886 # Response file support.
   6887 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6888   nm_file_list_spec='@'
   6889 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6890   nm_file_list_spec='@'
   6891 fi
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6930 printf %s "checking for sysroot... " >&6; }
   6931 
   6932 # Check whether --with-sysroot was given.
   6933 if test ${with_sysroot+y}
   6934 then :
   6935   withval=$with_sysroot;
   6936 else $as_nop
   6937   with_sysroot=no
   6938 fi
   6939 
   6940 
   6941 lt_sysroot=
   6942 case $with_sysroot in #(
   6943  yes)
   6944    if test yes = "$GCC"; then
   6945      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6946    fi
   6947    ;; #(
   6948  /*)
   6949    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6950    ;; #(
   6951  no|'')
   6952    ;; #(
   6953  *)
   6954    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6955 printf "%s\n" "$with_sysroot" >&6; }
   6956    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6957    ;;
   6958 esac
   6959 
   6960  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6961 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6968 printf %s "checking for a working dd... " >&6; }
   6969 if test ${ac_cv_path_lt_DD+y}
   6970 then :
   6971   printf %s "(cached) " >&6
   6972 else $as_nop
   6973   printf 0123456789abcdef0123456789abcdef >conftest.i
   6974 cat conftest.i conftest.i >conftest2.i
   6975 : ${lt_DD:=$DD}
   6976 if test -z "$lt_DD"; then
   6977   ac_path_lt_DD_found=false
   6978   # Loop through the user's path and test for each of PROGNAME-LIST
   6979   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6980 for as_dir in $PATH
   6981 do
   6982   IFS=$as_save_IFS
   6983   case $as_dir in #(((
   6984     '') as_dir=./ ;;
   6985     */) ;;
   6986     *) as_dir=$as_dir/ ;;
   6987   esac
   6988     for ac_prog in dd
   6989    do
   6990     for ac_exec_ext in '' $ac_executable_extensions; do
   6991       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   6992       as_fn_executable_p "$ac_path_lt_DD" || continue
   6993 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6994   cmp -s conftest.i conftest.out \
   6995   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6996 fi
   6997       $ac_path_lt_DD_found && break 3
   6998     done
   6999   done
   7000   done
   7001 IFS=$as_save_IFS
   7002   if test -z "$ac_cv_path_lt_DD"; then
   7003     :
   7004   fi
   7005 else
   7006   ac_cv_path_lt_DD=$lt_DD
   7007 fi
   7008 
   7009 rm -f conftest.i conftest2.i conftest.out
   7010 fi
   7011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7012 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7013 
   7014 
   7015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7016 printf %s "checking how to truncate binary pipes... " >&6; }
   7017 if test ${lt_cv_truncate_bin+y}
   7018 then :
   7019   printf %s "(cached) " >&6
   7020 else $as_nop
   7021   printf 0123456789abcdef0123456789abcdef >conftest.i
   7022 cat conftest.i conftest.i >conftest2.i
   7023 lt_cv_truncate_bin=
   7024 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7025   cmp -s conftest.i conftest.out \
   7026   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7027 fi
   7028 rm -f conftest.i conftest2.i conftest.out
   7029 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7030 fi
   7031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7032 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7041 func_cc_basename ()
   7042 {
   7043     for cc_temp in $*""; do
   7044       case $cc_temp in
   7045         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7046         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7047         \-*) ;;
   7048         *) break;;
   7049       esac
   7050     done
   7051     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7052 }
   7053 
   7054 # Check whether --enable-libtool-lock was given.
   7055 if test ${enable_libtool_lock+y}
   7056 then :
   7057   enableval=$enable_libtool_lock;
   7058 fi
   7059 
   7060 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7061 
   7062 # Some flags need to be propagated to the compiler or linker for good
   7063 # libtool support.
   7064 case $host in
   7065 ia64-*-hpux*)
   7066   # Find out what ABI is being produced by ac_compile, and set mode
   7067   # options accordingly.
   7068   echo 'int i;' > conftest.$ac_ext
   7069   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7070   (eval $ac_compile) 2>&5
   7071   ac_status=$?
   7072   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7073   test $ac_status = 0; }; then
   7074     case `/usr/bin/file conftest.$ac_objext` in
   7075       *ELF-32*)
   7076 	HPUX_IA64_MODE=32
   7077 	;;
   7078       *ELF-64*)
   7079 	HPUX_IA64_MODE=64
   7080 	;;
   7081     esac
   7082   fi
   7083   rm -rf conftest*
   7084   ;;
   7085 *-*-irix6*)
   7086   # Find out what ABI is being produced by ac_compile, and set linker
   7087   # options accordingly.
   7088   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7089   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7090   (eval $ac_compile) 2>&5
   7091   ac_status=$?
   7092   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7093   test $ac_status = 0; }; then
   7094     if test yes = "$lt_cv_prog_gnu_ld"; then
   7095       case `/usr/bin/file conftest.$ac_objext` in
   7096 	*32-bit*)
   7097 	  LD="${LD-ld} -melf32bsmip"
   7098 	  ;;
   7099 	*N32*)
   7100 	  LD="${LD-ld} -melf32bmipn32"
   7101 	  ;;
   7102 	*64-bit*)
   7103 	  LD="${LD-ld} -melf64bmip"
   7104 	;;
   7105       esac
   7106     else
   7107       case `/usr/bin/file conftest.$ac_objext` in
   7108 	*32-bit*)
   7109 	  LD="${LD-ld} -32"
   7110 	  ;;
   7111 	*N32*)
   7112 	  LD="${LD-ld} -n32"
   7113 	  ;;
   7114 	*64-bit*)
   7115 	  LD="${LD-ld} -64"
   7116 	  ;;
   7117       esac
   7118     fi
   7119   fi
   7120   rm -rf conftest*
   7121   ;;
   7122 
   7123 mips64*-*linux*)
   7124   # Find out what ABI is being produced by ac_compile, and set linker
   7125   # options accordingly.
   7126   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7127   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7128   (eval $ac_compile) 2>&5
   7129   ac_status=$?
   7130   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7131   test $ac_status = 0; }; then
   7132     emul=elf
   7133     case `/usr/bin/file conftest.$ac_objext` in
   7134       *32-bit*)
   7135 	emul="${emul}32"
   7136 	;;
   7137       *64-bit*)
   7138 	emul="${emul}64"
   7139 	;;
   7140     esac
   7141     case `/usr/bin/file conftest.$ac_objext` in
   7142       *MSB*)
   7143 	emul="${emul}btsmip"
   7144 	;;
   7145       *LSB*)
   7146 	emul="${emul}ltsmip"
   7147 	;;
   7148     esac
   7149     case `/usr/bin/file conftest.$ac_objext` in
   7150       *N32*)
   7151 	emul="${emul}n32"
   7152 	;;
   7153     esac
   7154     LD="${LD-ld} -m $emul"
   7155   fi
   7156   rm -rf conftest*
   7157   ;;
   7158 
   7159 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7160 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7161   # Find out what ABI is being produced by ac_compile, and set linker
   7162   # options accordingly.  Note that the listed cases only cover the
   7163   # situations where additional linker options are needed (such as when
   7164   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7165   # vice versa); the common cases where no linker options are needed do
   7166   # not appear in the list.
   7167   echo 'int i;' > conftest.$ac_ext
   7168   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7169   (eval $ac_compile) 2>&5
   7170   ac_status=$?
   7171   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7172   test $ac_status = 0; }; then
   7173     case `/usr/bin/file conftest.o` in
   7174       *32-bit*)
   7175 	case $host in
   7176 	  x86_64-*kfreebsd*-gnu)
   7177 	    LD="${LD-ld} -m elf_i386_fbsd"
   7178 	    ;;
   7179 	  x86_64-*linux*)
   7180 	    case `/usr/bin/file conftest.o` in
   7181 	      *x86-64*)
   7182 		LD="${LD-ld} -m elf32_x86_64"
   7183 		;;
   7184 	      *)
   7185 		LD="${LD-ld} -m elf_i386"
   7186 		;;
   7187 	    esac
   7188 	    ;;
   7189 	  powerpc64le-*linux*)
   7190 	    LD="${LD-ld} -m elf32lppclinux"
   7191 	    ;;
   7192 	  powerpc64-*linux*)
   7193 	    LD="${LD-ld} -m elf32ppclinux"
   7194 	    ;;
   7195 	  s390x-*linux*)
   7196 	    LD="${LD-ld} -m elf_s390"
   7197 	    ;;
   7198 	  sparc64-*linux*)
   7199 	    LD="${LD-ld} -m elf32_sparc"
   7200 	    ;;
   7201 	esac
   7202 	;;
   7203       *64-bit*)
   7204 	case $host in
   7205 	  x86_64-*kfreebsd*-gnu)
   7206 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7207 	    ;;
   7208 	  x86_64-*linux*)
   7209 	    LD="${LD-ld} -m elf_x86_64"
   7210 	    ;;
   7211 	  powerpcle-*linux*)
   7212 	    LD="${LD-ld} -m elf64lppc"
   7213 	    ;;
   7214 	  powerpc-*linux*)
   7215 	    LD="${LD-ld} -m elf64ppc"
   7216 	    ;;
   7217 	  s390*-*linux*|s390*-*tpf*)
   7218 	    LD="${LD-ld} -m elf64_s390"
   7219 	    ;;
   7220 	  sparc*-*linux*)
   7221 	    LD="${LD-ld} -m elf64_sparc"
   7222 	    ;;
   7223 	esac
   7224 	;;
   7225     esac
   7226   fi
   7227   rm -rf conftest*
   7228   ;;
   7229 
   7230 *-*-sco3.2v5*)
   7231   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7232   SAVE_CFLAGS=$CFLAGS
   7233   CFLAGS="$CFLAGS -belf"
   7234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7235 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7236 if test ${lt_cv_cc_needs_belf+y}
   7237 then :
   7238   printf %s "(cached) " >&6
   7239 else $as_nop
   7240   ac_ext=c
   7241 ac_cpp='$CPP $CPPFLAGS'
   7242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7245 
   7246      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7247 /* end confdefs.h.  */
   7248 
   7249 int
   7250 main (void)
   7251 {
   7252 
   7253   ;
   7254   return 0;
   7255 }
   7256 _ACEOF
   7257 if ac_fn_c_try_link "$LINENO"
   7258 then :
   7259   lt_cv_cc_needs_belf=yes
   7260 else $as_nop
   7261   lt_cv_cc_needs_belf=no
   7262 fi
   7263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7264     conftest$ac_exeext conftest.$ac_ext
   7265      ac_ext=c
   7266 ac_cpp='$CPP $CPPFLAGS'
   7267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7270 
   7271 fi
   7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7273 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7274   if test yes != "$lt_cv_cc_needs_belf"; then
   7275     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7276     CFLAGS=$SAVE_CFLAGS
   7277   fi
   7278   ;;
   7279 *-*solaris*)
   7280   # Find out what ABI is being produced by ac_compile, and set linker
   7281   # options accordingly.
   7282   echo 'int i;' > conftest.$ac_ext
   7283   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7284   (eval $ac_compile) 2>&5
   7285   ac_status=$?
   7286   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7287   test $ac_status = 0; }; then
   7288     case `/usr/bin/file conftest.o` in
   7289     *64-bit*)
   7290       case $lt_cv_prog_gnu_ld in
   7291       yes*)
   7292         case $host in
   7293         i?86-*-solaris*|x86_64-*-solaris*)
   7294           LD="${LD-ld} -m elf_x86_64"
   7295           ;;
   7296         sparc*-*-solaris*)
   7297           LD="${LD-ld} -m elf64_sparc"
   7298           ;;
   7299         esac
   7300         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7301         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7302           LD=${LD-ld}_sol2
   7303         fi
   7304         ;;
   7305       *)
   7306 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7307 	  LD="${LD-ld} -64"
   7308 	fi
   7309 	;;
   7310       esac
   7311       ;;
   7312     esac
   7313   fi
   7314   rm -rf conftest*
   7315   ;;
   7316 esac
   7317 
   7318 need_locks=$enable_libtool_lock
   7319 
   7320 if test -n "$ac_tool_prefix"; then
   7321   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7322 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7324 printf %s "checking for $ac_word... " >&6; }
   7325 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7326 then :
   7327   printf %s "(cached) " >&6
   7328 else $as_nop
   7329   if test -n "$MANIFEST_TOOL"; then
   7330   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7331 else
   7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7333 for as_dir in $PATH
   7334 do
   7335   IFS=$as_save_IFS
   7336   case $as_dir in #(((
   7337     '') as_dir=./ ;;
   7338     */) ;;
   7339     *) as_dir=$as_dir/ ;;
   7340   esac
   7341     for ac_exec_ext in '' $ac_executable_extensions; do
   7342   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7343     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7344     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7345     break 2
   7346   fi
   7347 done
   7348   done
   7349 IFS=$as_save_IFS
   7350 
   7351 fi
   7352 fi
   7353 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7354 if test -n "$MANIFEST_TOOL"; then
   7355   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7356 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7357 else
   7358   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7359 printf "%s\n" "no" >&6; }
   7360 fi
   7361 
   7362 
   7363 fi
   7364 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7365   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7366   # Extract the first word of "mt", so it can be a program name with args.
   7367 set dummy mt; ac_word=$2
   7368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7369 printf %s "checking for $ac_word... " >&6; }
   7370 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7371 then :
   7372   printf %s "(cached) " >&6
   7373 else $as_nop
   7374   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7375   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7376 else
   7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7378 for as_dir in $PATH
   7379 do
   7380   IFS=$as_save_IFS
   7381   case $as_dir in #(((
   7382     '') as_dir=./ ;;
   7383     */) ;;
   7384     *) as_dir=$as_dir/ ;;
   7385   esac
   7386     for ac_exec_ext in '' $ac_executable_extensions; do
   7387   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7388     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7389     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7390     break 2
   7391   fi
   7392 done
   7393   done
   7394 IFS=$as_save_IFS
   7395 
   7396 fi
   7397 fi
   7398 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7399 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7400   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7401 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7402 else
   7403   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7404 printf "%s\n" "no" >&6; }
   7405 fi
   7406 
   7407   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7408     MANIFEST_TOOL=":"
   7409   else
   7410     case $cross_compiling:$ac_tool_warned in
   7411 yes:)
   7412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7413 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7414 ac_tool_warned=yes ;;
   7415 esac
   7416     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7417   fi
   7418 else
   7419   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7420 fi
   7421 
   7422 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7424 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7425 if test ${lt_cv_path_mainfest_tool+y}
   7426 then :
   7427   printf %s "(cached) " >&6
   7428 else $as_nop
   7429   lt_cv_path_mainfest_tool=no
   7430   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7431   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7432   cat conftest.err >&5
   7433   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7434     lt_cv_path_mainfest_tool=yes
   7435   fi
   7436   rm -f conftest*
   7437 fi
   7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7439 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7440 if test yes != "$lt_cv_path_mainfest_tool"; then
   7441   MANIFEST_TOOL=:
   7442 fi
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449   case $host_os in
   7450     rhapsody* | darwin*)
   7451     if test -n "$ac_tool_prefix"; then
   7452   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7453 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7455 printf %s "checking for $ac_word... " >&6; }
   7456 if test ${ac_cv_prog_DSYMUTIL+y}
   7457 then :
   7458   printf %s "(cached) " >&6
   7459 else $as_nop
   7460   if test -n "$DSYMUTIL"; then
   7461   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7462 else
   7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7464 for as_dir in $PATH
   7465 do
   7466   IFS=$as_save_IFS
   7467   case $as_dir in #(((
   7468     '') as_dir=./ ;;
   7469     */) ;;
   7470     *) as_dir=$as_dir/ ;;
   7471   esac
   7472     for ac_exec_ext in '' $ac_executable_extensions; do
   7473   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7474     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7475     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7476     break 2
   7477   fi
   7478 done
   7479   done
   7480 IFS=$as_save_IFS
   7481 
   7482 fi
   7483 fi
   7484 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7485 if test -n "$DSYMUTIL"; then
   7486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7487 printf "%s\n" "$DSYMUTIL" >&6; }
   7488 else
   7489   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7490 printf "%s\n" "no" >&6; }
   7491 fi
   7492 
   7493 
   7494 fi
   7495 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7496   ac_ct_DSYMUTIL=$DSYMUTIL
   7497   # Extract the first word of "dsymutil", so it can be a program name with args.
   7498 set dummy dsymutil; ac_word=$2
   7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7500 printf %s "checking for $ac_word... " >&6; }
   7501 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7502 then :
   7503   printf %s "(cached) " >&6
   7504 else $as_nop
   7505   if test -n "$ac_ct_DSYMUTIL"; then
   7506   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7507 else
   7508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7509 for as_dir in $PATH
   7510 do
   7511   IFS=$as_save_IFS
   7512   case $as_dir in #(((
   7513     '') as_dir=./ ;;
   7514     */) ;;
   7515     *) as_dir=$as_dir/ ;;
   7516   esac
   7517     for ac_exec_ext in '' $ac_executable_extensions; do
   7518   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7519     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7520     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7521     break 2
   7522   fi
   7523 done
   7524   done
   7525 IFS=$as_save_IFS
   7526 
   7527 fi
   7528 fi
   7529 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7530 if test -n "$ac_ct_DSYMUTIL"; then
   7531   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7532 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7533 else
   7534   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7535 printf "%s\n" "no" >&6; }
   7536 fi
   7537 
   7538   if test "x$ac_ct_DSYMUTIL" = x; then
   7539     DSYMUTIL=":"
   7540   else
   7541     case $cross_compiling:$ac_tool_warned in
   7542 yes:)
   7543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7544 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7545 ac_tool_warned=yes ;;
   7546 esac
   7547     DSYMUTIL=$ac_ct_DSYMUTIL
   7548   fi
   7549 else
   7550   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7551 fi
   7552 
   7553     if test -n "$ac_tool_prefix"; then
   7554   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7555 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7557 printf %s "checking for $ac_word... " >&6; }
   7558 if test ${ac_cv_prog_NMEDIT+y}
   7559 then :
   7560   printf %s "(cached) " >&6
   7561 else $as_nop
   7562   if test -n "$NMEDIT"; then
   7563   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7564 else
   7565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7566 for as_dir in $PATH
   7567 do
   7568   IFS=$as_save_IFS
   7569   case $as_dir in #(((
   7570     '') as_dir=./ ;;
   7571     */) ;;
   7572     *) as_dir=$as_dir/ ;;
   7573   esac
   7574     for ac_exec_ext in '' $ac_executable_extensions; do
   7575   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7576     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7577     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7578     break 2
   7579   fi
   7580 done
   7581   done
   7582 IFS=$as_save_IFS
   7583 
   7584 fi
   7585 fi
   7586 NMEDIT=$ac_cv_prog_NMEDIT
   7587 if test -n "$NMEDIT"; then
   7588   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7589 printf "%s\n" "$NMEDIT" >&6; }
   7590 else
   7591   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7592 printf "%s\n" "no" >&6; }
   7593 fi
   7594 
   7595 
   7596 fi
   7597 if test -z "$ac_cv_prog_NMEDIT"; then
   7598   ac_ct_NMEDIT=$NMEDIT
   7599   # Extract the first word of "nmedit", so it can be a program name with args.
   7600 set dummy nmedit; ac_word=$2
   7601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7602 printf %s "checking for $ac_word... " >&6; }
   7603 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7604 then :
   7605   printf %s "(cached) " >&6
   7606 else $as_nop
   7607   if test -n "$ac_ct_NMEDIT"; then
   7608   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7609 else
   7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7611 for as_dir in $PATH
   7612 do
   7613   IFS=$as_save_IFS
   7614   case $as_dir in #(((
   7615     '') as_dir=./ ;;
   7616     */) ;;
   7617     *) as_dir=$as_dir/ ;;
   7618   esac
   7619     for ac_exec_ext in '' $ac_executable_extensions; do
   7620   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7621     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7622     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7623     break 2
   7624   fi
   7625 done
   7626   done
   7627 IFS=$as_save_IFS
   7628 
   7629 fi
   7630 fi
   7631 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7632 if test -n "$ac_ct_NMEDIT"; then
   7633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7634 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7635 else
   7636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7637 printf "%s\n" "no" >&6; }
   7638 fi
   7639 
   7640   if test "x$ac_ct_NMEDIT" = x; then
   7641     NMEDIT=":"
   7642   else
   7643     case $cross_compiling:$ac_tool_warned in
   7644 yes:)
   7645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7646 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7647 ac_tool_warned=yes ;;
   7648 esac
   7649     NMEDIT=$ac_ct_NMEDIT
   7650   fi
   7651 else
   7652   NMEDIT="$ac_cv_prog_NMEDIT"
   7653 fi
   7654 
   7655     if test -n "$ac_tool_prefix"; then
   7656   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7657 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7659 printf %s "checking for $ac_word... " >&6; }
   7660 if test ${ac_cv_prog_LIPO+y}
   7661 then :
   7662   printf %s "(cached) " >&6
   7663 else $as_nop
   7664   if test -n "$LIPO"; then
   7665   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7666 else
   7667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7668 for as_dir in $PATH
   7669 do
   7670   IFS=$as_save_IFS
   7671   case $as_dir in #(((
   7672     '') as_dir=./ ;;
   7673     */) ;;
   7674     *) as_dir=$as_dir/ ;;
   7675   esac
   7676     for ac_exec_ext in '' $ac_executable_extensions; do
   7677   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7678     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7679     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7680     break 2
   7681   fi
   7682 done
   7683   done
   7684 IFS=$as_save_IFS
   7685 
   7686 fi
   7687 fi
   7688 LIPO=$ac_cv_prog_LIPO
   7689 if test -n "$LIPO"; then
   7690   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7691 printf "%s\n" "$LIPO" >&6; }
   7692 else
   7693   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7694 printf "%s\n" "no" >&6; }
   7695 fi
   7696 
   7697 
   7698 fi
   7699 if test -z "$ac_cv_prog_LIPO"; then
   7700   ac_ct_LIPO=$LIPO
   7701   # Extract the first word of "lipo", so it can be a program name with args.
   7702 set dummy lipo; ac_word=$2
   7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7704 printf %s "checking for $ac_word... " >&6; }
   7705 if test ${ac_cv_prog_ac_ct_LIPO+y}
   7706 then :
   7707   printf %s "(cached) " >&6
   7708 else $as_nop
   7709   if test -n "$ac_ct_LIPO"; then
   7710   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7711 else
   7712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7713 for as_dir in $PATH
   7714 do
   7715   IFS=$as_save_IFS
   7716   case $as_dir in #(((
   7717     '') as_dir=./ ;;
   7718     */) ;;
   7719     *) as_dir=$as_dir/ ;;
   7720   esac
   7721     for ac_exec_ext in '' $ac_executable_extensions; do
   7722   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7723     ac_cv_prog_ac_ct_LIPO="lipo"
   7724     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7725     break 2
   7726   fi
   7727 done
   7728   done
   7729 IFS=$as_save_IFS
   7730 
   7731 fi
   7732 fi
   7733 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7734 if test -n "$ac_ct_LIPO"; then
   7735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7736 printf "%s\n" "$ac_ct_LIPO" >&6; }
   7737 else
   7738   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7739 printf "%s\n" "no" >&6; }
   7740 fi
   7741 
   7742   if test "x$ac_ct_LIPO" = x; then
   7743     LIPO=":"
   7744   else
   7745     case $cross_compiling:$ac_tool_warned in
   7746 yes:)
   7747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7748 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7749 ac_tool_warned=yes ;;
   7750 esac
   7751     LIPO=$ac_ct_LIPO
   7752   fi
   7753 else
   7754   LIPO="$ac_cv_prog_LIPO"
   7755 fi
   7756 
   7757     if test -n "$ac_tool_prefix"; then
   7758   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7759 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7761 printf %s "checking for $ac_word... " >&6; }
   7762 if test ${ac_cv_prog_OTOOL+y}
   7763 then :
   7764   printf %s "(cached) " >&6
   7765 else $as_nop
   7766   if test -n "$OTOOL"; then
   7767   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7768 else
   7769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7770 for as_dir in $PATH
   7771 do
   7772   IFS=$as_save_IFS
   7773   case $as_dir in #(((
   7774     '') as_dir=./ ;;
   7775     */) ;;
   7776     *) as_dir=$as_dir/ ;;
   7777   esac
   7778     for ac_exec_ext in '' $ac_executable_extensions; do
   7779   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7780     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7781     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7782     break 2
   7783   fi
   7784 done
   7785   done
   7786 IFS=$as_save_IFS
   7787 
   7788 fi
   7789 fi
   7790 OTOOL=$ac_cv_prog_OTOOL
   7791 if test -n "$OTOOL"; then
   7792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7793 printf "%s\n" "$OTOOL" >&6; }
   7794 else
   7795   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7796 printf "%s\n" "no" >&6; }
   7797 fi
   7798 
   7799 
   7800 fi
   7801 if test -z "$ac_cv_prog_OTOOL"; then
   7802   ac_ct_OTOOL=$OTOOL
   7803   # Extract the first word of "otool", so it can be a program name with args.
   7804 set dummy otool; ac_word=$2
   7805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7806 printf %s "checking for $ac_word... " >&6; }
   7807 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   7808 then :
   7809   printf %s "(cached) " >&6
   7810 else $as_nop
   7811   if test -n "$ac_ct_OTOOL"; then
   7812   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7813 else
   7814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7815 for as_dir in $PATH
   7816 do
   7817   IFS=$as_save_IFS
   7818   case $as_dir in #(((
   7819     '') as_dir=./ ;;
   7820     */) ;;
   7821     *) as_dir=$as_dir/ ;;
   7822   esac
   7823     for ac_exec_ext in '' $ac_executable_extensions; do
   7824   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7825     ac_cv_prog_ac_ct_OTOOL="otool"
   7826     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7827     break 2
   7828   fi
   7829 done
   7830   done
   7831 IFS=$as_save_IFS
   7832 
   7833 fi
   7834 fi
   7835 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7836 if test -n "$ac_ct_OTOOL"; then
   7837   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7838 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   7839 else
   7840   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7841 printf "%s\n" "no" >&6; }
   7842 fi
   7843 
   7844   if test "x$ac_ct_OTOOL" = x; then
   7845     OTOOL=":"
   7846   else
   7847     case $cross_compiling:$ac_tool_warned in
   7848 yes:)
   7849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7850 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7851 ac_tool_warned=yes ;;
   7852 esac
   7853     OTOOL=$ac_ct_OTOOL
   7854   fi
   7855 else
   7856   OTOOL="$ac_cv_prog_OTOOL"
   7857 fi
   7858 
   7859     if test -n "$ac_tool_prefix"; then
   7860   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7861 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7863 printf %s "checking for $ac_word... " >&6; }
   7864 if test ${ac_cv_prog_OTOOL64+y}
   7865 then :
   7866   printf %s "(cached) " >&6
   7867 else $as_nop
   7868   if test -n "$OTOOL64"; then
   7869   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7870 else
   7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7872 for as_dir in $PATH
   7873 do
   7874   IFS=$as_save_IFS
   7875   case $as_dir in #(((
   7876     '') as_dir=./ ;;
   7877     */) ;;
   7878     *) as_dir=$as_dir/ ;;
   7879   esac
   7880     for ac_exec_ext in '' $ac_executable_extensions; do
   7881   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7882     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7883     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7884     break 2
   7885   fi
   7886 done
   7887   done
   7888 IFS=$as_save_IFS
   7889 
   7890 fi
   7891 fi
   7892 OTOOL64=$ac_cv_prog_OTOOL64
   7893 if test -n "$OTOOL64"; then
   7894   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7895 printf "%s\n" "$OTOOL64" >&6; }
   7896 else
   7897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7898 printf "%s\n" "no" >&6; }
   7899 fi
   7900 
   7901 
   7902 fi
   7903 if test -z "$ac_cv_prog_OTOOL64"; then
   7904   ac_ct_OTOOL64=$OTOOL64
   7905   # Extract the first word of "otool64", so it can be a program name with args.
   7906 set dummy otool64; ac_word=$2
   7907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7908 printf %s "checking for $ac_word... " >&6; }
   7909 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   7910 then :
   7911   printf %s "(cached) " >&6
   7912 else $as_nop
   7913   if test -n "$ac_ct_OTOOL64"; then
   7914   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7915 else
   7916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7917 for as_dir in $PATH
   7918 do
   7919   IFS=$as_save_IFS
   7920   case $as_dir in #(((
   7921     '') as_dir=./ ;;
   7922     */) ;;
   7923     *) as_dir=$as_dir/ ;;
   7924   esac
   7925     for ac_exec_ext in '' $ac_executable_extensions; do
   7926   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7927     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7928     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7929     break 2
   7930   fi
   7931 done
   7932   done
   7933 IFS=$as_save_IFS
   7934 
   7935 fi
   7936 fi
   7937 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7938 if test -n "$ac_ct_OTOOL64"; then
   7939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7940 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   7941 else
   7942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7943 printf "%s\n" "no" >&6; }
   7944 fi
   7945 
   7946   if test "x$ac_ct_OTOOL64" = x; then
   7947     OTOOL64=":"
   7948   else
   7949     case $cross_compiling:$ac_tool_warned in
   7950 yes:)
   7951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7952 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7953 ac_tool_warned=yes ;;
   7954 esac
   7955     OTOOL64=$ac_ct_OTOOL64
   7956   fi
   7957 else
   7958   OTOOL64="$ac_cv_prog_OTOOL64"
   7959 fi
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984 
   7985 
   7986 
   7987     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7988 printf %s "checking for -single_module linker flag... " >&6; }
   7989 if test ${lt_cv_apple_cc_single_mod+y}
   7990 then :
   7991   printf %s "(cached) " >&6
   7992 else $as_nop
   7993   lt_cv_apple_cc_single_mod=no
   7994       if test -z "$LT_MULTI_MODULE"; then
   7995 	# By default we will add the -single_module flag. You can override
   7996 	# by either setting the environment variable LT_MULTI_MODULE
   7997 	# non-empty at configure time, or by adding -multi_module to the
   7998 	# link flags.
   7999 	rm -rf libconftest.dylib*
   8000 	echo "int foo(void){return 1;}" > conftest.c
   8001 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8002 -dynamiclib -Wl,-single_module conftest.c" >&5
   8003 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8004 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8005         _lt_result=$?
   8006 	# If there is a non-empty error log, and "single_module"
   8007 	# appears in it, assume the flag caused a linker warning
   8008         if test -s conftest.err && $GREP single_module conftest.err; then
   8009 	  cat conftest.err >&5
   8010 	# Otherwise, if the output was created with a 0 exit code from
   8011 	# the compiler, it worked.
   8012 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8013 	  lt_cv_apple_cc_single_mod=yes
   8014 	else
   8015 	  cat conftest.err >&5
   8016 	fi
   8017 	rm -rf libconftest.dylib*
   8018 	rm -f conftest.*
   8019       fi
   8020 fi
   8021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8022 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8023 
   8024     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8025 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8026 if test ${lt_cv_ld_exported_symbols_list+y}
   8027 then :
   8028   printf %s "(cached) " >&6
   8029 else $as_nop
   8030   lt_cv_ld_exported_symbols_list=no
   8031       save_LDFLAGS=$LDFLAGS
   8032       echo "_main" > conftest.sym
   8033       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8035 /* end confdefs.h.  */
   8036 
   8037 int
   8038 main (void)
   8039 {
   8040 
   8041   ;
   8042   return 0;
   8043 }
   8044 _ACEOF
   8045 if ac_fn_c_try_link "$LINENO"
   8046 then :
   8047   lt_cv_ld_exported_symbols_list=yes
   8048 else $as_nop
   8049   lt_cv_ld_exported_symbols_list=no
   8050 fi
   8051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8052     conftest$ac_exeext conftest.$ac_ext
   8053 	LDFLAGS=$save_LDFLAGS
   8054 
   8055 fi
   8056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8057 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8058 
   8059     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8060 printf %s "checking for -force_load linker flag... " >&6; }
   8061 if test ${lt_cv_ld_force_load+y}
   8062 then :
   8063   printf %s "(cached) " >&6
   8064 else $as_nop
   8065   lt_cv_ld_force_load=no
   8066       cat > conftest.c << _LT_EOF
   8067 int forced_loaded() { return 2;}
   8068 _LT_EOF
   8069       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8070       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8071       echo "$AR cru libconftest.a conftest.o" >&5
   8072       $AR cru libconftest.a conftest.o 2>&5
   8073       echo "$RANLIB libconftest.a" >&5
   8074       $RANLIB libconftest.a 2>&5
   8075       cat > conftest.c << _LT_EOF
   8076 int main() { return 0;}
   8077 _LT_EOF
   8078       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8079       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8080       _lt_result=$?
   8081       if test -s conftest.err && $GREP force_load conftest.err; then
   8082 	cat conftest.err >&5
   8083       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8084 	lt_cv_ld_force_load=yes
   8085       else
   8086 	cat conftest.err >&5
   8087       fi
   8088         rm -f conftest.err libconftest.a conftest conftest.c
   8089         rm -rf conftest.dSYM
   8090 
   8091 fi
   8092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8093 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8094     case $host_os in
   8095     rhapsody* | darwin1.[012])
   8096       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8097     darwin1.*)
   8098       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8099     darwin*) # darwin 5.x on
   8100       # if running on 10.5 or later, the deployment target defaults
   8101       # to the OS version, if on x86, and 10.4, the deployment
   8102       # target defaults to 10.4. Don't you love it?
   8103       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8104 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8105 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8106 	10.[012][,.]*)
   8107 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8108 	10.*)
   8109 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8110       esac
   8111     ;;
   8112   esac
   8113     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8114       _lt_dar_single_mod='$single_module'
   8115     fi
   8116     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8117       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8118     else
   8119       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8120     fi
   8121     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8122       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8123     else
   8124       _lt_dsymutil=
   8125     fi
   8126     ;;
   8127   esac
   8128 
   8129 # func_munge_path_list VARIABLE PATH
   8130 # -----------------------------------
   8131 # VARIABLE is name of variable containing _space_ separated list of
   8132 # directories to be munged by the contents of PATH, which is string
   8133 # having a format:
   8134 # "DIR[:DIR]:"
   8135 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8136 # ":DIR[:DIR]"
   8137 #       string "DIR[ DIR]" will be appended to VARIABLE
   8138 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8139 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8140 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8141 # "DIR[:DIR]"
   8142 #       VARIABLE will be replaced by "DIR[ DIR]"
   8143 func_munge_path_list ()
   8144 {
   8145     case x$2 in
   8146     x)
   8147         ;;
   8148     *:)
   8149         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8150         ;;
   8151     x:*)
   8152         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8153         ;;
   8154     *::*)
   8155         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8156         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8157         ;;
   8158     *)
   8159         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8160         ;;
   8161     esac
   8162 }
   8163 
   8164 ac_header= ac_cache=
   8165 for ac_item in $ac_header_c_list
   8166 do
   8167   if test $ac_cache; then
   8168     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8169     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8170       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8171     fi
   8172     ac_header= ac_cache=
   8173   elif test $ac_header; then
   8174     ac_cache=$ac_item
   8175   else
   8176     ac_header=$ac_item
   8177   fi
   8178 done
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8188 then :
   8189 
   8190 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8191 
   8192 fi
   8193 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8194 "
   8195 if test "x$ac_cv_header_dlfcn_h" = xyes
   8196 then :
   8197   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8198 
   8199 fi
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 # Set options
   8206 
   8207 
   8208 
   8209         enable_dlopen=no
   8210 
   8211 
   8212   enable_win32_dll=no
   8213 
   8214 
   8215             # Check whether --enable-shared was given.
   8216 if test ${enable_shared+y}
   8217 then :
   8218   enableval=$enable_shared; p=${PACKAGE-default}
   8219     case $enableval in
   8220     yes) enable_shared=yes ;;
   8221     no) enable_shared=no ;;
   8222     *)
   8223       enable_shared=no
   8224       # Look at the argument we got.  We use all the common list separators.
   8225       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8226       for pkg in $enableval; do
   8227 	IFS=$lt_save_ifs
   8228 	if test "X$pkg" = "X$p"; then
   8229 	  enable_shared=yes
   8230 	fi
   8231       done
   8232       IFS=$lt_save_ifs
   8233       ;;
   8234     esac
   8235 else $as_nop
   8236   enable_shared=yes
   8237 fi
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 
   8246 
   8247   # Check whether --enable-static was given.
   8248 if test ${enable_static+y}
   8249 then :
   8250   enableval=$enable_static; p=${PACKAGE-default}
   8251     case $enableval in
   8252     yes) enable_static=yes ;;
   8253     no) enable_static=no ;;
   8254     *)
   8255      enable_static=no
   8256       # Look at the argument we got.  We use all the common list separators.
   8257       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8258       for pkg in $enableval; do
   8259 	IFS=$lt_save_ifs
   8260 	if test "X$pkg" = "X$p"; then
   8261 	  enable_static=yes
   8262 	fi
   8263       done
   8264       IFS=$lt_save_ifs
   8265       ;;
   8266     esac
   8267 else $as_nop
   8268   enable_static=yes
   8269 fi
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 # Check whether --with-pic was given.
   8281 if test ${with_pic+y}
   8282 then :
   8283   withval=$with_pic; lt_p=${PACKAGE-default}
   8284     case $withval in
   8285     yes|no) pic_mode=$withval ;;
   8286     *)
   8287       pic_mode=default
   8288       # Look at the argument we got.  We use all the common list separators.
   8289       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8290       for lt_pkg in $withval; do
   8291 	IFS=$lt_save_ifs
   8292 	if test "X$lt_pkg" = "X$lt_p"; then
   8293 	  pic_mode=yes
   8294 	fi
   8295       done
   8296       IFS=$lt_save_ifs
   8297       ;;
   8298     esac
   8299 else $as_nop
   8300   pic_mode=default
   8301 fi
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310   # Check whether --enable-fast-install was given.
   8311 if test ${enable_fast_install+y}
   8312 then :
   8313   enableval=$enable_fast_install; p=${PACKAGE-default}
   8314     case $enableval in
   8315     yes) enable_fast_install=yes ;;
   8316     no) enable_fast_install=no ;;
   8317     *)
   8318       enable_fast_install=no
   8319       # Look at the argument we got.  We use all the common list separators.
   8320       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8321       for pkg in $enableval; do
   8322 	IFS=$lt_save_ifs
   8323 	if test "X$pkg" = "X$p"; then
   8324 	  enable_fast_install=yes
   8325 	fi
   8326       done
   8327       IFS=$lt_save_ifs
   8328       ;;
   8329     esac
   8330 else $as_nop
   8331   enable_fast_install=yes
   8332 fi
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341   shared_archive_member_spec=
   8342 case $host,$enable_shared in
   8343 power*-*-aix[5-9]*,yes)
   8344   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8345 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8346 
   8347 # Check whether --with-aix-soname was given.
   8348 if test ${with_aix_soname+y}
   8349 then :
   8350   withval=$with_aix_soname; case $withval in
   8351     aix|svr4|both)
   8352       ;;
   8353     *)
   8354       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8355       ;;
   8356     esac
   8357     lt_cv_with_aix_soname=$with_aix_soname
   8358 else $as_nop
   8359   if test ${lt_cv_with_aix_soname+y}
   8360 then :
   8361   printf %s "(cached) " >&6
   8362 else $as_nop
   8363   lt_cv_with_aix_soname=aix
   8364 fi
   8365 
   8366     with_aix_soname=$lt_cv_with_aix_soname
   8367 fi
   8368 
   8369   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8370 printf "%s\n" "$with_aix_soname" >&6; }
   8371   if test aix != "$with_aix_soname"; then
   8372     # For the AIX way of multilib, we name the shared archive member
   8373     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8374     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8375     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8376     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8377     if test 64 = "${OBJECT_MODE-32}"; then
   8378       shared_archive_member_spec=shr_64
   8379     else
   8380       shared_archive_member_spec=shr
   8381     fi
   8382   fi
   8383   ;;
   8384 *)
   8385   with_aix_soname=aix
   8386   ;;
   8387 esac
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 # This can be used to rebuild libtool when needed
   8399 LIBTOOL_DEPS=$ltmain
   8400 
   8401 # Always use our own libtool.
   8402 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 test -z "$LN_S" && LN_S="ln -s"
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 if test -n "${ZSH_VERSION+set}"; then
   8449    setopt NO_GLOB_SUBST
   8450 fi
   8451 
   8452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8453 printf %s "checking for objdir... " >&6; }
   8454 if test ${lt_cv_objdir+y}
   8455 then :
   8456   printf %s "(cached) " >&6
   8457 else $as_nop
   8458   rm -f .libs 2>/dev/null
   8459 mkdir .libs 2>/dev/null
   8460 if test -d .libs; then
   8461   lt_cv_objdir=.libs
   8462 else
   8463   # MS-DOS does not allow filenames that begin with a dot.
   8464   lt_cv_objdir=_libs
   8465 fi
   8466 rmdir .libs 2>/dev/null
   8467 fi
   8468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8469 printf "%s\n" "$lt_cv_objdir" >&6; }
   8470 objdir=$lt_cv_objdir
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8477 
   8478 
   8479 
   8480 
   8481 case $host_os in
   8482 aix3*)
   8483   # AIX sometimes has problems with the GCC collect2 program.  For some
   8484   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8485   # vanish in a puff of smoke.
   8486   if test set != "${COLLECT_NAMES+set}"; then
   8487     COLLECT_NAMES=
   8488     export COLLECT_NAMES
   8489   fi
   8490   ;;
   8491 esac
   8492 
   8493 # Global variables:
   8494 ofile=libtool
   8495 can_build_shared=yes
   8496 
   8497 # All known linkers require a '.a' archive for static linking (except MSVC,
   8498 # which needs '.lib').
   8499 libext=a
   8500 
   8501 with_gnu_ld=$lt_cv_prog_gnu_ld
   8502 
   8503 old_CC=$CC
   8504 old_CFLAGS=$CFLAGS
   8505 
   8506 # Set sane defaults for various variables
   8507 test -z "$CC" && CC=cc
   8508 test -z "$LTCC" && LTCC=$CC
   8509 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8510 test -z "$LD" && LD=ld
   8511 test -z "$ac_objext" && ac_objext=o
   8512 
   8513 func_cc_basename $compiler
   8514 cc_basename=$func_cc_basename_result
   8515 
   8516 
   8517 # Only perform the check for file, if the check method requires it
   8518 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8519 case $deplibs_check_method in
   8520 file_magic*)
   8521   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8522     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8523 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8524 if test ${lt_cv_path_MAGIC_CMD+y}
   8525 then :
   8526   printf %s "(cached) " >&6
   8527 else $as_nop
   8528   case $MAGIC_CMD in
   8529 [\\/*] |  ?:[\\/]*)
   8530   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8531   ;;
   8532 *)
   8533   lt_save_MAGIC_CMD=$MAGIC_CMD
   8534   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8535   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8536   for ac_dir in $ac_dummy; do
   8537     IFS=$lt_save_ifs
   8538     test -z "$ac_dir" && ac_dir=.
   8539     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8540       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8541       if test -n "$file_magic_test_file"; then
   8542 	case $deplibs_check_method in
   8543 	"file_magic "*)
   8544 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8545 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8546 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8547 	    $EGREP "$file_magic_regex" > /dev/null; then
   8548 	    :
   8549 	  else
   8550 	    cat <<_LT_EOF 1>&2
   8551 
   8552 *** Warning: the command libtool uses to detect shared libraries,
   8553 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8554 *** The result is that libtool may fail to recognize shared libraries
   8555 *** as such.  This will affect the creation of libtool libraries that
   8556 *** depend on shared libraries, but programs linked with such libtool
   8557 *** libraries will work regardless of this problem.  Nevertheless, you
   8558 *** may want to report the problem to your system manager and/or to
   8559 *** bug-libtool@gnu.org
   8560 
   8561 _LT_EOF
   8562 	  fi ;;
   8563 	esac
   8564       fi
   8565       break
   8566     fi
   8567   done
   8568   IFS=$lt_save_ifs
   8569   MAGIC_CMD=$lt_save_MAGIC_CMD
   8570   ;;
   8571 esac
   8572 fi
   8573 
   8574 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8575 if test -n "$MAGIC_CMD"; then
   8576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8577 printf "%s\n" "$MAGIC_CMD" >&6; }
   8578 else
   8579   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8580 printf "%s\n" "no" >&6; }
   8581 fi
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8588   if test -n "$ac_tool_prefix"; then
   8589     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8590 printf %s "checking for file... " >&6; }
   8591 if test ${lt_cv_path_MAGIC_CMD+y}
   8592 then :
   8593   printf %s "(cached) " >&6
   8594 else $as_nop
   8595   case $MAGIC_CMD in
   8596 [\\/*] |  ?:[\\/]*)
   8597   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8598   ;;
   8599 *)
   8600   lt_save_MAGIC_CMD=$MAGIC_CMD
   8601   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8602   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8603   for ac_dir in $ac_dummy; do
   8604     IFS=$lt_save_ifs
   8605     test -z "$ac_dir" && ac_dir=.
   8606     if test -f "$ac_dir/file"; then
   8607       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8608       if test -n "$file_magic_test_file"; then
   8609 	case $deplibs_check_method in
   8610 	"file_magic "*)
   8611 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8612 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8613 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8614 	    $EGREP "$file_magic_regex" > /dev/null; then
   8615 	    :
   8616 	  else
   8617 	    cat <<_LT_EOF 1>&2
   8618 
   8619 *** Warning: the command libtool uses to detect shared libraries,
   8620 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8621 *** The result is that libtool may fail to recognize shared libraries
   8622 *** as such.  This will affect the creation of libtool libraries that
   8623 *** depend on shared libraries, but programs linked with such libtool
   8624 *** libraries will work regardless of this problem.  Nevertheless, you
   8625 *** may want to report the problem to your system manager and/or to
   8626 *** bug-libtool@gnu.org
   8627 
   8628 _LT_EOF
   8629 	  fi ;;
   8630 	esac
   8631       fi
   8632       break
   8633     fi
   8634   done
   8635   IFS=$lt_save_ifs
   8636   MAGIC_CMD=$lt_save_MAGIC_CMD
   8637   ;;
   8638 esac
   8639 fi
   8640 
   8641 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8642 if test -n "$MAGIC_CMD"; then
   8643   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8644 printf "%s\n" "$MAGIC_CMD" >&6; }
   8645 else
   8646   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8647 printf "%s\n" "no" >&6; }
   8648 fi
   8649 
   8650 
   8651   else
   8652     MAGIC_CMD=:
   8653   fi
   8654 fi
   8655 
   8656   fi
   8657   ;;
   8658 esac
   8659 
   8660 # Use C for the default configuration in the libtool script
   8661 
   8662 lt_save_CC=$CC
   8663 ac_ext=c
   8664 ac_cpp='$CPP $CPPFLAGS'
   8665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8668 
   8669 
   8670 # Source file extension for C test sources.
   8671 ac_ext=c
   8672 
   8673 # Object file extension for compiled C test sources.
   8674 objext=o
   8675 objext=$objext
   8676 
   8677 # Code to be used in simple compile tests
   8678 lt_simple_compile_test_code="int some_variable = 0;"
   8679 
   8680 # Code to be used in simple link tests
   8681 lt_simple_link_test_code='int main(){return(0);}'
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 # If no C compiler was specified, use CC.
   8690 LTCC=${LTCC-"$CC"}
   8691 
   8692 # If no C compiler flags were specified, use CFLAGS.
   8693 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8694 
   8695 # Allow CC to be a program name with arguments.
   8696 compiler=$CC
   8697 
   8698 # Save the default compiler, since it gets overwritten when the other
   8699 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8700 compiler_DEFAULT=$CC
   8701 
   8702 # save warnings/boilerplate of simple test code
   8703 ac_outfile=conftest.$ac_objext
   8704 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8705 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8706 _lt_compiler_boilerplate=`cat conftest.err`
   8707 $RM conftest*
   8708 
   8709 ac_outfile=conftest.$ac_objext
   8710 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8711 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8712 _lt_linker_boilerplate=`cat conftest.err`
   8713 $RM -r conftest*
   8714 
   8715 
   8716 if test -n "$compiler"; then
   8717 
   8718 lt_prog_compiler_no_builtin_flag=
   8719 
   8720 if test yes = "$GCC"; then
   8721   case $cc_basename in
   8722   nvcc*)
   8723     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8724   *)
   8725     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8726   esac
   8727 
   8728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8729 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8730 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   8731 then :
   8732   printf %s "(cached) " >&6
   8733 else $as_nop
   8734   lt_cv_prog_compiler_rtti_exceptions=no
   8735    ac_outfile=conftest.$ac_objext
   8736    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8737    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8738    # Insert the option either (1) after the last *FLAGS variable, or
   8739    # (2) before a word containing "conftest.", or (3) at the end.
   8740    # Note that $ac_compile itself does not contain backslashes and begins
   8741    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8742    # The option is referenced via a variable to avoid confusing sed.
   8743    lt_compile=`echo "$ac_compile" | $SED \
   8744    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8745    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8746    -e 's:$: $lt_compiler_flag:'`
   8747    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8748    (eval "$lt_compile" 2>conftest.err)
   8749    ac_status=$?
   8750    cat conftest.err >&5
   8751    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8752    if (exit $ac_status) && test -s "$ac_outfile"; then
   8753      # The compiler can only warn and ignore the option if not recognized
   8754      # So say no if there are warnings other than the usual output.
   8755      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8756      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8757      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8758        lt_cv_prog_compiler_rtti_exceptions=yes
   8759      fi
   8760    fi
   8761    $RM conftest*
   8762 
   8763 fi
   8764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8765 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8766 
   8767 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8768     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8769 else
   8770     :
   8771 fi
   8772 
   8773 fi
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780   lt_prog_compiler_wl=
   8781 lt_prog_compiler_pic=
   8782 lt_prog_compiler_static=
   8783 
   8784 
   8785   if test yes = "$GCC"; then
   8786     lt_prog_compiler_wl='-Wl,'
   8787     lt_prog_compiler_static='-static'
   8788 
   8789     case $host_os in
   8790       aix*)
   8791       # All AIX code is PIC.
   8792       if test ia64 = "$host_cpu"; then
   8793 	# AIX 5 now supports IA64 processor
   8794 	lt_prog_compiler_static='-Bstatic'
   8795       fi
   8796       lt_prog_compiler_pic='-fPIC'
   8797       ;;
   8798 
   8799     amigaos*)
   8800       case $host_cpu in
   8801       powerpc)
   8802             # see comment about AmigaOS4 .so support
   8803             lt_prog_compiler_pic='-fPIC'
   8804         ;;
   8805       m68k)
   8806             # FIXME: we need at least 68020 code to build shared libraries, but
   8807             # adding the '-m68020' flag to GCC prevents building anything better,
   8808             # like '-m68040'.
   8809             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8810         ;;
   8811       esac
   8812       ;;
   8813 
   8814     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8815       # PIC is the default for these OSes.
   8816       ;;
   8817 
   8818     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8819       # This hack is so that the source file can tell whether it is being
   8820       # built for inclusion in a dll (and should export symbols for example).
   8821       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8822       # (--disable-auto-import) libraries
   8823       lt_prog_compiler_pic='-DDLL_EXPORT'
   8824       case $host_os in
   8825       os2*)
   8826 	lt_prog_compiler_static='$wl-static'
   8827 	;;
   8828       esac
   8829       ;;
   8830 
   8831     darwin* | rhapsody*)
   8832       # PIC is the default on this platform
   8833       # Common symbols not allowed in MH_DYLIB files
   8834       lt_prog_compiler_pic='-fno-common'
   8835       ;;
   8836 
   8837     haiku*)
   8838       # PIC is the default for Haiku.
   8839       # The "-static" flag exists, but is broken.
   8840       lt_prog_compiler_static=
   8841       ;;
   8842 
   8843     hpux*)
   8844       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8845       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8846       # sets the default TLS model and affects inlining.
   8847       case $host_cpu in
   8848       hppa*64*)
   8849 	# +Z the default
   8850 	;;
   8851       *)
   8852 	lt_prog_compiler_pic='-fPIC'
   8853 	;;
   8854       esac
   8855       ;;
   8856 
   8857     interix[3-9]*)
   8858       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8859       # Instead, we relocate shared libraries at runtime.
   8860       ;;
   8861 
   8862     msdosdjgpp*)
   8863       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8864       # on systems that don't support them.
   8865       lt_prog_compiler_can_build_shared=no
   8866       enable_shared=no
   8867       ;;
   8868 
   8869     *nto* | *qnx*)
   8870       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8871       # it will coredump.
   8872       lt_prog_compiler_pic='-fPIC -shared'
   8873       ;;
   8874 
   8875     sysv4*MP*)
   8876       if test -d /usr/nec; then
   8877 	lt_prog_compiler_pic=-Kconform_pic
   8878       fi
   8879       ;;
   8880 
   8881     *)
   8882       lt_prog_compiler_pic='-fPIC'
   8883       ;;
   8884     esac
   8885 
   8886     case $cc_basename in
   8887     nvcc*) # Cuda Compiler Driver 2.2
   8888       lt_prog_compiler_wl='-Xlinker '
   8889       if test -n "$lt_prog_compiler_pic"; then
   8890         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8891       fi
   8892       ;;
   8893     esac
   8894   else
   8895     # PORTME Check for flag to pass linker flags through the system compiler.
   8896     case $host_os in
   8897     aix*)
   8898       lt_prog_compiler_wl='-Wl,'
   8899       if test ia64 = "$host_cpu"; then
   8900 	# AIX 5 now supports IA64 processor
   8901 	lt_prog_compiler_static='-Bstatic'
   8902       else
   8903 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8904       fi
   8905       ;;
   8906 
   8907     darwin* | rhapsody*)
   8908       # PIC is the default on this platform
   8909       # Common symbols not allowed in MH_DYLIB files
   8910       lt_prog_compiler_pic='-fno-common'
   8911       case $cc_basename in
   8912       nagfor*)
   8913         # NAG Fortran compiler
   8914         lt_prog_compiler_wl='-Wl,-Wl,,'
   8915         lt_prog_compiler_pic='-PIC'
   8916         lt_prog_compiler_static='-Bstatic'
   8917         ;;
   8918       esac
   8919       ;;
   8920 
   8921     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8922       # This hack is so that the source file can tell whether it is being
   8923       # built for inclusion in a dll (and should export symbols for example).
   8924       lt_prog_compiler_pic='-DDLL_EXPORT'
   8925       case $host_os in
   8926       os2*)
   8927 	lt_prog_compiler_static='$wl-static'
   8928 	;;
   8929       esac
   8930       ;;
   8931 
   8932     hpux9* | hpux10* | hpux11*)
   8933       lt_prog_compiler_wl='-Wl,'
   8934       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8935       # not for PA HP-UX.
   8936       case $host_cpu in
   8937       hppa*64*|ia64*)
   8938 	# +Z the default
   8939 	;;
   8940       *)
   8941 	lt_prog_compiler_pic='+Z'
   8942 	;;
   8943       esac
   8944       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8945       lt_prog_compiler_static='$wl-a ${wl}archive'
   8946       ;;
   8947 
   8948     irix5* | irix6* | nonstopux*)
   8949       lt_prog_compiler_wl='-Wl,'
   8950       # PIC (with -KPIC) is the default.
   8951       lt_prog_compiler_static='-non_shared'
   8952       ;;
   8953 
   8954     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8955       case $cc_basename in
   8956       # old Intel for x86_64, which still supported -KPIC.
   8957       ecc*)
   8958 	lt_prog_compiler_wl='-Wl,'
   8959 	lt_prog_compiler_pic='-KPIC'
   8960 	lt_prog_compiler_static='-static'
   8961         ;;
   8962       # icc used to be incompatible with GCC.
   8963       # ICC 10 doesn't accept -KPIC any more.
   8964       icc* | ifort*)
   8965 	lt_prog_compiler_wl='-Wl,'
   8966 	lt_prog_compiler_pic='-fPIC'
   8967 	lt_prog_compiler_static='-static'
   8968         ;;
   8969       # Lahey Fortran 8.1.
   8970       lf95*)
   8971 	lt_prog_compiler_wl='-Wl,'
   8972 	lt_prog_compiler_pic='--shared'
   8973 	lt_prog_compiler_static='--static'
   8974 	;;
   8975       nagfor*)
   8976 	# NAG Fortran compiler
   8977 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8978 	lt_prog_compiler_pic='-PIC'
   8979 	lt_prog_compiler_static='-Bstatic'
   8980 	;;
   8981       tcc*)
   8982 	# Fabrice Bellard et al's Tiny C Compiler
   8983 	lt_prog_compiler_wl='-Wl,'
   8984 	lt_prog_compiler_pic='-fPIC'
   8985 	lt_prog_compiler_static='-static'
   8986 	;;
   8987       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8988         # Portland Group compilers (*not* the Pentium gcc compiler,
   8989 	# which looks to be a dead project)
   8990 	lt_prog_compiler_wl='-Wl,'
   8991 	lt_prog_compiler_pic='-fpic'
   8992 	lt_prog_compiler_static='-Bstatic'
   8993         ;;
   8994       ccc*)
   8995         lt_prog_compiler_wl='-Wl,'
   8996         # All Alpha code is PIC.
   8997         lt_prog_compiler_static='-non_shared'
   8998         ;;
   8999       xl* | bgxl* | bgf* | mpixl*)
   9000 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9001 	lt_prog_compiler_wl='-Wl,'
   9002 	lt_prog_compiler_pic='-qpic'
   9003 	lt_prog_compiler_static='-qstaticlink'
   9004 	;;
   9005       *)
   9006 	case `$CC -V 2>&1 | sed 5q` in
   9007 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9008 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9009 	  lt_prog_compiler_pic='-KPIC'
   9010 	  lt_prog_compiler_static='-Bstatic'
   9011 	  lt_prog_compiler_wl=''
   9012 	  ;;
   9013 	*Sun\ F* | *Sun*Fortran*)
   9014 	  lt_prog_compiler_pic='-KPIC'
   9015 	  lt_prog_compiler_static='-Bstatic'
   9016 	  lt_prog_compiler_wl='-Qoption ld '
   9017 	  ;;
   9018 	*Sun\ C*)
   9019 	  # Sun C 5.9
   9020 	  lt_prog_compiler_pic='-KPIC'
   9021 	  lt_prog_compiler_static='-Bstatic'
   9022 	  lt_prog_compiler_wl='-Wl,'
   9023 	  ;;
   9024         *Intel*\ [CF]*Compiler*)
   9025 	  lt_prog_compiler_wl='-Wl,'
   9026 	  lt_prog_compiler_pic='-fPIC'
   9027 	  lt_prog_compiler_static='-static'
   9028 	  ;;
   9029 	*Portland\ Group*)
   9030 	  lt_prog_compiler_wl='-Wl,'
   9031 	  lt_prog_compiler_pic='-fpic'
   9032 	  lt_prog_compiler_static='-Bstatic'
   9033 	  ;;
   9034 	esac
   9035 	;;
   9036       esac
   9037       ;;
   9038 
   9039     newsos6)
   9040       lt_prog_compiler_pic='-KPIC'
   9041       lt_prog_compiler_static='-Bstatic'
   9042       ;;
   9043 
   9044     *nto* | *qnx*)
   9045       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9046       # it will coredump.
   9047       lt_prog_compiler_pic='-fPIC -shared'
   9048       ;;
   9049 
   9050     osf3* | osf4* | osf5*)
   9051       lt_prog_compiler_wl='-Wl,'
   9052       # All OSF/1 code is PIC.
   9053       lt_prog_compiler_static='-non_shared'
   9054       ;;
   9055 
   9056     rdos*)
   9057       lt_prog_compiler_static='-non_shared'
   9058       ;;
   9059 
   9060     solaris*)
   9061       lt_prog_compiler_pic='-KPIC'
   9062       lt_prog_compiler_static='-Bstatic'
   9063       case $cc_basename in
   9064       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9065 	lt_prog_compiler_wl='-Qoption ld ';;
   9066       *)
   9067 	lt_prog_compiler_wl='-Wl,';;
   9068       esac
   9069       ;;
   9070 
   9071     sunos4*)
   9072       lt_prog_compiler_wl='-Qoption ld '
   9073       lt_prog_compiler_pic='-PIC'
   9074       lt_prog_compiler_static='-Bstatic'
   9075       ;;
   9076 
   9077     sysv4 | sysv4.2uw2* | sysv4.3*)
   9078       lt_prog_compiler_wl='-Wl,'
   9079       lt_prog_compiler_pic='-KPIC'
   9080       lt_prog_compiler_static='-Bstatic'
   9081       ;;
   9082 
   9083     sysv4*MP*)
   9084       if test -d /usr/nec; then
   9085 	lt_prog_compiler_pic='-Kconform_pic'
   9086 	lt_prog_compiler_static='-Bstatic'
   9087       fi
   9088       ;;
   9089 
   9090     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9091       lt_prog_compiler_wl='-Wl,'
   9092       lt_prog_compiler_pic='-KPIC'
   9093       lt_prog_compiler_static='-Bstatic'
   9094       ;;
   9095 
   9096     unicos*)
   9097       lt_prog_compiler_wl='-Wl,'
   9098       lt_prog_compiler_can_build_shared=no
   9099       ;;
   9100 
   9101     uts4*)
   9102       lt_prog_compiler_pic='-pic'
   9103       lt_prog_compiler_static='-Bstatic'
   9104       ;;
   9105 
   9106     *)
   9107       lt_prog_compiler_can_build_shared=no
   9108       ;;
   9109     esac
   9110   fi
   9111 
   9112 case $host_os in
   9113   # For platforms that do not support PIC, -DPIC is meaningless:
   9114   *djgpp*)
   9115     lt_prog_compiler_pic=
   9116     ;;
   9117   *)
   9118     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9119     ;;
   9120 esac
   9121 
   9122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9123 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9124 if test ${lt_cv_prog_compiler_pic+y}
   9125 then :
   9126   printf %s "(cached) " >&6
   9127 else $as_nop
   9128   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9129 fi
   9130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9131 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9132 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9133 
   9134 #
   9135 # Check to make sure the PIC flag actually works.
   9136 #
   9137 if test -n "$lt_prog_compiler_pic"; then
   9138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9139 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9140 if test ${lt_cv_prog_compiler_pic_works+y}
   9141 then :
   9142   printf %s "(cached) " >&6
   9143 else $as_nop
   9144   lt_cv_prog_compiler_pic_works=no
   9145    ac_outfile=conftest.$ac_objext
   9146    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9147    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9148    # Insert the option either (1) after the last *FLAGS variable, or
   9149    # (2) before a word containing "conftest.", or (3) at the end.
   9150    # Note that $ac_compile itself does not contain backslashes and begins
   9151    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9152    # The option is referenced via a variable to avoid confusing sed.
   9153    lt_compile=`echo "$ac_compile" | $SED \
   9154    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9155    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9156    -e 's:$: $lt_compiler_flag:'`
   9157    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9158    (eval "$lt_compile" 2>conftest.err)
   9159    ac_status=$?
   9160    cat conftest.err >&5
   9161    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9162    if (exit $ac_status) && test -s "$ac_outfile"; then
   9163      # The compiler can only warn and ignore the option if not recognized
   9164      # So say no if there are warnings other than the usual output.
   9165      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9166      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9167      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9168        lt_cv_prog_compiler_pic_works=yes
   9169      fi
   9170    fi
   9171    $RM conftest*
   9172 
   9173 fi
   9174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9175 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9176 
   9177 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9178     case $lt_prog_compiler_pic in
   9179      "" | " "*) ;;
   9180      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9181      esac
   9182 else
   9183     lt_prog_compiler_pic=
   9184      lt_prog_compiler_can_build_shared=no
   9185 fi
   9186 
   9187 fi
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 #
   9200 # Check to make sure the static flag actually works.
   9201 #
   9202 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9204 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9205 if test ${lt_cv_prog_compiler_static_works+y}
   9206 then :
   9207   printf %s "(cached) " >&6
   9208 else $as_nop
   9209   lt_cv_prog_compiler_static_works=no
   9210    save_LDFLAGS=$LDFLAGS
   9211    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9212    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9213    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9214      # The linker can only warn and ignore the option if not recognized
   9215      # So say no if there are warnings
   9216      if test -s conftest.err; then
   9217        # Append any errors to the config.log.
   9218        cat conftest.err 1>&5
   9219        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9220        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9221        if diff conftest.exp conftest.er2 >/dev/null; then
   9222          lt_cv_prog_compiler_static_works=yes
   9223        fi
   9224      else
   9225        lt_cv_prog_compiler_static_works=yes
   9226      fi
   9227    fi
   9228    $RM -r conftest*
   9229    LDFLAGS=$save_LDFLAGS
   9230 
   9231 fi
   9232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9233 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9234 
   9235 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9236     :
   9237 else
   9238     lt_prog_compiler_static=
   9239 fi
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9248 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9249 if test ${lt_cv_prog_compiler_c_o+y}
   9250 then :
   9251   printf %s "(cached) " >&6
   9252 else $as_nop
   9253   lt_cv_prog_compiler_c_o=no
   9254    $RM -r conftest 2>/dev/null
   9255    mkdir conftest
   9256    cd conftest
   9257    mkdir out
   9258    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9259 
   9260    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9261    # Insert the option either (1) after the last *FLAGS variable, or
   9262    # (2) before a word containing "conftest.", or (3) at the end.
   9263    # Note that $ac_compile itself does not contain backslashes and begins
   9264    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9265    lt_compile=`echo "$ac_compile" | $SED \
   9266    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9267    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9268    -e 's:$: $lt_compiler_flag:'`
   9269    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9270    (eval "$lt_compile" 2>out/conftest.err)
   9271    ac_status=$?
   9272    cat out/conftest.err >&5
   9273    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9274    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9275    then
   9276      # The compiler can only warn and ignore the option if not recognized
   9277      # So say no if there are warnings
   9278      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9279      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9280      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9281        lt_cv_prog_compiler_c_o=yes
   9282      fi
   9283    fi
   9284    chmod u+w . 2>&5
   9285    $RM conftest*
   9286    # SGI C++ compiler will create directory out/ii_files/ for
   9287    # template instantiation
   9288    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9289    $RM out/* && rmdir out
   9290    cd ..
   9291    $RM -r conftest
   9292    $RM conftest*
   9293 
   9294 fi
   9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9296 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9304 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9305 if test ${lt_cv_prog_compiler_c_o+y}
   9306 then :
   9307   printf %s "(cached) " >&6
   9308 else $as_nop
   9309   lt_cv_prog_compiler_c_o=no
   9310    $RM -r conftest 2>/dev/null
   9311    mkdir conftest
   9312    cd conftest
   9313    mkdir out
   9314    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9315 
   9316    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9317    # Insert the option either (1) after the last *FLAGS variable, or
   9318    # (2) before a word containing "conftest.", or (3) at the end.
   9319    # Note that $ac_compile itself does not contain backslashes and begins
   9320    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9321    lt_compile=`echo "$ac_compile" | $SED \
   9322    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9323    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9324    -e 's:$: $lt_compiler_flag:'`
   9325    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9326    (eval "$lt_compile" 2>out/conftest.err)
   9327    ac_status=$?
   9328    cat out/conftest.err >&5
   9329    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9330    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9331    then
   9332      # The compiler can only warn and ignore the option if not recognized
   9333      # So say no if there are warnings
   9334      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9335      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9336      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9337        lt_cv_prog_compiler_c_o=yes
   9338      fi
   9339    fi
   9340    chmod u+w . 2>&5
   9341    $RM conftest*
   9342    # SGI C++ compiler will create directory out/ii_files/ for
   9343    # template instantiation
   9344    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9345    $RM out/* && rmdir out
   9346    cd ..
   9347    $RM -r conftest
   9348    $RM conftest*
   9349 
   9350 fi
   9351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9352 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9353 
   9354 
   9355 
   9356 
   9357 hard_links=nottested
   9358 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9359   # do not overwrite the value of need_locks provided by the user
   9360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9361 printf %s "checking if we can lock with hard links... " >&6; }
   9362   hard_links=yes
   9363   $RM conftest*
   9364   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9365   touch conftest.a
   9366   ln conftest.a conftest.b 2>&5 || hard_links=no
   9367   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9369 printf "%s\n" "$hard_links" >&6; }
   9370   if test no = "$hard_links"; then
   9371     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9372 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9373     need_locks=warn
   9374   fi
   9375 else
   9376   need_locks=no
   9377 fi
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9385 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9386 
   9387   runpath_var=
   9388   allow_undefined_flag=
   9389   always_export_symbols=no
   9390   archive_cmds=
   9391   archive_expsym_cmds=
   9392   compiler_needs_object=no
   9393   enable_shared_with_static_runtimes=no
   9394   export_dynamic_flag_spec=
   9395   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9396   hardcode_automatic=no
   9397   hardcode_direct=no
   9398   hardcode_direct_absolute=no
   9399   hardcode_libdir_flag_spec=
   9400   hardcode_libdir_separator=
   9401   hardcode_minus_L=no
   9402   hardcode_shlibpath_var=unsupported
   9403   inherit_rpath=no
   9404   link_all_deplibs=unknown
   9405   module_cmds=
   9406   module_expsym_cmds=
   9407   old_archive_from_new_cmds=
   9408   old_archive_from_expsyms_cmds=
   9409   thread_safe_flag_spec=
   9410   whole_archive_flag_spec=
   9411   # include_expsyms should be a list of space-separated symbols to be *always*
   9412   # included in the symbol list
   9413   include_expsyms=
   9414   # exclude_expsyms can be an extended regexp of symbols to exclude
   9415   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9416   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9417   # as well as any symbol that contains 'd'.
   9418   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9419   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9420   # platforms (ab)use it in PIC code, but their linkers get confused if
   9421   # the symbol is explicitly referenced.  Since portable code cannot
   9422   # rely on this symbol name, it's probably fine to never include it in
   9423   # preloaded symbol tables.
   9424   # Exclude shared library initialization/finalization symbols.
   9425   extract_expsyms_cmds=
   9426 
   9427   case $host_os in
   9428   cygwin* | mingw* | pw32* | cegcc*)
   9429     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9430     # When not using gcc, we currently assume that we are using
   9431     # Microsoft Visual C++.
   9432     if test yes != "$GCC"; then
   9433       with_gnu_ld=no
   9434     fi
   9435     ;;
   9436   interix*)
   9437     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9438     with_gnu_ld=yes
   9439     ;;
   9440   openbsd* | bitrig*)
   9441     with_gnu_ld=no
   9442     ;;
   9443   esac
   9444 
   9445   ld_shlibs=yes
   9446 
   9447   # On some targets, GNU ld is compatible enough with the native linker
   9448   # that we're better off using the native interface for both.
   9449   lt_use_gnu_ld_interface=no
   9450   if test yes = "$with_gnu_ld"; then
   9451     case $host_os in
   9452       aix*)
   9453 	# The AIX port of GNU ld has always aspired to compatibility
   9454 	# with the native linker.  However, as the warning in the GNU ld
   9455 	# block says, versions before 2.19.5* couldn't really create working
   9456 	# shared libraries, regardless of the interface used.
   9457 	case `$LD -v 2>&1` in
   9458 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9459 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9460 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9461 	  *)
   9462 	    lt_use_gnu_ld_interface=yes
   9463 	    ;;
   9464 	esac
   9465 	;;
   9466       *)
   9467 	lt_use_gnu_ld_interface=yes
   9468 	;;
   9469     esac
   9470   fi
   9471 
   9472   if test yes = "$lt_use_gnu_ld_interface"; then
   9473     # If archive_cmds runs LD, not CC, wlarc should be empty
   9474     wlarc='$wl'
   9475 
   9476     # Set some defaults for GNU ld with shared library support. These
   9477     # are reset later if shared libraries are not supported. Putting them
   9478     # here allows them to be overridden if necessary.
   9479     runpath_var=LD_RUN_PATH
   9480     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9481     export_dynamic_flag_spec='$wl--export-dynamic'
   9482     # ancient GNU ld didn't support --whole-archive et. al.
   9483     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9484       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9485     else
   9486       whole_archive_flag_spec=
   9487     fi
   9488     supports_anon_versioning=no
   9489     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9490       *GNU\ gold*) supports_anon_versioning=yes ;;
   9491       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9492       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9493       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9494       *\ 2.11.*) ;; # other 2.11 versions
   9495       *) supports_anon_versioning=yes ;;
   9496     esac
   9497 
   9498     # See if GNU ld supports shared libraries.
   9499     case $host_os in
   9500     aix[3-9]*)
   9501       # On AIX/PPC, the GNU linker is very broken
   9502       if test ia64 != "$host_cpu"; then
   9503 	ld_shlibs=no
   9504 	cat <<_LT_EOF 1>&2
   9505 
   9506 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9507 *** to be unable to reliably create shared libraries on AIX.
   9508 *** Therefore, libtool is disabling shared libraries support.  If you
   9509 *** really care for shared libraries, you may want to install binutils
   9510 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9511 *** You will then need to restart the configuration process.
   9512 
   9513 _LT_EOF
   9514       fi
   9515       ;;
   9516 
   9517     amigaos*)
   9518       case $host_cpu in
   9519       powerpc)
   9520             # see comment about AmigaOS4 .so support
   9521             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9522             archive_expsym_cmds=''
   9523         ;;
   9524       m68k)
   9525             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)'
   9526             hardcode_libdir_flag_spec='-L$libdir'
   9527             hardcode_minus_L=yes
   9528         ;;
   9529       esac
   9530       ;;
   9531 
   9532     beos*)
   9533       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9534 	allow_undefined_flag=unsupported
   9535 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9536 	# support --undefined.  This deserves some investigation.  FIXME
   9537 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9538       else
   9539 	ld_shlibs=no
   9540       fi
   9541       ;;
   9542 
   9543     cygwin* | mingw* | pw32* | cegcc*)
   9544       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9545       # as there is no search path for DLLs.
   9546       hardcode_libdir_flag_spec='-L$libdir'
   9547       export_dynamic_flag_spec='$wl--export-all-symbols'
   9548       allow_undefined_flag=unsupported
   9549       always_export_symbols=no
   9550       enable_shared_with_static_runtimes=yes
   9551       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'
   9552       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9553 
   9554       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9555         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9556 	# If the export-symbols file already is a .def file, use it as
   9557 	# is; otherwise, prepend EXPORTS...
   9558 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9559           cp $export_symbols $output_objdir/$soname.def;
   9560         else
   9561           echo EXPORTS > $output_objdir/$soname.def;
   9562           cat $export_symbols >> $output_objdir/$soname.def;
   9563         fi~
   9564         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9565       else
   9566 	ld_shlibs=no
   9567       fi
   9568       ;;
   9569 
   9570     haiku*)
   9571       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9572       link_all_deplibs=yes
   9573       ;;
   9574 
   9575     os2*)
   9576       hardcode_libdir_flag_spec='-L$libdir'
   9577       hardcode_minus_L=yes
   9578       allow_undefined_flag=unsupported
   9579       shrext_cmds=.dll
   9580       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9581 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9582 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9583 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9584 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9585 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9586 	emximp -o $lib $output_objdir/$libname.def'
   9587       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9588 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9589 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9590 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9591 	prefix_cmds="$SED"~
   9592 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9593 	  prefix_cmds="$prefix_cmds -e 1d";
   9594 	fi~
   9595 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9596 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9597 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9598 	emximp -o $lib $output_objdir/$libname.def'
   9599       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9600       enable_shared_with_static_runtimes=yes
   9601       ;;
   9602 
   9603     interix[3-9]*)
   9604       hardcode_direct=no
   9605       hardcode_shlibpath_var=no
   9606       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9607       export_dynamic_flag_spec='$wl-E'
   9608       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9609       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9610       # default) and relocated if they conflict, which is a slow very memory
   9611       # consuming and fragmenting process.  To avoid this, we pick a random,
   9612       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9613       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9614       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9615       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'
   9616       ;;
   9617 
   9618     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9619       tmp_diet=no
   9620       if test linux-dietlibc = "$host_os"; then
   9621 	case $cc_basename in
   9622 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9623 	esac
   9624       fi
   9625       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9626 	 && test no = "$tmp_diet"
   9627       then
   9628 	tmp_addflag=' $pic_flag'
   9629 	tmp_sharedflag='-shared'
   9630 	case $cc_basename,$host_cpu in
   9631         pgcc*)				# Portland Group C compiler
   9632 	  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'
   9633 	  tmp_addflag=' $pic_flag'
   9634 	  ;;
   9635 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9636 					# Portland Group f77 and f90 compilers
   9637 	  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'
   9638 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9639 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9640 	  tmp_addflag=' -i_dynamic' ;;
   9641 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9642 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9643 	ifc* | ifort*)			# Intel Fortran compiler
   9644 	  tmp_addflag=' -nofor_main' ;;
   9645 	lf95*)				# Lahey Fortran 8.1
   9646 	  whole_archive_flag_spec=
   9647 	  tmp_sharedflag='--shared' ;;
   9648         nagfor*)                        # NAGFOR 5.3
   9649           tmp_sharedflag='-Wl,-shared' ;;
   9650 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9651 	  tmp_sharedflag='-qmkshrobj'
   9652 	  tmp_addflag= ;;
   9653 	nvcc*)	# Cuda Compiler Driver 2.2
   9654 	  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'
   9655 	  compiler_needs_object=yes
   9656 	  ;;
   9657 	esac
   9658 	case `$CC -V 2>&1 | sed 5q` in
   9659 	*Sun\ C*)			# Sun C 5.9
   9660 	  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'
   9661 	  compiler_needs_object=yes
   9662 	  tmp_sharedflag='-G' ;;
   9663 	*Sun\ F*)			# Sun Fortran 8.3
   9664 	  tmp_sharedflag='-G' ;;
   9665 	esac
   9666 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9667 
   9668         if test yes = "$supports_anon_versioning"; then
   9669           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9670             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9671             echo "local: *; };" >> $output_objdir/$libname.ver~
   9672             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9673         fi
   9674 
   9675 	case $cc_basename in
   9676 	tcc*)
   9677 	  export_dynamic_flag_spec='-rdynamic'
   9678 	  ;;
   9679 	xlf* | bgf* | bgxlf* | mpixlf*)
   9680 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9681 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9682 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9683 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9684 	  if test yes = "$supports_anon_versioning"; then
   9685 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9686               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9687               echo "local: *; };" >> $output_objdir/$libname.ver~
   9688               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9689 	  fi
   9690 	  ;;
   9691 	esac
   9692       else
   9693         ld_shlibs=no
   9694       fi
   9695       ;;
   9696 
   9697     netbsd*)
   9698       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9699 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9700 	wlarc=
   9701       else
   9702 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9703 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9704       fi
   9705       ;;
   9706 
   9707     solaris*)
   9708       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9709 	ld_shlibs=no
   9710 	cat <<_LT_EOF 1>&2
   9711 
   9712 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9713 *** create shared libraries on Solaris systems.  Therefore, libtool
   9714 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9715 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9716 *** your PATH or compiler configuration so that the native linker is
   9717 *** used, and then restart.
   9718 
   9719 _LT_EOF
   9720       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9721 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9722 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9723       else
   9724 	ld_shlibs=no
   9725       fi
   9726       ;;
   9727 
   9728     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9729       case `$LD -v 2>&1` in
   9730         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9731 	ld_shlibs=no
   9732 	cat <<_LT_EOF 1>&2
   9733 
   9734 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9735 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9736 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9737 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9738 *** your PATH or compiler configuration so that the native linker is
   9739 *** used, and then restart.
   9740 
   9741 _LT_EOF
   9742 	;;
   9743 	*)
   9744 	  # For security reasons, it is highly recommended that you always
   9745 	  # use absolute paths for naming shared libraries, and exclude the
   9746 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9747 	  # requires that you compile everything twice, which is a pain.
   9748 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9749 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9750 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9751 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9752 	  else
   9753 	    ld_shlibs=no
   9754 	  fi
   9755 	;;
   9756       esac
   9757       ;;
   9758 
   9759     sunos4*)
   9760       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9761       wlarc=
   9762       hardcode_direct=yes
   9763       hardcode_shlibpath_var=no
   9764       ;;
   9765 
   9766     *)
   9767       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9768 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9769 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9770       else
   9771 	ld_shlibs=no
   9772       fi
   9773       ;;
   9774     esac
   9775 
   9776     if test no = "$ld_shlibs"; then
   9777       runpath_var=
   9778       hardcode_libdir_flag_spec=
   9779       export_dynamic_flag_spec=
   9780       whole_archive_flag_spec=
   9781     fi
   9782   else
   9783     # PORTME fill in a description of your system's linker (not GNU ld)
   9784     case $host_os in
   9785     aix3*)
   9786       allow_undefined_flag=unsupported
   9787       always_export_symbols=yes
   9788       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'
   9789       # Note: this linker hardcodes the directories in LIBPATH if there
   9790       # are no directories specified by -L.
   9791       hardcode_minus_L=yes
   9792       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9793 	# Neither direct hardcoding nor static linking is supported with a
   9794 	# broken collect2.
   9795 	hardcode_direct=unsupported
   9796       fi
   9797       ;;
   9798 
   9799     aix[4-9]*)
   9800       if test ia64 = "$host_cpu"; then
   9801 	# On IA64, the linker does run time linking by default, so we don't
   9802 	# have to do anything special.
   9803 	aix_use_runtimelinking=no
   9804 	exp_sym_flag='-Bexport'
   9805 	no_entry_flag=
   9806       else
   9807 	# If we're using GNU nm, then we don't want the "-C" option.
   9808 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9809 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9810 	# weak defined symbols like other global defined symbols, whereas
   9811 	# GNU nm marks them as "W".
   9812 	# While the 'weak' keyword is ignored in the Export File, we need
   9813 	# it in the Import File for the 'aix-soname' feature, so we have
   9814 	# to replace the "-B" option with "-P" for AIX nm.
   9815 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9816 	  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'
   9817 	else
   9818 	  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 == "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'
   9819 	fi
   9820 	aix_use_runtimelinking=no
   9821 
   9822 	# Test if we are trying to use run time linking or normal
   9823 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9824 	# have runtime linking enabled, and use it for executables.
   9825 	# For shared libraries, we enable/disable runtime linking
   9826 	# depending on the kind of the shared library created -
   9827 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9828 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9829 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9830 	#            lib.a           static archive
   9831 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9832 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9833 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9834 	#            lib.a(lib.so.V) shared, rtl:no
   9835 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9836 	#            lib.a           static archive
   9837 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9838 	  for ld_flag in $LDFLAGS; do
   9839 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9840 	    aix_use_runtimelinking=yes
   9841 	    break
   9842 	  fi
   9843 	  done
   9844 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9845 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9846 	    # so we don't have lib.a shared libs to link our executables.
   9847 	    # We have to force runtime linking in this case.
   9848 	    aix_use_runtimelinking=yes
   9849 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9850 	  fi
   9851 	  ;;
   9852 	esac
   9853 
   9854 	exp_sym_flag='-bexport'
   9855 	no_entry_flag='-bnoentry'
   9856       fi
   9857 
   9858       # When large executables or shared objects are built, AIX ld can
   9859       # have problems creating the table of contents.  If linking a library
   9860       # or program results in "error TOC overflow" add -mminimal-toc to
   9861       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9862       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9863 
   9864       archive_cmds=''
   9865       hardcode_direct=yes
   9866       hardcode_direct_absolute=yes
   9867       hardcode_libdir_separator=':'
   9868       link_all_deplibs=yes
   9869       file_list_spec='$wl-f,'
   9870       case $with_aix_soname,$aix_use_runtimelinking in
   9871       aix,*) ;; # traditional, no import file
   9872       svr4,* | *,yes) # use import file
   9873 	# The Import File defines what to hardcode.
   9874 	hardcode_direct=no
   9875 	hardcode_direct_absolute=no
   9876 	;;
   9877       esac
   9878 
   9879       if test yes = "$GCC"; then
   9880 	case $host_os in aix4.[012]|aix4.[012].*)
   9881 	# We only want to do this on AIX 4.2 and lower, the check
   9882 	# below for broken collect2 doesn't work under 4.3+
   9883 	  collect2name=`$CC -print-prog-name=collect2`
   9884 	  if test -f "$collect2name" &&
   9885 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9886 	  then
   9887 	  # We have reworked collect2
   9888 	  :
   9889 	  else
   9890 	  # We have old collect2
   9891 	  hardcode_direct=unsupported
   9892 	  # It fails to find uninstalled libraries when the uninstalled
   9893 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9894 	  # to unsupported forces relinking
   9895 	  hardcode_minus_L=yes
   9896 	  hardcode_libdir_flag_spec='-L$libdir'
   9897 	  hardcode_libdir_separator=
   9898 	  fi
   9899 	  ;;
   9900 	esac
   9901 	shared_flag='-shared'
   9902 	if test yes = "$aix_use_runtimelinking"; then
   9903 	  shared_flag="$shared_flag "'$wl-G'
   9904 	fi
   9905 	# Need to ensure runtime linking is disabled for the traditional
   9906 	# shared library, or the linker may eventually find shared libraries
   9907 	# /with/ Import File - we do not want to mix them.
   9908 	shared_flag_aix='-shared'
   9909 	shared_flag_svr4='-shared $wl-G'
   9910       else
   9911 	# not using gcc
   9912 	if test ia64 = "$host_cpu"; then
   9913 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9914 	# chokes on -Wl,-G. The following line is correct:
   9915 	  shared_flag='-G'
   9916 	else
   9917 	  if test yes = "$aix_use_runtimelinking"; then
   9918 	    shared_flag='$wl-G'
   9919 	  else
   9920 	    shared_flag='$wl-bM:SRE'
   9921 	  fi
   9922 	  shared_flag_aix='$wl-bM:SRE'
   9923 	  shared_flag_svr4='$wl-G'
   9924 	fi
   9925       fi
   9926 
   9927       export_dynamic_flag_spec='$wl-bexpall'
   9928       # It seems that -bexpall does not export symbols beginning with
   9929       # underscore (_), so it is better to generate a list of symbols to export.
   9930       always_export_symbols=yes
   9931       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9932 	# Warning - without using the other runtime loading flags (-brtl),
   9933 	# -berok will link without error, but may produce a broken library.
   9934 	allow_undefined_flag='-berok'
   9935         # Determine the default libpath from the value encoded in an
   9936         # empty executable.
   9937         if test set = "${lt_cv_aix_libpath+set}"; then
   9938   aix_libpath=$lt_cv_aix_libpath
   9939 else
   9940   if test ${lt_cv_aix_libpath_+y}
   9941 then :
   9942   printf %s "(cached) " >&6
   9943 else $as_nop
   9944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9945 /* end confdefs.h.  */
   9946 
   9947 int
   9948 main (void)
   9949 {
   9950 
   9951   ;
   9952   return 0;
   9953 }
   9954 _ACEOF
   9955 if ac_fn_c_try_link "$LINENO"
   9956 then :
   9957 
   9958   lt_aix_libpath_sed='
   9959       /Import File Strings/,/^$/ {
   9960 	  /^0/ {
   9961 	      s/^0  *\([^ ]*\) *$/\1/
   9962 	      p
   9963 	  }
   9964       }'
   9965   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9966   # Check for a 64-bit object if we didn't find anything.
   9967   if test -z "$lt_cv_aix_libpath_"; then
   9968     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9969   fi
   9970 fi
   9971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9972     conftest$ac_exeext conftest.$ac_ext
   9973   if test -z "$lt_cv_aix_libpath_"; then
   9974     lt_cv_aix_libpath_=/usr/lib:/lib
   9975   fi
   9976 
   9977 fi
   9978 
   9979   aix_libpath=$lt_cv_aix_libpath_
   9980 fi
   9981 
   9982         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9983         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
   9984       else
   9985 	if test ia64 = "$host_cpu"; then
   9986 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9987 	  allow_undefined_flag="-z nodefs"
   9988 	  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"
   9989 	else
   9990 	 # Determine the default libpath from the value encoded in an
   9991 	 # empty executable.
   9992 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9993   aix_libpath=$lt_cv_aix_libpath
   9994 else
   9995   if test ${lt_cv_aix_libpath_+y}
   9996 then :
   9997   printf %s "(cached) " >&6
   9998 else $as_nop
   9999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10000 /* end confdefs.h.  */
   10001 
   10002 int
   10003 main (void)
   10004 {
   10005 
   10006   ;
   10007   return 0;
   10008 }
   10009 _ACEOF
   10010 if ac_fn_c_try_link "$LINENO"
   10011 then :
   10012 
   10013   lt_aix_libpath_sed='
   10014       /Import File Strings/,/^$/ {
   10015 	  /^0/ {
   10016 	      s/^0  *\([^ ]*\) *$/\1/
   10017 	      p
   10018 	  }
   10019       }'
   10020   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10021   # Check for a 64-bit object if we didn't find anything.
   10022   if test -z "$lt_cv_aix_libpath_"; then
   10023     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10024   fi
   10025 fi
   10026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10027     conftest$ac_exeext conftest.$ac_ext
   10028   if test -z "$lt_cv_aix_libpath_"; then
   10029     lt_cv_aix_libpath_=/usr/lib:/lib
   10030   fi
   10031 
   10032 fi
   10033 
   10034   aix_libpath=$lt_cv_aix_libpath_
   10035 fi
   10036 
   10037 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10038 	  # Warning - without using the other run time loading flags,
   10039 	  # -berok will link without error, but may produce a broken library.
   10040 	  no_undefined_flag=' $wl-bernotok'
   10041 	  allow_undefined_flag=' $wl-berok'
   10042 	  if test yes = "$with_gnu_ld"; then
   10043 	    # We only use this code for GNU lds that support --whole-archive.
   10044 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10045 	  else
   10046 	    # Exported symbols can be pulled into shared objects from archives
   10047 	    whole_archive_flag_spec='$convenience'
   10048 	  fi
   10049 	  archive_cmds_need_lc=yes
   10050 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10051 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10052 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10053 	  if test svr4 != "$with_aix_soname"; then
   10054 	    # This is similar to how AIX traditionally builds its shared libraries.
   10055 	    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'
   10056 	  fi
   10057 	  if test aix != "$with_aix_soname"; then
   10058 	    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'
   10059 	  else
   10060 	    # used by -dlpreopen to get the symbols
   10061 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10062 	  fi
   10063 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10064 	fi
   10065       fi
   10066       ;;
   10067 
   10068     amigaos*)
   10069       case $host_cpu in
   10070       powerpc)
   10071             # see comment about AmigaOS4 .so support
   10072             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10073             archive_expsym_cmds=''
   10074         ;;
   10075       m68k)
   10076             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)'
   10077             hardcode_libdir_flag_spec='-L$libdir'
   10078             hardcode_minus_L=yes
   10079         ;;
   10080       esac
   10081       ;;
   10082 
   10083     bsdi[45]*)
   10084       export_dynamic_flag_spec=-rdynamic
   10085       ;;
   10086 
   10087     cygwin* | mingw* | pw32* | cegcc*)
   10088       # When not using gcc, we currently assume that we are using
   10089       # Microsoft Visual C++.
   10090       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10091       # no search path for DLLs.
   10092       case $cc_basename in
   10093       cl*)
   10094 	# Native MSVC
   10095 	hardcode_libdir_flag_spec=' '
   10096 	allow_undefined_flag=unsupported
   10097 	always_export_symbols=yes
   10098 	file_list_spec='@'
   10099 	# Tell ltmain to make .lib files, not .a files.
   10100 	libext=lib
   10101 	# Tell ltmain to make .dll files, not .so files.
   10102 	shrext_cmds=.dll
   10103 	# FIXME: Setting linknames here is a bad hack.
   10104 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10105 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10106             cp "$export_symbols" "$output_objdir/$soname.def";
   10107             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10108           else
   10109             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10110           fi~
   10111           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10112           linknames='
   10113 	# The linker will not automatically build a static lib if we build a DLL.
   10114 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10115 	enable_shared_with_static_runtimes=yes
   10116 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10117 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10118 	# Don't use ranlib
   10119 	old_postinstall_cmds='chmod 644 $oldlib'
   10120 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10121           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10122           case $lt_outputfile in
   10123             *.exe|*.EXE) ;;
   10124             *)
   10125               lt_outputfile=$lt_outputfile.exe
   10126               lt_tool_outputfile=$lt_tool_outputfile.exe
   10127               ;;
   10128           esac~
   10129           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10130             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10131             $RM "$lt_outputfile.manifest";
   10132           fi'
   10133 	;;
   10134       *)
   10135 	# Assume MSVC wrapper
   10136 	hardcode_libdir_flag_spec=' '
   10137 	allow_undefined_flag=unsupported
   10138 	# Tell ltmain to make .lib files, not .a files.
   10139 	libext=lib
   10140 	# Tell ltmain to make .dll files, not .so files.
   10141 	shrext_cmds=.dll
   10142 	# FIXME: Setting linknames here is a bad hack.
   10143 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10144 	# The linker will automatically build a .lib file if we build a DLL.
   10145 	old_archive_from_new_cmds='true'
   10146 	# FIXME: Should let the user specify the lib program.
   10147 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10148 	enable_shared_with_static_runtimes=yes
   10149 	;;
   10150       esac
   10151       ;;
   10152 
   10153     darwin* | rhapsody*)
   10154 
   10155 
   10156   archive_cmds_need_lc=no
   10157   hardcode_direct=no
   10158   hardcode_automatic=yes
   10159   hardcode_shlibpath_var=unsupported
   10160   if test yes = "$lt_cv_ld_force_load"; then
   10161     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\"`'
   10162 
   10163   else
   10164     whole_archive_flag_spec=''
   10165   fi
   10166   link_all_deplibs=yes
   10167   allow_undefined_flag=$_lt_dar_allow_undefined
   10168   case $cc_basename in
   10169      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10170      *) _lt_dar_can_shared=$GCC ;;
   10171   esac
   10172   if test yes = "$_lt_dar_can_shared"; then
   10173     output_verbose_link_cmd=func_echo_all
   10174     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10175     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10176     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"
   10177     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"
   10178 
   10179   else
   10180   ld_shlibs=no
   10181   fi
   10182 
   10183       ;;
   10184 
   10185     dgux*)
   10186       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10187       hardcode_libdir_flag_spec='-L$libdir'
   10188       hardcode_shlibpath_var=no
   10189       ;;
   10190 
   10191     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10192     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10193     # does not break anything, and helps significantly (at the cost of a little
   10194     # extra space).
   10195     freebsd2.2*)
   10196       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10197       hardcode_libdir_flag_spec='-R$libdir'
   10198       hardcode_direct=yes
   10199       hardcode_shlibpath_var=no
   10200       ;;
   10201 
   10202     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10203     freebsd2.*)
   10204       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10205       hardcode_direct=yes
   10206       hardcode_minus_L=yes
   10207       hardcode_shlibpath_var=no
   10208       ;;
   10209 
   10210     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10211     freebsd* | dragonfly*)
   10212       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10213       hardcode_libdir_flag_spec='-R$libdir'
   10214       hardcode_direct=yes
   10215       hardcode_shlibpath_var=no
   10216       ;;
   10217 
   10218     hpux9*)
   10219       if test yes = "$GCC"; then
   10220 	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'
   10221       else
   10222 	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'
   10223       fi
   10224       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10225       hardcode_libdir_separator=:
   10226       hardcode_direct=yes
   10227 
   10228       # hardcode_minus_L: Not really in the search PATH,
   10229       # but as the default location of the library.
   10230       hardcode_minus_L=yes
   10231       export_dynamic_flag_spec='$wl-E'
   10232       ;;
   10233 
   10234     hpux10*)
   10235       if test yes,no = "$GCC,$with_gnu_ld"; then
   10236 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10237       else
   10238 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10239       fi
   10240       if test no = "$with_gnu_ld"; then
   10241 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10242 	hardcode_libdir_separator=:
   10243 	hardcode_direct=yes
   10244 	hardcode_direct_absolute=yes
   10245 	export_dynamic_flag_spec='$wl-E'
   10246 	# hardcode_minus_L: Not really in the search PATH,
   10247 	# but as the default location of the library.
   10248 	hardcode_minus_L=yes
   10249       fi
   10250       ;;
   10251 
   10252     hpux11*)
   10253       if test yes,no = "$GCC,$with_gnu_ld"; then
   10254 	case $host_cpu in
   10255 	hppa*64*)
   10256 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10257 	  ;;
   10258 	ia64*)
   10259 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10260 	  ;;
   10261 	*)
   10262 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10263 	  ;;
   10264 	esac
   10265       else
   10266 	case $host_cpu in
   10267 	hppa*64*)
   10268 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10269 	  ;;
   10270 	ia64*)
   10271 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10272 	  ;;
   10273 	*)
   10274 
   10275 	  # Older versions of the 11.00 compiler do not understand -b yet
   10276 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10277 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10278 printf %s "checking if $CC understands -b... " >&6; }
   10279 if test ${lt_cv_prog_compiler__b+y}
   10280 then :
   10281   printf %s "(cached) " >&6
   10282 else $as_nop
   10283   lt_cv_prog_compiler__b=no
   10284    save_LDFLAGS=$LDFLAGS
   10285    LDFLAGS="$LDFLAGS -b"
   10286    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10287    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10288      # The linker can only warn and ignore the option if not recognized
   10289      # So say no if there are warnings
   10290      if test -s conftest.err; then
   10291        # Append any errors to the config.log.
   10292        cat conftest.err 1>&5
   10293        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10294        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10295        if diff conftest.exp conftest.er2 >/dev/null; then
   10296          lt_cv_prog_compiler__b=yes
   10297        fi
   10298      else
   10299        lt_cv_prog_compiler__b=yes
   10300      fi
   10301    fi
   10302    $RM -r conftest*
   10303    LDFLAGS=$save_LDFLAGS
   10304 
   10305 fi
   10306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10307 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10308 
   10309 if test yes = "$lt_cv_prog_compiler__b"; then
   10310     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10311 else
   10312     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10313 fi
   10314 
   10315 	  ;;
   10316 	esac
   10317       fi
   10318       if test no = "$with_gnu_ld"; then
   10319 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10320 	hardcode_libdir_separator=:
   10321 
   10322 	case $host_cpu in
   10323 	hppa*64*|ia64*)
   10324 	  hardcode_direct=no
   10325 	  hardcode_shlibpath_var=no
   10326 	  ;;
   10327 	*)
   10328 	  hardcode_direct=yes
   10329 	  hardcode_direct_absolute=yes
   10330 	  export_dynamic_flag_spec='$wl-E'
   10331 
   10332 	  # hardcode_minus_L: Not really in the search PATH,
   10333 	  # but as the default location of the library.
   10334 	  hardcode_minus_L=yes
   10335 	  ;;
   10336 	esac
   10337       fi
   10338       ;;
   10339 
   10340     irix5* | irix6* | nonstopux*)
   10341       if test yes = "$GCC"; then
   10342 	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'
   10343 	# Try to use the -exported_symbol ld option, if it does not
   10344 	# work, assume that -exports_file does not work either and
   10345 	# implicitly export all symbols.
   10346 	# This should be the same for all languages, so no per-tag cache variable.
   10347 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10348 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10349 if test ${lt_cv_irix_exported_symbol+y}
   10350 then :
   10351   printf %s "(cached) " >&6
   10352 else $as_nop
   10353   save_LDFLAGS=$LDFLAGS
   10354 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10355 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10356 /* end confdefs.h.  */
   10357 int foo (void) { return 0; }
   10358 _ACEOF
   10359 if ac_fn_c_try_link "$LINENO"
   10360 then :
   10361   lt_cv_irix_exported_symbol=yes
   10362 else $as_nop
   10363   lt_cv_irix_exported_symbol=no
   10364 fi
   10365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10366     conftest$ac_exeext conftest.$ac_ext
   10367            LDFLAGS=$save_LDFLAGS
   10368 fi
   10369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10370 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10371 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10372           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'
   10373 	fi
   10374       else
   10375 	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'
   10376 	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'
   10377       fi
   10378       archive_cmds_need_lc='no'
   10379       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10380       hardcode_libdir_separator=:
   10381       inherit_rpath=yes
   10382       link_all_deplibs=yes
   10383       ;;
   10384 
   10385     linux*)
   10386       case $cc_basename in
   10387       tcc*)
   10388 	# Fabrice Bellard et al's Tiny C Compiler
   10389 	ld_shlibs=yes
   10390 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10391 	;;
   10392       esac
   10393       ;;
   10394 
   10395     netbsd*)
   10396       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10397 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10398       else
   10399 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10400       fi
   10401       hardcode_libdir_flag_spec='-R$libdir'
   10402       hardcode_direct=yes
   10403       hardcode_shlibpath_var=no
   10404       ;;
   10405 
   10406     newsos6)
   10407       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10408       hardcode_direct=yes
   10409       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10410       hardcode_libdir_separator=:
   10411       hardcode_shlibpath_var=no
   10412       ;;
   10413 
   10414     *nto* | *qnx*)
   10415       ;;
   10416 
   10417     openbsd* | bitrig*)
   10418       if test -f /usr/libexec/ld.so; then
   10419 	hardcode_direct=yes
   10420 	hardcode_shlibpath_var=no
   10421 	hardcode_direct_absolute=yes
   10422 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10423 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10424 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10425 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10426 	  export_dynamic_flag_spec='$wl-E'
   10427 	else
   10428 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10429 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10430 	fi
   10431       else
   10432 	ld_shlibs=no
   10433       fi
   10434       ;;
   10435 
   10436     os2*)
   10437       hardcode_libdir_flag_spec='-L$libdir'
   10438       hardcode_minus_L=yes
   10439       allow_undefined_flag=unsupported
   10440       shrext_cmds=.dll
   10441       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10442 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10443 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10444 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10445 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10446 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10447 	emximp -o $lib $output_objdir/$libname.def'
   10448       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10449 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10450 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10451 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10452 	prefix_cmds="$SED"~
   10453 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10454 	  prefix_cmds="$prefix_cmds -e 1d";
   10455 	fi~
   10456 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10457 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10458 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10459 	emximp -o $lib $output_objdir/$libname.def'
   10460       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10461       enable_shared_with_static_runtimes=yes
   10462       ;;
   10463 
   10464     osf3*)
   10465       if test yes = "$GCC"; then
   10466 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10467 	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'
   10468       else
   10469 	allow_undefined_flag=' -expect_unresolved \*'
   10470 	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'
   10471       fi
   10472       archive_cmds_need_lc='no'
   10473       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10474       hardcode_libdir_separator=:
   10475       ;;
   10476 
   10477     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10478       if test yes = "$GCC"; then
   10479 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10480 	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'
   10481 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10482       else
   10483 	allow_undefined_flag=' -expect_unresolved \*'
   10484 	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'
   10485 	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~
   10486           $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'
   10487 
   10488 	# Both c and cxx compiler support -rpath directly
   10489 	hardcode_libdir_flag_spec='-rpath $libdir'
   10490       fi
   10491       archive_cmds_need_lc='no'
   10492       hardcode_libdir_separator=:
   10493       ;;
   10494 
   10495     solaris*)
   10496       no_undefined_flag=' -z defs'
   10497       if test yes = "$GCC"; then
   10498 	wlarc='$wl'
   10499 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10500 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10501           $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'
   10502       else
   10503 	case `$CC -V 2>&1` in
   10504 	*"Compilers 5.0"*)
   10505 	  wlarc=''
   10506 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10507 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10508             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10509 	  ;;
   10510 	*)
   10511 	  wlarc='$wl'
   10512 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10513 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10514             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10515 	  ;;
   10516 	esac
   10517       fi
   10518       hardcode_libdir_flag_spec='-R$libdir'
   10519       hardcode_shlibpath_var=no
   10520       case $host_os in
   10521       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10522       *)
   10523 	# The compiler driver will combine and reorder linker options,
   10524 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10525 	# but is careful enough not to reorder.
   10526 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10527 	if test yes = "$GCC"; then
   10528 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10529 	else
   10530 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10531 	fi
   10532 	;;
   10533       esac
   10534       link_all_deplibs=yes
   10535       ;;
   10536 
   10537     sunos4*)
   10538       if test sequent = "$host_vendor"; then
   10539 	# Use $CC to link under sequent, because it throws in some extra .o
   10540 	# files that make .init and .fini sections work.
   10541 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10542       else
   10543 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10544       fi
   10545       hardcode_libdir_flag_spec='-L$libdir'
   10546       hardcode_direct=yes
   10547       hardcode_minus_L=yes
   10548       hardcode_shlibpath_var=no
   10549       ;;
   10550 
   10551     sysv4)
   10552       case $host_vendor in
   10553 	sni)
   10554 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10555 	  hardcode_direct=yes # is this really true???
   10556 	;;
   10557 	siemens)
   10558 	  ## LD is ld it makes a PLAMLIB
   10559 	  ## CC just makes a GrossModule.
   10560 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10561 	  reload_cmds='$CC -r -o $output$reload_objs'
   10562 	  hardcode_direct=no
   10563         ;;
   10564 	motorola)
   10565 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10566 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10567 	;;
   10568       esac
   10569       runpath_var='LD_RUN_PATH'
   10570       hardcode_shlibpath_var=no
   10571       ;;
   10572 
   10573     sysv4.3*)
   10574       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10575       hardcode_shlibpath_var=no
   10576       export_dynamic_flag_spec='-Bexport'
   10577       ;;
   10578 
   10579     sysv4*MP*)
   10580       if test -d /usr/nec; then
   10581 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10582 	hardcode_shlibpath_var=no
   10583 	runpath_var=LD_RUN_PATH
   10584 	hardcode_runpath_var=yes
   10585 	ld_shlibs=yes
   10586       fi
   10587       ;;
   10588 
   10589     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10590       no_undefined_flag='$wl-z,text'
   10591       archive_cmds_need_lc=no
   10592       hardcode_shlibpath_var=no
   10593       runpath_var='LD_RUN_PATH'
   10594 
   10595       if test yes = "$GCC"; then
   10596 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10597 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10598       else
   10599 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10600 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10601       fi
   10602       ;;
   10603 
   10604     sysv5* | sco3.2v5* | sco5v6*)
   10605       # Note: We CANNOT use -z defs as we might desire, because we do not
   10606       # link with -lc, and that would cause any symbols used from libc to
   10607       # always be unresolved, which means just about no library would
   10608       # ever link correctly.  If we're not using GNU ld we use -z text
   10609       # though, which does catch some bad symbols but isn't as heavy-handed
   10610       # as -z defs.
   10611       no_undefined_flag='$wl-z,text'
   10612       allow_undefined_flag='$wl-z,nodefs'
   10613       archive_cmds_need_lc=no
   10614       hardcode_shlibpath_var=no
   10615       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10616       hardcode_libdir_separator=':'
   10617       link_all_deplibs=yes
   10618       export_dynamic_flag_spec='$wl-Bexport'
   10619       runpath_var='LD_RUN_PATH'
   10620 
   10621       if test yes = "$GCC"; then
   10622 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10623 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10624       else
   10625 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10626 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10627       fi
   10628       ;;
   10629 
   10630     uts4*)
   10631       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10632       hardcode_libdir_flag_spec='-L$libdir'
   10633       hardcode_shlibpath_var=no
   10634       ;;
   10635 
   10636     *)
   10637       ld_shlibs=no
   10638       ;;
   10639     esac
   10640 
   10641     if test sni = "$host_vendor"; then
   10642       case $host in
   10643       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10644 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10645 	;;
   10646       esac
   10647     fi
   10648   fi
   10649 
   10650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10651 printf "%s\n" "$ld_shlibs" >&6; }
   10652 test no = "$ld_shlibs" && can_build_shared=no
   10653 
   10654 with_gnu_ld=$with_gnu_ld
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 #
   10671 # Do we need to explicitly link libc?
   10672 #
   10673 case "x$archive_cmds_need_lc" in
   10674 x|xyes)
   10675   # Assume -lc should be added
   10676   archive_cmds_need_lc=yes
   10677 
   10678   if test yes,yes = "$GCC,$enable_shared"; then
   10679     case $archive_cmds in
   10680     *'~'*)
   10681       # FIXME: we may have to deal with multi-command sequences.
   10682       ;;
   10683     '$CC '*)
   10684       # Test whether the compiler implicitly links with -lc since on some
   10685       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10686       # to ld, don't add -lc before -lgcc.
   10687       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10688 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10689 if test ${lt_cv_archive_cmds_need_lc+y}
   10690 then :
   10691   printf %s "(cached) " >&6
   10692 else $as_nop
   10693   $RM conftest*
   10694 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10695 
   10696 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10697   (eval $ac_compile) 2>&5
   10698   ac_status=$?
   10699   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10700   test $ac_status = 0; } 2>conftest.err; then
   10701 	  soname=conftest
   10702 	  lib=conftest
   10703 	  libobjs=conftest.$ac_objext
   10704 	  deplibs=
   10705 	  wl=$lt_prog_compiler_wl
   10706 	  pic_flag=$lt_prog_compiler_pic
   10707 	  compiler_flags=-v
   10708 	  linker_flags=-v
   10709 	  verstring=
   10710 	  output_objdir=.
   10711 	  libname=conftest
   10712 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10713 	  allow_undefined_flag=
   10714 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10715   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10716   ac_status=$?
   10717   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10718   test $ac_status = 0; }
   10719 	  then
   10720 	    lt_cv_archive_cmds_need_lc=no
   10721 	  else
   10722 	    lt_cv_archive_cmds_need_lc=yes
   10723 	  fi
   10724 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10725 	else
   10726 	  cat conftest.err 1>&5
   10727 	fi
   10728 	$RM conftest*
   10729 
   10730 fi
   10731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10732 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   10733       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10734       ;;
   10735     esac
   10736   fi
   10737   ;;
   10738 esac
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10892 printf %s "checking dynamic linker characteristics... " >&6; }
   10893 
   10894 if test yes = "$GCC"; then
   10895   case $host_os in
   10896     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10897     *) lt_awk_arg='/^libraries:/' ;;
   10898   esac
   10899   case $host_os in
   10900     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10901     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10902   esac
   10903   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10904   case $lt_search_path_spec in
   10905   *\;*)
   10906     # if the path contains ";" then we assume it to be the separator
   10907     # otherwise default to the standard path separator (i.e. ":") - it is
   10908     # assumed that no part of a normal pathname contains ";" but that should
   10909     # okay in the real world where ";" in dirpaths is itself problematic.
   10910     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10911     ;;
   10912   *)
   10913     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10914     ;;
   10915   esac
   10916   # Ok, now we have the path, separated by spaces, we can step through it
   10917   # and add multilib dir if necessary...
   10918   lt_tmp_lt_search_path_spec=
   10919   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10920   # ...but if some path component already ends with the multilib dir we assume
   10921   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10922   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10923   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10924     lt_multi_os_dir=
   10925     ;;
   10926   esac
   10927   for lt_sys_path in $lt_search_path_spec; do
   10928     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10929       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10930     elif test -n "$lt_multi_os_dir"; then
   10931       test -d "$lt_sys_path" && \
   10932 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10933     fi
   10934   done
   10935   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10936 BEGIN {RS = " "; FS = "/|\n";} {
   10937   lt_foo = "";
   10938   lt_count = 0;
   10939   for (lt_i = NF; lt_i > 0; lt_i--) {
   10940     if ($lt_i != "" && $lt_i != ".") {
   10941       if ($lt_i == "..") {
   10942         lt_count++;
   10943       } else {
   10944         if (lt_count == 0) {
   10945           lt_foo = "/" $lt_i lt_foo;
   10946         } else {
   10947           lt_count--;
   10948         }
   10949       }
   10950     }
   10951   }
   10952   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10953   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10954 }'`
   10955   # AWK program above erroneously prepends '/' to C:/dos/paths
   10956   # for these hosts.
   10957   case $host_os in
   10958     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10959       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10960   esac
   10961   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10962 else
   10963   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10964 fi
   10965 library_names_spec=
   10966 libname_spec='lib$name'
   10967 soname_spec=
   10968 shrext_cmds=.so
   10969 postinstall_cmds=
   10970 postuninstall_cmds=
   10971 finish_cmds=
   10972 finish_eval=
   10973 shlibpath_var=
   10974 shlibpath_overrides_runpath=unknown
   10975 version_type=none
   10976 dynamic_linker="$host_os ld.so"
   10977 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10978 need_lib_prefix=unknown
   10979 hardcode_into_libs=no
   10980 
   10981 # when you set need_version to no, make sure it does not cause -set_version
   10982 # flags to be left without arguments
   10983 need_version=unknown
   10984 
   10985 
   10986 
   10987 case $host_os in
   10988 aix3*)
   10989   version_type=linux # correct to gnu/linux during the next big refactor
   10990   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10991   shlibpath_var=LIBPATH
   10992 
   10993   # AIX 3 has no versioning support, so we append a major version to the name.
   10994   soname_spec='$libname$release$shared_ext$major'
   10995   ;;
   10996 
   10997 aix[4-9]*)
   10998   version_type=linux # correct to gnu/linux during the next big refactor
   10999   need_lib_prefix=no
   11000   need_version=no
   11001   hardcode_into_libs=yes
   11002   if test ia64 = "$host_cpu"; then
   11003     # AIX 5 supports IA64
   11004     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11005     shlibpath_var=LD_LIBRARY_PATH
   11006   else
   11007     # With GCC up to 2.95.x, collect2 would create an import file
   11008     # for dependence libraries.  The import file would start with
   11009     # the line '#! .'.  This would cause the generated library to
   11010     # depend on '.', always an invalid library.  This was fixed in
   11011     # development snapshots of GCC prior to 3.0.
   11012     case $host_os in
   11013       aix4 | aix4.[01] | aix4.[01].*)
   11014       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11015 	   echo ' yes '
   11016 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11017 	:
   11018       else
   11019 	can_build_shared=no
   11020       fi
   11021       ;;
   11022     esac
   11023     # Using Import Files as archive members, it is possible to support
   11024     # filename-based versioning of shared library archives on AIX. While
   11025     # this would work for both with and without runtime linking, it will
   11026     # prevent static linking of such archives. So we do filename-based
   11027     # shared library versioning with .so extension only, which is used
   11028     # when both runtime linking and shared linking is enabled.
   11029     # Unfortunately, runtime linking may impact performance, so we do
   11030     # not want this to be the default eventually. Also, we use the
   11031     # versioned .so libs for executables only if there is the -brtl
   11032     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11033     # To allow for filename-based versioning support, we need to create
   11034     # libNAME.so.V as an archive file, containing:
   11035     # *) an Import File, referring to the versioned filename of the
   11036     #    archive as well as the shared archive member, telling the
   11037     #    bitwidth (32 or 64) of that shared object, and providing the
   11038     #    list of exported symbols of that shared object, eventually
   11039     #    decorated with the 'weak' keyword
   11040     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11041     #    it being seen by the linker.
   11042     # At run time we better use the real file rather than another symlink,
   11043     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11044 
   11045     case $with_aix_soname,$aix_use_runtimelinking in
   11046     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11047     # soname into executable. Probably we can add versioning support to
   11048     # collect2, so additional links can be useful in future.
   11049     aix,yes) # traditional libtool
   11050       dynamic_linker='AIX unversionable lib.so'
   11051       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11052       # instead of lib<name>.a to let people know that these are not
   11053       # typical AIX shared libraries.
   11054       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11055       ;;
   11056     aix,no) # traditional AIX only
   11057       dynamic_linker='AIX lib.a(lib.so.V)'
   11058       # We preserve .a as extension for shared libraries through AIX4.2
   11059       # and later when we are not doing run time linking.
   11060       library_names_spec='$libname$release.a $libname.a'
   11061       soname_spec='$libname$release$shared_ext$major'
   11062       ;;
   11063     svr4,*) # full svr4 only
   11064       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11065       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11066       # We do not specify a path in Import Files, so LIBPATH fires.
   11067       shlibpath_overrides_runpath=yes
   11068       ;;
   11069     *,yes) # both, prefer svr4
   11070       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11071       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11072       # unpreferred sharedlib libNAME.a needs extra handling
   11073       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"'
   11074       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"'
   11075       # We do not specify a path in Import Files, so LIBPATH fires.
   11076       shlibpath_overrides_runpath=yes
   11077       ;;
   11078     *,no) # both, prefer aix
   11079       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11080       library_names_spec='$libname$release.a $libname.a'
   11081       soname_spec='$libname$release$shared_ext$major'
   11082       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11083       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)'
   11084       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"'
   11085       ;;
   11086     esac
   11087     shlibpath_var=LIBPATH
   11088   fi
   11089   ;;
   11090 
   11091 amigaos*)
   11092   case $host_cpu in
   11093   powerpc)
   11094     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11095     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11096     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11097     ;;
   11098   m68k)
   11099     library_names_spec='$libname.ixlibrary $libname.a'
   11100     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11101     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'
   11102     ;;
   11103   esac
   11104   ;;
   11105 
   11106 beos*)
   11107   library_names_spec='$libname$shared_ext'
   11108   dynamic_linker="$host_os ld.so"
   11109   shlibpath_var=LIBRARY_PATH
   11110   ;;
   11111 
   11112 bsdi[45]*)
   11113   version_type=linux # correct to gnu/linux during the next big refactor
   11114   need_version=no
   11115   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11116   soname_spec='$libname$release$shared_ext$major'
   11117   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11118   shlibpath_var=LD_LIBRARY_PATH
   11119   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11120   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11121   # the default ld.so.conf also contains /usr/contrib/lib and
   11122   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11123   # libtool to hard-code these into programs
   11124   ;;
   11125 
   11126 cygwin* | mingw* | pw32* | cegcc*)
   11127   version_type=windows
   11128   shrext_cmds=.dll
   11129   need_version=no
   11130   need_lib_prefix=no
   11131 
   11132   case $GCC,$cc_basename in
   11133   yes,*)
   11134     # gcc
   11135     library_names_spec='$libname.dll.a'
   11136     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11137     postinstall_cmds='base_file=`basename \$file`~
   11138       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11139       dldir=$destdir/`dirname \$dlpath`~
   11140       test -d \$dldir || mkdir -p \$dldir~
   11141       $install_prog $dir/$dlname \$dldir/$dlname~
   11142       chmod a+x \$dldir/$dlname~
   11143       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11144         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11145       fi'
   11146     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11147       dlpath=$dir/\$dldll~
   11148        $RM \$dlpath'
   11149     shlibpath_overrides_runpath=yes
   11150 
   11151     case $host_os in
   11152     cygwin*)
   11153       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11154       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11155 
   11156       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11157       ;;
   11158     mingw* | cegcc*)
   11159       # MinGW DLLs use traditional 'lib' prefix
   11160       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11161       ;;
   11162     pw32*)
   11163       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11164       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11165       ;;
   11166     esac
   11167     dynamic_linker='Win32 ld.exe'
   11168     ;;
   11169 
   11170   *,cl*)
   11171     # Native MSVC
   11172     libname_spec='$name'
   11173     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11174     library_names_spec='$libname.dll.lib'
   11175 
   11176     case $build_os in
   11177     mingw*)
   11178       sys_lib_search_path_spec=
   11179       lt_save_ifs=$IFS
   11180       IFS=';'
   11181       for lt_path in $LIB
   11182       do
   11183         IFS=$lt_save_ifs
   11184         # Let DOS variable expansion print the short 8.3 style file name.
   11185         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11186         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11187       done
   11188       IFS=$lt_save_ifs
   11189       # Convert to MSYS style.
   11190       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11191       ;;
   11192     cygwin*)
   11193       # Convert to unix form, then to dos form, then back to unix form
   11194       # but this time dos style (no spaces!) so that the unix form looks
   11195       # like /cygdrive/c/PROGRA~1:/cygdr...
   11196       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11197       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11198       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11199       ;;
   11200     *)
   11201       sys_lib_search_path_spec=$LIB
   11202       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11203         # It is most probably a Windows format PATH.
   11204         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11205       else
   11206         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11207       fi
   11208       # FIXME: find the short name or the path components, as spaces are
   11209       # common. (e.g. "Program Files" -> "PROGRA~1")
   11210       ;;
   11211     esac
   11212 
   11213     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11214     postinstall_cmds='base_file=`basename \$file`~
   11215       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11216       dldir=$destdir/`dirname \$dlpath`~
   11217       test -d \$dldir || mkdir -p \$dldir~
   11218       $install_prog $dir/$dlname \$dldir/$dlname'
   11219     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11220       dlpath=$dir/\$dldll~
   11221        $RM \$dlpath'
   11222     shlibpath_overrides_runpath=yes
   11223     dynamic_linker='Win32 link.exe'
   11224     ;;
   11225 
   11226   *)
   11227     # Assume MSVC wrapper
   11228     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11229     dynamic_linker='Win32 ld.exe'
   11230     ;;
   11231   esac
   11232   # FIXME: first we should search . and the directory the executable is in
   11233   shlibpath_var=PATH
   11234   ;;
   11235 
   11236 darwin* | rhapsody*)
   11237   dynamic_linker="$host_os dyld"
   11238   version_type=darwin
   11239   need_lib_prefix=no
   11240   need_version=no
   11241   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11242   soname_spec='$libname$release$major$shared_ext'
   11243   shlibpath_overrides_runpath=yes
   11244   shlibpath_var=DYLD_LIBRARY_PATH
   11245   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11246 
   11247   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11248   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11249   ;;
   11250 
   11251 dgux*)
   11252   version_type=linux # correct to gnu/linux during the next big refactor
   11253   need_lib_prefix=no
   11254   need_version=no
   11255   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11256   soname_spec='$libname$release$shared_ext$major'
   11257   shlibpath_var=LD_LIBRARY_PATH
   11258   ;;
   11259 
   11260 freebsd* | dragonfly*)
   11261   # DragonFly does not have aout.  When/if they implement a new
   11262   # versioning mechanism, adjust this.
   11263   if test -x /usr/bin/objformat; then
   11264     objformat=`/usr/bin/objformat`
   11265   else
   11266     case $host_os in
   11267     freebsd[23].*) objformat=aout ;;
   11268     *) objformat=elf ;;
   11269     esac
   11270   fi
   11271   version_type=freebsd-$objformat
   11272   case $version_type in
   11273     freebsd-elf*)
   11274       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11275       soname_spec='$libname$release$shared_ext$major'
   11276       need_version=no
   11277       need_lib_prefix=no
   11278       ;;
   11279     freebsd-*)
   11280       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11281       need_version=yes
   11282       ;;
   11283   esac
   11284   shlibpath_var=LD_LIBRARY_PATH
   11285   case $host_os in
   11286   freebsd2.*)
   11287     shlibpath_overrides_runpath=yes
   11288     ;;
   11289   freebsd3.[01]* | freebsdelf3.[01]*)
   11290     shlibpath_overrides_runpath=yes
   11291     hardcode_into_libs=yes
   11292     ;;
   11293   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11294   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11295     shlibpath_overrides_runpath=no
   11296     hardcode_into_libs=yes
   11297     ;;
   11298   *) # from 4.6 on, and DragonFly
   11299     shlibpath_overrides_runpath=yes
   11300     hardcode_into_libs=yes
   11301     ;;
   11302   esac
   11303   ;;
   11304 
   11305 haiku*)
   11306   version_type=linux # correct to gnu/linux during the next big refactor
   11307   need_lib_prefix=no
   11308   need_version=no
   11309   dynamic_linker="$host_os runtime_loader"
   11310   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11311   soname_spec='$libname$release$shared_ext$major'
   11312   shlibpath_var=LIBRARY_PATH
   11313   shlibpath_overrides_runpath=no
   11314   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11315   hardcode_into_libs=yes
   11316   ;;
   11317 
   11318 hpux9* | hpux10* | hpux11*)
   11319   # Give a soname corresponding to the major version so that dld.sl refuses to
   11320   # link against other versions.
   11321   version_type=sunos
   11322   need_lib_prefix=no
   11323   need_version=no
   11324   case $host_cpu in
   11325   ia64*)
   11326     shrext_cmds='.so'
   11327     hardcode_into_libs=yes
   11328     dynamic_linker="$host_os dld.so"
   11329     shlibpath_var=LD_LIBRARY_PATH
   11330     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11331     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11332     soname_spec='$libname$release$shared_ext$major'
   11333     if test 32 = "$HPUX_IA64_MODE"; then
   11334       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11335       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11336     else
   11337       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11338       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11339     fi
   11340     ;;
   11341   hppa*64*)
   11342     shrext_cmds='.sl'
   11343     hardcode_into_libs=yes
   11344     dynamic_linker="$host_os dld.sl"
   11345     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11346     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11347     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11348     soname_spec='$libname$release$shared_ext$major'
   11349     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11350     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11351     ;;
   11352   *)
   11353     shrext_cmds='.sl'
   11354     dynamic_linker="$host_os dld.sl"
   11355     shlibpath_var=SHLIB_PATH
   11356     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11357     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11358     soname_spec='$libname$release$shared_ext$major'
   11359     ;;
   11360   esac
   11361   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11362   postinstall_cmds='chmod 555 $lib'
   11363   # or fails outright, so override atomically:
   11364   install_override_mode=555
   11365   ;;
   11366 
   11367 interix[3-9]*)
   11368   version_type=linux # correct to gnu/linux during the next big refactor
   11369   need_lib_prefix=no
   11370   need_version=no
   11371   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11372   soname_spec='$libname$release$shared_ext$major'
   11373   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11374   shlibpath_var=LD_LIBRARY_PATH
   11375   shlibpath_overrides_runpath=no
   11376   hardcode_into_libs=yes
   11377   ;;
   11378 
   11379 irix5* | irix6* | nonstopux*)
   11380   case $host_os in
   11381     nonstopux*) version_type=nonstopux ;;
   11382     *)
   11383 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11384 		version_type=linux # correct to gnu/linux during the next big refactor
   11385 	else
   11386 		version_type=irix
   11387 	fi ;;
   11388   esac
   11389   need_lib_prefix=no
   11390   need_version=no
   11391   soname_spec='$libname$release$shared_ext$major'
   11392   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11393   case $host_os in
   11394   irix5* | nonstopux*)
   11395     libsuff= shlibsuff=
   11396     ;;
   11397   *)
   11398     case $LD in # libtool.m4 will add one of these switches to LD
   11399     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11400       libsuff= shlibsuff= libmagic=32-bit;;
   11401     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11402       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11403     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11404       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11405     *) libsuff= shlibsuff= libmagic=never-match;;
   11406     esac
   11407     ;;
   11408   esac
   11409   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11410   shlibpath_overrides_runpath=no
   11411   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11412   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11413   hardcode_into_libs=yes
   11414   ;;
   11415 
   11416 # No shared lib support for Linux oldld, aout, or coff.
   11417 linux*oldld* | linux*aout* | linux*coff*)
   11418   dynamic_linker=no
   11419   ;;
   11420 
   11421 linux*android*)
   11422   version_type=none # Android doesn't support versioned libraries.
   11423   need_lib_prefix=no
   11424   need_version=no
   11425   library_names_spec='$libname$release$shared_ext'
   11426   soname_spec='$libname$release$shared_ext'
   11427   finish_cmds=
   11428   shlibpath_var=LD_LIBRARY_PATH
   11429   shlibpath_overrides_runpath=yes
   11430 
   11431   # This implies no fast_install, which is unacceptable.
   11432   # Some rework will be needed to allow for fast_install
   11433   # before this can be enabled.
   11434   hardcode_into_libs=yes
   11435 
   11436   dynamic_linker='Android linker'
   11437   # Don't embed -rpath directories since the linker doesn't support them.
   11438   hardcode_libdir_flag_spec='-L$libdir'
   11439   ;;
   11440 
   11441 # This must be glibc/ELF.
   11442 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11443   version_type=linux # correct to gnu/linux during the next big refactor
   11444   need_lib_prefix=no
   11445   need_version=no
   11446   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11447   soname_spec='$libname$release$shared_ext$major'
   11448   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11449   shlibpath_var=LD_LIBRARY_PATH
   11450   shlibpath_overrides_runpath=no
   11451 
   11452   # Some binutils ld are patched to set DT_RUNPATH
   11453   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11454 then :
   11455   printf %s "(cached) " >&6
   11456 else $as_nop
   11457   lt_cv_shlibpath_overrides_runpath=no
   11458     save_LDFLAGS=$LDFLAGS
   11459     save_libdir=$libdir
   11460     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11461 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11462     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11463 /* end confdefs.h.  */
   11464 
   11465 int
   11466 main (void)
   11467 {
   11468 
   11469   ;
   11470   return 0;
   11471 }
   11472 _ACEOF
   11473 if ac_fn_c_try_link "$LINENO"
   11474 then :
   11475   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11476 then :
   11477   lt_cv_shlibpath_overrides_runpath=yes
   11478 fi
   11479 fi
   11480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11481     conftest$ac_exeext conftest.$ac_ext
   11482     LDFLAGS=$save_LDFLAGS
   11483     libdir=$save_libdir
   11484 
   11485 fi
   11486 
   11487   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11488 
   11489   # This implies no fast_install, which is unacceptable.
   11490   # Some rework will be needed to allow for fast_install
   11491   # before this can be enabled.
   11492   hardcode_into_libs=yes
   11493 
   11494   # Ideally, we could use ldconfig to report *all* directores which are
   11495   # searched for libraries, however this is still not possible.  Aside from not
   11496   # being certain /sbin/ldconfig is available, command
   11497   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11498   # even though it is searched at run-time.  Try to do the best guess by
   11499   # appending ld.so.conf contents (and includes) to the search path.
   11500   if test -f /etc/ld.so.conf; then
   11501     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' ' '`
   11502     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11503   fi
   11504 
   11505   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11506   # powerpc, because MkLinux only supported shared libraries with the
   11507   # GNU dynamic linker.  Since this was broken with cross compilers,
   11508   # most powerpc-linux boxes support dynamic linking these days and
   11509   # people can always --disable-shared, the test was removed, and we
   11510   # assume the GNU/Linux dynamic linker is in use.
   11511   dynamic_linker='GNU/Linux ld.so'
   11512   ;;
   11513 
   11514 netbsd*)
   11515   version_type=sunos
   11516   need_lib_prefix=no
   11517   need_version=no
   11518   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11519     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11520     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11521     dynamic_linker='NetBSD (a.out) ld.so'
   11522   else
   11523     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11524     soname_spec='$libname$release$shared_ext$major'
   11525     dynamic_linker='NetBSD ld.elf_so'
   11526   fi
   11527   shlibpath_var=LD_LIBRARY_PATH
   11528   shlibpath_overrides_runpath=yes
   11529   hardcode_into_libs=yes
   11530   ;;
   11531 
   11532 newsos6)
   11533   version_type=linux # correct to gnu/linux during the next big refactor
   11534   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11535   shlibpath_var=LD_LIBRARY_PATH
   11536   shlibpath_overrides_runpath=yes
   11537   ;;
   11538 
   11539 *nto* | *qnx*)
   11540   version_type=qnx
   11541   need_lib_prefix=no
   11542   need_version=no
   11543   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11544   soname_spec='$libname$release$shared_ext$major'
   11545   shlibpath_var=LD_LIBRARY_PATH
   11546   shlibpath_overrides_runpath=no
   11547   hardcode_into_libs=yes
   11548   dynamic_linker='ldqnx.so'
   11549   ;;
   11550 
   11551 openbsd* | bitrig*)
   11552   version_type=sunos
   11553   sys_lib_dlsearch_path_spec=/usr/lib
   11554   need_lib_prefix=no
   11555   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11556     need_version=no
   11557   else
   11558     need_version=yes
   11559   fi
   11560   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11561   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11562   shlibpath_var=LD_LIBRARY_PATH
   11563   shlibpath_overrides_runpath=yes
   11564   ;;
   11565 
   11566 os2*)
   11567   libname_spec='$name'
   11568   version_type=windows
   11569   shrext_cmds=.dll
   11570   need_version=no
   11571   need_lib_prefix=no
   11572   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11573   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11574     v=$($ECHO $release$versuffix | tr -d .-);
   11575     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11576     $ECHO $n$v`$shared_ext'
   11577   library_names_spec='${libname}_dll.$libext'
   11578   dynamic_linker='OS/2 ld.exe'
   11579   shlibpath_var=BEGINLIBPATH
   11580   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11581   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11582   postinstall_cmds='base_file=`basename \$file`~
   11583     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11584     dldir=$destdir/`dirname \$dlpath`~
   11585     test -d \$dldir || mkdir -p \$dldir~
   11586     $install_prog $dir/$dlname \$dldir/$dlname~
   11587     chmod a+x \$dldir/$dlname~
   11588     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11589       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11590     fi'
   11591   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11592     dlpath=$dir/\$dldll~
   11593     $RM \$dlpath'
   11594   ;;
   11595 
   11596 osf3* | osf4* | osf5*)
   11597   version_type=osf
   11598   need_lib_prefix=no
   11599   need_version=no
   11600   soname_spec='$libname$release$shared_ext$major'
   11601   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11602   shlibpath_var=LD_LIBRARY_PATH
   11603   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11604   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11605   ;;
   11606 
   11607 rdos*)
   11608   dynamic_linker=no
   11609   ;;
   11610 
   11611 solaris*)
   11612   version_type=linux # correct to gnu/linux during the next big refactor
   11613   need_lib_prefix=no
   11614   need_version=no
   11615   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11616   soname_spec='$libname$release$shared_ext$major'
   11617   shlibpath_var=LD_LIBRARY_PATH
   11618   shlibpath_overrides_runpath=yes
   11619   hardcode_into_libs=yes
   11620   # ldd complains unless libraries are executable
   11621   postinstall_cmds='chmod +x $lib'
   11622   ;;
   11623 
   11624 sunos4*)
   11625   version_type=sunos
   11626   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11627   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11628   shlibpath_var=LD_LIBRARY_PATH
   11629   shlibpath_overrides_runpath=yes
   11630   if test yes = "$with_gnu_ld"; then
   11631     need_lib_prefix=no
   11632   fi
   11633   need_version=yes
   11634   ;;
   11635 
   11636 sysv4 | sysv4.3*)
   11637   version_type=linux # correct to gnu/linux during the next big refactor
   11638   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11639   soname_spec='$libname$release$shared_ext$major'
   11640   shlibpath_var=LD_LIBRARY_PATH
   11641   case $host_vendor in
   11642     sni)
   11643       shlibpath_overrides_runpath=no
   11644       need_lib_prefix=no
   11645       runpath_var=LD_RUN_PATH
   11646       ;;
   11647     siemens)
   11648       need_lib_prefix=no
   11649       ;;
   11650     motorola)
   11651       need_lib_prefix=no
   11652       need_version=no
   11653       shlibpath_overrides_runpath=no
   11654       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11655       ;;
   11656   esac
   11657   ;;
   11658 
   11659 sysv4*MP*)
   11660   if test -d /usr/nec; then
   11661     version_type=linux # correct to gnu/linux during the next big refactor
   11662     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11663     soname_spec='$libname$shared_ext.$major'
   11664     shlibpath_var=LD_LIBRARY_PATH
   11665   fi
   11666   ;;
   11667 
   11668 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11669   version_type=sco
   11670   need_lib_prefix=no
   11671   need_version=no
   11672   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11673   soname_spec='$libname$release$shared_ext$major'
   11674   shlibpath_var=LD_LIBRARY_PATH
   11675   shlibpath_overrides_runpath=yes
   11676   hardcode_into_libs=yes
   11677   if test yes = "$with_gnu_ld"; then
   11678     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11679   else
   11680     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11681     case $host_os in
   11682       sco3.2v5*)
   11683         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11684 	;;
   11685     esac
   11686   fi
   11687   sys_lib_dlsearch_path_spec='/usr/lib'
   11688   ;;
   11689 
   11690 tpf*)
   11691   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11692   version_type=linux # correct to gnu/linux during the next big refactor
   11693   need_lib_prefix=no
   11694   need_version=no
   11695   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11696   shlibpath_var=LD_LIBRARY_PATH
   11697   shlibpath_overrides_runpath=no
   11698   hardcode_into_libs=yes
   11699   ;;
   11700 
   11701 uts4*)
   11702   version_type=linux # correct to gnu/linux during the next big refactor
   11703   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11704   soname_spec='$libname$release$shared_ext$major'
   11705   shlibpath_var=LD_LIBRARY_PATH
   11706   ;;
   11707 
   11708 *)
   11709   dynamic_linker=no
   11710   ;;
   11711 esac
   11712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11713 printf "%s\n" "$dynamic_linker" >&6; }
   11714 test no = "$dynamic_linker" && can_build_shared=no
   11715 
   11716 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11717 if test yes = "$GCC"; then
   11718   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11719 fi
   11720 
   11721 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11722   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11723 fi
   11724 
   11725 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11726   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11727 fi
   11728 
   11729 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11730 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11731 
   11732 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11733 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11734 
   11735 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11736 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 
   11754 
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11835 printf %s "checking how to hardcode library paths into programs... " >&6; }
   11836 hardcode_action=
   11837 if test -n "$hardcode_libdir_flag_spec" ||
   11838    test -n "$runpath_var" ||
   11839    test yes = "$hardcode_automatic"; then
   11840 
   11841   # We can hardcode non-existent directories.
   11842   if test no != "$hardcode_direct" &&
   11843      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11844      # have to relink, otherwise we might link with an installed library
   11845      # when we should be linking with a yet-to-be-installed one
   11846      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11847      test no != "$hardcode_minus_L"; then
   11848     # Linking always hardcodes the temporary library directory.
   11849     hardcode_action=relink
   11850   else
   11851     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11852     hardcode_action=immediate
   11853   fi
   11854 else
   11855   # We cannot hardcode anything, or else we can only hardcode existing
   11856   # directories.
   11857   hardcode_action=unsupported
   11858 fi
   11859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11860 printf "%s\n" "$hardcode_action" >&6; }
   11861 
   11862 if test relink = "$hardcode_action" ||
   11863    test yes = "$inherit_rpath"; then
   11864   # Fast installation is not supported
   11865   enable_fast_install=no
   11866 elif test yes = "$shlibpath_overrides_runpath" ||
   11867      test no = "$enable_shared"; then
   11868   # Fast installation is not necessary
   11869   enable_fast_install=needless
   11870 fi
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 
   11877   if test yes != "$enable_dlopen"; then
   11878   enable_dlopen=unknown
   11879   enable_dlopen_self=unknown
   11880   enable_dlopen_self_static=unknown
   11881 else
   11882   lt_cv_dlopen=no
   11883   lt_cv_dlopen_libs=
   11884 
   11885   case $host_os in
   11886   beos*)
   11887     lt_cv_dlopen=load_add_on
   11888     lt_cv_dlopen_libs=
   11889     lt_cv_dlopen_self=yes
   11890     ;;
   11891 
   11892   mingw* | pw32* | cegcc*)
   11893     lt_cv_dlopen=LoadLibrary
   11894     lt_cv_dlopen_libs=
   11895     ;;
   11896 
   11897   cygwin*)
   11898     lt_cv_dlopen=dlopen
   11899     lt_cv_dlopen_libs=
   11900     ;;
   11901 
   11902   darwin*)
   11903     # if libdl is installed we need to link against it
   11904     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11905 printf %s "checking for dlopen in -ldl... " >&6; }
   11906 if test ${ac_cv_lib_dl_dlopen+y}
   11907 then :
   11908   printf %s "(cached) " >&6
   11909 else $as_nop
   11910   ac_check_lib_save_LIBS=$LIBS
   11911 LIBS="-ldl  $LIBS"
   11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11913 /* end confdefs.h.  */
   11914 
   11915 /* Override any GCC internal prototype to avoid an error.
   11916    Use char because int might match the return type of a GCC
   11917    builtin and then its argument prototype would still apply.  */
   11918 char dlopen ();
   11919 int
   11920 main (void)
   11921 {
   11922 return dlopen ();
   11923   ;
   11924   return 0;
   11925 }
   11926 _ACEOF
   11927 if ac_fn_c_try_link "$LINENO"
   11928 then :
   11929   ac_cv_lib_dl_dlopen=yes
   11930 else $as_nop
   11931   ac_cv_lib_dl_dlopen=no
   11932 fi
   11933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11934     conftest$ac_exeext conftest.$ac_ext
   11935 LIBS=$ac_check_lib_save_LIBS
   11936 fi
   11937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11938 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   11939 if test "x$ac_cv_lib_dl_dlopen" = xyes
   11940 then :
   11941   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11942 else $as_nop
   11943 
   11944     lt_cv_dlopen=dyld
   11945     lt_cv_dlopen_libs=
   11946     lt_cv_dlopen_self=yes
   11947 
   11948 fi
   11949 
   11950     ;;
   11951 
   11952   tpf*)
   11953     # Don't try to run any link tests for TPF.  We know it's impossible
   11954     # because TPF is a cross-compiler, and we know how we open DSOs.
   11955     lt_cv_dlopen=dlopen
   11956     lt_cv_dlopen_libs=
   11957     lt_cv_dlopen_self=no
   11958     ;;
   11959 
   11960   *)
   11961     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11962 if test "x$ac_cv_func_shl_load" = xyes
   11963 then :
   11964   lt_cv_dlopen=shl_load
   11965 else $as_nop
   11966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11967 printf %s "checking for shl_load in -ldld... " >&6; }
   11968 if test ${ac_cv_lib_dld_shl_load+y}
   11969 then :
   11970   printf %s "(cached) " >&6
   11971 else $as_nop
   11972   ac_check_lib_save_LIBS=$LIBS
   11973 LIBS="-ldld  $LIBS"
   11974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11975 /* end confdefs.h.  */
   11976 
   11977 /* Override any GCC internal prototype to avoid an error.
   11978    Use char because int might match the return type of a GCC
   11979    builtin and then its argument prototype would still apply.  */
   11980 char shl_load ();
   11981 int
   11982 main (void)
   11983 {
   11984 return shl_load ();
   11985   ;
   11986   return 0;
   11987 }
   11988 _ACEOF
   11989 if ac_fn_c_try_link "$LINENO"
   11990 then :
   11991   ac_cv_lib_dld_shl_load=yes
   11992 else $as_nop
   11993   ac_cv_lib_dld_shl_load=no
   11994 fi
   11995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11996     conftest$ac_exeext conftest.$ac_ext
   11997 LIBS=$ac_check_lib_save_LIBS
   11998 fi
   11999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12000 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12001 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12002 then :
   12003   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12004 else $as_nop
   12005   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12006 if test "x$ac_cv_func_dlopen" = xyes
   12007 then :
   12008   lt_cv_dlopen=dlopen
   12009 else $as_nop
   12010   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12011 printf %s "checking for dlopen in -ldl... " >&6; }
   12012 if test ${ac_cv_lib_dl_dlopen+y}
   12013 then :
   12014   printf %s "(cached) " >&6
   12015 else $as_nop
   12016   ac_check_lib_save_LIBS=$LIBS
   12017 LIBS="-ldl  $LIBS"
   12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12019 /* end confdefs.h.  */
   12020 
   12021 /* Override any GCC internal prototype to avoid an error.
   12022    Use char because int might match the return type of a GCC
   12023    builtin and then its argument prototype would still apply.  */
   12024 char dlopen ();
   12025 int
   12026 main (void)
   12027 {
   12028 return dlopen ();
   12029   ;
   12030   return 0;
   12031 }
   12032 _ACEOF
   12033 if ac_fn_c_try_link "$LINENO"
   12034 then :
   12035   ac_cv_lib_dl_dlopen=yes
   12036 else $as_nop
   12037   ac_cv_lib_dl_dlopen=no
   12038 fi
   12039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12040     conftest$ac_exeext conftest.$ac_ext
   12041 LIBS=$ac_check_lib_save_LIBS
   12042 fi
   12043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12044 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12045 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12046 then :
   12047   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12048 else $as_nop
   12049   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12050 printf %s "checking for dlopen in -lsvld... " >&6; }
   12051 if test ${ac_cv_lib_svld_dlopen+y}
   12052 then :
   12053   printf %s "(cached) " >&6
   12054 else $as_nop
   12055   ac_check_lib_save_LIBS=$LIBS
   12056 LIBS="-lsvld  $LIBS"
   12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12058 /* end confdefs.h.  */
   12059 
   12060 /* Override any GCC internal prototype to avoid an error.
   12061    Use char because int might match the return type of a GCC
   12062    builtin and then its argument prototype would still apply.  */
   12063 char dlopen ();
   12064 int
   12065 main (void)
   12066 {
   12067 return dlopen ();
   12068   ;
   12069   return 0;
   12070 }
   12071 _ACEOF
   12072 if ac_fn_c_try_link "$LINENO"
   12073 then :
   12074   ac_cv_lib_svld_dlopen=yes
   12075 else $as_nop
   12076   ac_cv_lib_svld_dlopen=no
   12077 fi
   12078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12079     conftest$ac_exeext conftest.$ac_ext
   12080 LIBS=$ac_check_lib_save_LIBS
   12081 fi
   12082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12083 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12084 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12085 then :
   12086   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12087 else $as_nop
   12088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12089 printf %s "checking for dld_link in -ldld... " >&6; }
   12090 if test ${ac_cv_lib_dld_dld_link+y}
   12091 then :
   12092   printf %s "(cached) " >&6
   12093 else $as_nop
   12094   ac_check_lib_save_LIBS=$LIBS
   12095 LIBS="-ldld  $LIBS"
   12096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12097 /* end confdefs.h.  */
   12098 
   12099 /* Override any GCC internal prototype to avoid an error.
   12100    Use char because int might match the return type of a GCC
   12101    builtin and then its argument prototype would still apply.  */
   12102 char dld_link ();
   12103 int
   12104 main (void)
   12105 {
   12106 return dld_link ();
   12107   ;
   12108   return 0;
   12109 }
   12110 _ACEOF
   12111 if ac_fn_c_try_link "$LINENO"
   12112 then :
   12113   ac_cv_lib_dld_dld_link=yes
   12114 else $as_nop
   12115   ac_cv_lib_dld_dld_link=no
   12116 fi
   12117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12118     conftest$ac_exeext conftest.$ac_ext
   12119 LIBS=$ac_check_lib_save_LIBS
   12120 fi
   12121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12122 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12123 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12124 then :
   12125   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12126 fi
   12127 
   12128 
   12129 fi
   12130 
   12131 
   12132 fi
   12133 
   12134 
   12135 fi
   12136 
   12137 
   12138 fi
   12139 
   12140 
   12141 fi
   12142 
   12143     ;;
   12144   esac
   12145 
   12146   if test no = "$lt_cv_dlopen"; then
   12147     enable_dlopen=no
   12148   else
   12149     enable_dlopen=yes
   12150   fi
   12151 
   12152   case $lt_cv_dlopen in
   12153   dlopen)
   12154     save_CPPFLAGS=$CPPFLAGS
   12155     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12156 
   12157     save_LDFLAGS=$LDFLAGS
   12158     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12159 
   12160     save_LIBS=$LIBS
   12161     LIBS="$lt_cv_dlopen_libs $LIBS"
   12162 
   12163     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12164 printf %s "checking whether a program can dlopen itself... " >&6; }
   12165 if test ${lt_cv_dlopen_self+y}
   12166 then :
   12167   printf %s "(cached) " >&6
   12168 else $as_nop
   12169   	  if test yes = "$cross_compiling"; then :
   12170   lt_cv_dlopen_self=cross
   12171 else
   12172   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12173   lt_status=$lt_dlunknown
   12174   cat > conftest.$ac_ext <<_LT_EOF
   12175 #line $LINENO "configure"
   12176 #include "confdefs.h"
   12177 
   12178 #if HAVE_DLFCN_H
   12179 #include <dlfcn.h>
   12180 #endif
   12181 
   12182 #include <stdio.h>
   12183 
   12184 #ifdef RTLD_GLOBAL
   12185 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12186 #else
   12187 #  ifdef DL_GLOBAL
   12188 #    define LT_DLGLOBAL		DL_GLOBAL
   12189 #  else
   12190 #    define LT_DLGLOBAL		0
   12191 #  endif
   12192 #endif
   12193 
   12194 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12195    find out it does not work in some platform. */
   12196 #ifndef LT_DLLAZY_OR_NOW
   12197 #  ifdef RTLD_LAZY
   12198 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12199 #  else
   12200 #    ifdef DL_LAZY
   12201 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12202 #    else
   12203 #      ifdef RTLD_NOW
   12204 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12205 #      else
   12206 #        ifdef DL_NOW
   12207 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12208 #        else
   12209 #          define LT_DLLAZY_OR_NOW	0
   12210 #        endif
   12211 #      endif
   12212 #    endif
   12213 #  endif
   12214 #endif
   12215 
   12216 /* When -fvisibility=hidden is used, assume the code has been annotated
   12217    correspondingly for the symbols needed.  */
   12218 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12219 int fnord () __attribute__((visibility("default")));
   12220 #endif
   12221 
   12222 int fnord () { return 42; }
   12223 int main ()
   12224 {
   12225   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12226   int status = $lt_dlunknown;
   12227 
   12228   if (self)
   12229     {
   12230       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12231       else
   12232         {
   12233 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12234           else puts (dlerror ());
   12235 	}
   12236       /* dlclose (self); */
   12237     }
   12238   else
   12239     puts (dlerror ());
   12240 
   12241   return status;
   12242 }
   12243 _LT_EOF
   12244   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12245   (eval $ac_link) 2>&5
   12246   ac_status=$?
   12247   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12248   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12249     (./conftest; exit; ) >&5 2>/dev/null
   12250     lt_status=$?
   12251     case x$lt_status in
   12252       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12253       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12254       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12255     esac
   12256   else :
   12257     # compilation failed
   12258     lt_cv_dlopen_self=no
   12259   fi
   12260 fi
   12261 rm -fr conftest*
   12262 
   12263 
   12264 fi
   12265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12266 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12267 
   12268     if test yes = "$lt_cv_dlopen_self"; then
   12269       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12270       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12271 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12272 if test ${lt_cv_dlopen_self_static+y}
   12273 then :
   12274   printf %s "(cached) " >&6
   12275 else $as_nop
   12276   	  if test yes = "$cross_compiling"; then :
   12277   lt_cv_dlopen_self_static=cross
   12278 else
   12279   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12280   lt_status=$lt_dlunknown
   12281   cat > conftest.$ac_ext <<_LT_EOF
   12282 #line $LINENO "configure"
   12283 #include "confdefs.h"
   12284 
   12285 #if HAVE_DLFCN_H
   12286 #include <dlfcn.h>
   12287 #endif
   12288 
   12289 #include <stdio.h>
   12290 
   12291 #ifdef RTLD_GLOBAL
   12292 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12293 #else
   12294 #  ifdef DL_GLOBAL
   12295 #    define LT_DLGLOBAL		DL_GLOBAL
   12296 #  else
   12297 #    define LT_DLGLOBAL		0
   12298 #  endif
   12299 #endif
   12300 
   12301 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12302    find out it does not work in some platform. */
   12303 #ifndef LT_DLLAZY_OR_NOW
   12304 #  ifdef RTLD_LAZY
   12305 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12306 #  else
   12307 #    ifdef DL_LAZY
   12308 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12309 #    else
   12310 #      ifdef RTLD_NOW
   12311 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12312 #      else
   12313 #        ifdef DL_NOW
   12314 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12315 #        else
   12316 #          define LT_DLLAZY_OR_NOW	0
   12317 #        endif
   12318 #      endif
   12319 #    endif
   12320 #  endif
   12321 #endif
   12322 
   12323 /* When -fvisibility=hidden is used, assume the code has been annotated
   12324    correspondingly for the symbols needed.  */
   12325 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12326 int fnord () __attribute__((visibility("default")));
   12327 #endif
   12328 
   12329 int fnord () { return 42; }
   12330 int main ()
   12331 {
   12332   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12333   int status = $lt_dlunknown;
   12334 
   12335   if (self)
   12336     {
   12337       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12338       else
   12339         {
   12340 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12341           else puts (dlerror ());
   12342 	}
   12343       /* dlclose (self); */
   12344     }
   12345   else
   12346     puts (dlerror ());
   12347 
   12348   return status;
   12349 }
   12350 _LT_EOF
   12351   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12352   (eval $ac_link) 2>&5
   12353   ac_status=$?
   12354   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12355   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12356     (./conftest; exit; ) >&5 2>/dev/null
   12357     lt_status=$?
   12358     case x$lt_status in
   12359       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12360       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12361       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12362     esac
   12363   else :
   12364     # compilation failed
   12365     lt_cv_dlopen_self_static=no
   12366   fi
   12367 fi
   12368 rm -fr conftest*
   12369 
   12370 
   12371 fi
   12372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12373 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12374     fi
   12375 
   12376     CPPFLAGS=$save_CPPFLAGS
   12377     LDFLAGS=$save_LDFLAGS
   12378     LIBS=$save_LIBS
   12379     ;;
   12380   esac
   12381 
   12382   case $lt_cv_dlopen_self in
   12383   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12384   *) enable_dlopen_self=unknown ;;
   12385   esac
   12386 
   12387   case $lt_cv_dlopen_self_static in
   12388   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12389   *) enable_dlopen_self_static=unknown ;;
   12390   esac
   12391 fi
   12392 
   12393 
   12394 
   12395 
   12396 
   12397 
   12398 
   12399 
   12400 
   12401 
   12402 
   12403 
   12404 
   12405 
   12406 
   12407 
   12408 
   12409 striplib=
   12410 old_striplib=
   12411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12412 printf %s "checking whether stripping libraries is possible... " >&6; }
   12413 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12414   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12415   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12416   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12417 printf "%s\n" "yes" >&6; }
   12418 else
   12419 # FIXME - insert some real tests, host_os isn't really good enough
   12420   case $host_os in
   12421   darwin*)
   12422     if test -n "$STRIP"; then
   12423       striplib="$STRIP -x"
   12424       old_striplib="$STRIP -S"
   12425       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12426 printf "%s\n" "yes" >&6; }
   12427     else
   12428       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12429 printf "%s\n" "no" >&6; }
   12430     fi
   12431     ;;
   12432   *)
   12433     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12434 printf "%s\n" "no" >&6; }
   12435     ;;
   12436   esac
   12437 fi
   12438 
   12439 
   12440 
   12441 
   12442 
   12443 
   12444 
   12445 
   12446 
   12447 
   12448 
   12449 
   12450   # Report what library types will actually be built
   12451   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12452 printf %s "checking if libtool supports shared libraries... " >&6; }
   12453   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12454 printf "%s\n" "$can_build_shared" >&6; }
   12455 
   12456   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12457 printf %s "checking whether to build shared libraries... " >&6; }
   12458   test no = "$can_build_shared" && enable_shared=no
   12459 
   12460   # On AIX, shared libraries and static libraries use the same namespace, and
   12461   # are all built from PIC.
   12462   case $host_os in
   12463   aix3*)
   12464     test yes = "$enable_shared" && enable_static=no
   12465     if test -n "$RANLIB"; then
   12466       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12467       postinstall_cmds='$RANLIB $lib'
   12468     fi
   12469     ;;
   12470 
   12471   aix[4-9]*)
   12472     if test ia64 != "$host_cpu"; then
   12473       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12474       yes,aix,yes) ;;			# shared object as lib.so file only
   12475       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12476       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12477       esac
   12478     fi
   12479     ;;
   12480   esac
   12481   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12482 printf "%s\n" "$enable_shared" >&6; }
   12483 
   12484   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12485 printf %s "checking whether to build static libraries... " >&6; }
   12486   # Make sure either enable_shared or enable_static is yes.
   12487   test yes = "$enable_shared" || enable_static=yes
   12488   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12489 printf "%s\n" "$enable_static" >&6; }
   12490 
   12491 
   12492 
   12493 
   12494 fi
   12495 ac_ext=c
   12496 ac_cpp='$CPP $CPPFLAGS'
   12497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12500 
   12501 CC=$lt_save_CC
   12502 
   12503 
   12504 
   12505 
   12506 
   12507 
   12508 
   12509 
   12510 
   12511 
   12512 
   12513 
   12514 
   12515 
   12516 
   12517         ac_config_commands="$ac_config_commands libtool"
   12518 
   12519 
   12520 
   12521 
   12522 # Only expand once:
   12523 
   12524 
   12525 
   12526 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   12527 
   12528 
   12529 
   12530 
   12531 
   12532 
   12533 
   12534 
   12535 
   12536 
   12537 
   12538 
   12539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12540 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12541 if test ${ac_cv_c_undeclared_builtin_options+y}
   12542 then :
   12543   printf %s "(cached) " >&6
   12544 else $as_nop
   12545   ac_save_CFLAGS=$CFLAGS
   12546    ac_cv_c_undeclared_builtin_options='cannot detect'
   12547    for ac_arg in '' -fno-builtin; do
   12548      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12549      # This test program should *not* compile successfully.
   12550      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12551 /* end confdefs.h.  */
   12552 
   12553 int
   12554 main (void)
   12555 {
   12556 (void) strchr;
   12557   ;
   12558   return 0;
   12559 }
   12560 _ACEOF
   12561 if ac_fn_c_try_compile "$LINENO"
   12562 then :
   12563 
   12564 else $as_nop
   12565   # This test program should compile successfully.
   12566         # No library function is consistently available on
   12567         # freestanding implementations, so test against a dummy
   12568         # declaration.  Include always-available headers on the
   12569         # off chance that they somehow elicit warnings.
   12570         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12571 /* end confdefs.h.  */
   12572 #include <float.h>
   12573 #include <limits.h>
   12574 #include <stdarg.h>
   12575 #include <stddef.h>
   12576 extern void ac_decl (int, char *);
   12577 
   12578 int
   12579 main (void)
   12580 {
   12581 (void) ac_decl (0, (char *) 0);
   12582   (void) ac_decl;
   12583 
   12584   ;
   12585   return 0;
   12586 }
   12587 _ACEOF
   12588 if ac_fn_c_try_compile "$LINENO"
   12589 then :
   12590   if test x"$ac_arg" = x
   12591 then :
   12592   ac_cv_c_undeclared_builtin_options='none needed'
   12593 else $as_nop
   12594   ac_cv_c_undeclared_builtin_options=$ac_arg
   12595 fi
   12596           break
   12597 fi
   12598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12599 fi
   12600 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12601     done
   12602     CFLAGS=$ac_save_CFLAGS
   12603 
   12604 fi
   12605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12606 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12607   case $ac_cv_c_undeclared_builtin_options in #(
   12608   'cannot detect') :
   12609     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12610 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12611 as_fn_error $? "cannot make $CC report undeclared builtins
   12612 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12613   'none needed') :
   12614     ac_c_undeclared_builtin_options='' ;; #(
   12615   *) :
   12616     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12617 esac
   12618 
   12619 
   12620 
   12621 
   12622 
   12623 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12624 if test "x$ac_cv_have_decl___clang__" = xyes
   12625 then :
   12626   CLANGCC="yes"
   12627 else $as_nop
   12628   CLANGCC="no"
   12629 fi
   12630 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12631 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12632 then :
   12633   INTELCC="yes"
   12634 else $as_nop
   12635   INTELCC="no"
   12636 fi
   12637 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12638 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12639 then :
   12640   SUNCC="yes"
   12641 else $as_nop
   12642   SUNCC="no"
   12643 fi
   12644 
   12645 
   12646 
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12653 	if test -n "$ac_tool_prefix"; then
   12654   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12655 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12657 printf %s "checking for $ac_word... " >&6; }
   12658 if test ${ac_cv_path_PKG_CONFIG+y}
   12659 then :
   12660   printf %s "(cached) " >&6
   12661 else $as_nop
   12662   case $PKG_CONFIG in
   12663   [\\/]* | ?:[\\/]*)
   12664   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12665   ;;
   12666   *)
   12667   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12668 for as_dir in $PATH
   12669 do
   12670   IFS=$as_save_IFS
   12671   case $as_dir in #(((
   12672     '') as_dir=./ ;;
   12673     */) ;;
   12674     *) as_dir=$as_dir/ ;;
   12675   esac
   12676     for ac_exec_ext in '' $ac_executable_extensions; do
   12677   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12678     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12679     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12680     break 2
   12681   fi
   12682 done
   12683   done
   12684 IFS=$as_save_IFS
   12685 
   12686   ;;
   12687 esac
   12688 fi
   12689 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12690 if test -n "$PKG_CONFIG"; then
   12691   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12692 printf "%s\n" "$PKG_CONFIG" >&6; }
   12693 else
   12694   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12695 printf "%s\n" "no" >&6; }
   12696 fi
   12697 
   12698 
   12699 fi
   12700 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12701   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12702   # Extract the first word of "pkg-config", so it can be a program name with args.
   12703 set dummy pkg-config; ac_word=$2
   12704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12705 printf %s "checking for $ac_word... " >&6; }
   12706 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   12707 then :
   12708   printf %s "(cached) " >&6
   12709 else $as_nop
   12710   case $ac_pt_PKG_CONFIG in
   12711   [\\/]* | ?:[\\/]*)
   12712   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12713   ;;
   12714   *)
   12715   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12716 for as_dir in $PATH
   12717 do
   12718   IFS=$as_save_IFS
   12719   case $as_dir in #(((
   12720     '') as_dir=./ ;;
   12721     */) ;;
   12722     *) as_dir=$as_dir/ ;;
   12723   esac
   12724     for ac_exec_ext in '' $ac_executable_extensions; do
   12725   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12726     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12727     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12728     break 2
   12729   fi
   12730 done
   12731   done
   12732 IFS=$as_save_IFS
   12733 
   12734   ;;
   12735 esac
   12736 fi
   12737 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12738 if test -n "$ac_pt_PKG_CONFIG"; then
   12739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12740 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   12741 else
   12742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12743 printf "%s\n" "no" >&6; }
   12744 fi
   12745 
   12746   if test "x$ac_pt_PKG_CONFIG" = x; then
   12747     PKG_CONFIG=""
   12748   else
   12749     case $cross_compiling:$ac_tool_warned in
   12750 yes:)
   12751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12752 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12753 ac_tool_warned=yes ;;
   12754 esac
   12755     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12756   fi
   12757 else
   12758   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12759 fi
   12760 
   12761 fi
   12762 if test -n "$PKG_CONFIG"; then
   12763 	_pkg_min_version=0.9.0
   12764 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12765 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12766 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12767 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12768 printf "%s\n" "yes" >&6; }
   12769 	else
   12770 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12771 printf "%s\n" "no" >&6; }
   12772 		PKG_CONFIG=""
   12773 	fi
   12774 fi
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 # Check whether --enable-selective-werror was given.
   12781 if test ${enable_selective_werror+y}
   12782 then :
   12783   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12784 else $as_nop
   12785   SELECTIVE_WERROR=yes
   12786 fi
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12793 if test "x$SUNCC" = "xyes"; then
   12794     BASE_CFLAGS="-v"
   12795 else
   12796     BASE_CFLAGS=""
   12797 fi
   12798 
   12799 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 xorg_testset_save_CFLAGS="$CFLAGS"
   12814 
   12815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12816 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12817 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12818 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12819 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12820 then :
   12821   printf %s "(cached) " >&6
   12822 else $as_nop
   12823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12824 /* end confdefs.h.  */
   12825 int i;
   12826 _ACEOF
   12827 if ac_fn_c_try_compile "$LINENO"
   12828 then :
   12829   xorg_cv_cc_flag_unknown_warning_option=yes
   12830 else $as_nop
   12831   xorg_cv_cc_flag_unknown_warning_option=no
   12832 fi
   12833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12834 fi
   12835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12836 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12837 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12838 	CFLAGS="$xorg_testset_save_CFLAGS"
   12839 fi
   12840 
   12841 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12842 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12843 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12844 	fi
   12845 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12847 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12848 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   12849 then :
   12850   printf %s "(cached) " >&6
   12851 else $as_nop
   12852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12853 /* end confdefs.h.  */
   12854 int i;
   12855 _ACEOF
   12856 if ac_fn_c_try_compile "$LINENO"
   12857 then :
   12858   xorg_cv_cc_flag_unused_command_line_argument=yes
   12859 else $as_nop
   12860   xorg_cv_cc_flag_unused_command_line_argument=no
   12861 fi
   12862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12863 fi
   12864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12865 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12867 	CFLAGS="$xorg_testset_save_CFLAGS"
   12868 fi
   12869 
   12870 found="no"
   12871 
   12872 	if test $found = "no" ; then
   12873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12875 		fi
   12876 
   12877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12879 		fi
   12880 
   12881 		CFLAGS="$CFLAGS -Wall"
   12882 
   12883 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12884 printf %s "checking if $CC supports -Wall... " >&6; }
   12885 		cacheid=xorg_cv_cc_flag__Wall
   12886 		if eval test \${$cacheid+y}
   12887 then :
   12888   printf %s "(cached) " >&6
   12889 else $as_nop
   12890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12891 /* end confdefs.h.  */
   12892 int i;
   12893 int
   12894 main (void)
   12895 {
   12896 
   12897   ;
   12898   return 0;
   12899 }
   12900 _ACEOF
   12901 if ac_fn_c_try_link "$LINENO"
   12902 then :
   12903   eval $cacheid=yes
   12904 else $as_nop
   12905   eval $cacheid=no
   12906 fi
   12907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12908     conftest$ac_exeext conftest.$ac_ext
   12909 fi
   12910 
   12911 
   12912 		CFLAGS="$xorg_testset_save_CFLAGS"
   12913 
   12914 		eval supported=\$$cacheid
   12915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12916 printf "%s\n" "$supported" >&6; }
   12917 		if test "$supported" = "yes" ; then
   12918 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12919 			found="yes"
   12920 		fi
   12921 	fi
   12922 
   12923 
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 xorg_testset_save_CFLAGS="$CFLAGS"
   12938 
   12939 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12940 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12941 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12942 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12943 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12944 then :
   12945   printf %s "(cached) " >&6
   12946 else $as_nop
   12947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12948 /* end confdefs.h.  */
   12949 int i;
   12950 _ACEOF
   12951 if ac_fn_c_try_compile "$LINENO"
   12952 then :
   12953   xorg_cv_cc_flag_unknown_warning_option=yes
   12954 else $as_nop
   12955   xorg_cv_cc_flag_unknown_warning_option=no
   12956 fi
   12957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12958 fi
   12959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12960 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12962 	CFLAGS="$xorg_testset_save_CFLAGS"
   12963 fi
   12964 
   12965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12968 	fi
   12969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12970 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12971 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12972 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   12973 then :
   12974   printf %s "(cached) " >&6
   12975 else $as_nop
   12976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12977 /* end confdefs.h.  */
   12978 int i;
   12979 _ACEOF
   12980 if ac_fn_c_try_compile "$LINENO"
   12981 then :
   12982   xorg_cv_cc_flag_unused_command_line_argument=yes
   12983 else $as_nop
   12984   xorg_cv_cc_flag_unused_command_line_argument=no
   12985 fi
   12986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12987 fi
   12988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12989 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12990 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12991 	CFLAGS="$xorg_testset_save_CFLAGS"
   12992 fi
   12993 
   12994 found="no"
   12995 
   12996 	if test $found = "no" ; then
   12997 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12998 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12999 		fi
   13000 
   13001 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13002 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13003 		fi
   13004 
   13005 		CFLAGS="$CFLAGS -Wpointer-arith"
   13006 
   13007 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13008 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13009 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13010 		if eval test \${$cacheid+y}
   13011 then :
   13012   printf %s "(cached) " >&6
   13013 else $as_nop
   13014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13015 /* end confdefs.h.  */
   13016 int i;
   13017 int
   13018 main (void)
   13019 {
   13020 
   13021   ;
   13022   return 0;
   13023 }
   13024 _ACEOF
   13025 if ac_fn_c_try_link "$LINENO"
   13026 then :
   13027   eval $cacheid=yes
   13028 else $as_nop
   13029   eval $cacheid=no
   13030 fi
   13031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13032     conftest$ac_exeext conftest.$ac_ext
   13033 fi
   13034 
   13035 
   13036 		CFLAGS="$xorg_testset_save_CFLAGS"
   13037 
   13038 		eval supported=\$$cacheid
   13039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13040 printf "%s\n" "$supported" >&6; }
   13041 		if test "$supported" = "yes" ; then
   13042 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13043 			found="yes"
   13044 		fi
   13045 	fi
   13046 
   13047 
   13048 
   13049 
   13050 
   13051 
   13052 
   13053 
   13054 
   13055 
   13056 
   13057 
   13058 
   13059 
   13060 
   13061 xorg_testset_save_CFLAGS="$CFLAGS"
   13062 
   13063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13064 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13065 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13066 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13067 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13068 then :
   13069   printf %s "(cached) " >&6
   13070 else $as_nop
   13071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13072 /* end confdefs.h.  */
   13073 int i;
   13074 _ACEOF
   13075 if ac_fn_c_try_compile "$LINENO"
   13076 then :
   13077   xorg_cv_cc_flag_unknown_warning_option=yes
   13078 else $as_nop
   13079   xorg_cv_cc_flag_unknown_warning_option=no
   13080 fi
   13081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13082 fi
   13083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13084 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13086 	CFLAGS="$xorg_testset_save_CFLAGS"
   13087 fi
   13088 
   13089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13092 	fi
   13093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13095 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13096 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13097 then :
   13098   printf %s "(cached) " >&6
   13099 else $as_nop
   13100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13101 /* end confdefs.h.  */
   13102 int i;
   13103 _ACEOF
   13104 if ac_fn_c_try_compile "$LINENO"
   13105 then :
   13106   xorg_cv_cc_flag_unused_command_line_argument=yes
   13107 else $as_nop
   13108   xorg_cv_cc_flag_unused_command_line_argument=no
   13109 fi
   13110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13111 fi
   13112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13113 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13115 	CFLAGS="$xorg_testset_save_CFLAGS"
   13116 fi
   13117 
   13118 found="no"
   13119 
   13120 	if test $found = "no" ; then
   13121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13123 		fi
   13124 
   13125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13127 		fi
   13128 
   13129 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13130 
   13131 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13132 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13133 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13134 		if eval test \${$cacheid+y}
   13135 then :
   13136   printf %s "(cached) " >&6
   13137 else $as_nop
   13138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13139 /* end confdefs.h.  */
   13140 int i;
   13141 int
   13142 main (void)
   13143 {
   13144 
   13145   ;
   13146   return 0;
   13147 }
   13148 _ACEOF
   13149 if ac_fn_c_try_link "$LINENO"
   13150 then :
   13151   eval $cacheid=yes
   13152 else $as_nop
   13153   eval $cacheid=no
   13154 fi
   13155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13156     conftest$ac_exeext conftest.$ac_ext
   13157 fi
   13158 
   13159 
   13160 		CFLAGS="$xorg_testset_save_CFLAGS"
   13161 
   13162 		eval supported=\$$cacheid
   13163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13164 printf "%s\n" "$supported" >&6; }
   13165 		if test "$supported" = "yes" ; then
   13166 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13167 			found="yes"
   13168 		fi
   13169 	fi
   13170 
   13171 
   13172 
   13173 
   13174 
   13175 
   13176 
   13177 
   13178 
   13179 
   13180 
   13181 
   13182 
   13183 
   13184 
   13185 xorg_testset_save_CFLAGS="$CFLAGS"
   13186 
   13187 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13188 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13189 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13190 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13191 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13192 then :
   13193   printf %s "(cached) " >&6
   13194 else $as_nop
   13195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13196 /* end confdefs.h.  */
   13197 int i;
   13198 _ACEOF
   13199 if ac_fn_c_try_compile "$LINENO"
   13200 then :
   13201   xorg_cv_cc_flag_unknown_warning_option=yes
   13202 else $as_nop
   13203   xorg_cv_cc_flag_unknown_warning_option=no
   13204 fi
   13205 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13206 fi
   13207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13208 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13210 	CFLAGS="$xorg_testset_save_CFLAGS"
   13211 fi
   13212 
   13213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13216 	fi
   13217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13218 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13219 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13220 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13221 then :
   13222   printf %s "(cached) " >&6
   13223 else $as_nop
   13224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13225 /* end confdefs.h.  */
   13226 int i;
   13227 _ACEOF
   13228 if ac_fn_c_try_compile "$LINENO"
   13229 then :
   13230   xorg_cv_cc_flag_unused_command_line_argument=yes
   13231 else $as_nop
   13232   xorg_cv_cc_flag_unused_command_line_argument=no
   13233 fi
   13234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13235 fi
   13236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13237 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13239 	CFLAGS="$xorg_testset_save_CFLAGS"
   13240 fi
   13241 
   13242 found="no"
   13243 
   13244 	if test $found = "no" ; then
   13245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13247 		fi
   13248 
   13249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13251 		fi
   13252 
   13253 		CFLAGS="$CFLAGS -Wformat=2"
   13254 
   13255 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13256 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13257 		cacheid=xorg_cv_cc_flag__Wformat_2
   13258 		if eval test \${$cacheid+y}
   13259 then :
   13260   printf %s "(cached) " >&6
   13261 else $as_nop
   13262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13263 /* end confdefs.h.  */
   13264 int i;
   13265 int
   13266 main (void)
   13267 {
   13268 
   13269   ;
   13270   return 0;
   13271 }
   13272 _ACEOF
   13273 if ac_fn_c_try_link "$LINENO"
   13274 then :
   13275   eval $cacheid=yes
   13276 else $as_nop
   13277   eval $cacheid=no
   13278 fi
   13279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13280     conftest$ac_exeext conftest.$ac_ext
   13281 fi
   13282 
   13283 
   13284 		CFLAGS="$xorg_testset_save_CFLAGS"
   13285 
   13286 		eval supported=\$$cacheid
   13287 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13288 printf "%s\n" "$supported" >&6; }
   13289 		if test "$supported" = "yes" ; then
   13290 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13291 			found="yes"
   13292 		fi
   13293 	fi
   13294 
   13295 	if test $found = "no" ; then
   13296 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13297 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13298 		fi
   13299 
   13300 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13301 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13302 		fi
   13303 
   13304 		CFLAGS="$CFLAGS -Wformat"
   13305 
   13306 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13307 printf %s "checking if $CC supports -Wformat... " >&6; }
   13308 		cacheid=xorg_cv_cc_flag__Wformat
   13309 		if eval test \${$cacheid+y}
   13310 then :
   13311   printf %s "(cached) " >&6
   13312 else $as_nop
   13313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13314 /* end confdefs.h.  */
   13315 int i;
   13316 int
   13317 main (void)
   13318 {
   13319 
   13320   ;
   13321   return 0;
   13322 }
   13323 _ACEOF
   13324 if ac_fn_c_try_link "$LINENO"
   13325 then :
   13326   eval $cacheid=yes
   13327 else $as_nop
   13328   eval $cacheid=no
   13329 fi
   13330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13331     conftest$ac_exeext conftest.$ac_ext
   13332 fi
   13333 
   13334 
   13335 		CFLAGS="$xorg_testset_save_CFLAGS"
   13336 
   13337 		eval supported=\$$cacheid
   13338 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13339 printf "%s\n" "$supported" >&6; }
   13340 		if test "$supported" = "yes" ; then
   13341 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13342 			found="yes"
   13343 		fi
   13344 	fi
   13345 
   13346 
   13347 
   13348 
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 xorg_testset_save_CFLAGS="$CFLAGS"
   13363 
   13364 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13365 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13366 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13367 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13368 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13369 then :
   13370   printf %s "(cached) " >&6
   13371 else $as_nop
   13372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13373 /* end confdefs.h.  */
   13374 int i;
   13375 _ACEOF
   13376 if ac_fn_c_try_compile "$LINENO"
   13377 then :
   13378   xorg_cv_cc_flag_unknown_warning_option=yes
   13379 else $as_nop
   13380   xorg_cv_cc_flag_unknown_warning_option=no
   13381 fi
   13382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13383 fi
   13384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13385 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13387 	CFLAGS="$xorg_testset_save_CFLAGS"
   13388 fi
   13389 
   13390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13393 	fi
   13394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13395 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13396 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13397 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13398 then :
   13399   printf %s "(cached) " >&6
   13400 else $as_nop
   13401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13402 /* end confdefs.h.  */
   13403 int i;
   13404 _ACEOF
   13405 if ac_fn_c_try_compile "$LINENO"
   13406 then :
   13407   xorg_cv_cc_flag_unused_command_line_argument=yes
   13408 else $as_nop
   13409   xorg_cv_cc_flag_unused_command_line_argument=no
   13410 fi
   13411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13412 fi
   13413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13414 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13415 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13416 	CFLAGS="$xorg_testset_save_CFLAGS"
   13417 fi
   13418 
   13419 found="no"
   13420 
   13421 	if test $found = "no" ; then
   13422 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13423 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13424 		fi
   13425 
   13426 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13427 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13428 		fi
   13429 
   13430 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13431 
   13432 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13433 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13434 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13435 		if eval test \${$cacheid+y}
   13436 then :
   13437   printf %s "(cached) " >&6
   13438 else $as_nop
   13439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13440 /* end confdefs.h.  */
   13441 int i;
   13442 int
   13443 main (void)
   13444 {
   13445 
   13446   ;
   13447   return 0;
   13448 }
   13449 _ACEOF
   13450 if ac_fn_c_try_link "$LINENO"
   13451 then :
   13452   eval $cacheid=yes
   13453 else $as_nop
   13454   eval $cacheid=no
   13455 fi
   13456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13457     conftest$ac_exeext conftest.$ac_ext
   13458 fi
   13459 
   13460 
   13461 		CFLAGS="$xorg_testset_save_CFLAGS"
   13462 
   13463 		eval supported=\$$cacheid
   13464 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13465 printf "%s\n" "$supported" >&6; }
   13466 		if test "$supported" = "yes" ; then
   13467 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13468 			found="yes"
   13469 		fi
   13470 	fi
   13471 
   13472 
   13473 
   13474 
   13475 
   13476 
   13477 
   13478 
   13479 
   13480 
   13481 
   13482 
   13483 
   13484 
   13485 
   13486 xorg_testset_save_CFLAGS="$CFLAGS"
   13487 
   13488 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13489 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13490 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13491 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13492 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13493 then :
   13494   printf %s "(cached) " >&6
   13495 else $as_nop
   13496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13497 /* end confdefs.h.  */
   13498 int i;
   13499 _ACEOF
   13500 if ac_fn_c_try_compile "$LINENO"
   13501 then :
   13502   xorg_cv_cc_flag_unknown_warning_option=yes
   13503 else $as_nop
   13504   xorg_cv_cc_flag_unknown_warning_option=no
   13505 fi
   13506 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13507 fi
   13508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13509 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13510 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13511 	CFLAGS="$xorg_testset_save_CFLAGS"
   13512 fi
   13513 
   13514 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13515 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13516 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13517 	fi
   13518 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13519 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13520 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13521 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13522 then :
   13523   printf %s "(cached) " >&6
   13524 else $as_nop
   13525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13526 /* end confdefs.h.  */
   13527 int i;
   13528 _ACEOF
   13529 if ac_fn_c_try_compile "$LINENO"
   13530 then :
   13531   xorg_cv_cc_flag_unused_command_line_argument=yes
   13532 else $as_nop
   13533   xorg_cv_cc_flag_unused_command_line_argument=no
   13534 fi
   13535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13536 fi
   13537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13538 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13539 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13540 	CFLAGS="$xorg_testset_save_CFLAGS"
   13541 fi
   13542 
   13543 found="no"
   13544 
   13545 	if test $found = "no" ; then
   13546 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13547 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13548 		fi
   13549 
   13550 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13551 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13552 		fi
   13553 
   13554 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13555 
   13556 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13557 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13558 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13559 		if eval test \${$cacheid+y}
   13560 then :
   13561   printf %s "(cached) " >&6
   13562 else $as_nop
   13563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13564 /* end confdefs.h.  */
   13565 int i;
   13566 int
   13567 main (void)
   13568 {
   13569 
   13570   ;
   13571   return 0;
   13572 }
   13573 _ACEOF
   13574 if ac_fn_c_try_link "$LINENO"
   13575 then :
   13576   eval $cacheid=yes
   13577 else $as_nop
   13578   eval $cacheid=no
   13579 fi
   13580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13581     conftest$ac_exeext conftest.$ac_ext
   13582 fi
   13583 
   13584 
   13585 		CFLAGS="$xorg_testset_save_CFLAGS"
   13586 
   13587 		eval supported=\$$cacheid
   13588 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13589 printf "%s\n" "$supported" >&6; }
   13590 		if test "$supported" = "yes" ; then
   13591 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13592 			found="yes"
   13593 		fi
   13594 	fi
   13595 
   13596 
   13597 
   13598 
   13599 
   13600 
   13601 
   13602 
   13603 
   13604 
   13605 
   13606 
   13607 
   13608 
   13609 
   13610 xorg_testset_save_CFLAGS="$CFLAGS"
   13611 
   13612 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13613 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13614 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13615 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13616 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13617 then :
   13618   printf %s "(cached) " >&6
   13619 else $as_nop
   13620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13621 /* end confdefs.h.  */
   13622 int i;
   13623 _ACEOF
   13624 if ac_fn_c_try_compile "$LINENO"
   13625 then :
   13626   xorg_cv_cc_flag_unknown_warning_option=yes
   13627 else $as_nop
   13628   xorg_cv_cc_flag_unknown_warning_option=no
   13629 fi
   13630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13631 fi
   13632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13633 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13634 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13635 	CFLAGS="$xorg_testset_save_CFLAGS"
   13636 fi
   13637 
   13638 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13639 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13640 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13641 	fi
   13642 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13643 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13644 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13645 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13646 then :
   13647   printf %s "(cached) " >&6
   13648 else $as_nop
   13649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13650 /* end confdefs.h.  */
   13651 int i;
   13652 _ACEOF
   13653 if ac_fn_c_try_compile "$LINENO"
   13654 then :
   13655   xorg_cv_cc_flag_unused_command_line_argument=yes
   13656 else $as_nop
   13657   xorg_cv_cc_flag_unused_command_line_argument=no
   13658 fi
   13659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13660 fi
   13661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13662 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13663 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13664 	CFLAGS="$xorg_testset_save_CFLAGS"
   13665 fi
   13666 
   13667 found="no"
   13668 
   13669 	if test $found = "no" ; then
   13670 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13671 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13672 		fi
   13673 
   13674 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13675 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13676 		fi
   13677 
   13678 		CFLAGS="$CFLAGS -Wnested-externs"
   13679 
   13680 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13681 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13682 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13683 		if eval test \${$cacheid+y}
   13684 then :
   13685   printf %s "(cached) " >&6
   13686 else $as_nop
   13687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13688 /* end confdefs.h.  */
   13689 int i;
   13690 int
   13691 main (void)
   13692 {
   13693 
   13694   ;
   13695   return 0;
   13696 }
   13697 _ACEOF
   13698 if ac_fn_c_try_link "$LINENO"
   13699 then :
   13700   eval $cacheid=yes
   13701 else $as_nop
   13702   eval $cacheid=no
   13703 fi
   13704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13705     conftest$ac_exeext conftest.$ac_ext
   13706 fi
   13707 
   13708 
   13709 		CFLAGS="$xorg_testset_save_CFLAGS"
   13710 
   13711 		eval supported=\$$cacheid
   13712 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13713 printf "%s\n" "$supported" >&6; }
   13714 		if test "$supported" = "yes" ; then
   13715 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13716 			found="yes"
   13717 		fi
   13718 	fi
   13719 
   13720 
   13721 
   13722 
   13723 
   13724 
   13725 
   13726 
   13727 
   13728 
   13729 
   13730 
   13731 
   13732 
   13733 
   13734 xorg_testset_save_CFLAGS="$CFLAGS"
   13735 
   13736 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13737 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13738 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13739 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13740 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13741 then :
   13742   printf %s "(cached) " >&6
   13743 else $as_nop
   13744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13745 /* end confdefs.h.  */
   13746 int i;
   13747 _ACEOF
   13748 if ac_fn_c_try_compile "$LINENO"
   13749 then :
   13750   xorg_cv_cc_flag_unknown_warning_option=yes
   13751 else $as_nop
   13752   xorg_cv_cc_flag_unknown_warning_option=no
   13753 fi
   13754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13755 fi
   13756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13757 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13758 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13759 	CFLAGS="$xorg_testset_save_CFLAGS"
   13760 fi
   13761 
   13762 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13763 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13765 	fi
   13766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13767 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13768 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13769 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13770 then :
   13771   printf %s "(cached) " >&6
   13772 else $as_nop
   13773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13774 /* end confdefs.h.  */
   13775 int i;
   13776 _ACEOF
   13777 if ac_fn_c_try_compile "$LINENO"
   13778 then :
   13779   xorg_cv_cc_flag_unused_command_line_argument=yes
   13780 else $as_nop
   13781   xorg_cv_cc_flag_unused_command_line_argument=no
   13782 fi
   13783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13784 fi
   13785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13786 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13787 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13788 	CFLAGS="$xorg_testset_save_CFLAGS"
   13789 fi
   13790 
   13791 found="no"
   13792 
   13793 	if test $found = "no" ; then
   13794 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13795 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13796 		fi
   13797 
   13798 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13799 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13800 		fi
   13801 
   13802 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13803 
   13804 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13805 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   13806 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13807 		if eval test \${$cacheid+y}
   13808 then :
   13809   printf %s "(cached) " >&6
   13810 else $as_nop
   13811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13812 /* end confdefs.h.  */
   13813 int i;
   13814 int
   13815 main (void)
   13816 {
   13817 
   13818   ;
   13819   return 0;
   13820 }
   13821 _ACEOF
   13822 if ac_fn_c_try_link "$LINENO"
   13823 then :
   13824   eval $cacheid=yes
   13825 else $as_nop
   13826   eval $cacheid=no
   13827 fi
   13828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13829     conftest$ac_exeext conftest.$ac_ext
   13830 fi
   13831 
   13832 
   13833 		CFLAGS="$xorg_testset_save_CFLAGS"
   13834 
   13835 		eval supported=\$$cacheid
   13836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13837 printf "%s\n" "$supported" >&6; }
   13838 		if test "$supported" = "yes" ; then
   13839 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13840 			found="yes"
   13841 		fi
   13842 	fi
   13843 
   13844 
   13845 
   13846 
   13847 
   13848 
   13849 
   13850 
   13851 
   13852 
   13853 
   13854 
   13855 
   13856 
   13857 
   13858 xorg_testset_save_CFLAGS="$CFLAGS"
   13859 
   13860 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13861 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13862 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13863 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13864 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13865 then :
   13866   printf %s "(cached) " >&6
   13867 else $as_nop
   13868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13869 /* end confdefs.h.  */
   13870 int i;
   13871 _ACEOF
   13872 if ac_fn_c_try_compile "$LINENO"
   13873 then :
   13874   xorg_cv_cc_flag_unknown_warning_option=yes
   13875 else $as_nop
   13876   xorg_cv_cc_flag_unknown_warning_option=no
   13877 fi
   13878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13879 fi
   13880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13881 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13882 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13883 	CFLAGS="$xorg_testset_save_CFLAGS"
   13884 fi
   13885 
   13886 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13887 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13888 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13889 	fi
   13890 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13891 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13892 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13893 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13894 then :
   13895   printf %s "(cached) " >&6
   13896 else $as_nop
   13897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13898 /* end confdefs.h.  */
   13899 int i;
   13900 _ACEOF
   13901 if ac_fn_c_try_compile "$LINENO"
   13902 then :
   13903   xorg_cv_cc_flag_unused_command_line_argument=yes
   13904 else $as_nop
   13905   xorg_cv_cc_flag_unused_command_line_argument=no
   13906 fi
   13907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13908 fi
   13909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13910 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13911 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13912 	CFLAGS="$xorg_testset_save_CFLAGS"
   13913 fi
   13914 
   13915 found="no"
   13916 
   13917 	if test $found = "no" ; then
   13918 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13919 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13920 		fi
   13921 
   13922 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13923 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13924 		fi
   13925 
   13926 		CFLAGS="$CFLAGS -Wold-style-definition"
   13927 
   13928 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13929 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   13930 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13931 		if eval test \${$cacheid+y}
   13932 then :
   13933   printf %s "(cached) " >&6
   13934 else $as_nop
   13935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13936 /* end confdefs.h.  */
   13937 int i;
   13938 int
   13939 main (void)
   13940 {
   13941 
   13942   ;
   13943   return 0;
   13944 }
   13945 _ACEOF
   13946 if ac_fn_c_try_link "$LINENO"
   13947 then :
   13948   eval $cacheid=yes
   13949 else $as_nop
   13950   eval $cacheid=no
   13951 fi
   13952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13953     conftest$ac_exeext conftest.$ac_ext
   13954 fi
   13955 
   13956 
   13957 		CFLAGS="$xorg_testset_save_CFLAGS"
   13958 
   13959 		eval supported=\$$cacheid
   13960 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13961 printf "%s\n" "$supported" >&6; }
   13962 		if test "$supported" = "yes" ; then
   13963 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13964 			found="yes"
   13965 		fi
   13966 	fi
   13967 
   13968 	if test $found = "no" ; then
   13969 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13970 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13971 		fi
   13972 
   13973 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13974 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13975 		fi
   13976 
   13977 		CFLAGS="$CFLAGS -fd"
   13978 
   13979 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13980 printf %s "checking if $CC supports -fd... " >&6; }
   13981 		cacheid=xorg_cv_cc_flag__fd
   13982 		if eval test \${$cacheid+y}
   13983 then :
   13984   printf %s "(cached) " >&6
   13985 else $as_nop
   13986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13987 /* end confdefs.h.  */
   13988 int i;
   13989 int
   13990 main (void)
   13991 {
   13992 
   13993   ;
   13994   return 0;
   13995 }
   13996 _ACEOF
   13997 if ac_fn_c_try_link "$LINENO"
   13998 then :
   13999   eval $cacheid=yes
   14000 else $as_nop
   14001   eval $cacheid=no
   14002 fi
   14003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14004     conftest$ac_exeext conftest.$ac_ext
   14005 fi
   14006 
   14007 
   14008 		CFLAGS="$xorg_testset_save_CFLAGS"
   14009 
   14010 		eval supported=\$$cacheid
   14011 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14012 printf "%s\n" "$supported" >&6; }
   14013 		if test "$supported" = "yes" ; then
   14014 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14015 			found="yes"
   14016 		fi
   14017 	fi
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 
   14033 xorg_testset_save_CFLAGS="$CFLAGS"
   14034 
   14035 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14036 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14037 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14038 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14039 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14040 then :
   14041   printf %s "(cached) " >&6
   14042 else $as_nop
   14043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14044 /* end confdefs.h.  */
   14045 int i;
   14046 _ACEOF
   14047 if ac_fn_c_try_compile "$LINENO"
   14048 then :
   14049   xorg_cv_cc_flag_unknown_warning_option=yes
   14050 else $as_nop
   14051   xorg_cv_cc_flag_unknown_warning_option=no
   14052 fi
   14053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14054 fi
   14055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14056 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14058 	CFLAGS="$xorg_testset_save_CFLAGS"
   14059 fi
   14060 
   14061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14064 	fi
   14065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14066 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14067 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14068 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14069 then :
   14070   printf %s "(cached) " >&6
   14071 else $as_nop
   14072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14073 /* end confdefs.h.  */
   14074 int i;
   14075 _ACEOF
   14076 if ac_fn_c_try_compile "$LINENO"
   14077 then :
   14078   xorg_cv_cc_flag_unused_command_line_argument=yes
   14079 else $as_nop
   14080   xorg_cv_cc_flag_unused_command_line_argument=no
   14081 fi
   14082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14083 fi
   14084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14085 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14086 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14087 	CFLAGS="$xorg_testset_save_CFLAGS"
   14088 fi
   14089 
   14090 found="no"
   14091 
   14092 	if test $found = "no" ; then
   14093 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14094 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14095 		fi
   14096 
   14097 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14098 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14099 		fi
   14100 
   14101 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14102 
   14103 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14104 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14105 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14106 		if eval test \${$cacheid+y}
   14107 then :
   14108   printf %s "(cached) " >&6
   14109 else $as_nop
   14110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14111 /* end confdefs.h.  */
   14112 int i;
   14113 int
   14114 main (void)
   14115 {
   14116 
   14117   ;
   14118   return 0;
   14119 }
   14120 _ACEOF
   14121 if ac_fn_c_try_link "$LINENO"
   14122 then :
   14123   eval $cacheid=yes
   14124 else $as_nop
   14125   eval $cacheid=no
   14126 fi
   14127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14128     conftest$ac_exeext conftest.$ac_ext
   14129 fi
   14130 
   14131 
   14132 		CFLAGS="$xorg_testset_save_CFLAGS"
   14133 
   14134 		eval supported=\$$cacheid
   14135 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14136 printf "%s\n" "$supported" >&6; }
   14137 		if test "$supported" = "yes" ; then
   14138 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14139 			found="yes"
   14140 		fi
   14141 	fi
   14142 
   14143 
   14144 
   14145 
   14146 
   14147 # This chunk adds additional warnings that could catch undesired effects.
   14148 
   14149 
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 
   14160 
   14161 xorg_testset_save_CFLAGS="$CFLAGS"
   14162 
   14163 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14164 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14165 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14166 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14167 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14168 then :
   14169   printf %s "(cached) " >&6
   14170 else $as_nop
   14171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14172 /* end confdefs.h.  */
   14173 int i;
   14174 _ACEOF
   14175 if ac_fn_c_try_compile "$LINENO"
   14176 then :
   14177   xorg_cv_cc_flag_unknown_warning_option=yes
   14178 else $as_nop
   14179   xorg_cv_cc_flag_unknown_warning_option=no
   14180 fi
   14181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14182 fi
   14183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14184 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14185 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14186 	CFLAGS="$xorg_testset_save_CFLAGS"
   14187 fi
   14188 
   14189 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14190 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14191 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14192 	fi
   14193 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14194 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14195 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14196 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14197 then :
   14198   printf %s "(cached) " >&6
   14199 else $as_nop
   14200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14201 /* end confdefs.h.  */
   14202 int i;
   14203 _ACEOF
   14204 if ac_fn_c_try_compile "$LINENO"
   14205 then :
   14206   xorg_cv_cc_flag_unused_command_line_argument=yes
   14207 else $as_nop
   14208   xorg_cv_cc_flag_unused_command_line_argument=no
   14209 fi
   14210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14211 fi
   14212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14213 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14214 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14215 	CFLAGS="$xorg_testset_save_CFLAGS"
   14216 fi
   14217 
   14218 found="no"
   14219 
   14220 	if test $found = "no" ; then
   14221 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14222 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14223 		fi
   14224 
   14225 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14226 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14227 		fi
   14228 
   14229 		CFLAGS="$CFLAGS -Wunused"
   14230 
   14231 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14232 printf %s "checking if $CC supports -Wunused... " >&6; }
   14233 		cacheid=xorg_cv_cc_flag__Wunused
   14234 		if eval test \${$cacheid+y}
   14235 then :
   14236   printf %s "(cached) " >&6
   14237 else $as_nop
   14238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14239 /* end confdefs.h.  */
   14240 int i;
   14241 int
   14242 main (void)
   14243 {
   14244 
   14245   ;
   14246   return 0;
   14247 }
   14248 _ACEOF
   14249 if ac_fn_c_try_link "$LINENO"
   14250 then :
   14251   eval $cacheid=yes
   14252 else $as_nop
   14253   eval $cacheid=no
   14254 fi
   14255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14256     conftest$ac_exeext conftest.$ac_ext
   14257 fi
   14258 
   14259 
   14260 		CFLAGS="$xorg_testset_save_CFLAGS"
   14261 
   14262 		eval supported=\$$cacheid
   14263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14264 printf "%s\n" "$supported" >&6; }
   14265 		if test "$supported" = "yes" ; then
   14266 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14267 			found="yes"
   14268 		fi
   14269 	fi
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 
   14284 
   14285 xorg_testset_save_CFLAGS="$CFLAGS"
   14286 
   14287 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14288 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14289 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14290 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14291 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14292 then :
   14293   printf %s "(cached) " >&6
   14294 else $as_nop
   14295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14296 /* end confdefs.h.  */
   14297 int i;
   14298 _ACEOF
   14299 if ac_fn_c_try_compile "$LINENO"
   14300 then :
   14301   xorg_cv_cc_flag_unknown_warning_option=yes
   14302 else $as_nop
   14303   xorg_cv_cc_flag_unknown_warning_option=no
   14304 fi
   14305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14306 fi
   14307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14308 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14309 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14310 	CFLAGS="$xorg_testset_save_CFLAGS"
   14311 fi
   14312 
   14313 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14314 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14315 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14316 	fi
   14317 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14318 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14319 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14320 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14321 then :
   14322   printf %s "(cached) " >&6
   14323 else $as_nop
   14324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14325 /* end confdefs.h.  */
   14326 int i;
   14327 _ACEOF
   14328 if ac_fn_c_try_compile "$LINENO"
   14329 then :
   14330   xorg_cv_cc_flag_unused_command_line_argument=yes
   14331 else $as_nop
   14332   xorg_cv_cc_flag_unused_command_line_argument=no
   14333 fi
   14334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14335 fi
   14336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14337 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14338 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14339 	CFLAGS="$xorg_testset_save_CFLAGS"
   14340 fi
   14341 
   14342 found="no"
   14343 
   14344 	if test $found = "no" ; then
   14345 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14346 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14347 		fi
   14348 
   14349 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14350 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14351 		fi
   14352 
   14353 		CFLAGS="$CFLAGS -Wuninitialized"
   14354 
   14355 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14356 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14357 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14358 		if eval test \${$cacheid+y}
   14359 then :
   14360   printf %s "(cached) " >&6
   14361 else $as_nop
   14362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14363 /* end confdefs.h.  */
   14364 int i;
   14365 int
   14366 main (void)
   14367 {
   14368 
   14369   ;
   14370   return 0;
   14371 }
   14372 _ACEOF
   14373 if ac_fn_c_try_link "$LINENO"
   14374 then :
   14375   eval $cacheid=yes
   14376 else $as_nop
   14377   eval $cacheid=no
   14378 fi
   14379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14380     conftest$ac_exeext conftest.$ac_ext
   14381 fi
   14382 
   14383 
   14384 		CFLAGS="$xorg_testset_save_CFLAGS"
   14385 
   14386 		eval supported=\$$cacheid
   14387 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14388 printf "%s\n" "$supported" >&6; }
   14389 		if test "$supported" = "yes" ; then
   14390 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14391 			found="yes"
   14392 		fi
   14393 	fi
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 xorg_testset_save_CFLAGS="$CFLAGS"
   14410 
   14411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14413 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14414 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14415 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14416 then :
   14417   printf %s "(cached) " >&6
   14418 else $as_nop
   14419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14420 /* end confdefs.h.  */
   14421 int i;
   14422 _ACEOF
   14423 if ac_fn_c_try_compile "$LINENO"
   14424 then :
   14425   xorg_cv_cc_flag_unknown_warning_option=yes
   14426 else $as_nop
   14427   xorg_cv_cc_flag_unknown_warning_option=no
   14428 fi
   14429 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14430 fi
   14431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14432 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14434 	CFLAGS="$xorg_testset_save_CFLAGS"
   14435 fi
   14436 
   14437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14440 	fi
   14441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14442 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14443 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14444 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14445 then :
   14446   printf %s "(cached) " >&6
   14447 else $as_nop
   14448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14449 /* end confdefs.h.  */
   14450 int i;
   14451 _ACEOF
   14452 if ac_fn_c_try_compile "$LINENO"
   14453 then :
   14454   xorg_cv_cc_flag_unused_command_line_argument=yes
   14455 else $as_nop
   14456   xorg_cv_cc_flag_unused_command_line_argument=no
   14457 fi
   14458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14459 fi
   14460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14461 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14462 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14463 	CFLAGS="$xorg_testset_save_CFLAGS"
   14464 fi
   14465 
   14466 found="no"
   14467 
   14468 	if test $found = "no" ; then
   14469 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14471 		fi
   14472 
   14473 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14475 		fi
   14476 
   14477 		CFLAGS="$CFLAGS -Wshadow"
   14478 
   14479 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14480 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14481 		cacheid=xorg_cv_cc_flag__Wshadow
   14482 		if eval test \${$cacheid+y}
   14483 then :
   14484   printf %s "(cached) " >&6
   14485 else $as_nop
   14486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14487 /* end confdefs.h.  */
   14488 int i;
   14489 int
   14490 main (void)
   14491 {
   14492 
   14493   ;
   14494   return 0;
   14495 }
   14496 _ACEOF
   14497 if ac_fn_c_try_link "$LINENO"
   14498 then :
   14499   eval $cacheid=yes
   14500 else $as_nop
   14501   eval $cacheid=no
   14502 fi
   14503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14504     conftest$ac_exeext conftest.$ac_ext
   14505 fi
   14506 
   14507 
   14508 		CFLAGS="$xorg_testset_save_CFLAGS"
   14509 
   14510 		eval supported=\$$cacheid
   14511 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14512 printf "%s\n" "$supported" >&6; }
   14513 		if test "$supported" = "yes" ; then
   14514 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14515 			found="yes"
   14516 		fi
   14517 	fi
   14518 
   14519 
   14520 
   14521 
   14522 
   14523 
   14524 
   14525 
   14526 
   14527 
   14528 
   14529 
   14530 
   14531 
   14532 
   14533 xorg_testset_save_CFLAGS="$CFLAGS"
   14534 
   14535 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14536 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14537 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14538 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14539 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14540 then :
   14541   printf %s "(cached) " >&6
   14542 else $as_nop
   14543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14544 /* end confdefs.h.  */
   14545 int i;
   14546 _ACEOF
   14547 if ac_fn_c_try_compile "$LINENO"
   14548 then :
   14549   xorg_cv_cc_flag_unknown_warning_option=yes
   14550 else $as_nop
   14551   xorg_cv_cc_flag_unknown_warning_option=no
   14552 fi
   14553 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14554 fi
   14555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14556 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14557 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14558 	CFLAGS="$xorg_testset_save_CFLAGS"
   14559 fi
   14560 
   14561 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14562 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14563 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14564 	fi
   14565 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14566 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14567 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14568 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14569 then :
   14570   printf %s "(cached) " >&6
   14571 else $as_nop
   14572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14573 /* end confdefs.h.  */
   14574 int i;
   14575 _ACEOF
   14576 if ac_fn_c_try_compile "$LINENO"
   14577 then :
   14578   xorg_cv_cc_flag_unused_command_line_argument=yes
   14579 else $as_nop
   14580   xorg_cv_cc_flag_unused_command_line_argument=no
   14581 fi
   14582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14583 fi
   14584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14585 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14586 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14587 	CFLAGS="$xorg_testset_save_CFLAGS"
   14588 fi
   14589 
   14590 found="no"
   14591 
   14592 	if test $found = "no" ; then
   14593 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14594 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14595 		fi
   14596 
   14597 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14598 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14599 		fi
   14600 
   14601 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14602 
   14603 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14604 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14605 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14606 		if eval test \${$cacheid+y}
   14607 then :
   14608   printf %s "(cached) " >&6
   14609 else $as_nop
   14610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14611 /* end confdefs.h.  */
   14612 int i;
   14613 int
   14614 main (void)
   14615 {
   14616 
   14617   ;
   14618   return 0;
   14619 }
   14620 _ACEOF
   14621 if ac_fn_c_try_link "$LINENO"
   14622 then :
   14623   eval $cacheid=yes
   14624 else $as_nop
   14625   eval $cacheid=no
   14626 fi
   14627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14628     conftest$ac_exeext conftest.$ac_ext
   14629 fi
   14630 
   14631 
   14632 		CFLAGS="$xorg_testset_save_CFLAGS"
   14633 
   14634 		eval supported=\$$cacheid
   14635 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14636 printf "%s\n" "$supported" >&6; }
   14637 		if test "$supported" = "yes" ; then
   14638 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14639 			found="yes"
   14640 		fi
   14641 	fi
   14642 
   14643 
   14644 
   14645 
   14646 
   14647 
   14648 
   14649 
   14650 
   14651 
   14652 
   14653 
   14654 
   14655 
   14656 
   14657 xorg_testset_save_CFLAGS="$CFLAGS"
   14658 
   14659 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14660 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14661 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14662 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14663 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14664 then :
   14665   printf %s "(cached) " >&6
   14666 else $as_nop
   14667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14668 /* end confdefs.h.  */
   14669 int i;
   14670 _ACEOF
   14671 if ac_fn_c_try_compile "$LINENO"
   14672 then :
   14673   xorg_cv_cc_flag_unknown_warning_option=yes
   14674 else $as_nop
   14675   xorg_cv_cc_flag_unknown_warning_option=no
   14676 fi
   14677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14678 fi
   14679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14680 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14681 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14682 	CFLAGS="$xorg_testset_save_CFLAGS"
   14683 fi
   14684 
   14685 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14686 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14687 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14688 	fi
   14689 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14690 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14691 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14692 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14693 then :
   14694   printf %s "(cached) " >&6
   14695 else $as_nop
   14696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14697 /* end confdefs.h.  */
   14698 int i;
   14699 _ACEOF
   14700 if ac_fn_c_try_compile "$LINENO"
   14701 then :
   14702   xorg_cv_cc_flag_unused_command_line_argument=yes
   14703 else $as_nop
   14704   xorg_cv_cc_flag_unused_command_line_argument=no
   14705 fi
   14706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14707 fi
   14708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14709 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14710 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14711 	CFLAGS="$xorg_testset_save_CFLAGS"
   14712 fi
   14713 
   14714 found="no"
   14715 
   14716 	if test $found = "no" ; then
   14717 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14718 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14719 		fi
   14720 
   14721 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14722 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14723 		fi
   14724 
   14725 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14726 
   14727 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14728 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14729 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14730 		if eval test \${$cacheid+y}
   14731 then :
   14732   printf %s "(cached) " >&6
   14733 else $as_nop
   14734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14735 /* end confdefs.h.  */
   14736 int i;
   14737 int
   14738 main (void)
   14739 {
   14740 
   14741   ;
   14742   return 0;
   14743 }
   14744 _ACEOF
   14745 if ac_fn_c_try_link "$LINENO"
   14746 then :
   14747   eval $cacheid=yes
   14748 else $as_nop
   14749   eval $cacheid=no
   14750 fi
   14751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14752     conftest$ac_exeext conftest.$ac_ext
   14753 fi
   14754 
   14755 
   14756 		CFLAGS="$xorg_testset_save_CFLAGS"
   14757 
   14758 		eval supported=\$$cacheid
   14759 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14760 printf "%s\n" "$supported" >&6; }
   14761 		if test "$supported" = "yes" ; then
   14762 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14763 			found="yes"
   14764 		fi
   14765 	fi
   14766 
   14767 
   14768 
   14769 
   14770 
   14771 
   14772 
   14773 
   14774 
   14775 
   14776 
   14777 
   14778 
   14779 
   14780 
   14781 xorg_testset_save_CFLAGS="$CFLAGS"
   14782 
   14783 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14784 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14785 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14786 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14787 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14788 then :
   14789   printf %s "(cached) " >&6
   14790 else $as_nop
   14791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14792 /* end confdefs.h.  */
   14793 int i;
   14794 _ACEOF
   14795 if ac_fn_c_try_compile "$LINENO"
   14796 then :
   14797   xorg_cv_cc_flag_unknown_warning_option=yes
   14798 else $as_nop
   14799   xorg_cv_cc_flag_unknown_warning_option=no
   14800 fi
   14801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14802 fi
   14803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14804 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14805 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14806 	CFLAGS="$xorg_testset_save_CFLAGS"
   14807 fi
   14808 
   14809 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14810 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14811 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14812 	fi
   14813 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14814 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14815 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14816 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14817 then :
   14818   printf %s "(cached) " >&6
   14819 else $as_nop
   14820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14821 /* end confdefs.h.  */
   14822 int i;
   14823 _ACEOF
   14824 if ac_fn_c_try_compile "$LINENO"
   14825 then :
   14826   xorg_cv_cc_flag_unused_command_line_argument=yes
   14827 else $as_nop
   14828   xorg_cv_cc_flag_unused_command_line_argument=no
   14829 fi
   14830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14831 fi
   14832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14833 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14835 	CFLAGS="$xorg_testset_save_CFLAGS"
   14836 fi
   14837 
   14838 found="no"
   14839 
   14840 	if test $found = "no" ; then
   14841 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14843 		fi
   14844 
   14845 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14847 		fi
   14848 
   14849 		CFLAGS="$CFLAGS -Wredundant-decls"
   14850 
   14851 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14852 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   14853 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14854 		if eval test \${$cacheid+y}
   14855 then :
   14856   printf %s "(cached) " >&6
   14857 else $as_nop
   14858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14859 /* end confdefs.h.  */
   14860 int i;
   14861 int
   14862 main (void)
   14863 {
   14864 
   14865   ;
   14866   return 0;
   14867 }
   14868 _ACEOF
   14869 if ac_fn_c_try_link "$LINENO"
   14870 then :
   14871   eval $cacheid=yes
   14872 else $as_nop
   14873   eval $cacheid=no
   14874 fi
   14875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14876     conftest$ac_exeext conftest.$ac_ext
   14877 fi
   14878 
   14879 
   14880 		CFLAGS="$xorg_testset_save_CFLAGS"
   14881 
   14882 		eval supported=\$$cacheid
   14883 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14884 printf "%s\n" "$supported" >&6; }
   14885 		if test "$supported" = "yes" ; then
   14886 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14887 			found="yes"
   14888 		fi
   14889 	fi
   14890 
   14891 
   14892 
   14893 
   14894 
   14895 
   14896 
   14897 
   14898 
   14899 
   14900 
   14901 
   14902 
   14903 
   14904 
   14905 xorg_testset_save_CFLAGS="$CFLAGS"
   14906 
   14907 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14908 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14909 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14910 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14911 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14912 then :
   14913   printf %s "(cached) " >&6
   14914 else $as_nop
   14915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14916 /* end confdefs.h.  */
   14917 int i;
   14918 _ACEOF
   14919 if ac_fn_c_try_compile "$LINENO"
   14920 then :
   14921   xorg_cv_cc_flag_unknown_warning_option=yes
   14922 else $as_nop
   14923   xorg_cv_cc_flag_unknown_warning_option=no
   14924 fi
   14925 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14926 fi
   14927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14928 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14929 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14930 	CFLAGS="$xorg_testset_save_CFLAGS"
   14931 fi
   14932 
   14933 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14934 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14935 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14936 	fi
   14937 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14938 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14939 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14940 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14941 then :
   14942   printf %s "(cached) " >&6
   14943 else $as_nop
   14944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14945 /* end confdefs.h.  */
   14946 int i;
   14947 _ACEOF
   14948 if ac_fn_c_try_compile "$LINENO"
   14949 then :
   14950   xorg_cv_cc_flag_unused_command_line_argument=yes
   14951 else $as_nop
   14952   xorg_cv_cc_flag_unused_command_line_argument=no
   14953 fi
   14954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14955 fi
   14956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14957 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14958 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14959 	CFLAGS="$xorg_testset_save_CFLAGS"
   14960 fi
   14961 
   14962 found="no"
   14963 
   14964 	if test $found = "no" ; then
   14965 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14966 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14967 		fi
   14968 
   14969 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14970 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14971 		fi
   14972 
   14973 		CFLAGS="$CFLAGS -Wlogical-op"
   14974 
   14975 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14976 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   14977 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14978 		if eval test \${$cacheid+y}
   14979 then :
   14980   printf %s "(cached) " >&6
   14981 else $as_nop
   14982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14983 /* end confdefs.h.  */
   14984 int i;
   14985 int
   14986 main (void)
   14987 {
   14988 
   14989   ;
   14990   return 0;
   14991 }
   14992 _ACEOF
   14993 if ac_fn_c_try_link "$LINENO"
   14994 then :
   14995   eval $cacheid=yes
   14996 else $as_nop
   14997   eval $cacheid=no
   14998 fi
   14999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15000     conftest$ac_exeext conftest.$ac_ext
   15001 fi
   15002 
   15003 
   15004 		CFLAGS="$xorg_testset_save_CFLAGS"
   15005 
   15006 		eval supported=\$$cacheid
   15007 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15008 printf "%s\n" "$supported" >&6; }
   15009 		if test "$supported" = "yes" ; then
   15010 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15011 			found="yes"
   15012 		fi
   15013 	fi
   15014 
   15015 
   15016 
   15017 # These are currently disabled because they are noisy.  They will be enabled
   15018 # in the future once the codebase is sufficiently modernized to silence
   15019 # them.  For now, I don't want them to drown out the other warnings.
   15020 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15021 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15022 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15023 
   15024 # Turn some warnings into errors, so we don't accidently get successful builds
   15025 # when there are problems that should be fixed.
   15026 
   15027 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 xorg_testset_save_CFLAGS="$CFLAGS"
   15042 
   15043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15045 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15046 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15047 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15048 then :
   15049   printf %s "(cached) " >&6
   15050 else $as_nop
   15051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15052 /* end confdefs.h.  */
   15053 int i;
   15054 _ACEOF
   15055 if ac_fn_c_try_compile "$LINENO"
   15056 then :
   15057   xorg_cv_cc_flag_unknown_warning_option=yes
   15058 else $as_nop
   15059   xorg_cv_cc_flag_unknown_warning_option=no
   15060 fi
   15061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15062 fi
   15063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15064 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15065 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15066 	CFLAGS="$xorg_testset_save_CFLAGS"
   15067 fi
   15068 
   15069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15070 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15072 	fi
   15073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15074 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15075 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15076 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15077 then :
   15078   printf %s "(cached) " >&6
   15079 else $as_nop
   15080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15081 /* end confdefs.h.  */
   15082 int i;
   15083 _ACEOF
   15084 if ac_fn_c_try_compile "$LINENO"
   15085 then :
   15086   xorg_cv_cc_flag_unused_command_line_argument=yes
   15087 else $as_nop
   15088   xorg_cv_cc_flag_unused_command_line_argument=no
   15089 fi
   15090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15091 fi
   15092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15093 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15094 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15095 	CFLAGS="$xorg_testset_save_CFLAGS"
   15096 fi
   15097 
   15098 found="no"
   15099 
   15100 	if test $found = "no" ; then
   15101 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15103 		fi
   15104 
   15105 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15107 		fi
   15108 
   15109 		CFLAGS="$CFLAGS -Werror=implicit"
   15110 
   15111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15112 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15113 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15114 		if eval test \${$cacheid+y}
   15115 then :
   15116   printf %s "(cached) " >&6
   15117 else $as_nop
   15118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15119 /* end confdefs.h.  */
   15120 int i;
   15121 int
   15122 main (void)
   15123 {
   15124 
   15125   ;
   15126   return 0;
   15127 }
   15128 _ACEOF
   15129 if ac_fn_c_try_link "$LINENO"
   15130 then :
   15131   eval $cacheid=yes
   15132 else $as_nop
   15133   eval $cacheid=no
   15134 fi
   15135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15136     conftest$ac_exeext conftest.$ac_ext
   15137 fi
   15138 
   15139 
   15140 		CFLAGS="$xorg_testset_save_CFLAGS"
   15141 
   15142 		eval supported=\$$cacheid
   15143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15144 printf "%s\n" "$supported" >&6; }
   15145 		if test "$supported" = "yes" ; then
   15146 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15147 			found="yes"
   15148 		fi
   15149 	fi
   15150 
   15151 	if test $found = "no" ; then
   15152 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15154 		fi
   15155 
   15156 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15158 		fi
   15159 
   15160 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15161 
   15162 		{ 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
   15163 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15164 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15165 		if eval test \${$cacheid+y}
   15166 then :
   15167   printf %s "(cached) " >&6
   15168 else $as_nop
   15169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15170 /* end confdefs.h.  */
   15171 int i;
   15172 int
   15173 main (void)
   15174 {
   15175 
   15176   ;
   15177   return 0;
   15178 }
   15179 _ACEOF
   15180 if ac_fn_c_try_link "$LINENO"
   15181 then :
   15182   eval $cacheid=yes
   15183 else $as_nop
   15184   eval $cacheid=no
   15185 fi
   15186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15187     conftest$ac_exeext conftest.$ac_ext
   15188 fi
   15189 
   15190 
   15191 		CFLAGS="$xorg_testset_save_CFLAGS"
   15192 
   15193 		eval supported=\$$cacheid
   15194 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15195 printf "%s\n" "$supported" >&6; }
   15196 		if test "$supported" = "yes" ; then
   15197 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15198 			found="yes"
   15199 		fi
   15200 	fi
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211 
   15212 
   15213 
   15214 
   15215 
   15216 xorg_testset_save_CFLAGS="$CFLAGS"
   15217 
   15218 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15219 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15220 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15221 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15222 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15223 then :
   15224   printf %s "(cached) " >&6
   15225 else $as_nop
   15226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15227 /* end confdefs.h.  */
   15228 int i;
   15229 _ACEOF
   15230 if ac_fn_c_try_compile "$LINENO"
   15231 then :
   15232   xorg_cv_cc_flag_unknown_warning_option=yes
   15233 else $as_nop
   15234   xorg_cv_cc_flag_unknown_warning_option=no
   15235 fi
   15236 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15237 fi
   15238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15239 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15240 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15241 	CFLAGS="$xorg_testset_save_CFLAGS"
   15242 fi
   15243 
   15244 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15245 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15246 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15247 	fi
   15248 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15249 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15250 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15251 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15252 then :
   15253   printf %s "(cached) " >&6
   15254 else $as_nop
   15255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15256 /* end confdefs.h.  */
   15257 int i;
   15258 _ACEOF
   15259 if ac_fn_c_try_compile "$LINENO"
   15260 then :
   15261   xorg_cv_cc_flag_unused_command_line_argument=yes
   15262 else $as_nop
   15263   xorg_cv_cc_flag_unused_command_line_argument=no
   15264 fi
   15265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15266 fi
   15267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15268 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15269 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15270 	CFLAGS="$xorg_testset_save_CFLAGS"
   15271 fi
   15272 
   15273 found="no"
   15274 
   15275 	if test $found = "no" ; then
   15276 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15277 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15278 		fi
   15279 
   15280 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15281 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15282 		fi
   15283 
   15284 		CFLAGS="$CFLAGS -Werror=nonnull"
   15285 
   15286 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15287 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15288 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15289 		if eval test \${$cacheid+y}
   15290 then :
   15291   printf %s "(cached) " >&6
   15292 else $as_nop
   15293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15294 /* end confdefs.h.  */
   15295 int i;
   15296 int
   15297 main (void)
   15298 {
   15299 
   15300   ;
   15301   return 0;
   15302 }
   15303 _ACEOF
   15304 if ac_fn_c_try_link "$LINENO"
   15305 then :
   15306   eval $cacheid=yes
   15307 else $as_nop
   15308   eval $cacheid=no
   15309 fi
   15310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15311     conftest$ac_exeext conftest.$ac_ext
   15312 fi
   15313 
   15314 
   15315 		CFLAGS="$xorg_testset_save_CFLAGS"
   15316 
   15317 		eval supported=\$$cacheid
   15318 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15319 printf "%s\n" "$supported" >&6; }
   15320 		if test "$supported" = "yes" ; then
   15321 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15322 			found="yes"
   15323 		fi
   15324 	fi
   15325 
   15326 
   15327 
   15328 
   15329 
   15330 
   15331 
   15332 
   15333 
   15334 
   15335 
   15336 
   15337 
   15338 
   15339 
   15340 xorg_testset_save_CFLAGS="$CFLAGS"
   15341 
   15342 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15343 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15344 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15345 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15346 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15347 then :
   15348   printf %s "(cached) " >&6
   15349 else $as_nop
   15350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15351 /* end confdefs.h.  */
   15352 int i;
   15353 _ACEOF
   15354 if ac_fn_c_try_compile "$LINENO"
   15355 then :
   15356   xorg_cv_cc_flag_unknown_warning_option=yes
   15357 else $as_nop
   15358   xorg_cv_cc_flag_unknown_warning_option=no
   15359 fi
   15360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15361 fi
   15362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15363 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15364 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15365 	CFLAGS="$xorg_testset_save_CFLAGS"
   15366 fi
   15367 
   15368 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15369 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15370 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15371 	fi
   15372 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15374 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15375 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15376 then :
   15377   printf %s "(cached) " >&6
   15378 else $as_nop
   15379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15380 /* end confdefs.h.  */
   15381 int i;
   15382 _ACEOF
   15383 if ac_fn_c_try_compile "$LINENO"
   15384 then :
   15385   xorg_cv_cc_flag_unused_command_line_argument=yes
   15386 else $as_nop
   15387   xorg_cv_cc_flag_unused_command_line_argument=no
   15388 fi
   15389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15390 fi
   15391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15392 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15393 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15394 	CFLAGS="$xorg_testset_save_CFLAGS"
   15395 fi
   15396 
   15397 found="no"
   15398 
   15399 	if test $found = "no" ; then
   15400 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15401 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15402 		fi
   15403 
   15404 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15405 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15406 		fi
   15407 
   15408 		CFLAGS="$CFLAGS -Werror=init-self"
   15409 
   15410 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15411 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15412 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15413 		if eval test \${$cacheid+y}
   15414 then :
   15415   printf %s "(cached) " >&6
   15416 else $as_nop
   15417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15418 /* end confdefs.h.  */
   15419 int i;
   15420 int
   15421 main (void)
   15422 {
   15423 
   15424   ;
   15425   return 0;
   15426 }
   15427 _ACEOF
   15428 if ac_fn_c_try_link "$LINENO"
   15429 then :
   15430   eval $cacheid=yes
   15431 else $as_nop
   15432   eval $cacheid=no
   15433 fi
   15434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15435     conftest$ac_exeext conftest.$ac_ext
   15436 fi
   15437 
   15438 
   15439 		CFLAGS="$xorg_testset_save_CFLAGS"
   15440 
   15441 		eval supported=\$$cacheid
   15442 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15443 printf "%s\n" "$supported" >&6; }
   15444 		if test "$supported" = "yes" ; then
   15445 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15446 			found="yes"
   15447 		fi
   15448 	fi
   15449 
   15450 
   15451 
   15452 
   15453 
   15454 
   15455 
   15456 
   15457 
   15458 
   15459 
   15460 
   15461 
   15462 
   15463 
   15464 xorg_testset_save_CFLAGS="$CFLAGS"
   15465 
   15466 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15467 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15468 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15469 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15470 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15471 then :
   15472   printf %s "(cached) " >&6
   15473 else $as_nop
   15474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15475 /* end confdefs.h.  */
   15476 int i;
   15477 _ACEOF
   15478 if ac_fn_c_try_compile "$LINENO"
   15479 then :
   15480   xorg_cv_cc_flag_unknown_warning_option=yes
   15481 else $as_nop
   15482   xorg_cv_cc_flag_unknown_warning_option=no
   15483 fi
   15484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15485 fi
   15486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15487 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15488 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15489 	CFLAGS="$xorg_testset_save_CFLAGS"
   15490 fi
   15491 
   15492 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15493 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15494 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15495 	fi
   15496 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15497 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15498 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15499 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15500 then :
   15501   printf %s "(cached) " >&6
   15502 else $as_nop
   15503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15504 /* end confdefs.h.  */
   15505 int i;
   15506 _ACEOF
   15507 if ac_fn_c_try_compile "$LINENO"
   15508 then :
   15509   xorg_cv_cc_flag_unused_command_line_argument=yes
   15510 else $as_nop
   15511   xorg_cv_cc_flag_unused_command_line_argument=no
   15512 fi
   15513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15514 fi
   15515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15516 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15517 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15518 	CFLAGS="$xorg_testset_save_CFLAGS"
   15519 fi
   15520 
   15521 found="no"
   15522 
   15523 	if test $found = "no" ; then
   15524 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15526 		fi
   15527 
   15528 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15530 		fi
   15531 
   15532 		CFLAGS="$CFLAGS -Werror=main"
   15533 
   15534 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15535 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15536 		cacheid=xorg_cv_cc_flag__Werror_main
   15537 		if eval test \${$cacheid+y}
   15538 then :
   15539   printf %s "(cached) " >&6
   15540 else $as_nop
   15541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15542 /* end confdefs.h.  */
   15543 int i;
   15544 int
   15545 main (void)
   15546 {
   15547 
   15548   ;
   15549   return 0;
   15550 }
   15551 _ACEOF
   15552 if ac_fn_c_try_link "$LINENO"
   15553 then :
   15554   eval $cacheid=yes
   15555 else $as_nop
   15556   eval $cacheid=no
   15557 fi
   15558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15559     conftest$ac_exeext conftest.$ac_ext
   15560 fi
   15561 
   15562 
   15563 		CFLAGS="$xorg_testset_save_CFLAGS"
   15564 
   15565 		eval supported=\$$cacheid
   15566 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15567 printf "%s\n" "$supported" >&6; }
   15568 		if test "$supported" = "yes" ; then
   15569 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15570 			found="yes"
   15571 		fi
   15572 	fi
   15573 
   15574 
   15575 
   15576 
   15577 
   15578 
   15579 
   15580 
   15581 
   15582 
   15583 
   15584 
   15585 
   15586 
   15587 
   15588 xorg_testset_save_CFLAGS="$CFLAGS"
   15589 
   15590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15591 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15592 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15593 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15594 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15595 then :
   15596   printf %s "(cached) " >&6
   15597 else $as_nop
   15598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15599 /* end confdefs.h.  */
   15600 int i;
   15601 _ACEOF
   15602 if ac_fn_c_try_compile "$LINENO"
   15603 then :
   15604   xorg_cv_cc_flag_unknown_warning_option=yes
   15605 else $as_nop
   15606   xorg_cv_cc_flag_unknown_warning_option=no
   15607 fi
   15608 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15609 fi
   15610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15611 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15612 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15613 	CFLAGS="$xorg_testset_save_CFLAGS"
   15614 fi
   15615 
   15616 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15617 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15618 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15619 	fi
   15620 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15621 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15622 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15623 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15624 then :
   15625   printf %s "(cached) " >&6
   15626 else $as_nop
   15627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15628 /* end confdefs.h.  */
   15629 int i;
   15630 _ACEOF
   15631 if ac_fn_c_try_compile "$LINENO"
   15632 then :
   15633   xorg_cv_cc_flag_unused_command_line_argument=yes
   15634 else $as_nop
   15635   xorg_cv_cc_flag_unused_command_line_argument=no
   15636 fi
   15637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15638 fi
   15639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15640 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15641 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15642 	CFLAGS="$xorg_testset_save_CFLAGS"
   15643 fi
   15644 
   15645 found="no"
   15646 
   15647 	if test $found = "no" ; then
   15648 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15650 		fi
   15651 
   15652 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15654 		fi
   15655 
   15656 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15657 
   15658 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15659 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15660 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15661 		if eval test \${$cacheid+y}
   15662 then :
   15663   printf %s "(cached) " >&6
   15664 else $as_nop
   15665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15666 /* end confdefs.h.  */
   15667 int i;
   15668 int
   15669 main (void)
   15670 {
   15671 
   15672   ;
   15673   return 0;
   15674 }
   15675 _ACEOF
   15676 if ac_fn_c_try_link "$LINENO"
   15677 then :
   15678   eval $cacheid=yes
   15679 else $as_nop
   15680   eval $cacheid=no
   15681 fi
   15682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15683     conftest$ac_exeext conftest.$ac_ext
   15684 fi
   15685 
   15686 
   15687 		CFLAGS="$xorg_testset_save_CFLAGS"
   15688 
   15689 		eval supported=\$$cacheid
   15690 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15691 printf "%s\n" "$supported" >&6; }
   15692 		if test "$supported" = "yes" ; then
   15693 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15694 			found="yes"
   15695 		fi
   15696 	fi
   15697 
   15698 
   15699 
   15700 
   15701 
   15702 
   15703 
   15704 
   15705 
   15706 
   15707 
   15708 
   15709 
   15710 
   15711 
   15712 xorg_testset_save_CFLAGS="$CFLAGS"
   15713 
   15714 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15715 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15716 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15717 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15718 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15719 then :
   15720   printf %s "(cached) " >&6
   15721 else $as_nop
   15722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15723 /* end confdefs.h.  */
   15724 int i;
   15725 _ACEOF
   15726 if ac_fn_c_try_compile "$LINENO"
   15727 then :
   15728   xorg_cv_cc_flag_unknown_warning_option=yes
   15729 else $as_nop
   15730   xorg_cv_cc_flag_unknown_warning_option=no
   15731 fi
   15732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15733 fi
   15734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15735 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15736 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15737 	CFLAGS="$xorg_testset_save_CFLAGS"
   15738 fi
   15739 
   15740 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15741 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15742 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15743 	fi
   15744 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15745 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15746 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15747 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15748 then :
   15749   printf %s "(cached) " >&6
   15750 else $as_nop
   15751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15752 /* end confdefs.h.  */
   15753 int i;
   15754 _ACEOF
   15755 if ac_fn_c_try_compile "$LINENO"
   15756 then :
   15757   xorg_cv_cc_flag_unused_command_line_argument=yes
   15758 else $as_nop
   15759   xorg_cv_cc_flag_unused_command_line_argument=no
   15760 fi
   15761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15762 fi
   15763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15764 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15765 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15766 	CFLAGS="$xorg_testset_save_CFLAGS"
   15767 fi
   15768 
   15769 found="no"
   15770 
   15771 	if test $found = "no" ; then
   15772 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15774 		fi
   15775 
   15776 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15778 		fi
   15779 
   15780 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15781 
   15782 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15783 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   15784 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15785 		if eval test \${$cacheid+y}
   15786 then :
   15787   printf %s "(cached) " >&6
   15788 else $as_nop
   15789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15790 /* end confdefs.h.  */
   15791 int i;
   15792 int
   15793 main (void)
   15794 {
   15795 
   15796   ;
   15797   return 0;
   15798 }
   15799 _ACEOF
   15800 if ac_fn_c_try_link "$LINENO"
   15801 then :
   15802   eval $cacheid=yes
   15803 else $as_nop
   15804   eval $cacheid=no
   15805 fi
   15806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15807     conftest$ac_exeext conftest.$ac_ext
   15808 fi
   15809 
   15810 
   15811 		CFLAGS="$xorg_testset_save_CFLAGS"
   15812 
   15813 		eval supported=\$$cacheid
   15814 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15815 printf "%s\n" "$supported" >&6; }
   15816 		if test "$supported" = "yes" ; then
   15817 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15818 			found="yes"
   15819 		fi
   15820 	fi
   15821 
   15822 
   15823 
   15824 
   15825 
   15826 
   15827 
   15828 
   15829 
   15830 
   15831 
   15832 
   15833 
   15834 
   15835 
   15836 xorg_testset_save_CFLAGS="$CFLAGS"
   15837 
   15838 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15839 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15840 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15841 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15842 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15843 then :
   15844   printf %s "(cached) " >&6
   15845 else $as_nop
   15846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15847 /* end confdefs.h.  */
   15848 int i;
   15849 _ACEOF
   15850 if ac_fn_c_try_compile "$LINENO"
   15851 then :
   15852   xorg_cv_cc_flag_unknown_warning_option=yes
   15853 else $as_nop
   15854   xorg_cv_cc_flag_unknown_warning_option=no
   15855 fi
   15856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15857 fi
   15858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15859 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15860 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15861 	CFLAGS="$xorg_testset_save_CFLAGS"
   15862 fi
   15863 
   15864 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15865 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15866 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15867 	fi
   15868 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15869 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15870 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15871 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15872 then :
   15873   printf %s "(cached) " >&6
   15874 else $as_nop
   15875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15876 /* end confdefs.h.  */
   15877 int i;
   15878 _ACEOF
   15879 if ac_fn_c_try_compile "$LINENO"
   15880 then :
   15881   xorg_cv_cc_flag_unused_command_line_argument=yes
   15882 else $as_nop
   15883   xorg_cv_cc_flag_unused_command_line_argument=no
   15884 fi
   15885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15886 fi
   15887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15888 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15889 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15890 	CFLAGS="$xorg_testset_save_CFLAGS"
   15891 fi
   15892 
   15893 found="no"
   15894 
   15895 	if test $found = "no" ; then
   15896 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15897 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15898 		fi
   15899 
   15900 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15901 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15902 		fi
   15903 
   15904 		CFLAGS="$CFLAGS -Werror=return-type"
   15905 
   15906 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15907 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   15908 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15909 		if eval test \${$cacheid+y}
   15910 then :
   15911   printf %s "(cached) " >&6
   15912 else $as_nop
   15913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15914 /* end confdefs.h.  */
   15915 int i;
   15916 int
   15917 main (void)
   15918 {
   15919 
   15920   ;
   15921   return 0;
   15922 }
   15923 _ACEOF
   15924 if ac_fn_c_try_link "$LINENO"
   15925 then :
   15926   eval $cacheid=yes
   15927 else $as_nop
   15928   eval $cacheid=no
   15929 fi
   15930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15931     conftest$ac_exeext conftest.$ac_ext
   15932 fi
   15933 
   15934 
   15935 		CFLAGS="$xorg_testset_save_CFLAGS"
   15936 
   15937 		eval supported=\$$cacheid
   15938 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15939 printf "%s\n" "$supported" >&6; }
   15940 		if test "$supported" = "yes" ; then
   15941 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15942 			found="yes"
   15943 		fi
   15944 	fi
   15945 
   15946 	if test $found = "no" ; then
   15947 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15948 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15949 		fi
   15950 
   15951 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15952 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15953 		fi
   15954 
   15955 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15956 
   15957 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15958 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15959 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15960 		if eval test \${$cacheid+y}
   15961 then :
   15962   printf %s "(cached) " >&6
   15963 else $as_nop
   15964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15965 /* end confdefs.h.  */
   15966 int i;
   15967 int
   15968 main (void)
   15969 {
   15970 
   15971   ;
   15972   return 0;
   15973 }
   15974 _ACEOF
   15975 if ac_fn_c_try_link "$LINENO"
   15976 then :
   15977   eval $cacheid=yes
   15978 else $as_nop
   15979   eval $cacheid=no
   15980 fi
   15981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15982     conftest$ac_exeext conftest.$ac_ext
   15983 fi
   15984 
   15985 
   15986 		CFLAGS="$xorg_testset_save_CFLAGS"
   15987 
   15988 		eval supported=\$$cacheid
   15989 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15990 printf "%s\n" "$supported" >&6; }
   15991 		if test "$supported" = "yes" ; then
   15992 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15993 			found="yes"
   15994 		fi
   15995 	fi
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 
   16004 
   16005 
   16006 
   16007 
   16008 
   16009 
   16010 
   16011 xorg_testset_save_CFLAGS="$CFLAGS"
   16012 
   16013 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16015 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16016 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16017 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16018 then :
   16019   printf %s "(cached) " >&6
   16020 else $as_nop
   16021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16022 /* end confdefs.h.  */
   16023 int i;
   16024 _ACEOF
   16025 if ac_fn_c_try_compile "$LINENO"
   16026 then :
   16027   xorg_cv_cc_flag_unknown_warning_option=yes
   16028 else $as_nop
   16029   xorg_cv_cc_flag_unknown_warning_option=no
   16030 fi
   16031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16032 fi
   16033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16034 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16035 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16036 	CFLAGS="$xorg_testset_save_CFLAGS"
   16037 fi
   16038 
   16039 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16040 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16041 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16042 	fi
   16043 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16044 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16045 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16046 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16047 then :
   16048   printf %s "(cached) " >&6
   16049 else $as_nop
   16050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16051 /* end confdefs.h.  */
   16052 int i;
   16053 _ACEOF
   16054 if ac_fn_c_try_compile "$LINENO"
   16055 then :
   16056   xorg_cv_cc_flag_unused_command_line_argument=yes
   16057 else $as_nop
   16058   xorg_cv_cc_flag_unused_command_line_argument=no
   16059 fi
   16060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16061 fi
   16062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16063 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16064 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16065 	CFLAGS="$xorg_testset_save_CFLAGS"
   16066 fi
   16067 
   16068 found="no"
   16069 
   16070 	if test $found = "no" ; then
   16071 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16072 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16073 		fi
   16074 
   16075 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16076 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16077 		fi
   16078 
   16079 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16080 
   16081 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16082 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16083 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16084 		if eval test \${$cacheid+y}
   16085 then :
   16086   printf %s "(cached) " >&6
   16087 else $as_nop
   16088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16089 /* end confdefs.h.  */
   16090 int i;
   16091 int
   16092 main (void)
   16093 {
   16094 
   16095   ;
   16096   return 0;
   16097 }
   16098 _ACEOF
   16099 if ac_fn_c_try_link "$LINENO"
   16100 then :
   16101   eval $cacheid=yes
   16102 else $as_nop
   16103   eval $cacheid=no
   16104 fi
   16105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16106     conftest$ac_exeext conftest.$ac_ext
   16107 fi
   16108 
   16109 
   16110 		CFLAGS="$xorg_testset_save_CFLAGS"
   16111 
   16112 		eval supported=\$$cacheid
   16113 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16114 printf "%s\n" "$supported" >&6; }
   16115 		if test "$supported" = "yes" ; then
   16116 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16117 			found="yes"
   16118 		fi
   16119 	fi
   16120 
   16121 
   16122 
   16123 
   16124 
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 xorg_testset_save_CFLAGS="$CFLAGS"
   16136 
   16137 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16138 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16139 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16140 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16141 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16142 then :
   16143   printf %s "(cached) " >&6
   16144 else $as_nop
   16145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16146 /* end confdefs.h.  */
   16147 int i;
   16148 _ACEOF
   16149 if ac_fn_c_try_compile "$LINENO"
   16150 then :
   16151   xorg_cv_cc_flag_unknown_warning_option=yes
   16152 else $as_nop
   16153   xorg_cv_cc_flag_unknown_warning_option=no
   16154 fi
   16155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16156 fi
   16157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16158 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16159 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16160 	CFLAGS="$xorg_testset_save_CFLAGS"
   16161 fi
   16162 
   16163 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16164 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16165 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16166 	fi
   16167 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16168 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16169 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16170 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16171 then :
   16172   printf %s "(cached) " >&6
   16173 else $as_nop
   16174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16175 /* end confdefs.h.  */
   16176 int i;
   16177 _ACEOF
   16178 if ac_fn_c_try_compile "$LINENO"
   16179 then :
   16180   xorg_cv_cc_flag_unused_command_line_argument=yes
   16181 else $as_nop
   16182   xorg_cv_cc_flag_unused_command_line_argument=no
   16183 fi
   16184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16185 fi
   16186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16187 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16188 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16189 	CFLAGS="$xorg_testset_save_CFLAGS"
   16190 fi
   16191 
   16192 found="no"
   16193 
   16194 	if test $found = "no" ; then
   16195 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16197 		fi
   16198 
   16199 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16201 		fi
   16202 
   16203 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16204 
   16205 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16206 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16207 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16208 		if eval test \${$cacheid+y}
   16209 then :
   16210   printf %s "(cached) " >&6
   16211 else $as_nop
   16212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16213 /* end confdefs.h.  */
   16214 int i;
   16215 int
   16216 main (void)
   16217 {
   16218 
   16219   ;
   16220   return 0;
   16221 }
   16222 _ACEOF
   16223 if ac_fn_c_try_link "$LINENO"
   16224 then :
   16225   eval $cacheid=yes
   16226 else $as_nop
   16227   eval $cacheid=no
   16228 fi
   16229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16230     conftest$ac_exeext conftest.$ac_ext
   16231 fi
   16232 
   16233 
   16234 		CFLAGS="$xorg_testset_save_CFLAGS"
   16235 
   16236 		eval supported=\$$cacheid
   16237 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16238 printf "%s\n" "$supported" >&6; }
   16239 		if test "$supported" = "yes" ; then
   16240 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16241 			found="yes"
   16242 		fi
   16243 	fi
   16244 
   16245 
   16246 
   16247 
   16248 
   16249 
   16250 
   16251 
   16252 
   16253 
   16254 
   16255 
   16256 
   16257 
   16258 
   16259 xorg_testset_save_CFLAGS="$CFLAGS"
   16260 
   16261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16263 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16264 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16265 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16266 then :
   16267   printf %s "(cached) " >&6
   16268 else $as_nop
   16269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16270 /* end confdefs.h.  */
   16271 int i;
   16272 _ACEOF
   16273 if ac_fn_c_try_compile "$LINENO"
   16274 then :
   16275   xorg_cv_cc_flag_unknown_warning_option=yes
   16276 else $as_nop
   16277   xorg_cv_cc_flag_unknown_warning_option=no
   16278 fi
   16279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16280 fi
   16281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16282 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16283 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16284 	CFLAGS="$xorg_testset_save_CFLAGS"
   16285 fi
   16286 
   16287 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16288 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16289 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16290 	fi
   16291 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16292 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16293 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16294 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16295 then :
   16296   printf %s "(cached) " >&6
   16297 else $as_nop
   16298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16299 /* end confdefs.h.  */
   16300 int i;
   16301 _ACEOF
   16302 if ac_fn_c_try_compile "$LINENO"
   16303 then :
   16304   xorg_cv_cc_flag_unused_command_line_argument=yes
   16305 else $as_nop
   16306   xorg_cv_cc_flag_unused_command_line_argument=no
   16307 fi
   16308 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16309 fi
   16310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16311 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16312 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16313 	CFLAGS="$xorg_testset_save_CFLAGS"
   16314 fi
   16315 
   16316 found="no"
   16317 
   16318 	if test $found = "no" ; then
   16319 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16320 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16321 		fi
   16322 
   16323 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16324 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16325 		fi
   16326 
   16327 		CFLAGS="$CFLAGS -Werror=write-strings"
   16328 
   16329 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16330 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16331 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16332 		if eval test \${$cacheid+y}
   16333 then :
   16334   printf %s "(cached) " >&6
   16335 else $as_nop
   16336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16337 /* end confdefs.h.  */
   16338 int i;
   16339 int
   16340 main (void)
   16341 {
   16342 
   16343   ;
   16344   return 0;
   16345 }
   16346 _ACEOF
   16347 if ac_fn_c_try_link "$LINENO"
   16348 then :
   16349   eval $cacheid=yes
   16350 else $as_nop
   16351   eval $cacheid=no
   16352 fi
   16353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16354     conftest$ac_exeext conftest.$ac_ext
   16355 fi
   16356 
   16357 
   16358 		CFLAGS="$xorg_testset_save_CFLAGS"
   16359 
   16360 		eval supported=\$$cacheid
   16361 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16362 printf "%s\n" "$supported" >&6; }
   16363 		if test "$supported" = "yes" ; then
   16364 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16365 			found="yes"
   16366 		fi
   16367 	fi
   16368 
   16369 
   16370 
   16371 
   16372 
   16373 
   16374 
   16375 
   16376 
   16377 
   16378 
   16379 
   16380 
   16381 
   16382 
   16383 xorg_testset_save_CFLAGS="$CFLAGS"
   16384 
   16385 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16386 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16387 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16388 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16389 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16390 then :
   16391   printf %s "(cached) " >&6
   16392 else $as_nop
   16393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16394 /* end confdefs.h.  */
   16395 int i;
   16396 _ACEOF
   16397 if ac_fn_c_try_compile "$LINENO"
   16398 then :
   16399   xorg_cv_cc_flag_unknown_warning_option=yes
   16400 else $as_nop
   16401   xorg_cv_cc_flag_unknown_warning_option=no
   16402 fi
   16403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16404 fi
   16405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16406 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16407 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16408 	CFLAGS="$xorg_testset_save_CFLAGS"
   16409 fi
   16410 
   16411 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16412 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16413 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16414 	fi
   16415 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16416 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16417 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16418 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16419 then :
   16420   printf %s "(cached) " >&6
   16421 else $as_nop
   16422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16423 /* end confdefs.h.  */
   16424 int i;
   16425 _ACEOF
   16426 if ac_fn_c_try_compile "$LINENO"
   16427 then :
   16428   xorg_cv_cc_flag_unused_command_line_argument=yes
   16429 else $as_nop
   16430   xorg_cv_cc_flag_unused_command_line_argument=no
   16431 fi
   16432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16433 fi
   16434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16435 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16436 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16437 	CFLAGS="$xorg_testset_save_CFLAGS"
   16438 fi
   16439 
   16440 found="no"
   16441 
   16442 	if test $found = "no" ; then
   16443 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16444 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16445 		fi
   16446 
   16447 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16448 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16449 		fi
   16450 
   16451 		CFLAGS="$CFLAGS -Werror=address"
   16452 
   16453 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16454 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16455 		cacheid=xorg_cv_cc_flag__Werror_address
   16456 		if eval test \${$cacheid+y}
   16457 then :
   16458   printf %s "(cached) " >&6
   16459 else $as_nop
   16460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16461 /* end confdefs.h.  */
   16462 int i;
   16463 int
   16464 main (void)
   16465 {
   16466 
   16467   ;
   16468   return 0;
   16469 }
   16470 _ACEOF
   16471 if ac_fn_c_try_link "$LINENO"
   16472 then :
   16473   eval $cacheid=yes
   16474 else $as_nop
   16475   eval $cacheid=no
   16476 fi
   16477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16478     conftest$ac_exeext conftest.$ac_ext
   16479 fi
   16480 
   16481 
   16482 		CFLAGS="$xorg_testset_save_CFLAGS"
   16483 
   16484 		eval supported=\$$cacheid
   16485 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16486 printf "%s\n" "$supported" >&6; }
   16487 		if test "$supported" = "yes" ; then
   16488 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16489 			found="yes"
   16490 		fi
   16491 	fi
   16492 
   16493 
   16494 
   16495 
   16496 
   16497 
   16498 
   16499 
   16500 
   16501 
   16502 
   16503 
   16504 
   16505 
   16506 
   16507 xorg_testset_save_CFLAGS="$CFLAGS"
   16508 
   16509 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16510 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16511 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16512 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16513 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16514 then :
   16515   printf %s "(cached) " >&6
   16516 else $as_nop
   16517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16518 /* end confdefs.h.  */
   16519 int i;
   16520 _ACEOF
   16521 if ac_fn_c_try_compile "$LINENO"
   16522 then :
   16523   xorg_cv_cc_flag_unknown_warning_option=yes
   16524 else $as_nop
   16525   xorg_cv_cc_flag_unknown_warning_option=no
   16526 fi
   16527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16528 fi
   16529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16530 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16531 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16532 	CFLAGS="$xorg_testset_save_CFLAGS"
   16533 fi
   16534 
   16535 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16536 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16537 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16538 	fi
   16539 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16540 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16541 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16542 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16543 then :
   16544   printf %s "(cached) " >&6
   16545 else $as_nop
   16546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16547 /* end confdefs.h.  */
   16548 int i;
   16549 _ACEOF
   16550 if ac_fn_c_try_compile "$LINENO"
   16551 then :
   16552   xorg_cv_cc_flag_unused_command_line_argument=yes
   16553 else $as_nop
   16554   xorg_cv_cc_flag_unused_command_line_argument=no
   16555 fi
   16556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16557 fi
   16558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16559 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16560 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16561 	CFLAGS="$xorg_testset_save_CFLAGS"
   16562 fi
   16563 
   16564 found="no"
   16565 
   16566 	if test $found = "no" ; then
   16567 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16568 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16569 		fi
   16570 
   16571 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16572 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16573 		fi
   16574 
   16575 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16576 
   16577 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16578 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16579 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16580 		if eval test \${$cacheid+y}
   16581 then :
   16582   printf %s "(cached) " >&6
   16583 else $as_nop
   16584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16585 /* end confdefs.h.  */
   16586 int i;
   16587 int
   16588 main (void)
   16589 {
   16590 
   16591   ;
   16592   return 0;
   16593 }
   16594 _ACEOF
   16595 if ac_fn_c_try_link "$LINENO"
   16596 then :
   16597   eval $cacheid=yes
   16598 else $as_nop
   16599   eval $cacheid=no
   16600 fi
   16601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16602     conftest$ac_exeext conftest.$ac_ext
   16603 fi
   16604 
   16605 
   16606 		CFLAGS="$xorg_testset_save_CFLAGS"
   16607 
   16608 		eval supported=\$$cacheid
   16609 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16610 printf "%s\n" "$supported" >&6; }
   16611 		if test "$supported" = "yes" ; then
   16612 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16613 			found="yes"
   16614 		fi
   16615 	fi
   16616 
   16617 	if test $found = "no" ; then
   16618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16620 		fi
   16621 
   16622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16624 		fi
   16625 
   16626 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16627 
   16628 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16629 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16630 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16631 		if eval test \${$cacheid+y}
   16632 then :
   16633   printf %s "(cached) " >&6
   16634 else $as_nop
   16635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16636 /* end confdefs.h.  */
   16637 int i;
   16638 int
   16639 main (void)
   16640 {
   16641 
   16642   ;
   16643   return 0;
   16644 }
   16645 _ACEOF
   16646 if ac_fn_c_try_link "$LINENO"
   16647 then :
   16648   eval $cacheid=yes
   16649 else $as_nop
   16650   eval $cacheid=no
   16651 fi
   16652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16653     conftest$ac_exeext conftest.$ac_ext
   16654 fi
   16655 
   16656 
   16657 		CFLAGS="$xorg_testset_save_CFLAGS"
   16658 
   16659 		eval supported=\$$cacheid
   16660 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16661 printf "%s\n" "$supported" >&6; }
   16662 		if test "$supported" = "yes" ; then
   16663 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16664 			found="yes"
   16665 		fi
   16666 	fi
   16667 
   16668 
   16669 
   16670 
   16671 
   16672 
   16673 
   16674 
   16675 
   16676 
   16677 
   16678 
   16679 
   16680 
   16681 
   16682 xorg_testset_save_CFLAGS="$CFLAGS"
   16683 
   16684 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16685 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16686 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16687 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16688 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16689 then :
   16690   printf %s "(cached) " >&6
   16691 else $as_nop
   16692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16693 /* end confdefs.h.  */
   16694 int i;
   16695 _ACEOF
   16696 if ac_fn_c_try_compile "$LINENO"
   16697 then :
   16698   xorg_cv_cc_flag_unknown_warning_option=yes
   16699 else $as_nop
   16700   xorg_cv_cc_flag_unknown_warning_option=no
   16701 fi
   16702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16703 fi
   16704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16705 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16706 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16707 	CFLAGS="$xorg_testset_save_CFLAGS"
   16708 fi
   16709 
   16710 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16711 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16712 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16713 	fi
   16714 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16715 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16716 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16717 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16718 then :
   16719   printf %s "(cached) " >&6
   16720 else $as_nop
   16721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16722 /* end confdefs.h.  */
   16723 int i;
   16724 _ACEOF
   16725 if ac_fn_c_try_compile "$LINENO"
   16726 then :
   16727   xorg_cv_cc_flag_unused_command_line_argument=yes
   16728 else $as_nop
   16729   xorg_cv_cc_flag_unused_command_line_argument=no
   16730 fi
   16731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16732 fi
   16733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16734 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16735 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16736 	CFLAGS="$xorg_testset_save_CFLAGS"
   16737 fi
   16738 
   16739 found="no"
   16740 
   16741 	if test $found = "no" ; then
   16742 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16743 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16744 		fi
   16745 
   16746 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16747 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16748 		fi
   16749 
   16750 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16751 
   16752 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16753 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16754 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16755 		if eval test \${$cacheid+y}
   16756 then :
   16757   printf %s "(cached) " >&6
   16758 else $as_nop
   16759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16760 /* end confdefs.h.  */
   16761 int i;
   16762 int
   16763 main (void)
   16764 {
   16765 
   16766   ;
   16767   return 0;
   16768 }
   16769 _ACEOF
   16770 if ac_fn_c_try_link "$LINENO"
   16771 then :
   16772   eval $cacheid=yes
   16773 else $as_nop
   16774   eval $cacheid=no
   16775 fi
   16776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16777     conftest$ac_exeext conftest.$ac_ext
   16778 fi
   16779 
   16780 
   16781 		CFLAGS="$xorg_testset_save_CFLAGS"
   16782 
   16783 		eval supported=\$$cacheid
   16784 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16785 printf "%s\n" "$supported" >&6; }
   16786 		if test "$supported" = "yes" ; then
   16787 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16788 			found="yes"
   16789 		fi
   16790 	fi
   16791 
   16792  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16793 else
   16794 { 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
   16795 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;}
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 xorg_testset_save_CFLAGS="$CFLAGS"
   16810 
   16811 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16812 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16813 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16814 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16815 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16816 then :
   16817   printf %s "(cached) " >&6
   16818 else $as_nop
   16819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16820 /* end confdefs.h.  */
   16821 int i;
   16822 _ACEOF
   16823 if ac_fn_c_try_compile "$LINENO"
   16824 then :
   16825   xorg_cv_cc_flag_unknown_warning_option=yes
   16826 else $as_nop
   16827   xorg_cv_cc_flag_unknown_warning_option=no
   16828 fi
   16829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16830 fi
   16831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16832 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16833 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16834 	CFLAGS="$xorg_testset_save_CFLAGS"
   16835 fi
   16836 
   16837 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16838 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16839 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16840 	fi
   16841 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16842 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16843 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16844 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16845 then :
   16846   printf %s "(cached) " >&6
   16847 else $as_nop
   16848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16849 /* end confdefs.h.  */
   16850 int i;
   16851 _ACEOF
   16852 if ac_fn_c_try_compile "$LINENO"
   16853 then :
   16854   xorg_cv_cc_flag_unused_command_line_argument=yes
   16855 else $as_nop
   16856   xorg_cv_cc_flag_unused_command_line_argument=no
   16857 fi
   16858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16859 fi
   16860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16861 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16862 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16863 	CFLAGS="$xorg_testset_save_CFLAGS"
   16864 fi
   16865 
   16866 found="no"
   16867 
   16868 	if test $found = "no" ; then
   16869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16871 		fi
   16872 
   16873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16875 		fi
   16876 
   16877 		CFLAGS="$CFLAGS -Wimplicit"
   16878 
   16879 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16880 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   16881 		cacheid=xorg_cv_cc_flag__Wimplicit
   16882 		if eval test \${$cacheid+y}
   16883 then :
   16884   printf %s "(cached) " >&6
   16885 else $as_nop
   16886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16887 /* end confdefs.h.  */
   16888 int i;
   16889 int
   16890 main (void)
   16891 {
   16892 
   16893   ;
   16894   return 0;
   16895 }
   16896 _ACEOF
   16897 if ac_fn_c_try_link "$LINENO"
   16898 then :
   16899   eval $cacheid=yes
   16900 else $as_nop
   16901   eval $cacheid=no
   16902 fi
   16903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16904     conftest$ac_exeext conftest.$ac_ext
   16905 fi
   16906 
   16907 
   16908 		CFLAGS="$xorg_testset_save_CFLAGS"
   16909 
   16910 		eval supported=\$$cacheid
   16911 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16912 printf "%s\n" "$supported" >&6; }
   16913 		if test "$supported" = "yes" ; then
   16914 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16915 			found="yes"
   16916 		fi
   16917 	fi
   16918 
   16919 
   16920 
   16921 
   16922 
   16923 
   16924 
   16925 
   16926 
   16927 
   16928 
   16929 
   16930 
   16931 
   16932 
   16933 xorg_testset_save_CFLAGS="$CFLAGS"
   16934 
   16935 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16936 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16937 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16938 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16939 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16940 then :
   16941   printf %s "(cached) " >&6
   16942 else $as_nop
   16943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16944 /* end confdefs.h.  */
   16945 int i;
   16946 _ACEOF
   16947 if ac_fn_c_try_compile "$LINENO"
   16948 then :
   16949   xorg_cv_cc_flag_unknown_warning_option=yes
   16950 else $as_nop
   16951   xorg_cv_cc_flag_unknown_warning_option=no
   16952 fi
   16953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16954 fi
   16955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16956 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16957 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16958 	CFLAGS="$xorg_testset_save_CFLAGS"
   16959 fi
   16960 
   16961 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16962 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16964 	fi
   16965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16966 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16967 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16968 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16969 then :
   16970   printf %s "(cached) " >&6
   16971 else $as_nop
   16972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16973 /* end confdefs.h.  */
   16974 int i;
   16975 _ACEOF
   16976 if ac_fn_c_try_compile "$LINENO"
   16977 then :
   16978   xorg_cv_cc_flag_unused_command_line_argument=yes
   16979 else $as_nop
   16980   xorg_cv_cc_flag_unused_command_line_argument=no
   16981 fi
   16982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16983 fi
   16984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16985 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16986 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16987 	CFLAGS="$xorg_testset_save_CFLAGS"
   16988 fi
   16989 
   16990 found="no"
   16991 
   16992 	if test $found = "no" ; then
   16993 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16994 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16995 		fi
   16996 
   16997 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16998 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16999 		fi
   17000 
   17001 		CFLAGS="$CFLAGS -Wnonnull"
   17002 
   17003 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17004 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17005 		cacheid=xorg_cv_cc_flag__Wnonnull
   17006 		if eval test \${$cacheid+y}
   17007 then :
   17008   printf %s "(cached) " >&6
   17009 else $as_nop
   17010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17011 /* end confdefs.h.  */
   17012 int i;
   17013 int
   17014 main (void)
   17015 {
   17016 
   17017   ;
   17018   return 0;
   17019 }
   17020 _ACEOF
   17021 if ac_fn_c_try_link "$LINENO"
   17022 then :
   17023   eval $cacheid=yes
   17024 else $as_nop
   17025   eval $cacheid=no
   17026 fi
   17027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17028     conftest$ac_exeext conftest.$ac_ext
   17029 fi
   17030 
   17031 
   17032 		CFLAGS="$xorg_testset_save_CFLAGS"
   17033 
   17034 		eval supported=\$$cacheid
   17035 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17036 printf "%s\n" "$supported" >&6; }
   17037 		if test "$supported" = "yes" ; then
   17038 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17039 			found="yes"
   17040 		fi
   17041 	fi
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 
   17053 
   17054 
   17055 
   17056 
   17057 xorg_testset_save_CFLAGS="$CFLAGS"
   17058 
   17059 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17061 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17062 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17063 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17064 then :
   17065   printf %s "(cached) " >&6
   17066 else $as_nop
   17067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17068 /* end confdefs.h.  */
   17069 int i;
   17070 _ACEOF
   17071 if ac_fn_c_try_compile "$LINENO"
   17072 then :
   17073   xorg_cv_cc_flag_unknown_warning_option=yes
   17074 else $as_nop
   17075   xorg_cv_cc_flag_unknown_warning_option=no
   17076 fi
   17077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17078 fi
   17079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17080 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17081 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17082 	CFLAGS="$xorg_testset_save_CFLAGS"
   17083 fi
   17084 
   17085 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17086 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17087 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17088 	fi
   17089 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17090 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17091 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17092 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17093 then :
   17094   printf %s "(cached) " >&6
   17095 else $as_nop
   17096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17097 /* end confdefs.h.  */
   17098 int i;
   17099 _ACEOF
   17100 if ac_fn_c_try_compile "$LINENO"
   17101 then :
   17102   xorg_cv_cc_flag_unused_command_line_argument=yes
   17103 else $as_nop
   17104   xorg_cv_cc_flag_unused_command_line_argument=no
   17105 fi
   17106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17107 fi
   17108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17109 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17110 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17111 	CFLAGS="$xorg_testset_save_CFLAGS"
   17112 fi
   17113 
   17114 found="no"
   17115 
   17116 	if test $found = "no" ; then
   17117 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17118 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17119 		fi
   17120 
   17121 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17122 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17123 		fi
   17124 
   17125 		CFLAGS="$CFLAGS -Winit-self"
   17126 
   17127 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17128 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17129 		cacheid=xorg_cv_cc_flag__Winit_self
   17130 		if eval test \${$cacheid+y}
   17131 then :
   17132   printf %s "(cached) " >&6
   17133 else $as_nop
   17134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17135 /* end confdefs.h.  */
   17136 int i;
   17137 int
   17138 main (void)
   17139 {
   17140 
   17141   ;
   17142   return 0;
   17143 }
   17144 _ACEOF
   17145 if ac_fn_c_try_link "$LINENO"
   17146 then :
   17147   eval $cacheid=yes
   17148 else $as_nop
   17149   eval $cacheid=no
   17150 fi
   17151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17152     conftest$ac_exeext conftest.$ac_ext
   17153 fi
   17154 
   17155 
   17156 		CFLAGS="$xorg_testset_save_CFLAGS"
   17157 
   17158 		eval supported=\$$cacheid
   17159 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17160 printf "%s\n" "$supported" >&6; }
   17161 		if test "$supported" = "yes" ; then
   17162 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17163 			found="yes"
   17164 		fi
   17165 	fi
   17166 
   17167 
   17168 
   17169 
   17170 
   17171 
   17172 
   17173 
   17174 
   17175 
   17176 
   17177 
   17178 
   17179 
   17180 
   17181 xorg_testset_save_CFLAGS="$CFLAGS"
   17182 
   17183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17185 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17186 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17187 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17188 then :
   17189   printf %s "(cached) " >&6
   17190 else $as_nop
   17191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17192 /* end confdefs.h.  */
   17193 int i;
   17194 _ACEOF
   17195 if ac_fn_c_try_compile "$LINENO"
   17196 then :
   17197   xorg_cv_cc_flag_unknown_warning_option=yes
   17198 else $as_nop
   17199   xorg_cv_cc_flag_unknown_warning_option=no
   17200 fi
   17201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17202 fi
   17203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17204 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17205 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17206 	CFLAGS="$xorg_testset_save_CFLAGS"
   17207 fi
   17208 
   17209 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17210 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17211 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17212 	fi
   17213 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17214 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17215 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17216 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17217 then :
   17218   printf %s "(cached) " >&6
   17219 else $as_nop
   17220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17221 /* end confdefs.h.  */
   17222 int i;
   17223 _ACEOF
   17224 if ac_fn_c_try_compile "$LINENO"
   17225 then :
   17226   xorg_cv_cc_flag_unused_command_line_argument=yes
   17227 else $as_nop
   17228   xorg_cv_cc_flag_unused_command_line_argument=no
   17229 fi
   17230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17231 fi
   17232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17233 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17234 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17235 	CFLAGS="$xorg_testset_save_CFLAGS"
   17236 fi
   17237 
   17238 found="no"
   17239 
   17240 	if test $found = "no" ; then
   17241 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17243 		fi
   17244 
   17245 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17247 		fi
   17248 
   17249 		CFLAGS="$CFLAGS -Wmain"
   17250 
   17251 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17252 printf %s "checking if $CC supports -Wmain... " >&6; }
   17253 		cacheid=xorg_cv_cc_flag__Wmain
   17254 		if eval test \${$cacheid+y}
   17255 then :
   17256   printf %s "(cached) " >&6
   17257 else $as_nop
   17258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17259 /* end confdefs.h.  */
   17260 int i;
   17261 int
   17262 main (void)
   17263 {
   17264 
   17265   ;
   17266   return 0;
   17267 }
   17268 _ACEOF
   17269 if ac_fn_c_try_link "$LINENO"
   17270 then :
   17271   eval $cacheid=yes
   17272 else $as_nop
   17273   eval $cacheid=no
   17274 fi
   17275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17276     conftest$ac_exeext conftest.$ac_ext
   17277 fi
   17278 
   17279 
   17280 		CFLAGS="$xorg_testset_save_CFLAGS"
   17281 
   17282 		eval supported=\$$cacheid
   17283 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17284 printf "%s\n" "$supported" >&6; }
   17285 		if test "$supported" = "yes" ; then
   17286 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17287 			found="yes"
   17288 		fi
   17289 	fi
   17290 
   17291 
   17292 
   17293 
   17294 
   17295 
   17296 
   17297 
   17298 
   17299 
   17300 
   17301 
   17302 
   17303 
   17304 
   17305 xorg_testset_save_CFLAGS="$CFLAGS"
   17306 
   17307 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17308 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17309 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17310 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17311 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17312 then :
   17313   printf %s "(cached) " >&6
   17314 else $as_nop
   17315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17316 /* end confdefs.h.  */
   17317 int i;
   17318 _ACEOF
   17319 if ac_fn_c_try_compile "$LINENO"
   17320 then :
   17321   xorg_cv_cc_flag_unknown_warning_option=yes
   17322 else $as_nop
   17323   xorg_cv_cc_flag_unknown_warning_option=no
   17324 fi
   17325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17326 fi
   17327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17328 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17330 	CFLAGS="$xorg_testset_save_CFLAGS"
   17331 fi
   17332 
   17333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17336 	fi
   17337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17338 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17339 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17340 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17341 then :
   17342   printf %s "(cached) " >&6
   17343 else $as_nop
   17344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17345 /* end confdefs.h.  */
   17346 int i;
   17347 _ACEOF
   17348 if ac_fn_c_try_compile "$LINENO"
   17349 then :
   17350   xorg_cv_cc_flag_unused_command_line_argument=yes
   17351 else $as_nop
   17352   xorg_cv_cc_flag_unused_command_line_argument=no
   17353 fi
   17354 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17355 fi
   17356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17357 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17358 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17359 	CFLAGS="$xorg_testset_save_CFLAGS"
   17360 fi
   17361 
   17362 found="no"
   17363 
   17364 	if test $found = "no" ; then
   17365 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17366 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17367 		fi
   17368 
   17369 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17370 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17371 		fi
   17372 
   17373 		CFLAGS="$CFLAGS -Wmissing-braces"
   17374 
   17375 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17376 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17377 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17378 		if eval test \${$cacheid+y}
   17379 then :
   17380   printf %s "(cached) " >&6
   17381 else $as_nop
   17382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17383 /* end confdefs.h.  */
   17384 int i;
   17385 int
   17386 main (void)
   17387 {
   17388 
   17389   ;
   17390   return 0;
   17391 }
   17392 _ACEOF
   17393 if ac_fn_c_try_link "$LINENO"
   17394 then :
   17395   eval $cacheid=yes
   17396 else $as_nop
   17397   eval $cacheid=no
   17398 fi
   17399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17400     conftest$ac_exeext conftest.$ac_ext
   17401 fi
   17402 
   17403 
   17404 		CFLAGS="$xorg_testset_save_CFLAGS"
   17405 
   17406 		eval supported=\$$cacheid
   17407 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17408 printf "%s\n" "$supported" >&6; }
   17409 		if test "$supported" = "yes" ; then
   17410 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17411 			found="yes"
   17412 		fi
   17413 	fi
   17414 
   17415 
   17416 
   17417 
   17418 
   17419 
   17420 
   17421 
   17422 
   17423 
   17424 
   17425 
   17426 
   17427 
   17428 
   17429 xorg_testset_save_CFLAGS="$CFLAGS"
   17430 
   17431 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17432 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17433 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17434 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17435 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17436 then :
   17437   printf %s "(cached) " >&6
   17438 else $as_nop
   17439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17440 /* end confdefs.h.  */
   17441 int i;
   17442 _ACEOF
   17443 if ac_fn_c_try_compile "$LINENO"
   17444 then :
   17445   xorg_cv_cc_flag_unknown_warning_option=yes
   17446 else $as_nop
   17447   xorg_cv_cc_flag_unknown_warning_option=no
   17448 fi
   17449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17450 fi
   17451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17452 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17453 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17454 	CFLAGS="$xorg_testset_save_CFLAGS"
   17455 fi
   17456 
   17457 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17458 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17459 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17460 	fi
   17461 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17462 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17463 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17464 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17465 then :
   17466   printf %s "(cached) " >&6
   17467 else $as_nop
   17468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17469 /* end confdefs.h.  */
   17470 int i;
   17471 _ACEOF
   17472 if ac_fn_c_try_compile "$LINENO"
   17473 then :
   17474   xorg_cv_cc_flag_unused_command_line_argument=yes
   17475 else $as_nop
   17476   xorg_cv_cc_flag_unused_command_line_argument=no
   17477 fi
   17478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17479 fi
   17480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17481 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17482 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17483 	CFLAGS="$xorg_testset_save_CFLAGS"
   17484 fi
   17485 
   17486 found="no"
   17487 
   17488 	if test $found = "no" ; then
   17489 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17491 		fi
   17492 
   17493 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17495 		fi
   17496 
   17497 		CFLAGS="$CFLAGS -Wsequence-point"
   17498 
   17499 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17500 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17501 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17502 		if eval test \${$cacheid+y}
   17503 then :
   17504   printf %s "(cached) " >&6
   17505 else $as_nop
   17506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17507 /* end confdefs.h.  */
   17508 int i;
   17509 int
   17510 main (void)
   17511 {
   17512 
   17513   ;
   17514   return 0;
   17515 }
   17516 _ACEOF
   17517 if ac_fn_c_try_link "$LINENO"
   17518 then :
   17519   eval $cacheid=yes
   17520 else $as_nop
   17521   eval $cacheid=no
   17522 fi
   17523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17524     conftest$ac_exeext conftest.$ac_ext
   17525 fi
   17526 
   17527 
   17528 		CFLAGS="$xorg_testset_save_CFLAGS"
   17529 
   17530 		eval supported=\$$cacheid
   17531 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17532 printf "%s\n" "$supported" >&6; }
   17533 		if test "$supported" = "yes" ; then
   17534 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17535 			found="yes"
   17536 		fi
   17537 	fi
   17538 
   17539 
   17540 
   17541 
   17542 
   17543 
   17544 
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 xorg_testset_save_CFLAGS="$CFLAGS"
   17554 
   17555 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17556 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17557 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17558 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17559 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17560 then :
   17561   printf %s "(cached) " >&6
   17562 else $as_nop
   17563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17564 /* end confdefs.h.  */
   17565 int i;
   17566 _ACEOF
   17567 if ac_fn_c_try_compile "$LINENO"
   17568 then :
   17569   xorg_cv_cc_flag_unknown_warning_option=yes
   17570 else $as_nop
   17571   xorg_cv_cc_flag_unknown_warning_option=no
   17572 fi
   17573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17574 fi
   17575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17576 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17577 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17578 	CFLAGS="$xorg_testset_save_CFLAGS"
   17579 fi
   17580 
   17581 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17582 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17583 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17584 	fi
   17585 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17586 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17587 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17588 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17589 then :
   17590   printf %s "(cached) " >&6
   17591 else $as_nop
   17592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17593 /* end confdefs.h.  */
   17594 int i;
   17595 _ACEOF
   17596 if ac_fn_c_try_compile "$LINENO"
   17597 then :
   17598   xorg_cv_cc_flag_unused_command_line_argument=yes
   17599 else $as_nop
   17600   xorg_cv_cc_flag_unused_command_line_argument=no
   17601 fi
   17602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17603 fi
   17604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17605 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17606 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17607 	CFLAGS="$xorg_testset_save_CFLAGS"
   17608 fi
   17609 
   17610 found="no"
   17611 
   17612 	if test $found = "no" ; then
   17613 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17614 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17615 		fi
   17616 
   17617 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17618 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17619 		fi
   17620 
   17621 		CFLAGS="$CFLAGS -Wreturn-type"
   17622 
   17623 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17624 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17625 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17626 		if eval test \${$cacheid+y}
   17627 then :
   17628   printf %s "(cached) " >&6
   17629 else $as_nop
   17630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17631 /* end confdefs.h.  */
   17632 int i;
   17633 int
   17634 main (void)
   17635 {
   17636 
   17637   ;
   17638   return 0;
   17639 }
   17640 _ACEOF
   17641 if ac_fn_c_try_link "$LINENO"
   17642 then :
   17643   eval $cacheid=yes
   17644 else $as_nop
   17645   eval $cacheid=no
   17646 fi
   17647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17648     conftest$ac_exeext conftest.$ac_ext
   17649 fi
   17650 
   17651 
   17652 		CFLAGS="$xorg_testset_save_CFLAGS"
   17653 
   17654 		eval supported=\$$cacheid
   17655 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17656 printf "%s\n" "$supported" >&6; }
   17657 		if test "$supported" = "yes" ; then
   17658 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17659 			found="yes"
   17660 		fi
   17661 	fi
   17662 
   17663 
   17664 
   17665 
   17666 
   17667 
   17668 
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 xorg_testset_save_CFLAGS="$CFLAGS"
   17678 
   17679 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17680 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17681 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17682 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17683 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17684 then :
   17685   printf %s "(cached) " >&6
   17686 else $as_nop
   17687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17688 /* end confdefs.h.  */
   17689 int i;
   17690 _ACEOF
   17691 if ac_fn_c_try_compile "$LINENO"
   17692 then :
   17693   xorg_cv_cc_flag_unknown_warning_option=yes
   17694 else $as_nop
   17695   xorg_cv_cc_flag_unknown_warning_option=no
   17696 fi
   17697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17698 fi
   17699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17700 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17701 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17702 	CFLAGS="$xorg_testset_save_CFLAGS"
   17703 fi
   17704 
   17705 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17706 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17707 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17708 	fi
   17709 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17710 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17711 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17712 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17713 then :
   17714   printf %s "(cached) " >&6
   17715 else $as_nop
   17716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17717 /* end confdefs.h.  */
   17718 int i;
   17719 _ACEOF
   17720 if ac_fn_c_try_compile "$LINENO"
   17721 then :
   17722   xorg_cv_cc_flag_unused_command_line_argument=yes
   17723 else $as_nop
   17724   xorg_cv_cc_flag_unused_command_line_argument=no
   17725 fi
   17726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17727 fi
   17728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17729 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17730 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17731 	CFLAGS="$xorg_testset_save_CFLAGS"
   17732 fi
   17733 
   17734 found="no"
   17735 
   17736 	if test $found = "no" ; then
   17737 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17738 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17739 		fi
   17740 
   17741 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17742 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17743 		fi
   17744 
   17745 		CFLAGS="$CFLAGS -Wtrigraphs"
   17746 
   17747 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17748 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   17749 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17750 		if eval test \${$cacheid+y}
   17751 then :
   17752   printf %s "(cached) " >&6
   17753 else $as_nop
   17754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17755 /* end confdefs.h.  */
   17756 int i;
   17757 int
   17758 main (void)
   17759 {
   17760 
   17761   ;
   17762   return 0;
   17763 }
   17764 _ACEOF
   17765 if ac_fn_c_try_link "$LINENO"
   17766 then :
   17767   eval $cacheid=yes
   17768 else $as_nop
   17769   eval $cacheid=no
   17770 fi
   17771 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17772     conftest$ac_exeext conftest.$ac_ext
   17773 fi
   17774 
   17775 
   17776 		CFLAGS="$xorg_testset_save_CFLAGS"
   17777 
   17778 		eval supported=\$$cacheid
   17779 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17780 printf "%s\n" "$supported" >&6; }
   17781 		if test "$supported" = "yes" ; then
   17782 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17783 			found="yes"
   17784 		fi
   17785 	fi
   17786 
   17787 
   17788 
   17789 
   17790 
   17791 
   17792 
   17793 
   17794 
   17795 
   17796 
   17797 
   17798 
   17799 
   17800 
   17801 xorg_testset_save_CFLAGS="$CFLAGS"
   17802 
   17803 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17804 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17805 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17806 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17807 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17808 then :
   17809   printf %s "(cached) " >&6
   17810 else $as_nop
   17811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17812 /* end confdefs.h.  */
   17813 int i;
   17814 _ACEOF
   17815 if ac_fn_c_try_compile "$LINENO"
   17816 then :
   17817   xorg_cv_cc_flag_unknown_warning_option=yes
   17818 else $as_nop
   17819   xorg_cv_cc_flag_unknown_warning_option=no
   17820 fi
   17821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17822 fi
   17823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17824 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17825 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17826 	CFLAGS="$xorg_testset_save_CFLAGS"
   17827 fi
   17828 
   17829 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17830 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17831 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17832 	fi
   17833 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17835 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17836 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17837 then :
   17838   printf %s "(cached) " >&6
   17839 else $as_nop
   17840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17841 /* end confdefs.h.  */
   17842 int i;
   17843 _ACEOF
   17844 if ac_fn_c_try_compile "$LINENO"
   17845 then :
   17846   xorg_cv_cc_flag_unused_command_line_argument=yes
   17847 else $as_nop
   17848   xorg_cv_cc_flag_unused_command_line_argument=no
   17849 fi
   17850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17851 fi
   17852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17853 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17854 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17855 	CFLAGS="$xorg_testset_save_CFLAGS"
   17856 fi
   17857 
   17858 found="no"
   17859 
   17860 	if test $found = "no" ; then
   17861 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17862 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17863 		fi
   17864 
   17865 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17866 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17867 		fi
   17868 
   17869 		CFLAGS="$CFLAGS -Warray-bounds"
   17870 
   17871 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17872 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   17873 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17874 		if eval test \${$cacheid+y}
   17875 then :
   17876   printf %s "(cached) " >&6
   17877 else $as_nop
   17878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17879 /* end confdefs.h.  */
   17880 int i;
   17881 int
   17882 main (void)
   17883 {
   17884 
   17885   ;
   17886   return 0;
   17887 }
   17888 _ACEOF
   17889 if ac_fn_c_try_link "$LINENO"
   17890 then :
   17891   eval $cacheid=yes
   17892 else $as_nop
   17893   eval $cacheid=no
   17894 fi
   17895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17896     conftest$ac_exeext conftest.$ac_ext
   17897 fi
   17898 
   17899 
   17900 		CFLAGS="$xorg_testset_save_CFLAGS"
   17901 
   17902 		eval supported=\$$cacheid
   17903 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17904 printf "%s\n" "$supported" >&6; }
   17905 		if test "$supported" = "yes" ; then
   17906 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17907 			found="yes"
   17908 		fi
   17909 	fi
   17910 
   17911 
   17912 
   17913 
   17914 
   17915 
   17916 
   17917 
   17918 
   17919 
   17920 
   17921 
   17922 
   17923 
   17924 
   17925 xorg_testset_save_CFLAGS="$CFLAGS"
   17926 
   17927 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17928 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17929 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17930 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17931 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17932 then :
   17933   printf %s "(cached) " >&6
   17934 else $as_nop
   17935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17936 /* end confdefs.h.  */
   17937 int i;
   17938 _ACEOF
   17939 if ac_fn_c_try_compile "$LINENO"
   17940 then :
   17941   xorg_cv_cc_flag_unknown_warning_option=yes
   17942 else $as_nop
   17943   xorg_cv_cc_flag_unknown_warning_option=no
   17944 fi
   17945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17946 fi
   17947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17948 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17949 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17950 	CFLAGS="$xorg_testset_save_CFLAGS"
   17951 fi
   17952 
   17953 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17954 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17955 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17956 	fi
   17957 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17958 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17959 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17960 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17961 then :
   17962   printf %s "(cached) " >&6
   17963 else $as_nop
   17964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17965 /* end confdefs.h.  */
   17966 int i;
   17967 _ACEOF
   17968 if ac_fn_c_try_compile "$LINENO"
   17969 then :
   17970   xorg_cv_cc_flag_unused_command_line_argument=yes
   17971 else $as_nop
   17972   xorg_cv_cc_flag_unused_command_line_argument=no
   17973 fi
   17974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17975 fi
   17976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17977 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17978 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17979 	CFLAGS="$xorg_testset_save_CFLAGS"
   17980 fi
   17981 
   17982 found="no"
   17983 
   17984 	if test $found = "no" ; then
   17985 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17986 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17987 		fi
   17988 
   17989 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17990 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17991 		fi
   17992 
   17993 		CFLAGS="$CFLAGS -Wwrite-strings"
   17994 
   17995 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17996 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   17997 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17998 		if eval test \${$cacheid+y}
   17999 then :
   18000   printf %s "(cached) " >&6
   18001 else $as_nop
   18002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18003 /* end confdefs.h.  */
   18004 int i;
   18005 int
   18006 main (void)
   18007 {
   18008 
   18009   ;
   18010   return 0;
   18011 }
   18012 _ACEOF
   18013 if ac_fn_c_try_link "$LINENO"
   18014 then :
   18015   eval $cacheid=yes
   18016 else $as_nop
   18017   eval $cacheid=no
   18018 fi
   18019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18020     conftest$ac_exeext conftest.$ac_ext
   18021 fi
   18022 
   18023 
   18024 		CFLAGS="$xorg_testset_save_CFLAGS"
   18025 
   18026 		eval supported=\$$cacheid
   18027 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18028 printf "%s\n" "$supported" >&6; }
   18029 		if test "$supported" = "yes" ; then
   18030 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18031 			found="yes"
   18032 		fi
   18033 	fi
   18034 
   18035 
   18036 
   18037 
   18038 
   18039 
   18040 
   18041 
   18042 
   18043 
   18044 
   18045 
   18046 
   18047 
   18048 
   18049 xorg_testset_save_CFLAGS="$CFLAGS"
   18050 
   18051 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18052 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18053 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18054 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18055 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18056 then :
   18057   printf %s "(cached) " >&6
   18058 else $as_nop
   18059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18060 /* end confdefs.h.  */
   18061 int i;
   18062 _ACEOF
   18063 if ac_fn_c_try_compile "$LINENO"
   18064 then :
   18065   xorg_cv_cc_flag_unknown_warning_option=yes
   18066 else $as_nop
   18067   xorg_cv_cc_flag_unknown_warning_option=no
   18068 fi
   18069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18070 fi
   18071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18072 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18073 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18074 	CFLAGS="$xorg_testset_save_CFLAGS"
   18075 fi
   18076 
   18077 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18078 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18079 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18080 	fi
   18081 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18082 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18083 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18084 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18085 then :
   18086   printf %s "(cached) " >&6
   18087 else $as_nop
   18088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18089 /* end confdefs.h.  */
   18090 int i;
   18091 _ACEOF
   18092 if ac_fn_c_try_compile "$LINENO"
   18093 then :
   18094   xorg_cv_cc_flag_unused_command_line_argument=yes
   18095 else $as_nop
   18096   xorg_cv_cc_flag_unused_command_line_argument=no
   18097 fi
   18098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18099 fi
   18100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18101 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18102 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18103 	CFLAGS="$xorg_testset_save_CFLAGS"
   18104 fi
   18105 
   18106 found="no"
   18107 
   18108 	if test $found = "no" ; then
   18109 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18110 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18111 		fi
   18112 
   18113 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18114 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18115 		fi
   18116 
   18117 		CFLAGS="$CFLAGS -Waddress"
   18118 
   18119 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18120 printf %s "checking if $CC supports -Waddress... " >&6; }
   18121 		cacheid=xorg_cv_cc_flag__Waddress
   18122 		if eval test \${$cacheid+y}
   18123 then :
   18124   printf %s "(cached) " >&6
   18125 else $as_nop
   18126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18127 /* end confdefs.h.  */
   18128 int i;
   18129 int
   18130 main (void)
   18131 {
   18132 
   18133   ;
   18134   return 0;
   18135 }
   18136 _ACEOF
   18137 if ac_fn_c_try_link "$LINENO"
   18138 then :
   18139   eval $cacheid=yes
   18140 else $as_nop
   18141   eval $cacheid=no
   18142 fi
   18143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18144     conftest$ac_exeext conftest.$ac_ext
   18145 fi
   18146 
   18147 
   18148 		CFLAGS="$xorg_testset_save_CFLAGS"
   18149 
   18150 		eval supported=\$$cacheid
   18151 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18152 printf "%s\n" "$supported" >&6; }
   18153 		if test "$supported" = "yes" ; then
   18154 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18155 			found="yes"
   18156 		fi
   18157 	fi
   18158 
   18159 
   18160 
   18161 
   18162 
   18163 
   18164 
   18165 
   18166 
   18167 
   18168 
   18169 
   18170 
   18171 
   18172 
   18173 xorg_testset_save_CFLAGS="$CFLAGS"
   18174 
   18175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18177 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18178 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18179 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18180 then :
   18181   printf %s "(cached) " >&6
   18182 else $as_nop
   18183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18184 /* end confdefs.h.  */
   18185 int i;
   18186 _ACEOF
   18187 if ac_fn_c_try_compile "$LINENO"
   18188 then :
   18189   xorg_cv_cc_flag_unknown_warning_option=yes
   18190 else $as_nop
   18191   xorg_cv_cc_flag_unknown_warning_option=no
   18192 fi
   18193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18194 fi
   18195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18196 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18198 	CFLAGS="$xorg_testset_save_CFLAGS"
   18199 fi
   18200 
   18201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18204 	fi
   18205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18206 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18207 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18208 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18209 then :
   18210   printf %s "(cached) " >&6
   18211 else $as_nop
   18212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18213 /* end confdefs.h.  */
   18214 int i;
   18215 _ACEOF
   18216 if ac_fn_c_try_compile "$LINENO"
   18217 then :
   18218   xorg_cv_cc_flag_unused_command_line_argument=yes
   18219 else $as_nop
   18220   xorg_cv_cc_flag_unused_command_line_argument=no
   18221 fi
   18222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18223 fi
   18224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18225 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18226 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18227 	CFLAGS="$xorg_testset_save_CFLAGS"
   18228 fi
   18229 
   18230 found="no"
   18231 
   18232 	if test $found = "no" ; then
   18233 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18234 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18235 		fi
   18236 
   18237 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18238 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18239 		fi
   18240 
   18241 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18242 
   18243 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18244 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18245 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18246 		if eval test \${$cacheid+y}
   18247 then :
   18248   printf %s "(cached) " >&6
   18249 else $as_nop
   18250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18251 /* end confdefs.h.  */
   18252 int i;
   18253 int
   18254 main (void)
   18255 {
   18256 
   18257   ;
   18258   return 0;
   18259 }
   18260 _ACEOF
   18261 if ac_fn_c_try_link "$LINENO"
   18262 then :
   18263   eval $cacheid=yes
   18264 else $as_nop
   18265   eval $cacheid=no
   18266 fi
   18267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18268     conftest$ac_exeext conftest.$ac_ext
   18269 fi
   18270 
   18271 
   18272 		CFLAGS="$xorg_testset_save_CFLAGS"
   18273 
   18274 		eval supported=\$$cacheid
   18275 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18276 printf "%s\n" "$supported" >&6; }
   18277 		if test "$supported" = "yes" ; then
   18278 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18279 			found="yes"
   18280 		fi
   18281 	fi
   18282 
   18283 
   18284 
   18285 
   18286 
   18287 
   18288 
   18289 
   18290 
   18291 
   18292 
   18293 
   18294 
   18295 
   18296 
   18297 xorg_testset_save_CFLAGS="$CFLAGS"
   18298 
   18299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18301 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18302 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18303 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18304 then :
   18305   printf %s "(cached) " >&6
   18306 else $as_nop
   18307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18308 /* end confdefs.h.  */
   18309 int i;
   18310 _ACEOF
   18311 if ac_fn_c_try_compile "$LINENO"
   18312 then :
   18313   xorg_cv_cc_flag_unknown_warning_option=yes
   18314 else $as_nop
   18315   xorg_cv_cc_flag_unknown_warning_option=no
   18316 fi
   18317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18318 fi
   18319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18320 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18322 	CFLAGS="$xorg_testset_save_CFLAGS"
   18323 fi
   18324 
   18325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18328 	fi
   18329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18330 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18331 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18332 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18333 then :
   18334   printf %s "(cached) " >&6
   18335 else $as_nop
   18336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18337 /* end confdefs.h.  */
   18338 int i;
   18339 _ACEOF
   18340 if ac_fn_c_try_compile "$LINENO"
   18341 then :
   18342   xorg_cv_cc_flag_unused_command_line_argument=yes
   18343 else $as_nop
   18344   xorg_cv_cc_flag_unused_command_line_argument=no
   18345 fi
   18346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18347 fi
   18348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18349 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18351 	CFLAGS="$xorg_testset_save_CFLAGS"
   18352 fi
   18353 
   18354 found="no"
   18355 
   18356 	if test $found = "no" ; then
   18357 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18359 		fi
   18360 
   18361 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18363 		fi
   18364 
   18365 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18366 
   18367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18368 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18369 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18370 		if eval test \${$cacheid+y}
   18371 then :
   18372   printf %s "(cached) " >&6
   18373 else $as_nop
   18374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18375 /* end confdefs.h.  */
   18376 int i;
   18377 int
   18378 main (void)
   18379 {
   18380 
   18381   ;
   18382   return 0;
   18383 }
   18384 _ACEOF
   18385 if ac_fn_c_try_link "$LINENO"
   18386 then :
   18387   eval $cacheid=yes
   18388 else $as_nop
   18389   eval $cacheid=no
   18390 fi
   18391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18392     conftest$ac_exeext conftest.$ac_ext
   18393 fi
   18394 
   18395 
   18396 		CFLAGS="$xorg_testset_save_CFLAGS"
   18397 
   18398 		eval supported=\$$cacheid
   18399 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18400 printf "%s\n" "$supported" >&6; }
   18401 		if test "$supported" = "yes" ; then
   18402 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18403 			found="yes"
   18404 		fi
   18405 	fi
   18406 
   18407 
   18408 fi
   18409 
   18410 
   18411 
   18412 
   18413 
   18414 
   18415 
   18416 		CWARNFLAGS="$BASE_CFLAGS"
   18417 		if  test "x$GCC" = xyes ; then
   18418 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18419 		fi
   18420 
   18421 
   18422 
   18423 
   18424 
   18425 
   18426 
   18427 
   18428 # Check whether --enable-strict-compilation was given.
   18429 if test ${enable_strict_compilation+y}
   18430 then :
   18431   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18432 else $as_nop
   18433   STRICT_COMPILE=no
   18434 fi
   18435 
   18436 
   18437 
   18438 
   18439 
   18440 
   18441 STRICT_CFLAGS=""
   18442 
   18443 
   18444 
   18445 
   18446 
   18447 
   18448 
   18449 
   18450 
   18451 
   18452 
   18453 
   18454 
   18455 xorg_testset_save_CFLAGS="$CFLAGS"
   18456 
   18457 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18458 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18459 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18460 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18461 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18462 then :
   18463   printf %s "(cached) " >&6
   18464 else $as_nop
   18465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18466 /* end confdefs.h.  */
   18467 int i;
   18468 _ACEOF
   18469 if ac_fn_c_try_compile "$LINENO"
   18470 then :
   18471   xorg_cv_cc_flag_unknown_warning_option=yes
   18472 else $as_nop
   18473   xorg_cv_cc_flag_unknown_warning_option=no
   18474 fi
   18475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18476 fi
   18477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18478 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18479 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18480 	CFLAGS="$xorg_testset_save_CFLAGS"
   18481 fi
   18482 
   18483 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18484 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18485 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18486 	fi
   18487 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18488 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18489 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18490 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18491 then :
   18492   printf %s "(cached) " >&6
   18493 else $as_nop
   18494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18495 /* end confdefs.h.  */
   18496 int i;
   18497 _ACEOF
   18498 if ac_fn_c_try_compile "$LINENO"
   18499 then :
   18500   xorg_cv_cc_flag_unused_command_line_argument=yes
   18501 else $as_nop
   18502   xorg_cv_cc_flag_unused_command_line_argument=no
   18503 fi
   18504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18505 fi
   18506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18507 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18508 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18509 	CFLAGS="$xorg_testset_save_CFLAGS"
   18510 fi
   18511 
   18512 found="no"
   18513 
   18514 	if test $found = "no" ; then
   18515 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18516 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18517 		fi
   18518 
   18519 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18520 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18521 		fi
   18522 
   18523 		CFLAGS="$CFLAGS -pedantic"
   18524 
   18525 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18526 printf %s "checking if $CC supports -pedantic... " >&6; }
   18527 		cacheid=xorg_cv_cc_flag__pedantic
   18528 		if eval test \${$cacheid+y}
   18529 then :
   18530   printf %s "(cached) " >&6
   18531 else $as_nop
   18532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18533 /* end confdefs.h.  */
   18534 int i;
   18535 int
   18536 main (void)
   18537 {
   18538 
   18539   ;
   18540   return 0;
   18541 }
   18542 _ACEOF
   18543 if ac_fn_c_try_link "$LINENO"
   18544 then :
   18545   eval $cacheid=yes
   18546 else $as_nop
   18547   eval $cacheid=no
   18548 fi
   18549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18550     conftest$ac_exeext conftest.$ac_ext
   18551 fi
   18552 
   18553 
   18554 		CFLAGS="$xorg_testset_save_CFLAGS"
   18555 
   18556 		eval supported=\$$cacheid
   18557 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18558 printf "%s\n" "$supported" >&6; }
   18559 		if test "$supported" = "yes" ; then
   18560 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18561 			found="yes"
   18562 		fi
   18563 	fi
   18564 
   18565 
   18566 
   18567 
   18568 
   18569 
   18570 
   18571 
   18572 
   18573 
   18574 
   18575 
   18576 
   18577 
   18578 
   18579 xorg_testset_save_CFLAGS="$CFLAGS"
   18580 
   18581 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18582 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18583 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18584 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18585 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18586 then :
   18587   printf %s "(cached) " >&6
   18588 else $as_nop
   18589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18590 /* end confdefs.h.  */
   18591 int i;
   18592 _ACEOF
   18593 if ac_fn_c_try_compile "$LINENO"
   18594 then :
   18595   xorg_cv_cc_flag_unknown_warning_option=yes
   18596 else $as_nop
   18597   xorg_cv_cc_flag_unknown_warning_option=no
   18598 fi
   18599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18600 fi
   18601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18602 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18603 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18604 	CFLAGS="$xorg_testset_save_CFLAGS"
   18605 fi
   18606 
   18607 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18608 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18609 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18610 	fi
   18611 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18613 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18614 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18615 then :
   18616   printf %s "(cached) " >&6
   18617 else $as_nop
   18618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18619 /* end confdefs.h.  */
   18620 int i;
   18621 _ACEOF
   18622 if ac_fn_c_try_compile "$LINENO"
   18623 then :
   18624   xorg_cv_cc_flag_unused_command_line_argument=yes
   18625 else $as_nop
   18626   xorg_cv_cc_flag_unused_command_line_argument=no
   18627 fi
   18628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18629 fi
   18630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18631 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18632 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18633 	CFLAGS="$xorg_testset_save_CFLAGS"
   18634 fi
   18635 
   18636 found="no"
   18637 
   18638 	if test $found = "no" ; then
   18639 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18640 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18641 		fi
   18642 
   18643 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18644 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18645 		fi
   18646 
   18647 		CFLAGS="$CFLAGS -Werror"
   18648 
   18649 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18650 printf %s "checking if $CC supports -Werror... " >&6; }
   18651 		cacheid=xorg_cv_cc_flag__Werror
   18652 		if eval test \${$cacheid+y}
   18653 then :
   18654   printf %s "(cached) " >&6
   18655 else $as_nop
   18656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18657 /* end confdefs.h.  */
   18658 int i;
   18659 int
   18660 main (void)
   18661 {
   18662 
   18663   ;
   18664   return 0;
   18665 }
   18666 _ACEOF
   18667 if ac_fn_c_try_link "$LINENO"
   18668 then :
   18669   eval $cacheid=yes
   18670 else $as_nop
   18671   eval $cacheid=no
   18672 fi
   18673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18674     conftest$ac_exeext conftest.$ac_ext
   18675 fi
   18676 
   18677 
   18678 		CFLAGS="$xorg_testset_save_CFLAGS"
   18679 
   18680 		eval supported=\$$cacheid
   18681 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18682 printf "%s\n" "$supported" >&6; }
   18683 		if test "$supported" = "yes" ; then
   18684 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18685 			found="yes"
   18686 		fi
   18687 	fi
   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 -errwarn"
   18699 
   18700 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18701 printf %s "checking if $CC supports -errwarn... " >&6; }
   18702 		cacheid=xorg_cv_cc_flag__errwarn
   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 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18736 			found="yes"
   18737 		fi
   18738 	fi
   18739 
   18740 
   18741 
   18742 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18743 # activate it with -Werror, so we add it here explicitly.
   18744 
   18745 
   18746 
   18747 
   18748 
   18749 
   18750 
   18751 
   18752 
   18753 
   18754 
   18755 
   18756 
   18757 xorg_testset_save_CFLAGS="$CFLAGS"
   18758 
   18759 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18760 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18761 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18762 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18763 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18764 then :
   18765   printf %s "(cached) " >&6
   18766 else $as_nop
   18767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18768 /* end confdefs.h.  */
   18769 int i;
   18770 _ACEOF
   18771 if ac_fn_c_try_compile "$LINENO"
   18772 then :
   18773   xorg_cv_cc_flag_unknown_warning_option=yes
   18774 else $as_nop
   18775   xorg_cv_cc_flag_unknown_warning_option=no
   18776 fi
   18777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18778 fi
   18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18780 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18781 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18782 	CFLAGS="$xorg_testset_save_CFLAGS"
   18783 fi
   18784 
   18785 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18786 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18787 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18788 	fi
   18789 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18790 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18791 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18792 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18793 then :
   18794   printf %s "(cached) " >&6
   18795 else $as_nop
   18796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18797 /* end confdefs.h.  */
   18798 int i;
   18799 _ACEOF
   18800 if ac_fn_c_try_compile "$LINENO"
   18801 then :
   18802   xorg_cv_cc_flag_unused_command_line_argument=yes
   18803 else $as_nop
   18804   xorg_cv_cc_flag_unused_command_line_argument=no
   18805 fi
   18806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18807 fi
   18808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18809 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18810 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18811 	CFLAGS="$xorg_testset_save_CFLAGS"
   18812 fi
   18813 
   18814 found="no"
   18815 
   18816 	if test $found = "no" ; then
   18817 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18818 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18819 		fi
   18820 
   18821 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18822 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18823 		fi
   18824 
   18825 		CFLAGS="$CFLAGS -Werror=attributes"
   18826 
   18827 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18828 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   18829 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18830 		if eval test \${$cacheid+y}
   18831 then :
   18832   printf %s "(cached) " >&6
   18833 else $as_nop
   18834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18835 /* end confdefs.h.  */
   18836 int i;
   18837 int
   18838 main (void)
   18839 {
   18840 
   18841   ;
   18842   return 0;
   18843 }
   18844 _ACEOF
   18845 if ac_fn_c_try_link "$LINENO"
   18846 then :
   18847   eval $cacheid=yes
   18848 else $as_nop
   18849   eval $cacheid=no
   18850 fi
   18851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18852     conftest$ac_exeext conftest.$ac_ext
   18853 fi
   18854 
   18855 
   18856 		CFLAGS="$xorg_testset_save_CFLAGS"
   18857 
   18858 		eval supported=\$$cacheid
   18859 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18860 printf "%s\n" "$supported" >&6; }
   18861 		if test "$supported" = "yes" ; then
   18862 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18863 			found="yes"
   18864 		fi
   18865 	fi
   18866 
   18867 
   18868 
   18869 if test "x$STRICT_COMPILE" = "xyes"; then
   18870     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18871     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18872 fi
   18873 
   18874 
   18875 
   18876 
   18877 
   18878 
   18879 cat >>confdefs.h <<_ACEOF
   18880 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18881 _ACEOF
   18882 
   18883 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18884 	if test "x$PVM" = "x"; then
   18885 		PVM="0"
   18886 	fi
   18887 
   18888 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   18889 
   18890 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18891 	if test "x$PVP" = "x"; then
   18892 		PVP="0"
   18893 	fi
   18894 
   18895 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   18896 
   18897 
   18898 
   18899 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   18900 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18901 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   18902 touch \$(top_srcdir)/ChangeLog; \
   18903 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   18904 
   18905 
   18906 
   18907 
   18908 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18909 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18910 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18911 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   18912 touch \$(top_srcdir)/INSTALL; \
   18913 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   18914 
   18915 
   18916 
   18917 
   18918 
   18919 
   18920 case $host_os in
   18921     solaris*)
   18922         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   18923         # check for a man page file found in later versions that use
   18924         # traditional section numbers instead
   18925         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   18926 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   18927 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   18928 then :
   18929   printf %s "(cached) " >&6
   18930 else $as_nop
   18931   test "$cross_compiling" = yes &&
   18932   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18933 if test -r "/usr/share/man/man7/attributes.7"; then
   18934   ac_cv_file__usr_share_man_man7_attributes_7=yes
   18935 else
   18936   ac_cv_file__usr_share_man_man7_attributes_7=no
   18937 fi
   18938 fi
   18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   18940 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   18941 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   18942 then :
   18943   SYSV_MAN_SECTIONS=false
   18944 else $as_nop
   18945   SYSV_MAN_SECTIONS=true
   18946 fi
   18947 
   18948         ;;
   18949     *) SYSV_MAN_SECTIONS=false ;;
   18950 esac
   18951 
   18952 if test x$APP_MAN_SUFFIX = x    ; then
   18953     APP_MAN_SUFFIX=1
   18954 fi
   18955 if test x$APP_MAN_DIR = x    ; then
   18956     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18957 fi
   18958 
   18959 if test x$LIB_MAN_SUFFIX = x    ; then
   18960     LIB_MAN_SUFFIX=3
   18961 fi
   18962 if test x$LIB_MAN_DIR = x    ; then
   18963     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18964 fi
   18965 
   18966 if test x$FILE_MAN_SUFFIX = x    ; then
   18967     case $SYSV_MAN_SECTIONS in
   18968 	true)				FILE_MAN_SUFFIX=4  ;;
   18969 	*)				FILE_MAN_SUFFIX=5  ;;
   18970     esac
   18971 fi
   18972 if test x$FILE_MAN_DIR = x    ; then
   18973     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18974 fi
   18975 
   18976 if test x$MISC_MAN_SUFFIX = x    ; then
   18977     case $SYSV_MAN_SECTIONS in
   18978 	true)				MISC_MAN_SUFFIX=5  ;;
   18979 	*)				MISC_MAN_SUFFIX=7  ;;
   18980     esac
   18981 fi
   18982 if test x$MISC_MAN_DIR = x    ; then
   18983     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18984 fi
   18985 
   18986 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18987     case $SYSV_MAN_SECTIONS in
   18988 	true)				DRIVER_MAN_SUFFIX=7  ;;
   18989 	*)				DRIVER_MAN_SUFFIX=4  ;;
   18990     esac
   18991 fi
   18992 if test x$DRIVER_MAN_DIR = x    ; then
   18993     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18994 fi
   18995 
   18996 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18997     case $SYSV_MAN_SECTIONS in
   18998 	true)				ADMIN_MAN_SUFFIX=1m ;;
   18999 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19000     esac
   19001 fi
   19002 if test x$ADMIN_MAN_DIR = x    ; then
   19003     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19004 fi
   19005 
   19006 
   19007 
   19008 
   19009 
   19010 
   19011 
   19012 
   19013 
   19014 
   19015 
   19016 
   19017 
   19018 
   19019 
   19020 XORG_MAN_PAGE="X Version 11"
   19021 
   19022 MAN_SUBSTS="\
   19023 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19024 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19025 	-e 's|__xservername__|Xorg|g' \
   19026 	-e 's|__xconfigfile__|xorg.conf|g' \
   19027 	-e 's|__projectroot__|\$(prefix)|g' \
   19028 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19029 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19030 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19031 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19032 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19033 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19034 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19035 
   19036 
   19037 
   19038 # Check whether --enable-silent-rules was given.
   19039 if test ${enable_silent_rules+y}
   19040 then :
   19041   enableval=$enable_silent_rules;
   19042 fi
   19043 
   19044 case $enable_silent_rules in # (((
   19045   yes) AM_DEFAULT_VERBOSITY=0;;
   19046    no) AM_DEFAULT_VERBOSITY=1;;
   19047     *) AM_DEFAULT_VERBOSITY=0;;
   19048 esac
   19049 am_make=${MAKE-make}
   19050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19051 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19052 if test ${am_cv_make_support_nested_variables+y}
   19053 then :
   19054   printf %s "(cached) " >&6
   19055 else $as_nop
   19056   if printf "%s\n" 'TRUE=$(BAR$(V))
   19057 BAR0=false
   19058 BAR1=true
   19059 V=1
   19060 am__doit:
   19061 	@$(TRUE)
   19062 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19063   am_cv_make_support_nested_variables=yes
   19064 else
   19065   am_cv_make_support_nested_variables=no
   19066 fi
   19067 fi
   19068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19069 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19070 if test $am_cv_make_support_nested_variables = yes; then
   19071     AM_V='$(V)'
   19072   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19073 else
   19074   AM_V=$AM_DEFAULT_VERBOSITY
   19075   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19076 fi
   19077 AM_BACKSLASH='\'
   19078 
   19079 
   19080 
   19081 # Set library version for Xft.h from package version set in AC_INIT
   19082 # copied from PACKAGE_VERSION_* settings in XORG_VERSION
   19083 ac_config_headers="$ac_config_headers include/X11/Xft/Xft.h"
   19084 
   19085 
   19086 cat >>confdefs.h <<_ACEOF
   19087 #define XFT_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19088 _ACEOF
   19089 
   19090 
   19091 cat >>confdefs.h <<_ACEOF
   19092 #define XFT_MINOR `echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19093 _ACEOF
   19094 
   19095 
   19096 cat >>confdefs.h <<_ACEOF
   19097 #define XFT_REVISION `echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19098 _ACEOF
   19099 
   19100 
   19101 XFT_LT_VERSION=`echo $PACKAGE_VERSION | tr '.' ':'`
   19102 
   19103 
   19104 #
   19105 # Check for Xrender
   19106 #
   19107 
   19108 pkg_failed=no
   19109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRENDER" >&5
   19110 printf %s "checking for XRENDER... " >&6; }
   19111 
   19112 if test -n "$XRENDER_CFLAGS"; then
   19113     pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
   19114  elif test -n "$PKG_CONFIG"; then
   19115     if test -n "$PKG_CONFIG" && \
   19116     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 x11\""; } >&5
   19117   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 x11") 2>&5
   19118   ac_status=$?
   19119   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19120   test $ac_status = 0; }; then
   19121   pkg_cv_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.8.2 x11" 2>/dev/null`
   19122 		      test "x$?" != "x0" && pkg_failed=yes
   19123 else
   19124   pkg_failed=yes
   19125 fi
   19126  else
   19127     pkg_failed=untried
   19128 fi
   19129 if test -n "$XRENDER_LIBS"; then
   19130     pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
   19131  elif test -n "$PKG_CONFIG"; then
   19132     if test -n "$PKG_CONFIG" && \
   19133     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 x11\""; } >&5
   19134   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 x11") 2>&5
   19135   ac_status=$?
   19136   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19137   test $ac_status = 0; }; then
   19138   pkg_cv_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender >= 0.8.2 x11" 2>/dev/null`
   19139 		      test "x$?" != "x0" && pkg_failed=yes
   19140 else
   19141   pkg_failed=yes
   19142 fi
   19143  else
   19144     pkg_failed=untried
   19145 fi
   19146 
   19147 
   19148 
   19149 if test $pkg_failed = yes; then
   19150    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19151 printf "%s\n" "no" >&6; }
   19152 
   19153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19154         _pkg_short_errors_supported=yes
   19155 else
   19156         _pkg_short_errors_supported=no
   19157 fi
   19158         if test $_pkg_short_errors_supported = yes; then
   19159 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrender >= 0.8.2 x11" 2>&1`
   19160         else
   19161 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrender >= 0.8.2 x11" 2>&1`
   19162         fi
   19163 	# Put the nasty error message in config.log where it belongs
   19164 	echo "$XRENDER_PKG_ERRORS" >&5
   19165 
   19166 	as_fn_error $? "Package requirements (xrender >= 0.8.2 x11) were not met:
   19167 
   19168 $XRENDER_PKG_ERRORS
   19169 
   19170 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19171 installed software in a non-standard prefix.
   19172 
   19173 Alternatively, you may set the environment variables XRENDER_CFLAGS
   19174 and XRENDER_LIBS to avoid the need to call pkg-config.
   19175 See the pkg-config man page for more details." "$LINENO" 5
   19176 elif test $pkg_failed = untried; then
   19177      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19178 printf "%s\n" "no" >&6; }
   19179 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19180 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19181 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19182 is in your PATH or set the PKG_CONFIG environment variable to the full
   19183 path to pkg-config.
   19184 
   19185 Alternatively, you may set the environment variables XRENDER_CFLAGS
   19186 and XRENDER_LIBS to avoid the need to call pkg-config.
   19187 See the pkg-config man page for more details.
   19188 
   19189 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19190 See \`config.log' for more details" "$LINENO" 5; }
   19191 else
   19192 	XRENDER_CFLAGS=$pkg_cv_XRENDER_CFLAGS
   19193 	XRENDER_LIBS=$pkg_cv_XRENDER_LIBS
   19194         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19195 printf "%s\n" "yes" >&6; }
   19196 
   19197 fi
   19198 
   19199 # Check freetype configuration
   19200 
   19201 pkg_failed=no
   19202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
   19203 printf %s "checking for FREETYPE... " >&6; }
   19204 
   19205 if test -n "$FREETYPE_CFLAGS"; then
   19206     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   19207  elif test -n "$PKG_CONFIG"; then
   19208     if test -n "$PKG_CONFIG" && \
   19209     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.1.6\""; } >&5
   19210   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.1.6") 2>&5
   19211   ac_status=$?
   19212   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19213   test $ac_status = 0; }; then
   19214   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 2.1.6" 2>/dev/null`
   19215 		      test "x$?" != "x0" && pkg_failed=yes
   19216 else
   19217   pkg_failed=yes
   19218 fi
   19219  else
   19220     pkg_failed=untried
   19221 fi
   19222 if test -n "$FREETYPE_LIBS"; then
   19223     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   19224  elif test -n "$PKG_CONFIG"; then
   19225     if test -n "$PKG_CONFIG" && \
   19226     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.1.6\""; } >&5
   19227   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.1.6") 2>&5
   19228   ac_status=$?
   19229   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19230   test $ac_status = 0; }; then
   19231   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 2.1.6" 2>/dev/null`
   19232 		      test "x$?" != "x0" && pkg_failed=yes
   19233 else
   19234   pkg_failed=yes
   19235 fi
   19236  else
   19237     pkg_failed=untried
   19238 fi
   19239 
   19240 
   19241 
   19242 if test $pkg_failed = yes; then
   19243    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19244 printf "%s\n" "no" >&6; }
   19245 
   19246 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19247         _pkg_short_errors_supported=yes
   19248 else
   19249         _pkg_short_errors_supported=no
   19250 fi
   19251         if test $_pkg_short_errors_supported = yes; then
   19252 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2 >= 2.1.6" 2>&1`
   19253         else
   19254 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2 >= 2.1.6" 2>&1`
   19255         fi
   19256 	# Put the nasty error message in config.log where it belongs
   19257 	echo "$FREETYPE_PKG_ERRORS" >&5
   19258 
   19259 	as_fn_error $? "Package requirements (freetype2 >= 2.1.6) were not met:
   19260 
   19261 $FREETYPE_PKG_ERRORS
   19262 
   19263 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19264 installed software in a non-standard prefix.
   19265 
   19266 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   19267 and FREETYPE_LIBS to avoid the need to call pkg-config.
   19268 See the pkg-config man page for more details." "$LINENO" 5
   19269 elif test $pkg_failed = untried; then
   19270      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19271 printf "%s\n" "no" >&6; }
   19272 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19273 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19274 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19275 is in your PATH or set the PKG_CONFIG environment variable to the full
   19276 path to pkg-config.
   19277 
   19278 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   19279 and FREETYPE_LIBS to avoid the need to call pkg-config.
   19280 See the pkg-config man page for more details.
   19281 
   19282 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19283 See \`config.log' for more details" "$LINENO" 5; }
   19284 else
   19285 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   19286 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   19287         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19288 printf "%s\n" "yes" >&6; }
   19289 
   19290 fi
   19291 
   19292 # Check fontconfig configuration
   19293 
   19294 pkg_failed=no
   19295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
   19296 printf %s "checking for FONTCONFIG... " >&6; }
   19297 
   19298 if test -n "$FONTCONFIG_CFLAGS"; then
   19299     pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
   19300  elif test -n "$PKG_CONFIG"; then
   19301     if test -n "$PKG_CONFIG" && \
   19302     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.92\""; } >&5
   19303   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.92") 2>&5
   19304   ac_status=$?
   19305   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19306   test $ac_status = 0; }; then
   19307   pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.92" 2>/dev/null`
   19308 		      test "x$?" != "x0" && pkg_failed=yes
   19309 else
   19310   pkg_failed=yes
   19311 fi
   19312  else
   19313     pkg_failed=untried
   19314 fi
   19315 if test -n "$FONTCONFIG_LIBS"; then
   19316     pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
   19317  elif test -n "$PKG_CONFIG"; then
   19318     if test -n "$PKG_CONFIG" && \
   19319     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.92\""; } >&5
   19320   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.92") 2>&5
   19321   ac_status=$?
   19322   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19323   test $ac_status = 0; }; then
   19324   pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.92" 2>/dev/null`
   19325 		      test "x$?" != "x0" && pkg_failed=yes
   19326 else
   19327   pkg_failed=yes
   19328 fi
   19329  else
   19330     pkg_failed=untried
   19331 fi
   19332 
   19333 
   19334 
   19335 if test $pkg_failed = yes; then
   19336    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19337 printf "%s\n" "no" >&6; }
   19338 
   19339 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19340         _pkg_short_errors_supported=yes
   19341 else
   19342         _pkg_short_errors_supported=no
   19343 fi
   19344         if test $_pkg_short_errors_supported = yes; then
   19345 	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig >= 2.5.92" 2>&1`
   19346         else
   19347 	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig >= 2.5.92" 2>&1`
   19348         fi
   19349 	# Put the nasty error message in config.log where it belongs
   19350 	echo "$FONTCONFIG_PKG_ERRORS" >&5
   19351 
   19352 	as_fn_error $? "Package requirements (fontconfig >= 2.5.92) were not met:
   19353 
   19354 $FONTCONFIG_PKG_ERRORS
   19355 
   19356 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19357 installed software in a non-standard prefix.
   19358 
   19359 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
   19360 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
   19361 See the pkg-config man page for more details." "$LINENO" 5
   19362 elif test $pkg_failed = untried; then
   19363      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19364 printf "%s\n" "no" >&6; }
   19365 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19366 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19367 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19368 is in your PATH or set the PKG_CONFIG environment variable to the full
   19369 path to pkg-config.
   19370 
   19371 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
   19372 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
   19373 See the pkg-config man page for more details.
   19374 
   19375 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19376 See \`config.log' for more details" "$LINENO" 5; }
   19377 else
   19378 	FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
   19379 	FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
   19380         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19381 printf "%s\n" "yes" >&6; }
   19382 
   19383 fi
   19384 
   19385 
   19386 
   19387 
   19388 
   19389 
   19390 
   19391 
   19392 if test "$VERSION" = "" ; then
   19393        VERSION=$PACKAGE_VERSION;
   19394 fi
   19395 
   19396 ac_config_files="$ac_config_files Makefile xft.pc src/Makefile man/Makefile"
   19397 
   19398 cat >confcache <<\_ACEOF
   19399 # This file is a shell script that caches the results of configure
   19400 # tests run on this system so they can be shared between configure
   19401 # scripts and configure runs, see configure's option --config-cache.
   19402 # It is not useful on other systems.  If it contains results you don't
   19403 # want to keep, you may remove or edit it.
   19404 #
   19405 # config.status only pays attention to the cache file if you give it
   19406 # the --recheck option to rerun configure.
   19407 #
   19408 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19410 # following values.
   19411 
   19412 _ACEOF
   19413 
   19414 # The following way of writing the cache mishandles newlines in values,
   19415 # but we know of no workaround that is simple, portable, and efficient.
   19416 # So, we kill variables containing newlines.
   19417 # Ultrix sh set writes to stderr and can't be redirected directly,
   19418 # and sets the high bit in the cache file unless we assign to the vars.
   19419 (
   19420   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19421     eval ac_val=\$$ac_var
   19422     case $ac_val in #(
   19423     *${as_nl}*)
   19424       case $ac_var in #(
   19425       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19426 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19427       esac
   19428       case $ac_var in #(
   19429       _ | IFS | as_nl) ;; #(
   19430       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19431       *) { eval $ac_var=; unset $ac_var;} ;;
   19432       esac ;;
   19433     esac
   19434   done
   19435 
   19436   (set) 2>&1 |
   19437     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19438     *${as_nl}ac_space=\ *)
   19439       # `set' does not quote correctly, so add quotes: double-quote
   19440       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19441       sed -n \
   19442 	"s/'/'\\\\''/g;
   19443 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19444       ;; #(
   19445     *)
   19446       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19447       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19448       ;;
   19449     esac |
   19450     sort
   19451 ) |
   19452   sed '
   19453      /^ac_cv_env_/b end
   19454      t clear
   19455      :clear
   19456      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   19457      t end
   19458      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19459      :end' >>confcache
   19460 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19461   if test -w "$cache_file"; then
   19462     if test "x$cache_file" != "x/dev/null"; then
   19463       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19464 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   19465       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19466 	cat confcache >"$cache_file"
   19467       else
   19468         case $cache_file in #(
   19469         */* | ?:*)
   19470 	  mv -f confcache "$cache_file"$$ &&
   19471 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19472         *)
   19473 	  mv -f confcache "$cache_file" ;;
   19474 	esac
   19475       fi
   19476     fi
   19477   else
   19478     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19479 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   19480   fi
   19481 fi
   19482 rm -f confcache
   19483 
   19484 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19485 # Let make expand exec_prefix.
   19486 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19487 
   19488 DEFS=-DHAVE_CONFIG_H
   19489 
   19490 ac_libobjs=
   19491 ac_ltlibobjs=
   19492 U=
   19493 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19494   # 1. Remove the extension, and $U if already installed.
   19495   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19496   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   19497   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19498   #    will be set to the directory where LIBOBJS objects are built.
   19499   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19500   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19501 done
   19502 LIBOBJS=$ac_libobjs
   19503 
   19504 LTLIBOBJS=$ac_ltlibobjs
   19505 
   19506 
   19507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19508 printf %s "checking that generated files are newer than configure... " >&6; }
   19509    if test -n "$am_sleep_pid"; then
   19510      # Hide warnings about reused PIDs.
   19511      wait $am_sleep_pid 2>/dev/null
   19512    fi
   19513    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19514 printf "%s\n" "done" >&6; }
   19515  if test -n "$EXEEXT"; then
   19516   am__EXEEXT_TRUE=
   19517   am__EXEEXT_FALSE='#'
   19518 else
   19519   am__EXEEXT_TRUE='#'
   19520   am__EXEEXT_FALSE=
   19521 fi
   19522 
   19523 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19524   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19526 fi
   19527 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19528   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19530 fi
   19531 
   19532 : "${CONFIG_STATUS=./config.status}"
   19533 ac_write_fail=0
   19534 ac_clean_files_save=$ac_clean_files
   19535 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19537 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   19538 as_write_fail=0
   19539 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19540 #! $SHELL
   19541 # Generated by $as_me.
   19542 # Run this file to recreate the current configuration.
   19543 # Compiler output produced by configure, useful for debugging
   19544 # configure, is in config.log if it exists.
   19545 
   19546 debug=false
   19547 ac_cs_recheck=false
   19548 ac_cs_silent=false
   19549 
   19550 SHELL=\${CONFIG_SHELL-$SHELL}
   19551 export SHELL
   19552 _ASEOF
   19553 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19554 ## -------------------- ##
   19555 ## M4sh Initialization. ##
   19556 ## -------------------- ##
   19557 
   19558 # Be more Bourne compatible
   19559 DUALCASE=1; export DUALCASE # for MKS sh
   19560 as_nop=:
   19561 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   19562 then :
   19563   emulate sh
   19564   NULLCMD=:
   19565   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19566   # is contrary to our usage.  Disable this feature.
   19567   alias -g '${1+"$@"}'='"$@"'
   19568   setopt NO_GLOB_SUBST
   19569 else $as_nop
   19570   case `(set -o) 2>/dev/null` in #(
   19571   *posix*) :
   19572     set -o posix ;; #(
   19573   *) :
   19574      ;;
   19575 esac
   19576 fi
   19577 
   19578 
   19579 
   19580 # Reset variables that may have inherited troublesome values from
   19581 # the environment.
   19582 
   19583 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   19584 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   19585 # side effect of setting IFS to empty, thus disabling word splitting.)
   19586 # Quoting is to prevent editors from complaining about space-tab.
   19587 as_nl='
   19588 '
   19589 export as_nl
   19590 IFS=" ""	$as_nl"
   19591 
   19592 PS1='$ '
   19593 PS2='> '
   19594 PS4='+ '
   19595 
   19596 # Ensure predictable behavior from utilities with locale-dependent output.
   19597 LC_ALL=C
   19598 export LC_ALL
   19599 LANGUAGE=C
   19600 export LANGUAGE
   19601 
   19602 # We cannot yet rely on "unset" to work, but we need these variables
   19603 # to be unset--not just set to an empty or harmless value--now, to
   19604 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   19605 # also avoids known problems related to "unset" and subshell syntax
   19606 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   19607 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   19608 do eval test \${$as_var+y} \
   19609   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19610 done
   19611 
   19612 # Ensure that fds 0, 1, and 2 are open.
   19613 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   19614 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   19615 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   19616 
   19617 # The user is always right.
   19618 if ${PATH_SEPARATOR+false} :; then
   19619   PATH_SEPARATOR=:
   19620   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19621     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19622       PATH_SEPARATOR=';'
   19623   }
   19624 fi
   19625 
   19626 
   19627 # Find who we are.  Look in the path if we contain no directory separator.
   19628 as_myself=
   19629 case $0 in #((
   19630   *[\\/]* ) as_myself=$0 ;;
   19631   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19632 for as_dir in $PATH
   19633 do
   19634   IFS=$as_save_IFS
   19635   case $as_dir in #(((
   19636     '') as_dir=./ ;;
   19637     */) ;;
   19638     *) as_dir=$as_dir/ ;;
   19639   esac
   19640     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   19641   done
   19642 IFS=$as_save_IFS
   19643 
   19644      ;;
   19645 esac
   19646 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19647 # in which case we are not to be found in the path.
   19648 if test "x$as_myself" = x; then
   19649   as_myself=$0
   19650 fi
   19651 if test ! -f "$as_myself"; then
   19652   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19653   exit 1
   19654 fi
   19655 
   19656 
   19657 
   19658 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19659 # ----------------------------------------
   19660 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19661 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19662 # script with STATUS, using 1 if that was 0.
   19663 as_fn_error ()
   19664 {
   19665   as_status=$1; test $as_status -eq 0 && as_status=1
   19666   if test "$4"; then
   19667     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19668     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19669   fi
   19670   printf "%s\n" "$as_me: error: $2" >&2
   19671   as_fn_exit $as_status
   19672 } # as_fn_error
   19673 
   19674 
   19675 
   19676 # as_fn_set_status STATUS
   19677 # -----------------------
   19678 # Set $? to STATUS, without forking.
   19679 as_fn_set_status ()
   19680 {
   19681   return $1
   19682 } # as_fn_set_status
   19683 
   19684 # as_fn_exit STATUS
   19685 # -----------------
   19686 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19687 as_fn_exit ()
   19688 {
   19689   set +e
   19690   as_fn_set_status $1
   19691   exit $1
   19692 } # as_fn_exit
   19693 
   19694 # as_fn_unset VAR
   19695 # ---------------
   19696 # Portably unset VAR.
   19697 as_fn_unset ()
   19698 {
   19699   { eval $1=; unset $1;}
   19700 }
   19701 as_unset=as_fn_unset
   19702 
   19703 # as_fn_append VAR VALUE
   19704 # ----------------------
   19705 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19706 # advantage of any shell optimizations that allow amortized linear growth over
   19707 # repeated appends, instead of the typical quadratic growth present in naive
   19708 # implementations.
   19709 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   19710 then :
   19711   eval 'as_fn_append ()
   19712   {
   19713     eval $1+=\$2
   19714   }'
   19715 else $as_nop
   19716   as_fn_append ()
   19717   {
   19718     eval $1=\$$1\$2
   19719   }
   19720 fi # as_fn_append
   19721 
   19722 # as_fn_arith ARG...
   19723 # ------------------
   19724 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19725 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19726 # must be portable across $(()) and expr.
   19727 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   19728 then :
   19729   eval 'as_fn_arith ()
   19730   {
   19731     as_val=$(( $* ))
   19732   }'
   19733 else $as_nop
   19734   as_fn_arith ()
   19735   {
   19736     as_val=`expr "$@" || test $? -eq 1`
   19737   }
   19738 fi # as_fn_arith
   19739 
   19740 
   19741 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19742    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19743   as_expr=expr
   19744 else
   19745   as_expr=false
   19746 fi
   19747 
   19748 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19749   as_basename=basename
   19750 else
   19751   as_basename=false
   19752 fi
   19753 
   19754 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19755   as_dirname=dirname
   19756 else
   19757   as_dirname=false
   19758 fi
   19759 
   19760 as_me=`$as_basename -- "$0" ||
   19761 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19762 	 X"$0" : 'X\(//\)$' \| \
   19763 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19764 printf "%s\n" X/"$0" |
   19765     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19766 	    s//\1/
   19767 	    q
   19768 	  }
   19769 	  /^X\/\(\/\/\)$/{
   19770 	    s//\1/
   19771 	    q
   19772 	  }
   19773 	  /^X\/\(\/\).*/{
   19774 	    s//\1/
   19775 	    q
   19776 	  }
   19777 	  s/.*/./; q'`
   19778 
   19779 # Avoid depending upon Character Ranges.
   19780 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19781 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19782 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19783 as_cr_digits='0123456789'
   19784 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19785 
   19786 
   19787 # Determine whether it's possible to make 'echo' print without a newline.
   19788 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   19789 # for compatibility with existing Makefiles.
   19790 ECHO_C= ECHO_N= ECHO_T=
   19791 case `echo -n x` in #(((((
   19792 -n*)
   19793   case `echo 'xy\c'` in
   19794   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19795   xy)  ECHO_C='\c';;
   19796   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19797        ECHO_T='	';;
   19798   esac;;
   19799 *)
   19800   ECHO_N='-n';;
   19801 esac
   19802 
   19803 # For backward compatibility with old third-party macros, we provide
   19804 # the shell variables $as_echo and $as_echo_n.  New code should use
   19805 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   19806 as_echo='printf %s\n'
   19807 as_echo_n='printf %s'
   19808 
   19809 rm -f conf$$ conf$$.exe conf$$.file
   19810 if test -d conf$$.dir; then
   19811   rm -f conf$$.dir/conf$$.file
   19812 else
   19813   rm -f conf$$.dir
   19814   mkdir conf$$.dir 2>/dev/null
   19815 fi
   19816 if (echo >conf$$.file) 2>/dev/null; then
   19817   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19818     as_ln_s='ln -s'
   19819     # ... but there are two gotchas:
   19820     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19821     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19822     # In both cases, we have to default to `cp -pR'.
   19823     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19824       as_ln_s='cp -pR'
   19825   elif ln conf$$.file conf$$ 2>/dev/null; then
   19826     as_ln_s=ln
   19827   else
   19828     as_ln_s='cp -pR'
   19829   fi
   19830 else
   19831   as_ln_s='cp -pR'
   19832 fi
   19833 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19834 rmdir conf$$.dir 2>/dev/null
   19835 
   19836 
   19837 # as_fn_mkdir_p
   19838 # -------------
   19839 # Create "$as_dir" as a directory, including parents if necessary.
   19840 as_fn_mkdir_p ()
   19841 {
   19842 
   19843   case $as_dir in #(
   19844   -*) as_dir=./$as_dir;;
   19845   esac
   19846   test -d "$as_dir" || eval $as_mkdir_p || {
   19847     as_dirs=
   19848     while :; do
   19849       case $as_dir in #(
   19850       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19851       *) as_qdir=$as_dir;;
   19852       esac
   19853       as_dirs="'$as_qdir' $as_dirs"
   19854       as_dir=`$as_dirname -- "$as_dir" ||
   19855 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19856 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19857 	 X"$as_dir" : 'X\(//\)$' \| \
   19858 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19859 printf "%s\n" X"$as_dir" |
   19860     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19861 	    s//\1/
   19862 	    q
   19863 	  }
   19864 	  /^X\(\/\/\)[^/].*/{
   19865 	    s//\1/
   19866 	    q
   19867 	  }
   19868 	  /^X\(\/\/\)$/{
   19869 	    s//\1/
   19870 	    q
   19871 	  }
   19872 	  /^X\(\/\).*/{
   19873 	    s//\1/
   19874 	    q
   19875 	  }
   19876 	  s/.*/./; q'`
   19877       test -d "$as_dir" && break
   19878     done
   19879     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19880   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19881 
   19882 
   19883 } # as_fn_mkdir_p
   19884 if mkdir -p . 2>/dev/null; then
   19885   as_mkdir_p='mkdir -p "$as_dir"'
   19886 else
   19887   test -d ./-p && rmdir ./-p
   19888   as_mkdir_p=false
   19889 fi
   19890 
   19891 
   19892 # as_fn_executable_p FILE
   19893 # -----------------------
   19894 # Test if FILE is an executable regular file.
   19895 as_fn_executable_p ()
   19896 {
   19897   test -f "$1" && test -x "$1"
   19898 } # as_fn_executable_p
   19899 as_test_x='test -x'
   19900 as_executable_p=as_fn_executable_p
   19901 
   19902 # Sed expression to map a string onto a valid CPP name.
   19903 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19904 
   19905 # Sed expression to map a string onto a valid variable name.
   19906 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19907 
   19908 
   19909 exec 6>&1
   19910 ## ----------------------------------- ##
   19911 ## Main body of $CONFIG_STATUS script. ##
   19912 ## ----------------------------------- ##
   19913 _ASEOF
   19914 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19915 
   19916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19917 # Save the log message, to keep $0 and so on meaningful, and to
   19918 # report actual input values of CONFIG_FILES etc. instead of their
   19919 # values after options handling.
   19920 ac_log="
   19921 This file was extended by libXft $as_me 2.3.4, which was
   19922 generated by GNU Autoconf 2.71.  Invocation command line was
   19923 
   19924   CONFIG_FILES    = $CONFIG_FILES
   19925   CONFIG_HEADERS  = $CONFIG_HEADERS
   19926   CONFIG_LINKS    = $CONFIG_LINKS
   19927   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19928   $ $0 $@
   19929 
   19930 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19931 "
   19932 
   19933 _ACEOF
   19934 
   19935 case $ac_config_files in *"
   19936 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19937 esac
   19938 
   19939 case $ac_config_headers in *"
   19940 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19941 esac
   19942 
   19943 
   19944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19945 # Files that config.status was made for.
   19946 config_files="$ac_config_files"
   19947 config_headers="$ac_config_headers"
   19948 config_commands="$ac_config_commands"
   19949 
   19950 _ACEOF
   19951 
   19952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19953 ac_cs_usage="\
   19954 \`$as_me' instantiates files and other configuration actions
   19955 from templates according to the current configuration.  Unless the files
   19956 and actions are specified as TAGs, all are instantiated by default.
   19957 
   19958 Usage: $0 [OPTION]... [TAG]...
   19959 
   19960   -h, --help       print this help, then exit
   19961   -V, --version    print version number and configuration settings, then exit
   19962       --config     print configuration, then exit
   19963   -q, --quiet, --silent
   19964                    do not print progress messages
   19965   -d, --debug      don't remove temporary files
   19966       --recheck    update $as_me by reconfiguring in the same conditions
   19967       --file=FILE[:TEMPLATE]
   19968                    instantiate the configuration file FILE
   19969       --header=FILE[:TEMPLATE]
   19970                    instantiate the configuration header FILE
   19971 
   19972 Configuration files:
   19973 $config_files
   19974 
   19975 Configuration headers:
   19976 $config_headers
   19977 
   19978 Configuration commands:
   19979 $config_commands
   19980 
   19981 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXft/issues>."
   19982 
   19983 _ACEOF
   19984 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   19985 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   19986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19987 ac_cs_config='$ac_cs_config_escaped'
   19988 ac_cs_version="\\
   19989 libXft config.status 2.3.4
   19990 configured by $0, generated by GNU Autoconf 2.71,
   19991   with options \\"\$ac_cs_config\\"
   19992 
   19993 Copyright (C) 2021 Free Software Foundation, Inc.
   19994 This config.status script is free software; the Free Software Foundation
   19995 gives unlimited permission to copy, distribute and modify it."
   19996 
   19997 ac_pwd='$ac_pwd'
   19998 srcdir='$srcdir'
   19999 INSTALL='$INSTALL'
   20000 MKDIR_P='$MKDIR_P'
   20001 AWK='$AWK'
   20002 test -n "\$AWK" || AWK=awk
   20003 _ACEOF
   20004 
   20005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20006 # The default lists apply if the user does not specify any file.
   20007 ac_need_defaults=:
   20008 while test $# != 0
   20009 do
   20010   case $1 in
   20011   --*=?*)
   20012     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20013     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20014     ac_shift=:
   20015     ;;
   20016   --*=)
   20017     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20018     ac_optarg=
   20019     ac_shift=:
   20020     ;;
   20021   *)
   20022     ac_option=$1
   20023     ac_optarg=$2
   20024     ac_shift=shift
   20025     ;;
   20026   esac
   20027 
   20028   case $ac_option in
   20029   # Handling of the options.
   20030   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20031     ac_cs_recheck=: ;;
   20032   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20033     printf "%s\n" "$ac_cs_version"; exit ;;
   20034   --config | --confi | --conf | --con | --co | --c )
   20035     printf "%s\n" "$ac_cs_config"; exit ;;
   20036   --debug | --debu | --deb | --de | --d | -d )
   20037     debug=: ;;
   20038   --file | --fil | --fi | --f )
   20039     $ac_shift
   20040     case $ac_optarg in
   20041     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20042     '') as_fn_error $? "missing file argument" ;;
   20043     esac
   20044     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20045     ac_need_defaults=false;;
   20046   --header | --heade | --head | --hea )
   20047     $ac_shift
   20048     case $ac_optarg in
   20049     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20050     esac
   20051     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20052     ac_need_defaults=false;;
   20053   --he | --h)
   20054     # Conflict between --help and --header
   20055     as_fn_error $? "ambiguous option: \`$1'
   20056 Try \`$0 --help' for more information.";;
   20057   --help | --hel | -h )
   20058     printf "%s\n" "$ac_cs_usage"; exit ;;
   20059   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20060   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20061     ac_cs_silent=: ;;
   20062 
   20063   # This is an error.
   20064   -*) as_fn_error $? "unrecognized option: \`$1'
   20065 Try \`$0 --help' for more information." ;;
   20066 
   20067   *) as_fn_append ac_config_targets " $1"
   20068      ac_need_defaults=false ;;
   20069 
   20070   esac
   20071   shift
   20072 done
   20073 
   20074 ac_configure_extra_args=
   20075 
   20076 if $ac_cs_silent; then
   20077   exec 6>/dev/null
   20078   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20079 fi
   20080 
   20081 _ACEOF
   20082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20083 if \$ac_cs_recheck; then
   20084   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20085   shift
   20086   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20087   CONFIG_SHELL='$SHELL'
   20088   export CONFIG_SHELL
   20089   exec "\$@"
   20090 fi
   20091 
   20092 _ACEOF
   20093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20094 exec 5>>config.log
   20095 {
   20096   echo
   20097   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20098 ## Running $as_me. ##
   20099 _ASBOX
   20100   printf "%s\n" "$ac_log"
   20101 } >&5
   20102 
   20103 _ACEOF
   20104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20105 #
   20106 # INIT-COMMANDS
   20107 #
   20108 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20109 
   20110 
   20111 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20112 # if CDPATH is set.
   20113 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20114 
   20115 sed_quote_subst='$sed_quote_subst'
   20116 double_quote_subst='$double_quote_subst'
   20117 delay_variable_subst='$delay_variable_subst'
   20118 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20119 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20120 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20121 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20122 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20123 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20124 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20125 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20126 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20127 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20128 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20129 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20130 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20131 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20132 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20133 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20134 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20135 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20136 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20137 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20138 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20139 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20140 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20141 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20142 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20143 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20144 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20145 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20146 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20147 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20148 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20149 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20150 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20151 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20152 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20153 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20154 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20155 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20156 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20157 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20158 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20159 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20160 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20161 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20162 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20163 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20164 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20165 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20166 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20167 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20168 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20169 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20170 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20171 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20172 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20173 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20174 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20175 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20176 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"`'
   20177 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20178 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20179 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20180 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20181 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20182 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20183 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20184 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20185 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20186 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20187 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20188 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20189 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20190 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20191 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20192 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20193 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20194 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20195 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20196 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20197 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20198 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20199 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20200 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20201 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20202 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20203 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20204 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20205 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20206 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20207 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20208 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20209 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20210 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20211 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20212 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20213 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20214 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20215 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20216 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20217 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20218 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20219 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20220 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20221 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20222 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20223 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20224 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20225 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20226 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20227 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20228 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20229 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20230 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20231 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20232 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20233 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20234 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20235 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20236 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20237 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20238 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20239 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20240 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20241 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20242 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20243 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20244 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20245 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20246 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20247 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20248 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20249 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20250 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20251 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20252 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20253 
   20254 LTCC='$LTCC'
   20255 LTCFLAGS='$LTCFLAGS'
   20256 compiler='$compiler_DEFAULT'
   20257 
   20258 # A function that is used when there is no print builtin or printf.
   20259 func_fallback_echo ()
   20260 {
   20261   eval 'cat <<_LTECHO_EOF
   20262 \$1
   20263 _LTECHO_EOF'
   20264 }
   20265 
   20266 # Quote evaled strings.
   20267 for var in SHELL \
   20268 ECHO \
   20269 PATH_SEPARATOR \
   20270 SED \
   20271 GREP \
   20272 EGREP \
   20273 FGREP \
   20274 LD \
   20275 NM \
   20276 LN_S \
   20277 lt_SP2NL \
   20278 lt_NL2SP \
   20279 reload_flag \
   20280 OBJDUMP \
   20281 deplibs_check_method \
   20282 file_magic_cmd \
   20283 file_magic_glob \
   20284 want_nocaseglob \
   20285 DLLTOOL \
   20286 sharedlib_from_linklib_cmd \
   20287 AR \
   20288 AR_FLAGS \
   20289 archiver_list_spec \
   20290 STRIP \
   20291 RANLIB \
   20292 CC \
   20293 CFLAGS \
   20294 compiler \
   20295 lt_cv_sys_global_symbol_pipe \
   20296 lt_cv_sys_global_symbol_to_cdecl \
   20297 lt_cv_sys_global_symbol_to_import \
   20298 lt_cv_sys_global_symbol_to_c_name_address \
   20299 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20300 lt_cv_nm_interface \
   20301 nm_file_list_spec \
   20302 lt_cv_truncate_bin \
   20303 lt_prog_compiler_no_builtin_flag \
   20304 lt_prog_compiler_pic \
   20305 lt_prog_compiler_wl \
   20306 lt_prog_compiler_static \
   20307 lt_cv_prog_compiler_c_o \
   20308 need_locks \
   20309 MANIFEST_TOOL \
   20310 DSYMUTIL \
   20311 NMEDIT \
   20312 LIPO \
   20313 OTOOL \
   20314 OTOOL64 \
   20315 shrext_cmds \
   20316 export_dynamic_flag_spec \
   20317 whole_archive_flag_spec \
   20318 compiler_needs_object \
   20319 with_gnu_ld \
   20320 allow_undefined_flag \
   20321 no_undefined_flag \
   20322 hardcode_libdir_flag_spec \
   20323 hardcode_libdir_separator \
   20324 exclude_expsyms \
   20325 include_expsyms \
   20326 file_list_spec \
   20327 variables_saved_for_relink \
   20328 libname_spec \
   20329 library_names_spec \
   20330 soname_spec \
   20331 install_override_mode \
   20332 finish_eval \
   20333 old_striplib \
   20334 striplib; do
   20335     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20336     *[\\\\\\\`\\"\\\$]*)
   20337       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20338       ;;
   20339     *)
   20340       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20341       ;;
   20342     esac
   20343 done
   20344 
   20345 # Double-quote double-evaled strings.
   20346 for var in reload_cmds \
   20347 old_postinstall_cmds \
   20348 old_postuninstall_cmds \
   20349 old_archive_cmds \
   20350 extract_expsyms_cmds \
   20351 old_archive_from_new_cmds \
   20352 old_archive_from_expsyms_cmds \
   20353 archive_cmds \
   20354 archive_expsym_cmds \
   20355 module_cmds \
   20356 module_expsym_cmds \
   20357 export_symbols_cmds \
   20358 prelink_cmds \
   20359 postlink_cmds \
   20360 postinstall_cmds \
   20361 postuninstall_cmds \
   20362 finish_cmds \
   20363 sys_lib_search_path_spec \
   20364 configure_time_dlsearch_path \
   20365 configure_time_lt_sys_library_path; do
   20366     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20367     *[\\\\\\\`\\"\\\$]*)
   20368       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20369       ;;
   20370     *)
   20371       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20372       ;;
   20373     esac
   20374 done
   20375 
   20376 ac_aux_dir='$ac_aux_dir'
   20377 
   20378 # See if we are running on zsh, and set the options that allow our
   20379 # commands through without removal of \ escapes INIT.
   20380 if test -n "\${ZSH_VERSION+set}"; then
   20381    setopt NO_GLOB_SUBST
   20382 fi
   20383 
   20384 
   20385     PACKAGE='$PACKAGE'
   20386     VERSION='$VERSION'
   20387     RM='$RM'
   20388     ofile='$ofile'
   20389 
   20390 
   20391 
   20392 
   20393 _ACEOF
   20394 
   20395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20396 
   20397 # Handling of arguments.
   20398 for ac_config_target in $ac_config_targets
   20399 do
   20400   case $ac_config_target in
   20401     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20402     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20403     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20404     "include/X11/Xft/Xft.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/Xft/Xft.h" ;;
   20405     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20406     "xft.pc") CONFIG_FILES="$CONFIG_FILES xft.pc" ;;
   20407     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20408     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20409 
   20410   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20411   esac
   20412 done
   20413 
   20414 
   20415 # If the user did not use the arguments to specify the items to instantiate,
   20416 # then the envvar interface is used.  Set only those that are not.
   20417 # We use the long form for the default assignment because of an extremely
   20418 # bizarre bug on SunOS 4.1.3.
   20419 if $ac_need_defaults; then
   20420   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   20421   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   20422   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   20423 fi
   20424 
   20425 # Have a temporary directory for convenience.  Make it in the build tree
   20426 # simply because there is no reason against having it here, and in addition,
   20427 # creating and moving files from /tmp can sometimes cause problems.
   20428 # Hook for its removal unless debugging.
   20429 # Note that there is a small window in which the directory will not be cleaned:
   20430 # after its creation but before its name has been assigned to `$tmp'.
   20431 $debug ||
   20432 {
   20433   tmp= ac_tmp=
   20434   trap 'exit_status=$?
   20435   : "${ac_tmp:=$tmp}"
   20436   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20437 ' 0
   20438   trap 'as_fn_exit 1' 1 2 13 15
   20439 }
   20440 # Create a (secure) tmp directory for tmp files.
   20441 
   20442 {
   20443   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20444   test -d "$tmp"
   20445 }  ||
   20446 {
   20447   tmp=./conf$$-$RANDOM
   20448   (umask 077 && mkdir "$tmp")
   20449 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20450 ac_tmp=$tmp
   20451 
   20452 # Set up the scripts for CONFIG_FILES section.
   20453 # No need to generate them if there are no CONFIG_FILES.
   20454 # This happens for instance with `./config.status config.h'.
   20455 if test -n "$CONFIG_FILES"; then
   20456 
   20457 
   20458 ac_cr=`echo X | tr X '\015'`
   20459 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20460 # But we know of no other shell where ac_cr would be empty at this
   20461 # point, so we can use a bashism as a fallback.
   20462 if test "x$ac_cr" = x; then
   20463   eval ac_cr=\$\'\\r\'
   20464 fi
   20465 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20466 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20467   ac_cs_awk_cr='\\r'
   20468 else
   20469   ac_cs_awk_cr=$ac_cr
   20470 fi
   20471 
   20472 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20473 _ACEOF
   20474 
   20475 
   20476 {
   20477   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20478   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20479   echo "_ACEOF"
   20480 } >conf$$subs.sh ||
   20481   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20482 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20483 ac_delim='%!_!# '
   20484 for ac_last_try in false false false false false :; do
   20485   . ./conf$$subs.sh ||
   20486     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20487 
   20488   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20489   if test $ac_delim_n = $ac_delim_num; then
   20490     break
   20491   elif $ac_last_try; then
   20492     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20493   else
   20494     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20495   fi
   20496 done
   20497 rm -f conf$$subs.sh
   20498 
   20499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20500 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20501 _ACEOF
   20502 sed -n '
   20503 h
   20504 s/^/S["/; s/!.*/"]=/
   20505 p
   20506 g
   20507 s/^[^!]*!//
   20508 :repl
   20509 t repl
   20510 s/'"$ac_delim"'$//
   20511 t delim
   20512 :nl
   20513 h
   20514 s/\(.\{148\}\)..*/\1/
   20515 t more1
   20516 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20517 p
   20518 n
   20519 b repl
   20520 :more1
   20521 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20522 p
   20523 g
   20524 s/.\{148\}//
   20525 t nl
   20526 :delim
   20527 h
   20528 s/\(.\{148\}\)..*/\1/
   20529 t more2
   20530 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20531 p
   20532 b
   20533 :more2
   20534 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20535 p
   20536 g
   20537 s/.\{148\}//
   20538 t delim
   20539 ' <conf$$subs.awk | sed '
   20540 /^[^""]/{
   20541   N
   20542   s/\n//
   20543 }
   20544 ' >>$CONFIG_STATUS || ac_write_fail=1
   20545 rm -f conf$$subs.awk
   20546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20547 _ACAWK
   20548 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20549   for (key in S) S_is_set[key] = 1
   20550   FS = ""
   20551 
   20552 }
   20553 {
   20554   line = $ 0
   20555   nfields = split(line, field, "@")
   20556   substed = 0
   20557   len = length(field[1])
   20558   for (i = 2; i < nfields; i++) {
   20559     key = field[i]
   20560     keylen = length(key)
   20561     if (S_is_set[key]) {
   20562       value = S[key]
   20563       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20564       len += length(value) + length(field[++i])
   20565       substed = 1
   20566     } else
   20567       len += 1 + keylen
   20568   }
   20569 
   20570   print line
   20571 }
   20572 
   20573 _ACAWK
   20574 _ACEOF
   20575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20576 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20577   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20578 else
   20579   cat
   20580 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20581   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20582 _ACEOF
   20583 
   20584 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20585 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20586 # trailing colons and then remove the whole line if VPATH becomes empty
   20587 # (actually we leave an empty line to preserve line numbers).
   20588 if test "x$srcdir" = x.; then
   20589   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20590 h
   20591 s///
   20592 s/^/:/
   20593 s/[	 ]*$/:/
   20594 s/:\$(srcdir):/:/g
   20595 s/:\${srcdir}:/:/g
   20596 s/:@srcdir@:/:/g
   20597 s/^:*//
   20598 s/:*$//
   20599 x
   20600 s/\(=[	 ]*\).*/\1/
   20601 G
   20602 s/\n//
   20603 s/^[^=]*=[	 ]*$//
   20604 }'
   20605 fi
   20606 
   20607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20608 fi # test -n "$CONFIG_FILES"
   20609 
   20610 # Set up the scripts for CONFIG_HEADERS section.
   20611 # No need to generate them if there are no CONFIG_HEADERS.
   20612 # This happens for instance with `./config.status Makefile'.
   20613 if test -n "$CONFIG_HEADERS"; then
   20614 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20615 BEGIN {
   20616 _ACEOF
   20617 
   20618 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20619 # here-document in config.status, that substitutes the proper values into
   20620 # config.h.in to produce config.h.
   20621 
   20622 # Create a delimiter string that does not exist in confdefs.h, to ease
   20623 # handling of long lines.
   20624 ac_delim='%!_!# '
   20625 for ac_last_try in false false :; do
   20626   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20627   if test -z "$ac_tt"; then
   20628     break
   20629   elif $ac_last_try; then
   20630     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20631   else
   20632     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20633   fi
   20634 done
   20635 
   20636 # For the awk script, D is an array of macro values keyed by name,
   20637 # likewise P contains macro parameters if any.  Preserve backslash
   20638 # newline sequences.
   20639 
   20640 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20641 sed -n '
   20642 s/.\{148\}/&'"$ac_delim"'/g
   20643 t rset
   20644 :rset
   20645 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20646 t def
   20647 d
   20648 :def
   20649 s/\\$//
   20650 t bsnl
   20651 s/["\\]/\\&/g
   20652 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20653 D["\1"]=" \3"/p
   20654 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20655 d
   20656 :bsnl
   20657 s/["\\]/\\&/g
   20658 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20659 D["\1"]=" \3\\\\\\n"\\/p
   20660 t cont
   20661 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20662 t cont
   20663 d
   20664 :cont
   20665 n
   20666 s/.\{148\}/&'"$ac_delim"'/g
   20667 t clear
   20668 :clear
   20669 s/\\$//
   20670 t bsnlc
   20671 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20672 d
   20673 :bsnlc
   20674 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20675 b cont
   20676 ' <confdefs.h | sed '
   20677 s/'"$ac_delim"'/"\\\
   20678 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20679 
   20680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20681   for (key in D) D_is_set[key] = 1
   20682   FS = ""
   20683 }
   20684 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20685   line = \$ 0
   20686   split(line, arg, " ")
   20687   if (arg[1] == "#") {
   20688     defundef = arg[2]
   20689     mac1 = arg[3]
   20690   } else {
   20691     defundef = substr(arg[1], 2)
   20692     mac1 = arg[2]
   20693   }
   20694   split(mac1, mac2, "(") #)
   20695   macro = mac2[1]
   20696   prefix = substr(line, 1, index(line, defundef) - 1)
   20697   if (D_is_set[macro]) {
   20698     # Preserve the white space surrounding the "#".
   20699     print prefix "define", macro P[macro] D[macro]
   20700     next
   20701   } else {
   20702     # Replace #undef with comments.  This is necessary, for example,
   20703     # in the case of _POSIX_SOURCE, which is predefined and required
   20704     # on some systems where configure will not decide to define it.
   20705     if (defundef == "undef") {
   20706       print "/*", prefix defundef, macro, "*/"
   20707       next
   20708     }
   20709   }
   20710 }
   20711 { print }
   20712 _ACAWK
   20713 _ACEOF
   20714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20715   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20716 fi # test -n "$CONFIG_HEADERS"
   20717 
   20718 
   20719 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20720 shift
   20721 for ac_tag
   20722 do
   20723   case $ac_tag in
   20724   :[FHLC]) ac_mode=$ac_tag; continue;;
   20725   esac
   20726   case $ac_mode$ac_tag in
   20727   :[FHL]*:*);;
   20728   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20729   :[FH]-) ac_tag=-:-;;
   20730   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20731   esac
   20732   ac_save_IFS=$IFS
   20733   IFS=:
   20734   set x $ac_tag
   20735   IFS=$ac_save_IFS
   20736   shift
   20737   ac_file=$1
   20738   shift
   20739 
   20740   case $ac_mode in
   20741   :L) ac_source=$1;;
   20742   :[FH])
   20743     ac_file_inputs=
   20744     for ac_f
   20745     do
   20746       case $ac_f in
   20747       -) ac_f="$ac_tmp/stdin";;
   20748       *) # Look for the file first in the build tree, then in the source tree
   20749 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20750 	 # because $ac_f cannot contain `:'.
   20751 	 test -f "$ac_f" ||
   20752 	   case $ac_f in
   20753 	   [\\/$]*) false;;
   20754 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20755 	   esac ||
   20756 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20757       esac
   20758       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20759       as_fn_append ac_file_inputs " '$ac_f'"
   20760     done
   20761 
   20762     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20763     # use $as_me), people would be surprised to read:
   20764     #    /* config.h.  Generated by config.status.  */
   20765     configure_input='Generated from '`
   20766 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20767 	`' by configure.'
   20768     if test x"$ac_file" != x-; then
   20769       configure_input="$ac_file.  $configure_input"
   20770       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20771 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   20772     fi
   20773     # Neutralize special characters interpreted by sed in replacement strings.
   20774     case $configure_input in #(
   20775     *\&* | *\|* | *\\* )
   20776        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   20777        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20778     *) ac_sed_conf_input=$configure_input;;
   20779     esac
   20780 
   20781     case $ac_tag in
   20782     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20783       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20784     esac
   20785     ;;
   20786   esac
   20787 
   20788   ac_dir=`$as_dirname -- "$ac_file" ||
   20789 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20790 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20791 	 X"$ac_file" : 'X\(//\)$' \| \
   20792 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20793 printf "%s\n" X"$ac_file" |
   20794     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20795 	    s//\1/
   20796 	    q
   20797 	  }
   20798 	  /^X\(\/\/\)[^/].*/{
   20799 	    s//\1/
   20800 	    q
   20801 	  }
   20802 	  /^X\(\/\/\)$/{
   20803 	    s//\1/
   20804 	    q
   20805 	  }
   20806 	  /^X\(\/\).*/{
   20807 	    s//\1/
   20808 	    q
   20809 	  }
   20810 	  s/.*/./; q'`
   20811   as_dir="$ac_dir"; as_fn_mkdir_p
   20812   ac_builddir=.
   20813 
   20814 case "$ac_dir" in
   20815 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20816 *)
   20817   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   20818   # A ".." for each directory in $ac_dir_suffix.
   20819   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20820   case $ac_top_builddir_sub in
   20821   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20822   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20823   esac ;;
   20824 esac
   20825 ac_abs_top_builddir=$ac_pwd
   20826 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20827 # for backward compatibility:
   20828 ac_top_builddir=$ac_top_build_prefix
   20829 
   20830 case $srcdir in
   20831   .)  # We are building in place.
   20832     ac_srcdir=.
   20833     ac_top_srcdir=$ac_top_builddir_sub
   20834     ac_abs_top_srcdir=$ac_pwd ;;
   20835   [\\/]* | ?:[\\/]* )  # Absolute name.
   20836     ac_srcdir=$srcdir$ac_dir_suffix;
   20837     ac_top_srcdir=$srcdir
   20838     ac_abs_top_srcdir=$srcdir ;;
   20839   *) # Relative name.
   20840     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20841     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20842     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20843 esac
   20844 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20845 
   20846 
   20847   case $ac_mode in
   20848   :F)
   20849   #
   20850   # CONFIG_FILE
   20851   #
   20852 
   20853   case $INSTALL in
   20854   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20855   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20856   esac
   20857   ac_MKDIR_P=$MKDIR_P
   20858   case $MKDIR_P in
   20859   [\\/$]* | ?:[\\/]* ) ;;
   20860   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20861   esac
   20862 _ACEOF
   20863 
   20864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20865 # If the template does not know about datarootdir, expand it.
   20866 # FIXME: This hack should be removed a few years after 2.60.
   20867 ac_datarootdir_hack=; ac_datarootdir_seen=
   20868 ac_sed_dataroot='
   20869 /datarootdir/ {
   20870   p
   20871   q
   20872 }
   20873 /@datadir@/p
   20874 /@docdir@/p
   20875 /@infodir@/p
   20876 /@localedir@/p
   20877 /@mandir@/p'
   20878 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20879 *datarootdir*) ac_datarootdir_seen=yes;;
   20880 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20882 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20883 _ACEOF
   20884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20885   ac_datarootdir_hack='
   20886   s&@datadir@&$datadir&g
   20887   s&@docdir@&$docdir&g
   20888   s&@infodir@&$infodir&g
   20889   s&@localedir@&$localedir&g
   20890   s&@mandir@&$mandir&g
   20891   s&\\\${datarootdir}&$datarootdir&g' ;;
   20892 esac
   20893 _ACEOF
   20894 
   20895 # Neutralize VPATH when `$srcdir' = `.'.
   20896 # Shell code in configure.ac might set extrasub.
   20897 # FIXME: do we really want to maintain this feature?
   20898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20899 ac_sed_extra="$ac_vpsub
   20900 $extrasub
   20901 _ACEOF
   20902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20903 :t
   20904 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20905 s|@configure_input@|$ac_sed_conf_input|;t t
   20906 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20907 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20908 s&@srcdir@&$ac_srcdir&;t t
   20909 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20910 s&@top_srcdir@&$ac_top_srcdir&;t t
   20911 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20912 s&@builddir@&$ac_builddir&;t t
   20913 s&@abs_builddir@&$ac_abs_builddir&;t t
   20914 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20915 s&@INSTALL@&$ac_INSTALL&;t t
   20916 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20917 $ac_datarootdir_hack
   20918 "
   20919 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20920   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20921 
   20922 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20923   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20924   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20925       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20927 which seems to be undefined.  Please make sure it is defined" >&5
   20928 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20929 which seems to be undefined.  Please make sure it is defined" >&2;}
   20930 
   20931   rm -f "$ac_tmp/stdin"
   20932   case $ac_file in
   20933   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20934   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20935   esac \
   20936   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20937  ;;
   20938   :H)
   20939   #
   20940   # CONFIG_HEADER
   20941   #
   20942   if test x"$ac_file" != x-; then
   20943     {
   20944       printf "%s\n" "/* $configure_input  */" >&1 \
   20945       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20946     } >"$ac_tmp/config.h" \
   20947       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20948     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20949       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20950 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   20951     else
   20952       rm -f "$ac_file"
   20953       mv "$ac_tmp/config.h" "$ac_file" \
   20954 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20955     fi
   20956   else
   20957     printf "%s\n" "/* $configure_input  */" >&1 \
   20958       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20959       || as_fn_error $? "could not create -" "$LINENO" 5
   20960   fi
   20961 # Compute "$ac_file"'s index in $config_headers.
   20962 _am_arg="$ac_file"
   20963 _am_stamp_count=1
   20964 for _am_header in $config_headers :; do
   20965   case $_am_header in
   20966     $_am_arg | $_am_arg:* )
   20967       break ;;
   20968     * )
   20969       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20970   esac
   20971 done
   20972 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20973 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20974 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20975 	 X"$_am_arg" : 'X\(//\)$' \| \
   20976 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20977 printf "%s\n" X"$_am_arg" |
   20978     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20979 	    s//\1/
   20980 	    q
   20981 	  }
   20982 	  /^X\(\/\/\)[^/].*/{
   20983 	    s//\1/
   20984 	    q
   20985 	  }
   20986 	  /^X\(\/\/\)$/{
   20987 	    s//\1/
   20988 	    q
   20989 	  }
   20990 	  /^X\(\/\).*/{
   20991 	    s//\1/
   20992 	    q
   20993 	  }
   20994 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20995  ;;
   20996 
   20997   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20998 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   20999  ;;
   21000   esac
   21001 
   21002 
   21003   case $ac_file$ac_mode in
   21004     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21005   # Older Autoconf quotes --file arguments for eval, but not when files
   21006   # are listed without --file.  Let's play safe and only enable the eval
   21007   # if we detect the quoting.
   21008   # TODO: see whether this extra hack can be removed once we start
   21009   # requiring Autoconf 2.70 or later.
   21010   case $CONFIG_FILES in #(
   21011   *\'*) :
   21012     eval set x "$CONFIG_FILES" ;; #(
   21013   *) :
   21014     set x $CONFIG_FILES ;; #(
   21015   *) :
   21016      ;;
   21017 esac
   21018   shift
   21019   # Used to flag and report bootstrapping failures.
   21020   am_rc=0
   21021   for am_mf
   21022   do
   21023     # Strip MF so we end up with the name of the file.
   21024     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21025     # Check whether this is an Automake generated Makefile which includes
   21026     # dependency-tracking related rules and includes.
   21027     # Grep'ing the whole file directly is not great: AIX grep has a line
   21028     # limit of 2048, but all sed's we know have understand at least 4000.
   21029     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21030       || continue
   21031     am_dirpart=`$as_dirname -- "$am_mf" ||
   21032 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21033 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21034 	 X"$am_mf" : 'X\(//\)$' \| \
   21035 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21036 printf "%s\n" X"$am_mf" |
   21037     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21038 	    s//\1/
   21039 	    q
   21040 	  }
   21041 	  /^X\(\/\/\)[^/].*/{
   21042 	    s//\1/
   21043 	    q
   21044 	  }
   21045 	  /^X\(\/\/\)$/{
   21046 	    s//\1/
   21047 	    q
   21048 	  }
   21049 	  /^X\(\/\).*/{
   21050 	    s//\1/
   21051 	    q
   21052 	  }
   21053 	  s/.*/./; q'`
   21054     am_filepart=`$as_basename -- "$am_mf" ||
   21055 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21056 	 X"$am_mf" : 'X\(//\)$' \| \
   21057 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21058 printf "%s\n" X/"$am_mf" |
   21059     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21060 	    s//\1/
   21061 	    q
   21062 	  }
   21063 	  /^X\/\(\/\/\)$/{
   21064 	    s//\1/
   21065 	    q
   21066 	  }
   21067 	  /^X\/\(\/\).*/{
   21068 	    s//\1/
   21069 	    q
   21070 	  }
   21071 	  s/.*/./; q'`
   21072     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21073       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21074         | $MAKE -f - am--depfiles" >&5
   21075    (cd "$am_dirpart" \
   21076       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21077         | $MAKE -f - am--depfiles) >&5 2>&5
   21078    ac_status=$?
   21079    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21080    (exit $ac_status); } || am_rc=$?
   21081   done
   21082   if test $am_rc -ne 0; then
   21083     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21084 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21085 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21086     for automatic dependency tracking.  If GNU make was not used, consider
   21087     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21088     necessary).  You can also try re-running configure with the
   21089     '--disable-dependency-tracking' option to at least be able to build
   21090     the package (albeit without support for automatic dependency tracking).
   21091 See \`config.log' for more details" "$LINENO" 5; }
   21092   fi
   21093   { am_dirpart=; unset am_dirpart;}
   21094   { am_filepart=; unset am_filepart;}
   21095   { am_mf=; unset am_mf;}
   21096   { am_rc=; unset am_rc;}
   21097   rm -f conftest-deps.mk
   21098 }
   21099  ;;
   21100     "libtool":C)
   21101 
   21102     # See if we are running on zsh, and set the options that allow our
   21103     # commands through without removal of \ escapes.
   21104     if test -n "${ZSH_VERSION+set}"; then
   21105       setopt NO_GLOB_SUBST
   21106     fi
   21107 
   21108     cfgfile=${ofile}T
   21109     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21110     $RM "$cfgfile"
   21111 
   21112     cat <<_LT_EOF >> "$cfgfile"
   21113 #! $SHELL
   21114 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21115 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21116 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21117 
   21118 # Provide generalized library-building support services.
   21119 # Written by Gordon Matzigkeit, 1996
   21120 
   21121 # Copyright (C) 2014 Free Software Foundation, Inc.
   21122 # This is free software; see the source for copying conditions.  There is NO
   21123 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21124 
   21125 # GNU Libtool is free software; you can redistribute it and/or modify
   21126 # it under the terms of the GNU General Public License as published by
   21127 # the Free Software Foundation; either version 2 of of the License, or
   21128 # (at your option) any later version.
   21129 #
   21130 # As a special exception to the GNU General Public License, if you
   21131 # distribute this file as part of a program or library that is built
   21132 # using GNU Libtool, you may include this file under the  same
   21133 # distribution terms that you use for the rest of that program.
   21134 #
   21135 # GNU Libtool is distributed in the hope that it will be useful, but
   21136 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21137 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21138 # GNU General Public License for more details.
   21139 #
   21140 # You should have received a copy of the GNU General Public License
   21141 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21142 
   21143 
   21144 # The names of the tagged configurations supported by this script.
   21145 available_tags=''
   21146 
   21147 # Configured defaults for sys_lib_dlsearch_path munging.
   21148 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21149 
   21150 # ### BEGIN LIBTOOL CONFIG
   21151 
   21152 # Which release of libtool.m4 was used?
   21153 macro_version=$macro_version
   21154 macro_revision=$macro_revision
   21155 
   21156 # Whether or not to build shared libraries.
   21157 build_libtool_libs=$enable_shared
   21158 
   21159 # Whether or not to build static libraries.
   21160 build_old_libs=$enable_static
   21161 
   21162 # What type of objects to build.
   21163 pic_mode=$pic_mode
   21164 
   21165 # Whether or not to optimize for fast installation.
   21166 fast_install=$enable_fast_install
   21167 
   21168 # Shared archive member basename,for filename based shared library versioning on AIX.
   21169 shared_archive_member_spec=$shared_archive_member_spec
   21170 
   21171 # Shell to use when invoking shell scripts.
   21172 SHELL=$lt_SHELL
   21173 
   21174 # An echo program that protects backslashes.
   21175 ECHO=$lt_ECHO
   21176 
   21177 # The PATH separator for the build system.
   21178 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21179 
   21180 # The host system.
   21181 host_alias=$host_alias
   21182 host=$host
   21183 host_os=$host_os
   21184 
   21185 # The build system.
   21186 build_alias=$build_alias
   21187 build=$build
   21188 build_os=$build_os
   21189 
   21190 # A sed program that does not truncate output.
   21191 SED=$lt_SED
   21192 
   21193 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21194 Xsed="\$SED -e 1s/^X//"
   21195 
   21196 # A grep program that handles long lines.
   21197 GREP=$lt_GREP
   21198 
   21199 # An ERE matcher.
   21200 EGREP=$lt_EGREP
   21201 
   21202 # A literal string matcher.
   21203 FGREP=$lt_FGREP
   21204 
   21205 # A BSD- or MS-compatible name lister.
   21206 NM=$lt_NM
   21207 
   21208 # Whether we need soft or hard links.
   21209 LN_S=$lt_LN_S
   21210 
   21211 # What is the maximum length of a command?
   21212 max_cmd_len=$max_cmd_len
   21213 
   21214 # Object file suffix (normally "o").
   21215 objext=$ac_objext
   21216 
   21217 # Executable file suffix (normally "").
   21218 exeext=$exeext
   21219 
   21220 # whether the shell understands "unset".
   21221 lt_unset=$lt_unset
   21222 
   21223 # turn spaces into newlines.
   21224 SP2NL=$lt_lt_SP2NL
   21225 
   21226 # turn newlines into spaces.
   21227 NL2SP=$lt_lt_NL2SP
   21228 
   21229 # convert \$build file names to \$host format.
   21230 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21231 
   21232 # convert \$build files to toolchain format.
   21233 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21234 
   21235 # An object symbol dumper.
   21236 OBJDUMP=$lt_OBJDUMP
   21237 
   21238 # Method to check whether dependent libraries are shared objects.
   21239 deplibs_check_method=$lt_deplibs_check_method
   21240 
   21241 # Command to use when deplibs_check_method = "file_magic".
   21242 file_magic_cmd=$lt_file_magic_cmd
   21243 
   21244 # How to find potential files when deplibs_check_method = "file_magic".
   21245 file_magic_glob=$lt_file_magic_glob
   21246 
   21247 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21248 want_nocaseglob=$lt_want_nocaseglob
   21249 
   21250 # DLL creation program.
   21251 DLLTOOL=$lt_DLLTOOL
   21252 
   21253 # Command to associate shared and link libraries.
   21254 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21255 
   21256 # The archiver.
   21257 AR=$lt_AR
   21258 
   21259 # Flags to create an archive.
   21260 AR_FLAGS=$lt_AR_FLAGS
   21261 
   21262 # How to feed a file listing to the archiver.
   21263 archiver_list_spec=$lt_archiver_list_spec
   21264 
   21265 # A symbol stripping program.
   21266 STRIP=$lt_STRIP
   21267 
   21268 # Commands used to install an old-style archive.
   21269 RANLIB=$lt_RANLIB
   21270 old_postinstall_cmds=$lt_old_postinstall_cmds
   21271 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21272 
   21273 # Whether to use a lock for old archive extraction.
   21274 lock_old_archive_extraction=$lock_old_archive_extraction
   21275 
   21276 # A C compiler.
   21277 LTCC=$lt_CC
   21278 
   21279 # LTCC compiler flags.
   21280 LTCFLAGS=$lt_CFLAGS
   21281 
   21282 # Take the output of nm and produce a listing of raw symbols and C names.
   21283 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21284 
   21285 # Transform the output of nm in a proper C declaration.
   21286 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21287 
   21288 # Transform the output of nm into a list of symbols to manually relocate.
   21289 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21290 
   21291 # Transform the output of nm in a C name address pair.
   21292 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21293 
   21294 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21295 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21296 
   21297 # The name lister interface.
   21298 nm_interface=$lt_lt_cv_nm_interface
   21299 
   21300 # Specify filename containing input files for \$NM.
   21301 nm_file_list_spec=$lt_nm_file_list_spec
   21302 
   21303 # The root where to search for dependent libraries,and where our libraries should be installed.
   21304 lt_sysroot=$lt_sysroot
   21305 
   21306 # Command to truncate a binary pipe.
   21307 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21308 
   21309 # The name of the directory that contains temporary libtool files.
   21310 objdir=$objdir
   21311 
   21312 # Used to examine libraries when file_magic_cmd begins with "file".
   21313 MAGIC_CMD=$MAGIC_CMD
   21314 
   21315 # Must we lock files when doing compilation?
   21316 need_locks=$lt_need_locks
   21317 
   21318 # Manifest tool.
   21319 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21320 
   21321 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21322 DSYMUTIL=$lt_DSYMUTIL
   21323 
   21324 # Tool to change global to local symbols on Mac OS X.
   21325 NMEDIT=$lt_NMEDIT
   21326 
   21327 # Tool to manipulate fat objects and archives on Mac OS X.
   21328 LIPO=$lt_LIPO
   21329 
   21330 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21331 OTOOL=$lt_OTOOL
   21332 
   21333 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21334 OTOOL64=$lt_OTOOL64
   21335 
   21336 # Old archive suffix (normally "a").
   21337 libext=$libext
   21338 
   21339 # Shared library suffix (normally ".so").
   21340 shrext_cmds=$lt_shrext_cmds
   21341 
   21342 # The commands to extract the exported symbol list from a shared archive.
   21343 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21344 
   21345 # Variables whose values should be saved in libtool wrapper scripts and
   21346 # restored at link time.
   21347 variables_saved_for_relink=$lt_variables_saved_for_relink
   21348 
   21349 # Do we need the "lib" prefix for modules?
   21350 need_lib_prefix=$need_lib_prefix
   21351 
   21352 # Do we need a version for libraries?
   21353 need_version=$need_version
   21354 
   21355 # Library versioning type.
   21356 version_type=$version_type
   21357 
   21358 # Shared library runtime path variable.
   21359 runpath_var=$runpath_var
   21360 
   21361 # Shared library path variable.
   21362 shlibpath_var=$shlibpath_var
   21363 
   21364 # Is shlibpath searched before the hard-coded library search path?
   21365 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21366 
   21367 # Format of library name prefix.
   21368 libname_spec=$lt_libname_spec
   21369 
   21370 # List of archive names.  First name is the real one, the rest are links.
   21371 # The last name is the one that the linker finds with -lNAME
   21372 library_names_spec=$lt_library_names_spec
   21373 
   21374 # The coded name of the library, if different from the real name.
   21375 soname_spec=$lt_soname_spec
   21376 
   21377 # Permission mode override for installation of shared libraries.
   21378 install_override_mode=$lt_install_override_mode
   21379 
   21380 # Command to use after installation of a shared archive.
   21381 postinstall_cmds=$lt_postinstall_cmds
   21382 
   21383 # Command to use after uninstallation of a shared archive.
   21384 postuninstall_cmds=$lt_postuninstall_cmds
   21385 
   21386 # Commands used to finish a libtool library installation in a directory.
   21387 finish_cmds=$lt_finish_cmds
   21388 
   21389 # As "finish_cmds", except a single script fragment to be evaled but
   21390 # not shown.
   21391 finish_eval=$lt_finish_eval
   21392 
   21393 # Whether we should hardcode library paths into libraries.
   21394 hardcode_into_libs=$hardcode_into_libs
   21395 
   21396 # Compile-time system search path for libraries.
   21397 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21398 
   21399 # Detected run-time system search path for libraries.
   21400 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21401 
   21402 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21403 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21404 
   21405 # Whether dlopen is supported.
   21406 dlopen_support=$enable_dlopen
   21407 
   21408 # Whether dlopen of programs is supported.
   21409 dlopen_self=$enable_dlopen_self
   21410 
   21411 # Whether dlopen of statically linked programs is supported.
   21412 dlopen_self_static=$enable_dlopen_self_static
   21413 
   21414 # Commands to strip libraries.
   21415 old_striplib=$lt_old_striplib
   21416 striplib=$lt_striplib
   21417 
   21418 
   21419 # The linker used to build libraries.
   21420 LD=$lt_LD
   21421 
   21422 # How to create reloadable object files.
   21423 reload_flag=$lt_reload_flag
   21424 reload_cmds=$lt_reload_cmds
   21425 
   21426 # Commands used to build an old-style archive.
   21427 old_archive_cmds=$lt_old_archive_cmds
   21428 
   21429 # A language specific compiler.
   21430 CC=$lt_compiler
   21431 
   21432 # Is the compiler the GNU compiler?
   21433 with_gcc=$GCC
   21434 
   21435 # Compiler flag to turn off builtin functions.
   21436 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21437 
   21438 # Additional compiler flags for building library objects.
   21439 pic_flag=$lt_lt_prog_compiler_pic
   21440 
   21441 # How to pass a linker flag through the compiler.
   21442 wl=$lt_lt_prog_compiler_wl
   21443 
   21444 # Compiler flag to prevent dynamic linking.
   21445 link_static_flag=$lt_lt_prog_compiler_static
   21446 
   21447 # Does compiler simultaneously support -c and -o options?
   21448 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21449 
   21450 # Whether or not to add -lc for building shared libraries.
   21451 build_libtool_need_lc=$archive_cmds_need_lc
   21452 
   21453 # Whether or not to disallow shared libs when runtime libs are static.
   21454 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21455 
   21456 # Compiler flag to allow reflexive dlopens.
   21457 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21458 
   21459 # Compiler flag to generate shared objects directly from archives.
   21460 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21461 
   21462 # Whether the compiler copes with passing no objects directly.
   21463 compiler_needs_object=$lt_compiler_needs_object
   21464 
   21465 # Create an old-style archive from a shared archive.
   21466 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21467 
   21468 # Create a temporary old-style archive to link instead of a shared archive.
   21469 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21470 
   21471 # Commands used to build a shared archive.
   21472 archive_cmds=$lt_archive_cmds
   21473 archive_expsym_cmds=$lt_archive_expsym_cmds
   21474 
   21475 # Commands used to build a loadable module if different from building
   21476 # a shared archive.
   21477 module_cmds=$lt_module_cmds
   21478 module_expsym_cmds=$lt_module_expsym_cmds
   21479 
   21480 # Whether we are building with GNU ld or not.
   21481 with_gnu_ld=$lt_with_gnu_ld
   21482 
   21483 # Flag that allows shared libraries with undefined symbols to be built.
   21484 allow_undefined_flag=$lt_allow_undefined_flag
   21485 
   21486 # Flag that enforces no undefined symbols.
   21487 no_undefined_flag=$lt_no_undefined_flag
   21488 
   21489 # Flag to hardcode \$libdir into a binary during linking.
   21490 # This must work even if \$libdir does not exist
   21491 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21492 
   21493 # Whether we need a single "-rpath" flag with a separated argument.
   21494 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21495 
   21496 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21497 # DIR into the resulting binary.
   21498 hardcode_direct=$hardcode_direct
   21499 
   21500 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21501 # DIR into the resulting binary and the resulting library dependency is
   21502 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21503 # library is relocated.
   21504 hardcode_direct_absolute=$hardcode_direct_absolute
   21505 
   21506 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21507 # into the resulting binary.
   21508 hardcode_minus_L=$hardcode_minus_L
   21509 
   21510 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21511 # into the resulting binary.
   21512 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21513 
   21514 # Set to "yes" if building a shared library automatically hardcodes DIR
   21515 # into the library and all subsequent libraries and executables linked
   21516 # against it.
   21517 hardcode_automatic=$hardcode_automatic
   21518 
   21519 # Set to yes if linker adds runtime paths of dependent libraries
   21520 # to runtime path list.
   21521 inherit_rpath=$inherit_rpath
   21522 
   21523 # Whether libtool must link a program against all its dependency libraries.
   21524 link_all_deplibs=$link_all_deplibs
   21525 
   21526 # Set to "yes" if exported symbols are required.
   21527 always_export_symbols=$always_export_symbols
   21528 
   21529 # The commands to list exported symbols.
   21530 export_symbols_cmds=$lt_export_symbols_cmds
   21531 
   21532 # Symbols that should not be listed in the preloaded symbols.
   21533 exclude_expsyms=$lt_exclude_expsyms
   21534 
   21535 # Symbols that must always be exported.
   21536 include_expsyms=$lt_include_expsyms
   21537 
   21538 # Commands necessary for linking programs (against libraries) with templates.
   21539 prelink_cmds=$lt_prelink_cmds
   21540 
   21541 # Commands necessary for finishing linking programs.
   21542 postlink_cmds=$lt_postlink_cmds
   21543 
   21544 # Specify filename containing input files.
   21545 file_list_spec=$lt_file_list_spec
   21546 
   21547 # How to hardcode a shared library path into an executable.
   21548 hardcode_action=$hardcode_action
   21549 
   21550 # ### END LIBTOOL CONFIG
   21551 
   21552 _LT_EOF
   21553 
   21554     cat <<'_LT_EOF' >> "$cfgfile"
   21555 
   21556 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21557 
   21558 # func_munge_path_list VARIABLE PATH
   21559 # -----------------------------------
   21560 # VARIABLE is name of variable containing _space_ separated list of
   21561 # directories to be munged by the contents of PATH, which is string
   21562 # having a format:
   21563 # "DIR[:DIR]:"
   21564 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21565 # ":DIR[:DIR]"
   21566 #       string "DIR[ DIR]" will be appended to VARIABLE
   21567 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21568 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21569 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21570 # "DIR[:DIR]"
   21571 #       VARIABLE will be replaced by "DIR[ DIR]"
   21572 func_munge_path_list ()
   21573 {
   21574     case x$2 in
   21575     x)
   21576         ;;
   21577     *:)
   21578         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21579         ;;
   21580     x:*)
   21581         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21582         ;;
   21583     *::*)
   21584         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21585         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21586         ;;
   21587     *)
   21588         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21589         ;;
   21590     esac
   21591 }
   21592 
   21593 
   21594 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21595 func_cc_basename ()
   21596 {
   21597     for cc_temp in $*""; do
   21598       case $cc_temp in
   21599         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21600         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21601         \-*) ;;
   21602         *) break;;
   21603       esac
   21604     done
   21605     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21606 }
   21607 
   21608 
   21609 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21610 
   21611 _LT_EOF
   21612 
   21613   case $host_os in
   21614   aix3*)
   21615     cat <<\_LT_EOF >> "$cfgfile"
   21616 # AIX sometimes has problems with the GCC collect2 program.  For some
   21617 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21618 # vanish in a puff of smoke.
   21619 if test set != "${COLLECT_NAMES+set}"; then
   21620   COLLECT_NAMES=
   21621   export COLLECT_NAMES
   21622 fi
   21623 _LT_EOF
   21624     ;;
   21625   esac
   21626 
   21627 
   21628 
   21629 ltmain=$ac_aux_dir/ltmain.sh
   21630 
   21631 
   21632   # We use sed instead of cat because bash on DJGPP gets confused if
   21633   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21634   # text mode, it properly converts lines to CR/LF.  This bash problem
   21635   # is reportedly fixed, but why not run on old versions too?
   21636   sed '$q' "$ltmain" >> "$cfgfile" \
   21637      || (rm -f "$cfgfile"; exit 1)
   21638 
   21639    mv -f "$cfgfile" "$ofile" ||
   21640     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21641   chmod +x "$ofile"
   21642 
   21643  ;;
   21644 
   21645   esac
   21646 done # for ac_tag
   21647 
   21648 
   21649 as_fn_exit 0
   21650 _ACEOF
   21651 ac_clean_files=$ac_clean_files_save
   21652 
   21653 test $ac_write_fail = 0 ||
   21654   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21655 
   21656 
   21657 # configure is writing to config.log, and then calls config.status.
   21658 # config.status does its own redirection, appending to config.log.
   21659 # Unfortunately, on DOS this fails, as config.log is still kept open
   21660 # by configure, so config.status won't be able to write to it; its
   21661 # output is simply discarded.  So we exec the FD to /dev/null,
   21662 # effectively closing config.log, so it can be properly (re)opened and
   21663 # appended to by config.status.  When coming back to configure, we
   21664 # need to make the FD available again.
   21665 if test "$no_create" != yes; then
   21666   ac_cs_success=:
   21667   ac_config_status_args=
   21668   test "$silent" = yes &&
   21669     ac_config_status_args="$ac_config_status_args --quiet"
   21670   exec 5>/dev/null
   21671   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21672   exec 5>>config.log
   21673   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21674   # would make configure fail if this is the last instruction.
   21675   $ac_cs_success || as_fn_exit 1
   21676 fi
   21677 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21678   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21679 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21680 fi
   21681 
   21682 
   21683