configure revision 6af7124f
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for libFS 1.0.6.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141  emulate sh
142  NULLCMD=:
143  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144  # is contrary to our usage.  Disable this feature.
145  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146  setopt NO_GLOB_SUBST
147else
148  case \`(set -o) 2>/dev/null\` in #(
149  *posix*) :
150    set -o posix ;; #(
151  *) :
152     ;;
153esac
154fi
155"
156  as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170  exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177test \$(( 1 + 1 )) = 2 || exit 1
178
179  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183    PATH=/empty FPATH=/empty; export PATH FPATH
184    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186  if (eval "$as_required") 2>/dev/null; then :
187  as_have_required=yes
188else
189  as_have_required=no
190fi
191  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193else
194  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195as_found=false
196for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197do
198  IFS=$as_save_IFS
199  test -z "$as_dir" && as_dir=.
200  as_found=:
201  case $as_dir in #(
202	 /*)
203	   for as_base in sh bash ksh sh5; do
204	     # Try only shells that exist, to save several forks.
205	     as_shell=$as_dir/$as_base
206	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208  CONFIG_SHELL=$as_shell as_have_required=yes
209		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210  break 2
211fi
212fi
213	   done;;
214       esac
215  as_found=false
216done
217$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219  CONFIG_SHELL=$SHELL as_have_required=yes
220fi; }
221IFS=$as_save_IFS
222
223
224      if test "x$CONFIG_SHELL" != x; then :
225  # We cannot yet assume a decent shell, so we have to provide a
226	# neutralization value for shells without unset; and this also
227	# works around shells that cannot unset nonexistent variables.
228	# Preserve -v and -x to the replacement shell.
229	BASH_ENV=/dev/null
230	ENV=/dev/null
231	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232	export CONFIG_SHELL
233	case $- in # ((((
234	  *v*x* | *x*v* ) as_opts=-vx ;;
235	  *v* ) as_opts=-v ;;
236	  *x* ) as_opts=-x ;;
237	  * ) as_opts= ;;
238	esac
239	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240fi
241
242    if test x$as_have_required = xno; then :
243  $as_echo "$0: This script requires a shell more modern than all"
244  $as_echo "$0: the shells that I found on your system."
245  if test x${ZSH_VERSION+set} = xset ; then
246    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248  else
249    $as_echo "$0: Please tell bug-autoconf@gnu.org and
250$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
251$0: about your system, including any error possibly output
252$0: before this message. Then install a modern shell, or
253$0: manually run the script under such a shell if you do
254$0: have one."
255  fi
256  exit 1
257fi
258fi
259fi
260SHELL=${CONFIG_SHELL-/bin/sh}
261export SHELL
262# Unset more variables known to interfere with behavior of common tools.
263CLICOLOR_FORCE= GREP_OPTIONS=
264unset CLICOLOR_FORCE GREP_OPTIONS
265
266## --------------------- ##
267## M4sh Shell Functions. ##
268## --------------------- ##
269# as_fn_unset VAR
270# ---------------
271# Portably unset VAR.
272as_fn_unset ()
273{
274  { eval $1=; unset $1;}
275}
276as_unset=as_fn_unset
277
278# as_fn_set_status STATUS
279# -----------------------
280# Set $? to STATUS, without forking.
281as_fn_set_status ()
282{
283  return $1
284} # as_fn_set_status
285
286# as_fn_exit STATUS
287# -----------------
288# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289as_fn_exit ()
290{
291  set +e
292  as_fn_set_status $1
293  exit $1
294} # as_fn_exit
295
296# as_fn_mkdir_p
297# -------------
298# Create "$as_dir" as a directory, including parents if necessary.
299as_fn_mkdir_p ()
300{
301
302  case $as_dir in #(
303  -*) as_dir=./$as_dir;;
304  esac
305  test -d "$as_dir" || eval $as_mkdir_p || {
306    as_dirs=
307    while :; do
308      case $as_dir in #(
309      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310      *) as_qdir=$as_dir;;
311      esac
312      as_dirs="'$as_qdir' $as_dirs"
313      as_dir=`$as_dirname -- "$as_dir" ||
314$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315	 X"$as_dir" : 'X\(//\)[^/]' \| \
316	 X"$as_dir" : 'X\(//\)$' \| \
317	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318$as_echo X"$as_dir" |
319    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320	    s//\1/
321	    q
322	  }
323	  /^X\(\/\/\)[^/].*/{
324	    s//\1/
325	    q
326	  }
327	  /^X\(\/\/\)$/{
328	    s//\1/
329	    q
330	  }
331	  /^X\(\/\).*/{
332	    s//\1/
333	    q
334	  }
335	  s/.*/./; q'`
336      test -d "$as_dir" && break
337    done
338    test -z "$as_dirs" || eval "mkdir $as_dirs"
339  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342} # as_fn_mkdir_p
343# as_fn_append VAR VALUE
344# ----------------------
345# Append the text in VALUE to the end of the definition contained in VAR. Take
346# advantage of any shell optimizations that allow amortized linear growth over
347# repeated appends, instead of the typical quadratic growth present in naive
348# implementations.
349if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350  eval 'as_fn_append ()
351  {
352    eval $1+=\$2
353  }'
354else
355  as_fn_append ()
356  {
357    eval $1=\$$1\$2
358  }
359fi # as_fn_append
360
361# as_fn_arith ARG...
362# ------------------
363# Perform arithmetic evaluation on the ARGs, and store the result in the
364# global $as_val. Take advantage of shells that can avoid forks. The arguments
365# must be portable across $(()) and expr.
366if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367  eval 'as_fn_arith ()
368  {
369    as_val=$(( $* ))
370  }'
371else
372  as_fn_arith ()
373  {
374    as_val=`expr "$@" || test $? -eq 1`
375  }
376fi # as_fn_arith
377
378
379# as_fn_error STATUS ERROR [LINENO LOG_FD]
380# ----------------------------------------
381# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383# script with STATUS, using 1 if that was 0.
384as_fn_error ()
385{
386  as_status=$1; test $as_status -eq 0 && as_status=1
387  if test "$4"; then
388    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390  fi
391  $as_echo "$as_me: error: $2" >&2
392  as_fn_exit $as_status
393} # as_fn_error
394
395if expr a : '\(a\)' >/dev/null 2>&1 &&
396   test "X`expr 00001 : '.*\(...\)'`" = X001; then
397  as_expr=expr
398else
399  as_expr=false
400fi
401
402if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403  as_basename=basename
404else
405  as_basename=false
406fi
407
408if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409  as_dirname=dirname
410else
411  as_dirname=false
412fi
413
414as_me=`$as_basename -- "$0" ||
415$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416	 X"$0" : 'X\(//\)$' \| \
417	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418$as_echo X/"$0" |
419    sed '/^.*\/\([^/][^/]*\)\/*$/{
420	    s//\1/
421	    q
422	  }
423	  /^X\/\(\/\/\)$/{
424	    s//\1/
425	    q
426	  }
427	  /^X\/\(\/\).*/{
428	    s//\1/
429	    q
430	  }
431	  s/.*/./; q'`
432
433# Avoid depending upon Character Ranges.
434as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437as_cr_digits='0123456789'
438as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441  as_lineno_1=$LINENO as_lineno_1a=$LINENO
442  as_lineno_2=$LINENO as_lineno_2a=$LINENO
443  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446  sed -n '
447    p
448    /[$]LINENO/=
449  ' <$as_myself |
450    sed '
451      s/[$]LINENO.*/&-/
452      t lineno
453      b
454      :lineno
455      N
456      :loop
457      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458      t loop
459      s/-\n.*//
460    ' >$as_me.lineno &&
461  chmod +x "$as_me.lineno" ||
462    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464  # Don't try to exec as it changes $[0], causing all sort of problems
465  # (the dirname of $[0] is not the place where we might find the
466  # original and so on.  Autoconf is especially sensitive to this).
467  . "./$as_me.lineno"
468  # Exit status is that of the last command.
469  exit
470}
471
472ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in #(((((
474-n*)
475  case `echo 'xy\c'` in
476  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
477  xy)  ECHO_C='\c';;
478  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479       ECHO_T='	';;
480  esac;;
481*)
482  ECHO_N='-n';;
483esac
484
485rm -f conf$$ conf$$.exe conf$$.file
486if test -d conf$$.dir; then
487  rm -f conf$$.dir/conf$$.file
488else
489  rm -f conf$$.dir
490  mkdir conf$$.dir 2>/dev/null
491fi
492if (echo >conf$$.file) 2>/dev/null; then
493  if ln -s conf$$.file conf$$ 2>/dev/null; then
494    as_ln_s='ln -s'
495    # ... but there are two gotchas:
496    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498    # In both cases, we have to default to `cp -p'.
499    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500      as_ln_s='cp -p'
501  elif ln conf$$.file conf$$ 2>/dev/null; then
502    as_ln_s=ln
503  else
504    as_ln_s='cp -p'
505  fi
506else
507  as_ln_s='cp -p'
508fi
509rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510rmdir conf$$.dir 2>/dev/null
511
512if mkdir -p . 2>/dev/null; then
513  as_mkdir_p='mkdir -p "$as_dir"'
514else
515  test -d ./-p && rmdir ./-p
516  as_mkdir_p=false
517fi
518
519if test -x / >/dev/null 2>&1; then
520  as_test_x='test -x'
521else
522  if ls -dL / >/dev/null 2>&1; then
523    as_ls_L_option=L
524  else
525    as_ls_L_option=
526  fi
527  as_test_x='
528    eval sh -c '\''
529      if test -d "$1"; then
530	test -d "$1/.";
531      else
532	case $1 in #(
533	-*)set "./$1";;
534	esac;
535	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536	???[sx]*):;;*)false;;esac;fi
537    '\'' sh
538  '
539fi
540as_executable_p=$as_test_x
541
542# Sed expression to map a string onto a valid CPP name.
543as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545# Sed expression to map a string onto a valid variable name.
546as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548SHELL=${CONFIG_SHELL-/bin/sh}
549
550
551test -n "$DJDIR" || exec 7<&0 </dev/null
552exec 6>&1
553
554# Name of the host.
555# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556# so uname gets run too.
557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559#
560# Initializations.
561#
562ac_default_prefix=/usr/local
563ac_clean_files=
564ac_config_libobj_dir=.
565LIBOBJS=
566cross_compiling=no
567subdirs=
568MFLAGS=
569MAKEFLAGS=
570
571# Identity of this package.
572PACKAGE_NAME='libFS'
573PACKAGE_TARNAME='libFS'
574PACKAGE_VERSION='1.0.6'
575PACKAGE_STRING='libFS 1.0.6'
576PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
577PACKAGE_URL=''
578
579ac_unique_file="Makefile.am"
580# Factoring default headers for most tests.
581ac_includes_default="\
582#include <stdio.h>
583#ifdef HAVE_SYS_TYPES_H
584# include <sys/types.h>
585#endif
586#ifdef HAVE_SYS_STAT_H
587# include <sys/stat.h>
588#endif
589#ifdef STDC_HEADERS
590# include <stdlib.h>
591# include <stddef.h>
592#else
593# ifdef HAVE_STDLIB_H
594#  include <stdlib.h>
595# endif
596#endif
597#ifdef HAVE_STRING_H
598# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599#  include <memory.h>
600# endif
601# include <string.h>
602#endif
603#ifdef HAVE_STRINGS_H
604# include <strings.h>
605#endif
606#ifdef HAVE_INTTYPES_H
607# include <inttypes.h>
608#endif
609#ifdef HAVE_STDINT_H
610# include <stdint.h>
611#endif
612#ifdef HAVE_UNISTD_H
613# include <unistd.h>
614#endif"
615
616ac_subst_vars='am__EXEEXT_FALSE
617am__EXEEXT_TRUE
618LTLIBOBJS
619LIBOBJS
620MAKE_LINT_LIB_FALSE
621MAKE_LINT_LIB_TRUE
622LINTLIB
623LINT_FALSE
624LINT_TRUE
625LINT_FLAGS
626LINT
627FS_LIBS
628FS_CFLAGS
629XTMALLOC_ZERO_CFLAGS
630XMALLOC_ZERO_CFLAGS
631MALLOC_ZERO_CFLAGS
632MAN_SUBSTS
633XORG_MAN_PAGE
634ADMIN_MAN_DIR
635DRIVER_MAN_DIR
636MISC_MAN_DIR
637FILE_MAN_DIR
638LIB_MAN_DIR
639APP_MAN_DIR
640ADMIN_MAN_SUFFIX
641DRIVER_MAN_SUFFIX
642MISC_MAN_SUFFIX
643FILE_MAN_SUFFIX
644LIB_MAN_SUFFIX
645APP_MAN_SUFFIX
646INSTALL_CMD
647PKG_CONFIG
648CHANGELOG_CMD
649STRICT_CFLAGS
650CWARNFLAGS
651BASE_CFLAGS
652OTOOL64
653OTOOL
654LIPO
655NMEDIT
656DSYMUTIL
657MANIFEST_TOOL
658RANLIB
659ac_ct_AR
660AR
661DLLTOOL
662OBJDUMP
663LN_S
664NM
665ac_ct_DUMPBIN
666DUMPBIN
667LD
668FGREP
669SED
670host_os
671host_vendor
672host_cpu
673host
674build_os
675build_vendor
676build_cpu
677build
678LIBTOOL
679EGREP
680GREP
681CPP
682am__fastdepCC_FALSE
683am__fastdepCC_TRUE
684CCDEPMODE
685am__nodep
686AMDEPBACKSLASH
687AMDEP_FALSE
688AMDEP_TRUE
689am__quote
690am__include
691DEPDIR
692OBJEXT
693EXEEXT
694ac_ct_CC
695CPPFLAGS
696LDFLAGS
697CFLAGS
698CC
699AM_BACKSLASH
700AM_DEFAULT_VERBOSITY
701AM_DEFAULT_V
702AM_V
703am__untar
704am__tar
705AMTAR
706am__leading_dot
707SET_MAKE
708AWK
709mkdir_p
710MKDIR_P
711INSTALL_STRIP_PROGRAM
712STRIP
713install_sh
714MAKEINFO
715AUTOHEADER
716AUTOMAKE
717AUTOCONF
718ACLOCAL
719VERSION
720PACKAGE
721CYGPATH_W
722am__isrc
723INSTALL_DATA
724INSTALL_SCRIPT
725INSTALL_PROGRAM
726target_alias
727host_alias
728build_alias
729LIBS
730ECHO_T
731ECHO_N
732ECHO_C
733DEFS
734mandir
735localedir
736libdir
737psdir
738pdfdir
739dvidir
740htmldir
741infodir
742docdir
743oldincludedir
744includedir
745localstatedir
746sharedstatedir
747sysconfdir
748datadir
749datarootdir
750libexecdir
751sbindir
752bindir
753program_transform_name
754prefix
755exec_prefix
756PACKAGE_URL
757PACKAGE_BUGREPORT
758PACKAGE_STRING
759PACKAGE_VERSION
760PACKAGE_TARNAME
761PACKAGE_NAME
762PATH_SEPARATOR
763SHELL'
764ac_subst_files=''
765ac_user_opts='
766enable_option_checking
767enable_silent_rules
768enable_dependency_tracking
769enable_shared
770enable_static
771with_pic
772enable_fast_install
773with_gnu_ld
774with_sysroot
775enable_libtool_lock
776enable_selective_werror
777enable_strict_compilation
778enable_malloc0returnsnull
779enable_unix_transport
780enable_tcp_transport
781enable_ipv6
782enable_local_transport
783with_lint
784enable_lint_library
785'
786      ac_precious_vars='build_alias
787host_alias
788target_alias
789CC
790CFLAGS
791LDFLAGS
792LIBS
793CPPFLAGS
794CPP
795PKG_CONFIG
796FS_CFLAGS
797FS_LIBS
798LINT
799LINT_FLAGS'
800
801
802# Initialize some variables set by options.
803ac_init_help=
804ac_init_version=false
805ac_unrecognized_opts=
806ac_unrecognized_sep=
807# The variables have the same names as the options, with
808# dashes changed to underlines.
809cache_file=/dev/null
810exec_prefix=NONE
811no_create=
812no_recursion=
813prefix=NONE
814program_prefix=NONE
815program_suffix=NONE
816program_transform_name=s,x,x,
817silent=
818site=
819srcdir=
820verbose=
821x_includes=NONE
822x_libraries=NONE
823
824# Installation directory options.
825# These are left unexpanded so users can "make install exec_prefix=/foo"
826# and all the variables that are supposed to be based on exec_prefix
827# by default will actually change.
828# Use braces instead of parens because sh, perl, etc. also accept them.
829# (The list follows the same order as the GNU Coding Standards.)
830bindir='${exec_prefix}/bin'
831sbindir='${exec_prefix}/sbin'
832libexecdir='${exec_prefix}/libexec'
833datarootdir='${prefix}/share'
834datadir='${datarootdir}'
835sysconfdir='${prefix}/etc'
836sharedstatedir='${prefix}/com'
837localstatedir='${prefix}/var'
838includedir='${prefix}/include'
839oldincludedir='/usr/include'
840docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
841infodir='${datarootdir}/info'
842htmldir='${docdir}'
843dvidir='${docdir}'
844pdfdir='${docdir}'
845psdir='${docdir}'
846libdir='${exec_prefix}/lib'
847localedir='${datarootdir}/locale'
848mandir='${datarootdir}/man'
849
850ac_prev=
851ac_dashdash=
852for ac_option
853do
854  # If the previous option needs an argument, assign it.
855  if test -n "$ac_prev"; then
856    eval $ac_prev=\$ac_option
857    ac_prev=
858    continue
859  fi
860
861  case $ac_option in
862  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
863  *=)   ac_optarg= ;;
864  *)    ac_optarg=yes ;;
865  esac
866
867  # Accept the important Cygnus configure options, so we can diagnose typos.
868
869  case $ac_dashdash$ac_option in
870  --)
871    ac_dashdash=yes ;;
872
873  -bindir | --bindir | --bindi | --bind | --bin | --bi)
874    ac_prev=bindir ;;
875  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
876    bindir=$ac_optarg ;;
877
878  -build | --build | --buil | --bui | --bu)
879    ac_prev=build_alias ;;
880  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
881    build_alias=$ac_optarg ;;
882
883  -cache-file | --cache-file | --cache-fil | --cache-fi \
884  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
885    ac_prev=cache_file ;;
886  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
887  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
888    cache_file=$ac_optarg ;;
889
890  --config-cache | -C)
891    cache_file=config.cache ;;
892
893  -datadir | --datadir | --datadi | --datad)
894    ac_prev=datadir ;;
895  -datadir=* | --datadir=* | --datadi=* | --datad=*)
896    datadir=$ac_optarg ;;
897
898  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
899  | --dataroo | --dataro | --datar)
900    ac_prev=datarootdir ;;
901  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
902  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
903    datarootdir=$ac_optarg ;;
904
905  -disable-* | --disable-*)
906    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
907    # Reject names that are not valid shell variable names.
908    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
909      as_fn_error $? "invalid feature name: $ac_useropt"
910    ac_useropt_orig=$ac_useropt
911    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912    case $ac_user_opts in
913      *"
914"enable_$ac_useropt"
915"*) ;;
916      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
917	 ac_unrecognized_sep=', ';;
918    esac
919    eval enable_$ac_useropt=no ;;
920
921  -docdir | --docdir | --docdi | --doc | --do)
922    ac_prev=docdir ;;
923  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
924    docdir=$ac_optarg ;;
925
926  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
927    ac_prev=dvidir ;;
928  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
929    dvidir=$ac_optarg ;;
930
931  -enable-* | --enable-*)
932    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
933    # Reject names that are not valid shell variable names.
934    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
935      as_fn_error $? "invalid feature name: $ac_useropt"
936    ac_useropt_orig=$ac_useropt
937    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938    case $ac_user_opts in
939      *"
940"enable_$ac_useropt"
941"*) ;;
942      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
943	 ac_unrecognized_sep=', ';;
944    esac
945    eval enable_$ac_useropt=\$ac_optarg ;;
946
947  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
948  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
949  | --exec | --exe | --ex)
950    ac_prev=exec_prefix ;;
951  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
952  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
953  | --exec=* | --exe=* | --ex=*)
954    exec_prefix=$ac_optarg ;;
955
956  -gas | --gas | --ga | --g)
957    # Obsolete; use --with-gas.
958    with_gas=yes ;;
959
960  -help | --help | --hel | --he | -h)
961    ac_init_help=long ;;
962  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
963    ac_init_help=recursive ;;
964  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
965    ac_init_help=short ;;
966
967  -host | --host | --hos | --ho)
968    ac_prev=host_alias ;;
969  -host=* | --host=* | --hos=* | --ho=*)
970    host_alias=$ac_optarg ;;
971
972  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
973    ac_prev=htmldir ;;
974  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
975  | --ht=*)
976    htmldir=$ac_optarg ;;
977
978  -includedir | --includedir | --includedi | --included | --include \
979  | --includ | --inclu | --incl | --inc)
980    ac_prev=includedir ;;
981  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
982  | --includ=* | --inclu=* | --incl=* | --inc=*)
983    includedir=$ac_optarg ;;
984
985  -infodir | --infodir | --infodi | --infod | --info | --inf)
986    ac_prev=infodir ;;
987  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
988    infodir=$ac_optarg ;;
989
990  -libdir | --libdir | --libdi | --libd)
991    ac_prev=libdir ;;
992  -libdir=* | --libdir=* | --libdi=* | --libd=*)
993    libdir=$ac_optarg ;;
994
995  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
996  | --libexe | --libex | --libe)
997    ac_prev=libexecdir ;;
998  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
999  | --libexe=* | --libex=* | --libe=*)
1000    libexecdir=$ac_optarg ;;
1001
1002  -localedir | --localedir | --localedi | --localed | --locale)
1003    ac_prev=localedir ;;
1004  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1005    localedir=$ac_optarg ;;
1006
1007  -localstatedir | --localstatedir | --localstatedi | --localstated \
1008  | --localstate | --localstat | --localsta | --localst | --locals)
1009    ac_prev=localstatedir ;;
1010  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1011  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1012    localstatedir=$ac_optarg ;;
1013
1014  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1015    ac_prev=mandir ;;
1016  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1017    mandir=$ac_optarg ;;
1018
1019  -nfp | --nfp | --nf)
1020    # Obsolete; use --without-fp.
1021    with_fp=no ;;
1022
1023  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1024  | --no-cr | --no-c | -n)
1025    no_create=yes ;;
1026
1027  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1028  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1029    no_recursion=yes ;;
1030
1031  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1032  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1033  | --oldin | --oldi | --old | --ol | --o)
1034    ac_prev=oldincludedir ;;
1035  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1036  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1037  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1038    oldincludedir=$ac_optarg ;;
1039
1040  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1041    ac_prev=prefix ;;
1042  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1043    prefix=$ac_optarg ;;
1044
1045  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1046  | --program-pre | --program-pr | --program-p)
1047    ac_prev=program_prefix ;;
1048  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1049  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1050    program_prefix=$ac_optarg ;;
1051
1052  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1053  | --program-suf | --program-su | --program-s)
1054    ac_prev=program_suffix ;;
1055  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1056  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1057    program_suffix=$ac_optarg ;;
1058
1059  -program-transform-name | --program-transform-name \
1060  | --program-transform-nam | --program-transform-na \
1061  | --program-transform-n | --program-transform- \
1062  | --program-transform | --program-transfor \
1063  | --program-transfo | --program-transf \
1064  | --program-trans | --program-tran \
1065  | --progr-tra | --program-tr | --program-t)
1066    ac_prev=program_transform_name ;;
1067  -program-transform-name=* | --program-transform-name=* \
1068  | --program-transform-nam=* | --program-transform-na=* \
1069  | --program-transform-n=* | --program-transform-=* \
1070  | --program-transform=* | --program-transfor=* \
1071  | --program-transfo=* | --program-transf=* \
1072  | --program-trans=* | --program-tran=* \
1073  | --progr-tra=* | --program-tr=* | --program-t=*)
1074    program_transform_name=$ac_optarg ;;
1075
1076  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1077    ac_prev=pdfdir ;;
1078  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1079    pdfdir=$ac_optarg ;;
1080
1081  -psdir | --psdir | --psdi | --psd | --ps)
1082    ac_prev=psdir ;;
1083  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1084    psdir=$ac_optarg ;;
1085
1086  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1087  | -silent | --silent | --silen | --sile | --sil)
1088    silent=yes ;;
1089
1090  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1091    ac_prev=sbindir ;;
1092  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1093  | --sbi=* | --sb=*)
1094    sbindir=$ac_optarg ;;
1095
1096  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1097  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1098  | --sharedst | --shareds | --shared | --share | --shar \
1099  | --sha | --sh)
1100    ac_prev=sharedstatedir ;;
1101  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1102  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1103  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1104  | --sha=* | --sh=*)
1105    sharedstatedir=$ac_optarg ;;
1106
1107  -site | --site | --sit)
1108    ac_prev=site ;;
1109  -site=* | --site=* | --sit=*)
1110    site=$ac_optarg ;;
1111
1112  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1113    ac_prev=srcdir ;;
1114  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1115    srcdir=$ac_optarg ;;
1116
1117  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1118  | --syscon | --sysco | --sysc | --sys | --sy)
1119    ac_prev=sysconfdir ;;
1120  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1121  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1122    sysconfdir=$ac_optarg ;;
1123
1124  -target | --target | --targe | --targ | --tar | --ta | --t)
1125    ac_prev=target_alias ;;
1126  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1127    target_alias=$ac_optarg ;;
1128
1129  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1130    verbose=yes ;;
1131
1132  -version | --version | --versio | --versi | --vers | -V)
1133    ac_init_version=: ;;
1134
1135  -with-* | --with-*)
1136    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1137    # Reject names that are not valid shell variable names.
1138    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1139      as_fn_error $? "invalid package name: $ac_useropt"
1140    ac_useropt_orig=$ac_useropt
1141    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142    case $ac_user_opts in
1143      *"
1144"with_$ac_useropt"
1145"*) ;;
1146      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1147	 ac_unrecognized_sep=', ';;
1148    esac
1149    eval with_$ac_useropt=\$ac_optarg ;;
1150
1151  -without-* | --without-*)
1152    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1153    # Reject names that are not valid shell variable names.
1154    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1155      as_fn_error $? "invalid package name: $ac_useropt"
1156    ac_useropt_orig=$ac_useropt
1157    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158    case $ac_user_opts in
1159      *"
1160"with_$ac_useropt"
1161"*) ;;
1162      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1163	 ac_unrecognized_sep=', ';;
1164    esac
1165    eval with_$ac_useropt=no ;;
1166
1167  --x)
1168    # Obsolete; use --with-x.
1169    with_x=yes ;;
1170
1171  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1172  | --x-incl | --x-inc | --x-in | --x-i)
1173    ac_prev=x_includes ;;
1174  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1175  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1176    x_includes=$ac_optarg ;;
1177
1178  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1179  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1180    ac_prev=x_libraries ;;
1181  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1182  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1183    x_libraries=$ac_optarg ;;
1184
1185  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1186Try \`$0 --help' for more information"
1187    ;;
1188
1189  *=*)
1190    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1191    # Reject names that are not valid shell variable names.
1192    case $ac_envvar in #(
1193      '' | [0-9]* | *[!_$as_cr_alnum]* )
1194      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1195    esac
1196    eval $ac_envvar=\$ac_optarg
1197    export $ac_envvar ;;
1198
1199  *)
1200    # FIXME: should be removed in autoconf 3.0.
1201    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1205    ;;
1206
1207  esac
1208done
1209
1210if test -n "$ac_prev"; then
1211  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1212  as_fn_error $? "missing argument to $ac_option"
1213fi
1214
1215if test -n "$ac_unrecognized_opts"; then
1216  case $enable_option_checking in
1217    no) ;;
1218    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1219    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1220  esac
1221fi
1222
1223# Check all directory arguments for consistency.
1224for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1225		datadir sysconfdir sharedstatedir localstatedir includedir \
1226		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1227		libdir localedir mandir
1228do
1229  eval ac_val=\$$ac_var
1230  # Remove trailing slashes.
1231  case $ac_val in
1232    */ )
1233      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1234      eval $ac_var=\$ac_val;;
1235  esac
1236  # Be sure to have absolute directory names.
1237  case $ac_val in
1238    [\\/$]* | ?:[\\/]* )  continue;;
1239    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1240  esac
1241  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1242done
1243
1244# There might be people who depend on the old broken behavior: `$host'
1245# used to hold the argument of --host etc.
1246# FIXME: To remove some day.
1247build=$build_alias
1248host=$host_alias
1249target=$target_alias
1250
1251# FIXME: To remove some day.
1252if test "x$host_alias" != x; then
1253  if test "x$build_alias" = x; then
1254    cross_compiling=maybe
1255    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1256    If a cross compiler is detected then cross compile mode will be used" >&2
1257  elif test "x$build_alias" != "x$host_alias"; then
1258    cross_compiling=yes
1259  fi
1260fi
1261
1262ac_tool_prefix=
1263test -n "$host_alias" && ac_tool_prefix=$host_alias-
1264
1265test "$silent" = yes && exec 6>/dev/null
1266
1267
1268ac_pwd=`pwd` && test -n "$ac_pwd" &&
1269ac_ls_di=`ls -di .` &&
1270ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1271  as_fn_error $? "working directory cannot be determined"
1272test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1273  as_fn_error $? "pwd does not report name of working directory"
1274
1275
1276# Find the source files, if location was not specified.
1277if test -z "$srcdir"; then
1278  ac_srcdir_defaulted=yes
1279  # Try the directory containing this script, then the parent directory.
1280  ac_confdir=`$as_dirname -- "$as_myself" ||
1281$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1282	 X"$as_myself" : 'X\(//\)[^/]' \| \
1283	 X"$as_myself" : 'X\(//\)$' \| \
1284	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1285$as_echo X"$as_myself" |
1286    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1287	    s//\1/
1288	    q
1289	  }
1290	  /^X\(\/\/\)[^/].*/{
1291	    s//\1/
1292	    q
1293	  }
1294	  /^X\(\/\/\)$/{
1295	    s//\1/
1296	    q
1297	  }
1298	  /^X\(\/\).*/{
1299	    s//\1/
1300	    q
1301	  }
1302	  s/.*/./; q'`
1303  srcdir=$ac_confdir
1304  if test ! -r "$srcdir/$ac_unique_file"; then
1305    srcdir=..
1306  fi
1307else
1308  ac_srcdir_defaulted=no
1309fi
1310if test ! -r "$srcdir/$ac_unique_file"; then
1311  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1312  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1313fi
1314ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1315ac_abs_confdir=`(
1316	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1317	pwd)`
1318# When building in place, set srcdir=.
1319if test "$ac_abs_confdir" = "$ac_pwd"; then
1320  srcdir=.
1321fi
1322# Remove unnecessary trailing slashes from srcdir.
1323# Double slashes in file names in object file debugging info
1324# mess up M-x gdb in Emacs.
1325case $srcdir in
1326*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1327esac
1328for ac_var in $ac_precious_vars; do
1329  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1330  eval ac_env_${ac_var}_value=\$${ac_var}
1331  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1332  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1333done
1334
1335#
1336# Report the --help message.
1337#
1338if test "$ac_init_help" = "long"; then
1339  # Omit some internal or obsolete options to make the list less imposing.
1340  # This message is too long to be a string in the A/UX 3.1 sh.
1341  cat <<_ACEOF
1342\`configure' configures libFS 1.0.6 to adapt to many kinds of systems.
1343
1344Usage: $0 [OPTION]... [VAR=VALUE]...
1345
1346To assign environment variables (e.g., CC, CFLAGS...), specify them as
1347VAR=VALUE.  See below for descriptions of some of the useful variables.
1348
1349Defaults for the options are specified in brackets.
1350
1351Configuration:
1352  -h, --help              display this help and exit
1353      --help=short        display options specific to this package
1354      --help=recursive    display the short help of all the included packages
1355  -V, --version           display version information and exit
1356  -q, --quiet, --silent   do not print \`checking ...' messages
1357      --cache-file=FILE   cache test results in FILE [disabled]
1358  -C, --config-cache      alias for \`--cache-file=config.cache'
1359  -n, --no-create         do not create output files
1360      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1361
1362Installation directories:
1363  --prefix=PREFIX         install architecture-independent files in PREFIX
1364                          [$ac_default_prefix]
1365  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1366                          [PREFIX]
1367
1368By default, \`make install' will install all the files in
1369\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1370an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1371for instance \`--prefix=\$HOME'.
1372
1373For better control, use the options below.
1374
1375Fine tuning of the installation directories:
1376  --bindir=DIR            user executables [EPREFIX/bin]
1377  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1378  --libexecdir=DIR        program executables [EPREFIX/libexec]
1379  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1380  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1381  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1382  --libdir=DIR            object code libraries [EPREFIX/lib]
1383  --includedir=DIR        C header files [PREFIX/include]
1384  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1385  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1386  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1387  --infodir=DIR           info documentation [DATAROOTDIR/info]
1388  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1389  --mandir=DIR            man documentation [DATAROOTDIR/man]
1390  --docdir=DIR            documentation root [DATAROOTDIR/doc/libFS]
1391  --htmldir=DIR           html documentation [DOCDIR]
1392  --dvidir=DIR            dvi documentation [DOCDIR]
1393  --pdfdir=DIR            pdf documentation [DOCDIR]
1394  --psdir=DIR             ps documentation [DOCDIR]
1395_ACEOF
1396
1397  cat <<\_ACEOF
1398
1399Program names:
1400  --program-prefix=PREFIX            prepend PREFIX to installed program names
1401  --program-suffix=SUFFIX            append SUFFIX to installed program names
1402  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1403
1404System types:
1405  --build=BUILD     configure for building on BUILD [guessed]
1406  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1407_ACEOF
1408fi
1409
1410if test -n "$ac_init_help"; then
1411  case $ac_init_help in
1412     short | recursive ) echo "Configuration of libFS 1.0.6:";;
1413   esac
1414  cat <<\_ACEOF
1415
1416Optional Features:
1417  --disable-option-checking  ignore unrecognized --enable/--with options
1418  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1419  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1420  --enable-silent-rules   less verbose build output (undo: "make V=1")
1421  --disable-silent-rules  verbose build output (undo: "make V=0")
1422  --enable-dependency-tracking
1423                          do not reject slow dependency extractors
1424  --disable-dependency-tracking
1425                          speeds up one-time build
1426  --enable-shared[=PKGS]  build shared libraries [default=yes]
1427  --enable-static[=PKGS]  build static libraries [default=yes]
1428  --enable-fast-install[=PKGS]
1429                          optimize for fast installation [default=yes]
1430  --disable-libtool-lock  avoid locking (might break parallel builds)
1431  --disable-selective-werror
1432                          Turn off selective compiler errors. (default:
1433                          enabled)
1434  --enable-strict-compilation
1435                          Enable all warnings from compiler and make them
1436                          errors (default: disabled)
1437  --enable-malloc0returnsnull
1438                          malloc(0) returns NULL (default: auto)
1439  --enable-unix-transport Enable UNIX domain socket transport
1440  --enable-tcp-transport  Enable TCP socket transport
1441  --enable-ipv6           Enable IPv6 support
1442  --enable-local-transport
1443                          Enable os-specific local transport
1444  --enable-lint-library   Create lint library (default: disabled)
1445
1446Optional Packages:
1447  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1448  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1449  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1450                          both]
1451  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1452  --with-sysroot=DIR Search for dependent libraries within DIR
1453                        (or the compiler's sysroot if not specified).
1454  --with-lint             Use a lint-style source code checker (default:
1455                          disabled)
1456
1457Some influential environment variables:
1458  CC          C compiler command
1459  CFLAGS      C compiler flags
1460  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1461              nonstandard directory <lib dir>
1462  LIBS        libraries to pass to the linker, e.g. -l<library>
1463  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1464              you have headers in a nonstandard directory <include dir>
1465  CPP         C preprocessor
1466  PKG_CONFIG  path to pkg-config utility
1467  FS_CFLAGS   C compiler flags for FS, overriding pkg-config
1468  FS_LIBS     linker flags for FS, overriding pkg-config
1469  LINT        Path to a lint-style command
1470  LINT_FLAGS  Flags for the lint-style command
1471
1472Use these variables to override the choices made by `configure' or to help
1473it to find libraries and programs with nonstandard names/locations.
1474
1475Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1476_ACEOF
1477ac_status=$?
1478fi
1479
1480if test "$ac_init_help" = "recursive"; then
1481  # If there are subdirs, report their specific --help.
1482  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1483    test -d "$ac_dir" ||
1484      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1485      continue
1486    ac_builddir=.
1487
1488case "$ac_dir" in
1489.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1490*)
1491  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1492  # A ".." for each directory in $ac_dir_suffix.
1493  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1494  case $ac_top_builddir_sub in
1495  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1496  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1497  esac ;;
1498esac
1499ac_abs_top_builddir=$ac_pwd
1500ac_abs_builddir=$ac_pwd$ac_dir_suffix
1501# for backward compatibility:
1502ac_top_builddir=$ac_top_build_prefix
1503
1504case $srcdir in
1505  .)  # We are building in place.
1506    ac_srcdir=.
1507    ac_top_srcdir=$ac_top_builddir_sub
1508    ac_abs_top_srcdir=$ac_pwd ;;
1509  [\\/]* | ?:[\\/]* )  # Absolute name.
1510    ac_srcdir=$srcdir$ac_dir_suffix;
1511    ac_top_srcdir=$srcdir
1512    ac_abs_top_srcdir=$srcdir ;;
1513  *) # Relative name.
1514    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1515    ac_top_srcdir=$ac_top_build_prefix$srcdir
1516    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1517esac
1518ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1519
1520    cd "$ac_dir" || { ac_status=$?; continue; }
1521    # Check for guested configure.
1522    if test -f "$ac_srcdir/configure.gnu"; then
1523      echo &&
1524      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1525    elif test -f "$ac_srcdir/configure"; then
1526      echo &&
1527      $SHELL "$ac_srcdir/configure" --help=recursive
1528    else
1529      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1530    fi || ac_status=$?
1531    cd "$ac_pwd" || { ac_status=$?; break; }
1532  done
1533fi
1534
1535test -n "$ac_init_help" && exit $ac_status
1536if $ac_init_version; then
1537  cat <<\_ACEOF
1538libFS configure 1.0.6
1539generated by GNU Autoconf 2.68
1540
1541Copyright (C) 2010 Free Software Foundation, Inc.
1542This configure script is free software; the Free Software Foundation
1543gives unlimited permission to copy, distribute and modify it.
1544_ACEOF
1545  exit
1546fi
1547
1548## ------------------------ ##
1549## Autoconf initialization. ##
1550## ------------------------ ##
1551
1552# ac_fn_c_try_compile LINENO
1553# --------------------------
1554# Try to compile conftest.$ac_ext, and return whether this succeeded.
1555ac_fn_c_try_compile ()
1556{
1557  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558  rm -f conftest.$ac_objext
1559  if { { ac_try="$ac_compile"
1560case "(($ac_try" in
1561  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1562  *) ac_try_echo=$ac_try;;
1563esac
1564eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565$as_echo "$ac_try_echo"; } >&5
1566  (eval "$ac_compile") 2>conftest.err
1567  ac_status=$?
1568  if test -s conftest.err; then
1569    grep -v '^ *+' conftest.err >conftest.er1
1570    cat conftest.er1 >&5
1571    mv -f conftest.er1 conftest.err
1572  fi
1573  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574  test $ac_status = 0; } && {
1575	 test -z "$ac_c_werror_flag" ||
1576	 test ! -s conftest.err
1577       } && test -s conftest.$ac_objext; then :
1578  ac_retval=0
1579else
1580  $as_echo "$as_me: failed program was:" >&5
1581sed 's/^/| /' conftest.$ac_ext >&5
1582
1583	ac_retval=1
1584fi
1585  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586  as_fn_set_status $ac_retval
1587
1588} # ac_fn_c_try_compile
1589
1590# ac_fn_c_try_cpp LINENO
1591# ----------------------
1592# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1593ac_fn_c_try_cpp ()
1594{
1595  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596  if { { ac_try="$ac_cpp conftest.$ac_ext"
1597case "(($ac_try" in
1598  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599  *) ac_try_echo=$ac_try;;
1600esac
1601eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602$as_echo "$ac_try_echo"; } >&5
1603  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1604  ac_status=$?
1605  if test -s conftest.err; then
1606    grep -v '^ *+' conftest.err >conftest.er1
1607    cat conftest.er1 >&5
1608    mv -f conftest.er1 conftest.err
1609  fi
1610  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611  test $ac_status = 0; } > conftest.i && {
1612	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1613	 test ! -s conftest.err
1614       }; then :
1615  ac_retval=0
1616else
1617  $as_echo "$as_me: failed program was:" >&5
1618sed 's/^/| /' conftest.$ac_ext >&5
1619
1620    ac_retval=1
1621fi
1622  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623  as_fn_set_status $ac_retval
1624
1625} # ac_fn_c_try_cpp
1626
1627# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1628# -------------------------------------------------------
1629# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1630# the include files in INCLUDES and setting the cache variable VAR
1631# accordingly.
1632ac_fn_c_check_header_mongrel ()
1633{
1634  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635  if eval \${$3+:} false; then :
1636  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637$as_echo_n "checking for $2... " >&6; }
1638if eval \${$3+:} false; then :
1639  $as_echo_n "(cached) " >&6
1640fi
1641eval ac_res=\$$3
1642	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1643$as_echo "$ac_res" >&6; }
1644else
1645  # Is the header compilable?
1646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1647$as_echo_n "checking $2 usability... " >&6; }
1648cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649/* end confdefs.h.  */
1650$4
1651#include <$2>
1652_ACEOF
1653if ac_fn_c_try_compile "$LINENO"; then :
1654  ac_header_compiler=yes
1655else
1656  ac_header_compiler=no
1657fi
1658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1660$as_echo "$ac_header_compiler" >&6; }
1661
1662# Is the header present?
1663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1664$as_echo_n "checking $2 presence... " >&6; }
1665cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1666/* end confdefs.h.  */
1667#include <$2>
1668_ACEOF
1669if ac_fn_c_try_cpp "$LINENO"; then :
1670  ac_header_preproc=yes
1671else
1672  ac_header_preproc=no
1673fi
1674rm -f conftest.err conftest.i conftest.$ac_ext
1675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1676$as_echo "$ac_header_preproc" >&6; }
1677
1678# So?  What about this header?
1679case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1680  yes:no: )
1681    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1682$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1683    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1684$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1685    ;;
1686  no:yes:* )
1687    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1688$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1689    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1690$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1691    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1692$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1693    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1694$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1695    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1696$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1697( $as_echo "## ---------------------------------------------------------------------- ##
1698## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
1699## ---------------------------------------------------------------------- ##"
1700     ) | sed "s/^/$as_me: WARNING:     /" >&2
1701    ;;
1702esac
1703  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704$as_echo_n "checking for $2... " >&6; }
1705if eval \${$3+:} false; then :
1706  $as_echo_n "(cached) " >&6
1707else
1708  eval "$3=\$ac_header_compiler"
1709fi
1710eval ac_res=\$$3
1711	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1712$as_echo "$ac_res" >&6; }
1713fi
1714  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715
1716} # ac_fn_c_check_header_mongrel
1717
1718# ac_fn_c_try_run LINENO
1719# ----------------------
1720# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1721# that executables *can* be run.
1722ac_fn_c_try_run ()
1723{
1724  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725  if { { ac_try="$ac_link"
1726case "(($ac_try" in
1727  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728  *) ac_try_echo=$ac_try;;
1729esac
1730eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731$as_echo "$ac_try_echo"; } >&5
1732  (eval "$ac_link") 2>&5
1733  ac_status=$?
1734  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1736  { { case "(($ac_try" in
1737  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1738  *) ac_try_echo=$ac_try;;
1739esac
1740eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741$as_echo "$ac_try_echo"; } >&5
1742  (eval "$ac_try") 2>&5
1743  ac_status=$?
1744  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745  test $ac_status = 0; }; }; then :
1746  ac_retval=0
1747else
1748  $as_echo "$as_me: program exited with status $ac_status" >&5
1749       $as_echo "$as_me: failed program was:" >&5
1750sed 's/^/| /' conftest.$ac_ext >&5
1751
1752       ac_retval=$ac_status
1753fi
1754  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1755  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756  as_fn_set_status $ac_retval
1757
1758} # ac_fn_c_try_run
1759
1760# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1761# -------------------------------------------------------
1762# Tests whether HEADER exists and can be compiled using the include files in
1763# INCLUDES, setting the cache variable VAR accordingly.
1764ac_fn_c_check_header_compile ()
1765{
1766  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768$as_echo_n "checking for $2... " >&6; }
1769if eval \${$3+:} false; then :
1770  $as_echo_n "(cached) " >&6
1771else
1772  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773/* end confdefs.h.  */
1774$4
1775#include <$2>
1776_ACEOF
1777if ac_fn_c_try_compile "$LINENO"; then :
1778  eval "$3=yes"
1779else
1780  eval "$3=no"
1781fi
1782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1783fi
1784eval ac_res=\$$3
1785	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1786$as_echo "$ac_res" >&6; }
1787  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788
1789} # ac_fn_c_check_header_compile
1790
1791# ac_fn_c_try_link LINENO
1792# -----------------------
1793# Try to link conftest.$ac_ext, and return whether this succeeded.
1794ac_fn_c_try_link ()
1795{
1796  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797  rm -f conftest.$ac_objext conftest$ac_exeext
1798  if { { ac_try="$ac_link"
1799case "(($ac_try" in
1800  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801  *) ac_try_echo=$ac_try;;
1802esac
1803eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804$as_echo "$ac_try_echo"; } >&5
1805  (eval "$ac_link") 2>conftest.err
1806  ac_status=$?
1807  if test -s conftest.err; then
1808    grep -v '^ *+' conftest.err >conftest.er1
1809    cat conftest.er1 >&5
1810    mv -f conftest.er1 conftest.err
1811  fi
1812  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813  test $ac_status = 0; } && {
1814	 test -z "$ac_c_werror_flag" ||
1815	 test ! -s conftest.err
1816       } && test -s conftest$ac_exeext && {
1817	 test "$cross_compiling" = yes ||
1818	 $as_test_x conftest$ac_exeext
1819       }; then :
1820  ac_retval=0
1821else
1822  $as_echo "$as_me: failed program was:" >&5
1823sed 's/^/| /' conftest.$ac_ext >&5
1824
1825	ac_retval=1
1826fi
1827  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1828  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1829  # interfere with the next link command; also delete a directory that is
1830  # left behind by Apple's compiler.  We do this before executing the actions.
1831  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1832  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833  as_fn_set_status $ac_retval
1834
1835} # ac_fn_c_try_link
1836
1837# ac_fn_c_check_func LINENO FUNC VAR
1838# ----------------------------------
1839# Tests whether FUNC exists, setting the cache variable VAR accordingly
1840ac_fn_c_check_func ()
1841{
1842  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1844$as_echo_n "checking for $2... " >&6; }
1845if eval \${$3+:} false; then :
1846  $as_echo_n "(cached) " >&6
1847else
1848  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1849/* end confdefs.h.  */
1850/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1851   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1852#define $2 innocuous_$2
1853
1854/* System header to define __stub macros and hopefully few prototypes,
1855    which can conflict with char $2 (); below.
1856    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1857    <limits.h> exists even on freestanding compilers.  */
1858
1859#ifdef __STDC__
1860# include <limits.h>
1861#else
1862# include <assert.h>
1863#endif
1864
1865#undef $2
1866
1867/* Override any GCC internal prototype to avoid an error.
1868   Use char because int might match the return type of a GCC
1869   builtin and then its argument prototype would still apply.  */
1870#ifdef __cplusplus
1871extern "C"
1872#endif
1873char $2 ();
1874/* The GNU C library defines this for functions which it implements
1875    to always fail with ENOSYS.  Some functions are actually named
1876    something starting with __ and the normal name is an alias.  */
1877#if defined __stub_$2 || defined __stub___$2
1878choke me
1879#endif
1880
1881int
1882main ()
1883{
1884return $2 ();
1885  ;
1886  return 0;
1887}
1888_ACEOF
1889if ac_fn_c_try_link "$LINENO"; then :
1890  eval "$3=yes"
1891else
1892  eval "$3=no"
1893fi
1894rm -f core conftest.err conftest.$ac_objext \
1895    conftest$ac_exeext conftest.$ac_ext
1896fi
1897eval ac_res=\$$3
1898	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899$as_echo "$ac_res" >&6; }
1900  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901
1902} # ac_fn_c_check_func
1903
1904# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1905# ---------------------------------------------
1906# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1907# accordingly.
1908ac_fn_c_check_decl ()
1909{
1910  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911  as_decl_name=`echo $2|sed 's/ *(.*//'`
1912  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1913  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1914$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1915if eval \${$3+:} false; then :
1916  $as_echo_n "(cached) " >&6
1917else
1918  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919/* end confdefs.h.  */
1920$4
1921int
1922main ()
1923{
1924#ifndef $as_decl_name
1925#ifdef __cplusplus
1926  (void) $as_decl_use;
1927#else
1928  (void) $as_decl_name;
1929#endif
1930#endif
1931
1932  ;
1933  return 0;
1934}
1935_ACEOF
1936if ac_fn_c_try_compile "$LINENO"; then :
1937  eval "$3=yes"
1938else
1939  eval "$3=no"
1940fi
1941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1942fi
1943eval ac_res=\$$3
1944	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945$as_echo "$ac_res" >&6; }
1946  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947
1948} # ac_fn_c_check_decl
1949
1950# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1951# ----------------------------------------------------
1952# Tries to find if the field MEMBER exists in type AGGR, after including
1953# INCLUDES, setting cache variable VAR accordingly.
1954ac_fn_c_check_member ()
1955{
1956  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1958$as_echo_n "checking for $2.$3... " >&6; }
1959if eval \${$4+:} false; then :
1960  $as_echo_n "(cached) " >&6
1961else
1962  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963/* end confdefs.h.  */
1964$5
1965int
1966main ()
1967{
1968static $2 ac_aggr;
1969if (ac_aggr.$3)
1970return 0;
1971  ;
1972  return 0;
1973}
1974_ACEOF
1975if ac_fn_c_try_compile "$LINENO"; then :
1976  eval "$4=yes"
1977else
1978  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1979/* end confdefs.h.  */
1980$5
1981int
1982main ()
1983{
1984static $2 ac_aggr;
1985if (sizeof ac_aggr.$3)
1986return 0;
1987  ;
1988  return 0;
1989}
1990_ACEOF
1991if ac_fn_c_try_compile "$LINENO"; then :
1992  eval "$4=yes"
1993else
1994  eval "$4=no"
1995fi
1996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1997fi
1998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1999fi
2000eval ac_res=\$$4
2001	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002$as_echo "$ac_res" >&6; }
2003  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004
2005} # ac_fn_c_check_member
2006
2007# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2008# -------------------------------------------
2009# Tests whether TYPE exists after having included INCLUDES, setting cache
2010# variable VAR accordingly.
2011ac_fn_c_check_type ()
2012{
2013  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015$as_echo_n "checking for $2... " >&6; }
2016if eval \${$3+:} false; then :
2017  $as_echo_n "(cached) " >&6
2018else
2019  eval "$3=no"
2020  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021/* end confdefs.h.  */
2022$4
2023int
2024main ()
2025{
2026if (sizeof ($2))
2027	 return 0;
2028  ;
2029  return 0;
2030}
2031_ACEOF
2032if ac_fn_c_try_compile "$LINENO"; then :
2033  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034/* end confdefs.h.  */
2035$4
2036int
2037main ()
2038{
2039if (sizeof (($2)))
2040	    return 0;
2041  ;
2042  return 0;
2043}
2044_ACEOF
2045if ac_fn_c_try_compile "$LINENO"; then :
2046
2047else
2048  eval "$3=yes"
2049fi
2050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2051fi
2052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2053fi
2054eval ac_res=\$$3
2055	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2056$as_echo "$ac_res" >&6; }
2057  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2058
2059} # ac_fn_c_check_type
2060cat >config.log <<_ACEOF
2061This file contains any messages produced by compilers while
2062running configure, to aid debugging if configure makes a mistake.
2063
2064It was created by libFS $as_me 1.0.6, which was
2065generated by GNU Autoconf 2.68.  Invocation command line was
2066
2067  $ $0 $@
2068
2069_ACEOF
2070exec 5>>config.log
2071{
2072cat <<_ASUNAME
2073## --------- ##
2074## Platform. ##
2075## --------- ##
2076
2077hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2078uname -m = `(uname -m) 2>/dev/null || echo unknown`
2079uname -r = `(uname -r) 2>/dev/null || echo unknown`
2080uname -s = `(uname -s) 2>/dev/null || echo unknown`
2081uname -v = `(uname -v) 2>/dev/null || echo unknown`
2082
2083/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2084/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2085
2086/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2087/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2088/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2089/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2090/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2091/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2092/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2093
2094_ASUNAME
2095
2096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097for as_dir in $PATH
2098do
2099  IFS=$as_save_IFS
2100  test -z "$as_dir" && as_dir=.
2101    $as_echo "PATH: $as_dir"
2102  done
2103IFS=$as_save_IFS
2104
2105} >&5
2106
2107cat >&5 <<_ACEOF
2108
2109
2110## ----------- ##
2111## Core tests. ##
2112## ----------- ##
2113
2114_ACEOF
2115
2116
2117# Keep a trace of the command line.
2118# Strip out --no-create and --no-recursion so they do not pile up.
2119# Strip out --silent because we don't want to record it for future runs.
2120# Also quote any args containing shell meta-characters.
2121# Make two passes to allow for proper duplicate-argument suppression.
2122ac_configure_args=
2123ac_configure_args0=
2124ac_configure_args1=
2125ac_must_keep_next=false
2126for ac_pass in 1 2
2127do
2128  for ac_arg
2129  do
2130    case $ac_arg in
2131    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2132    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2133    | -silent | --silent | --silen | --sile | --sil)
2134      continue ;;
2135    *\'*)
2136      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2137    esac
2138    case $ac_pass in
2139    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2140    2)
2141      as_fn_append ac_configure_args1 " '$ac_arg'"
2142      if test $ac_must_keep_next = true; then
2143	ac_must_keep_next=false # Got value, back to normal.
2144      else
2145	case $ac_arg in
2146	  *=* | --config-cache | -C | -disable-* | --disable-* \
2147	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2148	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2149	  | -with-* | --with-* | -without-* | --without-* | --x)
2150	    case "$ac_configure_args0 " in
2151	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2152	    esac
2153	    ;;
2154	  -* ) ac_must_keep_next=true ;;
2155	esac
2156      fi
2157      as_fn_append ac_configure_args " '$ac_arg'"
2158      ;;
2159    esac
2160  done
2161done
2162{ ac_configure_args0=; unset ac_configure_args0;}
2163{ ac_configure_args1=; unset ac_configure_args1;}
2164
2165# When interrupted or exit'd, cleanup temporary files, and complete
2166# config.log.  We remove comments because anyway the quotes in there
2167# would cause problems or look ugly.
2168# WARNING: Use '\'' to represent an apostrophe within the trap.
2169# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2170trap 'exit_status=$?
2171  # Save into config.log some information that might help in debugging.
2172  {
2173    echo
2174
2175    $as_echo "## ---------------- ##
2176## Cache variables. ##
2177## ---------------- ##"
2178    echo
2179    # The following way of writing the cache mishandles newlines in values,
2180(
2181  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2182    eval ac_val=\$$ac_var
2183    case $ac_val in #(
2184    *${as_nl}*)
2185      case $ac_var in #(
2186      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2187$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2188      esac
2189      case $ac_var in #(
2190      _ | IFS | as_nl) ;; #(
2191      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2192      *) { eval $ac_var=; unset $ac_var;} ;;
2193      esac ;;
2194    esac
2195  done
2196  (set) 2>&1 |
2197    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2198    *${as_nl}ac_space=\ *)
2199      sed -n \
2200	"s/'\''/'\''\\\\'\'''\''/g;
2201	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2202      ;; #(
2203    *)
2204      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2205      ;;
2206    esac |
2207    sort
2208)
2209    echo
2210
2211    $as_echo "## ----------------- ##
2212## Output variables. ##
2213## ----------------- ##"
2214    echo
2215    for ac_var in $ac_subst_vars
2216    do
2217      eval ac_val=\$$ac_var
2218      case $ac_val in
2219      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2220      esac
2221      $as_echo "$ac_var='\''$ac_val'\''"
2222    done | sort
2223    echo
2224
2225    if test -n "$ac_subst_files"; then
2226      $as_echo "## ------------------- ##
2227## File substitutions. ##
2228## ------------------- ##"
2229      echo
2230      for ac_var in $ac_subst_files
2231      do
2232	eval ac_val=\$$ac_var
2233	case $ac_val in
2234	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2235	esac
2236	$as_echo "$ac_var='\''$ac_val'\''"
2237      done | sort
2238      echo
2239    fi
2240
2241    if test -s confdefs.h; then
2242      $as_echo "## ----------- ##
2243## confdefs.h. ##
2244## ----------- ##"
2245      echo
2246      cat confdefs.h
2247      echo
2248    fi
2249    test "$ac_signal" != 0 &&
2250      $as_echo "$as_me: caught signal $ac_signal"
2251    $as_echo "$as_me: exit $exit_status"
2252  } >&5
2253  rm -f core *.core core.conftest.* &&
2254    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2255    exit $exit_status
2256' 0
2257for ac_signal in 1 2 13 15; do
2258  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2259done
2260ac_signal=0
2261
2262# confdefs.h avoids OS command line length limits that DEFS can exceed.
2263rm -f -r conftest* confdefs.h
2264
2265$as_echo "/* confdefs.h */" > confdefs.h
2266
2267# Predefined preprocessor variables.
2268
2269cat >>confdefs.h <<_ACEOF
2270#define PACKAGE_NAME "$PACKAGE_NAME"
2271_ACEOF
2272
2273cat >>confdefs.h <<_ACEOF
2274#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2275_ACEOF
2276
2277cat >>confdefs.h <<_ACEOF
2278#define PACKAGE_VERSION "$PACKAGE_VERSION"
2279_ACEOF
2280
2281cat >>confdefs.h <<_ACEOF
2282#define PACKAGE_STRING "$PACKAGE_STRING"
2283_ACEOF
2284
2285cat >>confdefs.h <<_ACEOF
2286#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2287_ACEOF
2288
2289cat >>confdefs.h <<_ACEOF
2290#define PACKAGE_URL "$PACKAGE_URL"
2291_ACEOF
2292
2293
2294# Let the site file select an alternate cache file if it wants to.
2295# Prefer an explicitly selected file to automatically selected ones.
2296ac_site_file1=NONE
2297ac_site_file2=NONE
2298if test -n "$CONFIG_SITE"; then
2299  # We do not want a PATH search for config.site.
2300  case $CONFIG_SITE in #((
2301    -*)  ac_site_file1=./$CONFIG_SITE;;
2302    */*) ac_site_file1=$CONFIG_SITE;;
2303    *)   ac_site_file1=./$CONFIG_SITE;;
2304  esac
2305elif test "x$prefix" != xNONE; then
2306  ac_site_file1=$prefix/share/config.site
2307  ac_site_file2=$prefix/etc/config.site
2308else
2309  ac_site_file1=$ac_default_prefix/share/config.site
2310  ac_site_file2=$ac_default_prefix/etc/config.site
2311fi
2312for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2313do
2314  test "x$ac_site_file" = xNONE && continue
2315  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2316    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2317$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2318    sed 's/^/| /' "$ac_site_file" >&5
2319    . "$ac_site_file" \
2320      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2321$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2322as_fn_error $? "failed to load site script $ac_site_file
2323See \`config.log' for more details" "$LINENO" 5; }
2324  fi
2325done
2326
2327if test -r "$cache_file"; then
2328  # Some versions of bash will fail to source /dev/null (special files
2329  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2330  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2331    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2332$as_echo "$as_me: loading cache $cache_file" >&6;}
2333    case $cache_file in
2334      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2335      *)                      . "./$cache_file";;
2336    esac
2337  fi
2338else
2339  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2340$as_echo "$as_me: creating cache $cache_file" >&6;}
2341  >$cache_file
2342fi
2343
2344# Check that the precious variables saved in the cache have kept the same
2345# value.
2346ac_cache_corrupted=false
2347for ac_var in $ac_precious_vars; do
2348  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2349  eval ac_new_set=\$ac_env_${ac_var}_set
2350  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2351  eval ac_new_val=\$ac_env_${ac_var}_value
2352  case $ac_old_set,$ac_new_set in
2353    set,)
2354      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2355$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2356      ac_cache_corrupted=: ;;
2357    ,set)
2358      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2359$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2360      ac_cache_corrupted=: ;;
2361    ,);;
2362    *)
2363      if test "x$ac_old_val" != "x$ac_new_val"; then
2364	# differences in whitespace do not lead to failure.
2365	ac_old_val_w=`echo x $ac_old_val`
2366	ac_new_val_w=`echo x $ac_new_val`
2367	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2368	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2369$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2370	  ac_cache_corrupted=:
2371	else
2372	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2373$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2374	  eval $ac_var=\$ac_old_val
2375	fi
2376	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2377$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2378	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2379$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2380      fi;;
2381  esac
2382  # Pass precious variables to config.status.
2383  if test "$ac_new_set" = set; then
2384    case $ac_new_val in
2385    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2386    *) ac_arg=$ac_var=$ac_new_val ;;
2387    esac
2388    case " $ac_configure_args " in
2389      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2390      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2391    esac
2392  fi
2393done
2394if $ac_cache_corrupted; then
2395  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2398$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2399  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2400fi
2401## -------------------- ##
2402## Main body of script. ##
2403## -------------------- ##
2404
2405ac_ext=c
2406ac_cpp='$CPP $CPPFLAGS'
2407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2409ac_compiler_gnu=$ac_cv_c_compiler_gnu
2410
2411
2412
2413ac_config_headers="$ac_config_headers config.h"
2414
2415
2416# Initialize Automake
2417am__api_version='1.14'
2418
2419ac_aux_dir=
2420for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2421  if test -f "$ac_dir/install-sh"; then
2422    ac_aux_dir=$ac_dir
2423    ac_install_sh="$ac_aux_dir/install-sh -c"
2424    break
2425  elif test -f "$ac_dir/install.sh"; then
2426    ac_aux_dir=$ac_dir
2427    ac_install_sh="$ac_aux_dir/install.sh -c"
2428    break
2429  elif test -f "$ac_dir/shtool"; then
2430    ac_aux_dir=$ac_dir
2431    ac_install_sh="$ac_aux_dir/shtool install -c"
2432    break
2433  fi
2434done
2435if test -z "$ac_aux_dir"; then
2436  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2437fi
2438
2439# These three variables are undocumented and unsupported,
2440# and are intended to be withdrawn in a future Autoconf release.
2441# They can cause serious problems if a builder's source tree is in a directory
2442# whose full name contains unusual characters.
2443ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2444ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2445ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2446
2447
2448# Find a good install program.  We prefer a C program (faster),
2449# so one script is as good as another.  But avoid the broken or
2450# incompatible versions:
2451# SysV /etc/install, /usr/sbin/install
2452# SunOS /usr/etc/install
2453# IRIX /sbin/install
2454# AIX /bin/install
2455# AmigaOS /C/install, which installs bootblocks on floppy discs
2456# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2457# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2458# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2459# OS/2's system install, which has a completely different semantic
2460# ./install, which can be erroneously created by make from ./install.sh.
2461# Reject install programs that cannot install multiple files.
2462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2463$as_echo_n "checking for a BSD-compatible install... " >&6; }
2464if test -z "$INSTALL"; then
2465if ${ac_cv_path_install+:} false; then :
2466  $as_echo_n "(cached) " >&6
2467else
2468  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469for as_dir in $PATH
2470do
2471  IFS=$as_save_IFS
2472  test -z "$as_dir" && as_dir=.
2473    # Account for people who put trailing slashes in PATH elements.
2474case $as_dir/ in #((
2475  ./ | .// | /[cC]/* | \
2476  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2477  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2478  /usr/ucb/* ) ;;
2479  *)
2480    # OSF1 and SCO ODT 3.0 have their own names for install.
2481    # Don't use installbsd from OSF since it installs stuff as root
2482    # by default.
2483    for ac_prog in ginstall scoinst install; do
2484      for ac_exec_ext in '' $ac_executable_extensions; do
2485	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2486	  if test $ac_prog = install &&
2487	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488	    # AIX install.  It has an incompatible calling convention.
2489	    :
2490	  elif test $ac_prog = install &&
2491	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2492	    # program-specific install script used by HP pwplus--don't use.
2493	    :
2494	  else
2495	    rm -rf conftest.one conftest.two conftest.dir
2496	    echo one > conftest.one
2497	    echo two > conftest.two
2498	    mkdir conftest.dir
2499	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2500	      test -s conftest.one && test -s conftest.two &&
2501	      test -s conftest.dir/conftest.one &&
2502	      test -s conftest.dir/conftest.two
2503	    then
2504	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2505	      break 3
2506	    fi
2507	  fi
2508	fi
2509      done
2510    done
2511    ;;
2512esac
2513
2514  done
2515IFS=$as_save_IFS
2516
2517rm -rf conftest.one conftest.two conftest.dir
2518
2519fi
2520  if test "${ac_cv_path_install+set}" = set; then
2521    INSTALL=$ac_cv_path_install
2522  else
2523    # As a last resort, use the slow shell script.  Don't cache a
2524    # value for INSTALL within a source directory, because that will
2525    # break other packages using the cache if that directory is
2526    # removed, or if the value is a relative name.
2527    INSTALL=$ac_install_sh
2528  fi
2529fi
2530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2531$as_echo "$INSTALL" >&6; }
2532
2533# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2534# It thinks the first close brace ends the variable substitution.
2535test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2536
2537test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2538
2539test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2540
2541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2542$as_echo_n "checking whether build environment is sane... " >&6; }
2543# Reject unsafe characters in $srcdir or the absolute working directory
2544# name.  Accept space and tab only in the latter.
2545am_lf='
2546'
2547case `pwd` in
2548  *[\\\"\#\$\&\'\`$am_lf]*)
2549    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2550esac
2551case $srcdir in
2552  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2553    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2554esac
2555
2556# Do 'set' in a subshell so we don't clobber the current shell's
2557# arguments.  Must try -L first in case configure is actually a
2558# symlink; some systems play weird games with the mod time of symlinks
2559# (eg FreeBSD returns the mod time of the symlink's containing
2560# directory).
2561if (
2562   am_has_slept=no
2563   for am_try in 1 2; do
2564     echo "timestamp, slept: $am_has_slept" > conftest.file
2565     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2566     if test "$*" = "X"; then
2567	# -L didn't work.
2568	set X `ls -t "$srcdir/configure" conftest.file`
2569     fi
2570     if test "$*" != "X $srcdir/configure conftest.file" \
2571	&& test "$*" != "X conftest.file $srcdir/configure"; then
2572
2573	# If neither matched, then we have a broken ls.  This can happen
2574	# if, for instance, CONFIG_SHELL is bash and it inherits a
2575	# broken ls alias from the environment.  This has actually
2576	# happened.  Such a system could not be considered "sane".
2577	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2578  alias in your environment" "$LINENO" 5
2579     fi
2580     if test "$2" = conftest.file || test $am_try -eq 2; then
2581       break
2582     fi
2583     # Just in case.
2584     sleep 1
2585     am_has_slept=yes
2586   done
2587   test "$2" = conftest.file
2588   )
2589then
2590   # Ok.
2591   :
2592else
2593   as_fn_error $? "newly created file is older than distributed files!
2594Check your system clock" "$LINENO" 5
2595fi
2596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2597$as_echo "yes" >&6; }
2598# If we didn't sleep, we still need to ensure time stamps of config.status and
2599# generated files are strictly newer.
2600am_sleep_pid=
2601if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2602  ( sleep 1 ) &
2603  am_sleep_pid=$!
2604fi
2605
2606rm -f conftest.file
2607
2608test "$program_prefix" != NONE &&
2609  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2610# Use a double $ so make ignores it.
2611test "$program_suffix" != NONE &&
2612  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2613# Double any \ or $.
2614# By default was `s,x,x', remove it if useless.
2615ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2616program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2617
2618# expand $ac_aux_dir to an absolute path
2619am_aux_dir=`cd $ac_aux_dir && pwd`
2620
2621if test x"${MISSING+set}" != xset; then
2622  case $am_aux_dir in
2623  *\ * | *\	*)
2624    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2625  *)
2626    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2627  esac
2628fi
2629# Use eval to expand $SHELL
2630if eval "$MISSING --is-lightweight"; then
2631  am_missing_run="$MISSING "
2632else
2633  am_missing_run=
2634  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2635$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2636fi
2637
2638if test x"${install_sh}" != xset; then
2639  case $am_aux_dir in
2640  *\ * | *\	*)
2641    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2642  *)
2643    install_sh="\${SHELL} $am_aux_dir/install-sh"
2644  esac
2645fi
2646
2647# Installed binaries are usually stripped using 'strip' when the user
2648# run "make install-strip".  However 'strip' might not be the right
2649# tool to use in cross-compilation environments, therefore Automake
2650# will honor the 'STRIP' environment variable to overrule this program.
2651if test "$cross_compiling" != no; then
2652  if test -n "$ac_tool_prefix"; then
2653  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2654set dummy ${ac_tool_prefix}strip; ac_word=$2
2655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656$as_echo_n "checking for $ac_word... " >&6; }
2657if ${ac_cv_prog_STRIP+:} false; then :
2658  $as_echo_n "(cached) " >&6
2659else
2660  if test -n "$STRIP"; then
2661  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2662else
2663as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664for as_dir in $PATH
2665do
2666  IFS=$as_save_IFS
2667  test -z "$as_dir" && as_dir=.
2668    for ac_exec_ext in '' $ac_executable_extensions; do
2669  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2671    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672    break 2
2673  fi
2674done
2675  done
2676IFS=$as_save_IFS
2677
2678fi
2679fi
2680STRIP=$ac_cv_prog_STRIP
2681if test -n "$STRIP"; then
2682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2683$as_echo "$STRIP" >&6; }
2684else
2685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686$as_echo "no" >&6; }
2687fi
2688
2689
2690fi
2691if test -z "$ac_cv_prog_STRIP"; then
2692  ac_ct_STRIP=$STRIP
2693  # Extract the first word of "strip", so it can be a program name with args.
2694set dummy strip; ac_word=$2
2695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696$as_echo_n "checking for $ac_word... " >&6; }
2697if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2698  $as_echo_n "(cached) " >&6
2699else
2700  if test -n "$ac_ct_STRIP"; then
2701  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2702else
2703as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704for as_dir in $PATH
2705do
2706  IFS=$as_save_IFS
2707  test -z "$as_dir" && as_dir=.
2708    for ac_exec_ext in '' $ac_executable_extensions; do
2709  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2710    ac_cv_prog_ac_ct_STRIP="strip"
2711    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712    break 2
2713  fi
2714done
2715  done
2716IFS=$as_save_IFS
2717
2718fi
2719fi
2720ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2721if test -n "$ac_ct_STRIP"; then
2722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2723$as_echo "$ac_ct_STRIP" >&6; }
2724else
2725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726$as_echo "no" >&6; }
2727fi
2728
2729  if test "x$ac_ct_STRIP" = x; then
2730    STRIP=":"
2731  else
2732    case $cross_compiling:$ac_tool_warned in
2733yes:)
2734{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2735$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2736ac_tool_warned=yes ;;
2737esac
2738    STRIP=$ac_ct_STRIP
2739  fi
2740else
2741  STRIP="$ac_cv_prog_STRIP"
2742fi
2743
2744fi
2745INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2746
2747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2748$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2749if test -z "$MKDIR_P"; then
2750  if ${ac_cv_path_mkdir+:} false; then :
2751  $as_echo_n "(cached) " >&6
2752else
2753  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2755do
2756  IFS=$as_save_IFS
2757  test -z "$as_dir" && as_dir=.
2758    for ac_prog in mkdir gmkdir; do
2759	 for ac_exec_ext in '' $ac_executable_extensions; do
2760	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2761	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2762	     'mkdir (GNU coreutils) '* | \
2763	     'mkdir (coreutils) '* | \
2764	     'mkdir (fileutils) '4.1*)
2765	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2766	       break 3;;
2767	   esac
2768	 done
2769       done
2770  done
2771IFS=$as_save_IFS
2772
2773fi
2774
2775  test -d ./--version && rmdir ./--version
2776  if test "${ac_cv_path_mkdir+set}" = set; then
2777    MKDIR_P="$ac_cv_path_mkdir -p"
2778  else
2779    # As a last resort, use the slow shell script.  Don't cache a
2780    # value for MKDIR_P within a source directory, because that will
2781    # break other packages using the cache if that directory is
2782    # removed, or if the value is a relative name.
2783    MKDIR_P="$ac_install_sh -d"
2784  fi
2785fi
2786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2787$as_echo "$MKDIR_P" >&6; }
2788
2789for ac_prog in gawk mawk nawk awk
2790do
2791  # Extract the first word of "$ac_prog", so it can be a program name with args.
2792set dummy $ac_prog; ac_word=$2
2793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794$as_echo_n "checking for $ac_word... " >&6; }
2795if ${ac_cv_prog_AWK+:} false; then :
2796  $as_echo_n "(cached) " >&6
2797else
2798  if test -n "$AWK"; then
2799  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2800else
2801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802for as_dir in $PATH
2803do
2804  IFS=$as_save_IFS
2805  test -z "$as_dir" && as_dir=.
2806    for ac_exec_ext in '' $ac_executable_extensions; do
2807  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2808    ac_cv_prog_AWK="$ac_prog"
2809    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810    break 2
2811  fi
2812done
2813  done
2814IFS=$as_save_IFS
2815
2816fi
2817fi
2818AWK=$ac_cv_prog_AWK
2819if test -n "$AWK"; then
2820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2821$as_echo "$AWK" >&6; }
2822else
2823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824$as_echo "no" >&6; }
2825fi
2826
2827
2828  test -n "$AWK" && break
2829done
2830
2831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2832$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2833set x ${MAKE-make}
2834ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2835if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2836  $as_echo_n "(cached) " >&6
2837else
2838  cat >conftest.make <<\_ACEOF
2839SHELL = /bin/sh
2840all:
2841	@echo '@@@%%%=$(MAKE)=@@@%%%'
2842_ACEOF
2843# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2844case `${MAKE-make} -f conftest.make 2>/dev/null` in
2845  *@@@%%%=?*=@@@%%%*)
2846    eval ac_cv_prog_make_${ac_make}_set=yes;;
2847  *)
2848    eval ac_cv_prog_make_${ac_make}_set=no;;
2849esac
2850rm -f conftest.make
2851fi
2852if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2854$as_echo "yes" >&6; }
2855  SET_MAKE=
2856else
2857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858$as_echo "no" >&6; }
2859  SET_MAKE="MAKE=${MAKE-make}"
2860fi
2861
2862rm -rf .tst 2>/dev/null
2863mkdir .tst 2>/dev/null
2864if test -d .tst; then
2865  am__leading_dot=.
2866else
2867  am__leading_dot=_
2868fi
2869rmdir .tst 2>/dev/null
2870
2871# Check whether --enable-silent-rules was given.
2872if test "${enable_silent_rules+set}" = set; then :
2873  enableval=$enable_silent_rules;
2874fi
2875
2876case $enable_silent_rules in # (((
2877  yes) AM_DEFAULT_VERBOSITY=0;;
2878   no) AM_DEFAULT_VERBOSITY=1;;
2879    *) AM_DEFAULT_VERBOSITY=1;;
2880esac
2881am_make=${MAKE-make}
2882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2883$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2884if ${am_cv_make_support_nested_variables+:} false; then :
2885  $as_echo_n "(cached) " >&6
2886else
2887  if $as_echo 'TRUE=$(BAR$(V))
2888BAR0=false
2889BAR1=true
2890V=1
2891am__doit:
2892	@$(TRUE)
2893.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2894  am_cv_make_support_nested_variables=yes
2895else
2896  am_cv_make_support_nested_variables=no
2897fi
2898fi
2899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2900$as_echo "$am_cv_make_support_nested_variables" >&6; }
2901if test $am_cv_make_support_nested_variables = yes; then
2902    AM_V='$(V)'
2903  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2904else
2905  AM_V=$AM_DEFAULT_VERBOSITY
2906  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2907fi
2908AM_BACKSLASH='\'
2909
2910if test "`cd $srcdir && pwd`" != "`pwd`"; then
2911  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2912  # is not polluted with repeated "-I."
2913  am__isrc=' -I$(srcdir)'
2914  # test to see if srcdir already configured
2915  if test -f $srcdir/config.status; then
2916    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2917  fi
2918fi
2919
2920# test whether we have cygpath
2921if test -z "$CYGPATH_W"; then
2922  if (cygpath --version) >/dev/null 2>/dev/null; then
2923    CYGPATH_W='cygpath -w'
2924  else
2925    CYGPATH_W=echo
2926  fi
2927fi
2928
2929
2930# Define the identity of the package.
2931 PACKAGE='libFS'
2932 VERSION='1.0.6'
2933
2934
2935cat >>confdefs.h <<_ACEOF
2936#define PACKAGE "$PACKAGE"
2937_ACEOF
2938
2939
2940cat >>confdefs.h <<_ACEOF
2941#define VERSION "$VERSION"
2942_ACEOF
2943
2944# Some tools Automake needs.
2945
2946ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2947
2948
2949AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2950
2951
2952AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2953
2954
2955AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2956
2957
2958MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2959
2960# For better backward compatibility.  To be removed once Automake 1.9.x
2961# dies out for good.  For more background, see:
2962# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2963# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2964mkdir_p='$(MKDIR_P)'
2965
2966# We need awk for the "check" target.  The system "awk" is bad on
2967# some platforms.
2968# Always define AMTAR for backward compatibility.  Yes, it's still used
2969# in the wild :-(  We should find a proper way to deprecate it ...
2970AMTAR='$${TAR-tar}'
2971
2972
2973# We'll loop over all known methods to create a tar archive until one works.
2974_am_tools='gnutar  pax cpio none'
2975
2976am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2977
2978
2979
2980
2981
2982
2983# POSIX will say in a future version that running "rm -f" with no argument
2984# is OK; and we want to be able to make that assumption in our Makefile
2985# recipes.  So use an aggressive probe to check that the usage we want is
2986# actually supported "in the wild" to an acceptable degree.
2987# See automake bug#10828.
2988# To make any issue more visible, cause the running configure to be aborted
2989# by default if the 'rm' program in use doesn't match our expectations; the
2990# user can still override this though.
2991if rm -f && rm -fr && rm -rf; then : OK; else
2992  cat >&2 <<'END'
2993Oops!
2994
2995Your 'rm' program seems unable to run without file operands specified
2996on the command line, even when the '-f' option is present.  This is contrary
2997to the behaviour of most rm programs out there, and not conforming with
2998the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2999
3000Please tell bug-automake@gnu.org about your system, including the value
3001of your $PATH and any error possibly output before this message.  This
3002can help us improve future automake versions.
3003
3004END
3005  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3006    echo 'Configuration will proceed anyway, since you have set the' >&2
3007    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3008    echo >&2
3009  else
3010    cat >&2 <<'END'
3011Aborting the configuration process, to ensure you take notice of the issue.
3012
3013You can download and install GNU coreutils to get an 'rm' implementation
3014that behaves properly: <http://www.gnu.org/software/coreutils/>.
3015
3016If you want to complete the configuration process using your problematic
3017'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3018to "yes", and re-run configure.
3019
3020END
3021    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3022  fi
3023fi
3024
3025# Set common system defines for POSIX extensions, such as _GNU_SOURCE
3026# Must be called before any macros that run the compiler (like
3027# AC_PROG_LIBTOOL) to avoid autoconf errors.
3028DEPDIR="${am__leading_dot}deps"
3029
3030ac_config_commands="$ac_config_commands depfiles"
3031
3032
3033am_make=${MAKE-make}
3034cat > confinc << 'END'
3035am__doit:
3036	@echo this is the am__doit target
3037.PHONY: am__doit
3038END
3039# If we don't find an include directive, just comment out the code.
3040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3041$as_echo_n "checking for style of include used by $am_make... " >&6; }
3042am__include="#"
3043am__quote=
3044_am_result=none
3045# First try GNU make style include.
3046echo "include confinc" > confmf
3047# Ignore all kinds of additional output from 'make'.
3048case `$am_make -s -f confmf 2> /dev/null` in #(
3049*the\ am__doit\ target*)
3050  am__include=include
3051  am__quote=
3052  _am_result=GNU
3053  ;;
3054esac
3055# Now try BSD make style include.
3056if test "$am__include" = "#"; then
3057   echo '.include "confinc"' > confmf
3058   case `$am_make -s -f confmf 2> /dev/null` in #(
3059   *the\ am__doit\ target*)
3060     am__include=.include
3061     am__quote="\""
3062     _am_result=BSD
3063     ;;
3064   esac
3065fi
3066
3067
3068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3069$as_echo "$_am_result" >&6; }
3070rm -f confinc confmf
3071
3072# Check whether --enable-dependency-tracking was given.
3073if test "${enable_dependency_tracking+set}" = set; then :
3074  enableval=$enable_dependency_tracking;
3075fi
3076
3077if test "x$enable_dependency_tracking" != xno; then
3078  am_depcomp="$ac_aux_dir/depcomp"
3079  AMDEPBACKSLASH='\'
3080  am__nodep='_no'
3081fi
3082 if test "x$enable_dependency_tracking" != xno; then
3083  AMDEP_TRUE=
3084  AMDEP_FALSE='#'
3085else
3086  AMDEP_TRUE='#'
3087  AMDEP_FALSE=
3088fi
3089
3090
3091ac_ext=c
3092ac_cpp='$CPP $CPPFLAGS'
3093ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3094ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3095ac_compiler_gnu=$ac_cv_c_compiler_gnu
3096if test -n "$ac_tool_prefix"; then
3097  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3098set dummy ${ac_tool_prefix}gcc; ac_word=$2
3099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100$as_echo_n "checking for $ac_word... " >&6; }
3101if ${ac_cv_prog_CC+:} false; then :
3102  $as_echo_n "(cached) " >&6
3103else
3104  if test -n "$CC"; then
3105  ac_cv_prog_CC="$CC" # Let the user override the test.
3106else
3107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108for as_dir in $PATH
3109do
3110  IFS=$as_save_IFS
3111  test -z "$as_dir" && as_dir=.
3112    for ac_exec_ext in '' $ac_executable_extensions; do
3113  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3114    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3115    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116    break 2
3117  fi
3118done
3119  done
3120IFS=$as_save_IFS
3121
3122fi
3123fi
3124CC=$ac_cv_prog_CC
3125if test -n "$CC"; then
3126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3127$as_echo "$CC" >&6; }
3128else
3129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130$as_echo "no" >&6; }
3131fi
3132
3133
3134fi
3135if test -z "$ac_cv_prog_CC"; then
3136  ac_ct_CC=$CC
3137  # Extract the first word of "gcc", so it can be a program name with args.
3138set dummy gcc; ac_word=$2
3139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140$as_echo_n "checking for $ac_word... " >&6; }
3141if ${ac_cv_prog_ac_ct_CC+:} false; then :
3142  $as_echo_n "(cached) " >&6
3143else
3144  if test -n "$ac_ct_CC"; then
3145  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3146else
3147as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148for as_dir in $PATH
3149do
3150  IFS=$as_save_IFS
3151  test -z "$as_dir" && as_dir=.
3152    for ac_exec_ext in '' $ac_executable_extensions; do
3153  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154    ac_cv_prog_ac_ct_CC="gcc"
3155    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156    break 2
3157  fi
3158done
3159  done
3160IFS=$as_save_IFS
3161
3162fi
3163fi
3164ac_ct_CC=$ac_cv_prog_ac_ct_CC
3165if test -n "$ac_ct_CC"; then
3166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3167$as_echo "$ac_ct_CC" >&6; }
3168else
3169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170$as_echo "no" >&6; }
3171fi
3172
3173  if test "x$ac_ct_CC" = x; then
3174    CC=""
3175  else
3176    case $cross_compiling:$ac_tool_warned in
3177yes:)
3178{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3179$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3180ac_tool_warned=yes ;;
3181esac
3182    CC=$ac_ct_CC
3183  fi
3184else
3185  CC="$ac_cv_prog_CC"
3186fi
3187
3188if test -z "$CC"; then
3189          if test -n "$ac_tool_prefix"; then
3190    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3191set dummy ${ac_tool_prefix}cc; ac_word=$2
3192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193$as_echo_n "checking for $ac_word... " >&6; }
3194if ${ac_cv_prog_CC+:} false; then :
3195  $as_echo_n "(cached) " >&6
3196else
3197  if test -n "$CC"; then
3198  ac_cv_prog_CC="$CC" # Let the user override the test.
3199else
3200as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201for as_dir in $PATH
3202do
3203  IFS=$as_save_IFS
3204  test -z "$as_dir" && as_dir=.
3205    for ac_exec_ext in '' $ac_executable_extensions; do
3206  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3207    ac_cv_prog_CC="${ac_tool_prefix}cc"
3208    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209    break 2
3210  fi
3211done
3212  done
3213IFS=$as_save_IFS
3214
3215fi
3216fi
3217CC=$ac_cv_prog_CC
3218if test -n "$CC"; then
3219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3220$as_echo "$CC" >&6; }
3221else
3222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3223$as_echo "no" >&6; }
3224fi
3225
3226
3227  fi
3228fi
3229if test -z "$CC"; then
3230  # Extract the first word of "cc", so it can be a program name with args.
3231set dummy cc; ac_word=$2
3232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233$as_echo_n "checking for $ac_word... " >&6; }
3234if ${ac_cv_prog_CC+:} false; then :
3235  $as_echo_n "(cached) " >&6
3236else
3237  if test -n "$CC"; then
3238  ac_cv_prog_CC="$CC" # Let the user override the test.
3239else
3240  ac_prog_rejected=no
3241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242for as_dir in $PATH
3243do
3244  IFS=$as_save_IFS
3245  test -z "$as_dir" && as_dir=.
3246    for ac_exec_ext in '' $ac_executable_extensions; do
3247  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3248    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3249       ac_prog_rejected=yes
3250       continue
3251     fi
3252    ac_cv_prog_CC="cc"
3253    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254    break 2
3255  fi
3256done
3257  done
3258IFS=$as_save_IFS
3259
3260if test $ac_prog_rejected = yes; then
3261  # We found a bogon in the path, so make sure we never use it.
3262  set dummy $ac_cv_prog_CC
3263  shift
3264  if test $# != 0; then
3265    # We chose a different compiler from the bogus one.
3266    # However, it has the same basename, so the bogon will be chosen
3267    # first if we set CC to just the basename; use the full file name.
3268    shift
3269    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3270  fi
3271fi
3272fi
3273fi
3274CC=$ac_cv_prog_CC
3275if test -n "$CC"; then
3276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3277$as_echo "$CC" >&6; }
3278else
3279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280$as_echo "no" >&6; }
3281fi
3282
3283
3284fi
3285if test -z "$CC"; then
3286  if test -n "$ac_tool_prefix"; then
3287  for ac_prog in cl.exe
3288  do
3289    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3290set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292$as_echo_n "checking for $ac_word... " >&6; }
3293if ${ac_cv_prog_CC+:} false; then :
3294  $as_echo_n "(cached) " >&6
3295else
3296  if test -n "$CC"; then
3297  ac_cv_prog_CC="$CC" # Let the user override the test.
3298else
3299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300for as_dir in $PATH
3301do
3302  IFS=$as_save_IFS
3303  test -z "$as_dir" && as_dir=.
3304    for ac_exec_ext in '' $ac_executable_extensions; do
3305  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3306    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3307    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3308    break 2
3309  fi
3310done
3311  done
3312IFS=$as_save_IFS
3313
3314fi
3315fi
3316CC=$ac_cv_prog_CC
3317if test -n "$CC"; then
3318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3319$as_echo "$CC" >&6; }
3320else
3321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322$as_echo "no" >&6; }
3323fi
3324
3325
3326    test -n "$CC" && break
3327  done
3328fi
3329if test -z "$CC"; then
3330  ac_ct_CC=$CC
3331  for ac_prog in cl.exe
3332do
3333  # Extract the first word of "$ac_prog", so it can be a program name with args.
3334set dummy $ac_prog; ac_word=$2
3335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3336$as_echo_n "checking for $ac_word... " >&6; }
3337if ${ac_cv_prog_ac_ct_CC+:} false; then :
3338  $as_echo_n "(cached) " >&6
3339else
3340  if test -n "$ac_ct_CC"; then
3341  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3342else
3343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3344for as_dir in $PATH
3345do
3346  IFS=$as_save_IFS
3347  test -z "$as_dir" && as_dir=.
3348    for ac_exec_ext in '' $ac_executable_extensions; do
3349  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3350    ac_cv_prog_ac_ct_CC="$ac_prog"
3351    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3352    break 2
3353  fi
3354done
3355  done
3356IFS=$as_save_IFS
3357
3358fi
3359fi
3360ac_ct_CC=$ac_cv_prog_ac_ct_CC
3361if test -n "$ac_ct_CC"; then
3362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3363$as_echo "$ac_ct_CC" >&6; }
3364else
3365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3366$as_echo "no" >&6; }
3367fi
3368
3369
3370  test -n "$ac_ct_CC" && break
3371done
3372
3373  if test "x$ac_ct_CC" = x; then
3374    CC=""
3375  else
3376    case $cross_compiling:$ac_tool_warned in
3377yes:)
3378{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3379$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3380ac_tool_warned=yes ;;
3381esac
3382    CC=$ac_ct_CC
3383  fi
3384fi
3385
3386fi
3387
3388
3389test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3390$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3391as_fn_error $? "no acceptable C compiler found in \$PATH
3392See \`config.log' for more details" "$LINENO" 5; }
3393
3394# Provide some information about the compiler.
3395$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3396set X $ac_compile
3397ac_compiler=$2
3398for ac_option in --version -v -V -qversion; do
3399  { { ac_try="$ac_compiler $ac_option >&5"
3400case "(($ac_try" in
3401  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402  *) ac_try_echo=$ac_try;;
3403esac
3404eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3405$as_echo "$ac_try_echo"; } >&5
3406  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3407  ac_status=$?
3408  if test -s conftest.err; then
3409    sed '10a\
3410... rest of stderr output deleted ...
3411         10q' conftest.err >conftest.er1
3412    cat conftest.er1 >&5
3413  fi
3414  rm -f conftest.er1 conftest.err
3415  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3416  test $ac_status = 0; }
3417done
3418
3419cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420/* end confdefs.h.  */
3421
3422int
3423main ()
3424{
3425
3426  ;
3427  return 0;
3428}
3429_ACEOF
3430ac_clean_files_save=$ac_clean_files
3431ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3432# Try to create an executable without -o first, disregard a.out.
3433# It will help us diagnose broken compilers, and finding out an intuition
3434# of exeext.
3435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3436$as_echo_n "checking whether the C compiler works... " >&6; }
3437ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3438
3439# The possible output files:
3440ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3441
3442ac_rmfiles=
3443for ac_file in $ac_files
3444do
3445  case $ac_file in
3446    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3447    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3448  esac
3449done
3450rm -f $ac_rmfiles
3451
3452if { { ac_try="$ac_link_default"
3453case "(($ac_try" in
3454  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455  *) ac_try_echo=$ac_try;;
3456esac
3457eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458$as_echo "$ac_try_echo"; } >&5
3459  (eval "$ac_link_default") 2>&5
3460  ac_status=$?
3461  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462  test $ac_status = 0; }; then :
3463  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3464# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3465# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3466# so that the user can short-circuit this test for compilers unknown to
3467# Autoconf.
3468for ac_file in $ac_files ''
3469do
3470  test -f "$ac_file" || continue
3471  case $ac_file in
3472    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3473	;;
3474    [ab].out )
3475	# We found the default executable, but exeext='' is most
3476	# certainly right.
3477	break;;
3478    *.* )
3479	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3480	then :; else
3481	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3482	fi
3483	# We set ac_cv_exeext here because the later test for it is not
3484	# safe: cross compilers may not add the suffix if given an `-o'
3485	# argument, so we may need to know it at that point already.
3486	# Even if this section looks crufty: it has the advantage of
3487	# actually working.
3488	break;;
3489    * )
3490	break;;
3491  esac
3492done
3493test "$ac_cv_exeext" = no && ac_cv_exeext=
3494
3495else
3496  ac_file=''
3497fi
3498if test -z "$ac_file"; then :
3499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500$as_echo "no" >&6; }
3501$as_echo "$as_me: failed program was:" >&5
3502sed 's/^/| /' conftest.$ac_ext >&5
3503
3504{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3505$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3506as_fn_error 77 "C compiler cannot create executables
3507See \`config.log' for more details" "$LINENO" 5; }
3508else
3509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3510$as_echo "yes" >&6; }
3511fi
3512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3513$as_echo_n "checking for C compiler default output file name... " >&6; }
3514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3515$as_echo "$ac_file" >&6; }
3516ac_exeext=$ac_cv_exeext
3517
3518rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3519ac_clean_files=$ac_clean_files_save
3520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3521$as_echo_n "checking for suffix of executables... " >&6; }
3522if { { ac_try="$ac_link"
3523case "(($ac_try" in
3524  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3525  *) ac_try_echo=$ac_try;;
3526esac
3527eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3528$as_echo "$ac_try_echo"; } >&5
3529  (eval "$ac_link") 2>&5
3530  ac_status=$?
3531  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3532  test $ac_status = 0; }; then :
3533  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3534# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3535# work properly (i.e., refer to `conftest.exe'), while it won't with
3536# `rm'.
3537for ac_file in conftest.exe conftest conftest.*; do
3538  test -f "$ac_file" || continue
3539  case $ac_file in
3540    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3541    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3542	  break;;
3543    * ) break;;
3544  esac
3545done
3546else
3547  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3548$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3549as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3550See \`config.log' for more details" "$LINENO" 5; }
3551fi
3552rm -f conftest conftest$ac_cv_exeext
3553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3554$as_echo "$ac_cv_exeext" >&6; }
3555
3556rm -f conftest.$ac_ext
3557EXEEXT=$ac_cv_exeext
3558ac_exeext=$EXEEXT
3559cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560/* end confdefs.h.  */
3561#include <stdio.h>
3562int
3563main ()
3564{
3565FILE *f = fopen ("conftest.out", "w");
3566 return ferror (f) || fclose (f) != 0;
3567
3568  ;
3569  return 0;
3570}
3571_ACEOF
3572ac_clean_files="$ac_clean_files conftest.out"
3573# Check that the compiler produces executables we can run.  If not, either
3574# the compiler is broken, or we cross compile.
3575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3576$as_echo_n "checking whether we are cross compiling... " >&6; }
3577if test "$cross_compiling" != yes; then
3578  { { ac_try="$ac_link"
3579case "(($ac_try" in
3580  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581  *) ac_try_echo=$ac_try;;
3582esac
3583eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3584$as_echo "$ac_try_echo"; } >&5
3585  (eval "$ac_link") 2>&5
3586  ac_status=$?
3587  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3588  test $ac_status = 0; }
3589  if { ac_try='./conftest$ac_cv_exeext'
3590  { { case "(($ac_try" in
3591  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3592  *) ac_try_echo=$ac_try;;
3593esac
3594eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3595$as_echo "$ac_try_echo"; } >&5
3596  (eval "$ac_try") 2>&5
3597  ac_status=$?
3598  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3599  test $ac_status = 0; }; }; then
3600    cross_compiling=no
3601  else
3602    if test "$cross_compiling" = maybe; then
3603	cross_compiling=yes
3604    else
3605	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3606$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3607as_fn_error $? "cannot run C compiled programs.
3608If you meant to cross compile, use \`--host'.
3609See \`config.log' for more details" "$LINENO" 5; }
3610    fi
3611  fi
3612fi
3613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3614$as_echo "$cross_compiling" >&6; }
3615
3616rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3617ac_clean_files=$ac_clean_files_save
3618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3619$as_echo_n "checking for suffix of object files... " >&6; }
3620if ${ac_cv_objext+:} false; then :
3621  $as_echo_n "(cached) " >&6
3622else
3623  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3624/* end confdefs.h.  */
3625
3626int
3627main ()
3628{
3629
3630  ;
3631  return 0;
3632}
3633_ACEOF
3634rm -f conftest.o conftest.obj
3635if { { ac_try="$ac_compile"
3636case "(($ac_try" in
3637  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3638  *) ac_try_echo=$ac_try;;
3639esac
3640eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3641$as_echo "$ac_try_echo"; } >&5
3642  (eval "$ac_compile") 2>&5
3643  ac_status=$?
3644  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3645  test $ac_status = 0; }; then :
3646  for ac_file in conftest.o conftest.obj conftest.*; do
3647  test -f "$ac_file" || continue;
3648  case $ac_file in
3649    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3650    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3651       break;;
3652  esac
3653done
3654else
3655  $as_echo "$as_me: failed program was:" >&5
3656sed 's/^/| /' conftest.$ac_ext >&5
3657
3658{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3659$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3660as_fn_error $? "cannot compute suffix of object files: cannot compile
3661See \`config.log' for more details" "$LINENO" 5; }
3662fi
3663rm -f conftest.$ac_cv_objext conftest.$ac_ext
3664fi
3665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3666$as_echo "$ac_cv_objext" >&6; }
3667OBJEXT=$ac_cv_objext
3668ac_objext=$OBJEXT
3669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3670$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3671if ${ac_cv_c_compiler_gnu+:} false; then :
3672  $as_echo_n "(cached) " >&6
3673else
3674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675/* end confdefs.h.  */
3676
3677int
3678main ()
3679{
3680#ifndef __GNUC__
3681       choke me
3682#endif
3683
3684  ;
3685  return 0;
3686}
3687_ACEOF
3688if ac_fn_c_try_compile "$LINENO"; then :
3689  ac_compiler_gnu=yes
3690else
3691  ac_compiler_gnu=no
3692fi
3693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694ac_cv_c_compiler_gnu=$ac_compiler_gnu
3695
3696fi
3697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3698$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3699if test $ac_compiler_gnu = yes; then
3700  GCC=yes
3701else
3702  GCC=
3703fi
3704ac_test_CFLAGS=${CFLAGS+set}
3705ac_save_CFLAGS=$CFLAGS
3706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3707$as_echo_n "checking whether $CC accepts -g... " >&6; }
3708if ${ac_cv_prog_cc_g+:} false; then :
3709  $as_echo_n "(cached) " >&6
3710else
3711  ac_save_c_werror_flag=$ac_c_werror_flag
3712   ac_c_werror_flag=yes
3713   ac_cv_prog_cc_g=no
3714   CFLAGS="-g"
3715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716/* end confdefs.h.  */
3717
3718int
3719main ()
3720{
3721
3722  ;
3723  return 0;
3724}
3725_ACEOF
3726if ac_fn_c_try_compile "$LINENO"; then :
3727  ac_cv_prog_cc_g=yes
3728else
3729  CFLAGS=""
3730      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731/* end confdefs.h.  */
3732
3733int
3734main ()
3735{
3736
3737  ;
3738  return 0;
3739}
3740_ACEOF
3741if ac_fn_c_try_compile "$LINENO"; then :
3742
3743else
3744  ac_c_werror_flag=$ac_save_c_werror_flag
3745	 CFLAGS="-g"
3746	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747/* end confdefs.h.  */
3748
3749int
3750main ()
3751{
3752
3753  ;
3754  return 0;
3755}
3756_ACEOF
3757if ac_fn_c_try_compile "$LINENO"; then :
3758  ac_cv_prog_cc_g=yes
3759fi
3760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3761fi
3762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3763fi
3764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3765   ac_c_werror_flag=$ac_save_c_werror_flag
3766fi
3767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3768$as_echo "$ac_cv_prog_cc_g" >&6; }
3769if test "$ac_test_CFLAGS" = set; then
3770  CFLAGS=$ac_save_CFLAGS
3771elif test $ac_cv_prog_cc_g = yes; then
3772  if test "$GCC" = yes; then
3773    CFLAGS="-g -O2"
3774  else
3775    CFLAGS="-g"
3776  fi
3777else
3778  if test "$GCC" = yes; then
3779    CFLAGS="-O2"
3780  else
3781    CFLAGS=
3782  fi
3783fi
3784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3785$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3786if ${ac_cv_prog_cc_c89+:} false; then :
3787  $as_echo_n "(cached) " >&6
3788else
3789  ac_cv_prog_cc_c89=no
3790ac_save_CC=$CC
3791cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792/* end confdefs.h.  */
3793#include <stdarg.h>
3794#include <stdio.h>
3795#include <sys/types.h>
3796#include <sys/stat.h>
3797/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3798struct buf { int x; };
3799FILE * (*rcsopen) (struct buf *, struct stat *, int);
3800static char *e (p, i)
3801     char **p;
3802     int i;
3803{
3804  return p[i];
3805}
3806static char *f (char * (*g) (char **, int), char **p, ...)
3807{
3808  char *s;
3809  va_list v;
3810  va_start (v,p);
3811  s = g (p, va_arg (v,int));
3812  va_end (v);
3813  return s;
3814}
3815
3816/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3817   function prototypes and stuff, but not '\xHH' hex character constants.
3818   These don't provoke an error unfortunately, instead are silently treated
3819   as 'x'.  The following induces an error, until -std is added to get
3820   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3821   array size at least.  It's necessary to write '\x00'==0 to get something
3822   that's true only with -std.  */
3823int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3824
3825/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3826   inside strings and character constants.  */
3827#define FOO(x) 'x'
3828int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3829
3830int test (int i, double x);
3831struct s1 {int (*f) (int a);};
3832struct s2 {int (*f) (double a);};
3833int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3834int argc;
3835char **argv;
3836int
3837main ()
3838{
3839return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3840  ;
3841  return 0;
3842}
3843_ACEOF
3844for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3845	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3846do
3847  CC="$ac_save_CC $ac_arg"
3848  if ac_fn_c_try_compile "$LINENO"; then :
3849  ac_cv_prog_cc_c89=$ac_arg
3850fi
3851rm -f core conftest.err conftest.$ac_objext
3852  test "x$ac_cv_prog_cc_c89" != "xno" && break
3853done
3854rm -f conftest.$ac_ext
3855CC=$ac_save_CC
3856
3857fi
3858# AC_CACHE_VAL
3859case "x$ac_cv_prog_cc_c89" in
3860  x)
3861    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3862$as_echo "none needed" >&6; } ;;
3863  xno)
3864    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3865$as_echo "unsupported" >&6; } ;;
3866  *)
3867    CC="$CC $ac_cv_prog_cc_c89"
3868    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3869$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3870esac
3871if test "x$ac_cv_prog_cc_c89" != xno; then :
3872
3873fi
3874
3875ac_ext=c
3876ac_cpp='$CPP $CPPFLAGS'
3877ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3878ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3879ac_compiler_gnu=$ac_cv_c_compiler_gnu
3880
3881ac_ext=c
3882ac_cpp='$CPP $CPPFLAGS'
3883ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3884ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3885ac_compiler_gnu=$ac_cv_c_compiler_gnu
3886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3887$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3888if ${am_cv_prog_cc_c_o+:} false; then :
3889  $as_echo_n "(cached) " >&6
3890else
3891  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892/* end confdefs.h.  */
3893
3894int
3895main ()
3896{
3897
3898  ;
3899  return 0;
3900}
3901_ACEOF
3902  # Make sure it works both with $CC and with simple cc.
3903  # Following AC_PROG_CC_C_O, we do the test twice because some
3904  # compilers refuse to overwrite an existing .o file with -o,
3905  # though they will create one.
3906  am_cv_prog_cc_c_o=yes
3907  for am_i in 1 2; do
3908    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3909   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3910   ac_status=$?
3911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912   (exit $ac_status); } \
3913         && test -f conftest2.$ac_objext; then
3914      : OK
3915    else
3916      am_cv_prog_cc_c_o=no
3917      break
3918    fi
3919  done
3920  rm -f core conftest*
3921  unset am_i
3922fi
3923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3924$as_echo "$am_cv_prog_cc_c_o" >&6; }
3925if test "$am_cv_prog_cc_c_o" != yes; then
3926   # Losing compiler, so override with the script.
3927   # FIXME: It is wrong to rewrite CC.
3928   # But if we don't then we get into trouble of one sort or another.
3929   # A longer-term fix would be to have automake use am__CC in this case,
3930   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3931   CC="$am_aux_dir/compile $CC"
3932fi
3933ac_ext=c
3934ac_cpp='$CPP $CPPFLAGS'
3935ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3936ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3937ac_compiler_gnu=$ac_cv_c_compiler_gnu
3938
3939
3940depcc="$CC"   am_compiler_list=
3941
3942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3943$as_echo_n "checking dependency style of $depcc... " >&6; }
3944if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3945  $as_echo_n "(cached) " >&6
3946else
3947  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3948  # We make a subdir and do the tests there.  Otherwise we can end up
3949  # making bogus files that we don't know about and never remove.  For
3950  # instance it was reported that on HP-UX the gcc test will end up
3951  # making a dummy file named 'D' -- because '-MD' means "put the output
3952  # in D".
3953  rm -rf conftest.dir
3954  mkdir conftest.dir
3955  # Copy depcomp to subdir because otherwise we won't find it if we're
3956  # using a relative directory.
3957  cp "$am_depcomp" conftest.dir
3958  cd conftest.dir
3959  # We will build objects and dependencies in a subdirectory because
3960  # it helps to detect inapplicable dependency modes.  For instance
3961  # both Tru64's cc and ICC support -MD to output dependencies as a
3962  # side effect of compilation, but ICC will put the dependencies in
3963  # the current directory while Tru64 will put them in the object
3964  # directory.
3965  mkdir sub
3966
3967  am_cv_CC_dependencies_compiler_type=none
3968  if test "$am_compiler_list" = ""; then
3969     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3970  fi
3971  am__universal=false
3972  case " $depcc " in #(
3973     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3974     esac
3975
3976  for depmode in $am_compiler_list; do
3977    # Setup a source with many dependencies, because some compilers
3978    # like to wrap large dependency lists on column 80 (with \), and
3979    # we should not choose a depcomp mode which is confused by this.
3980    #
3981    # We need to recreate these files for each test, as the compiler may
3982    # overwrite some of them when testing with obscure command lines.
3983    # This happens at least with the AIX C compiler.
3984    : > sub/conftest.c
3985    for i in 1 2 3 4 5 6; do
3986      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3987      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3988      # Solaris 10 /bin/sh.
3989      echo '/* dummy */' > sub/conftst$i.h
3990    done
3991    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3992
3993    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3994    # mode.  It turns out that the SunPro C++ compiler does not properly
3995    # handle '-M -o', and we need to detect this.  Also, some Intel
3996    # versions had trouble with output in subdirs.
3997    am__obj=sub/conftest.${OBJEXT-o}
3998    am__minus_obj="-o $am__obj"
3999    case $depmode in
4000    gcc)
4001      # This depmode causes a compiler race in universal mode.
4002      test "$am__universal" = false || continue
4003      ;;
4004    nosideeffect)
4005      # After this tag, mechanisms are not by side-effect, so they'll
4006      # only be used when explicitly requested.
4007      if test "x$enable_dependency_tracking" = xyes; then
4008	continue
4009      else
4010	break
4011      fi
4012      ;;
4013    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4014      # This compiler won't grok '-c -o', but also, the minuso test has
4015      # not run yet.  These depmodes are late enough in the game, and
4016      # so weak that their functioning should not be impacted.
4017      am__obj=conftest.${OBJEXT-o}
4018      am__minus_obj=
4019      ;;
4020    none) break ;;
4021    esac
4022    if depmode=$depmode \
4023       source=sub/conftest.c object=$am__obj \
4024       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4025       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4026         >/dev/null 2>conftest.err &&
4027       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4028       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4029       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4030       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4031      # icc doesn't choke on unknown options, it will just issue warnings
4032      # or remarks (even with -Werror).  So we grep stderr for any message
4033      # that says an option was ignored or not supported.
4034      # When given -MP, icc 7.0 and 7.1 complain thusly:
4035      #   icc: Command line warning: ignoring option '-M'; no argument required
4036      # The diagnosis changed in icc 8.0:
4037      #   icc: Command line remark: option '-MP' not supported
4038      if (grep 'ignoring option' conftest.err ||
4039          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4040        am_cv_CC_dependencies_compiler_type=$depmode
4041        break
4042      fi
4043    fi
4044  done
4045
4046  cd ..
4047  rm -rf conftest.dir
4048else
4049  am_cv_CC_dependencies_compiler_type=none
4050fi
4051
4052fi
4053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4054$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4055CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4056
4057 if
4058  test "x$enable_dependency_tracking" != xno \
4059  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4060  am__fastdepCC_TRUE=
4061  am__fastdepCC_FALSE='#'
4062else
4063  am__fastdepCC_TRUE='#'
4064  am__fastdepCC_FALSE=
4065fi
4066
4067
4068
4069ac_ext=c
4070ac_cpp='$CPP $CPPFLAGS'
4071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4073ac_compiler_gnu=$ac_cv_c_compiler_gnu
4074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4075$as_echo_n "checking how to run the C preprocessor... " >&6; }
4076# On Suns, sometimes $CPP names a directory.
4077if test -n "$CPP" && test -d "$CPP"; then
4078  CPP=
4079fi
4080if test -z "$CPP"; then
4081  if ${ac_cv_prog_CPP+:} false; then :
4082  $as_echo_n "(cached) " >&6
4083else
4084      # Double quotes because CPP needs to be expanded
4085    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4086    do
4087      ac_preproc_ok=false
4088for ac_c_preproc_warn_flag in '' yes
4089do
4090  # Use a header file that comes with gcc, so configuring glibc
4091  # with a fresh cross-compiler works.
4092  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4093  # <limits.h> exists even on freestanding compilers.
4094  # On the NeXT, cc -E runs the code through the compiler's parser,
4095  # not just through cpp. "Syntax error" is here to catch this case.
4096  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097/* end confdefs.h.  */
4098#ifdef __STDC__
4099# include <limits.h>
4100#else
4101# include <assert.h>
4102#endif
4103		     Syntax error
4104_ACEOF
4105if ac_fn_c_try_cpp "$LINENO"; then :
4106
4107else
4108  # Broken: fails on valid input.
4109continue
4110fi
4111rm -f conftest.err conftest.i conftest.$ac_ext
4112
4113  # OK, works on sane cases.  Now check whether nonexistent headers
4114  # can be detected and how.
4115  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4116/* end confdefs.h.  */
4117#include <ac_nonexistent.h>
4118_ACEOF
4119if ac_fn_c_try_cpp "$LINENO"; then :
4120  # Broken: success on invalid input.
4121continue
4122else
4123  # Passes both tests.
4124ac_preproc_ok=:
4125break
4126fi
4127rm -f conftest.err conftest.i conftest.$ac_ext
4128
4129done
4130# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4131rm -f conftest.i conftest.err conftest.$ac_ext
4132if $ac_preproc_ok; then :
4133  break
4134fi
4135
4136    done
4137    ac_cv_prog_CPP=$CPP
4138
4139fi
4140  CPP=$ac_cv_prog_CPP
4141else
4142  ac_cv_prog_CPP=$CPP
4143fi
4144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4145$as_echo "$CPP" >&6; }
4146ac_preproc_ok=false
4147for ac_c_preproc_warn_flag in '' yes
4148do
4149  # Use a header file that comes with gcc, so configuring glibc
4150  # with a fresh cross-compiler works.
4151  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4152  # <limits.h> exists even on freestanding compilers.
4153  # On the NeXT, cc -E runs the code through the compiler's parser,
4154  # not just through cpp. "Syntax error" is here to catch this case.
4155  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4156/* end confdefs.h.  */
4157#ifdef __STDC__
4158# include <limits.h>
4159#else
4160# include <assert.h>
4161#endif
4162		     Syntax error
4163_ACEOF
4164if ac_fn_c_try_cpp "$LINENO"; then :
4165
4166else
4167  # Broken: fails on valid input.
4168continue
4169fi
4170rm -f conftest.err conftest.i conftest.$ac_ext
4171
4172  # OK, works on sane cases.  Now check whether nonexistent headers
4173  # can be detected and how.
4174  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175/* end confdefs.h.  */
4176#include <ac_nonexistent.h>
4177_ACEOF
4178if ac_fn_c_try_cpp "$LINENO"; then :
4179  # Broken: success on invalid input.
4180continue
4181else
4182  # Passes both tests.
4183ac_preproc_ok=:
4184break
4185fi
4186rm -f conftest.err conftest.i conftest.$ac_ext
4187
4188done
4189# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4190rm -f conftest.i conftest.err conftest.$ac_ext
4191if $ac_preproc_ok; then :
4192
4193else
4194  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4195$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4196as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4197See \`config.log' for more details" "$LINENO" 5; }
4198fi
4199
4200ac_ext=c
4201ac_cpp='$CPP $CPPFLAGS'
4202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4204ac_compiler_gnu=$ac_cv_c_compiler_gnu
4205
4206
4207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4208$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4209if ${ac_cv_path_GREP+:} false; then :
4210  $as_echo_n "(cached) " >&6
4211else
4212  if test -z "$GREP"; then
4213  ac_path_GREP_found=false
4214  # Loop through the user's path and test for each of PROGNAME-LIST
4215  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4216for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4217do
4218  IFS=$as_save_IFS
4219  test -z "$as_dir" && as_dir=.
4220    for ac_prog in grep ggrep; do
4221    for ac_exec_ext in '' $ac_executable_extensions; do
4222      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4223      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4224# Check for GNU ac_path_GREP and select it if it is found.
4225  # Check for GNU $ac_path_GREP
4226case `"$ac_path_GREP" --version 2>&1` in
4227*GNU*)
4228  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4229*)
4230  ac_count=0
4231  $as_echo_n 0123456789 >"conftest.in"
4232  while :
4233  do
4234    cat "conftest.in" "conftest.in" >"conftest.tmp"
4235    mv "conftest.tmp" "conftest.in"
4236    cp "conftest.in" "conftest.nl"
4237    $as_echo 'GREP' >> "conftest.nl"
4238    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4239    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4240    as_fn_arith $ac_count + 1 && ac_count=$as_val
4241    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4242      # Best one so far, save it but keep looking for a better one
4243      ac_cv_path_GREP="$ac_path_GREP"
4244      ac_path_GREP_max=$ac_count
4245    fi
4246    # 10*(2^10) chars as input seems more than enough
4247    test $ac_count -gt 10 && break
4248  done
4249  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4250esac
4251
4252      $ac_path_GREP_found && break 3
4253    done
4254  done
4255  done
4256IFS=$as_save_IFS
4257  if test -z "$ac_cv_path_GREP"; then
4258    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4259  fi
4260else
4261  ac_cv_path_GREP=$GREP
4262fi
4263
4264fi
4265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4266$as_echo "$ac_cv_path_GREP" >&6; }
4267 GREP="$ac_cv_path_GREP"
4268
4269
4270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4271$as_echo_n "checking for egrep... " >&6; }
4272if ${ac_cv_path_EGREP+:} false; then :
4273  $as_echo_n "(cached) " >&6
4274else
4275  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4276   then ac_cv_path_EGREP="$GREP -E"
4277   else
4278     if test -z "$EGREP"; then
4279  ac_path_EGREP_found=false
4280  # Loop through the user's path and test for each of PROGNAME-LIST
4281  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4283do
4284  IFS=$as_save_IFS
4285  test -z "$as_dir" && as_dir=.
4286    for ac_prog in egrep; do
4287    for ac_exec_ext in '' $ac_executable_extensions; do
4288      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4289      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4290# Check for GNU ac_path_EGREP and select it if it is found.
4291  # Check for GNU $ac_path_EGREP
4292case `"$ac_path_EGREP" --version 2>&1` in
4293*GNU*)
4294  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4295*)
4296  ac_count=0
4297  $as_echo_n 0123456789 >"conftest.in"
4298  while :
4299  do
4300    cat "conftest.in" "conftest.in" >"conftest.tmp"
4301    mv "conftest.tmp" "conftest.in"
4302    cp "conftest.in" "conftest.nl"
4303    $as_echo 'EGREP' >> "conftest.nl"
4304    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4305    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4306    as_fn_arith $ac_count + 1 && ac_count=$as_val
4307    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4308      # Best one so far, save it but keep looking for a better one
4309      ac_cv_path_EGREP="$ac_path_EGREP"
4310      ac_path_EGREP_max=$ac_count
4311    fi
4312    # 10*(2^10) chars as input seems more than enough
4313    test $ac_count -gt 10 && break
4314  done
4315  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4316esac
4317
4318      $ac_path_EGREP_found && break 3
4319    done
4320  done
4321  done
4322IFS=$as_save_IFS
4323  if test -z "$ac_cv_path_EGREP"; then
4324    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4325  fi
4326else
4327  ac_cv_path_EGREP=$EGREP
4328fi
4329
4330   fi
4331fi
4332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4333$as_echo "$ac_cv_path_EGREP" >&6; }
4334 EGREP="$ac_cv_path_EGREP"
4335
4336
4337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4338$as_echo_n "checking for ANSI C header files... " >&6; }
4339if ${ac_cv_header_stdc+:} false; then :
4340  $as_echo_n "(cached) " >&6
4341else
4342  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343/* end confdefs.h.  */
4344#include <stdlib.h>
4345#include <stdarg.h>
4346#include <string.h>
4347#include <float.h>
4348
4349int
4350main ()
4351{
4352
4353  ;
4354  return 0;
4355}
4356_ACEOF
4357if ac_fn_c_try_compile "$LINENO"; then :
4358  ac_cv_header_stdc=yes
4359else
4360  ac_cv_header_stdc=no
4361fi
4362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4363
4364if test $ac_cv_header_stdc = yes; then
4365  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4366  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367/* end confdefs.h.  */
4368#include <string.h>
4369
4370_ACEOF
4371if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4372  $EGREP "memchr" >/dev/null 2>&1; then :
4373
4374else
4375  ac_cv_header_stdc=no
4376fi
4377rm -f conftest*
4378
4379fi
4380
4381if test $ac_cv_header_stdc = yes; then
4382  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4383  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4384/* end confdefs.h.  */
4385#include <stdlib.h>
4386
4387_ACEOF
4388if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4389  $EGREP "free" >/dev/null 2>&1; then :
4390
4391else
4392  ac_cv_header_stdc=no
4393fi
4394rm -f conftest*
4395
4396fi
4397
4398if test $ac_cv_header_stdc = yes; then
4399  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4400  if test "$cross_compiling" = yes; then :
4401  :
4402else
4403  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404/* end confdefs.h.  */
4405#include <ctype.h>
4406#include <stdlib.h>
4407#if ((' ' & 0x0FF) == 0x020)
4408# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4409# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4410#else
4411# define ISLOWER(c) \
4412		   (('a' <= (c) && (c) <= 'i') \
4413		     || ('j' <= (c) && (c) <= 'r') \
4414		     || ('s' <= (c) && (c) <= 'z'))
4415# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4416#endif
4417
4418#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4419int
4420main ()
4421{
4422  int i;
4423  for (i = 0; i < 256; i++)
4424    if (XOR (islower (i), ISLOWER (i))
4425	|| toupper (i) != TOUPPER (i))
4426      return 2;
4427  return 0;
4428}
4429_ACEOF
4430if ac_fn_c_try_run "$LINENO"; then :
4431
4432else
4433  ac_cv_header_stdc=no
4434fi
4435rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4436  conftest.$ac_objext conftest.beam conftest.$ac_ext
4437fi
4438
4439fi
4440fi
4441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4442$as_echo "$ac_cv_header_stdc" >&6; }
4443if test $ac_cv_header_stdc = yes; then
4444
4445$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4446
4447fi
4448
4449# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4450for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4451		  inttypes.h stdint.h unistd.h
4452do :
4453  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4454ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4455"
4456if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4457  cat >>confdefs.h <<_ACEOF
4458#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4459_ACEOF
4460
4461fi
4462
4463done
4464
4465
4466
4467  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4468if test "x$ac_cv_header_minix_config_h" = xyes; then :
4469  MINIX=yes
4470else
4471  MINIX=
4472fi
4473
4474
4475  if test "$MINIX" = yes; then
4476
4477$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4478
4479
4480$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4481
4482
4483$as_echo "#define _MINIX 1" >>confdefs.h
4484
4485  fi
4486
4487
4488  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4489$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4490if ${ac_cv_safe_to_define___extensions__+:} false; then :
4491  $as_echo_n "(cached) " >&6
4492else
4493  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494/* end confdefs.h.  */
4495
4496#	  define __EXTENSIONS__ 1
4497	  $ac_includes_default
4498int
4499main ()
4500{
4501
4502  ;
4503  return 0;
4504}
4505_ACEOF
4506if ac_fn_c_try_compile "$LINENO"; then :
4507  ac_cv_safe_to_define___extensions__=yes
4508else
4509  ac_cv_safe_to_define___extensions__=no
4510fi
4511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4512fi
4513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4514$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4515  test $ac_cv_safe_to_define___extensions__ = yes &&
4516    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4517
4518  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4519
4520  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4521
4522  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4523
4524  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4525
4526
4527
4528# Initialize libtool
4529case `pwd` in
4530  *\ * | *\	*)
4531    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4532$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4533esac
4534
4535
4536
4537macro_version='2.4.2'
4538macro_revision='1.3337'
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552ltmain="$ac_aux_dir/ltmain.sh"
4553
4554# Make sure we can run config.sub.
4555$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4556  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4557
4558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4559$as_echo_n "checking build system type... " >&6; }
4560if ${ac_cv_build+:} false; then :
4561  $as_echo_n "(cached) " >&6
4562else
4563  ac_build_alias=$build_alias
4564test "x$ac_build_alias" = x &&
4565  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4566test "x$ac_build_alias" = x &&
4567  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4568ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4569  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4570
4571fi
4572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4573$as_echo "$ac_cv_build" >&6; }
4574case $ac_cv_build in
4575*-*-*) ;;
4576*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4577esac
4578build=$ac_cv_build
4579ac_save_IFS=$IFS; IFS='-'
4580set x $ac_cv_build
4581shift
4582build_cpu=$1
4583build_vendor=$2
4584shift; shift
4585# Remember, the first character of IFS is used to create $*,
4586# except with old shells:
4587build_os=$*
4588IFS=$ac_save_IFS
4589case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4590
4591
4592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4593$as_echo_n "checking host system type... " >&6; }
4594if ${ac_cv_host+:} false; then :
4595  $as_echo_n "(cached) " >&6
4596else
4597  if test "x$host_alias" = x; then
4598  ac_cv_host=$ac_cv_build
4599else
4600  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4601    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4602fi
4603
4604fi
4605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4606$as_echo "$ac_cv_host" >&6; }
4607case $ac_cv_host in
4608*-*-*) ;;
4609*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4610esac
4611host=$ac_cv_host
4612ac_save_IFS=$IFS; IFS='-'
4613set x $ac_cv_host
4614shift
4615host_cpu=$1
4616host_vendor=$2
4617shift; shift
4618# Remember, the first character of IFS is used to create $*,
4619# except with old shells:
4620host_os=$*
4621IFS=$ac_save_IFS
4622case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4623
4624
4625# Backslashify metacharacters that are still active within
4626# double-quoted strings.
4627sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4628
4629# Same as above, but do not quote variable references.
4630double_quote_subst='s/\(["`\\]\)/\\\1/g'
4631
4632# Sed substitution to delay expansion of an escaped shell variable in a
4633# double_quote_subst'ed string.
4634delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4635
4636# Sed substitution to delay expansion of an escaped single quote.
4637delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4638
4639# Sed substitution to avoid accidental globbing in evaled expressions
4640no_glob_subst='s/\*/\\\*/g'
4641
4642ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4643ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4644ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4645
4646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4647$as_echo_n "checking how to print strings... " >&6; }
4648# Test print first, because it will be a builtin if present.
4649if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4650   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4651  ECHO='print -r --'
4652elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4653  ECHO='printf %s\n'
4654else
4655  # Use this function as a fallback that always works.
4656  func_fallback_echo ()
4657  {
4658    eval 'cat <<_LTECHO_EOF
4659$1
4660_LTECHO_EOF'
4661  }
4662  ECHO='func_fallback_echo'
4663fi
4664
4665# func_echo_all arg...
4666# Invoke $ECHO with all args, space-separated.
4667func_echo_all ()
4668{
4669    $ECHO ""
4670}
4671
4672case "$ECHO" in
4673  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4674$as_echo "printf" >&6; } ;;
4675  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4676$as_echo "print -r" >&6; } ;;
4677  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4678$as_echo "cat" >&6; } ;;
4679esac
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4695$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4696if ${ac_cv_path_SED+:} false; then :
4697  $as_echo_n "(cached) " >&6
4698else
4699            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4700     for ac_i in 1 2 3 4 5 6 7; do
4701       ac_script="$ac_script$as_nl$ac_script"
4702     done
4703     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4704     { ac_script=; unset ac_script;}
4705     if test -z "$SED"; then
4706  ac_path_SED_found=false
4707  # Loop through the user's path and test for each of PROGNAME-LIST
4708  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709for as_dir in $PATH
4710do
4711  IFS=$as_save_IFS
4712  test -z "$as_dir" && as_dir=.
4713    for ac_prog in sed gsed; do
4714    for ac_exec_ext in '' $ac_executable_extensions; do
4715      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4716      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4717# Check for GNU ac_path_SED and select it if it is found.
4718  # Check for GNU $ac_path_SED
4719case `"$ac_path_SED" --version 2>&1` in
4720*GNU*)
4721  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4722*)
4723  ac_count=0
4724  $as_echo_n 0123456789 >"conftest.in"
4725  while :
4726  do
4727    cat "conftest.in" "conftest.in" >"conftest.tmp"
4728    mv "conftest.tmp" "conftest.in"
4729    cp "conftest.in" "conftest.nl"
4730    $as_echo '' >> "conftest.nl"
4731    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4732    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4733    as_fn_arith $ac_count + 1 && ac_count=$as_val
4734    if test $ac_count -gt ${ac_path_SED_max-0}; then
4735      # Best one so far, save it but keep looking for a better one
4736      ac_cv_path_SED="$ac_path_SED"
4737      ac_path_SED_max=$ac_count
4738    fi
4739    # 10*(2^10) chars as input seems more than enough
4740    test $ac_count -gt 10 && break
4741  done
4742  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4743esac
4744
4745      $ac_path_SED_found && break 3
4746    done
4747  done
4748  done
4749IFS=$as_save_IFS
4750  if test -z "$ac_cv_path_SED"; then
4751    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4752  fi
4753else
4754  ac_cv_path_SED=$SED
4755fi
4756
4757fi
4758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4759$as_echo "$ac_cv_path_SED" >&6; }
4760 SED="$ac_cv_path_SED"
4761  rm -f conftest.sed
4762
4763test -z "$SED" && SED=sed
4764Xsed="$SED -e 1s/^X//"
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4777$as_echo_n "checking for fgrep... " >&6; }
4778if ${ac_cv_path_FGREP+:} false; then :
4779  $as_echo_n "(cached) " >&6
4780else
4781  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4782   then ac_cv_path_FGREP="$GREP -F"
4783   else
4784     if test -z "$FGREP"; then
4785  ac_path_FGREP_found=false
4786  # Loop through the user's path and test for each of PROGNAME-LIST
4787  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4789do
4790  IFS=$as_save_IFS
4791  test -z "$as_dir" && as_dir=.
4792    for ac_prog in fgrep; do
4793    for ac_exec_ext in '' $ac_executable_extensions; do
4794      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4795      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4796# Check for GNU ac_path_FGREP and select it if it is found.
4797  # Check for GNU $ac_path_FGREP
4798case `"$ac_path_FGREP" --version 2>&1` in
4799*GNU*)
4800  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4801*)
4802  ac_count=0
4803  $as_echo_n 0123456789 >"conftest.in"
4804  while :
4805  do
4806    cat "conftest.in" "conftest.in" >"conftest.tmp"
4807    mv "conftest.tmp" "conftest.in"
4808    cp "conftest.in" "conftest.nl"
4809    $as_echo 'FGREP' >> "conftest.nl"
4810    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4811    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4812    as_fn_arith $ac_count + 1 && ac_count=$as_val
4813    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4814      # Best one so far, save it but keep looking for a better one
4815      ac_cv_path_FGREP="$ac_path_FGREP"
4816      ac_path_FGREP_max=$ac_count
4817    fi
4818    # 10*(2^10) chars as input seems more than enough
4819    test $ac_count -gt 10 && break
4820  done
4821  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4822esac
4823
4824      $ac_path_FGREP_found && break 3
4825    done
4826  done
4827  done
4828IFS=$as_save_IFS
4829  if test -z "$ac_cv_path_FGREP"; then
4830    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4831  fi
4832else
4833  ac_cv_path_FGREP=$FGREP
4834fi
4835
4836   fi
4837fi
4838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4839$as_echo "$ac_cv_path_FGREP" >&6; }
4840 FGREP="$ac_cv_path_FGREP"
4841
4842
4843test -z "$GREP" && GREP=grep
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863# Check whether --with-gnu-ld was given.
4864if test "${with_gnu_ld+set}" = set; then :
4865  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4866else
4867  with_gnu_ld=no
4868fi
4869
4870ac_prog=ld
4871if test "$GCC" = yes; then
4872  # Check if gcc -print-prog-name=ld gives a path.
4873  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4874$as_echo_n "checking for ld used by $CC... " >&6; }
4875  case $host in
4876  *-*-mingw*)
4877    # gcc leaves a trailing carriage return which upsets mingw
4878    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4879  *)
4880    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4881  esac
4882  case $ac_prog in
4883    # Accept absolute paths.
4884    [\\/]* | ?:[\\/]*)
4885      re_direlt='/[^/][^/]*/\.\./'
4886      # Canonicalize the pathname of ld
4887      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4888      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4889	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4890      done
4891      test -z "$LD" && LD="$ac_prog"
4892      ;;
4893  "")
4894    # If it fails, then pretend we aren't using GCC.
4895    ac_prog=ld
4896    ;;
4897  *)
4898    # If it is relative, then search for the first ld in PATH.
4899    with_gnu_ld=unknown
4900    ;;
4901  esac
4902elif test "$with_gnu_ld" = yes; then
4903  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4904$as_echo_n "checking for GNU ld... " >&6; }
4905else
4906  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4907$as_echo_n "checking for non-GNU ld... " >&6; }
4908fi
4909if ${lt_cv_path_LD+:} false; then :
4910  $as_echo_n "(cached) " >&6
4911else
4912  if test -z "$LD"; then
4913  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4914  for ac_dir in $PATH; do
4915    IFS="$lt_save_ifs"
4916    test -z "$ac_dir" && ac_dir=.
4917    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4918      lt_cv_path_LD="$ac_dir/$ac_prog"
4919      # Check to see if the program is GNU ld.  I'd rather use --version,
4920      # but apparently some variants of GNU ld only accept -v.
4921      # Break only if it was the GNU/non-GNU ld that we prefer.
4922      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4923      *GNU* | *'with BFD'*)
4924	test "$with_gnu_ld" != no && break
4925	;;
4926      *)
4927	test "$with_gnu_ld" != yes && break
4928	;;
4929      esac
4930    fi
4931  done
4932  IFS="$lt_save_ifs"
4933else
4934  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4935fi
4936fi
4937
4938LD="$lt_cv_path_LD"
4939if test -n "$LD"; then
4940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4941$as_echo "$LD" >&6; }
4942else
4943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944$as_echo "no" >&6; }
4945fi
4946test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4948$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4949if ${lt_cv_prog_gnu_ld+:} false; then :
4950  $as_echo_n "(cached) " >&6
4951else
4952  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4953case `$LD -v 2>&1 </dev/null` in
4954*GNU* | *'with BFD'*)
4955  lt_cv_prog_gnu_ld=yes
4956  ;;
4957*)
4958  lt_cv_prog_gnu_ld=no
4959  ;;
4960esac
4961fi
4962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4963$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4964with_gnu_ld=$lt_cv_prog_gnu_ld
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4975$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4976if ${lt_cv_path_NM+:} false; then :
4977  $as_echo_n "(cached) " >&6
4978else
4979  if test -n "$NM"; then
4980  # Let the user override the test.
4981  lt_cv_path_NM="$NM"
4982else
4983  lt_nm_to_check="${ac_tool_prefix}nm"
4984  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4985    lt_nm_to_check="$lt_nm_to_check nm"
4986  fi
4987  for lt_tmp_nm in $lt_nm_to_check; do
4988    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4989    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4990      IFS="$lt_save_ifs"
4991      test -z "$ac_dir" && ac_dir=.
4992      tmp_nm="$ac_dir/$lt_tmp_nm"
4993      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4994	# Check to see if the nm accepts a BSD-compat flag.
4995	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4996	#   nm: unknown option "B" ignored
4997	# Tru64's nm complains that /dev/null is an invalid object file
4998	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4999	*/dev/null* | *'Invalid file or object type'*)
5000	  lt_cv_path_NM="$tmp_nm -B"
5001	  break
5002	  ;;
5003	*)
5004	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5005	  */dev/null*)
5006	    lt_cv_path_NM="$tmp_nm -p"
5007	    break
5008	    ;;
5009	  *)
5010	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5011	    continue # so that we can try to find one that supports BSD flags
5012	    ;;
5013	  esac
5014	  ;;
5015	esac
5016      fi
5017    done
5018    IFS="$lt_save_ifs"
5019  done
5020  : ${lt_cv_path_NM=no}
5021fi
5022fi
5023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5024$as_echo "$lt_cv_path_NM" >&6; }
5025if test "$lt_cv_path_NM" != "no"; then
5026  NM="$lt_cv_path_NM"
5027else
5028  # Didn't find any BSD compatible name lister, look for dumpbin.
5029  if test -n "$DUMPBIN"; then :
5030    # Let the user override the test.
5031  else
5032    if test -n "$ac_tool_prefix"; then
5033  for ac_prog in dumpbin "link -dump"
5034  do
5035    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5036set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038$as_echo_n "checking for $ac_word... " >&6; }
5039if ${ac_cv_prog_DUMPBIN+:} false; then :
5040  $as_echo_n "(cached) " >&6
5041else
5042  if test -n "$DUMPBIN"; then
5043  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5044else
5045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046for as_dir in $PATH
5047do
5048  IFS=$as_save_IFS
5049  test -z "$as_dir" && as_dir=.
5050    for ac_exec_ext in '' $ac_executable_extensions; do
5051  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5053    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054    break 2
5055  fi
5056done
5057  done
5058IFS=$as_save_IFS
5059
5060fi
5061fi
5062DUMPBIN=$ac_cv_prog_DUMPBIN
5063if test -n "$DUMPBIN"; then
5064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5065$as_echo "$DUMPBIN" >&6; }
5066else
5067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068$as_echo "no" >&6; }
5069fi
5070
5071
5072    test -n "$DUMPBIN" && break
5073  done
5074fi
5075if test -z "$DUMPBIN"; then
5076  ac_ct_DUMPBIN=$DUMPBIN
5077  for ac_prog in dumpbin "link -dump"
5078do
5079  # Extract the first word of "$ac_prog", so it can be a program name with args.
5080set dummy $ac_prog; ac_word=$2
5081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082$as_echo_n "checking for $ac_word... " >&6; }
5083if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5084  $as_echo_n "(cached) " >&6
5085else
5086  if test -n "$ac_ct_DUMPBIN"; then
5087  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5088else
5089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090for as_dir in $PATH
5091do
5092  IFS=$as_save_IFS
5093  test -z "$as_dir" && as_dir=.
5094    for ac_exec_ext in '' $ac_executable_extensions; do
5095  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5096    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5097    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098    break 2
5099  fi
5100done
5101  done
5102IFS=$as_save_IFS
5103
5104fi
5105fi
5106ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5107if test -n "$ac_ct_DUMPBIN"; then
5108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5109$as_echo "$ac_ct_DUMPBIN" >&6; }
5110else
5111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112$as_echo "no" >&6; }
5113fi
5114
5115
5116  test -n "$ac_ct_DUMPBIN" && break
5117done
5118
5119  if test "x$ac_ct_DUMPBIN" = x; then
5120    DUMPBIN=":"
5121  else
5122    case $cross_compiling:$ac_tool_warned in
5123yes:)
5124{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5125$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5126ac_tool_warned=yes ;;
5127esac
5128    DUMPBIN=$ac_ct_DUMPBIN
5129  fi
5130fi
5131
5132    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5133    *COFF*)
5134      DUMPBIN="$DUMPBIN -symbols"
5135      ;;
5136    *)
5137      DUMPBIN=:
5138      ;;
5139    esac
5140  fi
5141
5142  if test "$DUMPBIN" != ":"; then
5143    NM="$DUMPBIN"
5144  fi
5145fi
5146test -z "$NM" && NM=nm
5147
5148
5149
5150
5151
5152
5153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5154$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5155if ${lt_cv_nm_interface+:} false; then :
5156  $as_echo_n "(cached) " >&6
5157else
5158  lt_cv_nm_interface="BSD nm"
5159  echo "int some_variable = 0;" > conftest.$ac_ext
5160  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5161  (eval "$ac_compile" 2>conftest.err)
5162  cat conftest.err >&5
5163  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5164  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5165  cat conftest.err >&5
5166  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5167  cat conftest.out >&5
5168  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5169    lt_cv_nm_interface="MS dumpbin"
5170  fi
5171  rm -f conftest*
5172fi
5173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5174$as_echo "$lt_cv_nm_interface" >&6; }
5175
5176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5177$as_echo_n "checking whether ln -s works... " >&6; }
5178LN_S=$as_ln_s
5179if test "$LN_S" = "ln -s"; then
5180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5181$as_echo "yes" >&6; }
5182else
5183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5184$as_echo "no, using $LN_S" >&6; }
5185fi
5186
5187# find the maximum length of command line arguments
5188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5189$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5190if ${lt_cv_sys_max_cmd_len+:} false; then :
5191  $as_echo_n "(cached) " >&6
5192else
5193    i=0
5194  teststring="ABCD"
5195
5196  case $build_os in
5197  msdosdjgpp*)
5198    # On DJGPP, this test can blow up pretty badly due to problems in libc
5199    # (any single argument exceeding 2000 bytes causes a buffer overrun
5200    # during glob expansion).  Even if it were fixed, the result of this
5201    # check would be larger than it should be.
5202    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5203    ;;
5204
5205  gnu*)
5206    # Under GNU Hurd, this test is not required because there is
5207    # no limit to the length of command line arguments.
5208    # Libtool will interpret -1 as no limit whatsoever
5209    lt_cv_sys_max_cmd_len=-1;
5210    ;;
5211
5212  cygwin* | mingw* | cegcc*)
5213    # On Win9x/ME, this test blows up -- it succeeds, but takes
5214    # about 5 minutes as the teststring grows exponentially.
5215    # Worse, since 9x/ME are not pre-emptively multitasking,
5216    # you end up with a "frozen" computer, even though with patience
5217    # the test eventually succeeds (with a max line length of 256k).
5218    # Instead, let's just punt: use the minimum linelength reported by
5219    # all of the supported platforms: 8192 (on NT/2K/XP).
5220    lt_cv_sys_max_cmd_len=8192;
5221    ;;
5222
5223  mint*)
5224    # On MiNT this can take a long time and run out of memory.
5225    lt_cv_sys_max_cmd_len=8192;
5226    ;;
5227
5228  amigaos*)
5229    # On AmigaOS with pdksh, this test takes hours, literally.
5230    # So we just punt and use a minimum line length of 8192.
5231    lt_cv_sys_max_cmd_len=8192;
5232    ;;
5233
5234  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5235    # This has been around since 386BSD, at least.  Likely further.
5236    if test -x /sbin/sysctl; then
5237      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5238    elif test -x /usr/sbin/sysctl; then
5239      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5240    else
5241      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5242    fi
5243    # And add a safety zone
5244    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5245    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5246    ;;
5247
5248  interix*)
5249    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5250    lt_cv_sys_max_cmd_len=196608
5251    ;;
5252
5253  os2*)
5254    # The test takes a long time on OS/2.
5255    lt_cv_sys_max_cmd_len=8192
5256    ;;
5257
5258  osf*)
5259    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5260    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5261    # nice to cause kernel panics so lets avoid the loop below.
5262    # First set a reasonable default.
5263    lt_cv_sys_max_cmd_len=16384
5264    #
5265    if test -x /sbin/sysconfig; then
5266      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5267        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5268      esac
5269    fi
5270    ;;
5271  sco3.2v5*)
5272    lt_cv_sys_max_cmd_len=102400
5273    ;;
5274  sysv5* | sco5v6* | sysv4.2uw2*)
5275    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5276    if test -n "$kargmax"; then
5277      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5278    else
5279      lt_cv_sys_max_cmd_len=32768
5280    fi
5281    ;;
5282  *)
5283    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5284    if test -n "$lt_cv_sys_max_cmd_len"; then
5285      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5286      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5287    else
5288      # Make teststring a little bigger before we do anything with it.
5289      # a 1K string should be a reasonable start.
5290      for i in 1 2 3 4 5 6 7 8 ; do
5291        teststring=$teststring$teststring
5292      done
5293      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5294      # If test is not a shell built-in, we'll probably end up computing a
5295      # maximum length that is only half of the actual maximum length, but
5296      # we can't tell.
5297      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5298	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5299	      test $i != 17 # 1/2 MB should be enough
5300      do
5301        i=`expr $i + 1`
5302        teststring=$teststring$teststring
5303      done
5304      # Only check the string length outside the loop.
5305      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5306      teststring=
5307      # Add a significant safety factor because C++ compilers can tack on
5308      # massive amounts of additional arguments before passing them to the
5309      # linker.  It appears as though 1/2 is a usable value.
5310      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5311    fi
5312    ;;
5313  esac
5314
5315fi
5316
5317if test -n $lt_cv_sys_max_cmd_len ; then
5318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5319$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5320else
5321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5322$as_echo "none" >&6; }
5323fi
5324max_cmd_len=$lt_cv_sys_max_cmd_len
5325
5326
5327
5328
5329
5330
5331: ${CP="cp -f"}
5332: ${MV="mv -f"}
5333: ${RM="rm -f"}
5334
5335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5336$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5337# Try some XSI features
5338xsi_shell=no
5339( _lt_dummy="a/b/c"
5340  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5341      = c,a/b,b/c, \
5342    && eval 'test $(( 1 + 1 )) -eq 2 \
5343    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5344  && xsi_shell=yes
5345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5346$as_echo "$xsi_shell" >&6; }
5347
5348
5349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5350$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5351lt_shell_append=no
5352( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5353    >/dev/null 2>&1 \
5354  && lt_shell_append=yes
5355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5356$as_echo "$lt_shell_append" >&6; }
5357
5358
5359if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5360  lt_unset=unset
5361else
5362  lt_unset=false
5363fi
5364
5365
5366
5367
5368
5369# test EBCDIC or ASCII
5370case `echo X|tr X '\101'` in
5371 A) # ASCII based system
5372    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5373  lt_SP2NL='tr \040 \012'
5374  lt_NL2SP='tr \015\012 \040\040'
5375  ;;
5376 *) # EBCDIC based system
5377  lt_SP2NL='tr \100 \n'
5378  lt_NL2SP='tr \r\n \100\100'
5379  ;;
5380esac
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5391$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5392if ${lt_cv_to_host_file_cmd+:} false; then :
5393  $as_echo_n "(cached) " >&6
5394else
5395  case $host in
5396  *-*-mingw* )
5397    case $build in
5398      *-*-mingw* ) # actually msys
5399        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5400        ;;
5401      *-*-cygwin* )
5402        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5403        ;;
5404      * ) # otherwise, assume *nix
5405        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5406        ;;
5407    esac
5408    ;;
5409  *-*-cygwin* )
5410    case $build in
5411      *-*-mingw* ) # actually msys
5412        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5413        ;;
5414      *-*-cygwin* )
5415        lt_cv_to_host_file_cmd=func_convert_file_noop
5416        ;;
5417      * ) # otherwise, assume *nix
5418        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5419        ;;
5420    esac
5421    ;;
5422  * ) # unhandled hosts (and "normal" native builds)
5423    lt_cv_to_host_file_cmd=func_convert_file_noop
5424    ;;
5425esac
5426
5427fi
5428
5429to_host_file_cmd=$lt_cv_to_host_file_cmd
5430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5431$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5432
5433
5434
5435
5436
5437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5438$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5439if ${lt_cv_to_tool_file_cmd+:} false; then :
5440  $as_echo_n "(cached) " >&6
5441else
5442  #assume ordinary cross tools, or native build.
5443lt_cv_to_tool_file_cmd=func_convert_file_noop
5444case $host in
5445  *-*-mingw* )
5446    case $build in
5447      *-*-mingw* ) # actually msys
5448        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5449        ;;
5450    esac
5451    ;;
5452esac
5453
5454fi
5455
5456to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5458$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5459
5460
5461
5462
5463
5464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5465$as_echo_n "checking for $LD option to reload object files... " >&6; }
5466if ${lt_cv_ld_reload_flag+:} false; then :
5467  $as_echo_n "(cached) " >&6
5468else
5469  lt_cv_ld_reload_flag='-r'
5470fi
5471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5472$as_echo "$lt_cv_ld_reload_flag" >&6; }
5473reload_flag=$lt_cv_ld_reload_flag
5474case $reload_flag in
5475"" | " "*) ;;
5476*) reload_flag=" $reload_flag" ;;
5477esac
5478reload_cmds='$LD$reload_flag -o $output$reload_objs'
5479case $host_os in
5480  cygwin* | mingw* | pw32* | cegcc*)
5481    if test "$GCC" != yes; then
5482      reload_cmds=false
5483    fi
5484    ;;
5485  darwin*)
5486    if test "$GCC" = yes; then
5487      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5488    else
5489      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5490    fi
5491    ;;
5492esac
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502if test -n "$ac_tool_prefix"; then
5503  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5504set dummy ${ac_tool_prefix}objdump; ac_word=$2
5505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506$as_echo_n "checking for $ac_word... " >&6; }
5507if ${ac_cv_prog_OBJDUMP+:} false; then :
5508  $as_echo_n "(cached) " >&6
5509else
5510  if test -n "$OBJDUMP"; then
5511  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5512else
5513as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514for as_dir in $PATH
5515do
5516  IFS=$as_save_IFS
5517  test -z "$as_dir" && as_dir=.
5518    for ac_exec_ext in '' $ac_executable_extensions; do
5519  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5520    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5521    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522    break 2
5523  fi
5524done
5525  done
5526IFS=$as_save_IFS
5527
5528fi
5529fi
5530OBJDUMP=$ac_cv_prog_OBJDUMP
5531if test -n "$OBJDUMP"; then
5532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5533$as_echo "$OBJDUMP" >&6; }
5534else
5535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536$as_echo "no" >&6; }
5537fi
5538
5539
5540fi
5541if test -z "$ac_cv_prog_OBJDUMP"; then
5542  ac_ct_OBJDUMP=$OBJDUMP
5543  # Extract the first word of "objdump", so it can be a program name with args.
5544set dummy objdump; ac_word=$2
5545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546$as_echo_n "checking for $ac_word... " >&6; }
5547if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5548  $as_echo_n "(cached) " >&6
5549else
5550  if test -n "$ac_ct_OBJDUMP"; then
5551  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5552else
5553as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554for as_dir in $PATH
5555do
5556  IFS=$as_save_IFS
5557  test -z "$as_dir" && as_dir=.
5558    for ac_exec_ext in '' $ac_executable_extensions; do
5559  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5560    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5561    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562    break 2
5563  fi
5564done
5565  done
5566IFS=$as_save_IFS
5567
5568fi
5569fi
5570ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5571if test -n "$ac_ct_OBJDUMP"; then
5572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5573$as_echo "$ac_ct_OBJDUMP" >&6; }
5574else
5575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576$as_echo "no" >&6; }
5577fi
5578
5579  if test "x$ac_ct_OBJDUMP" = x; then
5580    OBJDUMP="false"
5581  else
5582    case $cross_compiling:$ac_tool_warned in
5583yes:)
5584{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5585$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5586ac_tool_warned=yes ;;
5587esac
5588    OBJDUMP=$ac_ct_OBJDUMP
5589  fi
5590else
5591  OBJDUMP="$ac_cv_prog_OBJDUMP"
5592fi
5593
5594test -z "$OBJDUMP" && OBJDUMP=objdump
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5605$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5606if ${lt_cv_deplibs_check_method+:} false; then :
5607  $as_echo_n "(cached) " >&6
5608else
5609  lt_cv_file_magic_cmd='$MAGIC_CMD'
5610lt_cv_file_magic_test_file=
5611lt_cv_deplibs_check_method='unknown'
5612# Need to set the preceding variable on all platforms that support
5613# interlibrary dependencies.
5614# 'none' -- dependencies not supported.
5615# `unknown' -- same as none, but documents that we really don't know.
5616# 'pass_all' -- all dependencies passed with no checks.
5617# 'test_compile' -- check by making test program.
5618# 'file_magic [[regex]]' -- check by looking for files in library path
5619# which responds to the $file_magic_cmd with a given extended regex.
5620# If you have `file' or equivalent on your system and you're not sure
5621# whether `pass_all' will *always* work, you probably want this one.
5622
5623case $host_os in
5624aix[4-9]*)
5625  lt_cv_deplibs_check_method=pass_all
5626  ;;
5627
5628beos*)
5629  lt_cv_deplibs_check_method=pass_all
5630  ;;
5631
5632bsdi[45]*)
5633  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5634  lt_cv_file_magic_cmd='/usr/bin/file -L'
5635  lt_cv_file_magic_test_file=/shlib/libc.so
5636  ;;
5637
5638cygwin*)
5639  # func_win32_libid is a shell function defined in ltmain.sh
5640  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5641  lt_cv_file_magic_cmd='func_win32_libid'
5642  ;;
5643
5644mingw* | pw32*)
5645  # Base MSYS/MinGW do not provide the 'file' command needed by
5646  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5647  # unless we find 'file', for example because we are cross-compiling.
5648  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5649  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5650    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5651    lt_cv_file_magic_cmd='func_win32_libid'
5652  else
5653    # Keep this pattern in sync with the one in func_win32_libid.
5654    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5655    lt_cv_file_magic_cmd='$OBJDUMP -f'
5656  fi
5657  ;;
5658
5659cegcc*)
5660  # use the weaker test based on 'objdump'. See mingw*.
5661  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5662  lt_cv_file_magic_cmd='$OBJDUMP -f'
5663  ;;
5664
5665darwin* | rhapsody*)
5666  lt_cv_deplibs_check_method=pass_all
5667  ;;
5668
5669freebsd* | dragonfly*)
5670  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5671    case $host_cpu in
5672    i*86 )
5673      # Not sure whether the presence of OpenBSD here was a mistake.
5674      # Let's accept both of them until this is cleared up.
5675      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5676      lt_cv_file_magic_cmd=/usr/bin/file
5677      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5678      ;;
5679    esac
5680  else
5681    lt_cv_deplibs_check_method=pass_all
5682  fi
5683  ;;
5684
5685gnu*)
5686  lt_cv_deplibs_check_method=pass_all
5687  ;;
5688
5689haiku*)
5690  lt_cv_deplibs_check_method=pass_all
5691  ;;
5692
5693hpux10.20* | hpux11*)
5694  lt_cv_file_magic_cmd=/usr/bin/file
5695  case $host_cpu in
5696  ia64*)
5697    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5698    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5699    ;;
5700  hppa*64*)
5701    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]'
5702    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5703    ;;
5704  *)
5705    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5706    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5707    ;;
5708  esac
5709  ;;
5710
5711interix[3-9]*)
5712  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5713  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5714  ;;
5715
5716irix5* | irix6* | nonstopux*)
5717  case $LD in
5718  *-32|*"-32 ") libmagic=32-bit;;
5719  *-n32|*"-n32 ") libmagic=N32;;
5720  *-64|*"-64 ") libmagic=64-bit;;
5721  *) libmagic=never-match;;
5722  esac
5723  lt_cv_deplibs_check_method=pass_all
5724  ;;
5725
5726# This must be glibc/ELF.
5727linux* | k*bsd*-gnu | kopensolaris*-gnu)
5728  lt_cv_deplibs_check_method=pass_all
5729  ;;
5730
5731netbsd*)
5732  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5733    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5734  else
5735    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5736  fi
5737  ;;
5738
5739newos6*)
5740  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5741  lt_cv_file_magic_cmd=/usr/bin/file
5742  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5743  ;;
5744
5745*nto* | *qnx*)
5746  lt_cv_deplibs_check_method=pass_all
5747  ;;
5748
5749openbsd*)
5750  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5751    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5752  else
5753    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5754  fi
5755  ;;
5756
5757osf3* | osf4* | osf5*)
5758  lt_cv_deplibs_check_method=pass_all
5759  ;;
5760
5761rdos*)
5762  lt_cv_deplibs_check_method=pass_all
5763  ;;
5764
5765solaris*)
5766  lt_cv_deplibs_check_method=pass_all
5767  ;;
5768
5769sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5770  lt_cv_deplibs_check_method=pass_all
5771  ;;
5772
5773sysv4 | sysv4.3*)
5774  case $host_vendor in
5775  motorola)
5776    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]'
5777    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5778    ;;
5779  ncr)
5780    lt_cv_deplibs_check_method=pass_all
5781    ;;
5782  sequent)
5783    lt_cv_file_magic_cmd='/bin/file'
5784    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5785    ;;
5786  sni)
5787    lt_cv_file_magic_cmd='/bin/file'
5788    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5789    lt_cv_file_magic_test_file=/lib/libc.so
5790    ;;
5791  siemens)
5792    lt_cv_deplibs_check_method=pass_all
5793    ;;
5794  pc)
5795    lt_cv_deplibs_check_method=pass_all
5796    ;;
5797  esac
5798  ;;
5799
5800tpf*)
5801  lt_cv_deplibs_check_method=pass_all
5802  ;;
5803esac
5804
5805fi
5806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5807$as_echo "$lt_cv_deplibs_check_method" >&6; }
5808
5809file_magic_glob=
5810want_nocaseglob=no
5811if test "$build" = "$host"; then
5812  case $host_os in
5813  mingw* | pw32*)
5814    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5815      want_nocaseglob=yes
5816    else
5817      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5818    fi
5819    ;;
5820  esac
5821fi
5822
5823file_magic_cmd=$lt_cv_file_magic_cmd
5824deplibs_check_method=$lt_cv_deplibs_check_method
5825test -z "$deplibs_check_method" && deplibs_check_method=unknown
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848if test -n "$ac_tool_prefix"; then
5849  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5850set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852$as_echo_n "checking for $ac_word... " >&6; }
5853if ${ac_cv_prog_DLLTOOL+:} false; then :
5854  $as_echo_n "(cached) " >&6
5855else
5856  if test -n "$DLLTOOL"; then
5857  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5858else
5859as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860for as_dir in $PATH
5861do
5862  IFS=$as_save_IFS
5863  test -z "$as_dir" && as_dir=.
5864    for ac_exec_ext in '' $ac_executable_extensions; do
5865  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5866    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5867    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868    break 2
5869  fi
5870done
5871  done
5872IFS=$as_save_IFS
5873
5874fi
5875fi
5876DLLTOOL=$ac_cv_prog_DLLTOOL
5877if test -n "$DLLTOOL"; then
5878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5879$as_echo "$DLLTOOL" >&6; }
5880else
5881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882$as_echo "no" >&6; }
5883fi
5884
5885
5886fi
5887if test -z "$ac_cv_prog_DLLTOOL"; then
5888  ac_ct_DLLTOOL=$DLLTOOL
5889  # Extract the first word of "dlltool", so it can be a program name with args.
5890set dummy dlltool; ac_word=$2
5891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5892$as_echo_n "checking for $ac_word... " >&6; }
5893if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5894  $as_echo_n "(cached) " >&6
5895else
5896  if test -n "$ac_ct_DLLTOOL"; then
5897  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5898else
5899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900for as_dir in $PATH
5901do
5902  IFS=$as_save_IFS
5903  test -z "$as_dir" && as_dir=.
5904    for ac_exec_ext in '' $ac_executable_extensions; do
5905  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5906    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5907    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5908    break 2
5909  fi
5910done
5911  done
5912IFS=$as_save_IFS
5913
5914fi
5915fi
5916ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5917if test -n "$ac_ct_DLLTOOL"; then
5918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5919$as_echo "$ac_ct_DLLTOOL" >&6; }
5920else
5921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922$as_echo "no" >&6; }
5923fi
5924
5925  if test "x$ac_ct_DLLTOOL" = x; then
5926    DLLTOOL="false"
5927  else
5928    case $cross_compiling:$ac_tool_warned in
5929yes:)
5930{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5931$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5932ac_tool_warned=yes ;;
5933esac
5934    DLLTOOL=$ac_ct_DLLTOOL
5935  fi
5936else
5937  DLLTOOL="$ac_cv_prog_DLLTOOL"
5938fi
5939
5940test -z "$DLLTOOL" && DLLTOOL=dlltool
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5952$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5953if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5954  $as_echo_n "(cached) " >&6
5955else
5956  lt_cv_sharedlib_from_linklib_cmd='unknown'
5957
5958case $host_os in
5959cygwin* | mingw* | pw32* | cegcc*)
5960  # two different shell functions defined in ltmain.sh
5961  # decide which to use based on capabilities of $DLLTOOL
5962  case `$DLLTOOL --help 2>&1` in
5963  *--identify-strict*)
5964    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5965    ;;
5966  *)
5967    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5968    ;;
5969  esac
5970  ;;
5971*)
5972  # fallback: assume linklib IS sharedlib
5973  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5974  ;;
5975esac
5976
5977fi
5978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5979$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5980sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5981test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5982
5983
5984
5985
5986
5987
5988
5989if test -n "$ac_tool_prefix"; then
5990  for ac_prog in ar
5991  do
5992    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5993set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995$as_echo_n "checking for $ac_word... " >&6; }
5996if ${ac_cv_prog_AR+:} false; then :
5997  $as_echo_n "(cached) " >&6
5998else
5999  if test -n "$AR"; then
6000  ac_cv_prog_AR="$AR" # Let the user override the test.
6001else
6002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003for as_dir in $PATH
6004do
6005  IFS=$as_save_IFS
6006  test -z "$as_dir" && as_dir=.
6007    for ac_exec_ext in '' $ac_executable_extensions; do
6008  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6009    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6010    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011    break 2
6012  fi
6013done
6014  done
6015IFS=$as_save_IFS
6016
6017fi
6018fi
6019AR=$ac_cv_prog_AR
6020if test -n "$AR"; then
6021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6022$as_echo "$AR" >&6; }
6023else
6024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025$as_echo "no" >&6; }
6026fi
6027
6028
6029    test -n "$AR" && break
6030  done
6031fi
6032if test -z "$AR"; then
6033  ac_ct_AR=$AR
6034  for ac_prog in ar
6035do
6036  # Extract the first word of "$ac_prog", so it can be a program name with args.
6037set dummy $ac_prog; ac_word=$2
6038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039$as_echo_n "checking for $ac_word... " >&6; }
6040if ${ac_cv_prog_ac_ct_AR+:} false; then :
6041  $as_echo_n "(cached) " >&6
6042else
6043  if test -n "$ac_ct_AR"; then
6044  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6045else
6046as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047for as_dir in $PATH
6048do
6049  IFS=$as_save_IFS
6050  test -z "$as_dir" && as_dir=.
6051    for ac_exec_ext in '' $ac_executable_extensions; do
6052  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6053    ac_cv_prog_ac_ct_AR="$ac_prog"
6054    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055    break 2
6056  fi
6057done
6058  done
6059IFS=$as_save_IFS
6060
6061fi
6062fi
6063ac_ct_AR=$ac_cv_prog_ac_ct_AR
6064if test -n "$ac_ct_AR"; then
6065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6066$as_echo "$ac_ct_AR" >&6; }
6067else
6068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6069$as_echo "no" >&6; }
6070fi
6071
6072
6073  test -n "$ac_ct_AR" && break
6074done
6075
6076  if test "x$ac_ct_AR" = x; then
6077    AR="false"
6078  else
6079    case $cross_compiling:$ac_tool_warned in
6080yes:)
6081{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6082$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6083ac_tool_warned=yes ;;
6084esac
6085    AR=$ac_ct_AR
6086  fi
6087fi
6088
6089: ${AR=ar}
6090: ${AR_FLAGS=cru}
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6103$as_echo_n "checking for archiver @FILE support... " >&6; }
6104if ${lt_cv_ar_at_file+:} false; then :
6105  $as_echo_n "(cached) " >&6
6106else
6107  lt_cv_ar_at_file=no
6108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6109/* end confdefs.h.  */
6110
6111int
6112main ()
6113{
6114
6115  ;
6116  return 0;
6117}
6118_ACEOF
6119if ac_fn_c_try_compile "$LINENO"; then :
6120  echo conftest.$ac_objext > conftest.lst
6121      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6122      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6123  (eval $lt_ar_try) 2>&5
6124  ac_status=$?
6125  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6126  test $ac_status = 0; }
6127      if test "$ac_status" -eq 0; then
6128	# Ensure the archiver fails upon bogus file names.
6129	rm -f conftest.$ac_objext libconftest.a
6130	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6131  (eval $lt_ar_try) 2>&5
6132  ac_status=$?
6133  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6134  test $ac_status = 0; }
6135	if test "$ac_status" -ne 0; then
6136          lt_cv_ar_at_file=@
6137        fi
6138      fi
6139      rm -f conftest.* libconftest.a
6140
6141fi
6142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6143
6144fi
6145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6146$as_echo "$lt_cv_ar_at_file" >&6; }
6147
6148if test "x$lt_cv_ar_at_file" = xno; then
6149  archiver_list_spec=
6150else
6151  archiver_list_spec=$lt_cv_ar_at_file
6152fi
6153
6154
6155
6156
6157
6158
6159
6160if test -n "$ac_tool_prefix"; then
6161  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6162set dummy ${ac_tool_prefix}strip; ac_word=$2
6163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6164$as_echo_n "checking for $ac_word... " >&6; }
6165if ${ac_cv_prog_STRIP+:} false; then :
6166  $as_echo_n "(cached) " >&6
6167else
6168  if test -n "$STRIP"; then
6169  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6170else
6171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6172for as_dir in $PATH
6173do
6174  IFS=$as_save_IFS
6175  test -z "$as_dir" && as_dir=.
6176    for ac_exec_ext in '' $ac_executable_extensions; do
6177  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6178    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6179    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6180    break 2
6181  fi
6182done
6183  done
6184IFS=$as_save_IFS
6185
6186fi
6187fi
6188STRIP=$ac_cv_prog_STRIP
6189if test -n "$STRIP"; then
6190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6191$as_echo "$STRIP" >&6; }
6192else
6193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6194$as_echo "no" >&6; }
6195fi
6196
6197
6198fi
6199if test -z "$ac_cv_prog_STRIP"; then
6200  ac_ct_STRIP=$STRIP
6201  # Extract the first word of "strip", so it can be a program name with args.
6202set dummy strip; ac_word=$2
6203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6204$as_echo_n "checking for $ac_word... " >&6; }
6205if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6206  $as_echo_n "(cached) " >&6
6207else
6208  if test -n "$ac_ct_STRIP"; then
6209  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6210else
6211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212for as_dir in $PATH
6213do
6214  IFS=$as_save_IFS
6215  test -z "$as_dir" && as_dir=.
6216    for ac_exec_ext in '' $ac_executable_extensions; do
6217  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6218    ac_cv_prog_ac_ct_STRIP="strip"
6219    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6220    break 2
6221  fi
6222done
6223  done
6224IFS=$as_save_IFS
6225
6226fi
6227fi
6228ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6229if test -n "$ac_ct_STRIP"; then
6230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6231$as_echo "$ac_ct_STRIP" >&6; }
6232else
6233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6234$as_echo "no" >&6; }
6235fi
6236
6237  if test "x$ac_ct_STRIP" = x; then
6238    STRIP=":"
6239  else
6240    case $cross_compiling:$ac_tool_warned in
6241yes:)
6242{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6243$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6244ac_tool_warned=yes ;;
6245esac
6246    STRIP=$ac_ct_STRIP
6247  fi
6248else
6249  STRIP="$ac_cv_prog_STRIP"
6250fi
6251
6252test -z "$STRIP" && STRIP=:
6253
6254
6255
6256
6257
6258
6259if test -n "$ac_tool_prefix"; then
6260  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6261set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6263$as_echo_n "checking for $ac_word... " >&6; }
6264if ${ac_cv_prog_RANLIB+:} false; then :
6265  $as_echo_n "(cached) " >&6
6266else
6267  if test -n "$RANLIB"; then
6268  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6269else
6270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271for as_dir in $PATH
6272do
6273  IFS=$as_save_IFS
6274  test -z "$as_dir" && as_dir=.
6275    for ac_exec_ext in '' $ac_executable_extensions; do
6276  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6277    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6278    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6279    break 2
6280  fi
6281done
6282  done
6283IFS=$as_save_IFS
6284
6285fi
6286fi
6287RANLIB=$ac_cv_prog_RANLIB
6288if test -n "$RANLIB"; then
6289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6290$as_echo "$RANLIB" >&6; }
6291else
6292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6293$as_echo "no" >&6; }
6294fi
6295
6296
6297fi
6298if test -z "$ac_cv_prog_RANLIB"; then
6299  ac_ct_RANLIB=$RANLIB
6300  # Extract the first word of "ranlib", so it can be a program name with args.
6301set dummy ranlib; ac_word=$2
6302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6303$as_echo_n "checking for $ac_word... " >&6; }
6304if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6305  $as_echo_n "(cached) " >&6
6306else
6307  if test -n "$ac_ct_RANLIB"; then
6308  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6309else
6310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311for as_dir in $PATH
6312do
6313  IFS=$as_save_IFS
6314  test -z "$as_dir" && as_dir=.
6315    for ac_exec_ext in '' $ac_executable_extensions; do
6316  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6317    ac_cv_prog_ac_ct_RANLIB="ranlib"
6318    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6319    break 2
6320  fi
6321done
6322  done
6323IFS=$as_save_IFS
6324
6325fi
6326fi
6327ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6328if test -n "$ac_ct_RANLIB"; then
6329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6330$as_echo "$ac_ct_RANLIB" >&6; }
6331else
6332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6333$as_echo "no" >&6; }
6334fi
6335
6336  if test "x$ac_ct_RANLIB" = x; then
6337    RANLIB=":"
6338  else
6339    case $cross_compiling:$ac_tool_warned in
6340yes:)
6341{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6342$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6343ac_tool_warned=yes ;;
6344esac
6345    RANLIB=$ac_ct_RANLIB
6346  fi
6347else
6348  RANLIB="$ac_cv_prog_RANLIB"
6349fi
6350
6351test -z "$RANLIB" && RANLIB=:
6352
6353
6354
6355
6356
6357
6358# Determine commands to create old-style static archives.
6359old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6360old_postinstall_cmds='chmod 644 $oldlib'
6361old_postuninstall_cmds=
6362
6363if test -n "$RANLIB"; then
6364  case $host_os in
6365  openbsd*)
6366    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6367    ;;
6368  *)
6369    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6370    ;;
6371  esac
6372  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6373fi
6374
6375case $host_os in
6376  darwin*)
6377    lock_old_archive_extraction=yes ;;
6378  *)
6379    lock_old_archive_extraction=no ;;
6380esac
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420# If no C compiler was specified, use CC.
6421LTCC=${LTCC-"$CC"}
6422
6423# If no C compiler flags were specified, use CFLAGS.
6424LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6425
6426# Allow CC to be a program name with arguments.
6427compiler=$CC
6428
6429
6430# Check for command to grab the raw symbol name followed by C symbol from nm.
6431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6432$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6433if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6434  $as_echo_n "(cached) " >&6
6435else
6436
6437# These are sane defaults that work on at least a few old systems.
6438# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6439
6440# Character class describing NM global symbol codes.
6441symcode='[BCDEGRST]'
6442
6443# Regexp to match symbols that can be accessed directly from C.
6444sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6445
6446# Define system-specific variables.
6447case $host_os in
6448aix*)
6449  symcode='[BCDT]'
6450  ;;
6451cygwin* | mingw* | pw32* | cegcc*)
6452  symcode='[ABCDGISTW]'
6453  ;;
6454hpux*)
6455  if test "$host_cpu" = ia64; then
6456    symcode='[ABCDEGRST]'
6457  fi
6458  ;;
6459irix* | nonstopux*)
6460  symcode='[BCDEGRST]'
6461  ;;
6462osf*)
6463  symcode='[BCDEGQRST]'
6464  ;;
6465solaris*)
6466  symcode='[BDRT]'
6467  ;;
6468sco3.2v5*)
6469  symcode='[DT]'
6470  ;;
6471sysv4.2uw2*)
6472  symcode='[DT]'
6473  ;;
6474sysv5* | sco5v6* | unixware* | OpenUNIX*)
6475  symcode='[ABDT]'
6476  ;;
6477sysv4)
6478  symcode='[DFNSTU]'
6479  ;;
6480esac
6481
6482# If we're using GNU nm, then use its standard symbol codes.
6483case `$NM -V 2>&1` in
6484*GNU* | *'with BFD'*)
6485  symcode='[ABCDGIRSTW]' ;;
6486esac
6487
6488# Transform an extracted symbol line into a proper C declaration.
6489# Some systems (esp. on ia64) link data and code symbols differently,
6490# so use this general approach.
6491lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6492
6493# Transform an extracted symbol line into symbol name and symbol address
6494lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6495lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6496
6497# Handle CRLF in mingw tool chain
6498opt_cr=
6499case $build_os in
6500mingw*)
6501  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6502  ;;
6503esac
6504
6505# Try without a prefix underscore, then with it.
6506for ac_symprfx in "" "_"; do
6507
6508  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6509  symxfrm="\\1 $ac_symprfx\\2 \\2"
6510
6511  # Write the raw and C identifiers.
6512  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6513    # Fake it for dumpbin and say T for any non-static function
6514    # and D for any global variable.
6515    # Also find C++ and __fastcall symbols from MSVC++,
6516    # which start with @ or ?.
6517    lt_cv_sys_global_symbol_pipe="$AWK '"\
6518"     {last_section=section; section=\$ 3};"\
6519"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6520"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6521"     \$ 0!~/External *\|/{next};"\
6522"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6523"     {if(hide[section]) next};"\
6524"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6525"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6526"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6527"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6528"     ' prfx=^$ac_symprfx"
6529  else
6530    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6531  fi
6532  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6533
6534  # Check to see that the pipe works correctly.
6535  pipe_works=no
6536
6537  rm -f conftest*
6538  cat > conftest.$ac_ext <<_LT_EOF
6539#ifdef __cplusplus
6540extern "C" {
6541#endif
6542char nm_test_var;
6543void nm_test_func(void);
6544void nm_test_func(void){}
6545#ifdef __cplusplus
6546}
6547#endif
6548int main(){nm_test_var='a';nm_test_func();return(0);}
6549_LT_EOF
6550
6551  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6552  (eval $ac_compile) 2>&5
6553  ac_status=$?
6554  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6555  test $ac_status = 0; }; then
6556    # Now try to grab the symbols.
6557    nlist=conftest.nm
6558    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6559  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6560  ac_status=$?
6561  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6562  test $ac_status = 0; } && test -s "$nlist"; then
6563      # Try sorting and uniquifying the output.
6564      if sort "$nlist" | uniq > "$nlist"T; then
6565	mv -f "$nlist"T "$nlist"
6566      else
6567	rm -f "$nlist"T
6568      fi
6569
6570      # Make sure that we snagged all the symbols we need.
6571      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6572	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6573	  cat <<_LT_EOF > conftest.$ac_ext
6574/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6575#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6576/* DATA imports from DLLs on WIN32 con't be const, because runtime
6577   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6578# define LT_DLSYM_CONST
6579#elif defined(__osf__)
6580/* This system does not cope well with relocations in const data.  */
6581# define LT_DLSYM_CONST
6582#else
6583# define LT_DLSYM_CONST const
6584#endif
6585
6586#ifdef __cplusplus
6587extern "C" {
6588#endif
6589
6590_LT_EOF
6591	  # Now generate the symbol file.
6592	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6593
6594	  cat <<_LT_EOF >> conftest.$ac_ext
6595
6596/* The mapping between symbol names and symbols.  */
6597LT_DLSYM_CONST struct {
6598  const char *name;
6599  void       *address;
6600}
6601lt__PROGRAM__LTX_preloaded_symbols[] =
6602{
6603  { "@PROGRAM@", (void *) 0 },
6604_LT_EOF
6605	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6606	  cat <<\_LT_EOF >> conftest.$ac_ext
6607  {0, (void *) 0}
6608};
6609
6610/* This works around a problem in FreeBSD linker */
6611#ifdef FREEBSD_WORKAROUND
6612static const void *lt_preloaded_setup() {
6613  return lt__PROGRAM__LTX_preloaded_symbols;
6614}
6615#endif
6616
6617#ifdef __cplusplus
6618}
6619#endif
6620_LT_EOF
6621	  # Now try linking the two files.
6622	  mv conftest.$ac_objext conftstm.$ac_objext
6623	  lt_globsym_save_LIBS=$LIBS
6624	  lt_globsym_save_CFLAGS=$CFLAGS
6625	  LIBS="conftstm.$ac_objext"
6626	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6627	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6628  (eval $ac_link) 2>&5
6629  ac_status=$?
6630  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6631  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6632	    pipe_works=yes
6633	  fi
6634	  LIBS=$lt_globsym_save_LIBS
6635	  CFLAGS=$lt_globsym_save_CFLAGS
6636	else
6637	  echo "cannot find nm_test_func in $nlist" >&5
6638	fi
6639      else
6640	echo "cannot find nm_test_var in $nlist" >&5
6641      fi
6642    else
6643      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6644    fi
6645  else
6646    echo "$progname: failed program was:" >&5
6647    cat conftest.$ac_ext >&5
6648  fi
6649  rm -rf conftest* conftst*
6650
6651  # Do not use the global_symbol_pipe unless it works.
6652  if test "$pipe_works" = yes; then
6653    break
6654  else
6655    lt_cv_sys_global_symbol_pipe=
6656  fi
6657done
6658
6659fi
6660
6661if test -z "$lt_cv_sys_global_symbol_pipe"; then
6662  lt_cv_sys_global_symbol_to_cdecl=
6663fi
6664if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6666$as_echo "failed" >&6; }
6667else
6668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6669$as_echo "ok" >&6; }
6670fi
6671
6672# Response file support.
6673if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6674  nm_file_list_spec='@'
6675elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6676  nm_file_list_spec='@'
6677fi
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6706$as_echo_n "checking for sysroot... " >&6; }
6707
6708# Check whether --with-sysroot was given.
6709if test "${with_sysroot+set}" = set; then :
6710  withval=$with_sysroot;
6711else
6712  with_sysroot=no
6713fi
6714
6715
6716lt_sysroot=
6717case ${with_sysroot} in #(
6718 yes)
6719   if test "$GCC" = yes; then
6720     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6721   fi
6722   ;; #(
6723 /*)
6724   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6725   ;; #(
6726 no|'')
6727   ;; #(
6728 *)
6729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6730$as_echo "${with_sysroot}" >&6; }
6731   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6732   ;;
6733esac
6734
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6736$as_echo "${lt_sysroot:-no}" >&6; }
6737
6738
6739
6740
6741
6742# Check whether --enable-libtool-lock was given.
6743if test "${enable_libtool_lock+set}" = set; then :
6744  enableval=$enable_libtool_lock;
6745fi
6746
6747test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6748
6749# Some flags need to be propagated to the compiler or linker for good
6750# libtool support.
6751case $host in
6752ia64-*-hpux*)
6753  # Find out which ABI we are using.
6754  echo 'int i;' > conftest.$ac_ext
6755  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6756  (eval $ac_compile) 2>&5
6757  ac_status=$?
6758  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6759  test $ac_status = 0; }; then
6760    case `/usr/bin/file conftest.$ac_objext` in
6761      *ELF-32*)
6762	HPUX_IA64_MODE="32"
6763	;;
6764      *ELF-64*)
6765	HPUX_IA64_MODE="64"
6766	;;
6767    esac
6768  fi
6769  rm -rf conftest*
6770  ;;
6771*-*-irix6*)
6772  # Find out which ABI we are using.
6773  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6774  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6775  (eval $ac_compile) 2>&5
6776  ac_status=$?
6777  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6778  test $ac_status = 0; }; then
6779    if test "$lt_cv_prog_gnu_ld" = yes; then
6780      case `/usr/bin/file conftest.$ac_objext` in
6781	*32-bit*)
6782	  LD="${LD-ld} -melf32bsmip"
6783	  ;;
6784	*N32*)
6785	  LD="${LD-ld} -melf32bmipn32"
6786	  ;;
6787	*64-bit*)
6788	  LD="${LD-ld} -melf64bmip"
6789	;;
6790      esac
6791    else
6792      case `/usr/bin/file conftest.$ac_objext` in
6793	*32-bit*)
6794	  LD="${LD-ld} -32"
6795	  ;;
6796	*N32*)
6797	  LD="${LD-ld} -n32"
6798	  ;;
6799	*64-bit*)
6800	  LD="${LD-ld} -64"
6801	  ;;
6802      esac
6803    fi
6804  fi
6805  rm -rf conftest*
6806  ;;
6807
6808x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6809s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6810  # Find out which ABI we are using.
6811  echo 'int i;' > conftest.$ac_ext
6812  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6813  (eval $ac_compile) 2>&5
6814  ac_status=$?
6815  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6816  test $ac_status = 0; }; then
6817    case `/usr/bin/file conftest.o` in
6818      *32-bit*)
6819	case $host in
6820	  x86_64-*kfreebsd*-gnu)
6821	    LD="${LD-ld} -m elf_i386_fbsd"
6822	    ;;
6823	  x86_64-*linux*)
6824	    LD="${LD-ld} -m elf_i386"
6825	    ;;
6826	  ppc64-*linux*|powerpc64-*linux*)
6827	    LD="${LD-ld} -m elf32ppclinux"
6828	    ;;
6829	  s390x-*linux*)
6830	    LD="${LD-ld} -m elf_s390"
6831	    ;;
6832	  sparc64-*linux*)
6833	    LD="${LD-ld} -m elf32_sparc"
6834	    ;;
6835	esac
6836	;;
6837      *64-bit*)
6838	case $host in
6839	  x86_64-*kfreebsd*-gnu)
6840	    LD="${LD-ld} -m elf_x86_64_fbsd"
6841	    ;;
6842	  x86_64-*linux*)
6843	    LD="${LD-ld} -m elf_x86_64"
6844	    ;;
6845	  ppc*-*linux*|powerpc*-*linux*)
6846	    LD="${LD-ld} -m elf64ppc"
6847	    ;;
6848	  s390*-*linux*|s390*-*tpf*)
6849	    LD="${LD-ld} -m elf64_s390"
6850	    ;;
6851	  sparc*-*linux*)
6852	    LD="${LD-ld} -m elf64_sparc"
6853	    ;;
6854	esac
6855	;;
6856    esac
6857  fi
6858  rm -rf conftest*
6859  ;;
6860
6861*-*-sco3.2v5*)
6862  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6863  SAVE_CFLAGS="$CFLAGS"
6864  CFLAGS="$CFLAGS -belf"
6865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6866$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6867if ${lt_cv_cc_needs_belf+:} false; then :
6868  $as_echo_n "(cached) " >&6
6869else
6870  ac_ext=c
6871ac_cpp='$CPP $CPPFLAGS'
6872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6874ac_compiler_gnu=$ac_cv_c_compiler_gnu
6875
6876     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6877/* end confdefs.h.  */
6878
6879int
6880main ()
6881{
6882
6883  ;
6884  return 0;
6885}
6886_ACEOF
6887if ac_fn_c_try_link "$LINENO"; then :
6888  lt_cv_cc_needs_belf=yes
6889else
6890  lt_cv_cc_needs_belf=no
6891fi
6892rm -f core conftest.err conftest.$ac_objext \
6893    conftest$ac_exeext conftest.$ac_ext
6894     ac_ext=c
6895ac_cpp='$CPP $CPPFLAGS'
6896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6898ac_compiler_gnu=$ac_cv_c_compiler_gnu
6899
6900fi
6901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6902$as_echo "$lt_cv_cc_needs_belf" >&6; }
6903  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6904    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6905    CFLAGS="$SAVE_CFLAGS"
6906  fi
6907  ;;
6908*-*solaris*)
6909  # Find out which ABI we are using.
6910  echo 'int i;' > conftest.$ac_ext
6911  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6912  (eval $ac_compile) 2>&5
6913  ac_status=$?
6914  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6915  test $ac_status = 0; }; then
6916    case `/usr/bin/file conftest.o` in
6917    *64-bit*)
6918      case $lt_cv_prog_gnu_ld in
6919      yes*)
6920        case $host in
6921        i?86-*-solaris*)
6922          LD="${LD-ld} -m elf_x86_64"
6923          ;;
6924        sparc*-*-solaris*)
6925          LD="${LD-ld} -m elf64_sparc"
6926          ;;
6927        esac
6928        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6929        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6930          LD="${LD-ld}_sol2"
6931        fi
6932        ;;
6933      *)
6934	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6935	  LD="${LD-ld} -64"
6936	fi
6937	;;
6938      esac
6939      ;;
6940    esac
6941  fi
6942  rm -rf conftest*
6943  ;;
6944esac
6945
6946need_locks="$enable_libtool_lock"
6947
6948if test -n "$ac_tool_prefix"; then
6949  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6950set dummy ${ac_tool_prefix}mt; ac_word=$2
6951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6952$as_echo_n "checking for $ac_word... " >&6; }
6953if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6954  $as_echo_n "(cached) " >&6
6955else
6956  if test -n "$MANIFEST_TOOL"; then
6957  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6958else
6959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6960for as_dir in $PATH
6961do
6962  IFS=$as_save_IFS
6963  test -z "$as_dir" && as_dir=.
6964    for ac_exec_ext in '' $ac_executable_extensions; do
6965  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6966    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6967    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6968    break 2
6969  fi
6970done
6971  done
6972IFS=$as_save_IFS
6973
6974fi
6975fi
6976MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6977if test -n "$MANIFEST_TOOL"; then
6978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6979$as_echo "$MANIFEST_TOOL" >&6; }
6980else
6981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6982$as_echo "no" >&6; }
6983fi
6984
6985
6986fi
6987if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6988  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6989  # Extract the first word of "mt", so it can be a program name with args.
6990set dummy mt; ac_word=$2
6991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6992$as_echo_n "checking for $ac_word... " >&6; }
6993if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6994  $as_echo_n "(cached) " >&6
6995else
6996  if test -n "$ac_ct_MANIFEST_TOOL"; then
6997  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6998else
6999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7000for as_dir in $PATH
7001do
7002  IFS=$as_save_IFS
7003  test -z "$as_dir" && as_dir=.
7004    for ac_exec_ext in '' $ac_executable_extensions; do
7005  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7006    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7007    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7008    break 2
7009  fi
7010done
7011  done
7012IFS=$as_save_IFS
7013
7014fi
7015fi
7016ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7017if test -n "$ac_ct_MANIFEST_TOOL"; then
7018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7019$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7020else
7021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7022$as_echo "no" >&6; }
7023fi
7024
7025  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7026    MANIFEST_TOOL=":"
7027  else
7028    case $cross_compiling:$ac_tool_warned in
7029yes:)
7030{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7031$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7032ac_tool_warned=yes ;;
7033esac
7034    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7035  fi
7036else
7037  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7038fi
7039
7040test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7042$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7043if ${lt_cv_path_mainfest_tool+:} false; then :
7044  $as_echo_n "(cached) " >&6
7045else
7046  lt_cv_path_mainfest_tool=no
7047  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7048  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7049  cat conftest.err >&5
7050  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7051    lt_cv_path_mainfest_tool=yes
7052  fi
7053  rm -f conftest*
7054fi
7055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7056$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7057if test "x$lt_cv_path_mainfest_tool" != xyes; then
7058  MANIFEST_TOOL=:
7059fi
7060
7061
7062
7063
7064
7065
7066  case $host_os in
7067    rhapsody* | darwin*)
7068    if test -n "$ac_tool_prefix"; then
7069  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7070set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7072$as_echo_n "checking for $ac_word... " >&6; }
7073if ${ac_cv_prog_DSYMUTIL+:} false; then :
7074  $as_echo_n "(cached) " >&6
7075else
7076  if test -n "$DSYMUTIL"; then
7077  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7078else
7079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080for as_dir in $PATH
7081do
7082  IFS=$as_save_IFS
7083  test -z "$as_dir" && as_dir=.
7084    for ac_exec_ext in '' $ac_executable_extensions; do
7085  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7086    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7087    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7088    break 2
7089  fi
7090done
7091  done
7092IFS=$as_save_IFS
7093
7094fi
7095fi
7096DSYMUTIL=$ac_cv_prog_DSYMUTIL
7097if test -n "$DSYMUTIL"; then
7098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7099$as_echo "$DSYMUTIL" >&6; }
7100else
7101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102$as_echo "no" >&6; }
7103fi
7104
7105
7106fi
7107if test -z "$ac_cv_prog_DSYMUTIL"; then
7108  ac_ct_DSYMUTIL=$DSYMUTIL
7109  # Extract the first word of "dsymutil", so it can be a program name with args.
7110set dummy dsymutil; ac_word=$2
7111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7112$as_echo_n "checking for $ac_word... " >&6; }
7113if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7114  $as_echo_n "(cached) " >&6
7115else
7116  if test -n "$ac_ct_DSYMUTIL"; then
7117  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7118else
7119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7120for as_dir in $PATH
7121do
7122  IFS=$as_save_IFS
7123  test -z "$as_dir" && as_dir=.
7124    for ac_exec_ext in '' $ac_executable_extensions; do
7125  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7126    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7127    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7128    break 2
7129  fi
7130done
7131  done
7132IFS=$as_save_IFS
7133
7134fi
7135fi
7136ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7137if test -n "$ac_ct_DSYMUTIL"; then
7138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7139$as_echo "$ac_ct_DSYMUTIL" >&6; }
7140else
7141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7142$as_echo "no" >&6; }
7143fi
7144
7145  if test "x$ac_ct_DSYMUTIL" = x; then
7146    DSYMUTIL=":"
7147  else
7148    case $cross_compiling:$ac_tool_warned in
7149yes:)
7150{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7151$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7152ac_tool_warned=yes ;;
7153esac
7154    DSYMUTIL=$ac_ct_DSYMUTIL
7155  fi
7156else
7157  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7158fi
7159
7160    if test -n "$ac_tool_prefix"; then
7161  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7162set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164$as_echo_n "checking for $ac_word... " >&6; }
7165if ${ac_cv_prog_NMEDIT+:} false; then :
7166  $as_echo_n "(cached) " >&6
7167else
7168  if test -n "$NMEDIT"; then
7169  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7170else
7171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172for as_dir in $PATH
7173do
7174  IFS=$as_save_IFS
7175  test -z "$as_dir" && as_dir=.
7176    for ac_exec_ext in '' $ac_executable_extensions; do
7177  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7178    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7179    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7180    break 2
7181  fi
7182done
7183  done
7184IFS=$as_save_IFS
7185
7186fi
7187fi
7188NMEDIT=$ac_cv_prog_NMEDIT
7189if test -n "$NMEDIT"; then
7190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7191$as_echo "$NMEDIT" >&6; }
7192else
7193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194$as_echo "no" >&6; }
7195fi
7196
7197
7198fi
7199if test -z "$ac_cv_prog_NMEDIT"; then
7200  ac_ct_NMEDIT=$NMEDIT
7201  # Extract the first word of "nmedit", so it can be a program name with args.
7202set dummy nmedit; ac_word=$2
7203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7204$as_echo_n "checking for $ac_word... " >&6; }
7205if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7206  $as_echo_n "(cached) " >&6
7207else
7208  if test -n "$ac_ct_NMEDIT"; then
7209  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7210else
7211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7212for as_dir in $PATH
7213do
7214  IFS=$as_save_IFS
7215  test -z "$as_dir" && as_dir=.
7216    for ac_exec_ext in '' $ac_executable_extensions; do
7217  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7218    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7219    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7220    break 2
7221  fi
7222done
7223  done
7224IFS=$as_save_IFS
7225
7226fi
7227fi
7228ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7229if test -n "$ac_ct_NMEDIT"; then
7230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7231$as_echo "$ac_ct_NMEDIT" >&6; }
7232else
7233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7234$as_echo "no" >&6; }
7235fi
7236
7237  if test "x$ac_ct_NMEDIT" = x; then
7238    NMEDIT=":"
7239  else
7240    case $cross_compiling:$ac_tool_warned in
7241yes:)
7242{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7243$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7244ac_tool_warned=yes ;;
7245esac
7246    NMEDIT=$ac_ct_NMEDIT
7247  fi
7248else
7249  NMEDIT="$ac_cv_prog_NMEDIT"
7250fi
7251
7252    if test -n "$ac_tool_prefix"; then
7253  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7254set dummy ${ac_tool_prefix}lipo; ac_word=$2
7255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7256$as_echo_n "checking for $ac_word... " >&6; }
7257if ${ac_cv_prog_LIPO+:} false; then :
7258  $as_echo_n "(cached) " >&6
7259else
7260  if test -n "$LIPO"; then
7261  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7262else
7263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7264for as_dir in $PATH
7265do
7266  IFS=$as_save_IFS
7267  test -z "$as_dir" && as_dir=.
7268    for ac_exec_ext in '' $ac_executable_extensions; do
7269  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7270    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7271    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7272    break 2
7273  fi
7274done
7275  done
7276IFS=$as_save_IFS
7277
7278fi
7279fi
7280LIPO=$ac_cv_prog_LIPO
7281if test -n "$LIPO"; then
7282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7283$as_echo "$LIPO" >&6; }
7284else
7285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286$as_echo "no" >&6; }
7287fi
7288
7289
7290fi
7291if test -z "$ac_cv_prog_LIPO"; then
7292  ac_ct_LIPO=$LIPO
7293  # Extract the first word of "lipo", so it can be a program name with args.
7294set dummy lipo; ac_word=$2
7295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7296$as_echo_n "checking for $ac_word... " >&6; }
7297if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7298  $as_echo_n "(cached) " >&6
7299else
7300  if test -n "$ac_ct_LIPO"; then
7301  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7302else
7303as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304for as_dir in $PATH
7305do
7306  IFS=$as_save_IFS
7307  test -z "$as_dir" && as_dir=.
7308    for ac_exec_ext in '' $ac_executable_extensions; do
7309  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7310    ac_cv_prog_ac_ct_LIPO="lipo"
7311    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7312    break 2
7313  fi
7314done
7315  done
7316IFS=$as_save_IFS
7317
7318fi
7319fi
7320ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7321if test -n "$ac_ct_LIPO"; then
7322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7323$as_echo "$ac_ct_LIPO" >&6; }
7324else
7325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326$as_echo "no" >&6; }
7327fi
7328
7329  if test "x$ac_ct_LIPO" = x; then
7330    LIPO=":"
7331  else
7332    case $cross_compiling:$ac_tool_warned in
7333yes:)
7334{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7335$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7336ac_tool_warned=yes ;;
7337esac
7338    LIPO=$ac_ct_LIPO
7339  fi
7340else
7341  LIPO="$ac_cv_prog_LIPO"
7342fi
7343
7344    if test -n "$ac_tool_prefix"; then
7345  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7346set dummy ${ac_tool_prefix}otool; ac_word=$2
7347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348$as_echo_n "checking for $ac_word... " >&6; }
7349if ${ac_cv_prog_OTOOL+:} false; then :
7350  $as_echo_n "(cached) " >&6
7351else
7352  if test -n "$OTOOL"; then
7353  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7354else
7355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356for as_dir in $PATH
7357do
7358  IFS=$as_save_IFS
7359  test -z "$as_dir" && as_dir=.
7360    for ac_exec_ext in '' $ac_executable_extensions; do
7361  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7362    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7363    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364    break 2
7365  fi
7366done
7367  done
7368IFS=$as_save_IFS
7369
7370fi
7371fi
7372OTOOL=$ac_cv_prog_OTOOL
7373if test -n "$OTOOL"; then
7374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7375$as_echo "$OTOOL" >&6; }
7376else
7377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378$as_echo "no" >&6; }
7379fi
7380
7381
7382fi
7383if test -z "$ac_cv_prog_OTOOL"; then
7384  ac_ct_OTOOL=$OTOOL
7385  # Extract the first word of "otool", so it can be a program name with args.
7386set dummy otool; ac_word=$2
7387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7388$as_echo_n "checking for $ac_word... " >&6; }
7389if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7390  $as_echo_n "(cached) " >&6
7391else
7392  if test -n "$ac_ct_OTOOL"; then
7393  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7394else
7395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396for as_dir in $PATH
7397do
7398  IFS=$as_save_IFS
7399  test -z "$as_dir" && as_dir=.
7400    for ac_exec_ext in '' $ac_executable_extensions; do
7401  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7402    ac_cv_prog_ac_ct_OTOOL="otool"
7403    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7404    break 2
7405  fi
7406done
7407  done
7408IFS=$as_save_IFS
7409
7410fi
7411fi
7412ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7413if test -n "$ac_ct_OTOOL"; then
7414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7415$as_echo "$ac_ct_OTOOL" >&6; }
7416else
7417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7418$as_echo "no" >&6; }
7419fi
7420
7421  if test "x$ac_ct_OTOOL" = x; then
7422    OTOOL=":"
7423  else
7424    case $cross_compiling:$ac_tool_warned in
7425yes:)
7426{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7427$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7428ac_tool_warned=yes ;;
7429esac
7430    OTOOL=$ac_ct_OTOOL
7431  fi
7432else
7433  OTOOL="$ac_cv_prog_OTOOL"
7434fi
7435
7436    if test -n "$ac_tool_prefix"; then
7437  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7438set dummy ${ac_tool_prefix}otool64; ac_word=$2
7439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7440$as_echo_n "checking for $ac_word... " >&6; }
7441if ${ac_cv_prog_OTOOL64+:} false; then :
7442  $as_echo_n "(cached) " >&6
7443else
7444  if test -n "$OTOOL64"; then
7445  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7446else
7447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448for as_dir in $PATH
7449do
7450  IFS=$as_save_IFS
7451  test -z "$as_dir" && as_dir=.
7452    for ac_exec_ext in '' $ac_executable_extensions; do
7453  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7454    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7455    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7456    break 2
7457  fi
7458done
7459  done
7460IFS=$as_save_IFS
7461
7462fi
7463fi
7464OTOOL64=$ac_cv_prog_OTOOL64
7465if test -n "$OTOOL64"; then
7466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7467$as_echo "$OTOOL64" >&6; }
7468else
7469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470$as_echo "no" >&6; }
7471fi
7472
7473
7474fi
7475if test -z "$ac_cv_prog_OTOOL64"; then
7476  ac_ct_OTOOL64=$OTOOL64
7477  # Extract the first word of "otool64", so it can be a program name with args.
7478set dummy otool64; ac_word=$2
7479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7480$as_echo_n "checking for $ac_word... " >&6; }
7481if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7482  $as_echo_n "(cached) " >&6
7483else
7484  if test -n "$ac_ct_OTOOL64"; then
7485  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7486else
7487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7488for as_dir in $PATH
7489do
7490  IFS=$as_save_IFS
7491  test -z "$as_dir" && as_dir=.
7492    for ac_exec_ext in '' $ac_executable_extensions; do
7493  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7494    ac_cv_prog_ac_ct_OTOOL64="otool64"
7495    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7496    break 2
7497  fi
7498done
7499  done
7500IFS=$as_save_IFS
7501
7502fi
7503fi
7504ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7505if test -n "$ac_ct_OTOOL64"; then
7506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7507$as_echo "$ac_ct_OTOOL64" >&6; }
7508else
7509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7510$as_echo "no" >&6; }
7511fi
7512
7513  if test "x$ac_ct_OTOOL64" = x; then
7514    OTOOL64=":"
7515  else
7516    case $cross_compiling:$ac_tool_warned in
7517yes:)
7518{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7519$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7520ac_tool_warned=yes ;;
7521esac
7522    OTOOL64=$ac_ct_OTOOL64
7523  fi
7524else
7525  OTOOL64="$ac_cv_prog_OTOOL64"
7526fi
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7555$as_echo_n "checking for -single_module linker flag... " >&6; }
7556if ${lt_cv_apple_cc_single_mod+:} false; then :
7557  $as_echo_n "(cached) " >&6
7558else
7559  lt_cv_apple_cc_single_mod=no
7560      if test -z "${LT_MULTI_MODULE}"; then
7561	# By default we will add the -single_module flag. You can override
7562	# by either setting the environment variable LT_MULTI_MODULE
7563	# non-empty at configure time, or by adding -multi_module to the
7564	# link flags.
7565	rm -rf libconftest.dylib*
7566	echo "int foo(void){return 1;}" > conftest.c
7567	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7568-dynamiclib -Wl,-single_module conftest.c" >&5
7569	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7570	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7571        _lt_result=$?
7572	# If there is a non-empty error log, and "single_module"
7573	# appears in it, assume the flag caused a linker warning
7574        if test -s conftest.err && $GREP single_module conftest.err; then
7575	  cat conftest.err >&5
7576	# Otherwise, if the output was created with a 0 exit code from
7577	# the compiler, it worked.
7578	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7579	  lt_cv_apple_cc_single_mod=yes
7580	else
7581	  cat conftest.err >&5
7582	fi
7583	rm -rf libconftest.dylib*
7584	rm -f conftest.*
7585      fi
7586fi
7587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7588$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7589
7590    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7591$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7592if ${lt_cv_ld_exported_symbols_list+:} false; then :
7593  $as_echo_n "(cached) " >&6
7594else
7595  lt_cv_ld_exported_symbols_list=no
7596      save_LDFLAGS=$LDFLAGS
7597      echo "_main" > conftest.sym
7598      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7599      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7600/* end confdefs.h.  */
7601
7602int
7603main ()
7604{
7605
7606  ;
7607  return 0;
7608}
7609_ACEOF
7610if ac_fn_c_try_link "$LINENO"; then :
7611  lt_cv_ld_exported_symbols_list=yes
7612else
7613  lt_cv_ld_exported_symbols_list=no
7614fi
7615rm -f core conftest.err conftest.$ac_objext \
7616    conftest$ac_exeext conftest.$ac_ext
7617	LDFLAGS="$save_LDFLAGS"
7618
7619fi
7620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7621$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7622
7623    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7624$as_echo_n "checking for -force_load linker flag... " >&6; }
7625if ${lt_cv_ld_force_load+:} false; then :
7626  $as_echo_n "(cached) " >&6
7627else
7628  lt_cv_ld_force_load=no
7629      cat > conftest.c << _LT_EOF
7630int forced_loaded() { return 2;}
7631_LT_EOF
7632      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7633      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7634      echo "$AR cru libconftest.a conftest.o" >&5
7635      $AR cru libconftest.a conftest.o 2>&5
7636      echo "$RANLIB libconftest.a" >&5
7637      $RANLIB libconftest.a 2>&5
7638      cat > conftest.c << _LT_EOF
7639int main() { return 0;}
7640_LT_EOF
7641      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7642      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7643      _lt_result=$?
7644      if test -s conftest.err && $GREP force_load conftest.err; then
7645	cat conftest.err >&5
7646      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7647	lt_cv_ld_force_load=yes
7648      else
7649	cat conftest.err >&5
7650      fi
7651        rm -f conftest.err libconftest.a conftest conftest.c
7652        rm -rf conftest.dSYM
7653
7654fi
7655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7656$as_echo "$lt_cv_ld_force_load" >&6; }
7657    case $host_os in
7658    rhapsody* | darwin1.[012])
7659      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7660    darwin1.*)
7661      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7662    darwin*) # darwin 5.x on
7663      # if running on 10.5 or later, the deployment target defaults
7664      # to the OS version, if on x86, and 10.4, the deployment
7665      # target defaults to 10.4. Don't you love it?
7666      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7667	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7668	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7669	10.[012]*)
7670	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7671	10.*)
7672	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7673      esac
7674    ;;
7675  esac
7676    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7677      _lt_dar_single_mod='$single_module'
7678    fi
7679    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7680      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7681    else
7682      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7683    fi
7684    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7685      _lt_dsymutil='~$DSYMUTIL $lib || :'
7686    else
7687      _lt_dsymutil=
7688    fi
7689    ;;
7690  esac
7691
7692for ac_header in dlfcn.h
7693do :
7694  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7695"
7696if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7697  cat >>confdefs.h <<_ACEOF
7698#define HAVE_DLFCN_H 1
7699_ACEOF
7700
7701fi
7702
7703done
7704
7705
7706
7707
7708
7709# Set options
7710
7711
7712
7713        enable_dlopen=no
7714
7715
7716  enable_win32_dll=no
7717
7718
7719            # Check whether --enable-shared was given.
7720if test "${enable_shared+set}" = set; then :
7721  enableval=$enable_shared; p=${PACKAGE-default}
7722    case $enableval in
7723    yes) enable_shared=yes ;;
7724    no) enable_shared=no ;;
7725    *)
7726      enable_shared=no
7727      # Look at the argument we got.  We use all the common list separators.
7728      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7729      for pkg in $enableval; do
7730	IFS="$lt_save_ifs"
7731	if test "X$pkg" = "X$p"; then
7732	  enable_shared=yes
7733	fi
7734      done
7735      IFS="$lt_save_ifs"
7736      ;;
7737    esac
7738else
7739  enable_shared=yes
7740fi
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750  # Check whether --enable-static was given.
7751if test "${enable_static+set}" = set; then :
7752  enableval=$enable_static; p=${PACKAGE-default}
7753    case $enableval in
7754    yes) enable_static=yes ;;
7755    no) enable_static=no ;;
7756    *)
7757     enable_static=no
7758      # Look at the argument we got.  We use all the common list separators.
7759      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7760      for pkg in $enableval; do
7761	IFS="$lt_save_ifs"
7762	if test "X$pkg" = "X$p"; then
7763	  enable_static=yes
7764	fi
7765      done
7766      IFS="$lt_save_ifs"
7767      ;;
7768    esac
7769else
7770  enable_static=yes
7771fi
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782# Check whether --with-pic was given.
7783if test "${with_pic+set}" = set; then :
7784  withval=$with_pic; lt_p=${PACKAGE-default}
7785    case $withval in
7786    yes|no) pic_mode=$withval ;;
7787    *)
7788      pic_mode=default
7789      # Look at the argument we got.  We use all the common list separators.
7790      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7791      for lt_pkg in $withval; do
7792	IFS="$lt_save_ifs"
7793	if test "X$lt_pkg" = "X$lt_p"; then
7794	  pic_mode=yes
7795	fi
7796      done
7797      IFS="$lt_save_ifs"
7798      ;;
7799    esac
7800else
7801  pic_mode=default
7802fi
7803
7804
7805test -z "$pic_mode" && pic_mode=default
7806
7807
7808
7809
7810
7811
7812
7813  # Check whether --enable-fast-install was given.
7814if test "${enable_fast_install+set}" = set; then :
7815  enableval=$enable_fast_install; p=${PACKAGE-default}
7816    case $enableval in
7817    yes) enable_fast_install=yes ;;
7818    no) enable_fast_install=no ;;
7819    *)
7820      enable_fast_install=no
7821      # Look at the argument we got.  We use all the common list separators.
7822      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7823      for pkg in $enableval; do
7824	IFS="$lt_save_ifs"
7825	if test "X$pkg" = "X$p"; then
7826	  enable_fast_install=yes
7827	fi
7828      done
7829      IFS="$lt_save_ifs"
7830      ;;
7831    esac
7832else
7833  enable_fast_install=yes
7834fi
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846# This can be used to rebuild libtool when needed
7847LIBTOOL_DEPS="$ltmain"
7848
7849# Always use our own libtool.
7850LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881test -z "$LN_S" && LN_S="ln -s"
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896if test -n "${ZSH_VERSION+set}" ; then
7897   setopt NO_GLOB_SUBST
7898fi
7899
7900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7901$as_echo_n "checking for objdir... " >&6; }
7902if ${lt_cv_objdir+:} false; then :
7903  $as_echo_n "(cached) " >&6
7904else
7905  rm -f .libs 2>/dev/null
7906mkdir .libs 2>/dev/null
7907if test -d .libs; then
7908  lt_cv_objdir=.libs
7909else
7910  # MS-DOS does not allow filenames that begin with a dot.
7911  lt_cv_objdir=_libs
7912fi
7913rmdir .libs 2>/dev/null
7914fi
7915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7916$as_echo "$lt_cv_objdir" >&6; }
7917objdir=$lt_cv_objdir
7918
7919
7920
7921
7922
7923cat >>confdefs.h <<_ACEOF
7924#define LT_OBJDIR "$lt_cv_objdir/"
7925_ACEOF
7926
7927
7928
7929
7930case $host_os in
7931aix3*)
7932  # AIX sometimes has problems with the GCC collect2 program.  For some
7933  # reason, if we set the COLLECT_NAMES environment variable, the problems
7934  # vanish in a puff of smoke.
7935  if test "X${COLLECT_NAMES+set}" != Xset; then
7936    COLLECT_NAMES=
7937    export COLLECT_NAMES
7938  fi
7939  ;;
7940esac
7941
7942# Global variables:
7943ofile=libtool
7944can_build_shared=yes
7945
7946# All known linkers require a `.a' archive for static linking (except MSVC,
7947# which needs '.lib').
7948libext=a
7949
7950with_gnu_ld="$lt_cv_prog_gnu_ld"
7951
7952old_CC="$CC"
7953old_CFLAGS="$CFLAGS"
7954
7955# Set sane defaults for various variables
7956test -z "$CC" && CC=cc
7957test -z "$LTCC" && LTCC=$CC
7958test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7959test -z "$LD" && LD=ld
7960test -z "$ac_objext" && ac_objext=o
7961
7962for cc_temp in $compiler""; do
7963  case $cc_temp in
7964    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7965    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7966    \-*) ;;
7967    *) break;;
7968  esac
7969done
7970cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7971
7972
7973# Only perform the check for file, if the check method requires it
7974test -z "$MAGIC_CMD" && MAGIC_CMD=file
7975case $deplibs_check_method in
7976file_magic*)
7977  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7978    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7979$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7980if ${lt_cv_path_MAGIC_CMD+:} false; then :
7981  $as_echo_n "(cached) " >&6
7982else
7983  case $MAGIC_CMD in
7984[\\/*] |  ?:[\\/]*)
7985  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7986  ;;
7987*)
7988  lt_save_MAGIC_CMD="$MAGIC_CMD"
7989  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7990  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7991  for ac_dir in $ac_dummy; do
7992    IFS="$lt_save_ifs"
7993    test -z "$ac_dir" && ac_dir=.
7994    if test -f $ac_dir/${ac_tool_prefix}file; then
7995      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7996      if test -n "$file_magic_test_file"; then
7997	case $deplibs_check_method in
7998	"file_magic "*)
7999	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8000	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8001	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8002	    $EGREP "$file_magic_regex" > /dev/null; then
8003	    :
8004	  else
8005	    cat <<_LT_EOF 1>&2
8006
8007*** Warning: the command libtool uses to detect shared libraries,
8008*** $file_magic_cmd, produces output that libtool cannot recognize.
8009*** The result is that libtool may fail to recognize shared libraries
8010*** as such.  This will affect the creation of libtool libraries that
8011*** depend on shared libraries, but programs linked with such libtool
8012*** libraries will work regardless of this problem.  Nevertheless, you
8013*** may want to report the problem to your system manager and/or to
8014*** bug-libtool@gnu.org
8015
8016_LT_EOF
8017	  fi ;;
8018	esac
8019      fi
8020      break
8021    fi
8022  done
8023  IFS="$lt_save_ifs"
8024  MAGIC_CMD="$lt_save_MAGIC_CMD"
8025  ;;
8026esac
8027fi
8028
8029MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8030if test -n "$MAGIC_CMD"; then
8031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8032$as_echo "$MAGIC_CMD" >&6; }
8033else
8034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8035$as_echo "no" >&6; }
8036fi
8037
8038
8039
8040
8041
8042if test -z "$lt_cv_path_MAGIC_CMD"; then
8043  if test -n "$ac_tool_prefix"; then
8044    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8045$as_echo_n "checking for file... " >&6; }
8046if ${lt_cv_path_MAGIC_CMD+:} false; then :
8047  $as_echo_n "(cached) " >&6
8048else
8049  case $MAGIC_CMD in
8050[\\/*] |  ?:[\\/]*)
8051  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8052  ;;
8053*)
8054  lt_save_MAGIC_CMD="$MAGIC_CMD"
8055  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8056  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8057  for ac_dir in $ac_dummy; do
8058    IFS="$lt_save_ifs"
8059    test -z "$ac_dir" && ac_dir=.
8060    if test -f $ac_dir/file; then
8061      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8062      if test -n "$file_magic_test_file"; then
8063	case $deplibs_check_method in
8064	"file_magic "*)
8065	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8066	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8067	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8068	    $EGREP "$file_magic_regex" > /dev/null; then
8069	    :
8070	  else
8071	    cat <<_LT_EOF 1>&2
8072
8073*** Warning: the command libtool uses to detect shared libraries,
8074*** $file_magic_cmd, produces output that libtool cannot recognize.
8075*** The result is that libtool may fail to recognize shared libraries
8076*** as such.  This will affect the creation of libtool libraries that
8077*** depend on shared libraries, but programs linked with such libtool
8078*** libraries will work regardless of this problem.  Nevertheless, you
8079*** may want to report the problem to your system manager and/or to
8080*** bug-libtool@gnu.org
8081
8082_LT_EOF
8083	  fi ;;
8084	esac
8085      fi
8086      break
8087    fi
8088  done
8089  IFS="$lt_save_ifs"
8090  MAGIC_CMD="$lt_save_MAGIC_CMD"
8091  ;;
8092esac
8093fi
8094
8095MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8096if test -n "$MAGIC_CMD"; then
8097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8098$as_echo "$MAGIC_CMD" >&6; }
8099else
8100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8101$as_echo "no" >&6; }
8102fi
8103
8104
8105  else
8106    MAGIC_CMD=:
8107  fi
8108fi
8109
8110  fi
8111  ;;
8112esac
8113
8114# Use C for the default configuration in the libtool script
8115
8116lt_save_CC="$CC"
8117ac_ext=c
8118ac_cpp='$CPP $CPPFLAGS'
8119ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8120ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8121ac_compiler_gnu=$ac_cv_c_compiler_gnu
8122
8123
8124# Source file extension for C test sources.
8125ac_ext=c
8126
8127# Object file extension for compiled C test sources.
8128objext=o
8129objext=$objext
8130
8131# Code to be used in simple compile tests
8132lt_simple_compile_test_code="int some_variable = 0;"
8133
8134# Code to be used in simple link tests
8135lt_simple_link_test_code='int main(){return(0);}'
8136
8137
8138
8139
8140
8141
8142
8143# If no C compiler was specified, use CC.
8144LTCC=${LTCC-"$CC"}
8145
8146# If no C compiler flags were specified, use CFLAGS.
8147LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8148
8149# Allow CC to be a program name with arguments.
8150compiler=$CC
8151
8152# Save the default compiler, since it gets overwritten when the other
8153# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8154compiler_DEFAULT=$CC
8155
8156# save warnings/boilerplate of simple test code
8157ac_outfile=conftest.$ac_objext
8158echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8159eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8160_lt_compiler_boilerplate=`cat conftest.err`
8161$RM conftest*
8162
8163ac_outfile=conftest.$ac_objext
8164echo "$lt_simple_link_test_code" >conftest.$ac_ext
8165eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8166_lt_linker_boilerplate=`cat conftest.err`
8167$RM -r conftest*
8168
8169
8170if test -n "$compiler"; then
8171
8172lt_prog_compiler_no_builtin_flag=
8173
8174if test "$GCC" = yes; then
8175  case $cc_basename in
8176  nvcc*)
8177    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8178  *)
8179    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8180  esac
8181
8182  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8183$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8184if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8185  $as_echo_n "(cached) " >&6
8186else
8187  lt_cv_prog_compiler_rtti_exceptions=no
8188   ac_outfile=conftest.$ac_objext
8189   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8190   lt_compiler_flag="-fno-rtti -fno-exceptions"
8191   # Insert the option either (1) after the last *FLAGS variable, or
8192   # (2) before a word containing "conftest.", or (3) at the end.
8193   # Note that $ac_compile itself does not contain backslashes and begins
8194   # with a dollar sign (not a hyphen), so the echo should work correctly.
8195   # The option is referenced via a variable to avoid confusing sed.
8196   lt_compile=`echo "$ac_compile" | $SED \
8197   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8198   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8199   -e 's:$: $lt_compiler_flag:'`
8200   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8201   (eval "$lt_compile" 2>conftest.err)
8202   ac_status=$?
8203   cat conftest.err >&5
8204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205   if (exit $ac_status) && test -s "$ac_outfile"; then
8206     # The compiler can only warn and ignore the option if not recognized
8207     # So say no if there are warnings other than the usual output.
8208     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8209     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8210     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8211       lt_cv_prog_compiler_rtti_exceptions=yes
8212     fi
8213   fi
8214   $RM conftest*
8215
8216fi
8217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8218$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8219
8220if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8221    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8222else
8223    :
8224fi
8225
8226fi
8227
8228
8229
8230
8231
8232
8233  lt_prog_compiler_wl=
8234lt_prog_compiler_pic=
8235lt_prog_compiler_static=
8236
8237
8238  if test "$GCC" = yes; then
8239    lt_prog_compiler_wl='-Wl,'
8240    lt_prog_compiler_static='-static'
8241
8242    case $host_os in
8243      aix*)
8244      # All AIX code is PIC.
8245      if test "$host_cpu" = ia64; then
8246	# AIX 5 now supports IA64 processor
8247	lt_prog_compiler_static='-Bstatic'
8248      fi
8249      ;;
8250
8251    amigaos*)
8252      case $host_cpu in
8253      powerpc)
8254            # see comment about AmigaOS4 .so support
8255            lt_prog_compiler_pic='-fPIC'
8256        ;;
8257      m68k)
8258            # FIXME: we need at least 68020 code to build shared libraries, but
8259            # adding the `-m68020' flag to GCC prevents building anything better,
8260            # like `-m68040'.
8261            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8262        ;;
8263      esac
8264      ;;
8265
8266    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8267      # PIC is the default for these OSes.
8268      ;;
8269
8270    mingw* | cygwin* | pw32* | os2* | cegcc*)
8271      # This hack is so that the source file can tell whether it is being
8272      # built for inclusion in a dll (and should export symbols for example).
8273      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8274      # (--disable-auto-import) libraries
8275      lt_prog_compiler_pic='-DDLL_EXPORT'
8276      ;;
8277
8278    darwin* | rhapsody*)
8279      # PIC is the default on this platform
8280      # Common symbols not allowed in MH_DYLIB files
8281      lt_prog_compiler_pic='-fno-common'
8282      ;;
8283
8284    haiku*)
8285      # PIC is the default for Haiku.
8286      # The "-static" flag exists, but is broken.
8287      lt_prog_compiler_static=
8288      ;;
8289
8290    hpux*)
8291      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8292      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8293      # sets the default TLS model and affects inlining.
8294      case $host_cpu in
8295      hppa*64*)
8296	# +Z the default
8297	;;
8298      *)
8299	lt_prog_compiler_pic='-fPIC'
8300	;;
8301      esac
8302      ;;
8303
8304    interix[3-9]*)
8305      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8306      # Instead, we relocate shared libraries at runtime.
8307      ;;
8308
8309    msdosdjgpp*)
8310      # Just because we use GCC doesn't mean we suddenly get shared libraries
8311      # on systems that don't support them.
8312      lt_prog_compiler_can_build_shared=no
8313      enable_shared=no
8314      ;;
8315
8316    *nto* | *qnx*)
8317      # QNX uses GNU C++, but need to define -shared option too, otherwise
8318      # it will coredump.
8319      lt_prog_compiler_pic='-fPIC -shared'
8320      ;;
8321
8322    sysv4*MP*)
8323      if test -d /usr/nec; then
8324	lt_prog_compiler_pic=-Kconform_pic
8325      fi
8326      ;;
8327
8328    *)
8329      lt_prog_compiler_pic='-fPIC'
8330      ;;
8331    esac
8332
8333    case $cc_basename in
8334    nvcc*) # Cuda Compiler Driver 2.2
8335      lt_prog_compiler_wl='-Xlinker '
8336      if test -n "$lt_prog_compiler_pic"; then
8337        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8338      fi
8339      ;;
8340    esac
8341  else
8342    # PORTME Check for flag to pass linker flags through the system compiler.
8343    case $host_os in
8344    aix*)
8345      lt_prog_compiler_wl='-Wl,'
8346      if test "$host_cpu" = ia64; then
8347	# AIX 5 now supports IA64 processor
8348	lt_prog_compiler_static='-Bstatic'
8349      else
8350	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8351      fi
8352      ;;
8353
8354    mingw* | cygwin* | pw32* | os2* | cegcc*)
8355      # This hack is so that the source file can tell whether it is being
8356      # built for inclusion in a dll (and should export symbols for example).
8357      lt_prog_compiler_pic='-DDLL_EXPORT'
8358      ;;
8359
8360    hpux9* | hpux10* | hpux11*)
8361      lt_prog_compiler_wl='-Wl,'
8362      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8363      # not for PA HP-UX.
8364      case $host_cpu in
8365      hppa*64*|ia64*)
8366	# +Z the default
8367	;;
8368      *)
8369	lt_prog_compiler_pic='+Z'
8370	;;
8371      esac
8372      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8373      lt_prog_compiler_static='${wl}-a ${wl}archive'
8374      ;;
8375
8376    irix5* | irix6* | nonstopux*)
8377      lt_prog_compiler_wl='-Wl,'
8378      # PIC (with -KPIC) is the default.
8379      lt_prog_compiler_static='-non_shared'
8380      ;;
8381
8382    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8383      case $cc_basename in
8384      # old Intel for x86_64 which still supported -KPIC.
8385      ecc*)
8386	lt_prog_compiler_wl='-Wl,'
8387	lt_prog_compiler_pic='-KPIC'
8388	lt_prog_compiler_static='-static'
8389        ;;
8390      # icc used to be incompatible with GCC.
8391      # ICC 10 doesn't accept -KPIC any more.
8392      icc* | ifort*)
8393	lt_prog_compiler_wl='-Wl,'
8394	lt_prog_compiler_pic='-fPIC'
8395	lt_prog_compiler_static='-static'
8396        ;;
8397      # Lahey Fortran 8.1.
8398      lf95*)
8399	lt_prog_compiler_wl='-Wl,'
8400	lt_prog_compiler_pic='--shared'
8401	lt_prog_compiler_static='--static'
8402	;;
8403      nagfor*)
8404	# NAG Fortran compiler
8405	lt_prog_compiler_wl='-Wl,-Wl,,'
8406	lt_prog_compiler_pic='-PIC'
8407	lt_prog_compiler_static='-Bstatic'
8408	;;
8409      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8410        # Portland Group compilers (*not* the Pentium gcc compiler,
8411	# which looks to be a dead project)
8412	lt_prog_compiler_wl='-Wl,'
8413	lt_prog_compiler_pic='-fpic'
8414	lt_prog_compiler_static='-Bstatic'
8415        ;;
8416      ccc*)
8417        lt_prog_compiler_wl='-Wl,'
8418        # All Alpha code is PIC.
8419        lt_prog_compiler_static='-non_shared'
8420        ;;
8421      xl* | bgxl* | bgf* | mpixl*)
8422	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8423	lt_prog_compiler_wl='-Wl,'
8424	lt_prog_compiler_pic='-qpic'
8425	lt_prog_compiler_static='-qstaticlink'
8426	;;
8427      *)
8428	case `$CC -V 2>&1 | sed 5q` in
8429	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8430	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8431	  lt_prog_compiler_pic='-KPIC'
8432	  lt_prog_compiler_static='-Bstatic'
8433	  lt_prog_compiler_wl=''
8434	  ;;
8435	*Sun\ F* | *Sun*Fortran*)
8436	  lt_prog_compiler_pic='-KPIC'
8437	  lt_prog_compiler_static='-Bstatic'
8438	  lt_prog_compiler_wl='-Qoption ld '
8439	  ;;
8440	*Sun\ C*)
8441	  # Sun C 5.9
8442	  lt_prog_compiler_pic='-KPIC'
8443	  lt_prog_compiler_static='-Bstatic'
8444	  lt_prog_compiler_wl='-Wl,'
8445	  ;;
8446        *Intel*\ [CF]*Compiler*)
8447	  lt_prog_compiler_wl='-Wl,'
8448	  lt_prog_compiler_pic='-fPIC'
8449	  lt_prog_compiler_static='-static'
8450	  ;;
8451	*Portland\ Group*)
8452	  lt_prog_compiler_wl='-Wl,'
8453	  lt_prog_compiler_pic='-fpic'
8454	  lt_prog_compiler_static='-Bstatic'
8455	  ;;
8456	esac
8457	;;
8458      esac
8459      ;;
8460
8461    newsos6)
8462      lt_prog_compiler_pic='-KPIC'
8463      lt_prog_compiler_static='-Bstatic'
8464      ;;
8465
8466    *nto* | *qnx*)
8467      # QNX uses GNU C++, but need to define -shared option too, otherwise
8468      # it will coredump.
8469      lt_prog_compiler_pic='-fPIC -shared'
8470      ;;
8471
8472    osf3* | osf4* | osf5*)
8473      lt_prog_compiler_wl='-Wl,'
8474      # All OSF/1 code is PIC.
8475      lt_prog_compiler_static='-non_shared'
8476      ;;
8477
8478    rdos*)
8479      lt_prog_compiler_static='-non_shared'
8480      ;;
8481
8482    solaris*)
8483      lt_prog_compiler_pic='-KPIC'
8484      lt_prog_compiler_static='-Bstatic'
8485      case $cc_basename in
8486      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8487	lt_prog_compiler_wl='-Qoption ld ';;
8488      *)
8489	lt_prog_compiler_wl='-Wl,';;
8490      esac
8491      ;;
8492
8493    sunos4*)
8494      lt_prog_compiler_wl='-Qoption ld '
8495      lt_prog_compiler_pic='-PIC'
8496      lt_prog_compiler_static='-Bstatic'
8497      ;;
8498
8499    sysv4 | sysv4.2uw2* | sysv4.3*)
8500      lt_prog_compiler_wl='-Wl,'
8501      lt_prog_compiler_pic='-KPIC'
8502      lt_prog_compiler_static='-Bstatic'
8503      ;;
8504
8505    sysv4*MP*)
8506      if test -d /usr/nec ;then
8507	lt_prog_compiler_pic='-Kconform_pic'
8508	lt_prog_compiler_static='-Bstatic'
8509      fi
8510      ;;
8511
8512    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8513      lt_prog_compiler_wl='-Wl,'
8514      lt_prog_compiler_pic='-KPIC'
8515      lt_prog_compiler_static='-Bstatic'
8516      ;;
8517
8518    unicos*)
8519      lt_prog_compiler_wl='-Wl,'
8520      lt_prog_compiler_can_build_shared=no
8521      ;;
8522
8523    uts4*)
8524      lt_prog_compiler_pic='-pic'
8525      lt_prog_compiler_static='-Bstatic'
8526      ;;
8527
8528    *)
8529      lt_prog_compiler_can_build_shared=no
8530      ;;
8531    esac
8532  fi
8533
8534case $host_os in
8535  # For platforms which do not support PIC, -DPIC is meaningless:
8536  *djgpp*)
8537    lt_prog_compiler_pic=
8538    ;;
8539  *)
8540    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8541    ;;
8542esac
8543
8544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8545$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8546if ${lt_cv_prog_compiler_pic+:} false; then :
8547  $as_echo_n "(cached) " >&6
8548else
8549  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8550fi
8551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8552$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8553lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8554
8555#
8556# Check to make sure the PIC flag actually works.
8557#
8558if test -n "$lt_prog_compiler_pic"; then
8559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8560$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8561if ${lt_cv_prog_compiler_pic_works+:} false; then :
8562  $as_echo_n "(cached) " >&6
8563else
8564  lt_cv_prog_compiler_pic_works=no
8565   ac_outfile=conftest.$ac_objext
8566   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8567   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8568   # Insert the option either (1) after the last *FLAGS variable, or
8569   # (2) before a word containing "conftest.", or (3) at the end.
8570   # Note that $ac_compile itself does not contain backslashes and begins
8571   # with a dollar sign (not a hyphen), so the echo should work correctly.
8572   # The option is referenced via a variable to avoid confusing sed.
8573   lt_compile=`echo "$ac_compile" | $SED \
8574   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8575   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8576   -e 's:$: $lt_compiler_flag:'`
8577   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8578   (eval "$lt_compile" 2>conftest.err)
8579   ac_status=$?
8580   cat conftest.err >&5
8581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582   if (exit $ac_status) && test -s "$ac_outfile"; then
8583     # The compiler can only warn and ignore the option if not recognized
8584     # So say no if there are warnings other than the usual output.
8585     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8586     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8587     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8588       lt_cv_prog_compiler_pic_works=yes
8589     fi
8590   fi
8591   $RM conftest*
8592
8593fi
8594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8595$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8596
8597if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8598    case $lt_prog_compiler_pic in
8599     "" | " "*) ;;
8600     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8601     esac
8602else
8603    lt_prog_compiler_pic=
8604     lt_prog_compiler_can_build_shared=no
8605fi
8606
8607fi
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619#
8620# Check to make sure the static flag actually works.
8621#
8622wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8624$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8625if ${lt_cv_prog_compiler_static_works+:} false; then :
8626  $as_echo_n "(cached) " >&6
8627else
8628  lt_cv_prog_compiler_static_works=no
8629   save_LDFLAGS="$LDFLAGS"
8630   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8631   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8632   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8633     # The linker can only warn and ignore the option if not recognized
8634     # So say no if there are warnings
8635     if test -s conftest.err; then
8636       # Append any errors to the config.log.
8637       cat conftest.err 1>&5
8638       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8639       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8640       if diff conftest.exp conftest.er2 >/dev/null; then
8641         lt_cv_prog_compiler_static_works=yes
8642       fi
8643     else
8644       lt_cv_prog_compiler_static_works=yes
8645     fi
8646   fi
8647   $RM -r conftest*
8648   LDFLAGS="$save_LDFLAGS"
8649
8650fi
8651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8652$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8653
8654if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8655    :
8656else
8657    lt_prog_compiler_static=
8658fi
8659
8660
8661
8662
8663
8664
8665
8666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8667$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8668if ${lt_cv_prog_compiler_c_o+:} false; then :
8669  $as_echo_n "(cached) " >&6
8670else
8671  lt_cv_prog_compiler_c_o=no
8672   $RM -r conftest 2>/dev/null
8673   mkdir conftest
8674   cd conftest
8675   mkdir out
8676   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8677
8678   lt_compiler_flag="-o out/conftest2.$ac_objext"
8679   # Insert the option either (1) after the last *FLAGS variable, or
8680   # (2) before a word containing "conftest.", or (3) at the end.
8681   # Note that $ac_compile itself does not contain backslashes and begins
8682   # with a dollar sign (not a hyphen), so the echo should work correctly.
8683   lt_compile=`echo "$ac_compile" | $SED \
8684   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8685   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8686   -e 's:$: $lt_compiler_flag:'`
8687   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8688   (eval "$lt_compile" 2>out/conftest.err)
8689   ac_status=$?
8690   cat out/conftest.err >&5
8691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8693   then
8694     # The compiler can only warn and ignore the option if not recognized
8695     # So say no if there are warnings
8696     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8697     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8698     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8699       lt_cv_prog_compiler_c_o=yes
8700     fi
8701   fi
8702   chmod u+w . 2>&5
8703   $RM conftest*
8704   # SGI C++ compiler will create directory out/ii_files/ for
8705   # template instantiation
8706   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8707   $RM out/* && rmdir out
8708   cd ..
8709   $RM -r conftest
8710   $RM conftest*
8711
8712fi
8713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8714$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8715
8716
8717
8718
8719
8720
8721  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8722$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8723if ${lt_cv_prog_compiler_c_o+:} false; then :
8724  $as_echo_n "(cached) " >&6
8725else
8726  lt_cv_prog_compiler_c_o=no
8727   $RM -r conftest 2>/dev/null
8728   mkdir conftest
8729   cd conftest
8730   mkdir out
8731   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8732
8733   lt_compiler_flag="-o out/conftest2.$ac_objext"
8734   # Insert the option either (1) after the last *FLAGS variable, or
8735   # (2) before a word containing "conftest.", or (3) at the end.
8736   # Note that $ac_compile itself does not contain backslashes and begins
8737   # with a dollar sign (not a hyphen), so the echo should work correctly.
8738   lt_compile=`echo "$ac_compile" | $SED \
8739   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8740   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8741   -e 's:$: $lt_compiler_flag:'`
8742   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8743   (eval "$lt_compile" 2>out/conftest.err)
8744   ac_status=$?
8745   cat out/conftest.err >&5
8746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8748   then
8749     # The compiler can only warn and ignore the option if not recognized
8750     # So say no if there are warnings
8751     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8752     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8753     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8754       lt_cv_prog_compiler_c_o=yes
8755     fi
8756   fi
8757   chmod u+w . 2>&5
8758   $RM conftest*
8759   # SGI C++ compiler will create directory out/ii_files/ for
8760   # template instantiation
8761   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8762   $RM out/* && rmdir out
8763   cd ..
8764   $RM -r conftest
8765   $RM conftest*
8766
8767fi
8768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8769$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8770
8771
8772
8773
8774hard_links="nottested"
8775if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8776  # do not overwrite the value of need_locks provided by the user
8777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8778$as_echo_n "checking if we can lock with hard links... " >&6; }
8779  hard_links=yes
8780  $RM conftest*
8781  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8782  touch conftest.a
8783  ln conftest.a conftest.b 2>&5 || hard_links=no
8784  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8786$as_echo "$hard_links" >&6; }
8787  if test "$hard_links" = no; then
8788    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8789$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8790    need_locks=warn
8791  fi
8792else
8793  need_locks=no
8794fi
8795
8796
8797
8798
8799
8800
8801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8802$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8803
8804  runpath_var=
8805  allow_undefined_flag=
8806  always_export_symbols=no
8807  archive_cmds=
8808  archive_expsym_cmds=
8809  compiler_needs_object=no
8810  enable_shared_with_static_runtimes=no
8811  export_dynamic_flag_spec=
8812  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8813  hardcode_automatic=no
8814  hardcode_direct=no
8815  hardcode_direct_absolute=no
8816  hardcode_libdir_flag_spec=
8817  hardcode_libdir_separator=
8818  hardcode_minus_L=no
8819  hardcode_shlibpath_var=unsupported
8820  inherit_rpath=no
8821  link_all_deplibs=unknown
8822  module_cmds=
8823  module_expsym_cmds=
8824  old_archive_from_new_cmds=
8825  old_archive_from_expsyms_cmds=
8826  thread_safe_flag_spec=
8827  whole_archive_flag_spec=
8828  # include_expsyms should be a list of space-separated symbols to be *always*
8829  # included in the symbol list
8830  include_expsyms=
8831  # exclude_expsyms can be an extended regexp of symbols to exclude
8832  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8833  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8834  # as well as any symbol that contains `d'.
8835  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8836  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8837  # platforms (ab)use it in PIC code, but their linkers get confused if
8838  # the symbol is explicitly referenced.  Since portable code cannot
8839  # rely on this symbol name, it's probably fine to never include it in
8840  # preloaded symbol tables.
8841  # Exclude shared library initialization/finalization symbols.
8842  extract_expsyms_cmds=
8843
8844  case $host_os in
8845  cygwin* | mingw* | pw32* | cegcc*)
8846    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8847    # When not using gcc, we currently assume that we are using
8848    # Microsoft Visual C++.
8849    if test "$GCC" != yes; then
8850      with_gnu_ld=no
8851    fi
8852    ;;
8853  interix*)
8854    # we just hope/assume this is gcc and not c89 (= MSVC++)
8855    with_gnu_ld=yes
8856    ;;
8857  openbsd*)
8858    with_gnu_ld=no
8859    ;;
8860  esac
8861
8862  ld_shlibs=yes
8863
8864  # On some targets, GNU ld is compatible enough with the native linker
8865  # that we're better off using the native interface for both.
8866  lt_use_gnu_ld_interface=no
8867  if test "$with_gnu_ld" = yes; then
8868    case $host_os in
8869      aix*)
8870	# The AIX port of GNU ld has always aspired to compatibility
8871	# with the native linker.  However, as the warning in the GNU ld
8872	# block says, versions before 2.19.5* couldn't really create working
8873	# shared libraries, regardless of the interface used.
8874	case `$LD -v 2>&1` in
8875	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8876	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8877	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8878	  *)
8879	    lt_use_gnu_ld_interface=yes
8880	    ;;
8881	esac
8882	;;
8883      *)
8884	lt_use_gnu_ld_interface=yes
8885	;;
8886    esac
8887  fi
8888
8889  if test "$lt_use_gnu_ld_interface" = yes; then
8890    # If archive_cmds runs LD, not CC, wlarc should be empty
8891    wlarc='${wl}'
8892
8893    # Set some defaults for GNU ld with shared library support. These
8894    # are reset later if shared libraries are not supported. Putting them
8895    # here allows them to be overridden if necessary.
8896    runpath_var=LD_RUN_PATH
8897    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8898    export_dynamic_flag_spec='${wl}--export-dynamic'
8899    # ancient GNU ld didn't support --whole-archive et. al.
8900    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8901      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8902    else
8903      whole_archive_flag_spec=
8904    fi
8905    supports_anon_versioning=no
8906    case `$LD -v 2>&1` in
8907      *GNU\ gold*) supports_anon_versioning=yes ;;
8908      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8909      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8910      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8911      *\ 2.11.*) ;; # other 2.11 versions
8912      *) supports_anon_versioning=yes ;;
8913    esac
8914
8915    # See if GNU ld supports shared libraries.
8916    case $host_os in
8917    aix[3-9]*)
8918      # On AIX/PPC, the GNU linker is very broken
8919      if test "$host_cpu" != ia64; then
8920	ld_shlibs=no
8921	cat <<_LT_EOF 1>&2
8922
8923*** Warning: the GNU linker, at least up to release 2.19, is reported
8924*** to be unable to reliably create shared libraries on AIX.
8925*** Therefore, libtool is disabling shared libraries support.  If you
8926*** really care for shared libraries, you may want to install binutils
8927*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8928*** You will then need to restart the configuration process.
8929
8930_LT_EOF
8931      fi
8932      ;;
8933
8934    amigaos*)
8935      case $host_cpu in
8936      powerpc)
8937            # see comment about AmigaOS4 .so support
8938            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8939            archive_expsym_cmds=''
8940        ;;
8941      m68k)
8942            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)'
8943            hardcode_libdir_flag_spec='-L$libdir'
8944            hardcode_minus_L=yes
8945        ;;
8946      esac
8947      ;;
8948
8949    beos*)
8950      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8951	allow_undefined_flag=unsupported
8952	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8953	# support --undefined.  This deserves some investigation.  FIXME
8954	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8955      else
8956	ld_shlibs=no
8957      fi
8958      ;;
8959
8960    cygwin* | mingw* | pw32* | cegcc*)
8961      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8962      # as there is no search path for DLLs.
8963      hardcode_libdir_flag_spec='-L$libdir'
8964      export_dynamic_flag_spec='${wl}--export-all-symbols'
8965      allow_undefined_flag=unsupported
8966      always_export_symbols=no
8967      enable_shared_with_static_runtimes=yes
8968      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'
8969      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8970
8971      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8972        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8973	# If the export-symbols file already is a .def file (1st line
8974	# is EXPORTS), use it as is; otherwise, prepend...
8975	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8976	  cp $export_symbols $output_objdir/$soname.def;
8977	else
8978	  echo EXPORTS > $output_objdir/$soname.def;
8979	  cat $export_symbols >> $output_objdir/$soname.def;
8980	fi~
8981	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8982      else
8983	ld_shlibs=no
8984      fi
8985      ;;
8986
8987    haiku*)
8988      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8989      link_all_deplibs=yes
8990      ;;
8991
8992    interix[3-9]*)
8993      hardcode_direct=no
8994      hardcode_shlibpath_var=no
8995      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8996      export_dynamic_flag_spec='${wl}-E'
8997      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8998      # Instead, shared libraries are loaded at an image base (0x10000000 by
8999      # default) and relocated if they conflict, which is a slow very memory
9000      # consuming and fragmenting process.  To avoid this, we pick a random,
9001      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9002      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9003      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9004      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'
9005      ;;
9006
9007    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9008      tmp_diet=no
9009      if test "$host_os" = linux-dietlibc; then
9010	case $cc_basename in
9011	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9012	esac
9013      fi
9014      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9015	 && test "$tmp_diet" = no
9016      then
9017	tmp_addflag=' $pic_flag'
9018	tmp_sharedflag='-shared'
9019	case $cc_basename,$host_cpu in
9020        pgcc*)				# Portland Group C compiler
9021	  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'
9022	  tmp_addflag=' $pic_flag'
9023	  ;;
9024	pgf77* | pgf90* | pgf95* | pgfortran*)
9025					# Portland Group f77 and f90 compilers
9026	  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'
9027	  tmp_addflag=' $pic_flag -Mnomain' ;;
9028	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9029	  tmp_addflag=' -i_dynamic' ;;
9030	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9031	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9032	ifc* | ifort*)			# Intel Fortran compiler
9033	  tmp_addflag=' -nofor_main' ;;
9034	lf95*)				# Lahey Fortran 8.1
9035	  whole_archive_flag_spec=
9036	  tmp_sharedflag='--shared' ;;
9037	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9038	  tmp_sharedflag='-qmkshrobj'
9039	  tmp_addflag= ;;
9040	nvcc*)	# Cuda Compiler Driver 2.2
9041	  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'
9042	  compiler_needs_object=yes
9043	  ;;
9044	esac
9045	case `$CC -V 2>&1 | sed 5q` in
9046	*Sun\ C*)			# Sun C 5.9
9047	  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'
9048	  compiler_needs_object=yes
9049	  tmp_sharedflag='-G' ;;
9050	*Sun\ F*)			# Sun Fortran 8.3
9051	  tmp_sharedflag='-G' ;;
9052	esac
9053	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9054
9055        if test "x$supports_anon_versioning" = xyes; then
9056          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9057	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9058	    echo "local: *; };" >> $output_objdir/$libname.ver~
9059	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9060        fi
9061
9062	case $cc_basename in
9063	xlf* | bgf* | bgxlf* | mpixlf*)
9064	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9065	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9066	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9067	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9068	  if test "x$supports_anon_versioning" = xyes; then
9069	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9070	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9071	      echo "local: *; };" >> $output_objdir/$libname.ver~
9072	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9073	  fi
9074	  ;;
9075	esac
9076      else
9077        ld_shlibs=no
9078      fi
9079      ;;
9080
9081    netbsd*)
9082      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9083	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9084	wlarc=
9085      else
9086	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9087	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9088      fi
9089      ;;
9090
9091    solaris*)
9092      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9093	ld_shlibs=no
9094	cat <<_LT_EOF 1>&2
9095
9096*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9097*** create shared libraries on Solaris systems.  Therefore, libtool
9098*** is disabling shared libraries support.  We urge you to upgrade GNU
9099*** binutils to release 2.9.1 or newer.  Another option is to modify
9100*** your PATH or compiler configuration so that the native linker is
9101*** used, and then restart.
9102
9103_LT_EOF
9104      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9105	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9106	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9107      else
9108	ld_shlibs=no
9109      fi
9110      ;;
9111
9112    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9113      case `$LD -v 2>&1` in
9114        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9115	ld_shlibs=no
9116	cat <<_LT_EOF 1>&2
9117
9118*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9119*** reliably create shared libraries on SCO systems.  Therefore, libtool
9120*** is disabling shared libraries support.  We urge you to upgrade GNU
9121*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9122*** your PATH or compiler configuration so that the native linker is
9123*** used, and then restart.
9124
9125_LT_EOF
9126	;;
9127	*)
9128	  # For security reasons, it is highly recommended that you always
9129	  # use absolute paths for naming shared libraries, and exclude the
9130	  # DT_RUNPATH tag from executables and libraries.  But doing so
9131	  # requires that you compile everything twice, which is a pain.
9132	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9133	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9134	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9135	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9136	  else
9137	    ld_shlibs=no
9138	  fi
9139	;;
9140      esac
9141      ;;
9142
9143    sunos4*)
9144      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9145      wlarc=
9146      hardcode_direct=yes
9147      hardcode_shlibpath_var=no
9148      ;;
9149
9150    *)
9151      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9152	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9153	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9154      else
9155	ld_shlibs=no
9156      fi
9157      ;;
9158    esac
9159
9160    if test "$ld_shlibs" = no; then
9161      runpath_var=
9162      hardcode_libdir_flag_spec=
9163      export_dynamic_flag_spec=
9164      whole_archive_flag_spec=
9165    fi
9166  else
9167    # PORTME fill in a description of your system's linker (not GNU ld)
9168    case $host_os in
9169    aix3*)
9170      allow_undefined_flag=unsupported
9171      always_export_symbols=yes
9172      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'
9173      # Note: this linker hardcodes the directories in LIBPATH if there
9174      # are no directories specified by -L.
9175      hardcode_minus_L=yes
9176      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9177	# Neither direct hardcoding nor static linking is supported with a
9178	# broken collect2.
9179	hardcode_direct=unsupported
9180      fi
9181      ;;
9182
9183    aix[4-9]*)
9184      if test "$host_cpu" = ia64; then
9185	# On IA64, the linker does run time linking by default, so we don't
9186	# have to do anything special.
9187	aix_use_runtimelinking=no
9188	exp_sym_flag='-Bexport'
9189	no_entry_flag=""
9190      else
9191	# If we're using GNU nm, then we don't want the "-C" option.
9192	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9193	# Also, AIX nm treats weak defined symbols like other global
9194	# defined symbols, whereas GNU nm marks them as "W".
9195	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9196	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9197	else
9198	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9199	fi
9200	aix_use_runtimelinking=no
9201
9202	# Test if we are trying to use run time linking or normal
9203	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9204	# need to do runtime linking.
9205	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9206	  for ld_flag in $LDFLAGS; do
9207	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9208	    aix_use_runtimelinking=yes
9209	    break
9210	  fi
9211	  done
9212	  ;;
9213	esac
9214
9215	exp_sym_flag='-bexport'
9216	no_entry_flag='-bnoentry'
9217      fi
9218
9219      # When large executables or shared objects are built, AIX ld can
9220      # have problems creating the table of contents.  If linking a library
9221      # or program results in "error TOC overflow" add -mminimal-toc to
9222      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9223      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9224
9225      archive_cmds=''
9226      hardcode_direct=yes
9227      hardcode_direct_absolute=yes
9228      hardcode_libdir_separator=':'
9229      link_all_deplibs=yes
9230      file_list_spec='${wl}-f,'
9231
9232      if test "$GCC" = yes; then
9233	case $host_os in aix4.[012]|aix4.[012].*)
9234	# We only want to do this on AIX 4.2 and lower, the check
9235	# below for broken collect2 doesn't work under 4.3+
9236	  collect2name=`${CC} -print-prog-name=collect2`
9237	  if test -f "$collect2name" &&
9238	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9239	  then
9240	  # We have reworked collect2
9241	  :
9242	  else
9243	  # We have old collect2
9244	  hardcode_direct=unsupported
9245	  # It fails to find uninstalled libraries when the uninstalled
9246	  # path is not listed in the libpath.  Setting hardcode_minus_L
9247	  # to unsupported forces relinking
9248	  hardcode_minus_L=yes
9249	  hardcode_libdir_flag_spec='-L$libdir'
9250	  hardcode_libdir_separator=
9251	  fi
9252	  ;;
9253	esac
9254	shared_flag='-shared'
9255	if test "$aix_use_runtimelinking" = yes; then
9256	  shared_flag="$shared_flag "'${wl}-G'
9257	fi
9258      else
9259	# not using gcc
9260	if test "$host_cpu" = ia64; then
9261	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9262	# chokes on -Wl,-G. The following line is correct:
9263	  shared_flag='-G'
9264	else
9265	  if test "$aix_use_runtimelinking" = yes; then
9266	    shared_flag='${wl}-G'
9267	  else
9268	    shared_flag='${wl}-bM:SRE'
9269	  fi
9270	fi
9271      fi
9272
9273      export_dynamic_flag_spec='${wl}-bexpall'
9274      # It seems that -bexpall does not export symbols beginning with
9275      # underscore (_), so it is better to generate a list of symbols to export.
9276      always_export_symbols=yes
9277      if test "$aix_use_runtimelinking" = yes; then
9278	# Warning - without using the other runtime loading flags (-brtl),
9279	# -berok will link without error, but may produce a broken library.
9280	allow_undefined_flag='-berok'
9281        # Determine the default libpath from the value encoded in an
9282        # empty executable.
9283        if test "${lt_cv_aix_libpath+set}" = set; then
9284  aix_libpath=$lt_cv_aix_libpath
9285else
9286  if ${lt_cv_aix_libpath_+:} false; then :
9287  $as_echo_n "(cached) " >&6
9288else
9289  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9290/* end confdefs.h.  */
9291
9292int
9293main ()
9294{
9295
9296  ;
9297  return 0;
9298}
9299_ACEOF
9300if ac_fn_c_try_link "$LINENO"; then :
9301
9302  lt_aix_libpath_sed='
9303      /Import File Strings/,/^$/ {
9304	  /^0/ {
9305	      s/^0  *\([^ ]*\) *$/\1/
9306	      p
9307	  }
9308      }'
9309  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9310  # Check for a 64-bit object if we didn't find anything.
9311  if test -z "$lt_cv_aix_libpath_"; then
9312    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9313  fi
9314fi
9315rm -f core conftest.err conftest.$ac_objext \
9316    conftest$ac_exeext conftest.$ac_ext
9317  if test -z "$lt_cv_aix_libpath_"; then
9318    lt_cv_aix_libpath_="/usr/lib:/lib"
9319  fi
9320
9321fi
9322
9323  aix_libpath=$lt_cv_aix_libpath_
9324fi
9325
9326        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9327        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9328      else
9329	if test "$host_cpu" = ia64; then
9330	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9331	  allow_undefined_flag="-z nodefs"
9332	  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"
9333	else
9334	 # Determine the default libpath from the value encoded in an
9335	 # empty executable.
9336	 if test "${lt_cv_aix_libpath+set}" = set; then
9337  aix_libpath=$lt_cv_aix_libpath
9338else
9339  if ${lt_cv_aix_libpath_+:} false; then :
9340  $as_echo_n "(cached) " >&6
9341else
9342  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9343/* end confdefs.h.  */
9344
9345int
9346main ()
9347{
9348
9349  ;
9350  return 0;
9351}
9352_ACEOF
9353if ac_fn_c_try_link "$LINENO"; then :
9354
9355  lt_aix_libpath_sed='
9356      /Import File Strings/,/^$/ {
9357	  /^0/ {
9358	      s/^0  *\([^ ]*\) *$/\1/
9359	      p
9360	  }
9361      }'
9362  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9363  # Check for a 64-bit object if we didn't find anything.
9364  if test -z "$lt_cv_aix_libpath_"; then
9365    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9366  fi
9367fi
9368rm -f core conftest.err conftest.$ac_objext \
9369    conftest$ac_exeext conftest.$ac_ext
9370  if test -z "$lt_cv_aix_libpath_"; then
9371    lt_cv_aix_libpath_="/usr/lib:/lib"
9372  fi
9373
9374fi
9375
9376  aix_libpath=$lt_cv_aix_libpath_
9377fi
9378
9379	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9380	  # Warning - without using the other run time loading flags,
9381	  # -berok will link without error, but may produce a broken library.
9382	  no_undefined_flag=' ${wl}-bernotok'
9383	  allow_undefined_flag=' ${wl}-berok'
9384	  if test "$with_gnu_ld" = yes; then
9385	    # We only use this code for GNU lds that support --whole-archive.
9386	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9387	  else
9388	    # Exported symbols can be pulled into shared objects from archives
9389	    whole_archive_flag_spec='$convenience'
9390	  fi
9391	  archive_cmds_need_lc=yes
9392	  # This is similar to how AIX traditionally builds its shared libraries.
9393	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9394	fi
9395      fi
9396      ;;
9397
9398    amigaos*)
9399      case $host_cpu in
9400      powerpc)
9401            # see comment about AmigaOS4 .so support
9402            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9403            archive_expsym_cmds=''
9404        ;;
9405      m68k)
9406            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)'
9407            hardcode_libdir_flag_spec='-L$libdir'
9408            hardcode_minus_L=yes
9409        ;;
9410      esac
9411      ;;
9412
9413    bsdi[45]*)
9414      export_dynamic_flag_spec=-rdynamic
9415      ;;
9416
9417    cygwin* | mingw* | pw32* | cegcc*)
9418      # When not using gcc, we currently assume that we are using
9419      # Microsoft Visual C++.
9420      # hardcode_libdir_flag_spec is actually meaningless, as there is
9421      # no search path for DLLs.
9422      case $cc_basename in
9423      cl*)
9424	# Native MSVC
9425	hardcode_libdir_flag_spec=' '
9426	allow_undefined_flag=unsupported
9427	always_export_symbols=yes
9428	file_list_spec='@'
9429	# Tell ltmain to make .lib files, not .a files.
9430	libext=lib
9431	# Tell ltmain to make .dll files, not .so files.
9432	shrext_cmds=".dll"
9433	# FIXME: Setting linknames here is a bad hack.
9434	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9435	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9436	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9437	  else
9438	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9439	  fi~
9440	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9441	  linknames='
9442	# The linker will not automatically build a static lib if we build a DLL.
9443	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9444	enable_shared_with_static_runtimes=yes
9445	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9446	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9447	# Don't use ranlib
9448	old_postinstall_cmds='chmod 644 $oldlib'
9449	postlink_cmds='lt_outputfile="@OUTPUT@"~
9450	  lt_tool_outputfile="@TOOL_OUTPUT@"~
9451	  case $lt_outputfile in
9452	    *.exe|*.EXE) ;;
9453	    *)
9454	      lt_outputfile="$lt_outputfile.exe"
9455	      lt_tool_outputfile="$lt_tool_outputfile.exe"
9456	      ;;
9457	  esac~
9458	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9459	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9460	    $RM "$lt_outputfile.manifest";
9461	  fi'
9462	;;
9463      *)
9464	# Assume MSVC wrapper
9465	hardcode_libdir_flag_spec=' '
9466	allow_undefined_flag=unsupported
9467	# Tell ltmain to make .lib files, not .a files.
9468	libext=lib
9469	# Tell ltmain to make .dll files, not .so files.
9470	shrext_cmds=".dll"
9471	# FIXME: Setting linknames here is a bad hack.
9472	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9473	# The linker will automatically build a .lib file if we build a DLL.
9474	old_archive_from_new_cmds='true'
9475	# FIXME: Should let the user specify the lib program.
9476	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9477	enable_shared_with_static_runtimes=yes
9478	;;
9479      esac
9480      ;;
9481
9482    darwin* | rhapsody*)
9483
9484
9485  archive_cmds_need_lc=no
9486  hardcode_direct=no
9487  hardcode_automatic=yes
9488  hardcode_shlibpath_var=unsupported
9489  if test "$lt_cv_ld_force_load" = "yes"; then
9490    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\"`'
9491
9492  else
9493    whole_archive_flag_spec=''
9494  fi
9495  link_all_deplibs=yes
9496  allow_undefined_flag="$_lt_dar_allow_undefined"
9497  case $cc_basename in
9498     ifort*) _lt_dar_can_shared=yes ;;
9499     *) _lt_dar_can_shared=$GCC ;;
9500  esac
9501  if test "$_lt_dar_can_shared" = "yes"; then
9502    output_verbose_link_cmd=func_echo_all
9503    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9504    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9505    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}"
9506    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}"
9507
9508  else
9509  ld_shlibs=no
9510  fi
9511
9512      ;;
9513
9514    dgux*)
9515      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9516      hardcode_libdir_flag_spec='-L$libdir'
9517      hardcode_shlibpath_var=no
9518      ;;
9519
9520    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9521    # support.  Future versions do this automatically, but an explicit c++rt0.o
9522    # does not break anything, and helps significantly (at the cost of a little
9523    # extra space).
9524    freebsd2.2*)
9525      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9526      hardcode_libdir_flag_spec='-R$libdir'
9527      hardcode_direct=yes
9528      hardcode_shlibpath_var=no
9529      ;;
9530
9531    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9532    freebsd2.*)
9533      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9534      hardcode_direct=yes
9535      hardcode_minus_L=yes
9536      hardcode_shlibpath_var=no
9537      ;;
9538
9539    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9540    freebsd* | dragonfly*)
9541      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9542      hardcode_libdir_flag_spec='-R$libdir'
9543      hardcode_direct=yes
9544      hardcode_shlibpath_var=no
9545      ;;
9546
9547    hpux9*)
9548      if test "$GCC" = yes; then
9549	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9550      else
9551	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9552      fi
9553      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9554      hardcode_libdir_separator=:
9555      hardcode_direct=yes
9556
9557      # hardcode_minus_L: Not really in the search PATH,
9558      # but as the default location of the library.
9559      hardcode_minus_L=yes
9560      export_dynamic_flag_spec='${wl}-E'
9561      ;;
9562
9563    hpux10*)
9564      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9565	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9566      else
9567	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9568      fi
9569      if test "$with_gnu_ld" = no; then
9570	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9571	hardcode_libdir_separator=:
9572	hardcode_direct=yes
9573	hardcode_direct_absolute=yes
9574	export_dynamic_flag_spec='${wl}-E'
9575	# hardcode_minus_L: Not really in the search PATH,
9576	# but as the default location of the library.
9577	hardcode_minus_L=yes
9578      fi
9579      ;;
9580
9581    hpux11*)
9582      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9583	case $host_cpu in
9584	hppa*64*)
9585	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9586	  ;;
9587	ia64*)
9588	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9589	  ;;
9590	*)
9591	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9592	  ;;
9593	esac
9594      else
9595	case $host_cpu in
9596	hppa*64*)
9597	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9598	  ;;
9599	ia64*)
9600	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9601	  ;;
9602	*)
9603
9604	  # Older versions of the 11.00 compiler do not understand -b yet
9605	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9606	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9607$as_echo_n "checking if $CC understands -b... " >&6; }
9608if ${lt_cv_prog_compiler__b+:} false; then :
9609  $as_echo_n "(cached) " >&6
9610else
9611  lt_cv_prog_compiler__b=no
9612   save_LDFLAGS="$LDFLAGS"
9613   LDFLAGS="$LDFLAGS -b"
9614   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9615   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9616     # The linker can only warn and ignore the option if not recognized
9617     # So say no if there are warnings
9618     if test -s conftest.err; then
9619       # Append any errors to the config.log.
9620       cat conftest.err 1>&5
9621       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9622       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9623       if diff conftest.exp conftest.er2 >/dev/null; then
9624         lt_cv_prog_compiler__b=yes
9625       fi
9626     else
9627       lt_cv_prog_compiler__b=yes
9628     fi
9629   fi
9630   $RM -r conftest*
9631   LDFLAGS="$save_LDFLAGS"
9632
9633fi
9634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9635$as_echo "$lt_cv_prog_compiler__b" >&6; }
9636
9637if test x"$lt_cv_prog_compiler__b" = xyes; then
9638    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9639else
9640    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9641fi
9642
9643	  ;;
9644	esac
9645      fi
9646      if test "$with_gnu_ld" = no; then
9647	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9648	hardcode_libdir_separator=:
9649
9650	case $host_cpu in
9651	hppa*64*|ia64*)
9652	  hardcode_direct=no
9653	  hardcode_shlibpath_var=no
9654	  ;;
9655	*)
9656	  hardcode_direct=yes
9657	  hardcode_direct_absolute=yes
9658	  export_dynamic_flag_spec='${wl}-E'
9659
9660	  # hardcode_minus_L: Not really in the search PATH,
9661	  # but as the default location of the library.
9662	  hardcode_minus_L=yes
9663	  ;;
9664	esac
9665      fi
9666      ;;
9667
9668    irix5* | irix6* | nonstopux*)
9669      if test "$GCC" = yes; then
9670	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'
9671	# Try to use the -exported_symbol ld option, if it does not
9672	# work, assume that -exports_file does not work either and
9673	# implicitly export all symbols.
9674	# This should be the same for all languages, so no per-tag cache variable.
9675	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9676$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9677if ${lt_cv_irix_exported_symbol+:} false; then :
9678  $as_echo_n "(cached) " >&6
9679else
9680  save_LDFLAGS="$LDFLAGS"
9681	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9682	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9683/* end confdefs.h.  */
9684int foo (void) { return 0; }
9685_ACEOF
9686if ac_fn_c_try_link "$LINENO"; then :
9687  lt_cv_irix_exported_symbol=yes
9688else
9689  lt_cv_irix_exported_symbol=no
9690fi
9691rm -f core conftest.err conftest.$ac_objext \
9692    conftest$ac_exeext conftest.$ac_ext
9693           LDFLAGS="$save_LDFLAGS"
9694fi
9695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9696$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9697	if test "$lt_cv_irix_exported_symbol" = yes; then
9698          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'
9699	fi
9700      else
9701	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'
9702	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'
9703      fi
9704      archive_cmds_need_lc='no'
9705      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9706      hardcode_libdir_separator=:
9707      inherit_rpath=yes
9708      link_all_deplibs=yes
9709      ;;
9710
9711    netbsd*)
9712      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9713	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9714      else
9715	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9716      fi
9717      hardcode_libdir_flag_spec='-R$libdir'
9718      hardcode_direct=yes
9719      hardcode_shlibpath_var=no
9720      ;;
9721
9722    newsos6)
9723      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9724      hardcode_direct=yes
9725      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9726      hardcode_libdir_separator=:
9727      hardcode_shlibpath_var=no
9728      ;;
9729
9730    *nto* | *qnx*)
9731      ;;
9732
9733    openbsd*)
9734      if test -f /usr/libexec/ld.so; then
9735	hardcode_direct=yes
9736	hardcode_shlibpath_var=no
9737	hardcode_direct_absolute=yes
9738	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9739	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9740	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9741	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9742	  export_dynamic_flag_spec='${wl}-E'
9743	else
9744	  case $host_os in
9745	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9746	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9747	     hardcode_libdir_flag_spec='-R$libdir'
9748	     ;;
9749	   *)
9750	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9751	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9752	     ;;
9753	  esac
9754	fi
9755      else
9756	ld_shlibs=no
9757      fi
9758      ;;
9759
9760    os2*)
9761      hardcode_libdir_flag_spec='-L$libdir'
9762      hardcode_minus_L=yes
9763      allow_undefined_flag=unsupported
9764      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9765      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9766      ;;
9767
9768    osf3*)
9769      if test "$GCC" = yes; then
9770	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9771	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'
9772      else
9773	allow_undefined_flag=' -expect_unresolved \*'
9774	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'
9775      fi
9776      archive_cmds_need_lc='no'
9777      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9778      hardcode_libdir_separator=:
9779      ;;
9780
9781    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9782      if test "$GCC" = yes; then
9783	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9784	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'
9785	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9786      else
9787	allow_undefined_flag=' -expect_unresolved \*'
9788	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'
9789	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~
9790	$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'
9791
9792	# Both c and cxx compiler support -rpath directly
9793	hardcode_libdir_flag_spec='-rpath $libdir'
9794      fi
9795      archive_cmds_need_lc='no'
9796      hardcode_libdir_separator=:
9797      ;;
9798
9799    solaris*)
9800      no_undefined_flag=' -z defs'
9801      if test "$GCC" = yes; then
9802	wlarc='${wl}'
9803	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9804	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9805	  $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'
9806      else
9807	case `$CC -V 2>&1` in
9808	*"Compilers 5.0"*)
9809	  wlarc=''
9810	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9811	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9812	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9813	  ;;
9814	*)
9815	  wlarc='${wl}'
9816	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9817	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9818	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9819	  ;;
9820	esac
9821      fi
9822      hardcode_libdir_flag_spec='-R$libdir'
9823      hardcode_shlibpath_var=no
9824      case $host_os in
9825      solaris2.[0-5] | solaris2.[0-5].*) ;;
9826      *)
9827	# The compiler driver will combine and reorder linker options,
9828	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9829	# but is careful enough not to reorder.
9830	# Supported since Solaris 2.6 (maybe 2.5.1?)
9831	if test "$GCC" = yes; then
9832	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9833	else
9834	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9835	fi
9836	;;
9837      esac
9838      link_all_deplibs=yes
9839      ;;
9840
9841    sunos4*)
9842      if test "x$host_vendor" = xsequent; then
9843	# Use $CC to link under sequent, because it throws in some extra .o
9844	# files that make .init and .fini sections work.
9845	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9846      else
9847	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9848      fi
9849      hardcode_libdir_flag_spec='-L$libdir'
9850      hardcode_direct=yes
9851      hardcode_minus_L=yes
9852      hardcode_shlibpath_var=no
9853      ;;
9854
9855    sysv4)
9856      case $host_vendor in
9857	sni)
9858	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9859	  hardcode_direct=yes # is this really true???
9860	;;
9861	siemens)
9862	  ## LD is ld it makes a PLAMLIB
9863	  ## CC just makes a GrossModule.
9864	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9865	  reload_cmds='$CC -r -o $output$reload_objs'
9866	  hardcode_direct=no
9867        ;;
9868	motorola)
9869	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9870	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9871	;;
9872      esac
9873      runpath_var='LD_RUN_PATH'
9874      hardcode_shlibpath_var=no
9875      ;;
9876
9877    sysv4.3*)
9878      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9879      hardcode_shlibpath_var=no
9880      export_dynamic_flag_spec='-Bexport'
9881      ;;
9882
9883    sysv4*MP*)
9884      if test -d /usr/nec; then
9885	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886	hardcode_shlibpath_var=no
9887	runpath_var=LD_RUN_PATH
9888	hardcode_runpath_var=yes
9889	ld_shlibs=yes
9890      fi
9891      ;;
9892
9893    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9894      no_undefined_flag='${wl}-z,text'
9895      archive_cmds_need_lc=no
9896      hardcode_shlibpath_var=no
9897      runpath_var='LD_RUN_PATH'
9898
9899      if test "$GCC" = yes; then
9900	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9901	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9902      else
9903	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9904	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9905      fi
9906      ;;
9907
9908    sysv5* | sco3.2v5* | sco5v6*)
9909      # Note: We can NOT use -z defs as we might desire, because we do not
9910      # link with -lc, and that would cause any symbols used from libc to
9911      # always be unresolved, which means just about no library would
9912      # ever link correctly.  If we're not using GNU ld we use -z text
9913      # though, which does catch some bad symbols but isn't as heavy-handed
9914      # as -z defs.
9915      no_undefined_flag='${wl}-z,text'
9916      allow_undefined_flag='${wl}-z,nodefs'
9917      archive_cmds_need_lc=no
9918      hardcode_shlibpath_var=no
9919      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9920      hardcode_libdir_separator=':'
9921      link_all_deplibs=yes
9922      export_dynamic_flag_spec='${wl}-Bexport'
9923      runpath_var='LD_RUN_PATH'
9924
9925      if test "$GCC" = yes; then
9926	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9927	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9928      else
9929	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9930	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9931      fi
9932      ;;
9933
9934    uts4*)
9935      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9936      hardcode_libdir_flag_spec='-L$libdir'
9937      hardcode_shlibpath_var=no
9938      ;;
9939
9940    *)
9941      ld_shlibs=no
9942      ;;
9943    esac
9944
9945    if test x$host_vendor = xsni; then
9946      case $host in
9947      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9948	export_dynamic_flag_spec='${wl}-Blargedynsym'
9949	;;
9950      esac
9951    fi
9952  fi
9953
9954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9955$as_echo "$ld_shlibs" >&6; }
9956test "$ld_shlibs" = no && can_build_shared=no
9957
9958with_gnu_ld=$with_gnu_ld
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974#
9975# Do we need to explicitly link libc?
9976#
9977case "x$archive_cmds_need_lc" in
9978x|xyes)
9979  # Assume -lc should be added
9980  archive_cmds_need_lc=yes
9981
9982  if test "$enable_shared" = yes && test "$GCC" = yes; then
9983    case $archive_cmds in
9984    *'~'*)
9985      # FIXME: we may have to deal with multi-command sequences.
9986      ;;
9987    '$CC '*)
9988      # Test whether the compiler implicitly links with -lc since on some
9989      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9990      # to ld, don't add -lc before -lgcc.
9991      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9992$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9993if ${lt_cv_archive_cmds_need_lc+:} false; then :
9994  $as_echo_n "(cached) " >&6
9995else
9996  $RM conftest*
9997	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9998
9999	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10000  (eval $ac_compile) 2>&5
10001  ac_status=$?
10002  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10003  test $ac_status = 0; } 2>conftest.err; then
10004	  soname=conftest
10005	  lib=conftest
10006	  libobjs=conftest.$ac_objext
10007	  deplibs=
10008	  wl=$lt_prog_compiler_wl
10009	  pic_flag=$lt_prog_compiler_pic
10010	  compiler_flags=-v
10011	  linker_flags=-v
10012	  verstring=
10013	  output_objdir=.
10014	  libname=conftest
10015	  lt_save_allow_undefined_flag=$allow_undefined_flag
10016	  allow_undefined_flag=
10017	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10018  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10019  ac_status=$?
10020  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10021  test $ac_status = 0; }
10022	  then
10023	    lt_cv_archive_cmds_need_lc=no
10024	  else
10025	    lt_cv_archive_cmds_need_lc=yes
10026	  fi
10027	  allow_undefined_flag=$lt_save_allow_undefined_flag
10028	else
10029	  cat conftest.err 1>&5
10030	fi
10031	$RM conftest*
10032
10033fi
10034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10035$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10036      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10037      ;;
10038    esac
10039  fi
10040  ;;
10041esac
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10195$as_echo_n "checking dynamic linker characteristics... " >&6; }
10196
10197if test "$GCC" = yes; then
10198  case $host_os in
10199    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10200    *) lt_awk_arg="/^libraries:/" ;;
10201  esac
10202  case $host_os in
10203    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10204    *) lt_sed_strip_eq="s,=/,/,g" ;;
10205  esac
10206  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10207  case $lt_search_path_spec in
10208  *\;*)
10209    # if the path contains ";" then we assume it to be the separator
10210    # otherwise default to the standard path separator (i.e. ":") - it is
10211    # assumed that no part of a normal pathname contains ";" but that should
10212    # okay in the real world where ";" in dirpaths is itself problematic.
10213    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10214    ;;
10215  *)
10216    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10217    ;;
10218  esac
10219  # Ok, now we have the path, separated by spaces, we can step through it
10220  # and add multilib dir if necessary.
10221  lt_tmp_lt_search_path_spec=
10222  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10223  for lt_sys_path in $lt_search_path_spec; do
10224    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10225      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10226    else
10227      test -d "$lt_sys_path" && \
10228	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10229    fi
10230  done
10231  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10232BEGIN {RS=" "; FS="/|\n";} {
10233  lt_foo="";
10234  lt_count=0;
10235  for (lt_i = NF; lt_i > 0; lt_i--) {
10236    if ($lt_i != "" && $lt_i != ".") {
10237      if ($lt_i == "..") {
10238        lt_count++;
10239      } else {
10240        if (lt_count == 0) {
10241          lt_foo="/" $lt_i lt_foo;
10242        } else {
10243          lt_count--;
10244        }
10245      }
10246    }
10247  }
10248  if (lt_foo != "") { lt_freq[lt_foo]++; }
10249  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10250}'`
10251  # AWK program above erroneously prepends '/' to C:/dos/paths
10252  # for these hosts.
10253  case $host_os in
10254    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10255      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10256  esac
10257  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10258else
10259  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10260fi
10261library_names_spec=
10262libname_spec='lib$name'
10263soname_spec=
10264shrext_cmds=".so"
10265postinstall_cmds=
10266postuninstall_cmds=
10267finish_cmds=
10268finish_eval=
10269shlibpath_var=
10270shlibpath_overrides_runpath=unknown
10271version_type=none
10272dynamic_linker="$host_os ld.so"
10273sys_lib_dlsearch_path_spec="/lib /usr/lib"
10274need_lib_prefix=unknown
10275hardcode_into_libs=no
10276
10277# when you set need_version to no, make sure it does not cause -set_version
10278# flags to be left without arguments
10279need_version=unknown
10280
10281case $host_os in
10282aix3*)
10283  version_type=linux # correct to gnu/linux during the next big refactor
10284  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10285  shlibpath_var=LIBPATH
10286
10287  # AIX 3 has no versioning support, so we append a major version to the name.
10288  soname_spec='${libname}${release}${shared_ext}$major'
10289  ;;
10290
10291aix[4-9]*)
10292  version_type=linux # correct to gnu/linux during the next big refactor
10293  need_lib_prefix=no
10294  need_version=no
10295  hardcode_into_libs=yes
10296  if test "$host_cpu" = ia64; then
10297    # AIX 5 supports IA64
10298    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10299    shlibpath_var=LD_LIBRARY_PATH
10300  else
10301    # With GCC up to 2.95.x, collect2 would create an import file
10302    # for dependence libraries.  The import file would start with
10303    # the line `#! .'.  This would cause the generated library to
10304    # depend on `.', always an invalid library.  This was fixed in
10305    # development snapshots of GCC prior to 3.0.
10306    case $host_os in
10307      aix4 | aix4.[01] | aix4.[01].*)
10308      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10309	   echo ' yes '
10310	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10311	:
10312      else
10313	can_build_shared=no
10314      fi
10315      ;;
10316    esac
10317    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10318    # soname into executable. Probably we can add versioning support to
10319    # collect2, so additional links can be useful in future.
10320    if test "$aix_use_runtimelinking" = yes; then
10321      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10322      # instead of lib<name>.a to let people know that these are not
10323      # typical AIX shared libraries.
10324      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10325    else
10326      # We preserve .a as extension for shared libraries through AIX4.2
10327      # and later when we are not doing run time linking.
10328      library_names_spec='${libname}${release}.a $libname.a'
10329      soname_spec='${libname}${release}${shared_ext}$major'
10330    fi
10331    shlibpath_var=LIBPATH
10332  fi
10333  ;;
10334
10335amigaos*)
10336  case $host_cpu in
10337  powerpc)
10338    # Since July 2007 AmigaOS4 officially supports .so libraries.
10339    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10340    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10341    ;;
10342  m68k)
10343    library_names_spec='$libname.ixlibrary $libname.a'
10344    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10345    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
10346    ;;
10347  esac
10348  ;;
10349
10350beos*)
10351  library_names_spec='${libname}${shared_ext}'
10352  dynamic_linker="$host_os ld.so"
10353  shlibpath_var=LIBRARY_PATH
10354  ;;
10355
10356bsdi[45]*)
10357  version_type=linux # correct to gnu/linux during the next big refactor
10358  need_version=no
10359  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10360  soname_spec='${libname}${release}${shared_ext}$major'
10361  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10362  shlibpath_var=LD_LIBRARY_PATH
10363  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10364  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10365  # the default ld.so.conf also contains /usr/contrib/lib and
10366  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10367  # libtool to hard-code these into programs
10368  ;;
10369
10370cygwin* | mingw* | pw32* | cegcc*)
10371  version_type=windows
10372  shrext_cmds=".dll"
10373  need_version=no
10374  need_lib_prefix=no
10375
10376  case $GCC,$cc_basename in
10377  yes,*)
10378    # gcc
10379    library_names_spec='$libname.dll.a'
10380    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10381    postinstall_cmds='base_file=`basename \${file}`~
10382      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10383      dldir=$destdir/`dirname \$dlpath`~
10384      test -d \$dldir || mkdir -p \$dldir~
10385      $install_prog $dir/$dlname \$dldir/$dlname~
10386      chmod a+x \$dldir/$dlname~
10387      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10388        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10389      fi'
10390    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10391      dlpath=$dir/\$dldll~
10392       $RM \$dlpath'
10393    shlibpath_overrides_runpath=yes
10394
10395    case $host_os in
10396    cygwin*)
10397      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10398      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10399
10400      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10401      ;;
10402    mingw* | cegcc*)
10403      # MinGW DLLs use traditional 'lib' prefix
10404      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10405      ;;
10406    pw32*)
10407      # pw32 DLLs use 'pw' prefix rather than 'lib'
10408      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10409      ;;
10410    esac
10411    dynamic_linker='Win32 ld.exe'
10412    ;;
10413
10414  *,cl*)
10415    # Native MSVC
10416    libname_spec='$name'
10417    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10418    library_names_spec='${libname}.dll.lib'
10419
10420    case $build_os in
10421    mingw*)
10422      sys_lib_search_path_spec=
10423      lt_save_ifs=$IFS
10424      IFS=';'
10425      for lt_path in $LIB
10426      do
10427        IFS=$lt_save_ifs
10428        # Let DOS variable expansion print the short 8.3 style file name.
10429        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10430        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10431      done
10432      IFS=$lt_save_ifs
10433      # Convert to MSYS style.
10434      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10435      ;;
10436    cygwin*)
10437      # Convert to unix form, then to dos form, then back to unix form
10438      # but this time dos style (no spaces!) so that the unix form looks
10439      # like /cygdrive/c/PROGRA~1:/cygdr...
10440      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10441      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10442      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10443      ;;
10444    *)
10445      sys_lib_search_path_spec="$LIB"
10446      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10447        # It is most probably a Windows format PATH.
10448        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10449      else
10450        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10451      fi
10452      # FIXME: find the short name or the path components, as spaces are
10453      # common. (e.g. "Program Files" -> "PROGRA~1")
10454      ;;
10455    esac
10456
10457    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10458    postinstall_cmds='base_file=`basename \${file}`~
10459      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10460      dldir=$destdir/`dirname \$dlpath`~
10461      test -d \$dldir || mkdir -p \$dldir~
10462      $install_prog $dir/$dlname \$dldir/$dlname'
10463    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10464      dlpath=$dir/\$dldll~
10465       $RM \$dlpath'
10466    shlibpath_overrides_runpath=yes
10467    dynamic_linker='Win32 link.exe'
10468    ;;
10469
10470  *)
10471    # Assume MSVC wrapper
10472    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10473    dynamic_linker='Win32 ld.exe'
10474    ;;
10475  esac
10476  # FIXME: first we should search . and the directory the executable is in
10477  shlibpath_var=PATH
10478  ;;
10479
10480darwin* | rhapsody*)
10481  dynamic_linker="$host_os dyld"
10482  version_type=darwin
10483  need_lib_prefix=no
10484  need_version=no
10485  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10486  soname_spec='${libname}${release}${major}$shared_ext'
10487  shlibpath_overrides_runpath=yes
10488  shlibpath_var=DYLD_LIBRARY_PATH
10489  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10490
10491  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10492  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10493  ;;
10494
10495dgux*)
10496  version_type=linux # correct to gnu/linux during the next big refactor
10497  need_lib_prefix=no
10498  need_version=no
10499  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10500  soname_spec='${libname}${release}${shared_ext}$major'
10501  shlibpath_var=LD_LIBRARY_PATH
10502  ;;
10503
10504freebsd* | dragonfly*)
10505  # DragonFly does not have aout.  When/if they implement a new
10506  # versioning mechanism, adjust this.
10507  if test -x /usr/bin/objformat; then
10508    objformat=`/usr/bin/objformat`
10509  else
10510    case $host_os in
10511    freebsd[23].*) objformat=aout ;;
10512    *) objformat=elf ;;
10513    esac
10514  fi
10515  version_type=freebsd-$objformat
10516  case $version_type in
10517    freebsd-elf*)
10518      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10519      need_version=no
10520      need_lib_prefix=no
10521      ;;
10522    freebsd-*)
10523      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10524      need_version=yes
10525      ;;
10526  esac
10527  shlibpath_var=LD_LIBRARY_PATH
10528  case $host_os in
10529  freebsd2.*)
10530    shlibpath_overrides_runpath=yes
10531    ;;
10532  freebsd3.[01]* | freebsdelf3.[01]*)
10533    shlibpath_overrides_runpath=yes
10534    hardcode_into_libs=yes
10535    ;;
10536  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10537  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10538    shlibpath_overrides_runpath=no
10539    hardcode_into_libs=yes
10540    ;;
10541  *) # from 4.6 on, and DragonFly
10542    shlibpath_overrides_runpath=yes
10543    hardcode_into_libs=yes
10544    ;;
10545  esac
10546  ;;
10547
10548gnu*)
10549  version_type=linux # correct to gnu/linux during the next big refactor
10550  need_lib_prefix=no
10551  need_version=no
10552  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10553  soname_spec='${libname}${release}${shared_ext}$major'
10554  shlibpath_var=LD_LIBRARY_PATH
10555  shlibpath_overrides_runpath=no
10556  hardcode_into_libs=yes
10557  ;;
10558
10559haiku*)
10560  version_type=linux # correct to gnu/linux during the next big refactor
10561  need_lib_prefix=no
10562  need_version=no
10563  dynamic_linker="$host_os runtime_loader"
10564  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10565  soname_spec='${libname}${release}${shared_ext}$major'
10566  shlibpath_var=LIBRARY_PATH
10567  shlibpath_overrides_runpath=yes
10568  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10569  hardcode_into_libs=yes
10570  ;;
10571
10572hpux9* | hpux10* | hpux11*)
10573  # Give a soname corresponding to the major version so that dld.sl refuses to
10574  # link against other versions.
10575  version_type=sunos
10576  need_lib_prefix=no
10577  need_version=no
10578  case $host_cpu in
10579  ia64*)
10580    shrext_cmds='.so'
10581    hardcode_into_libs=yes
10582    dynamic_linker="$host_os dld.so"
10583    shlibpath_var=LD_LIBRARY_PATH
10584    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10585    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10586    soname_spec='${libname}${release}${shared_ext}$major'
10587    if test "X$HPUX_IA64_MODE" = X32; then
10588      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10589    else
10590      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10591    fi
10592    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10593    ;;
10594  hppa*64*)
10595    shrext_cmds='.sl'
10596    hardcode_into_libs=yes
10597    dynamic_linker="$host_os dld.sl"
10598    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10599    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10600    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10601    soname_spec='${libname}${release}${shared_ext}$major'
10602    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10603    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10604    ;;
10605  *)
10606    shrext_cmds='.sl'
10607    dynamic_linker="$host_os dld.sl"
10608    shlibpath_var=SHLIB_PATH
10609    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10610    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10611    soname_spec='${libname}${release}${shared_ext}$major'
10612    ;;
10613  esac
10614  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10615  postinstall_cmds='chmod 555 $lib'
10616  # or fails outright, so override atomically:
10617  install_override_mode=555
10618  ;;
10619
10620interix[3-9]*)
10621  version_type=linux # correct to gnu/linux during the next big refactor
10622  need_lib_prefix=no
10623  need_version=no
10624  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10625  soname_spec='${libname}${release}${shared_ext}$major'
10626  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10627  shlibpath_var=LD_LIBRARY_PATH
10628  shlibpath_overrides_runpath=no
10629  hardcode_into_libs=yes
10630  ;;
10631
10632irix5* | irix6* | nonstopux*)
10633  case $host_os in
10634    nonstopux*) version_type=nonstopux ;;
10635    *)
10636	if test "$lt_cv_prog_gnu_ld" = yes; then
10637		version_type=linux # correct to gnu/linux during the next big refactor
10638	else
10639		version_type=irix
10640	fi ;;
10641  esac
10642  need_lib_prefix=no
10643  need_version=no
10644  soname_spec='${libname}${release}${shared_ext}$major'
10645  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10646  case $host_os in
10647  irix5* | nonstopux*)
10648    libsuff= shlibsuff=
10649    ;;
10650  *)
10651    case $LD in # libtool.m4 will add one of these switches to LD
10652    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10653      libsuff= shlibsuff= libmagic=32-bit;;
10654    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10655      libsuff=32 shlibsuff=N32 libmagic=N32;;
10656    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10657      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10658    *) libsuff= shlibsuff= libmagic=never-match;;
10659    esac
10660    ;;
10661  esac
10662  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10663  shlibpath_overrides_runpath=no
10664  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10665  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10666  hardcode_into_libs=yes
10667  ;;
10668
10669# No shared lib support for Linux oldld, aout, or coff.
10670linux*oldld* | linux*aout* | linux*coff*)
10671  dynamic_linker=no
10672  ;;
10673
10674# This must be glibc/ELF.
10675linux* | k*bsd*-gnu | kopensolaris*-gnu)
10676  version_type=linux # correct to gnu/linux during the next big refactor
10677  need_lib_prefix=no
10678  need_version=no
10679  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10680  soname_spec='${libname}${release}${shared_ext}$major'
10681  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10682  shlibpath_var=LD_LIBRARY_PATH
10683  shlibpath_overrides_runpath=no
10684
10685  # Some binutils ld are patched to set DT_RUNPATH
10686  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10687  $as_echo_n "(cached) " >&6
10688else
10689  lt_cv_shlibpath_overrides_runpath=no
10690    save_LDFLAGS=$LDFLAGS
10691    save_libdir=$libdir
10692    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10693	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10694    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10695/* end confdefs.h.  */
10696
10697int
10698main ()
10699{
10700
10701  ;
10702  return 0;
10703}
10704_ACEOF
10705if ac_fn_c_try_link "$LINENO"; then :
10706  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10707  lt_cv_shlibpath_overrides_runpath=yes
10708fi
10709fi
10710rm -f core conftest.err conftest.$ac_objext \
10711    conftest$ac_exeext conftest.$ac_ext
10712    LDFLAGS=$save_LDFLAGS
10713    libdir=$save_libdir
10714
10715fi
10716
10717  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10718
10719  # This implies no fast_install, which is unacceptable.
10720  # Some rework will be needed to allow for fast_install
10721  # before this can be enabled.
10722  hardcode_into_libs=yes
10723
10724  # Append ld.so.conf contents to the search path
10725  if test -f /etc/ld.so.conf; then
10726    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' ' '`
10727    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10728  fi
10729
10730  # We used to test for /lib/ld.so.1 and disable shared libraries on
10731  # powerpc, because MkLinux only supported shared libraries with the
10732  # GNU dynamic linker.  Since this was broken with cross compilers,
10733  # most powerpc-linux boxes support dynamic linking these days and
10734  # people can always --disable-shared, the test was removed, and we
10735  # assume the GNU/Linux dynamic linker is in use.
10736  dynamic_linker='GNU/Linux ld.so'
10737  ;;
10738
10739netbsd*)
10740  version_type=sunos
10741  need_lib_prefix=no
10742  need_version=no
10743  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10744    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10745    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10746    dynamic_linker='NetBSD (a.out) ld.so'
10747  else
10748    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10749    soname_spec='${libname}${release}${shared_ext}$major'
10750    dynamic_linker='NetBSD ld.elf_so'
10751  fi
10752  shlibpath_var=LD_LIBRARY_PATH
10753  shlibpath_overrides_runpath=yes
10754  hardcode_into_libs=yes
10755  ;;
10756
10757newsos6)
10758  version_type=linux # correct to gnu/linux during the next big refactor
10759  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10760  shlibpath_var=LD_LIBRARY_PATH
10761  shlibpath_overrides_runpath=yes
10762  ;;
10763
10764*nto* | *qnx*)
10765  version_type=qnx
10766  need_lib_prefix=no
10767  need_version=no
10768  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769  soname_spec='${libname}${release}${shared_ext}$major'
10770  shlibpath_var=LD_LIBRARY_PATH
10771  shlibpath_overrides_runpath=no
10772  hardcode_into_libs=yes
10773  dynamic_linker='ldqnx.so'
10774  ;;
10775
10776openbsd*)
10777  version_type=sunos
10778  sys_lib_dlsearch_path_spec="/usr/lib"
10779  need_lib_prefix=no
10780  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10781  case $host_os in
10782    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10783    *)				need_version=no  ;;
10784  esac
10785  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10786  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10787  shlibpath_var=LD_LIBRARY_PATH
10788  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10789    case $host_os in
10790      openbsd2.[89] | openbsd2.[89].*)
10791	shlibpath_overrides_runpath=no
10792	;;
10793      *)
10794	shlibpath_overrides_runpath=yes
10795	;;
10796      esac
10797  else
10798    shlibpath_overrides_runpath=yes
10799  fi
10800  ;;
10801
10802os2*)
10803  libname_spec='$name'
10804  shrext_cmds=".dll"
10805  need_lib_prefix=no
10806  library_names_spec='$libname${shared_ext} $libname.a'
10807  dynamic_linker='OS/2 ld.exe'
10808  shlibpath_var=LIBPATH
10809  ;;
10810
10811osf3* | osf4* | osf5*)
10812  version_type=osf
10813  need_lib_prefix=no
10814  need_version=no
10815  soname_spec='${libname}${release}${shared_ext}$major'
10816  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10817  shlibpath_var=LD_LIBRARY_PATH
10818  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10819  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10820  ;;
10821
10822rdos*)
10823  dynamic_linker=no
10824  ;;
10825
10826solaris*)
10827  version_type=linux # correct to gnu/linux during the next big refactor
10828  need_lib_prefix=no
10829  need_version=no
10830  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10831  soname_spec='${libname}${release}${shared_ext}$major'
10832  shlibpath_var=LD_LIBRARY_PATH
10833  shlibpath_overrides_runpath=yes
10834  hardcode_into_libs=yes
10835  # ldd complains unless libraries are executable
10836  postinstall_cmds='chmod +x $lib'
10837  ;;
10838
10839sunos4*)
10840  version_type=sunos
10841  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10842  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10843  shlibpath_var=LD_LIBRARY_PATH
10844  shlibpath_overrides_runpath=yes
10845  if test "$with_gnu_ld" = yes; then
10846    need_lib_prefix=no
10847  fi
10848  need_version=yes
10849  ;;
10850
10851sysv4 | sysv4.3*)
10852  version_type=linux # correct to gnu/linux during the next big refactor
10853  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854  soname_spec='${libname}${release}${shared_ext}$major'
10855  shlibpath_var=LD_LIBRARY_PATH
10856  case $host_vendor in
10857    sni)
10858      shlibpath_overrides_runpath=no
10859      need_lib_prefix=no
10860      runpath_var=LD_RUN_PATH
10861      ;;
10862    siemens)
10863      need_lib_prefix=no
10864      ;;
10865    motorola)
10866      need_lib_prefix=no
10867      need_version=no
10868      shlibpath_overrides_runpath=no
10869      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10870      ;;
10871  esac
10872  ;;
10873
10874sysv4*MP*)
10875  if test -d /usr/nec ;then
10876    version_type=linux # correct to gnu/linux during the next big refactor
10877    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10878    soname_spec='$libname${shared_ext}.$major'
10879    shlibpath_var=LD_LIBRARY_PATH
10880  fi
10881  ;;
10882
10883sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10884  version_type=freebsd-elf
10885  need_lib_prefix=no
10886  need_version=no
10887  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10888  soname_spec='${libname}${release}${shared_ext}$major'
10889  shlibpath_var=LD_LIBRARY_PATH
10890  shlibpath_overrides_runpath=yes
10891  hardcode_into_libs=yes
10892  if test "$with_gnu_ld" = yes; then
10893    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10894  else
10895    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10896    case $host_os in
10897      sco3.2v5*)
10898        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10899	;;
10900    esac
10901  fi
10902  sys_lib_dlsearch_path_spec='/usr/lib'
10903  ;;
10904
10905tpf*)
10906  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10907  version_type=linux # correct to gnu/linux during the next big refactor
10908  need_lib_prefix=no
10909  need_version=no
10910  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10911  shlibpath_var=LD_LIBRARY_PATH
10912  shlibpath_overrides_runpath=no
10913  hardcode_into_libs=yes
10914  ;;
10915
10916uts4*)
10917  version_type=linux # correct to gnu/linux during the next big refactor
10918  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919  soname_spec='${libname}${release}${shared_ext}$major'
10920  shlibpath_var=LD_LIBRARY_PATH
10921  ;;
10922
10923*)
10924  dynamic_linker=no
10925  ;;
10926esac
10927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10928$as_echo "$dynamic_linker" >&6; }
10929test "$dynamic_linker" = no && can_build_shared=no
10930
10931variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10932if test "$GCC" = yes; then
10933  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10934fi
10935
10936if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10937  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10938fi
10939if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10940  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10941fi
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11035$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11036hardcode_action=
11037if test -n "$hardcode_libdir_flag_spec" ||
11038   test -n "$runpath_var" ||
11039   test "X$hardcode_automatic" = "Xyes" ; then
11040
11041  # We can hardcode non-existent directories.
11042  if test "$hardcode_direct" != no &&
11043     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11044     # have to relink, otherwise we might link with an installed library
11045     # when we should be linking with a yet-to-be-installed one
11046     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11047     test "$hardcode_minus_L" != no; then
11048    # Linking always hardcodes the temporary library directory.
11049    hardcode_action=relink
11050  else
11051    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11052    hardcode_action=immediate
11053  fi
11054else
11055  # We cannot hardcode anything, or else we can only hardcode existing
11056  # directories.
11057  hardcode_action=unsupported
11058fi
11059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11060$as_echo "$hardcode_action" >&6; }
11061
11062if test "$hardcode_action" = relink ||
11063   test "$inherit_rpath" = yes; then
11064  # Fast installation is not supported
11065  enable_fast_install=no
11066elif test "$shlibpath_overrides_runpath" = yes ||
11067     test "$enable_shared" = no; then
11068  # Fast installation is not necessary
11069  enable_fast_install=needless
11070fi
11071
11072
11073
11074
11075
11076
11077  if test "x$enable_dlopen" != xyes; then
11078  enable_dlopen=unknown
11079  enable_dlopen_self=unknown
11080  enable_dlopen_self_static=unknown
11081else
11082  lt_cv_dlopen=no
11083  lt_cv_dlopen_libs=
11084
11085  case $host_os in
11086  beos*)
11087    lt_cv_dlopen="load_add_on"
11088    lt_cv_dlopen_libs=
11089    lt_cv_dlopen_self=yes
11090    ;;
11091
11092  mingw* | pw32* | cegcc*)
11093    lt_cv_dlopen="LoadLibrary"
11094    lt_cv_dlopen_libs=
11095    ;;
11096
11097  cygwin*)
11098    lt_cv_dlopen="dlopen"
11099    lt_cv_dlopen_libs=
11100    ;;
11101
11102  darwin*)
11103  # if libdl is installed we need to link against it
11104    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11105$as_echo_n "checking for dlopen in -ldl... " >&6; }
11106if ${ac_cv_lib_dl_dlopen+:} false; then :
11107  $as_echo_n "(cached) " >&6
11108else
11109  ac_check_lib_save_LIBS=$LIBS
11110LIBS="-ldl  $LIBS"
11111cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112/* end confdefs.h.  */
11113
11114/* Override any GCC internal prototype to avoid an error.
11115   Use char because int might match the return type of a GCC
11116   builtin and then its argument prototype would still apply.  */
11117#ifdef __cplusplus
11118extern "C"
11119#endif
11120char dlopen ();
11121int
11122main ()
11123{
11124return dlopen ();
11125  ;
11126  return 0;
11127}
11128_ACEOF
11129if ac_fn_c_try_link "$LINENO"; then :
11130  ac_cv_lib_dl_dlopen=yes
11131else
11132  ac_cv_lib_dl_dlopen=no
11133fi
11134rm -f core conftest.err conftest.$ac_objext \
11135    conftest$ac_exeext conftest.$ac_ext
11136LIBS=$ac_check_lib_save_LIBS
11137fi
11138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11139$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11140if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11141  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11142else
11143
11144    lt_cv_dlopen="dyld"
11145    lt_cv_dlopen_libs=
11146    lt_cv_dlopen_self=yes
11147
11148fi
11149
11150    ;;
11151
11152  *)
11153    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11154if test "x$ac_cv_func_shl_load" = xyes; then :
11155  lt_cv_dlopen="shl_load"
11156else
11157  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11158$as_echo_n "checking for shl_load in -ldld... " >&6; }
11159if ${ac_cv_lib_dld_shl_load+:} false; then :
11160  $as_echo_n "(cached) " >&6
11161else
11162  ac_check_lib_save_LIBS=$LIBS
11163LIBS="-ldld  $LIBS"
11164cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11165/* end confdefs.h.  */
11166
11167/* Override any GCC internal prototype to avoid an error.
11168   Use char because int might match the return type of a GCC
11169   builtin and then its argument prototype would still apply.  */
11170#ifdef __cplusplus
11171extern "C"
11172#endif
11173char shl_load ();
11174int
11175main ()
11176{
11177return shl_load ();
11178  ;
11179  return 0;
11180}
11181_ACEOF
11182if ac_fn_c_try_link "$LINENO"; then :
11183  ac_cv_lib_dld_shl_load=yes
11184else
11185  ac_cv_lib_dld_shl_load=no
11186fi
11187rm -f core conftest.err conftest.$ac_objext \
11188    conftest$ac_exeext conftest.$ac_ext
11189LIBS=$ac_check_lib_save_LIBS
11190fi
11191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11192$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11193if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11194  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11195else
11196  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11197if test "x$ac_cv_func_dlopen" = xyes; then :
11198  lt_cv_dlopen="dlopen"
11199else
11200  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11201$as_echo_n "checking for dlopen in -ldl... " >&6; }
11202if ${ac_cv_lib_dl_dlopen+:} false; then :
11203  $as_echo_n "(cached) " >&6
11204else
11205  ac_check_lib_save_LIBS=$LIBS
11206LIBS="-ldl  $LIBS"
11207cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11208/* end confdefs.h.  */
11209
11210/* Override any GCC internal prototype to avoid an error.
11211   Use char because int might match the return type of a GCC
11212   builtin and then its argument prototype would still apply.  */
11213#ifdef __cplusplus
11214extern "C"
11215#endif
11216char dlopen ();
11217int
11218main ()
11219{
11220return dlopen ();
11221  ;
11222  return 0;
11223}
11224_ACEOF
11225if ac_fn_c_try_link "$LINENO"; then :
11226  ac_cv_lib_dl_dlopen=yes
11227else
11228  ac_cv_lib_dl_dlopen=no
11229fi
11230rm -f core conftest.err conftest.$ac_objext \
11231    conftest$ac_exeext conftest.$ac_ext
11232LIBS=$ac_check_lib_save_LIBS
11233fi
11234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11235$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11236if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11237  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11238else
11239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11240$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11241if ${ac_cv_lib_svld_dlopen+:} false; then :
11242  $as_echo_n "(cached) " >&6
11243else
11244  ac_check_lib_save_LIBS=$LIBS
11245LIBS="-lsvld  $LIBS"
11246cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11247/* end confdefs.h.  */
11248
11249/* Override any GCC internal prototype to avoid an error.
11250   Use char because int might match the return type of a GCC
11251   builtin and then its argument prototype would still apply.  */
11252#ifdef __cplusplus
11253extern "C"
11254#endif
11255char dlopen ();
11256int
11257main ()
11258{
11259return dlopen ();
11260  ;
11261  return 0;
11262}
11263_ACEOF
11264if ac_fn_c_try_link "$LINENO"; then :
11265  ac_cv_lib_svld_dlopen=yes
11266else
11267  ac_cv_lib_svld_dlopen=no
11268fi
11269rm -f core conftest.err conftest.$ac_objext \
11270    conftest$ac_exeext conftest.$ac_ext
11271LIBS=$ac_check_lib_save_LIBS
11272fi
11273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11274$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11275if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11276  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11277else
11278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11279$as_echo_n "checking for dld_link in -ldld... " >&6; }
11280if ${ac_cv_lib_dld_dld_link+:} false; then :
11281  $as_echo_n "(cached) " >&6
11282else
11283  ac_check_lib_save_LIBS=$LIBS
11284LIBS="-ldld  $LIBS"
11285cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11286/* end confdefs.h.  */
11287
11288/* Override any GCC internal prototype to avoid an error.
11289   Use char because int might match the return type of a GCC
11290   builtin and then its argument prototype would still apply.  */
11291#ifdef __cplusplus
11292extern "C"
11293#endif
11294char dld_link ();
11295int
11296main ()
11297{
11298return dld_link ();
11299  ;
11300  return 0;
11301}
11302_ACEOF
11303if ac_fn_c_try_link "$LINENO"; then :
11304  ac_cv_lib_dld_dld_link=yes
11305else
11306  ac_cv_lib_dld_dld_link=no
11307fi
11308rm -f core conftest.err conftest.$ac_objext \
11309    conftest$ac_exeext conftest.$ac_ext
11310LIBS=$ac_check_lib_save_LIBS
11311fi
11312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11313$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11314if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11315  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11316fi
11317
11318
11319fi
11320
11321
11322fi
11323
11324
11325fi
11326
11327
11328fi
11329
11330
11331fi
11332
11333    ;;
11334  esac
11335
11336  if test "x$lt_cv_dlopen" != xno; then
11337    enable_dlopen=yes
11338  else
11339    enable_dlopen=no
11340  fi
11341
11342  case $lt_cv_dlopen in
11343  dlopen)
11344    save_CPPFLAGS="$CPPFLAGS"
11345    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11346
11347    save_LDFLAGS="$LDFLAGS"
11348    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11349
11350    save_LIBS="$LIBS"
11351    LIBS="$lt_cv_dlopen_libs $LIBS"
11352
11353    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11354$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11355if ${lt_cv_dlopen_self+:} false; then :
11356  $as_echo_n "(cached) " >&6
11357else
11358  	  if test "$cross_compiling" = yes; then :
11359  lt_cv_dlopen_self=cross
11360else
11361  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11362  lt_status=$lt_dlunknown
11363  cat > conftest.$ac_ext <<_LT_EOF
11364#line $LINENO "configure"
11365#include "confdefs.h"
11366
11367#if HAVE_DLFCN_H
11368#include <dlfcn.h>
11369#endif
11370
11371#include <stdio.h>
11372
11373#ifdef RTLD_GLOBAL
11374#  define LT_DLGLOBAL		RTLD_GLOBAL
11375#else
11376#  ifdef DL_GLOBAL
11377#    define LT_DLGLOBAL		DL_GLOBAL
11378#  else
11379#    define LT_DLGLOBAL		0
11380#  endif
11381#endif
11382
11383/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11384   find out it does not work in some platform. */
11385#ifndef LT_DLLAZY_OR_NOW
11386#  ifdef RTLD_LAZY
11387#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11388#  else
11389#    ifdef DL_LAZY
11390#      define LT_DLLAZY_OR_NOW		DL_LAZY
11391#    else
11392#      ifdef RTLD_NOW
11393#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11394#      else
11395#        ifdef DL_NOW
11396#          define LT_DLLAZY_OR_NOW	DL_NOW
11397#        else
11398#          define LT_DLLAZY_OR_NOW	0
11399#        endif
11400#      endif
11401#    endif
11402#  endif
11403#endif
11404
11405/* When -fvisbility=hidden is used, assume the code has been annotated
11406   correspondingly for the symbols needed.  */
11407#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11408int fnord () __attribute__((visibility("default")));
11409#endif
11410
11411int fnord () { return 42; }
11412int main ()
11413{
11414  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11415  int status = $lt_dlunknown;
11416
11417  if (self)
11418    {
11419      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11420      else
11421        {
11422	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11423          else puts (dlerror ());
11424	}
11425      /* dlclose (self); */
11426    }
11427  else
11428    puts (dlerror ());
11429
11430  return status;
11431}
11432_LT_EOF
11433  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11434  (eval $ac_link) 2>&5
11435  ac_status=$?
11436  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11437  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11438    (./conftest; exit; ) >&5 2>/dev/null
11439    lt_status=$?
11440    case x$lt_status in
11441      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11442      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11443      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11444    esac
11445  else :
11446    # compilation failed
11447    lt_cv_dlopen_self=no
11448  fi
11449fi
11450rm -fr conftest*
11451
11452
11453fi
11454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11455$as_echo "$lt_cv_dlopen_self" >&6; }
11456
11457    if test "x$lt_cv_dlopen_self" = xyes; then
11458      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11459      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11460$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11461if ${lt_cv_dlopen_self_static+:} false; then :
11462  $as_echo_n "(cached) " >&6
11463else
11464  	  if test "$cross_compiling" = yes; then :
11465  lt_cv_dlopen_self_static=cross
11466else
11467  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11468  lt_status=$lt_dlunknown
11469  cat > conftest.$ac_ext <<_LT_EOF
11470#line $LINENO "configure"
11471#include "confdefs.h"
11472
11473#if HAVE_DLFCN_H
11474#include <dlfcn.h>
11475#endif
11476
11477#include <stdio.h>
11478
11479#ifdef RTLD_GLOBAL
11480#  define LT_DLGLOBAL		RTLD_GLOBAL
11481#else
11482#  ifdef DL_GLOBAL
11483#    define LT_DLGLOBAL		DL_GLOBAL
11484#  else
11485#    define LT_DLGLOBAL		0
11486#  endif
11487#endif
11488
11489/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11490   find out it does not work in some platform. */
11491#ifndef LT_DLLAZY_OR_NOW
11492#  ifdef RTLD_LAZY
11493#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11494#  else
11495#    ifdef DL_LAZY
11496#      define LT_DLLAZY_OR_NOW		DL_LAZY
11497#    else
11498#      ifdef RTLD_NOW
11499#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11500#      else
11501#        ifdef DL_NOW
11502#          define LT_DLLAZY_OR_NOW	DL_NOW
11503#        else
11504#          define LT_DLLAZY_OR_NOW	0
11505#        endif
11506#      endif
11507#    endif
11508#  endif
11509#endif
11510
11511/* When -fvisbility=hidden is used, assume the code has been annotated
11512   correspondingly for the symbols needed.  */
11513#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11514int fnord () __attribute__((visibility("default")));
11515#endif
11516
11517int fnord () { return 42; }
11518int main ()
11519{
11520  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11521  int status = $lt_dlunknown;
11522
11523  if (self)
11524    {
11525      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11526      else
11527        {
11528	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11529          else puts (dlerror ());
11530	}
11531      /* dlclose (self); */
11532    }
11533  else
11534    puts (dlerror ());
11535
11536  return status;
11537}
11538_LT_EOF
11539  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11540  (eval $ac_link) 2>&5
11541  ac_status=$?
11542  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11543  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11544    (./conftest; exit; ) >&5 2>/dev/null
11545    lt_status=$?
11546    case x$lt_status in
11547      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11548      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11549      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11550    esac
11551  else :
11552    # compilation failed
11553    lt_cv_dlopen_self_static=no
11554  fi
11555fi
11556rm -fr conftest*
11557
11558
11559fi
11560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11561$as_echo "$lt_cv_dlopen_self_static" >&6; }
11562    fi
11563
11564    CPPFLAGS="$save_CPPFLAGS"
11565    LDFLAGS="$save_LDFLAGS"
11566    LIBS="$save_LIBS"
11567    ;;
11568  esac
11569
11570  case $lt_cv_dlopen_self in
11571  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11572  *) enable_dlopen_self=unknown ;;
11573  esac
11574
11575  case $lt_cv_dlopen_self_static in
11576  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11577  *) enable_dlopen_self_static=unknown ;;
11578  esac
11579fi
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597striplib=
11598old_striplib=
11599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11600$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11601if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11602  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11603  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11605$as_echo "yes" >&6; }
11606else
11607# FIXME - insert some real tests, host_os isn't really good enough
11608  case $host_os in
11609  darwin*)
11610    if test -n "$STRIP" ; then
11611      striplib="$STRIP -x"
11612      old_striplib="$STRIP -S"
11613      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11614$as_echo "yes" >&6; }
11615    else
11616      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11617$as_echo "no" >&6; }
11618    fi
11619    ;;
11620  *)
11621    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11622$as_echo "no" >&6; }
11623    ;;
11624  esac
11625fi
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638  # Report which library types will actually be built
11639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11640$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11642$as_echo "$can_build_shared" >&6; }
11643
11644  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11645$as_echo_n "checking whether to build shared libraries... " >&6; }
11646  test "$can_build_shared" = "no" && enable_shared=no
11647
11648  # On AIX, shared libraries and static libraries use the same namespace, and
11649  # are all built from PIC.
11650  case $host_os in
11651  aix3*)
11652    test "$enable_shared" = yes && enable_static=no
11653    if test -n "$RANLIB"; then
11654      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11655      postinstall_cmds='$RANLIB $lib'
11656    fi
11657    ;;
11658
11659  aix[4-9]*)
11660    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11661      test "$enable_shared" = yes && enable_static=no
11662    fi
11663    ;;
11664  esac
11665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11666$as_echo "$enable_shared" >&6; }
11667
11668  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11669$as_echo_n "checking whether to build static libraries... " >&6; }
11670  # Make sure either enable_shared or enable_static is yes.
11671  test "$enable_shared" = yes || enable_static=yes
11672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11673$as_echo "$enable_static" >&6; }
11674
11675
11676
11677
11678fi
11679ac_ext=c
11680ac_cpp='$CPP $CPPFLAGS'
11681ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11682ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11683ac_compiler_gnu=$ac_cv_c_compiler_gnu
11684
11685CC="$lt_save_CC"
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701        ac_config_commands="$ac_config_commands libtool"
11702
11703
11704
11705
11706# Only expand once:
11707
11708
11709
11710# Require X.Org macros 1.8 or later
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
11723$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
11724if ${ac_cv_prog_cc_c99+:} false; then :
11725  $as_echo_n "(cached) " >&6
11726else
11727  ac_cv_prog_cc_c99=no
11728ac_save_CC=$CC
11729cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11730/* end confdefs.h.  */
11731#include <stdarg.h>
11732#include <stdbool.h>
11733#include <stdlib.h>
11734#include <wchar.h>
11735#include <stdio.h>
11736
11737// Check varargs macros.  These examples are taken from C99 6.10.3.5.
11738#define debug(...) fprintf (stderr, __VA_ARGS__)
11739#define showlist(...) puts (#__VA_ARGS__)
11740#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
11741static void
11742test_varargs_macros (void)
11743{
11744  int x = 1234;
11745  int y = 5678;
11746  debug ("Flag");
11747  debug ("X = %d\n", x);
11748  showlist (The first, second, and third items.);
11749  report (x>y, "x is %d but y is %d", x, y);
11750}
11751
11752// Check long long types.
11753#define BIG64 18446744073709551615ull
11754#define BIG32 4294967295ul
11755#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
11756#if !BIG_OK
11757  your preprocessor is broken;
11758#endif
11759#if BIG_OK
11760#else
11761  your preprocessor is broken;
11762#endif
11763static long long int bignum = -9223372036854775807LL;
11764static unsigned long long int ubignum = BIG64;
11765
11766struct incomplete_array
11767{
11768  int datasize;
11769  double data[];
11770};
11771
11772struct named_init {
11773  int number;
11774  const wchar_t *name;
11775  double average;
11776};
11777
11778typedef const char *ccp;
11779
11780static inline int
11781test_restrict (ccp restrict text)
11782{
11783  // See if C++-style comments work.
11784  // Iterate through items via the restricted pointer.
11785  // Also check for declarations in for loops.
11786  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
11787    continue;
11788  return 0;
11789}
11790
11791// Check varargs and va_copy.
11792static void
11793test_varargs (const char *format, ...)
11794{
11795  va_list args;
11796  va_start (args, format);
11797  va_list args_copy;
11798  va_copy (args_copy, args);
11799
11800  const char *str;
11801  int number;
11802  float fnumber;
11803
11804  while (*format)
11805    {
11806      switch (*format++)
11807	{
11808	case 's': // string
11809	  str = va_arg (args_copy, const char *);
11810	  break;
11811	case 'd': // int
11812	  number = va_arg (args_copy, int);
11813	  break;
11814	case 'f': // float
11815	  fnumber = va_arg (args_copy, double);
11816	  break;
11817	default:
11818	  break;
11819	}
11820    }
11821  va_end (args_copy);
11822  va_end (args);
11823}
11824
11825int
11826main ()
11827{
11828
11829  // Check bool.
11830  _Bool success = false;
11831
11832  // Check restrict.
11833  if (test_restrict ("String literal") == 0)
11834    success = true;
11835  char *restrict newvar = "Another string";
11836
11837  // Check varargs.
11838  test_varargs ("s, d' f .", "string", 65, 34.234);
11839  test_varargs_macros ();
11840
11841  // Check flexible array members.
11842  struct incomplete_array *ia =
11843    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
11844  ia->datasize = 10;
11845  for (int i = 0; i < ia->datasize; ++i)
11846    ia->data[i] = i * 1.234;
11847
11848  // Check named initializers.
11849  struct named_init ni = {
11850    .number = 34,
11851    .name = L"Test wide string",
11852    .average = 543.34343,
11853  };
11854
11855  ni.number = 58;
11856
11857  int dynamic_array[ni.number];
11858  dynamic_array[ni.number - 1] = 543;
11859
11860  // work around unused variable warnings
11861  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
11862	  || dynamic_array[ni.number - 1] != 543);
11863
11864  ;
11865  return 0;
11866}
11867_ACEOF
11868for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
11869do
11870  CC="$ac_save_CC $ac_arg"
11871  if ac_fn_c_try_compile "$LINENO"; then :
11872  ac_cv_prog_cc_c99=$ac_arg
11873fi
11874rm -f core conftest.err conftest.$ac_objext
11875  test "x$ac_cv_prog_cc_c99" != "xno" && break
11876done
11877rm -f conftest.$ac_ext
11878CC=$ac_save_CC
11879
11880fi
11881# AC_CACHE_VAL
11882case "x$ac_cv_prog_cc_c99" in
11883  x)
11884    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11885$as_echo "none needed" >&6; } ;;
11886  xno)
11887    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11888$as_echo "unsupported" >&6; } ;;
11889  *)
11890    CC="$CC $ac_cv_prog_cc_c99"
11891    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
11892$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
11893esac
11894if test "x$ac_cv_prog_cc_c99" != xno; then :
11895
11896fi
11897
11898
11899
11900
11901
11902
11903ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
11904if test "x$ac_cv_have_decl___clang__" = xyes; then :
11905  CLANGCC="yes"
11906else
11907  CLANGCC="no"
11908fi
11909
11910ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
11911if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
11912  INTELCC="yes"
11913else
11914  INTELCC="no"
11915fi
11916
11917ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
11918if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
11919  SUNCC="yes"
11920else
11921  SUNCC="no"
11922fi
11923
11924
11925
11926
11927if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11928	if test -n "$ac_tool_prefix"; then
11929  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11930set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11932$as_echo_n "checking for $ac_word... " >&6; }
11933if ${ac_cv_path_PKG_CONFIG+:} false; then :
11934  $as_echo_n "(cached) " >&6
11935else
11936  case $PKG_CONFIG in
11937  [\\/]* | ?:[\\/]*)
11938  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11939  ;;
11940  *)
11941  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11942for as_dir in $PATH
11943do
11944  IFS=$as_save_IFS
11945  test -z "$as_dir" && as_dir=.
11946    for ac_exec_ext in '' $ac_executable_extensions; do
11947  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11948    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11949    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11950    break 2
11951  fi
11952done
11953  done
11954IFS=$as_save_IFS
11955
11956  ;;
11957esac
11958fi
11959PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11960if test -n "$PKG_CONFIG"; then
11961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11962$as_echo "$PKG_CONFIG" >&6; }
11963else
11964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11965$as_echo "no" >&6; }
11966fi
11967
11968
11969fi
11970if test -z "$ac_cv_path_PKG_CONFIG"; then
11971  ac_pt_PKG_CONFIG=$PKG_CONFIG
11972  # Extract the first word of "pkg-config", so it can be a program name with args.
11973set dummy pkg-config; ac_word=$2
11974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11975$as_echo_n "checking for $ac_word... " >&6; }
11976if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11977  $as_echo_n "(cached) " >&6
11978else
11979  case $ac_pt_PKG_CONFIG in
11980  [\\/]* | ?:[\\/]*)
11981  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11982  ;;
11983  *)
11984  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11985for as_dir in $PATH
11986do
11987  IFS=$as_save_IFS
11988  test -z "$as_dir" && as_dir=.
11989    for ac_exec_ext in '' $ac_executable_extensions; do
11990  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11991    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11992    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11993    break 2
11994  fi
11995done
11996  done
11997IFS=$as_save_IFS
11998
11999  ;;
12000esac
12001fi
12002ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12003if test -n "$ac_pt_PKG_CONFIG"; then
12004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12005$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12006else
12007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12008$as_echo "no" >&6; }
12009fi
12010
12011  if test "x$ac_pt_PKG_CONFIG" = x; then
12012    PKG_CONFIG=""
12013  else
12014    case $cross_compiling:$ac_tool_warned in
12015yes:)
12016{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12017$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12018ac_tool_warned=yes ;;
12019esac
12020    PKG_CONFIG=$ac_pt_PKG_CONFIG
12021  fi
12022else
12023  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12024fi
12025
12026fi
12027if test -n "$PKG_CONFIG"; then
12028	_pkg_min_version=0.9.0
12029	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12030$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12031	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12032		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12033$as_echo "yes" >&6; }
12034	else
12035		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12036$as_echo "no" >&6; }
12037		PKG_CONFIG=""
12038	fi
12039
12040fi
12041
12042
12043
12044
12045
12046# Check whether --enable-selective-werror was given.
12047if test "${enable_selective_werror+set}" = set; then :
12048  enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
12049else
12050  SELECTIVE_WERROR=yes
12051fi
12052
12053
12054
12055
12056
12057# -v is too short to test reliably with XORG_TESTSET_CFLAG
12058if test "x$SUNCC" = "xyes"; then
12059    BASE_CFLAGS="-v"
12060else
12061    BASE_CFLAGS=""
12062fi
12063
12064# This chunk of warnings were those that existed in the legacy CWARNFLAGS
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078xorg_testset_save_CFLAGS="$CFLAGS"
12079
12080if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
12081	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12082	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
12083$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
12084if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
12085  $as_echo_n "(cached) " >&6
12086else
12087  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12088/* end confdefs.h.  */
12089int i;
12090_ACEOF
12091if ac_fn_c_try_compile "$LINENO"; then :
12092  xorg_cv_cc_flag_unknown_warning_option=yes
12093else
12094  xorg_cv_cc_flag_unknown_warning_option=no
12095fi
12096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12097fi
12098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
12099$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
12100	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
12101	CFLAGS="$xorg_testset_save_CFLAGS"
12102fi
12103
12104if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
12105	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12106		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12107	fi
12108	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12109	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
12110$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
12111if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
12112  $as_echo_n "(cached) " >&6
12113else
12114  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115/* end confdefs.h.  */
12116int i;
12117_ACEOF
12118if ac_fn_c_try_compile "$LINENO"; then :
12119  xorg_cv_cc_flag_unused_command_line_argument=yes
12120else
12121  xorg_cv_cc_flag_unused_command_line_argument=no
12122fi
12123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12124fi
12125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
12126$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
12127	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
12128	CFLAGS="$xorg_testset_save_CFLAGS"
12129fi
12130
12131found="no"
12132
12133	if test $found = "no" ; then
12134		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12135			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12136		fi
12137
12138		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
12139			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12140		fi
12141
12142		CFLAGS="$CFLAGS -Wall"
12143
12144		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
12145$as_echo_n "checking if $CC supports -Wall... " >&6; }
12146		cacheid=xorg_cv_cc_flag__Wall
12147		if eval \${$cacheid+:} false; then :
12148  $as_echo_n "(cached) " >&6
12149else
12150  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151/* end confdefs.h.  */
12152int i;
12153int
12154main ()
12155{
12156
12157  ;
12158  return 0;
12159}
12160_ACEOF
12161if ac_fn_c_try_link "$LINENO"; then :
12162  eval $cacheid=yes
12163else
12164  eval $cacheid=no
12165fi
12166rm -f core conftest.err conftest.$ac_objext \
12167    conftest$ac_exeext conftest.$ac_ext
12168fi
12169
12170
12171		CFLAGS="$xorg_testset_save_CFLAGS"
12172
12173		eval supported=\$$cacheid
12174		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
12175$as_echo "$supported" >&6; }
12176		if test "$supported" = "yes" ; then
12177			BASE_CFLAGS="$BASE_CFLAGS -Wall"
12178			found="yes"
12179		fi
12180	fi
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196xorg_testset_save_CFLAGS="$CFLAGS"
12197
12198if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
12199	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12200	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
12201$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
12202if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
12203  $as_echo_n "(cached) " >&6
12204else
12205  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206/* end confdefs.h.  */
12207int i;
12208_ACEOF
12209if ac_fn_c_try_compile "$LINENO"; then :
12210  xorg_cv_cc_flag_unknown_warning_option=yes
12211else
12212  xorg_cv_cc_flag_unknown_warning_option=no
12213fi
12214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12215fi
12216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
12217$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
12218	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
12219	CFLAGS="$xorg_testset_save_CFLAGS"
12220fi
12221
12222if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
12223	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12224		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12225	fi
12226	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12227	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
12228$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
12229if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
12230  $as_echo_n "(cached) " >&6
12231else
12232  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12233/* end confdefs.h.  */
12234int i;
12235_ACEOF
12236if ac_fn_c_try_compile "$LINENO"; then :
12237  xorg_cv_cc_flag_unused_command_line_argument=yes
12238else
12239  xorg_cv_cc_flag_unused_command_line_argument=no
12240fi
12241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12242fi
12243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
12244$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
12245	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
12246	CFLAGS="$xorg_testset_save_CFLAGS"
12247fi
12248
12249found="no"
12250
12251	if test $found = "no" ; then
12252		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12253			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12254		fi
12255
12256		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
12257			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12258		fi
12259
12260		CFLAGS="$CFLAGS -Wpointer-arith"
12261
12262		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
12263$as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
12264		cacheid=xorg_cv_cc_flag__Wpointer_arith
12265		if eval \${$cacheid+:} false; then :
12266  $as_echo_n "(cached) " >&6
12267else
12268  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269/* end confdefs.h.  */
12270int i;
12271int
12272main ()
12273{
12274
12275  ;
12276  return 0;
12277}
12278_ACEOF
12279if ac_fn_c_try_link "$LINENO"; then :
12280  eval $cacheid=yes
12281else
12282  eval $cacheid=no
12283fi
12284rm -f core conftest.err conftest.$ac_objext \
12285    conftest$ac_exeext conftest.$ac_ext
12286fi
12287
12288
12289		CFLAGS="$xorg_testset_save_CFLAGS"
12290
12291		eval supported=\$$cacheid
12292		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
12293$as_echo "$supported" >&6; }
12294		if test "$supported" = "yes" ; then
12295			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
12296			found="yes"
12297		fi
12298	fi
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314xorg_testset_save_CFLAGS="$CFLAGS"
12315
12316if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
12317	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12318	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
12319$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
12320if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
12321  $as_echo_n "(cached) " >&6
12322else
12323  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324/* end confdefs.h.  */
12325int i;
12326_ACEOF
12327if ac_fn_c_try_compile "$LINENO"; then :
12328  xorg_cv_cc_flag_unknown_warning_option=yes
12329else
12330  xorg_cv_cc_flag_unknown_warning_option=no
12331fi
12332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12333fi
12334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
12335$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
12336	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
12337	CFLAGS="$xorg_testset_save_CFLAGS"
12338fi
12339
12340if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
12341	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12342		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12343	fi
12344	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12345	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
12346$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
12347if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
12348  $as_echo_n "(cached) " >&6
12349else
12350  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12351/* end confdefs.h.  */
12352int i;
12353_ACEOF
12354if ac_fn_c_try_compile "$LINENO"; then :
12355  xorg_cv_cc_flag_unused_command_line_argument=yes
12356else
12357  xorg_cv_cc_flag_unused_command_line_argument=no
12358fi
12359rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12360fi
12361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
12362$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
12363	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
12364	CFLAGS="$xorg_testset_save_CFLAGS"
12365fi
12366
12367found="no"
12368
12369	if test $found = "no" ; then
12370		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12371			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12372		fi
12373
12374		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
12375			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12376		fi
12377
12378		CFLAGS="$CFLAGS -Wmissing-declarations"
12379
12380		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
12381$as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
12382		cacheid=xorg_cv_cc_flag__Wmissing_declarations
12383		if eval \${$cacheid+:} false; then :
12384  $as_echo_n "(cached) " >&6
12385else
12386  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12387/* end confdefs.h.  */
12388int i;
12389int
12390main ()
12391{
12392
12393  ;
12394  return 0;
12395}
12396_ACEOF
12397if ac_fn_c_try_link "$LINENO"; then :
12398  eval $cacheid=yes
12399else
12400  eval $cacheid=no
12401fi
12402rm -f core conftest.err conftest.$ac_objext \
12403    conftest$ac_exeext conftest.$ac_ext
12404fi
12405
12406
12407		CFLAGS="$xorg_testset_save_CFLAGS"
12408
12409		eval supported=\$$cacheid
12410		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
12411$as_echo "$supported" >&6; }
12412		if test "$supported" = "yes" ; then
12413			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
12414			found="yes"
12415		fi
12416	fi
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432xorg_testset_save_CFLAGS="$CFLAGS"
12433
12434if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
12435	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12436	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
12437$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
12438if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
12439  $as_echo_n "(cached) " >&6
12440else
12441  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12442/* end confdefs.h.  */
12443int i;
12444_ACEOF
12445if ac_fn_c_try_compile "$LINENO"; then :
12446  xorg_cv_cc_flag_unknown_warning_option=yes
12447else
12448  xorg_cv_cc_flag_unknown_warning_option=no
12449fi
12450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12451fi
12452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
12453$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
12454	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
12455	CFLAGS="$xorg_testset_save_CFLAGS"
12456fi
12457
12458if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
12459	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12460		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12461	fi
12462	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12463	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
12464$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
12465if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
12466  $as_echo_n "(cached) " >&6
12467else
12468  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12469/* end confdefs.h.  */
12470int i;
12471_ACEOF
12472if ac_fn_c_try_compile "$LINENO"; then :
12473  xorg_cv_cc_flag_unused_command_line_argument=yes
12474else
12475  xorg_cv_cc_flag_unused_command_line_argument=no
12476fi
12477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12478fi
12479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
12480$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
12481	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
12482	CFLAGS="$xorg_testset_save_CFLAGS"
12483fi
12484
12485found="no"
12486
12487	if test $found = "no" ; then
12488		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12489			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12490		fi
12491
12492		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
12493			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12494		fi
12495
12496		CFLAGS="$CFLAGS -Wformat=2"
12497
12498		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
12499$as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
12500		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
12501		if eval \${$cacheid+:} false; then :
12502  $as_echo_n "(cached) " >&6
12503else
12504  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12505/* end confdefs.h.  */
12506int i;
12507int
12508main ()
12509{
12510
12511  ;
12512  return 0;
12513}
12514_ACEOF
12515if ac_fn_c_try_link "$LINENO"; then :
12516  eval $cacheid=yes
12517else
12518  eval $cacheid=no
12519fi
12520rm -f core conftest.err conftest.$ac_objext \
12521    conftest$ac_exeext conftest.$ac_ext
12522fi
12523
12524
12525		CFLAGS="$xorg_testset_save_CFLAGS"
12526
12527		eval supported=\$$cacheid
12528		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
12529$as_echo "$supported" >&6; }
12530		if test "$supported" = "yes" ; then
12531			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
12532			found="yes"
12533		fi
12534	fi
12535
12536	if test $found = "no" ; then
12537		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12538			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12539		fi
12540
12541		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
12542			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12543		fi
12544
12545		CFLAGS="$CFLAGS -Wformat"
12546
12547		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
12548$as_echo_n "checking if $CC supports -Wformat... " >&6; }
12549		cacheid=xorg_cv_cc_flag__Wformat
12550		if eval \${$cacheid+:} false; then :
12551  $as_echo_n "(cached) " >&6
12552else
12553  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554/* end confdefs.h.  */
12555int i;
12556int
12557main ()
12558{
12559
12560  ;
12561  return 0;
12562}
12563_ACEOF
12564if ac_fn_c_try_link "$LINENO"; then :
12565  eval $cacheid=yes
12566else
12567  eval $cacheid=no
12568fi
12569rm -f core conftest.err conftest.$ac_objext \
12570    conftest$ac_exeext conftest.$ac_ext
12571fi
12572
12573
12574		CFLAGS="$xorg_testset_save_CFLAGS"
12575
12576		eval supported=\$$cacheid
12577		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
12578$as_echo "$supported" >&6; }
12579		if test "$supported" = "yes" ; then
12580			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
12581			found="yes"
12582		fi
12583	fi
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601xorg_testset_save_CFLAGS="$CFLAGS"
12602
12603if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
12604	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12605	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
12606$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
12607if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
12608  $as_echo_n "(cached) " >&6
12609else
12610  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611/* end confdefs.h.  */
12612int i;
12613_ACEOF
12614if ac_fn_c_try_compile "$LINENO"; then :
12615  xorg_cv_cc_flag_unknown_warning_option=yes
12616else
12617  xorg_cv_cc_flag_unknown_warning_option=no
12618fi
12619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12620fi
12621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
12622$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
12623	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
12624	CFLAGS="$xorg_testset_save_CFLAGS"
12625fi
12626
12627if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
12628	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12629		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12630	fi
12631	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12632	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
12633$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
12634if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
12635  $as_echo_n "(cached) " >&6
12636else
12637  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12638/* end confdefs.h.  */
12639int i;
12640_ACEOF
12641if ac_fn_c_try_compile "$LINENO"; then :
12642  xorg_cv_cc_flag_unused_command_line_argument=yes
12643else
12644  xorg_cv_cc_flag_unused_command_line_argument=no
12645fi
12646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12647fi
12648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
12649$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
12650	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
12651	CFLAGS="$xorg_testset_save_CFLAGS"
12652fi
12653
12654found="no"
12655
12656	if test $found = "no" ; then
12657		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12658			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12659		fi
12660
12661		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
12662			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12663		fi
12664
12665		CFLAGS="$CFLAGS -Wstrict-prototypes"
12666
12667		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
12668$as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
12669		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
12670		if eval \${$cacheid+:} false; then :
12671  $as_echo_n "(cached) " >&6
12672else
12673  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12674/* end confdefs.h.  */
12675int i;
12676int
12677main ()
12678{
12679
12680  ;
12681  return 0;
12682}
12683_ACEOF
12684if ac_fn_c_try_link "$LINENO"; then :
12685  eval $cacheid=yes
12686else
12687  eval $cacheid=no
12688fi
12689rm -f core conftest.err conftest.$ac_objext \
12690    conftest$ac_exeext conftest.$ac_ext
12691fi
12692
12693
12694		CFLAGS="$xorg_testset_save_CFLAGS"
12695
12696		eval supported=\$$cacheid
12697		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
12698$as_echo "$supported" >&6; }
12699		if test "$supported" = "yes" ; then
12700			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
12701			found="yes"
12702		fi
12703	fi
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719xorg_testset_save_CFLAGS="$CFLAGS"
12720
12721if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
12722	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12723	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
12724$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
12725if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
12726  $as_echo_n "(cached) " >&6
12727else
12728  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12729/* end confdefs.h.  */
12730int i;
12731_ACEOF
12732if ac_fn_c_try_compile "$LINENO"; then :
12733  xorg_cv_cc_flag_unknown_warning_option=yes
12734else
12735  xorg_cv_cc_flag_unknown_warning_option=no
12736fi
12737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12738fi
12739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
12740$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
12741	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
12742	CFLAGS="$xorg_testset_save_CFLAGS"
12743fi
12744
12745if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
12746	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12747		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12748	fi
12749	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12750	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
12751$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
12752if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
12753  $as_echo_n "(cached) " >&6
12754else
12755  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12756/* end confdefs.h.  */
12757int i;
12758_ACEOF
12759if ac_fn_c_try_compile "$LINENO"; then :
12760  xorg_cv_cc_flag_unused_command_line_argument=yes
12761else
12762  xorg_cv_cc_flag_unused_command_line_argument=no
12763fi
12764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12765fi
12766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
12767$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
12768	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
12769	CFLAGS="$xorg_testset_save_CFLAGS"
12770fi
12771
12772found="no"
12773
12774	if test $found = "no" ; then
12775		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12776			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12777		fi
12778
12779		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
12780			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12781		fi
12782
12783		CFLAGS="$CFLAGS -Wmissing-prototypes"
12784
12785		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
12786$as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
12787		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
12788		if eval \${$cacheid+:} false; then :
12789  $as_echo_n "(cached) " >&6
12790else
12791  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792/* end confdefs.h.  */
12793int i;
12794int
12795main ()
12796{
12797
12798  ;
12799  return 0;
12800}
12801_ACEOF
12802if ac_fn_c_try_link "$LINENO"; then :
12803  eval $cacheid=yes
12804else
12805  eval $cacheid=no
12806fi
12807rm -f core conftest.err conftest.$ac_objext \
12808    conftest$ac_exeext conftest.$ac_ext
12809fi
12810
12811
12812		CFLAGS="$xorg_testset_save_CFLAGS"
12813
12814		eval supported=\$$cacheid
12815		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
12816$as_echo "$supported" >&6; }
12817		if test "$supported" = "yes" ; then
12818			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
12819			found="yes"
12820		fi
12821	fi
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837xorg_testset_save_CFLAGS="$CFLAGS"
12838
12839if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
12840	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12841	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
12842$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
12843if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
12844  $as_echo_n "(cached) " >&6
12845else
12846  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12847/* end confdefs.h.  */
12848int i;
12849_ACEOF
12850if ac_fn_c_try_compile "$LINENO"; then :
12851  xorg_cv_cc_flag_unknown_warning_option=yes
12852else
12853  xorg_cv_cc_flag_unknown_warning_option=no
12854fi
12855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12856fi
12857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
12858$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
12859	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
12860	CFLAGS="$xorg_testset_save_CFLAGS"
12861fi
12862
12863if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
12864	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12865		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12866	fi
12867	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12868	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
12869$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
12870if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
12871  $as_echo_n "(cached) " >&6
12872else
12873  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874/* end confdefs.h.  */
12875int i;
12876_ACEOF
12877if ac_fn_c_try_compile "$LINENO"; then :
12878  xorg_cv_cc_flag_unused_command_line_argument=yes
12879else
12880  xorg_cv_cc_flag_unused_command_line_argument=no
12881fi
12882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12883fi
12884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
12885$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
12886	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
12887	CFLAGS="$xorg_testset_save_CFLAGS"
12888fi
12889
12890found="no"
12891
12892	if test $found = "no" ; then
12893		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12894			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12895		fi
12896
12897		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
12898			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12899		fi
12900
12901		CFLAGS="$CFLAGS -Wnested-externs"
12902
12903		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
12904$as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
12905		cacheid=xorg_cv_cc_flag__Wnested_externs
12906		if eval \${$cacheid+:} false; then :
12907  $as_echo_n "(cached) " >&6
12908else
12909  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910/* end confdefs.h.  */
12911int i;
12912int
12913main ()
12914{
12915
12916  ;
12917  return 0;
12918}
12919_ACEOF
12920if ac_fn_c_try_link "$LINENO"; then :
12921  eval $cacheid=yes
12922else
12923  eval $cacheid=no
12924fi
12925rm -f core conftest.err conftest.$ac_objext \
12926    conftest$ac_exeext conftest.$ac_ext
12927fi
12928
12929
12930		CFLAGS="$xorg_testset_save_CFLAGS"
12931
12932		eval supported=\$$cacheid
12933		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
12934$as_echo "$supported" >&6; }
12935		if test "$supported" = "yes" ; then
12936			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
12937			found="yes"
12938		fi
12939	fi
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955xorg_testset_save_CFLAGS="$CFLAGS"
12956
12957if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
12958	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12959	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
12960$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
12961if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
12962  $as_echo_n "(cached) " >&6
12963else
12964  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12965/* end confdefs.h.  */
12966int i;
12967_ACEOF
12968if ac_fn_c_try_compile "$LINENO"; then :
12969  xorg_cv_cc_flag_unknown_warning_option=yes
12970else
12971  xorg_cv_cc_flag_unknown_warning_option=no
12972fi
12973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12974fi
12975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
12976$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
12977	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
12978	CFLAGS="$xorg_testset_save_CFLAGS"
12979fi
12980
12981if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
12982	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
12983		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12984	fi
12985	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
12986	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
12987$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
12988if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
12989  $as_echo_n "(cached) " >&6
12990else
12991  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12992/* end confdefs.h.  */
12993int i;
12994_ACEOF
12995if ac_fn_c_try_compile "$LINENO"; then :
12996  xorg_cv_cc_flag_unused_command_line_argument=yes
12997else
12998  xorg_cv_cc_flag_unused_command_line_argument=no
12999fi
13000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13001fi
13002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
13003$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
13004	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
13005	CFLAGS="$xorg_testset_save_CFLAGS"
13006fi
13007
13008found="no"
13009
13010	if test $found = "no" ; then
13011		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13012			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13013		fi
13014
13015		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
13016			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13017		fi
13018
13019		CFLAGS="$CFLAGS -Wbad-function-cast"
13020
13021		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
13022$as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
13023		cacheid=xorg_cv_cc_flag__Wbad_function_cast
13024		if eval \${$cacheid+:} false; then :
13025  $as_echo_n "(cached) " >&6
13026else
13027  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028/* end confdefs.h.  */
13029int i;
13030int
13031main ()
13032{
13033
13034  ;
13035  return 0;
13036}
13037_ACEOF
13038if ac_fn_c_try_link "$LINENO"; then :
13039  eval $cacheid=yes
13040else
13041  eval $cacheid=no
13042fi
13043rm -f core conftest.err conftest.$ac_objext \
13044    conftest$ac_exeext conftest.$ac_ext
13045fi
13046
13047
13048		CFLAGS="$xorg_testset_save_CFLAGS"
13049
13050		eval supported=\$$cacheid
13051		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
13052$as_echo "$supported" >&6; }
13053		if test "$supported" = "yes" ; then
13054			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
13055			found="yes"
13056		fi
13057	fi
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073xorg_testset_save_CFLAGS="$CFLAGS"
13074
13075if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
13076	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13077	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
13078$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
13079if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
13080  $as_echo_n "(cached) " >&6
13081else
13082  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083/* end confdefs.h.  */
13084int i;
13085_ACEOF
13086if ac_fn_c_try_compile "$LINENO"; then :
13087  xorg_cv_cc_flag_unknown_warning_option=yes
13088else
13089  xorg_cv_cc_flag_unknown_warning_option=no
13090fi
13091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13092fi
13093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
13094$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
13095	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
13096	CFLAGS="$xorg_testset_save_CFLAGS"
13097fi
13098
13099if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
13100	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13101		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13102	fi
13103	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13104	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
13105$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
13106if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
13107  $as_echo_n "(cached) " >&6
13108else
13109  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110/* end confdefs.h.  */
13111int i;
13112_ACEOF
13113if ac_fn_c_try_compile "$LINENO"; then :
13114  xorg_cv_cc_flag_unused_command_line_argument=yes
13115else
13116  xorg_cv_cc_flag_unused_command_line_argument=no
13117fi
13118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13119fi
13120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
13121$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
13122	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
13123	CFLAGS="$xorg_testset_save_CFLAGS"
13124fi
13125
13126found="no"
13127
13128	if test $found = "no" ; then
13129		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13130			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13131		fi
13132
13133		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
13134			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13135		fi
13136
13137		CFLAGS="$CFLAGS -Wold-style-definition"
13138
13139		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
13140$as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
13141		cacheid=xorg_cv_cc_flag__Wold_style_definition
13142		if eval \${$cacheid+:} false; then :
13143  $as_echo_n "(cached) " >&6
13144else
13145  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146/* end confdefs.h.  */
13147int i;
13148int
13149main ()
13150{
13151
13152  ;
13153  return 0;
13154}
13155_ACEOF
13156if ac_fn_c_try_link "$LINENO"; then :
13157  eval $cacheid=yes
13158else
13159  eval $cacheid=no
13160fi
13161rm -f core conftest.err conftest.$ac_objext \
13162    conftest$ac_exeext conftest.$ac_ext
13163fi
13164
13165
13166		CFLAGS="$xorg_testset_save_CFLAGS"
13167
13168		eval supported=\$$cacheid
13169		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
13170$as_echo "$supported" >&6; }
13171		if test "$supported" = "yes" ; then
13172			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
13173			found="yes"
13174		fi
13175	fi
13176
13177	if test $found = "no" ; then
13178		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13179			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13180		fi
13181
13182		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
13183			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13184		fi
13185
13186		CFLAGS="$CFLAGS -fd"
13187
13188		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
13189$as_echo_n "checking if $CC supports -fd... " >&6; }
13190		cacheid=xorg_cv_cc_flag__fd
13191		if eval \${$cacheid+:} false; then :
13192  $as_echo_n "(cached) " >&6
13193else
13194  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13195/* end confdefs.h.  */
13196int i;
13197int
13198main ()
13199{
13200
13201  ;
13202  return 0;
13203}
13204_ACEOF
13205if ac_fn_c_try_link "$LINENO"; then :
13206  eval $cacheid=yes
13207else
13208  eval $cacheid=no
13209fi
13210rm -f core conftest.err conftest.$ac_objext \
13211    conftest$ac_exeext conftest.$ac_ext
13212fi
13213
13214
13215		CFLAGS="$xorg_testset_save_CFLAGS"
13216
13217		eval supported=\$$cacheid
13218		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
13219$as_echo "$supported" >&6; }
13220		if test "$supported" = "yes" ; then
13221			BASE_CFLAGS="$BASE_CFLAGS -fd"
13222			found="yes"
13223		fi
13224	fi
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240xorg_testset_save_CFLAGS="$CFLAGS"
13241
13242if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
13243	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13244	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
13245$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
13246if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
13247  $as_echo_n "(cached) " >&6
13248else
13249  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13250/* end confdefs.h.  */
13251int i;
13252_ACEOF
13253if ac_fn_c_try_compile "$LINENO"; then :
13254  xorg_cv_cc_flag_unknown_warning_option=yes
13255else
13256  xorg_cv_cc_flag_unknown_warning_option=no
13257fi
13258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13259fi
13260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
13261$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
13262	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
13263	CFLAGS="$xorg_testset_save_CFLAGS"
13264fi
13265
13266if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
13267	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13268		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13269	fi
13270	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13271	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
13272$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
13273if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
13274  $as_echo_n "(cached) " >&6
13275else
13276  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13277/* end confdefs.h.  */
13278int i;
13279_ACEOF
13280if ac_fn_c_try_compile "$LINENO"; then :
13281  xorg_cv_cc_flag_unused_command_line_argument=yes
13282else
13283  xorg_cv_cc_flag_unused_command_line_argument=no
13284fi
13285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13286fi
13287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
13288$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
13289	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
13290	CFLAGS="$xorg_testset_save_CFLAGS"
13291fi
13292
13293found="no"
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 -Wdeclaration-after-statement"
13305
13306		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
13307$as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
13308		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
13309		if eval \${$cacheid+:} false; then :
13310  $as_echo_n "(cached) " >&6
13311else
13312  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13313/* end confdefs.h.  */
13314int i;
13315int
13316main ()
13317{
13318
13319  ;
13320  return 0;
13321}
13322_ACEOF
13323if ac_fn_c_try_link "$LINENO"; then :
13324  eval $cacheid=yes
13325else
13326  eval $cacheid=no
13327fi
13328rm -f core conftest.err conftest.$ac_objext \
13329    conftest$ac_exeext conftest.$ac_ext
13330fi
13331
13332
13333		CFLAGS="$xorg_testset_save_CFLAGS"
13334
13335		eval supported=\$$cacheid
13336		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
13337$as_echo "$supported" >&6; }
13338		if test "$supported" = "yes" ; then
13339			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
13340			found="yes"
13341		fi
13342	fi
13343
13344
13345
13346
13347
13348# This chunk adds additional warnings that could catch undesired effects.
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362xorg_testset_save_CFLAGS="$CFLAGS"
13363
13364if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
13365	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13366	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
13367$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
13368if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
13369  $as_echo_n "(cached) " >&6
13370else
13371  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372/* end confdefs.h.  */
13373int i;
13374_ACEOF
13375if ac_fn_c_try_compile "$LINENO"; then :
13376  xorg_cv_cc_flag_unknown_warning_option=yes
13377else
13378  xorg_cv_cc_flag_unknown_warning_option=no
13379fi
13380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13381fi
13382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
13383$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
13384	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
13385	CFLAGS="$xorg_testset_save_CFLAGS"
13386fi
13387
13388if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
13389	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13390		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13391	fi
13392	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13393	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
13394$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
13395if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
13396  $as_echo_n "(cached) " >&6
13397else
13398  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13399/* end confdefs.h.  */
13400int i;
13401_ACEOF
13402if ac_fn_c_try_compile "$LINENO"; then :
13403  xorg_cv_cc_flag_unused_command_line_argument=yes
13404else
13405  xorg_cv_cc_flag_unused_command_line_argument=no
13406fi
13407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13408fi
13409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
13410$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
13411	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
13412	CFLAGS="$xorg_testset_save_CFLAGS"
13413fi
13414
13415found="no"
13416
13417	if test $found = "no" ; then
13418		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13419			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13420		fi
13421
13422		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
13423			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13424		fi
13425
13426		CFLAGS="$CFLAGS -Wunused"
13427
13428		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
13429$as_echo_n "checking if $CC supports -Wunused... " >&6; }
13430		cacheid=xorg_cv_cc_flag__Wunused
13431		if eval \${$cacheid+:} false; then :
13432  $as_echo_n "(cached) " >&6
13433else
13434  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435/* end confdefs.h.  */
13436int i;
13437int
13438main ()
13439{
13440
13441  ;
13442  return 0;
13443}
13444_ACEOF
13445if ac_fn_c_try_link "$LINENO"; then :
13446  eval $cacheid=yes
13447else
13448  eval $cacheid=no
13449fi
13450rm -f core conftest.err conftest.$ac_objext \
13451    conftest$ac_exeext conftest.$ac_ext
13452fi
13453
13454
13455		CFLAGS="$xorg_testset_save_CFLAGS"
13456
13457		eval supported=\$$cacheid
13458		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
13459$as_echo "$supported" >&6; }
13460		if test "$supported" = "yes" ; then
13461			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
13462			found="yes"
13463		fi
13464	fi
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480xorg_testset_save_CFLAGS="$CFLAGS"
13481
13482if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
13483	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13484	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
13485$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
13486if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
13487  $as_echo_n "(cached) " >&6
13488else
13489  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13490/* end confdefs.h.  */
13491int i;
13492_ACEOF
13493if ac_fn_c_try_compile "$LINENO"; then :
13494  xorg_cv_cc_flag_unknown_warning_option=yes
13495else
13496  xorg_cv_cc_flag_unknown_warning_option=no
13497fi
13498rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13499fi
13500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
13501$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
13502	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
13503	CFLAGS="$xorg_testset_save_CFLAGS"
13504fi
13505
13506if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
13507	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13508		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13509	fi
13510	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13511	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
13512$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
13513if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
13514  $as_echo_n "(cached) " >&6
13515else
13516  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13517/* end confdefs.h.  */
13518int i;
13519_ACEOF
13520if ac_fn_c_try_compile "$LINENO"; then :
13521  xorg_cv_cc_flag_unused_command_line_argument=yes
13522else
13523  xorg_cv_cc_flag_unused_command_line_argument=no
13524fi
13525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13526fi
13527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
13528$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
13529	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
13530	CFLAGS="$xorg_testset_save_CFLAGS"
13531fi
13532
13533found="no"
13534
13535	if test $found = "no" ; then
13536		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13537			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13538		fi
13539
13540		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
13541			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13542		fi
13543
13544		CFLAGS="$CFLAGS -Wuninitialized"
13545
13546		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
13547$as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
13548		cacheid=xorg_cv_cc_flag__Wuninitialized
13549		if eval \${$cacheid+:} false; then :
13550  $as_echo_n "(cached) " >&6
13551else
13552  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13553/* end confdefs.h.  */
13554int i;
13555int
13556main ()
13557{
13558
13559  ;
13560  return 0;
13561}
13562_ACEOF
13563if ac_fn_c_try_link "$LINENO"; then :
13564  eval $cacheid=yes
13565else
13566  eval $cacheid=no
13567fi
13568rm -f core conftest.err conftest.$ac_objext \
13569    conftest$ac_exeext conftest.$ac_ext
13570fi
13571
13572
13573		CFLAGS="$xorg_testset_save_CFLAGS"
13574
13575		eval supported=\$$cacheid
13576		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
13577$as_echo "$supported" >&6; }
13578		if test "$supported" = "yes" ; then
13579			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
13580			found="yes"
13581		fi
13582	fi
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598xorg_testset_save_CFLAGS="$CFLAGS"
13599
13600if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
13601	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13602	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
13603$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
13604if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
13605  $as_echo_n "(cached) " >&6
13606else
13607  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13608/* end confdefs.h.  */
13609int i;
13610_ACEOF
13611if ac_fn_c_try_compile "$LINENO"; then :
13612  xorg_cv_cc_flag_unknown_warning_option=yes
13613else
13614  xorg_cv_cc_flag_unknown_warning_option=no
13615fi
13616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13617fi
13618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
13619$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
13620	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
13621	CFLAGS="$xorg_testset_save_CFLAGS"
13622fi
13623
13624if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
13625	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13626		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13627	fi
13628	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13629	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
13630$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
13631if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
13632  $as_echo_n "(cached) " >&6
13633else
13634  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635/* end confdefs.h.  */
13636int i;
13637_ACEOF
13638if ac_fn_c_try_compile "$LINENO"; then :
13639  xorg_cv_cc_flag_unused_command_line_argument=yes
13640else
13641  xorg_cv_cc_flag_unused_command_line_argument=no
13642fi
13643rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13644fi
13645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
13646$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
13647	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
13648	CFLAGS="$xorg_testset_save_CFLAGS"
13649fi
13650
13651found="no"
13652
13653	if test $found = "no" ; then
13654		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13655			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13656		fi
13657
13658		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
13659			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13660		fi
13661
13662		CFLAGS="$CFLAGS -Wshadow"
13663
13664		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
13665$as_echo_n "checking if $CC supports -Wshadow... " >&6; }
13666		cacheid=xorg_cv_cc_flag__Wshadow
13667		if eval \${$cacheid+:} false; then :
13668  $as_echo_n "(cached) " >&6
13669else
13670  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671/* end confdefs.h.  */
13672int i;
13673int
13674main ()
13675{
13676
13677  ;
13678  return 0;
13679}
13680_ACEOF
13681if ac_fn_c_try_link "$LINENO"; then :
13682  eval $cacheid=yes
13683else
13684  eval $cacheid=no
13685fi
13686rm -f core conftest.err conftest.$ac_objext \
13687    conftest$ac_exeext conftest.$ac_ext
13688fi
13689
13690
13691		CFLAGS="$xorg_testset_save_CFLAGS"
13692
13693		eval supported=\$$cacheid
13694		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
13695$as_echo "$supported" >&6; }
13696		if test "$supported" = "yes" ; then
13697			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
13698			found="yes"
13699		fi
13700	fi
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716xorg_testset_save_CFLAGS="$CFLAGS"
13717
13718if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
13719	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13720	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
13721$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
13722if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
13723  $as_echo_n "(cached) " >&6
13724else
13725  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726/* end confdefs.h.  */
13727int i;
13728_ACEOF
13729if ac_fn_c_try_compile "$LINENO"; then :
13730  xorg_cv_cc_flag_unknown_warning_option=yes
13731else
13732  xorg_cv_cc_flag_unknown_warning_option=no
13733fi
13734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13735fi
13736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
13737$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
13738	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
13739	CFLAGS="$xorg_testset_save_CFLAGS"
13740fi
13741
13742if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
13743	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13744		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13745	fi
13746	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13747	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
13748$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
13749if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
13750  $as_echo_n "(cached) " >&6
13751else
13752  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13753/* end confdefs.h.  */
13754int i;
13755_ACEOF
13756if ac_fn_c_try_compile "$LINENO"; then :
13757  xorg_cv_cc_flag_unused_command_line_argument=yes
13758else
13759  xorg_cv_cc_flag_unused_command_line_argument=no
13760fi
13761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13762fi
13763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
13764$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
13765	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
13766	CFLAGS="$xorg_testset_save_CFLAGS"
13767fi
13768
13769found="no"
13770
13771	if test $found = "no" ; then
13772		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13773			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13774		fi
13775
13776		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
13777			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13778		fi
13779
13780		CFLAGS="$CFLAGS -Wmissing-noreturn"
13781
13782		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
13783$as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
13784		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
13785		if eval \${$cacheid+:} false; then :
13786  $as_echo_n "(cached) " >&6
13787else
13788  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13789/* end confdefs.h.  */
13790int i;
13791int
13792main ()
13793{
13794
13795  ;
13796  return 0;
13797}
13798_ACEOF
13799if ac_fn_c_try_link "$LINENO"; then :
13800  eval $cacheid=yes
13801else
13802  eval $cacheid=no
13803fi
13804rm -f core conftest.err conftest.$ac_objext \
13805    conftest$ac_exeext conftest.$ac_ext
13806fi
13807
13808
13809		CFLAGS="$xorg_testset_save_CFLAGS"
13810
13811		eval supported=\$$cacheid
13812		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
13813$as_echo "$supported" >&6; }
13814		if test "$supported" = "yes" ; then
13815			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
13816			found="yes"
13817		fi
13818	fi
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834xorg_testset_save_CFLAGS="$CFLAGS"
13835
13836if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
13837	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13838	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
13839$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
13840if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
13841  $as_echo_n "(cached) " >&6
13842else
13843  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13844/* end confdefs.h.  */
13845int i;
13846_ACEOF
13847if ac_fn_c_try_compile "$LINENO"; then :
13848  xorg_cv_cc_flag_unknown_warning_option=yes
13849else
13850  xorg_cv_cc_flag_unknown_warning_option=no
13851fi
13852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13853fi
13854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
13855$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
13856	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
13857	CFLAGS="$xorg_testset_save_CFLAGS"
13858fi
13859
13860if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
13861	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13862		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13863	fi
13864	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13865	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
13866$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
13867if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
13868  $as_echo_n "(cached) " >&6
13869else
13870  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871/* end confdefs.h.  */
13872int i;
13873_ACEOF
13874if ac_fn_c_try_compile "$LINENO"; then :
13875  xorg_cv_cc_flag_unused_command_line_argument=yes
13876else
13877  xorg_cv_cc_flag_unused_command_line_argument=no
13878fi
13879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13880fi
13881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
13882$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
13883	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
13884	CFLAGS="$xorg_testset_save_CFLAGS"
13885fi
13886
13887found="no"
13888
13889	if test $found = "no" ; then
13890		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13891			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13892		fi
13893
13894		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
13895			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13896		fi
13897
13898		CFLAGS="$CFLAGS -Wmissing-format-attribute"
13899
13900		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
13901$as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
13902		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
13903		if eval \${$cacheid+:} false; then :
13904  $as_echo_n "(cached) " >&6
13905else
13906  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13907/* end confdefs.h.  */
13908int i;
13909int
13910main ()
13911{
13912
13913  ;
13914  return 0;
13915}
13916_ACEOF
13917if ac_fn_c_try_link "$LINENO"; then :
13918  eval $cacheid=yes
13919else
13920  eval $cacheid=no
13921fi
13922rm -f core conftest.err conftest.$ac_objext \
13923    conftest$ac_exeext conftest.$ac_ext
13924fi
13925
13926
13927		CFLAGS="$xorg_testset_save_CFLAGS"
13928
13929		eval supported=\$$cacheid
13930		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
13931$as_echo "$supported" >&6; }
13932		if test "$supported" = "yes" ; then
13933			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
13934			found="yes"
13935		fi
13936	fi
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952xorg_testset_save_CFLAGS="$CFLAGS"
13953
13954if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
13955	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13956	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
13957$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
13958if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
13959  $as_echo_n "(cached) " >&6
13960else
13961  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13962/* end confdefs.h.  */
13963int i;
13964_ACEOF
13965if ac_fn_c_try_compile "$LINENO"; then :
13966  xorg_cv_cc_flag_unknown_warning_option=yes
13967else
13968  xorg_cv_cc_flag_unknown_warning_option=no
13969fi
13970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13971fi
13972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
13973$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
13974	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
13975	CFLAGS="$xorg_testset_save_CFLAGS"
13976fi
13977
13978if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
13979	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
13980		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13981	fi
13982	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
13983	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
13984$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
13985if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
13986  $as_echo_n "(cached) " >&6
13987else
13988  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13989/* end confdefs.h.  */
13990int i;
13991_ACEOF
13992if ac_fn_c_try_compile "$LINENO"; then :
13993  xorg_cv_cc_flag_unused_command_line_argument=yes
13994else
13995  xorg_cv_cc_flag_unused_command_line_argument=no
13996fi
13997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13998fi
13999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
14000$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
14001	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
14002	CFLAGS="$xorg_testset_save_CFLAGS"
14003fi
14004
14005found="no"
14006
14007	if test $found = "no" ; then
14008		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14009			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14010		fi
14011
14012		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
14013			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14014		fi
14015
14016		CFLAGS="$CFLAGS -Wredundant-decls"
14017
14018		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
14019$as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
14020		cacheid=xorg_cv_cc_flag__Wredundant_decls
14021		if eval \${$cacheid+:} false; then :
14022  $as_echo_n "(cached) " >&6
14023else
14024  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025/* end confdefs.h.  */
14026int i;
14027int
14028main ()
14029{
14030
14031  ;
14032  return 0;
14033}
14034_ACEOF
14035if ac_fn_c_try_link "$LINENO"; then :
14036  eval $cacheid=yes
14037else
14038  eval $cacheid=no
14039fi
14040rm -f core conftest.err conftest.$ac_objext \
14041    conftest$ac_exeext conftest.$ac_ext
14042fi
14043
14044
14045		CFLAGS="$xorg_testset_save_CFLAGS"
14046
14047		eval supported=\$$cacheid
14048		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
14049$as_echo "$supported" >&6; }
14050		if test "$supported" = "yes" ; then
14051			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
14052			found="yes"
14053		fi
14054	fi
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070xorg_testset_save_CFLAGS="$CFLAGS"
14071
14072if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
14073	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14074	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
14075$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
14076if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
14077  $as_echo_n "(cached) " >&6
14078else
14079  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080/* end confdefs.h.  */
14081int i;
14082_ACEOF
14083if ac_fn_c_try_compile "$LINENO"; then :
14084  xorg_cv_cc_flag_unknown_warning_option=yes
14085else
14086  xorg_cv_cc_flag_unknown_warning_option=no
14087fi
14088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14089fi
14090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
14091$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
14092	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
14093	CFLAGS="$xorg_testset_save_CFLAGS"
14094fi
14095
14096if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
14097	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14098		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14099	fi
14100	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14101	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
14102$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
14103if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
14104  $as_echo_n "(cached) " >&6
14105else
14106  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107/* end confdefs.h.  */
14108int i;
14109_ACEOF
14110if ac_fn_c_try_compile "$LINENO"; then :
14111  xorg_cv_cc_flag_unused_command_line_argument=yes
14112else
14113  xorg_cv_cc_flag_unused_command_line_argument=no
14114fi
14115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14116fi
14117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
14118$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
14119	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
14120	CFLAGS="$xorg_testset_save_CFLAGS"
14121fi
14122
14123found="no"
14124
14125	if test $found = "no" ; then
14126		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14127			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14128		fi
14129
14130		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
14131			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14132		fi
14133
14134		CFLAGS="$CFLAGS -Wlogical-op"
14135
14136		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
14137$as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
14138		cacheid=xorg_cv_cc_flag__Wlogical_op
14139		if eval \${$cacheid+:} false; then :
14140  $as_echo_n "(cached) " >&6
14141else
14142  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14143/* end confdefs.h.  */
14144int i;
14145int
14146main ()
14147{
14148
14149  ;
14150  return 0;
14151}
14152_ACEOF
14153if ac_fn_c_try_link "$LINENO"; then :
14154  eval $cacheid=yes
14155else
14156  eval $cacheid=no
14157fi
14158rm -f core conftest.err conftest.$ac_objext \
14159    conftest$ac_exeext conftest.$ac_ext
14160fi
14161
14162
14163		CFLAGS="$xorg_testset_save_CFLAGS"
14164
14165		eval supported=\$$cacheid
14166		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
14167$as_echo "$supported" >&6; }
14168		if test "$supported" = "yes" ; then
14169			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
14170			found="yes"
14171		fi
14172	fi
14173
14174
14175
14176# These are currently disabled because they are noisy.  They will be enabled
14177# in the future once the codebase is sufficiently modernized to silence
14178# them.  For now, I don't want them to drown out the other warnings.
14179# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
14180# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
14181# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
14182
14183# Turn some warnings into errors, so we don't accidently get successful builds
14184# when there are problems that should be fixed.
14185
14186if test "x$SELECTIVE_WERROR" = "xyes" ; then
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200xorg_testset_save_CFLAGS="$CFLAGS"
14201
14202if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
14203	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14204	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
14205$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
14206if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
14207  $as_echo_n "(cached) " >&6
14208else
14209  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210/* end confdefs.h.  */
14211int i;
14212_ACEOF
14213if ac_fn_c_try_compile "$LINENO"; then :
14214  xorg_cv_cc_flag_unknown_warning_option=yes
14215else
14216  xorg_cv_cc_flag_unknown_warning_option=no
14217fi
14218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14219fi
14220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
14221$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
14222	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
14223	CFLAGS="$xorg_testset_save_CFLAGS"
14224fi
14225
14226if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
14227	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14228		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14229	fi
14230	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14231	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
14232$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
14233if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
14234  $as_echo_n "(cached) " >&6
14235else
14236  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14237/* end confdefs.h.  */
14238int i;
14239_ACEOF
14240if ac_fn_c_try_compile "$LINENO"; then :
14241  xorg_cv_cc_flag_unused_command_line_argument=yes
14242else
14243  xorg_cv_cc_flag_unused_command_line_argument=no
14244fi
14245rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14246fi
14247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
14248$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
14249	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
14250	CFLAGS="$xorg_testset_save_CFLAGS"
14251fi
14252
14253found="no"
14254
14255	if test $found = "no" ; then
14256		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14257			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14258		fi
14259
14260		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
14261			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14262		fi
14263
14264		CFLAGS="$CFLAGS -Werror=implicit"
14265
14266		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
14267$as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
14268		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
14269		if eval \${$cacheid+:} false; then :
14270  $as_echo_n "(cached) " >&6
14271else
14272  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273/* end confdefs.h.  */
14274int i;
14275int
14276main ()
14277{
14278
14279  ;
14280  return 0;
14281}
14282_ACEOF
14283if ac_fn_c_try_link "$LINENO"; then :
14284  eval $cacheid=yes
14285else
14286  eval $cacheid=no
14287fi
14288rm -f core conftest.err conftest.$ac_objext \
14289    conftest$ac_exeext conftest.$ac_ext
14290fi
14291
14292
14293		CFLAGS="$xorg_testset_save_CFLAGS"
14294
14295		eval supported=\$$cacheid
14296		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
14297$as_echo "$supported" >&6; }
14298		if test "$supported" = "yes" ; then
14299			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
14300			found="yes"
14301		fi
14302	fi
14303
14304	if test $found = "no" ; then
14305		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14306			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14307		fi
14308
14309		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
14310			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14311		fi
14312
14313		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
14314
14315		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
14316$as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
14317		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
14318		if eval \${$cacheid+:} false; then :
14319  $as_echo_n "(cached) " >&6
14320else
14321  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14322/* end confdefs.h.  */
14323int i;
14324int
14325main ()
14326{
14327
14328  ;
14329  return 0;
14330}
14331_ACEOF
14332if ac_fn_c_try_link "$LINENO"; then :
14333  eval $cacheid=yes
14334else
14335  eval $cacheid=no
14336fi
14337rm -f core conftest.err conftest.$ac_objext \
14338    conftest$ac_exeext conftest.$ac_ext
14339fi
14340
14341
14342		CFLAGS="$xorg_testset_save_CFLAGS"
14343
14344		eval supported=\$$cacheid
14345		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
14346$as_echo "$supported" >&6; }
14347		if test "$supported" = "yes" ; then
14348			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
14349			found="yes"
14350		fi
14351	fi
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367xorg_testset_save_CFLAGS="$CFLAGS"
14368
14369if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
14370	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14371	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
14372$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
14373if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
14374  $as_echo_n "(cached) " >&6
14375else
14376  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14377/* end confdefs.h.  */
14378int i;
14379_ACEOF
14380if ac_fn_c_try_compile "$LINENO"; then :
14381  xorg_cv_cc_flag_unknown_warning_option=yes
14382else
14383  xorg_cv_cc_flag_unknown_warning_option=no
14384fi
14385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14386fi
14387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
14388$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
14389	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
14390	CFLAGS="$xorg_testset_save_CFLAGS"
14391fi
14392
14393if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
14394	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14395		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14396	fi
14397	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14398	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
14399$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
14400if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
14401  $as_echo_n "(cached) " >&6
14402else
14403  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14404/* end confdefs.h.  */
14405int i;
14406_ACEOF
14407if ac_fn_c_try_compile "$LINENO"; then :
14408  xorg_cv_cc_flag_unused_command_line_argument=yes
14409else
14410  xorg_cv_cc_flag_unused_command_line_argument=no
14411fi
14412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14413fi
14414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
14415$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
14416	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
14417	CFLAGS="$xorg_testset_save_CFLAGS"
14418fi
14419
14420found="no"
14421
14422	if test $found = "no" ; then
14423		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14424			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14425		fi
14426
14427		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
14428			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14429		fi
14430
14431		CFLAGS="$CFLAGS -Werror=nonnull"
14432
14433		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
14434$as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
14435		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
14436		if eval \${$cacheid+:} false; then :
14437  $as_echo_n "(cached) " >&6
14438else
14439  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14440/* end confdefs.h.  */
14441int i;
14442int
14443main ()
14444{
14445
14446  ;
14447  return 0;
14448}
14449_ACEOF
14450if ac_fn_c_try_link "$LINENO"; then :
14451  eval $cacheid=yes
14452else
14453  eval $cacheid=no
14454fi
14455rm -f core conftest.err conftest.$ac_objext \
14456    conftest$ac_exeext conftest.$ac_ext
14457fi
14458
14459
14460		CFLAGS="$xorg_testset_save_CFLAGS"
14461
14462		eval supported=\$$cacheid
14463		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
14464$as_echo "$supported" >&6; }
14465		if test "$supported" = "yes" ; then
14466			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
14467			found="yes"
14468		fi
14469	fi
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485xorg_testset_save_CFLAGS="$CFLAGS"
14486
14487if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
14488	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14489	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
14490$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
14491if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
14492  $as_echo_n "(cached) " >&6
14493else
14494  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14495/* end confdefs.h.  */
14496int i;
14497_ACEOF
14498if ac_fn_c_try_compile "$LINENO"; then :
14499  xorg_cv_cc_flag_unknown_warning_option=yes
14500else
14501  xorg_cv_cc_flag_unknown_warning_option=no
14502fi
14503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14504fi
14505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
14506$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
14507	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
14508	CFLAGS="$xorg_testset_save_CFLAGS"
14509fi
14510
14511if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
14512	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14513		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14514	fi
14515	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14516	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
14517$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
14518if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
14519  $as_echo_n "(cached) " >&6
14520else
14521  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522/* end confdefs.h.  */
14523int i;
14524_ACEOF
14525if ac_fn_c_try_compile "$LINENO"; then :
14526  xorg_cv_cc_flag_unused_command_line_argument=yes
14527else
14528  xorg_cv_cc_flag_unused_command_line_argument=no
14529fi
14530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14531fi
14532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
14533$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
14534	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
14535	CFLAGS="$xorg_testset_save_CFLAGS"
14536fi
14537
14538found="no"
14539
14540	if test $found = "no" ; then
14541		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14542			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14543		fi
14544
14545		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
14546			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14547		fi
14548
14549		CFLAGS="$CFLAGS -Werror=init-self"
14550
14551		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
14552$as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
14553		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
14554		if eval \${$cacheid+:} false; then :
14555  $as_echo_n "(cached) " >&6
14556else
14557  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14558/* end confdefs.h.  */
14559int i;
14560int
14561main ()
14562{
14563
14564  ;
14565  return 0;
14566}
14567_ACEOF
14568if ac_fn_c_try_link "$LINENO"; then :
14569  eval $cacheid=yes
14570else
14571  eval $cacheid=no
14572fi
14573rm -f core conftest.err conftest.$ac_objext \
14574    conftest$ac_exeext conftest.$ac_ext
14575fi
14576
14577
14578		CFLAGS="$xorg_testset_save_CFLAGS"
14579
14580		eval supported=\$$cacheid
14581		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
14582$as_echo "$supported" >&6; }
14583		if test "$supported" = "yes" ; then
14584			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
14585			found="yes"
14586		fi
14587	fi
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603xorg_testset_save_CFLAGS="$CFLAGS"
14604
14605if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
14606	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14607	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
14608$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
14609if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
14610  $as_echo_n "(cached) " >&6
14611else
14612  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14613/* end confdefs.h.  */
14614int i;
14615_ACEOF
14616if ac_fn_c_try_compile "$LINENO"; then :
14617  xorg_cv_cc_flag_unknown_warning_option=yes
14618else
14619  xorg_cv_cc_flag_unknown_warning_option=no
14620fi
14621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14622fi
14623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
14624$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
14625	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
14626	CFLAGS="$xorg_testset_save_CFLAGS"
14627fi
14628
14629if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
14630	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14631		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14632	fi
14633	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14634	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
14635$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
14636if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
14637  $as_echo_n "(cached) " >&6
14638else
14639  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14640/* end confdefs.h.  */
14641int i;
14642_ACEOF
14643if ac_fn_c_try_compile "$LINENO"; then :
14644  xorg_cv_cc_flag_unused_command_line_argument=yes
14645else
14646  xorg_cv_cc_flag_unused_command_line_argument=no
14647fi
14648rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14649fi
14650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
14651$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
14652	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
14653	CFLAGS="$xorg_testset_save_CFLAGS"
14654fi
14655
14656found="no"
14657
14658	if test $found = "no" ; then
14659		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14660			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14661		fi
14662
14663		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
14664			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14665		fi
14666
14667		CFLAGS="$CFLAGS -Werror=main"
14668
14669		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
14670$as_echo_n "checking if $CC supports -Werror=main... " >&6; }
14671		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
14672		if eval \${$cacheid+:} false; then :
14673  $as_echo_n "(cached) " >&6
14674else
14675  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14676/* end confdefs.h.  */
14677int i;
14678int
14679main ()
14680{
14681
14682  ;
14683  return 0;
14684}
14685_ACEOF
14686if ac_fn_c_try_link "$LINENO"; then :
14687  eval $cacheid=yes
14688else
14689  eval $cacheid=no
14690fi
14691rm -f core conftest.err conftest.$ac_objext \
14692    conftest$ac_exeext conftest.$ac_ext
14693fi
14694
14695
14696		CFLAGS="$xorg_testset_save_CFLAGS"
14697
14698		eval supported=\$$cacheid
14699		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
14700$as_echo "$supported" >&6; }
14701		if test "$supported" = "yes" ; then
14702			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
14703			found="yes"
14704		fi
14705	fi
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721xorg_testset_save_CFLAGS="$CFLAGS"
14722
14723if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
14724	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14725	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
14726$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
14727if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
14728  $as_echo_n "(cached) " >&6
14729else
14730  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731/* end confdefs.h.  */
14732int i;
14733_ACEOF
14734if ac_fn_c_try_compile "$LINENO"; then :
14735  xorg_cv_cc_flag_unknown_warning_option=yes
14736else
14737  xorg_cv_cc_flag_unknown_warning_option=no
14738fi
14739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14740fi
14741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
14742$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
14743	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
14744	CFLAGS="$xorg_testset_save_CFLAGS"
14745fi
14746
14747if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
14748	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14749		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14750	fi
14751	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14752	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
14753$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
14754if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
14755  $as_echo_n "(cached) " >&6
14756else
14757  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14758/* end confdefs.h.  */
14759int i;
14760_ACEOF
14761if ac_fn_c_try_compile "$LINENO"; then :
14762  xorg_cv_cc_flag_unused_command_line_argument=yes
14763else
14764  xorg_cv_cc_flag_unused_command_line_argument=no
14765fi
14766rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14767fi
14768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
14769$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
14770	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
14771	CFLAGS="$xorg_testset_save_CFLAGS"
14772fi
14773
14774found="no"
14775
14776	if test $found = "no" ; then
14777		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14778			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14779		fi
14780
14781		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
14782			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14783		fi
14784
14785		CFLAGS="$CFLAGS -Werror=missing-braces"
14786
14787		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
14788$as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
14789		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
14790		if eval \${$cacheid+:} false; then :
14791  $as_echo_n "(cached) " >&6
14792else
14793  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794/* end confdefs.h.  */
14795int i;
14796int
14797main ()
14798{
14799
14800  ;
14801  return 0;
14802}
14803_ACEOF
14804if ac_fn_c_try_link "$LINENO"; then :
14805  eval $cacheid=yes
14806else
14807  eval $cacheid=no
14808fi
14809rm -f core conftest.err conftest.$ac_objext \
14810    conftest$ac_exeext conftest.$ac_ext
14811fi
14812
14813
14814		CFLAGS="$xorg_testset_save_CFLAGS"
14815
14816		eval supported=\$$cacheid
14817		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
14818$as_echo "$supported" >&6; }
14819		if test "$supported" = "yes" ; then
14820			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
14821			found="yes"
14822		fi
14823	fi
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839xorg_testset_save_CFLAGS="$CFLAGS"
14840
14841if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
14842	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14843	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
14844$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
14845if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
14846  $as_echo_n "(cached) " >&6
14847else
14848  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849/* end confdefs.h.  */
14850int i;
14851_ACEOF
14852if ac_fn_c_try_compile "$LINENO"; then :
14853  xorg_cv_cc_flag_unknown_warning_option=yes
14854else
14855  xorg_cv_cc_flag_unknown_warning_option=no
14856fi
14857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14858fi
14859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
14860$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
14861	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
14862	CFLAGS="$xorg_testset_save_CFLAGS"
14863fi
14864
14865if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
14866	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14867		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14868	fi
14869	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14870	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
14871$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
14872if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
14873  $as_echo_n "(cached) " >&6
14874else
14875  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876/* end confdefs.h.  */
14877int i;
14878_ACEOF
14879if ac_fn_c_try_compile "$LINENO"; then :
14880  xorg_cv_cc_flag_unused_command_line_argument=yes
14881else
14882  xorg_cv_cc_flag_unused_command_line_argument=no
14883fi
14884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14885fi
14886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
14887$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
14888	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
14889	CFLAGS="$xorg_testset_save_CFLAGS"
14890fi
14891
14892found="no"
14893
14894	if test $found = "no" ; then
14895		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14896			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14897		fi
14898
14899		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
14900			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14901		fi
14902
14903		CFLAGS="$CFLAGS -Werror=sequence-point"
14904
14905		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
14906$as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
14907		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
14908		if eval \${$cacheid+:} false; then :
14909  $as_echo_n "(cached) " >&6
14910else
14911  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912/* end confdefs.h.  */
14913int i;
14914int
14915main ()
14916{
14917
14918  ;
14919  return 0;
14920}
14921_ACEOF
14922if ac_fn_c_try_link "$LINENO"; then :
14923  eval $cacheid=yes
14924else
14925  eval $cacheid=no
14926fi
14927rm -f core conftest.err conftest.$ac_objext \
14928    conftest$ac_exeext conftest.$ac_ext
14929fi
14930
14931
14932		CFLAGS="$xorg_testset_save_CFLAGS"
14933
14934		eval supported=\$$cacheid
14935		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
14936$as_echo "$supported" >&6; }
14937		if test "$supported" = "yes" ; then
14938			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
14939			found="yes"
14940		fi
14941	fi
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957xorg_testset_save_CFLAGS="$CFLAGS"
14958
14959if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
14960	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14961	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
14962$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
14963if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
14964  $as_echo_n "(cached) " >&6
14965else
14966  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14967/* end confdefs.h.  */
14968int i;
14969_ACEOF
14970if ac_fn_c_try_compile "$LINENO"; then :
14971  xorg_cv_cc_flag_unknown_warning_option=yes
14972else
14973  xorg_cv_cc_flag_unknown_warning_option=no
14974fi
14975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14976fi
14977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
14978$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
14979	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
14980	CFLAGS="$xorg_testset_save_CFLAGS"
14981fi
14982
14983if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
14984	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
14985		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14986	fi
14987	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
14988	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
14989$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
14990if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
14991  $as_echo_n "(cached) " >&6
14992else
14993  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14994/* end confdefs.h.  */
14995int i;
14996_ACEOF
14997if ac_fn_c_try_compile "$LINENO"; then :
14998  xorg_cv_cc_flag_unused_command_line_argument=yes
14999else
15000  xorg_cv_cc_flag_unused_command_line_argument=no
15001fi
15002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15003fi
15004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
15005$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
15006	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
15007	CFLAGS="$xorg_testset_save_CFLAGS"
15008fi
15009
15010found="no"
15011
15012	if test $found = "no" ; then
15013		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15014			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15015		fi
15016
15017		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
15018			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15019		fi
15020
15021		CFLAGS="$CFLAGS -Werror=return-type"
15022
15023		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
15024$as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
15025		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
15026		if eval \${$cacheid+:} false; then :
15027  $as_echo_n "(cached) " >&6
15028else
15029  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15030/* end confdefs.h.  */
15031int i;
15032int
15033main ()
15034{
15035
15036  ;
15037  return 0;
15038}
15039_ACEOF
15040if ac_fn_c_try_link "$LINENO"; then :
15041  eval $cacheid=yes
15042else
15043  eval $cacheid=no
15044fi
15045rm -f core conftest.err conftest.$ac_objext \
15046    conftest$ac_exeext conftest.$ac_ext
15047fi
15048
15049
15050		CFLAGS="$xorg_testset_save_CFLAGS"
15051
15052		eval supported=\$$cacheid
15053		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
15054$as_echo "$supported" >&6; }
15055		if test "$supported" = "yes" ; then
15056			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
15057			found="yes"
15058		fi
15059	fi
15060
15061	if test $found = "no" ; then
15062		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15063			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15064		fi
15065
15066		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
15067			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15068		fi
15069
15070		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
15071
15072		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
15073$as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
15074		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
15075		if eval \${$cacheid+:} false; then :
15076  $as_echo_n "(cached) " >&6
15077else
15078  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079/* end confdefs.h.  */
15080int i;
15081int
15082main ()
15083{
15084
15085  ;
15086  return 0;
15087}
15088_ACEOF
15089if ac_fn_c_try_link "$LINENO"; then :
15090  eval $cacheid=yes
15091else
15092  eval $cacheid=no
15093fi
15094rm -f core conftest.err conftest.$ac_objext \
15095    conftest$ac_exeext conftest.$ac_ext
15096fi
15097
15098
15099		CFLAGS="$xorg_testset_save_CFLAGS"
15100
15101		eval supported=\$$cacheid
15102		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
15103$as_echo "$supported" >&6; }
15104		if test "$supported" = "yes" ; then
15105			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
15106			found="yes"
15107		fi
15108	fi
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124xorg_testset_save_CFLAGS="$CFLAGS"
15125
15126if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
15127	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15128	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
15129$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
15130if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
15131  $as_echo_n "(cached) " >&6
15132else
15133  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15134/* end confdefs.h.  */
15135int i;
15136_ACEOF
15137if ac_fn_c_try_compile "$LINENO"; then :
15138  xorg_cv_cc_flag_unknown_warning_option=yes
15139else
15140  xorg_cv_cc_flag_unknown_warning_option=no
15141fi
15142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15143fi
15144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
15145$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
15146	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
15147	CFLAGS="$xorg_testset_save_CFLAGS"
15148fi
15149
15150if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
15151	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15152		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15153	fi
15154	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15155	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
15156$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
15157if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
15158  $as_echo_n "(cached) " >&6
15159else
15160  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161/* end confdefs.h.  */
15162int i;
15163_ACEOF
15164if ac_fn_c_try_compile "$LINENO"; then :
15165  xorg_cv_cc_flag_unused_command_line_argument=yes
15166else
15167  xorg_cv_cc_flag_unused_command_line_argument=no
15168fi
15169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15170fi
15171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
15172$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
15173	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
15174	CFLAGS="$xorg_testset_save_CFLAGS"
15175fi
15176
15177found="no"
15178
15179	if test $found = "no" ; then
15180		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15181			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15182		fi
15183
15184		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
15185			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15186		fi
15187
15188		CFLAGS="$CFLAGS -Werror=trigraphs"
15189
15190		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
15191$as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
15192		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
15193		if eval \${$cacheid+:} false; then :
15194  $as_echo_n "(cached) " >&6
15195else
15196  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15197/* end confdefs.h.  */
15198int i;
15199int
15200main ()
15201{
15202
15203  ;
15204  return 0;
15205}
15206_ACEOF
15207if ac_fn_c_try_link "$LINENO"; then :
15208  eval $cacheid=yes
15209else
15210  eval $cacheid=no
15211fi
15212rm -f core conftest.err conftest.$ac_objext \
15213    conftest$ac_exeext conftest.$ac_ext
15214fi
15215
15216
15217		CFLAGS="$xorg_testset_save_CFLAGS"
15218
15219		eval supported=\$$cacheid
15220		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
15221$as_echo "$supported" >&6; }
15222		if test "$supported" = "yes" ; then
15223			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
15224			found="yes"
15225		fi
15226	fi
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242xorg_testset_save_CFLAGS="$CFLAGS"
15243
15244if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
15245	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15246	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
15247$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
15248if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
15249  $as_echo_n "(cached) " >&6
15250else
15251  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15252/* end confdefs.h.  */
15253int i;
15254_ACEOF
15255if ac_fn_c_try_compile "$LINENO"; then :
15256  xorg_cv_cc_flag_unknown_warning_option=yes
15257else
15258  xorg_cv_cc_flag_unknown_warning_option=no
15259fi
15260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15261fi
15262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
15263$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
15264	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
15265	CFLAGS="$xorg_testset_save_CFLAGS"
15266fi
15267
15268if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
15269	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15270		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15271	fi
15272	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15273	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
15274$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
15275if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
15276  $as_echo_n "(cached) " >&6
15277else
15278  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279/* end confdefs.h.  */
15280int i;
15281_ACEOF
15282if ac_fn_c_try_compile "$LINENO"; then :
15283  xorg_cv_cc_flag_unused_command_line_argument=yes
15284else
15285  xorg_cv_cc_flag_unused_command_line_argument=no
15286fi
15287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15288fi
15289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
15290$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
15291	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
15292	CFLAGS="$xorg_testset_save_CFLAGS"
15293fi
15294
15295found="no"
15296
15297	if test $found = "no" ; then
15298		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15299			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15300		fi
15301
15302		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
15303			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15304		fi
15305
15306		CFLAGS="$CFLAGS -Werror=array-bounds"
15307
15308		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
15309$as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
15310		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
15311		if eval \${$cacheid+:} false; then :
15312  $as_echo_n "(cached) " >&6
15313else
15314  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15315/* end confdefs.h.  */
15316int i;
15317int
15318main ()
15319{
15320
15321  ;
15322  return 0;
15323}
15324_ACEOF
15325if ac_fn_c_try_link "$LINENO"; then :
15326  eval $cacheid=yes
15327else
15328  eval $cacheid=no
15329fi
15330rm -f core conftest.err conftest.$ac_objext \
15331    conftest$ac_exeext conftest.$ac_ext
15332fi
15333
15334
15335		CFLAGS="$xorg_testset_save_CFLAGS"
15336
15337		eval supported=\$$cacheid
15338		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
15339$as_echo "$supported" >&6; }
15340		if test "$supported" = "yes" ; then
15341			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
15342			found="yes"
15343		fi
15344	fi
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360xorg_testset_save_CFLAGS="$CFLAGS"
15361
15362if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
15363	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15364	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
15365$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
15366if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
15367  $as_echo_n "(cached) " >&6
15368else
15369  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15370/* end confdefs.h.  */
15371int i;
15372_ACEOF
15373if ac_fn_c_try_compile "$LINENO"; then :
15374  xorg_cv_cc_flag_unknown_warning_option=yes
15375else
15376  xorg_cv_cc_flag_unknown_warning_option=no
15377fi
15378rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15379fi
15380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
15381$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
15382	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
15383	CFLAGS="$xorg_testset_save_CFLAGS"
15384fi
15385
15386if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
15387	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15388		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15389	fi
15390	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15391	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
15392$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
15393if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
15394  $as_echo_n "(cached) " >&6
15395else
15396  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15397/* end confdefs.h.  */
15398int i;
15399_ACEOF
15400if ac_fn_c_try_compile "$LINENO"; then :
15401  xorg_cv_cc_flag_unused_command_line_argument=yes
15402else
15403  xorg_cv_cc_flag_unused_command_line_argument=no
15404fi
15405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15406fi
15407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
15408$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
15409	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
15410	CFLAGS="$xorg_testset_save_CFLAGS"
15411fi
15412
15413found="no"
15414
15415	if test $found = "no" ; then
15416		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15417			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15418		fi
15419
15420		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
15421			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15422		fi
15423
15424		CFLAGS="$CFLAGS -Werror=write-strings"
15425
15426		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
15427$as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
15428		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
15429		if eval \${$cacheid+:} false; then :
15430  $as_echo_n "(cached) " >&6
15431else
15432  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15433/* end confdefs.h.  */
15434int i;
15435int
15436main ()
15437{
15438
15439  ;
15440  return 0;
15441}
15442_ACEOF
15443if ac_fn_c_try_link "$LINENO"; then :
15444  eval $cacheid=yes
15445else
15446  eval $cacheid=no
15447fi
15448rm -f core conftest.err conftest.$ac_objext \
15449    conftest$ac_exeext conftest.$ac_ext
15450fi
15451
15452
15453		CFLAGS="$xorg_testset_save_CFLAGS"
15454
15455		eval supported=\$$cacheid
15456		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
15457$as_echo "$supported" >&6; }
15458		if test "$supported" = "yes" ; then
15459			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
15460			found="yes"
15461		fi
15462	fi
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478xorg_testset_save_CFLAGS="$CFLAGS"
15479
15480if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
15481	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15482	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
15483$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
15484if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
15485  $as_echo_n "(cached) " >&6
15486else
15487  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488/* end confdefs.h.  */
15489int i;
15490_ACEOF
15491if ac_fn_c_try_compile "$LINENO"; then :
15492  xorg_cv_cc_flag_unknown_warning_option=yes
15493else
15494  xorg_cv_cc_flag_unknown_warning_option=no
15495fi
15496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15497fi
15498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
15499$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
15500	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
15501	CFLAGS="$xorg_testset_save_CFLAGS"
15502fi
15503
15504if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
15505	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15506		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15507	fi
15508	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15509	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
15510$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
15511if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
15512  $as_echo_n "(cached) " >&6
15513else
15514  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15515/* end confdefs.h.  */
15516int i;
15517_ACEOF
15518if ac_fn_c_try_compile "$LINENO"; then :
15519  xorg_cv_cc_flag_unused_command_line_argument=yes
15520else
15521  xorg_cv_cc_flag_unused_command_line_argument=no
15522fi
15523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15524fi
15525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
15526$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
15527	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
15528	CFLAGS="$xorg_testset_save_CFLAGS"
15529fi
15530
15531found="no"
15532
15533	if test $found = "no" ; then
15534		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15535			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15536		fi
15537
15538		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
15539			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15540		fi
15541
15542		CFLAGS="$CFLAGS -Werror=address"
15543
15544		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
15545$as_echo_n "checking if $CC supports -Werror=address... " >&6; }
15546		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
15547		if eval \${$cacheid+:} false; then :
15548  $as_echo_n "(cached) " >&6
15549else
15550  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15551/* end confdefs.h.  */
15552int i;
15553int
15554main ()
15555{
15556
15557  ;
15558  return 0;
15559}
15560_ACEOF
15561if ac_fn_c_try_link "$LINENO"; then :
15562  eval $cacheid=yes
15563else
15564  eval $cacheid=no
15565fi
15566rm -f core conftest.err conftest.$ac_objext \
15567    conftest$ac_exeext conftest.$ac_ext
15568fi
15569
15570
15571		CFLAGS="$xorg_testset_save_CFLAGS"
15572
15573		eval supported=\$$cacheid
15574		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
15575$as_echo "$supported" >&6; }
15576		if test "$supported" = "yes" ; then
15577			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
15578			found="yes"
15579		fi
15580	fi
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596xorg_testset_save_CFLAGS="$CFLAGS"
15597
15598if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
15599	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15600	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
15601$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
15602if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
15603  $as_echo_n "(cached) " >&6
15604else
15605  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15606/* end confdefs.h.  */
15607int i;
15608_ACEOF
15609if ac_fn_c_try_compile "$LINENO"; then :
15610  xorg_cv_cc_flag_unknown_warning_option=yes
15611else
15612  xorg_cv_cc_flag_unknown_warning_option=no
15613fi
15614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15615fi
15616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
15617$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
15618	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
15619	CFLAGS="$xorg_testset_save_CFLAGS"
15620fi
15621
15622if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
15623	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15624		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15625	fi
15626	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15627	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
15628$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
15629if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
15630  $as_echo_n "(cached) " >&6
15631else
15632  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15633/* end confdefs.h.  */
15634int i;
15635_ACEOF
15636if ac_fn_c_try_compile "$LINENO"; then :
15637  xorg_cv_cc_flag_unused_command_line_argument=yes
15638else
15639  xorg_cv_cc_flag_unused_command_line_argument=no
15640fi
15641rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15642fi
15643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
15644$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
15645	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
15646	CFLAGS="$xorg_testset_save_CFLAGS"
15647fi
15648
15649found="no"
15650
15651	if test $found = "no" ; then
15652		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15653			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15654		fi
15655
15656		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
15657			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15658		fi
15659
15660		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
15661
15662		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
15663$as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
15664		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
15665		if eval \${$cacheid+:} false; then :
15666  $as_echo_n "(cached) " >&6
15667else
15668  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15669/* end confdefs.h.  */
15670int i;
15671int
15672main ()
15673{
15674
15675  ;
15676  return 0;
15677}
15678_ACEOF
15679if ac_fn_c_try_link "$LINENO"; then :
15680  eval $cacheid=yes
15681else
15682  eval $cacheid=no
15683fi
15684rm -f core conftest.err conftest.$ac_objext \
15685    conftest$ac_exeext conftest.$ac_ext
15686fi
15687
15688
15689		CFLAGS="$xorg_testset_save_CFLAGS"
15690
15691		eval supported=\$$cacheid
15692		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
15693$as_echo "$supported" >&6; }
15694		if test "$supported" = "yes" ; then
15695			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
15696			found="yes"
15697		fi
15698	fi
15699
15700	if test $found = "no" ; then
15701		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15702			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15703		fi
15704
15705		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
15706			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15707		fi
15708
15709		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
15710
15711		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
15712$as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
15713		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
15714		if eval \${$cacheid+:} false; then :
15715  $as_echo_n "(cached) " >&6
15716else
15717  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15718/* end confdefs.h.  */
15719int i;
15720int
15721main ()
15722{
15723
15724  ;
15725  return 0;
15726}
15727_ACEOF
15728if ac_fn_c_try_link "$LINENO"; then :
15729  eval $cacheid=yes
15730else
15731  eval $cacheid=no
15732fi
15733rm -f core conftest.err conftest.$ac_objext \
15734    conftest$ac_exeext conftest.$ac_ext
15735fi
15736
15737
15738		CFLAGS="$xorg_testset_save_CFLAGS"
15739
15740		eval supported=\$$cacheid
15741		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
15742$as_echo "$supported" >&6; }
15743		if test "$supported" = "yes" ; then
15744			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
15745			found="yes"
15746		fi
15747	fi
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763xorg_testset_save_CFLAGS="$CFLAGS"
15764
15765if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
15766	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15767	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
15768$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
15769if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
15770  $as_echo_n "(cached) " >&6
15771else
15772  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15773/* end confdefs.h.  */
15774int i;
15775_ACEOF
15776if ac_fn_c_try_compile "$LINENO"; then :
15777  xorg_cv_cc_flag_unknown_warning_option=yes
15778else
15779  xorg_cv_cc_flag_unknown_warning_option=no
15780fi
15781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15782fi
15783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
15784$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
15785	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
15786	CFLAGS="$xorg_testset_save_CFLAGS"
15787fi
15788
15789if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
15790	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15791		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15792	fi
15793	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15794	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
15795$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
15796if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
15797  $as_echo_n "(cached) " >&6
15798else
15799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15800/* end confdefs.h.  */
15801int i;
15802_ACEOF
15803if ac_fn_c_try_compile "$LINENO"; then :
15804  xorg_cv_cc_flag_unused_command_line_argument=yes
15805else
15806  xorg_cv_cc_flag_unused_command_line_argument=no
15807fi
15808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15809fi
15810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
15811$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
15812	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
15813	CFLAGS="$xorg_testset_save_CFLAGS"
15814fi
15815
15816found="no"
15817
15818	if test $found = "no" ; then
15819		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15820			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15821		fi
15822
15823		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
15824			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15825		fi
15826
15827		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
15828
15829		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
15830$as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
15831		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
15832		if eval \${$cacheid+:} false; then :
15833  $as_echo_n "(cached) " >&6
15834else
15835  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15836/* end confdefs.h.  */
15837int i;
15838int
15839main ()
15840{
15841
15842  ;
15843  return 0;
15844}
15845_ACEOF
15846if ac_fn_c_try_link "$LINENO"; then :
15847  eval $cacheid=yes
15848else
15849  eval $cacheid=no
15850fi
15851rm -f core conftest.err conftest.$ac_objext \
15852    conftest$ac_exeext conftest.$ac_ext
15853fi
15854
15855
15856		CFLAGS="$xorg_testset_save_CFLAGS"
15857
15858		eval supported=\$$cacheid
15859		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
15860$as_echo "$supported" >&6; }
15861		if test "$supported" = "yes" ; then
15862			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
15863			found="yes"
15864		fi
15865	fi
15866
15867 # Also -errwarn=E_BAD_PTR_INT_COMBINATION
15868else
15869{ $as_echo "$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
15870$as_echo "$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;}
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884xorg_testset_save_CFLAGS="$CFLAGS"
15885
15886if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
15887	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15888	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
15889$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
15890if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
15891  $as_echo_n "(cached) " >&6
15892else
15893  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894/* end confdefs.h.  */
15895int i;
15896_ACEOF
15897if ac_fn_c_try_compile "$LINENO"; then :
15898  xorg_cv_cc_flag_unknown_warning_option=yes
15899else
15900  xorg_cv_cc_flag_unknown_warning_option=no
15901fi
15902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15903fi
15904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
15905$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
15906	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
15907	CFLAGS="$xorg_testset_save_CFLAGS"
15908fi
15909
15910if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
15911	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15912		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15913	fi
15914	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15915	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
15916$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
15917if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
15918  $as_echo_n "(cached) " >&6
15919else
15920  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15921/* end confdefs.h.  */
15922int i;
15923_ACEOF
15924if ac_fn_c_try_compile "$LINENO"; then :
15925  xorg_cv_cc_flag_unused_command_line_argument=yes
15926else
15927  xorg_cv_cc_flag_unused_command_line_argument=no
15928fi
15929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15930fi
15931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
15932$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
15933	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
15934	CFLAGS="$xorg_testset_save_CFLAGS"
15935fi
15936
15937found="no"
15938
15939	if test $found = "no" ; then
15940		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
15941			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15942		fi
15943
15944		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
15945			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15946		fi
15947
15948		CFLAGS="$CFLAGS -Wimplicit"
15949
15950		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
15951$as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
15952		cacheid=xorg_cv_cc_flag__Wimplicit
15953		if eval \${$cacheid+:} false; then :
15954  $as_echo_n "(cached) " >&6
15955else
15956  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15957/* end confdefs.h.  */
15958int i;
15959int
15960main ()
15961{
15962
15963  ;
15964  return 0;
15965}
15966_ACEOF
15967if ac_fn_c_try_link "$LINENO"; then :
15968  eval $cacheid=yes
15969else
15970  eval $cacheid=no
15971fi
15972rm -f core conftest.err conftest.$ac_objext \
15973    conftest$ac_exeext conftest.$ac_ext
15974fi
15975
15976
15977		CFLAGS="$xorg_testset_save_CFLAGS"
15978
15979		eval supported=\$$cacheid
15980		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
15981$as_echo "$supported" >&6; }
15982		if test "$supported" = "yes" ; then
15983			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
15984			found="yes"
15985		fi
15986	fi
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002xorg_testset_save_CFLAGS="$CFLAGS"
16003
16004if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
16005	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16006	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
16007$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
16008if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
16009  $as_echo_n "(cached) " >&6
16010else
16011  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16012/* end confdefs.h.  */
16013int i;
16014_ACEOF
16015if ac_fn_c_try_compile "$LINENO"; then :
16016  xorg_cv_cc_flag_unknown_warning_option=yes
16017else
16018  xorg_cv_cc_flag_unknown_warning_option=no
16019fi
16020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16021fi
16022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
16023$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
16024	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
16025	CFLAGS="$xorg_testset_save_CFLAGS"
16026fi
16027
16028if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
16029	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16030		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16031	fi
16032	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16033	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
16034$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
16035if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
16036  $as_echo_n "(cached) " >&6
16037else
16038  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16039/* end confdefs.h.  */
16040int i;
16041_ACEOF
16042if ac_fn_c_try_compile "$LINENO"; then :
16043  xorg_cv_cc_flag_unused_command_line_argument=yes
16044else
16045  xorg_cv_cc_flag_unused_command_line_argument=no
16046fi
16047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16048fi
16049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
16050$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
16051	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
16052	CFLAGS="$xorg_testset_save_CFLAGS"
16053fi
16054
16055found="no"
16056
16057	if test $found = "no" ; then
16058		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16059			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16060		fi
16061
16062		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
16063			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16064		fi
16065
16066		CFLAGS="$CFLAGS -Wnonnull"
16067
16068		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
16069$as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
16070		cacheid=xorg_cv_cc_flag__Wnonnull
16071		if eval \${$cacheid+:} false; then :
16072  $as_echo_n "(cached) " >&6
16073else
16074  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16075/* end confdefs.h.  */
16076int i;
16077int
16078main ()
16079{
16080
16081  ;
16082  return 0;
16083}
16084_ACEOF
16085if ac_fn_c_try_link "$LINENO"; then :
16086  eval $cacheid=yes
16087else
16088  eval $cacheid=no
16089fi
16090rm -f core conftest.err conftest.$ac_objext \
16091    conftest$ac_exeext conftest.$ac_ext
16092fi
16093
16094
16095		CFLAGS="$xorg_testset_save_CFLAGS"
16096
16097		eval supported=\$$cacheid
16098		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
16099$as_echo "$supported" >&6; }
16100		if test "$supported" = "yes" ; then
16101			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
16102			found="yes"
16103		fi
16104	fi
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120xorg_testset_save_CFLAGS="$CFLAGS"
16121
16122if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
16123	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16124	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
16125$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
16126if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
16127  $as_echo_n "(cached) " >&6
16128else
16129  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16130/* end confdefs.h.  */
16131int i;
16132_ACEOF
16133if ac_fn_c_try_compile "$LINENO"; then :
16134  xorg_cv_cc_flag_unknown_warning_option=yes
16135else
16136  xorg_cv_cc_flag_unknown_warning_option=no
16137fi
16138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16139fi
16140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
16141$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
16142	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
16143	CFLAGS="$xorg_testset_save_CFLAGS"
16144fi
16145
16146if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
16147	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16148		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16149	fi
16150	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16151	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
16152$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
16153if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
16154  $as_echo_n "(cached) " >&6
16155else
16156  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16157/* end confdefs.h.  */
16158int i;
16159_ACEOF
16160if ac_fn_c_try_compile "$LINENO"; then :
16161  xorg_cv_cc_flag_unused_command_line_argument=yes
16162else
16163  xorg_cv_cc_flag_unused_command_line_argument=no
16164fi
16165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16166fi
16167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
16168$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
16169	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
16170	CFLAGS="$xorg_testset_save_CFLAGS"
16171fi
16172
16173found="no"
16174
16175	if test $found = "no" ; then
16176		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16177			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16178		fi
16179
16180		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
16181			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16182		fi
16183
16184		CFLAGS="$CFLAGS -Winit-self"
16185
16186		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
16187$as_echo_n "checking if $CC supports -Winit-self... " >&6; }
16188		cacheid=xorg_cv_cc_flag__Winit_self
16189		if eval \${$cacheid+:} false; then :
16190  $as_echo_n "(cached) " >&6
16191else
16192  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16193/* end confdefs.h.  */
16194int i;
16195int
16196main ()
16197{
16198
16199  ;
16200  return 0;
16201}
16202_ACEOF
16203if ac_fn_c_try_link "$LINENO"; then :
16204  eval $cacheid=yes
16205else
16206  eval $cacheid=no
16207fi
16208rm -f core conftest.err conftest.$ac_objext \
16209    conftest$ac_exeext conftest.$ac_ext
16210fi
16211
16212
16213		CFLAGS="$xorg_testset_save_CFLAGS"
16214
16215		eval supported=\$$cacheid
16216		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
16217$as_echo "$supported" >&6; }
16218		if test "$supported" = "yes" ; then
16219			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
16220			found="yes"
16221		fi
16222	fi
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238xorg_testset_save_CFLAGS="$CFLAGS"
16239
16240if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
16241	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16242	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
16243$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
16244if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
16245  $as_echo_n "(cached) " >&6
16246else
16247  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16248/* end confdefs.h.  */
16249int i;
16250_ACEOF
16251if ac_fn_c_try_compile "$LINENO"; then :
16252  xorg_cv_cc_flag_unknown_warning_option=yes
16253else
16254  xorg_cv_cc_flag_unknown_warning_option=no
16255fi
16256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16257fi
16258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
16259$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
16260	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
16261	CFLAGS="$xorg_testset_save_CFLAGS"
16262fi
16263
16264if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
16265	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16266		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16267	fi
16268	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16269	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
16270$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
16271if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
16272  $as_echo_n "(cached) " >&6
16273else
16274  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16275/* end confdefs.h.  */
16276int i;
16277_ACEOF
16278if ac_fn_c_try_compile "$LINENO"; then :
16279  xorg_cv_cc_flag_unused_command_line_argument=yes
16280else
16281  xorg_cv_cc_flag_unused_command_line_argument=no
16282fi
16283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16284fi
16285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
16286$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
16287	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
16288	CFLAGS="$xorg_testset_save_CFLAGS"
16289fi
16290
16291found="no"
16292
16293	if test $found = "no" ; then
16294		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16295			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16296		fi
16297
16298		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
16299			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16300		fi
16301
16302		CFLAGS="$CFLAGS -Wmain"
16303
16304		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
16305$as_echo_n "checking if $CC supports -Wmain... " >&6; }
16306		cacheid=xorg_cv_cc_flag__Wmain
16307		if eval \${$cacheid+:} false; then :
16308  $as_echo_n "(cached) " >&6
16309else
16310  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16311/* end confdefs.h.  */
16312int i;
16313int
16314main ()
16315{
16316
16317  ;
16318  return 0;
16319}
16320_ACEOF
16321if ac_fn_c_try_link "$LINENO"; then :
16322  eval $cacheid=yes
16323else
16324  eval $cacheid=no
16325fi
16326rm -f core conftest.err conftest.$ac_objext \
16327    conftest$ac_exeext conftest.$ac_ext
16328fi
16329
16330
16331		CFLAGS="$xorg_testset_save_CFLAGS"
16332
16333		eval supported=\$$cacheid
16334		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
16335$as_echo "$supported" >&6; }
16336		if test "$supported" = "yes" ; then
16337			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
16338			found="yes"
16339		fi
16340	fi
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356xorg_testset_save_CFLAGS="$CFLAGS"
16357
16358if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
16359	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16360	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
16361$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
16362if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
16363  $as_echo_n "(cached) " >&6
16364else
16365  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16366/* end confdefs.h.  */
16367int i;
16368_ACEOF
16369if ac_fn_c_try_compile "$LINENO"; then :
16370  xorg_cv_cc_flag_unknown_warning_option=yes
16371else
16372  xorg_cv_cc_flag_unknown_warning_option=no
16373fi
16374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16375fi
16376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
16377$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
16378	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
16379	CFLAGS="$xorg_testset_save_CFLAGS"
16380fi
16381
16382if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
16383	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16384		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16385	fi
16386	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16387	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
16388$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
16389if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
16390  $as_echo_n "(cached) " >&6
16391else
16392  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393/* end confdefs.h.  */
16394int i;
16395_ACEOF
16396if ac_fn_c_try_compile "$LINENO"; then :
16397  xorg_cv_cc_flag_unused_command_line_argument=yes
16398else
16399  xorg_cv_cc_flag_unused_command_line_argument=no
16400fi
16401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16402fi
16403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
16404$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
16405	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
16406	CFLAGS="$xorg_testset_save_CFLAGS"
16407fi
16408
16409found="no"
16410
16411	if test $found = "no" ; then
16412		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16413			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16414		fi
16415
16416		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
16417			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16418		fi
16419
16420		CFLAGS="$CFLAGS -Wmissing-braces"
16421
16422		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
16423$as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
16424		cacheid=xorg_cv_cc_flag__Wmissing_braces
16425		if eval \${$cacheid+:} false; then :
16426  $as_echo_n "(cached) " >&6
16427else
16428  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429/* end confdefs.h.  */
16430int i;
16431int
16432main ()
16433{
16434
16435  ;
16436  return 0;
16437}
16438_ACEOF
16439if ac_fn_c_try_link "$LINENO"; then :
16440  eval $cacheid=yes
16441else
16442  eval $cacheid=no
16443fi
16444rm -f core conftest.err conftest.$ac_objext \
16445    conftest$ac_exeext conftest.$ac_ext
16446fi
16447
16448
16449		CFLAGS="$xorg_testset_save_CFLAGS"
16450
16451		eval supported=\$$cacheid
16452		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
16453$as_echo "$supported" >&6; }
16454		if test "$supported" = "yes" ; then
16455			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
16456			found="yes"
16457		fi
16458	fi
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474xorg_testset_save_CFLAGS="$CFLAGS"
16475
16476if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
16477	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16478	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
16479$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
16480if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
16481  $as_echo_n "(cached) " >&6
16482else
16483  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16484/* end confdefs.h.  */
16485int i;
16486_ACEOF
16487if ac_fn_c_try_compile "$LINENO"; then :
16488  xorg_cv_cc_flag_unknown_warning_option=yes
16489else
16490  xorg_cv_cc_flag_unknown_warning_option=no
16491fi
16492rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16493fi
16494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
16495$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
16496	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
16497	CFLAGS="$xorg_testset_save_CFLAGS"
16498fi
16499
16500if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
16501	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16502		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16503	fi
16504	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16505	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
16506$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
16507if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
16508  $as_echo_n "(cached) " >&6
16509else
16510  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16511/* end confdefs.h.  */
16512int i;
16513_ACEOF
16514if ac_fn_c_try_compile "$LINENO"; then :
16515  xorg_cv_cc_flag_unused_command_line_argument=yes
16516else
16517  xorg_cv_cc_flag_unused_command_line_argument=no
16518fi
16519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16520fi
16521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
16522$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
16523	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
16524	CFLAGS="$xorg_testset_save_CFLAGS"
16525fi
16526
16527found="no"
16528
16529	if test $found = "no" ; then
16530		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16531			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16532		fi
16533
16534		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
16535			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16536		fi
16537
16538		CFLAGS="$CFLAGS -Wsequence-point"
16539
16540		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
16541$as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
16542		cacheid=xorg_cv_cc_flag__Wsequence_point
16543		if eval \${$cacheid+:} false; then :
16544  $as_echo_n "(cached) " >&6
16545else
16546  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547/* end confdefs.h.  */
16548int i;
16549int
16550main ()
16551{
16552
16553  ;
16554  return 0;
16555}
16556_ACEOF
16557if ac_fn_c_try_link "$LINENO"; then :
16558  eval $cacheid=yes
16559else
16560  eval $cacheid=no
16561fi
16562rm -f core conftest.err conftest.$ac_objext \
16563    conftest$ac_exeext conftest.$ac_ext
16564fi
16565
16566
16567		CFLAGS="$xorg_testset_save_CFLAGS"
16568
16569		eval supported=\$$cacheid
16570		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
16571$as_echo "$supported" >&6; }
16572		if test "$supported" = "yes" ; then
16573			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
16574			found="yes"
16575		fi
16576	fi
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592xorg_testset_save_CFLAGS="$CFLAGS"
16593
16594if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
16595	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16596	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
16597$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
16598if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
16599  $as_echo_n "(cached) " >&6
16600else
16601  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16602/* end confdefs.h.  */
16603int i;
16604_ACEOF
16605if ac_fn_c_try_compile "$LINENO"; then :
16606  xorg_cv_cc_flag_unknown_warning_option=yes
16607else
16608  xorg_cv_cc_flag_unknown_warning_option=no
16609fi
16610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16611fi
16612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
16613$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
16614	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
16615	CFLAGS="$xorg_testset_save_CFLAGS"
16616fi
16617
16618if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
16619	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16620		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16621	fi
16622	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16623	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
16624$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
16625if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
16626  $as_echo_n "(cached) " >&6
16627else
16628  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629/* end confdefs.h.  */
16630int i;
16631_ACEOF
16632if ac_fn_c_try_compile "$LINENO"; then :
16633  xorg_cv_cc_flag_unused_command_line_argument=yes
16634else
16635  xorg_cv_cc_flag_unused_command_line_argument=no
16636fi
16637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16638fi
16639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
16640$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
16641	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
16642	CFLAGS="$xorg_testset_save_CFLAGS"
16643fi
16644
16645found="no"
16646
16647	if test $found = "no" ; then
16648		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16649			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16650		fi
16651
16652		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
16653			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16654		fi
16655
16656		CFLAGS="$CFLAGS -Wreturn-type"
16657
16658		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
16659$as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
16660		cacheid=xorg_cv_cc_flag__Wreturn_type
16661		if eval \${$cacheid+:} false; then :
16662  $as_echo_n "(cached) " >&6
16663else
16664  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665/* end confdefs.h.  */
16666int i;
16667int
16668main ()
16669{
16670
16671  ;
16672  return 0;
16673}
16674_ACEOF
16675if ac_fn_c_try_link "$LINENO"; then :
16676  eval $cacheid=yes
16677else
16678  eval $cacheid=no
16679fi
16680rm -f core conftest.err conftest.$ac_objext \
16681    conftest$ac_exeext conftest.$ac_ext
16682fi
16683
16684
16685		CFLAGS="$xorg_testset_save_CFLAGS"
16686
16687		eval supported=\$$cacheid
16688		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
16689$as_echo "$supported" >&6; }
16690		if test "$supported" = "yes" ; then
16691			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
16692			found="yes"
16693		fi
16694	fi
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710xorg_testset_save_CFLAGS="$CFLAGS"
16711
16712if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
16713	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16714	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
16715$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
16716if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
16717  $as_echo_n "(cached) " >&6
16718else
16719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16720/* end confdefs.h.  */
16721int i;
16722_ACEOF
16723if ac_fn_c_try_compile "$LINENO"; then :
16724  xorg_cv_cc_flag_unknown_warning_option=yes
16725else
16726  xorg_cv_cc_flag_unknown_warning_option=no
16727fi
16728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16729fi
16730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
16731$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
16732	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
16733	CFLAGS="$xorg_testset_save_CFLAGS"
16734fi
16735
16736if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
16737	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16738		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16739	fi
16740	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16741	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
16742$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
16743if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
16744  $as_echo_n "(cached) " >&6
16745else
16746  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747/* end confdefs.h.  */
16748int i;
16749_ACEOF
16750if ac_fn_c_try_compile "$LINENO"; then :
16751  xorg_cv_cc_flag_unused_command_line_argument=yes
16752else
16753  xorg_cv_cc_flag_unused_command_line_argument=no
16754fi
16755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16756fi
16757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
16758$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
16759	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
16760	CFLAGS="$xorg_testset_save_CFLAGS"
16761fi
16762
16763found="no"
16764
16765	if test $found = "no" ; then
16766		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16767			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16768		fi
16769
16770		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
16771			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16772		fi
16773
16774		CFLAGS="$CFLAGS -Wtrigraphs"
16775
16776		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
16777$as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
16778		cacheid=xorg_cv_cc_flag__Wtrigraphs
16779		if eval \${$cacheid+:} false; then :
16780  $as_echo_n "(cached) " >&6
16781else
16782  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16783/* end confdefs.h.  */
16784int i;
16785int
16786main ()
16787{
16788
16789  ;
16790  return 0;
16791}
16792_ACEOF
16793if ac_fn_c_try_link "$LINENO"; then :
16794  eval $cacheid=yes
16795else
16796  eval $cacheid=no
16797fi
16798rm -f core conftest.err conftest.$ac_objext \
16799    conftest$ac_exeext conftest.$ac_ext
16800fi
16801
16802
16803		CFLAGS="$xorg_testset_save_CFLAGS"
16804
16805		eval supported=\$$cacheid
16806		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
16807$as_echo "$supported" >&6; }
16808		if test "$supported" = "yes" ; then
16809			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
16810			found="yes"
16811		fi
16812	fi
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828xorg_testset_save_CFLAGS="$CFLAGS"
16829
16830if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
16831	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16832	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
16833$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
16834if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
16835  $as_echo_n "(cached) " >&6
16836else
16837  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16838/* end confdefs.h.  */
16839int i;
16840_ACEOF
16841if ac_fn_c_try_compile "$LINENO"; then :
16842  xorg_cv_cc_flag_unknown_warning_option=yes
16843else
16844  xorg_cv_cc_flag_unknown_warning_option=no
16845fi
16846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16847fi
16848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
16849$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
16850	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
16851	CFLAGS="$xorg_testset_save_CFLAGS"
16852fi
16853
16854if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
16855	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16856		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16857	fi
16858	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16859	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
16860$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
16861if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
16862  $as_echo_n "(cached) " >&6
16863else
16864  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16865/* end confdefs.h.  */
16866int i;
16867_ACEOF
16868if ac_fn_c_try_compile "$LINENO"; then :
16869  xorg_cv_cc_flag_unused_command_line_argument=yes
16870else
16871  xorg_cv_cc_flag_unused_command_line_argument=no
16872fi
16873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874fi
16875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
16876$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
16877	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
16878	CFLAGS="$xorg_testset_save_CFLAGS"
16879fi
16880
16881found="no"
16882
16883	if test $found = "no" ; then
16884		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16885			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16886		fi
16887
16888		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
16889			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16890		fi
16891
16892		CFLAGS="$CFLAGS -Warray-bounds"
16893
16894		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
16895$as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
16896		cacheid=xorg_cv_cc_flag__Warray_bounds
16897		if eval \${$cacheid+:} false; then :
16898  $as_echo_n "(cached) " >&6
16899else
16900  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16901/* end confdefs.h.  */
16902int i;
16903int
16904main ()
16905{
16906
16907  ;
16908  return 0;
16909}
16910_ACEOF
16911if ac_fn_c_try_link "$LINENO"; then :
16912  eval $cacheid=yes
16913else
16914  eval $cacheid=no
16915fi
16916rm -f core conftest.err conftest.$ac_objext \
16917    conftest$ac_exeext conftest.$ac_ext
16918fi
16919
16920
16921		CFLAGS="$xorg_testset_save_CFLAGS"
16922
16923		eval supported=\$$cacheid
16924		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
16925$as_echo "$supported" >&6; }
16926		if test "$supported" = "yes" ; then
16927			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
16928			found="yes"
16929		fi
16930	fi
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946xorg_testset_save_CFLAGS="$CFLAGS"
16947
16948if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
16949	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16950	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
16951$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
16952if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
16953  $as_echo_n "(cached) " >&6
16954else
16955  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16956/* end confdefs.h.  */
16957int i;
16958_ACEOF
16959if ac_fn_c_try_compile "$LINENO"; then :
16960  xorg_cv_cc_flag_unknown_warning_option=yes
16961else
16962  xorg_cv_cc_flag_unknown_warning_option=no
16963fi
16964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16965fi
16966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
16967$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
16968	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
16969	CFLAGS="$xorg_testset_save_CFLAGS"
16970fi
16971
16972if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
16973	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
16974		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16975	fi
16976	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16977	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
16978$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
16979if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
16980  $as_echo_n "(cached) " >&6
16981else
16982  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983/* end confdefs.h.  */
16984int i;
16985_ACEOF
16986if ac_fn_c_try_compile "$LINENO"; then :
16987  xorg_cv_cc_flag_unused_command_line_argument=yes
16988else
16989  xorg_cv_cc_flag_unused_command_line_argument=no
16990fi
16991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16992fi
16993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
16994$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
16995	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
16996	CFLAGS="$xorg_testset_save_CFLAGS"
16997fi
16998
16999found="no"
17000
17001	if test $found = "no" ; then
17002		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17003			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17004		fi
17005
17006		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
17007			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17008		fi
17009
17010		CFLAGS="$CFLAGS -Wwrite-strings"
17011
17012		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
17013$as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
17014		cacheid=xorg_cv_cc_flag__Wwrite_strings
17015		if eval \${$cacheid+:} false; then :
17016  $as_echo_n "(cached) " >&6
17017else
17018  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17019/* end confdefs.h.  */
17020int i;
17021int
17022main ()
17023{
17024
17025  ;
17026  return 0;
17027}
17028_ACEOF
17029if ac_fn_c_try_link "$LINENO"; then :
17030  eval $cacheid=yes
17031else
17032  eval $cacheid=no
17033fi
17034rm -f core conftest.err conftest.$ac_objext \
17035    conftest$ac_exeext conftest.$ac_ext
17036fi
17037
17038
17039		CFLAGS="$xorg_testset_save_CFLAGS"
17040
17041		eval supported=\$$cacheid
17042		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
17043$as_echo "$supported" >&6; }
17044		if test "$supported" = "yes" ; then
17045			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
17046			found="yes"
17047		fi
17048	fi
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064xorg_testset_save_CFLAGS="$CFLAGS"
17065
17066if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
17067	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17068	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
17069$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
17070if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
17071  $as_echo_n "(cached) " >&6
17072else
17073  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074/* end confdefs.h.  */
17075int i;
17076_ACEOF
17077if ac_fn_c_try_compile "$LINENO"; then :
17078  xorg_cv_cc_flag_unknown_warning_option=yes
17079else
17080  xorg_cv_cc_flag_unknown_warning_option=no
17081fi
17082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17083fi
17084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
17085$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
17086	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
17087	CFLAGS="$xorg_testset_save_CFLAGS"
17088fi
17089
17090if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
17091	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17092		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17093	fi
17094	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17095	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
17096$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
17097if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
17098  $as_echo_n "(cached) " >&6
17099else
17100  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17101/* end confdefs.h.  */
17102int i;
17103_ACEOF
17104if ac_fn_c_try_compile "$LINENO"; then :
17105  xorg_cv_cc_flag_unused_command_line_argument=yes
17106else
17107  xorg_cv_cc_flag_unused_command_line_argument=no
17108fi
17109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110fi
17111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
17112$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
17113	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
17114	CFLAGS="$xorg_testset_save_CFLAGS"
17115fi
17116
17117found="no"
17118
17119	if test $found = "no" ; then
17120		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17121			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17122		fi
17123
17124		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
17125			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17126		fi
17127
17128		CFLAGS="$CFLAGS -Waddress"
17129
17130		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
17131$as_echo_n "checking if $CC supports -Waddress... " >&6; }
17132		cacheid=xorg_cv_cc_flag__Waddress
17133		if eval \${$cacheid+:} false; then :
17134  $as_echo_n "(cached) " >&6
17135else
17136  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137/* end confdefs.h.  */
17138int i;
17139int
17140main ()
17141{
17142
17143  ;
17144  return 0;
17145}
17146_ACEOF
17147if ac_fn_c_try_link "$LINENO"; then :
17148  eval $cacheid=yes
17149else
17150  eval $cacheid=no
17151fi
17152rm -f core conftest.err conftest.$ac_objext \
17153    conftest$ac_exeext conftest.$ac_ext
17154fi
17155
17156
17157		CFLAGS="$xorg_testset_save_CFLAGS"
17158
17159		eval supported=\$$cacheid
17160		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
17161$as_echo "$supported" >&6; }
17162		if test "$supported" = "yes" ; then
17163			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
17164			found="yes"
17165		fi
17166	fi
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182xorg_testset_save_CFLAGS="$CFLAGS"
17183
17184if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
17185	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17186	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
17187$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
17188if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
17189  $as_echo_n "(cached) " >&6
17190else
17191  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17192/* end confdefs.h.  */
17193int i;
17194_ACEOF
17195if ac_fn_c_try_compile "$LINENO"; then :
17196  xorg_cv_cc_flag_unknown_warning_option=yes
17197else
17198  xorg_cv_cc_flag_unknown_warning_option=no
17199fi
17200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17201fi
17202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
17203$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
17204	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
17205	CFLAGS="$xorg_testset_save_CFLAGS"
17206fi
17207
17208if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
17209	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17210		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17211	fi
17212	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17213	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
17214$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
17215if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
17216  $as_echo_n "(cached) " >&6
17217else
17218  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17219/* end confdefs.h.  */
17220int i;
17221_ACEOF
17222if ac_fn_c_try_compile "$LINENO"; then :
17223  xorg_cv_cc_flag_unused_command_line_argument=yes
17224else
17225  xorg_cv_cc_flag_unused_command_line_argument=no
17226fi
17227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17228fi
17229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
17230$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
17231	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
17232	CFLAGS="$xorg_testset_save_CFLAGS"
17233fi
17234
17235found="no"
17236
17237	if test $found = "no" ; then
17238		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17239			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17240		fi
17241
17242		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
17243			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17244		fi
17245
17246		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
17247
17248		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
17249$as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
17250		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
17251		if eval \${$cacheid+:} false; then :
17252  $as_echo_n "(cached) " >&6
17253else
17254  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255/* end confdefs.h.  */
17256int i;
17257int
17258main ()
17259{
17260
17261  ;
17262  return 0;
17263}
17264_ACEOF
17265if ac_fn_c_try_link "$LINENO"; then :
17266  eval $cacheid=yes
17267else
17268  eval $cacheid=no
17269fi
17270rm -f core conftest.err conftest.$ac_objext \
17271    conftest$ac_exeext conftest.$ac_ext
17272fi
17273
17274
17275		CFLAGS="$xorg_testset_save_CFLAGS"
17276
17277		eval supported=\$$cacheid
17278		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
17279$as_echo "$supported" >&6; }
17280		if test "$supported" = "yes" ; then
17281			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
17282			found="yes"
17283		fi
17284	fi
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300xorg_testset_save_CFLAGS="$CFLAGS"
17301
17302if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
17303	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17304	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
17305$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
17306if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
17307  $as_echo_n "(cached) " >&6
17308else
17309  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310/* end confdefs.h.  */
17311int i;
17312_ACEOF
17313if ac_fn_c_try_compile "$LINENO"; then :
17314  xorg_cv_cc_flag_unknown_warning_option=yes
17315else
17316  xorg_cv_cc_flag_unknown_warning_option=no
17317fi
17318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17319fi
17320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
17321$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
17322	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
17323	CFLAGS="$xorg_testset_save_CFLAGS"
17324fi
17325
17326if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
17327	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17328		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17329	fi
17330	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17331	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
17332$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
17333if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
17334  $as_echo_n "(cached) " >&6
17335else
17336  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17337/* end confdefs.h.  */
17338int i;
17339_ACEOF
17340if ac_fn_c_try_compile "$LINENO"; then :
17341  xorg_cv_cc_flag_unused_command_line_argument=yes
17342else
17343  xorg_cv_cc_flag_unused_command_line_argument=no
17344fi
17345rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17346fi
17347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
17348$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
17349	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
17350	CFLAGS="$xorg_testset_save_CFLAGS"
17351fi
17352
17353found="no"
17354
17355	if test $found = "no" ; then
17356		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17357			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17358		fi
17359
17360		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
17361			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17362		fi
17363
17364		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
17365
17366		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
17367$as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
17368		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
17369		if eval \${$cacheid+:} false; then :
17370  $as_echo_n "(cached) " >&6
17371else
17372  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17373/* end confdefs.h.  */
17374int i;
17375int
17376main ()
17377{
17378
17379  ;
17380  return 0;
17381}
17382_ACEOF
17383if ac_fn_c_try_link "$LINENO"; then :
17384  eval $cacheid=yes
17385else
17386  eval $cacheid=no
17387fi
17388rm -f core conftest.err conftest.$ac_objext \
17389    conftest$ac_exeext conftest.$ac_ext
17390fi
17391
17392
17393		CFLAGS="$xorg_testset_save_CFLAGS"
17394
17395		eval supported=\$$cacheid
17396		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
17397$as_echo "$supported" >&6; }
17398		if test "$supported" = "yes" ; then
17399			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
17400			found="yes"
17401		fi
17402	fi
17403
17404
17405fi
17406
17407
17408
17409
17410
17411
17412
17413		CWARNFLAGS="$BASE_CFLAGS"
17414		if  test "x$GCC" = xyes ; then
17415		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
17416		fi
17417
17418
17419
17420
17421
17422
17423
17424
17425# Check whether --enable-strict-compilation was given.
17426if test "${enable_strict_compilation+set}" = set; then :
17427  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
17428else
17429  STRICT_COMPILE=no
17430fi
17431
17432
17433
17434
17435
17436
17437STRICT_CFLAGS=""
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451xorg_testset_save_CFLAGS="$CFLAGS"
17452
17453if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
17454	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17455	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
17456$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
17457if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
17458  $as_echo_n "(cached) " >&6
17459else
17460  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17461/* end confdefs.h.  */
17462int i;
17463_ACEOF
17464if ac_fn_c_try_compile "$LINENO"; then :
17465  xorg_cv_cc_flag_unknown_warning_option=yes
17466else
17467  xorg_cv_cc_flag_unknown_warning_option=no
17468fi
17469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17470fi
17471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
17472$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
17473	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
17474	CFLAGS="$xorg_testset_save_CFLAGS"
17475fi
17476
17477if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
17478	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17479		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17480	fi
17481	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17482	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
17483$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
17484if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
17485  $as_echo_n "(cached) " >&6
17486else
17487  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17488/* end confdefs.h.  */
17489int i;
17490_ACEOF
17491if ac_fn_c_try_compile "$LINENO"; then :
17492  xorg_cv_cc_flag_unused_command_line_argument=yes
17493else
17494  xorg_cv_cc_flag_unused_command_line_argument=no
17495fi
17496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17497fi
17498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
17499$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
17500	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
17501	CFLAGS="$xorg_testset_save_CFLAGS"
17502fi
17503
17504found="no"
17505
17506	if test $found = "no" ; then
17507		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17508			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17509		fi
17510
17511		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
17512			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17513		fi
17514
17515		CFLAGS="$CFLAGS -pedantic"
17516
17517		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
17518$as_echo_n "checking if $CC supports -pedantic... " >&6; }
17519		cacheid=xorg_cv_cc_flag__pedantic
17520		if eval \${$cacheid+:} false; then :
17521  $as_echo_n "(cached) " >&6
17522else
17523  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17524/* end confdefs.h.  */
17525int i;
17526int
17527main ()
17528{
17529
17530  ;
17531  return 0;
17532}
17533_ACEOF
17534if ac_fn_c_try_link "$LINENO"; then :
17535  eval $cacheid=yes
17536else
17537  eval $cacheid=no
17538fi
17539rm -f core conftest.err conftest.$ac_objext \
17540    conftest$ac_exeext conftest.$ac_ext
17541fi
17542
17543
17544		CFLAGS="$xorg_testset_save_CFLAGS"
17545
17546		eval supported=\$$cacheid
17547		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
17548$as_echo "$supported" >&6; }
17549		if test "$supported" = "yes" ; then
17550			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
17551			found="yes"
17552		fi
17553	fi
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569xorg_testset_save_CFLAGS="$CFLAGS"
17570
17571if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
17572	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17573	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
17574$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
17575if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
17576  $as_echo_n "(cached) " >&6
17577else
17578  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17579/* end confdefs.h.  */
17580int i;
17581_ACEOF
17582if ac_fn_c_try_compile "$LINENO"; then :
17583  xorg_cv_cc_flag_unknown_warning_option=yes
17584else
17585  xorg_cv_cc_flag_unknown_warning_option=no
17586fi
17587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17588fi
17589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
17590$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
17591	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
17592	CFLAGS="$xorg_testset_save_CFLAGS"
17593fi
17594
17595if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
17596	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17597		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17598	fi
17599	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17600	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
17601$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
17602if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
17603  $as_echo_n "(cached) " >&6
17604else
17605  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606/* end confdefs.h.  */
17607int i;
17608_ACEOF
17609if ac_fn_c_try_compile "$LINENO"; then :
17610  xorg_cv_cc_flag_unused_command_line_argument=yes
17611else
17612  xorg_cv_cc_flag_unused_command_line_argument=no
17613fi
17614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17615fi
17616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
17617$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
17618	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
17619	CFLAGS="$xorg_testset_save_CFLAGS"
17620fi
17621
17622found="no"
17623
17624	if test $found = "no" ; then
17625		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17626			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17627		fi
17628
17629		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
17630			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17631		fi
17632
17633		CFLAGS="$CFLAGS -Werror"
17634
17635		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
17636$as_echo_n "checking if $CC supports -Werror... " >&6; }
17637		cacheid=xorg_cv_cc_flag__Werror
17638		if eval \${$cacheid+:} false; then :
17639  $as_echo_n "(cached) " >&6
17640else
17641  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642/* end confdefs.h.  */
17643int i;
17644int
17645main ()
17646{
17647
17648  ;
17649  return 0;
17650}
17651_ACEOF
17652if ac_fn_c_try_link "$LINENO"; then :
17653  eval $cacheid=yes
17654else
17655  eval $cacheid=no
17656fi
17657rm -f core conftest.err conftest.$ac_objext \
17658    conftest$ac_exeext conftest.$ac_ext
17659fi
17660
17661
17662		CFLAGS="$xorg_testset_save_CFLAGS"
17663
17664		eval supported=\$$cacheid
17665		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
17666$as_echo "$supported" >&6; }
17667		if test "$supported" = "yes" ; then
17668			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
17669			found="yes"
17670		fi
17671	fi
17672
17673	if test $found = "no" ; then
17674		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17675			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17676		fi
17677
17678		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
17679			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17680		fi
17681
17682		CFLAGS="$CFLAGS -errwarn"
17683
17684		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
17685$as_echo_n "checking if $CC supports -errwarn... " >&6; }
17686		cacheid=xorg_cv_cc_flag__errwarn
17687		if eval \${$cacheid+:} false; then :
17688  $as_echo_n "(cached) " >&6
17689else
17690  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17691/* end confdefs.h.  */
17692int i;
17693int
17694main ()
17695{
17696
17697  ;
17698  return 0;
17699}
17700_ACEOF
17701if ac_fn_c_try_link "$LINENO"; then :
17702  eval $cacheid=yes
17703else
17704  eval $cacheid=no
17705fi
17706rm -f core conftest.err conftest.$ac_objext \
17707    conftest$ac_exeext conftest.$ac_ext
17708fi
17709
17710
17711		CFLAGS="$xorg_testset_save_CFLAGS"
17712
17713		eval supported=\$$cacheid
17714		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
17715$as_echo "$supported" >&6; }
17716		if test "$supported" = "yes" ; then
17717			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
17718			found="yes"
17719		fi
17720	fi
17721
17722
17723
17724# Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
17725# activate it with -Werror, so we add it here explicitly.
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739xorg_testset_save_CFLAGS="$CFLAGS"
17740
17741if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
17742	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17743	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
17744$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
17745if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
17746  $as_echo_n "(cached) " >&6
17747else
17748  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17749/* end confdefs.h.  */
17750int i;
17751_ACEOF
17752if ac_fn_c_try_compile "$LINENO"; then :
17753  xorg_cv_cc_flag_unknown_warning_option=yes
17754else
17755  xorg_cv_cc_flag_unknown_warning_option=no
17756fi
17757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17758fi
17759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
17760$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
17761	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
17762	CFLAGS="$xorg_testset_save_CFLAGS"
17763fi
17764
17765if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
17766	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17767		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17768	fi
17769	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17770	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
17771$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
17772if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
17773  $as_echo_n "(cached) " >&6
17774else
17775  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17776/* end confdefs.h.  */
17777int i;
17778_ACEOF
17779if ac_fn_c_try_compile "$LINENO"; then :
17780  xorg_cv_cc_flag_unused_command_line_argument=yes
17781else
17782  xorg_cv_cc_flag_unused_command_line_argument=no
17783fi
17784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17785fi
17786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
17787$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
17788	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
17789	CFLAGS="$xorg_testset_save_CFLAGS"
17790fi
17791
17792found="no"
17793
17794	if test $found = "no" ; then
17795		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
17796			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17797		fi
17798
17799		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
17800			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17801		fi
17802
17803		CFLAGS="$CFLAGS -Werror=attributes"
17804
17805		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
17806$as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
17807		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
17808		if eval \${$cacheid+:} false; then :
17809  $as_echo_n "(cached) " >&6
17810else
17811  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17812/* end confdefs.h.  */
17813int i;
17814int
17815main ()
17816{
17817
17818  ;
17819  return 0;
17820}
17821_ACEOF
17822if ac_fn_c_try_link "$LINENO"; then :
17823  eval $cacheid=yes
17824else
17825  eval $cacheid=no
17826fi
17827rm -f core conftest.err conftest.$ac_objext \
17828    conftest$ac_exeext conftest.$ac_ext
17829fi
17830
17831
17832		CFLAGS="$xorg_testset_save_CFLAGS"
17833
17834		eval supported=\$$cacheid
17835		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
17836$as_echo "$supported" >&6; }
17837		if test "$supported" = "yes" ; then
17838			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
17839			found="yes"
17840		fi
17841	fi
17842
17843
17844
17845if test "x$STRICT_COMPILE" = "xyes"; then
17846    BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
17847    CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
17848fi
17849
17850
17851
17852
17853
17854
17855cat >>confdefs.h <<_ACEOF
17856#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
17857_ACEOF
17858
17859	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
17860	if test "x$PVM" = "x"; then
17861		PVM="0"
17862	fi
17863
17864cat >>confdefs.h <<_ACEOF
17865#define PACKAGE_VERSION_MINOR $PVM
17866_ACEOF
17867
17868	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
17869	if test "x$PVP" = "x"; then
17870		PVP="0"
17871	fi
17872
17873cat >>confdefs.h <<_ACEOF
17874#define PACKAGE_VERSION_PATCHLEVEL $PVP
17875_ACEOF
17876
17877
17878
17879CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
17880mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
17881|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
17882echo 'git directory not found: installing possibly empty changelog.' >&2)"
17883
17884
17885
17886
17887macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
17888INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
17889mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
17890|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
17891echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
17892
17893
17894
17895
17896
17897
17898if test x$APP_MAN_SUFFIX = x    ; then
17899    APP_MAN_SUFFIX=1
17900fi
17901if test x$APP_MAN_DIR = x    ; then
17902    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
17903fi
17904
17905if test x$LIB_MAN_SUFFIX = x    ; then
17906    LIB_MAN_SUFFIX=3
17907fi
17908if test x$LIB_MAN_DIR = x    ; then
17909    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
17910fi
17911
17912if test x$FILE_MAN_SUFFIX = x    ; then
17913    case $host_os in
17914	solaris*)	FILE_MAN_SUFFIX=4  ;;
17915	*)		FILE_MAN_SUFFIX=5  ;;
17916    esac
17917fi
17918if test x$FILE_MAN_DIR = x    ; then
17919    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
17920fi
17921
17922if test x$MISC_MAN_SUFFIX = x    ; then
17923    case $host_os in
17924	solaris*)	MISC_MAN_SUFFIX=5  ;;
17925	*)		MISC_MAN_SUFFIX=7  ;;
17926    esac
17927fi
17928if test x$MISC_MAN_DIR = x    ; then
17929    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
17930fi
17931
17932if test x$DRIVER_MAN_SUFFIX = x    ; then
17933    case $host_os in
17934	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
17935	*)		DRIVER_MAN_SUFFIX=4  ;;
17936    esac
17937fi
17938if test x$DRIVER_MAN_DIR = x    ; then
17939    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
17940fi
17941
17942if test x$ADMIN_MAN_SUFFIX = x    ; then
17943    case $host_os in
17944	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
17945	*)		ADMIN_MAN_SUFFIX=8  ;;
17946    esac
17947fi
17948if test x$ADMIN_MAN_DIR = x    ; then
17949    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
17950fi
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966XORG_MAN_PAGE="X Version 11"
17967
17968MAN_SUBSTS="\
17969	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
17970	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
17971	-e 's|__xservername__|Xorg|g' \
17972	-e 's|__xconfigfile__|xorg.conf|g' \
17973	-e 's|__projectroot__|\$(prefix)|g' \
17974	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
17975	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
17976	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
17977	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
17978	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
17979	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
17980	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
17981
17982
17983
17984# Check whether --enable-silent-rules was given.
17985if test "${enable_silent_rules+set}" = set; then :
17986  enableval=$enable_silent_rules;
17987fi
17988
17989case $enable_silent_rules in # (((
17990  yes) AM_DEFAULT_VERBOSITY=0;;
17991   no) AM_DEFAULT_VERBOSITY=1;;
17992    *) AM_DEFAULT_VERBOSITY=0;;
17993esac
17994am_make=${MAKE-make}
17995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
17996$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
17997if ${am_cv_make_support_nested_variables+:} false; then :
17998  $as_echo_n "(cached) " >&6
17999else
18000  if $as_echo 'TRUE=$(BAR$(V))
18001BAR0=false
18002BAR1=true
18003V=1
18004am__doit:
18005	@$(TRUE)
18006.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
18007  am_cv_make_support_nested_variables=yes
18008else
18009  am_cv_make_support_nested_variables=no
18010fi
18011fi
18012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
18013$as_echo "$am_cv_make_support_nested_variables" >&6; }
18014if test $am_cv_make_support_nested_variables = yes; then
18015    AM_V='$(V)'
18016  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
18017else
18018  AM_V=$AM_DEFAULT_VERBOSITY
18019  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
18020fi
18021AM_BACKSLASH='\'
18022
18023
18024
18025# Check whether --enable-malloc0returnsnull was given.
18026if test "${enable_malloc0returnsnull+set}" = set; then :
18027  enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
18028else
18029  MALLOC_ZERO_RETURNS_NULL=auto
18030fi
18031
18032
18033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
18034$as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
18035if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
18036if ${xorg_cv_malloc0_returns_null+:} false; then :
18037  $as_echo_n "(cached) " >&6
18038else
18039  if test "$cross_compiling" = yes; then :
18040  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18041$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18042as_fn_error $? "cannot run test program while cross compiling
18043See \`config.log' for more details" "$LINENO" 5; }
18044else
18045  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18046/* end confdefs.h.  */
18047
18048#include <stdlib.h>
18049
18050int
18051main ()
18052{
18053
18054    char *m0, *r0, *c0, *p;
18055    m0 = malloc(0);
18056    p = malloc(10);
18057    r0 = realloc(p,0);
18058    c0 = calloc(0,10);
18059    exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
18060
18061  ;
18062  return 0;
18063}
18064_ACEOF
18065if ac_fn_c_try_run "$LINENO"; then :
18066  xorg_cv_malloc0_returns_null=yes
18067else
18068  xorg_cv_malloc0_returns_null=no
18069fi
18070rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18071  conftest.$ac_objext conftest.beam conftest.$ac_ext
18072fi
18073
18074fi
18075
18076MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
18077fi
18078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
18079$as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
18080
18081if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
18082	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
18083	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
18084	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
18085else
18086	MALLOC_ZERO_CFLAGS=""
18087	XMALLOC_ZERO_CFLAGS=""
18088	XTMALLOC_ZERO_CFLAGS=""
18089fi
18090
18091
18092
18093
18094
18095
18096# Obtain compiler/linker options for depedencies
18097
18098pkg_failed=no
18099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FS" >&5
18100$as_echo_n "checking for FS... " >&6; }
18101
18102if test -n "$FS_CFLAGS"; then
18103    pkg_cv_FS_CFLAGS="$FS_CFLAGS"
18104 elif test -n "$PKG_CONFIG"; then
18105    if test -n "$PKG_CONFIG" && \
18106    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 fontsproto xtrans\""; } >&5
18107  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 fontsproto xtrans") 2>&5
18108  ac_status=$?
18109  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18110  test $ac_status = 0; }; then
18111  pkg_cv_FS_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.17 fontsproto xtrans" 2>/dev/null`
18112else
18113  pkg_failed=yes
18114fi
18115 else
18116    pkg_failed=untried
18117fi
18118if test -n "$FS_LIBS"; then
18119    pkg_cv_FS_LIBS="$FS_LIBS"
18120 elif test -n "$PKG_CONFIG"; then
18121    if test -n "$PKG_CONFIG" && \
18122    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 fontsproto xtrans\""; } >&5
18123  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 fontsproto xtrans") 2>&5
18124  ac_status=$?
18125  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18126  test $ac_status = 0; }; then
18127  pkg_cv_FS_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.17 fontsproto xtrans" 2>/dev/null`
18128else
18129  pkg_failed=yes
18130fi
18131 else
18132    pkg_failed=untried
18133fi
18134
18135
18136
18137if test $pkg_failed = yes; then
18138
18139if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18140        _pkg_short_errors_supported=yes
18141else
18142        _pkg_short_errors_supported=no
18143fi
18144        if test $_pkg_short_errors_supported = yes; then
18145	        FS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.17 fontsproto xtrans" 2>&1`
18146        else
18147	        FS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.17 fontsproto xtrans" 2>&1`
18148        fi
18149	# Put the nasty error message in config.log where it belongs
18150	echo "$FS_PKG_ERRORS" >&5
18151
18152	as_fn_error $? "Package requirements (xproto >= 7.0.17 fontsproto xtrans) were not met:
18153
18154$FS_PKG_ERRORS
18155
18156Consider adjusting the PKG_CONFIG_PATH environment variable if you
18157installed software in a non-standard prefix.
18158
18159Alternatively, you may set the environment variables FS_CFLAGS
18160and FS_LIBS to avoid the need to call pkg-config.
18161See the pkg-config man page for more details.
18162" "$LINENO" 5
18163elif test $pkg_failed = untried; then
18164	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18165$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18166as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18167is in your PATH or set the PKG_CONFIG environment variable to the full
18168path to pkg-config.
18169
18170Alternatively, you may set the environment variables FS_CFLAGS
18171and FS_LIBS to avoid the need to call pkg-config.
18172See the pkg-config man page for more details.
18173
18174To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18175See \`config.log' for more details" "$LINENO" 5; }
18176else
18177	FS_CFLAGS=$pkg_cv_FS_CFLAGS
18178	FS_LIBS=$pkg_cv_FS_LIBS
18179        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18180$as_echo "yes" >&6; }
18181	:
18182fi
18183
18184# Find needed libraries for TCP sockets (pre-pended in $LIBS)
18185
18186
18187 case $host_os in
18188	mingw*)	unixdef="no"   ;;
18189	*)	unixdef="yes"  ;;
18190 esac
18191 # Check whether --enable-unix-transport was given.
18192if test "${enable_unix_transport+set}" = set; then :
18193  enableval=$enable_unix_transport; UNIXCONN=$enableval
18194else
18195  UNIXCONN=$unixdef
18196fi
18197
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
18199$as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
18200 if test "$UNIXCONN" = "yes"; then
18201
18202$as_echo "#define UNIXCONN 1" >>confdefs.h
18203
18204 fi
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
18206$as_echo "$UNIXCONN" >&6; }
18207 # Check whether --enable-tcp-transport was given.
18208if test "${enable_tcp_transport+set}" = set; then :
18209  enableval=$enable_tcp_transport; TCPCONN=$enableval
18210else
18211  TCPCONN=yes
18212fi
18213
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
18215$as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
18217$as_echo "$TCPCONN" >&6; }
18218 if test "$TCPCONN" = "yes"; then
18219
18220$as_echo "#define TCPCONN 1" >>confdefs.h
18221
18222
18223 # SVR4 hides these in libraries other than libc
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
18225$as_echo_n "checking for library containing socket... " >&6; }
18226if ${ac_cv_search_socket+:} false; then :
18227  $as_echo_n "(cached) " >&6
18228else
18229  ac_func_search_save_LIBS=$LIBS
18230cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18231/* end confdefs.h.  */
18232
18233/* Override any GCC internal prototype to avoid an error.
18234   Use char because int might match the return type of a GCC
18235   builtin and then its argument prototype would still apply.  */
18236#ifdef __cplusplus
18237extern "C"
18238#endif
18239char socket ();
18240int
18241main ()
18242{
18243return socket ();
18244  ;
18245  return 0;
18246}
18247_ACEOF
18248for ac_lib in '' socket; do
18249  if test -z "$ac_lib"; then
18250    ac_res="none required"
18251  else
18252    ac_res=-l$ac_lib
18253    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18254  fi
18255  if ac_fn_c_try_link "$LINENO"; then :
18256  ac_cv_search_socket=$ac_res
18257fi
18258rm -f core conftest.err conftest.$ac_objext \
18259    conftest$ac_exeext
18260  if ${ac_cv_search_socket+:} false; then :
18261  break
18262fi
18263done
18264if ${ac_cv_search_socket+:} false; then :
18265
18266else
18267  ac_cv_search_socket=no
18268fi
18269rm conftest.$ac_ext
18270LIBS=$ac_func_search_save_LIBS
18271fi
18272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
18273$as_echo "$ac_cv_search_socket" >&6; }
18274ac_res=$ac_cv_search_socket
18275if test "$ac_res" != no; then :
18276  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18277
18278fi
18279
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18281$as_echo_n "checking for library containing gethostbyname... " >&6; }
18282if ${ac_cv_search_gethostbyname+:} false; then :
18283  $as_echo_n "(cached) " >&6
18284else
18285  ac_func_search_save_LIBS=$LIBS
18286cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18287/* end confdefs.h.  */
18288
18289/* Override any GCC internal prototype to avoid an error.
18290   Use char because int might match the return type of a GCC
18291   builtin and then its argument prototype would still apply.  */
18292#ifdef __cplusplus
18293extern "C"
18294#endif
18295char gethostbyname ();
18296int
18297main ()
18298{
18299return gethostbyname ();
18300  ;
18301  return 0;
18302}
18303_ACEOF
18304for ac_lib in '' nsl; do
18305  if test -z "$ac_lib"; then
18306    ac_res="none required"
18307  else
18308    ac_res=-l$ac_lib
18309    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18310  fi
18311  if ac_fn_c_try_link "$LINENO"; then :
18312  ac_cv_search_gethostbyname=$ac_res
18313fi
18314rm -f core conftest.err conftest.$ac_objext \
18315    conftest$ac_exeext
18316  if ${ac_cv_search_gethostbyname+:} false; then :
18317  break
18318fi
18319done
18320if ${ac_cv_search_gethostbyname+:} false; then :
18321
18322else
18323  ac_cv_search_gethostbyname=no
18324fi
18325rm conftest.$ac_ext
18326LIBS=$ac_func_search_save_LIBS
18327fi
18328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18329$as_echo "$ac_cv_search_gethostbyname" >&6; }
18330ac_res=$ac_cv_search_gethostbyname
18331if test "$ac_res" != no; then :
18332  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18333
18334fi
18335
18336 if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
18337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
18338$as_echo_n "checking for main in -lws2_32... " >&6; }
18339if ${ac_cv_lib_ws2_32_main+:} false; then :
18340  $as_echo_n "(cached) " >&6
18341else
18342  ac_check_lib_save_LIBS=$LIBS
18343LIBS="-lws2_32  $LIBS"
18344cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18345/* end confdefs.h.  */
18346
18347
18348int
18349main ()
18350{
18351return main ();
18352  ;
18353  return 0;
18354}
18355_ACEOF
18356if ac_fn_c_try_link "$LINENO"; then :
18357  ac_cv_lib_ws2_32_main=yes
18358else
18359  ac_cv_lib_ws2_32_main=no
18360fi
18361rm -f core conftest.err conftest.$ac_objext \
18362    conftest$ac_exeext conftest.$ac_ext
18363LIBS=$ac_check_lib_save_LIBS
18364fi
18365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
18366$as_echo "$ac_cv_lib_ws2_32_main" >&6; }
18367if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
18368  cat >>confdefs.h <<_ACEOF
18369#define HAVE_LIBWS2_32 1
18370_ACEOF
18371
18372  LIBS="-lws2_32 $LIBS"
18373
18374fi
18375
18376 fi
18377
18378 # Needs to come after above checks for libsocket & libnsl for SVR4 systems
18379 # Check whether --enable-ipv6 was given.
18380if test "${enable_ipv6+set}" = set; then :
18381  enableval=$enable_ipv6; IPV6CONN=$enableval
18382else
18383  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
18384if test "x$ac_cv_func_getaddrinfo" = xyes; then :
18385  IPV6CONN=yes
18386else
18387  IPV6CONN=no
18388fi
18389
18390fi
18391
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
18393$as_echo_n "checking if IPv6 support should be built... " >&6; }
18394 if test "$IPV6CONN" = "yes"; then
18395
18396$as_echo "#define IPv6 1" >>confdefs.h
18397
18398 fi
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
18400$as_echo "$IPV6CONN" >&6; }
18401
18402 # 4.3BSD-Reno added a new member to struct sockaddr_in
18403 ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
18404#include <sys/types.h>
18405#include <sys/socket.h>
18406#include <netinet/in.h>
18407
18408"
18409if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
18410
18411$as_echo "#define BSD44SOCKETS 1" >>confdefs.h
18412
18413fi
18414
18415
18416 # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
18417 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
18418$ac_includes_default
18419#include <sys/socket.h>
18420"
18421if test "x$ac_cv_type_socklen_t" = xyes; then :
18422
18423cat >>confdefs.h <<_ACEOF
18424#define HAVE_SOCKLEN_T 1
18425_ACEOF
18426
18427
18428fi
18429
18430
18431 # XPG4v2/UNIX95 added msg_control - check to see if we need to define
18432 # _XOPEN_SOURCE to get it (such as on Solaris)
18433 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
18434$ac_includes_default
18435#include <sys/socket.h>
18436
18437"
18438if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
18439
18440fi
18441
18442 # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
18443 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
18444     unset ac_cv_member_struct_msghdr_msg_control
18445     { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
18446$as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
18447     ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
18448#define _XOPEN_SOURCE 600
18449$ac_includes_default
18450#include <sys/socket.h>
18451
18452"
18453if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
18454
18455$as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
18456
18457
18458fi
18459
18460 fi
18461 # If that didn't work, fall back to XPG5/UNIX98 with C89
18462 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
18463     unset ac_cv_member_struct_msghdr_msg_control
18464     { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
18465$as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
18466     ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
18467#define _XOPEN_SOURCE 500
18468$ac_includes_default
18469#include <sys/socket.h>
18470
18471"
18472if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
18473
18474$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
18475
18476
18477fi
18478
18479 fi
18480
18481
18482
18483 fi
18484 case $host_os in
18485	solaris*|sco*|sysv4*)	localdef="yes" ;;
18486	*)			localdef="no"  ;;
18487 esac
18488 # Check whether --enable-local-transport was given.
18489if test "${enable_local_transport+set}" = set; then :
18490  enableval=$enable_local_transport; LOCALCONN=$enableval
18491else
18492  LOCALCONN=$localdef
18493fi
18494
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
18496$as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
18498$as_echo "$LOCALCONN" >&6; }
18499 if test "$LOCALCONN" = "yes"; then
18500
18501$as_echo "#define LOCALCONN 1" >>confdefs.h
18502
18503 fi
18504
18505
18506
18507# Checks for library functions.
18508for ac_func in strlcpy
18509do :
18510  ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
18511if test "x$ac_cv_func_strlcpy" = xyes; then :
18512  cat >>confdefs.h <<_ACEOF
18513#define HAVE_STRLCPY 1
18514_ACEOF
18515
18516fi
18517done
18518
18519
18520# Allow checking code with lint, sparse, etc.
18521
18522
18523
18524
18525
18526# Check whether --with-lint was given.
18527if test "${with_lint+set}" = set; then :
18528  withval=$with_lint; use_lint=$withval
18529else
18530  use_lint=no
18531fi
18532
18533
18534# Obtain platform specific info like program name and options
18535# The lint program on FreeBSD and NetBSD is different from the one on Solaris
18536case $host_os in
18537  *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
18538	lint_name=splint
18539	lint_options="-badflag"
18540	;;
18541  *freebsd* | *netbsd*)
18542	lint_name=lint
18543	lint_options="-u -b"
18544	;;
18545  *solaris*)
18546	lint_name=lint
18547	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
18548	;;
18549esac
18550
18551# Test for the presence of the program (either guessed by the code or spelled out by the user)
18552if test "x$use_lint" = x"yes" ; then
18553   # Extract the first word of "$lint_name", so it can be a program name with args.
18554set dummy $lint_name; ac_word=$2
18555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18556$as_echo_n "checking for $ac_word... " >&6; }
18557if ${ac_cv_path_LINT+:} false; then :
18558  $as_echo_n "(cached) " >&6
18559else
18560  case $LINT in
18561  [\\/]* | ?:[\\/]*)
18562  ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
18563  ;;
18564  *)
18565  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18566for as_dir in $PATH
18567do
18568  IFS=$as_save_IFS
18569  test -z "$as_dir" && as_dir=.
18570    for ac_exec_ext in '' $ac_executable_extensions; do
18571  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18572    ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
18573    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18574    break 2
18575  fi
18576done
18577  done
18578IFS=$as_save_IFS
18579
18580  ;;
18581esac
18582fi
18583LINT=$ac_cv_path_LINT
18584if test -n "$LINT"; then
18585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
18586$as_echo "$LINT" >&6; }
18587else
18588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18589$as_echo "no" >&6; }
18590fi
18591
18592
18593   if test "x$LINT" = "x"; then
18594        as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
18595   fi
18596elif test "x$use_lint" = x"no" ; then
18597   if test "x$LINT" != "x"; then
18598      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
18599$as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
18600   fi
18601else
18602   as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
18603fi
18604
18605# User supplied flags override default flags
18606if test "x$LINT_FLAGS" != "x"; then
18607   lint_options=$LINT_FLAGS
18608fi
18609
18610LINT_FLAGS=$lint_options
18611
18612 if test "x$LINT" != x; then
18613  LINT_TRUE=
18614  LINT_FALSE='#'
18615else
18616  LINT_TRUE='#'
18617  LINT_FALSE=
18618fi
18619
18620
18621
18622
18623
18624# Check whether --enable-lint-library was given.
18625if test "${enable_lint_library+set}" = set; then :
18626  enableval=$enable_lint_library; make_lint_lib=$enableval
18627else
18628  make_lint_lib=no
18629fi
18630
18631
18632if test "x$make_lint_lib" = x"yes" ; then
18633   LINTLIB=llib-lFS.ln
18634   if test "x$LINT" = "x"; then
18635        as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
18636   fi
18637elif test "x$make_lint_lib" != x"no" ; then
18638   as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
18639fi
18640
18641
18642 if test x$make_lint_lib != xno; then
18643  MAKE_LINT_LIB_TRUE=
18644  MAKE_LINT_LIB_FALSE='#'
18645else
18646  MAKE_LINT_LIB_TRUE='#'
18647  MAKE_LINT_LIB_FALSE=
18648fi
18649
18650
18651
18652
18653ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile libfs.pc"
18654
18655cat >confcache <<\_ACEOF
18656# This file is a shell script that caches the results of configure
18657# tests run on this system so they can be shared between configure
18658# scripts and configure runs, see configure's option --config-cache.
18659# It is not useful on other systems.  If it contains results you don't
18660# want to keep, you may remove or edit it.
18661#
18662# config.status only pays attention to the cache file if you give it
18663# the --recheck option to rerun configure.
18664#
18665# `ac_cv_env_foo' variables (set or unset) will be overridden when
18666# loading this file, other *unset* `ac_cv_foo' will be assigned the
18667# following values.
18668
18669_ACEOF
18670
18671# The following way of writing the cache mishandles newlines in values,
18672# but we know of no workaround that is simple, portable, and efficient.
18673# So, we kill variables containing newlines.
18674# Ultrix sh set writes to stderr and can't be redirected directly,
18675# and sets the high bit in the cache file unless we assign to the vars.
18676(
18677  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18678    eval ac_val=\$$ac_var
18679    case $ac_val in #(
18680    *${as_nl}*)
18681      case $ac_var in #(
18682      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18683$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18684      esac
18685      case $ac_var in #(
18686      _ | IFS | as_nl) ;; #(
18687      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18688      *) { eval $ac_var=; unset $ac_var;} ;;
18689      esac ;;
18690    esac
18691  done
18692
18693  (set) 2>&1 |
18694    case $as_nl`(ac_space=' '; set) 2>&1` in #(
18695    *${as_nl}ac_space=\ *)
18696      # `set' does not quote correctly, so add quotes: double-quote
18697      # substitution turns \\\\ into \\, and sed turns \\ into \.
18698      sed -n \
18699	"s/'/'\\\\''/g;
18700	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18701      ;; #(
18702    *)
18703      # `set' quotes correctly as required by POSIX, so do not add quotes.
18704      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18705      ;;
18706    esac |
18707    sort
18708) |
18709  sed '
18710     /^ac_cv_env_/b end
18711     t clear
18712     :clear
18713     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18714     t end
18715     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18716     :end' >>confcache
18717if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18718  if test -w "$cache_file"; then
18719    if test "x$cache_file" != "x/dev/null"; then
18720      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18721$as_echo "$as_me: updating cache $cache_file" >&6;}
18722      if test ! -f "$cache_file" || test -h "$cache_file"; then
18723	cat confcache >"$cache_file"
18724      else
18725        case $cache_file in #(
18726        */* | ?:*)
18727	  mv -f confcache "$cache_file"$$ &&
18728	  mv -f "$cache_file"$$ "$cache_file" ;; #(
18729        *)
18730	  mv -f confcache "$cache_file" ;;
18731	esac
18732      fi
18733    fi
18734  else
18735    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18736$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18737  fi
18738fi
18739rm -f confcache
18740
18741test "x$prefix" = xNONE && prefix=$ac_default_prefix
18742# Let make expand exec_prefix.
18743test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18744
18745DEFS=-DHAVE_CONFIG_H
18746
18747ac_libobjs=
18748ac_ltlibobjs=
18749U=
18750for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18751  # 1. Remove the extension, and $U if already installed.
18752  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18753  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18754  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18755  #    will be set to the directory where LIBOBJS objects are built.
18756  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18757  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18758done
18759LIBOBJS=$ac_libobjs
18760
18761LTLIBOBJS=$ac_ltlibobjs
18762
18763
18764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18765$as_echo_n "checking that generated files are newer than configure... " >&6; }
18766   if test -n "$am_sleep_pid"; then
18767     # Hide warnings about reused PIDs.
18768     wait $am_sleep_pid 2>/dev/null
18769   fi
18770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18771$as_echo "done" >&6; }
18772 if test -n "$EXEEXT"; then
18773  am__EXEEXT_TRUE=
18774  am__EXEEXT_FALSE='#'
18775else
18776  am__EXEEXT_TRUE='#'
18777  am__EXEEXT_FALSE=
18778fi
18779
18780if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18781  as_fn_error $? "conditional \"AMDEP\" was never defined.
18782Usually this means the macro was only invoked conditionally." "$LINENO" 5
18783fi
18784if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18785  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18786Usually this means the macro was only invoked conditionally." "$LINENO" 5
18787fi
18788if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
18789  as_fn_error $? "conditional \"LINT\" was never defined.
18790Usually this means the macro was only invoked conditionally." "$LINENO" 5
18791fi
18792if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
18793  as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
18794Usually this means the macro was only invoked conditionally." "$LINENO" 5
18795fi
18796
18797: "${CONFIG_STATUS=./config.status}"
18798ac_write_fail=0
18799ac_clean_files_save=$ac_clean_files
18800ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18801{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18802$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18803as_write_fail=0
18804cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18805#! $SHELL
18806# Generated by $as_me.
18807# Run this file to recreate the current configuration.
18808# Compiler output produced by configure, useful for debugging
18809# configure, is in config.log if it exists.
18810
18811debug=false
18812ac_cs_recheck=false
18813ac_cs_silent=false
18814
18815SHELL=\${CONFIG_SHELL-$SHELL}
18816export SHELL
18817_ASEOF
18818cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18819## -------------------- ##
18820## M4sh Initialization. ##
18821## -------------------- ##
18822
18823# Be more Bourne compatible
18824DUALCASE=1; export DUALCASE # for MKS sh
18825if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18826  emulate sh
18827  NULLCMD=:
18828  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18829  # is contrary to our usage.  Disable this feature.
18830  alias -g '${1+"$@"}'='"$@"'
18831  setopt NO_GLOB_SUBST
18832else
18833  case `(set -o) 2>/dev/null` in #(
18834  *posix*) :
18835    set -o posix ;; #(
18836  *) :
18837     ;;
18838esac
18839fi
18840
18841
18842as_nl='
18843'
18844export as_nl
18845# Printing a long string crashes Solaris 7 /usr/bin/printf.
18846as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18847as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18848as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18849# Prefer a ksh shell builtin over an external printf program on Solaris,
18850# but without wasting forks for bash or zsh.
18851if test -z "$BASH_VERSION$ZSH_VERSION" \
18852    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18853  as_echo='print -r --'
18854  as_echo_n='print -rn --'
18855elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18856  as_echo='printf %s\n'
18857  as_echo_n='printf %s'
18858else
18859  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18860    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18861    as_echo_n='/usr/ucb/echo -n'
18862  else
18863    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18864    as_echo_n_body='eval
18865      arg=$1;
18866      case $arg in #(
18867      *"$as_nl"*)
18868	expr "X$arg" : "X\\(.*\\)$as_nl";
18869	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18870      esac;
18871      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18872    '
18873    export as_echo_n_body
18874    as_echo_n='sh -c $as_echo_n_body as_echo'
18875  fi
18876  export as_echo_body
18877  as_echo='sh -c $as_echo_body as_echo'
18878fi
18879
18880# The user is always right.
18881if test "${PATH_SEPARATOR+set}" != set; then
18882  PATH_SEPARATOR=:
18883  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18884    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18885      PATH_SEPARATOR=';'
18886  }
18887fi
18888
18889
18890# IFS
18891# We need space, tab and new line, in precisely that order.  Quoting is
18892# there to prevent editors from complaining about space-tab.
18893# (If _AS_PATH_WALK were called with IFS unset, it would disable word
18894# splitting by setting IFS to empty value.)
18895IFS=" ""	$as_nl"
18896
18897# Find who we are.  Look in the path if we contain no directory separator.
18898as_myself=
18899case $0 in #((
18900  *[\\/]* ) as_myself=$0 ;;
18901  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18902for as_dir in $PATH
18903do
18904  IFS=$as_save_IFS
18905  test -z "$as_dir" && as_dir=.
18906    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18907  done
18908IFS=$as_save_IFS
18909
18910     ;;
18911esac
18912# We did not find ourselves, most probably we were run as `sh COMMAND'
18913# in which case we are not to be found in the path.
18914if test "x$as_myself" = x; then
18915  as_myself=$0
18916fi
18917if test ! -f "$as_myself"; then
18918  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18919  exit 1
18920fi
18921
18922# Unset variables that we do not need and which cause bugs (e.g. in
18923# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18924# suppresses any "Segmentation fault" message there.  '((' could
18925# trigger a bug in pdksh 5.2.14.
18926for as_var in BASH_ENV ENV MAIL MAILPATH
18927do eval test x\${$as_var+set} = xset \
18928  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18929done
18930PS1='$ '
18931PS2='> '
18932PS4='+ '
18933
18934# NLS nuisances.
18935LC_ALL=C
18936export LC_ALL
18937LANGUAGE=C
18938export LANGUAGE
18939
18940# CDPATH.
18941(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18942
18943
18944# as_fn_error STATUS ERROR [LINENO LOG_FD]
18945# ----------------------------------------
18946# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18947# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18948# script with STATUS, using 1 if that was 0.
18949as_fn_error ()
18950{
18951  as_status=$1; test $as_status -eq 0 && as_status=1
18952  if test "$4"; then
18953    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18954    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18955  fi
18956  $as_echo "$as_me: error: $2" >&2
18957  as_fn_exit $as_status
18958} # as_fn_error
18959
18960
18961# as_fn_set_status STATUS
18962# -----------------------
18963# Set $? to STATUS, without forking.
18964as_fn_set_status ()
18965{
18966  return $1
18967} # as_fn_set_status
18968
18969# as_fn_exit STATUS
18970# -----------------
18971# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18972as_fn_exit ()
18973{
18974  set +e
18975  as_fn_set_status $1
18976  exit $1
18977} # as_fn_exit
18978
18979# as_fn_unset VAR
18980# ---------------
18981# Portably unset VAR.
18982as_fn_unset ()
18983{
18984  { eval $1=; unset $1;}
18985}
18986as_unset=as_fn_unset
18987# as_fn_append VAR VALUE
18988# ----------------------
18989# Append the text in VALUE to the end of the definition contained in VAR. Take
18990# advantage of any shell optimizations that allow amortized linear growth over
18991# repeated appends, instead of the typical quadratic growth present in naive
18992# implementations.
18993if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18994  eval 'as_fn_append ()
18995  {
18996    eval $1+=\$2
18997  }'
18998else
18999  as_fn_append ()
19000  {
19001    eval $1=\$$1\$2
19002  }
19003fi # as_fn_append
19004
19005# as_fn_arith ARG...
19006# ------------------
19007# Perform arithmetic evaluation on the ARGs, and store the result in the
19008# global $as_val. Take advantage of shells that can avoid forks. The arguments
19009# must be portable across $(()) and expr.
19010if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19011  eval 'as_fn_arith ()
19012  {
19013    as_val=$(( $* ))
19014  }'
19015else
19016  as_fn_arith ()
19017  {
19018    as_val=`expr "$@" || test $? -eq 1`
19019  }
19020fi # as_fn_arith
19021
19022
19023if expr a : '\(a\)' >/dev/null 2>&1 &&
19024   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19025  as_expr=expr
19026else
19027  as_expr=false
19028fi
19029
19030if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19031  as_basename=basename
19032else
19033  as_basename=false
19034fi
19035
19036if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19037  as_dirname=dirname
19038else
19039  as_dirname=false
19040fi
19041
19042as_me=`$as_basename -- "$0" ||
19043$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19044	 X"$0" : 'X\(//\)$' \| \
19045	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19046$as_echo X/"$0" |
19047    sed '/^.*\/\([^/][^/]*\)\/*$/{
19048	    s//\1/
19049	    q
19050	  }
19051	  /^X\/\(\/\/\)$/{
19052	    s//\1/
19053	    q
19054	  }
19055	  /^X\/\(\/\).*/{
19056	    s//\1/
19057	    q
19058	  }
19059	  s/.*/./; q'`
19060
19061# Avoid depending upon Character Ranges.
19062as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19063as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19064as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19065as_cr_digits='0123456789'
19066as_cr_alnum=$as_cr_Letters$as_cr_digits
19067
19068ECHO_C= ECHO_N= ECHO_T=
19069case `echo -n x` in #(((((
19070-n*)
19071  case `echo 'xy\c'` in
19072  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
19073  xy)  ECHO_C='\c';;
19074  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
19075       ECHO_T='	';;
19076  esac;;
19077*)
19078  ECHO_N='-n';;
19079esac
19080
19081rm -f conf$$ conf$$.exe conf$$.file
19082if test -d conf$$.dir; then
19083  rm -f conf$$.dir/conf$$.file
19084else
19085  rm -f conf$$.dir
19086  mkdir conf$$.dir 2>/dev/null
19087fi
19088if (echo >conf$$.file) 2>/dev/null; then
19089  if ln -s conf$$.file conf$$ 2>/dev/null; then
19090    as_ln_s='ln -s'
19091    # ... but there are two gotchas:
19092    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19093    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19094    # In both cases, we have to default to `cp -p'.
19095    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19096      as_ln_s='cp -p'
19097  elif ln conf$$.file conf$$ 2>/dev/null; then
19098    as_ln_s=ln
19099  else
19100    as_ln_s='cp -p'
19101  fi
19102else
19103  as_ln_s='cp -p'
19104fi
19105rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19106rmdir conf$$.dir 2>/dev/null
19107
19108
19109# as_fn_mkdir_p
19110# -------------
19111# Create "$as_dir" as a directory, including parents if necessary.
19112as_fn_mkdir_p ()
19113{
19114
19115  case $as_dir in #(
19116  -*) as_dir=./$as_dir;;
19117  esac
19118  test -d "$as_dir" || eval $as_mkdir_p || {
19119    as_dirs=
19120    while :; do
19121      case $as_dir in #(
19122      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19123      *) as_qdir=$as_dir;;
19124      esac
19125      as_dirs="'$as_qdir' $as_dirs"
19126      as_dir=`$as_dirname -- "$as_dir" ||
19127$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19128	 X"$as_dir" : 'X\(//\)[^/]' \| \
19129	 X"$as_dir" : 'X\(//\)$' \| \
19130	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19131$as_echo X"$as_dir" |
19132    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19133	    s//\1/
19134	    q
19135	  }
19136	  /^X\(\/\/\)[^/].*/{
19137	    s//\1/
19138	    q
19139	  }
19140	  /^X\(\/\/\)$/{
19141	    s//\1/
19142	    q
19143	  }
19144	  /^X\(\/\).*/{
19145	    s//\1/
19146	    q
19147	  }
19148	  s/.*/./; q'`
19149      test -d "$as_dir" && break
19150    done
19151    test -z "$as_dirs" || eval "mkdir $as_dirs"
19152  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19153
19154
19155} # as_fn_mkdir_p
19156if mkdir -p . 2>/dev/null; then
19157  as_mkdir_p='mkdir -p "$as_dir"'
19158else
19159  test -d ./-p && rmdir ./-p
19160  as_mkdir_p=false
19161fi
19162
19163if test -x / >/dev/null 2>&1; then
19164  as_test_x='test -x'
19165else
19166  if ls -dL / >/dev/null 2>&1; then
19167    as_ls_L_option=L
19168  else
19169    as_ls_L_option=
19170  fi
19171  as_test_x='
19172    eval sh -c '\''
19173      if test -d "$1"; then
19174	test -d "$1/.";
19175      else
19176	case $1 in #(
19177	-*)set "./$1";;
19178	esac;
19179	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19180	???[sx]*):;;*)false;;esac;fi
19181    '\'' sh
19182  '
19183fi
19184as_executable_p=$as_test_x
19185
19186# Sed expression to map a string onto a valid CPP name.
19187as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19188
19189# Sed expression to map a string onto a valid variable name.
19190as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19191
19192
19193exec 6>&1
19194## ----------------------------------- ##
19195## Main body of $CONFIG_STATUS script. ##
19196## ----------------------------------- ##
19197_ASEOF
19198test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19199
19200cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19201# Save the log message, to keep $0 and so on meaningful, and to
19202# report actual input values of CONFIG_FILES etc. instead of their
19203# values after options handling.
19204ac_log="
19205This file was extended by libFS $as_me 1.0.6, which was
19206generated by GNU Autoconf 2.68.  Invocation command line was
19207
19208  CONFIG_FILES    = $CONFIG_FILES
19209  CONFIG_HEADERS  = $CONFIG_HEADERS
19210  CONFIG_LINKS    = $CONFIG_LINKS
19211  CONFIG_COMMANDS = $CONFIG_COMMANDS
19212  $ $0 $@
19213
19214on `(hostname || uname -n) 2>/dev/null | sed 1q`
19215"
19216
19217_ACEOF
19218
19219case $ac_config_files in *"
19220"*) set x $ac_config_files; shift; ac_config_files=$*;;
19221esac
19222
19223case $ac_config_headers in *"
19224"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19225esac
19226
19227
19228cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19229# Files that config.status was made for.
19230config_files="$ac_config_files"
19231config_headers="$ac_config_headers"
19232config_commands="$ac_config_commands"
19233
19234_ACEOF
19235
19236cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19237ac_cs_usage="\
19238\`$as_me' instantiates files and other configuration actions
19239from templates according to the current configuration.  Unless the files
19240and actions are specified as TAGs, all are instantiated by default.
19241
19242Usage: $0 [OPTION]... [TAG]...
19243
19244  -h, --help       print this help, then exit
19245  -V, --version    print version number and configuration settings, then exit
19246      --config     print configuration, then exit
19247  -q, --quiet, --silent
19248                   do not print progress messages
19249  -d, --debug      don't remove temporary files
19250      --recheck    update $as_me by reconfiguring in the same conditions
19251      --file=FILE[:TEMPLATE]
19252                   instantiate the configuration file FILE
19253      --header=FILE[:TEMPLATE]
19254                   instantiate the configuration header FILE
19255
19256Configuration files:
19257$config_files
19258
19259Configuration headers:
19260$config_headers
19261
19262Configuration commands:
19263$config_commands
19264
19265Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
19266
19267_ACEOF
19268cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19269ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19270ac_cs_version="\\
19271libFS config.status 1.0.6
19272configured by $0, generated by GNU Autoconf 2.68,
19273  with options \\"\$ac_cs_config\\"
19274
19275Copyright (C) 2010 Free Software Foundation, Inc.
19276This config.status script is free software; the Free Software Foundation
19277gives unlimited permission to copy, distribute and modify it."
19278
19279ac_pwd='$ac_pwd'
19280srcdir='$srcdir'
19281INSTALL='$INSTALL'
19282MKDIR_P='$MKDIR_P'
19283AWK='$AWK'
19284test -n "\$AWK" || AWK=awk
19285_ACEOF
19286
19287cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19288# The default lists apply if the user does not specify any file.
19289ac_need_defaults=:
19290while test $# != 0
19291do
19292  case $1 in
19293  --*=?*)
19294    ac_option=`expr "X$1" : 'X\([^=]*\)='`
19295    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19296    ac_shift=:
19297    ;;
19298  --*=)
19299    ac_option=`expr "X$1" : 'X\([^=]*\)='`
19300    ac_optarg=
19301    ac_shift=:
19302    ;;
19303  *)
19304    ac_option=$1
19305    ac_optarg=$2
19306    ac_shift=shift
19307    ;;
19308  esac
19309
19310  case $ac_option in
19311  # Handling of the options.
19312  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19313    ac_cs_recheck=: ;;
19314  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19315    $as_echo "$ac_cs_version"; exit ;;
19316  --config | --confi | --conf | --con | --co | --c )
19317    $as_echo "$ac_cs_config"; exit ;;
19318  --debug | --debu | --deb | --de | --d | -d )
19319    debug=: ;;
19320  --file | --fil | --fi | --f )
19321    $ac_shift
19322    case $ac_optarg in
19323    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19324    '') as_fn_error $? "missing file argument" ;;
19325    esac
19326    as_fn_append CONFIG_FILES " '$ac_optarg'"
19327    ac_need_defaults=false;;
19328  --header | --heade | --head | --hea )
19329    $ac_shift
19330    case $ac_optarg in
19331    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19332    esac
19333    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19334    ac_need_defaults=false;;
19335  --he | --h)
19336    # Conflict between --help and --header
19337    as_fn_error $? "ambiguous option: \`$1'
19338Try \`$0 --help' for more information.";;
19339  --help | --hel | -h )
19340    $as_echo "$ac_cs_usage"; exit ;;
19341  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19342  | -silent | --silent | --silen | --sile | --sil | --si | --s)
19343    ac_cs_silent=: ;;
19344
19345  # This is an error.
19346  -*) as_fn_error $? "unrecognized option: \`$1'
19347Try \`$0 --help' for more information." ;;
19348
19349  *) as_fn_append ac_config_targets " $1"
19350     ac_need_defaults=false ;;
19351
19352  esac
19353  shift
19354done
19355
19356ac_configure_extra_args=
19357
19358if $ac_cs_silent; then
19359  exec 6>/dev/null
19360  ac_configure_extra_args="$ac_configure_extra_args --silent"
19361fi
19362
19363_ACEOF
19364cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19365if \$ac_cs_recheck; then
19366  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19367  shift
19368  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19369  CONFIG_SHELL='$SHELL'
19370  export CONFIG_SHELL
19371  exec "\$@"
19372fi
19373
19374_ACEOF
19375cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19376exec 5>>config.log
19377{
19378  echo
19379  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19380## Running $as_me. ##
19381_ASBOX
19382  $as_echo "$ac_log"
19383} >&5
19384
19385_ACEOF
19386cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19387#
19388# INIT-COMMANDS
19389#
19390AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19391
19392
19393# The HP-UX ksh and POSIX shell print the target directory to stdout
19394# if CDPATH is set.
19395(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19396
19397sed_quote_subst='$sed_quote_subst'
19398double_quote_subst='$double_quote_subst'
19399delay_variable_subst='$delay_variable_subst'
19400macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19401macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19402enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19403enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19404pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19405enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19406SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19407ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19408PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19409host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19410host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19411host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19412build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19413build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19414build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19415SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19416Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19417GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19418EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19419FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19420LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19421NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19422LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19423max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19424ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19425exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19426lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19427lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19428lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19429lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19430lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19431reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19432reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19433OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19434deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19435file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19436file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19437want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19438DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19439sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19440AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19441AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19442archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19443STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19444RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19445old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19446old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19447old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19448lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19449CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19450CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19451compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19452GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19453lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19454lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19455lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19456lt_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"`'
19457nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19458lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19459objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19460MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19461lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19462lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19463lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19464lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19465lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19466need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19467MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19468DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19469NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19470LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19471OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19472OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19473libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19474shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19475extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19476archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19477enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19478export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19479whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19480compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19481old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19482old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19483archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19484archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19485module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19486module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19487with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19488allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19489no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19490hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19491hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19492hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19493hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19494hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19495hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19496hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19497inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19498link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19499always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19500export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19501exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19502include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19503prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19504postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19505file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19506variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19507need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19508need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19509version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19510runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19511shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19512shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19513libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19514library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19515soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19516install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19517postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19518postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19519finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19520finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19521hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19522sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19523sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19524hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19525enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19526enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19527enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19528old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19529striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19530
19531LTCC='$LTCC'
19532LTCFLAGS='$LTCFLAGS'
19533compiler='$compiler_DEFAULT'
19534
19535# A function that is used when there is no print builtin or printf.
19536func_fallback_echo ()
19537{
19538  eval 'cat <<_LTECHO_EOF
19539\$1
19540_LTECHO_EOF'
19541}
19542
19543# Quote evaled strings.
19544for var in SHELL \
19545ECHO \
19546PATH_SEPARATOR \
19547SED \
19548GREP \
19549EGREP \
19550FGREP \
19551LD \
19552NM \
19553LN_S \
19554lt_SP2NL \
19555lt_NL2SP \
19556reload_flag \
19557OBJDUMP \
19558deplibs_check_method \
19559file_magic_cmd \
19560file_magic_glob \
19561want_nocaseglob \
19562DLLTOOL \
19563sharedlib_from_linklib_cmd \
19564AR \
19565AR_FLAGS \
19566archiver_list_spec \
19567STRIP \
19568RANLIB \
19569CC \
19570CFLAGS \
19571compiler \
19572lt_cv_sys_global_symbol_pipe \
19573lt_cv_sys_global_symbol_to_cdecl \
19574lt_cv_sys_global_symbol_to_c_name_address \
19575lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19576nm_file_list_spec \
19577lt_prog_compiler_no_builtin_flag \
19578lt_prog_compiler_pic \
19579lt_prog_compiler_wl \
19580lt_prog_compiler_static \
19581lt_cv_prog_compiler_c_o \
19582need_locks \
19583MANIFEST_TOOL \
19584DSYMUTIL \
19585NMEDIT \
19586LIPO \
19587OTOOL \
19588OTOOL64 \
19589shrext_cmds \
19590export_dynamic_flag_spec \
19591whole_archive_flag_spec \
19592compiler_needs_object \
19593with_gnu_ld \
19594allow_undefined_flag \
19595no_undefined_flag \
19596hardcode_libdir_flag_spec \
19597hardcode_libdir_separator \
19598exclude_expsyms \
19599include_expsyms \
19600file_list_spec \
19601variables_saved_for_relink \
19602libname_spec \
19603library_names_spec \
19604soname_spec \
19605install_override_mode \
19606finish_eval \
19607old_striplib \
19608striplib; do
19609    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19610    *[\\\\\\\`\\"\\\$]*)
19611      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19612      ;;
19613    *)
19614      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19615      ;;
19616    esac
19617done
19618
19619# Double-quote double-evaled strings.
19620for var in reload_cmds \
19621old_postinstall_cmds \
19622old_postuninstall_cmds \
19623old_archive_cmds \
19624extract_expsyms_cmds \
19625old_archive_from_new_cmds \
19626old_archive_from_expsyms_cmds \
19627archive_cmds \
19628archive_expsym_cmds \
19629module_cmds \
19630module_expsym_cmds \
19631export_symbols_cmds \
19632prelink_cmds \
19633postlink_cmds \
19634postinstall_cmds \
19635postuninstall_cmds \
19636finish_cmds \
19637sys_lib_search_path_spec \
19638sys_lib_dlsearch_path_spec; do
19639    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19640    *[\\\\\\\`\\"\\\$]*)
19641      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19642      ;;
19643    *)
19644      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19645      ;;
19646    esac
19647done
19648
19649ac_aux_dir='$ac_aux_dir'
19650xsi_shell='$xsi_shell'
19651lt_shell_append='$lt_shell_append'
19652
19653# See if we are running on zsh, and set the options which allow our
19654# commands through without removal of \ escapes INIT.
19655if test -n "\${ZSH_VERSION+set}" ; then
19656   setopt NO_GLOB_SUBST
19657fi
19658
19659
19660    PACKAGE='$PACKAGE'
19661    VERSION='$VERSION'
19662    TIMESTAMP='$TIMESTAMP'
19663    RM='$RM'
19664    ofile='$ofile'
19665
19666
19667
19668
19669_ACEOF
19670
19671cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19672
19673# Handling of arguments.
19674for ac_config_target in $ac_config_targets
19675do
19676  case $ac_config_target in
19677    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19678    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19679    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19680    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19681    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19682    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
19683    "libfs.pc") CONFIG_FILES="$CONFIG_FILES libfs.pc" ;;
19684
19685  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19686  esac
19687done
19688
19689
19690# If the user did not use the arguments to specify the items to instantiate,
19691# then the envvar interface is used.  Set only those that are not.
19692# We use the long form for the default assignment because of an extremely
19693# bizarre bug on SunOS 4.1.3.
19694if $ac_need_defaults; then
19695  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19696  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19697  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19698fi
19699
19700# Have a temporary directory for convenience.  Make it in the build tree
19701# simply because there is no reason against having it here, and in addition,
19702# creating and moving files from /tmp can sometimes cause problems.
19703# Hook for its removal unless debugging.
19704# Note that there is a small window in which the directory will not be cleaned:
19705# after its creation but before its name has been assigned to `$tmp'.
19706$debug ||
19707{
19708  tmp= ac_tmp=
19709  trap 'exit_status=$?
19710  : "${ac_tmp:=$tmp}"
19711  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19712' 0
19713  trap 'as_fn_exit 1' 1 2 13 15
19714}
19715# Create a (secure) tmp directory for tmp files.
19716
19717{
19718  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19719  test -d "$tmp"
19720}  ||
19721{
19722  tmp=./conf$$-$RANDOM
19723  (umask 077 && mkdir "$tmp")
19724} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19725ac_tmp=$tmp
19726
19727# Set up the scripts for CONFIG_FILES section.
19728# No need to generate them if there are no CONFIG_FILES.
19729# This happens for instance with `./config.status config.h'.
19730if test -n "$CONFIG_FILES"; then
19731
19732
19733ac_cr=`echo X | tr X '\015'`
19734# On cygwin, bash can eat \r inside `` if the user requested igncr.
19735# But we know of no other shell where ac_cr would be empty at this
19736# point, so we can use a bashism as a fallback.
19737if test "x$ac_cr" = x; then
19738  eval ac_cr=\$\'\\r\'
19739fi
19740ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19741if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19742  ac_cs_awk_cr='\\r'
19743else
19744  ac_cs_awk_cr=$ac_cr
19745fi
19746
19747echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19748_ACEOF
19749
19750
19751{
19752  echo "cat >conf$$subs.awk <<_ACEOF" &&
19753  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19754  echo "_ACEOF"
19755} >conf$$subs.sh ||
19756  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19757ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19758ac_delim='%!_!# '
19759for ac_last_try in false false false false false :; do
19760  . ./conf$$subs.sh ||
19761    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19762
19763  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19764  if test $ac_delim_n = $ac_delim_num; then
19765    break
19766  elif $ac_last_try; then
19767    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19768  else
19769    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19770  fi
19771done
19772rm -f conf$$subs.sh
19773
19774cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19775cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19776_ACEOF
19777sed -n '
19778h
19779s/^/S["/; s/!.*/"]=/
19780p
19781g
19782s/^[^!]*!//
19783:repl
19784t repl
19785s/'"$ac_delim"'$//
19786t delim
19787:nl
19788h
19789s/\(.\{148\}\)..*/\1/
19790t more1
19791s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19792p
19793n
19794b repl
19795:more1
19796s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19797p
19798g
19799s/.\{148\}//
19800t nl
19801:delim
19802h
19803s/\(.\{148\}\)..*/\1/
19804t more2
19805s/["\\]/\\&/g; s/^/"/; s/$/"/
19806p
19807b
19808:more2
19809s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19810p
19811g
19812s/.\{148\}//
19813t delim
19814' <conf$$subs.awk | sed '
19815/^[^""]/{
19816  N
19817  s/\n//
19818}
19819' >>$CONFIG_STATUS || ac_write_fail=1
19820rm -f conf$$subs.awk
19821cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19822_ACAWK
19823cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19824  for (key in S) S_is_set[key] = 1
19825  FS = ""
19826
19827}
19828{
19829  line = $ 0
19830  nfields = split(line, field, "@")
19831  substed = 0
19832  len = length(field[1])
19833  for (i = 2; i < nfields; i++) {
19834    key = field[i]
19835    keylen = length(key)
19836    if (S_is_set[key]) {
19837      value = S[key]
19838      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19839      len += length(value) + length(field[++i])
19840      substed = 1
19841    } else
19842      len += 1 + keylen
19843  }
19844
19845  print line
19846}
19847
19848_ACAWK
19849_ACEOF
19850cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19851if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19852  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19853else
19854  cat
19855fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19856  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19857_ACEOF
19858
19859# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19860# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19861# trailing colons and then remove the whole line if VPATH becomes empty
19862# (actually we leave an empty line to preserve line numbers).
19863if test "x$srcdir" = x.; then
19864  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
19865h
19866s///
19867s/^/:/
19868s/[	 ]*$/:/
19869s/:\$(srcdir):/:/g
19870s/:\${srcdir}:/:/g
19871s/:@srcdir@:/:/g
19872s/^:*//
19873s/:*$//
19874x
19875s/\(=[	 ]*\).*/\1/
19876G
19877s/\n//
19878s/^[^=]*=[	 ]*$//
19879}'
19880fi
19881
19882cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19883fi # test -n "$CONFIG_FILES"
19884
19885# Set up the scripts for CONFIG_HEADERS section.
19886# No need to generate them if there are no CONFIG_HEADERS.
19887# This happens for instance with `./config.status Makefile'.
19888if test -n "$CONFIG_HEADERS"; then
19889cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19890BEGIN {
19891_ACEOF
19892
19893# Transform confdefs.h into an awk script `defines.awk', embedded as
19894# here-document in config.status, that substitutes the proper values into
19895# config.h.in to produce config.h.
19896
19897# Create a delimiter string that does not exist in confdefs.h, to ease
19898# handling of long lines.
19899ac_delim='%!_!# '
19900for ac_last_try in false false :; do
19901  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19902  if test -z "$ac_tt"; then
19903    break
19904  elif $ac_last_try; then
19905    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19906  else
19907    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19908  fi
19909done
19910
19911# For the awk script, D is an array of macro values keyed by name,
19912# likewise P contains macro parameters if any.  Preserve backslash
19913# newline sequences.
19914
19915ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19916sed -n '
19917s/.\{148\}/&'"$ac_delim"'/g
19918t rset
19919:rset
19920s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
19921t def
19922d
19923:def
19924s/\\$//
19925t bsnl
19926s/["\\]/\\&/g
19927s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19928D["\1"]=" \3"/p
19929s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
19930d
19931:bsnl
19932s/["\\]/\\&/g
19933s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19934D["\1"]=" \3\\\\\\n"\\/p
19935t cont
19936s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19937t cont
19938d
19939:cont
19940n
19941s/.\{148\}/&'"$ac_delim"'/g
19942t clear
19943:clear
19944s/\\$//
19945t bsnlc
19946s/["\\]/\\&/g; s/^/"/; s/$/"/p
19947d
19948:bsnlc
19949s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19950b cont
19951' <confdefs.h | sed '
19952s/'"$ac_delim"'/"\\\
19953"/g' >>$CONFIG_STATUS || ac_write_fail=1
19954
19955cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19956  for (key in D) D_is_set[key] = 1
19957  FS = ""
19958}
19959/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19960  line = \$ 0
19961  split(line, arg, " ")
19962  if (arg[1] == "#") {
19963    defundef = arg[2]
19964    mac1 = arg[3]
19965  } else {
19966    defundef = substr(arg[1], 2)
19967    mac1 = arg[2]
19968  }
19969  split(mac1, mac2, "(") #)
19970  macro = mac2[1]
19971  prefix = substr(line, 1, index(line, defundef) - 1)
19972  if (D_is_set[macro]) {
19973    # Preserve the white space surrounding the "#".
19974    print prefix "define", macro P[macro] D[macro]
19975    next
19976  } else {
19977    # Replace #undef with comments.  This is necessary, for example,
19978    # in the case of _POSIX_SOURCE, which is predefined and required
19979    # on some systems where configure will not decide to define it.
19980    if (defundef == "undef") {
19981      print "/*", prefix defundef, macro, "*/"
19982      next
19983    }
19984  }
19985}
19986{ print }
19987_ACAWK
19988_ACEOF
19989cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19990  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19991fi # test -n "$CONFIG_HEADERS"
19992
19993
19994eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19995shift
19996for ac_tag
19997do
19998  case $ac_tag in
19999  :[FHLC]) ac_mode=$ac_tag; continue;;
20000  esac
20001  case $ac_mode$ac_tag in
20002  :[FHL]*:*);;
20003  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20004  :[FH]-) ac_tag=-:-;;
20005  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20006  esac
20007  ac_save_IFS=$IFS
20008  IFS=:
20009  set x $ac_tag
20010  IFS=$ac_save_IFS
20011  shift
20012  ac_file=$1
20013  shift
20014
20015  case $ac_mode in
20016  :L) ac_source=$1;;
20017  :[FH])
20018    ac_file_inputs=
20019    for ac_f
20020    do
20021      case $ac_f in
20022      -) ac_f="$ac_tmp/stdin";;
20023      *) # Look for the file first in the build tree, then in the source tree
20024	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
20025	 # because $ac_f cannot contain `:'.
20026	 test -f "$ac_f" ||
20027	   case $ac_f in
20028	   [\\/$]*) false;;
20029	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20030	   esac ||
20031	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20032      esac
20033      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20034      as_fn_append ac_file_inputs " '$ac_f'"
20035    done
20036
20037    # Let's still pretend it is `configure' which instantiates (i.e., don't
20038    # use $as_me), people would be surprised to read:
20039    #    /* config.h.  Generated by config.status.  */
20040    configure_input='Generated from '`
20041	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20042	`' by configure.'
20043    if test x"$ac_file" != x-; then
20044      configure_input="$ac_file.  $configure_input"
20045      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20046$as_echo "$as_me: creating $ac_file" >&6;}
20047    fi
20048    # Neutralize special characters interpreted by sed in replacement strings.
20049    case $configure_input in #(
20050    *\&* | *\|* | *\\* )
20051       ac_sed_conf_input=`$as_echo "$configure_input" |
20052       sed 's/[\\\\&|]/\\\\&/g'`;; #(
20053    *) ac_sed_conf_input=$configure_input;;
20054    esac
20055
20056    case $ac_tag in
20057    *:-:* | *:-) cat >"$ac_tmp/stdin" \
20058      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20059    esac
20060    ;;
20061  esac
20062
20063  ac_dir=`$as_dirname -- "$ac_file" ||
20064$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20065	 X"$ac_file" : 'X\(//\)[^/]' \| \
20066	 X"$ac_file" : 'X\(//\)$' \| \
20067	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20068$as_echo X"$ac_file" |
20069    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20070	    s//\1/
20071	    q
20072	  }
20073	  /^X\(\/\/\)[^/].*/{
20074	    s//\1/
20075	    q
20076	  }
20077	  /^X\(\/\/\)$/{
20078	    s//\1/
20079	    q
20080	  }
20081	  /^X\(\/\).*/{
20082	    s//\1/
20083	    q
20084	  }
20085	  s/.*/./; q'`
20086  as_dir="$ac_dir"; as_fn_mkdir_p
20087  ac_builddir=.
20088
20089case "$ac_dir" in
20090.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20091*)
20092  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20093  # A ".." for each directory in $ac_dir_suffix.
20094  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20095  case $ac_top_builddir_sub in
20096  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20097  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20098  esac ;;
20099esac
20100ac_abs_top_builddir=$ac_pwd
20101ac_abs_builddir=$ac_pwd$ac_dir_suffix
20102# for backward compatibility:
20103ac_top_builddir=$ac_top_build_prefix
20104
20105case $srcdir in
20106  .)  # We are building in place.
20107    ac_srcdir=.
20108    ac_top_srcdir=$ac_top_builddir_sub
20109    ac_abs_top_srcdir=$ac_pwd ;;
20110  [\\/]* | ?:[\\/]* )  # Absolute name.
20111    ac_srcdir=$srcdir$ac_dir_suffix;
20112    ac_top_srcdir=$srcdir
20113    ac_abs_top_srcdir=$srcdir ;;
20114  *) # Relative name.
20115    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20116    ac_top_srcdir=$ac_top_build_prefix$srcdir
20117    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20118esac
20119ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20120
20121
20122  case $ac_mode in
20123  :F)
20124  #
20125  # CONFIG_FILE
20126  #
20127
20128  case $INSTALL in
20129  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20130  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20131  esac
20132  ac_MKDIR_P=$MKDIR_P
20133  case $MKDIR_P in
20134  [\\/$]* | ?:[\\/]* ) ;;
20135  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20136  esac
20137_ACEOF
20138
20139cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20140# If the template does not know about datarootdir, expand it.
20141# FIXME: This hack should be removed a few years after 2.60.
20142ac_datarootdir_hack=; ac_datarootdir_seen=
20143ac_sed_dataroot='
20144/datarootdir/ {
20145  p
20146  q
20147}
20148/@datadir@/p
20149/@docdir@/p
20150/@infodir@/p
20151/@localedir@/p
20152/@mandir@/p'
20153case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20154*datarootdir*) ac_datarootdir_seen=yes;;
20155*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20156  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20157$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20158_ACEOF
20159cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20160  ac_datarootdir_hack='
20161  s&@datadir@&$datadir&g
20162  s&@docdir@&$docdir&g
20163  s&@infodir@&$infodir&g
20164  s&@localedir@&$localedir&g
20165  s&@mandir@&$mandir&g
20166  s&\\\${datarootdir}&$datarootdir&g' ;;
20167esac
20168_ACEOF
20169
20170# Neutralize VPATH when `$srcdir' = `.'.
20171# Shell code in configure.ac might set extrasub.
20172# FIXME: do we really want to maintain this feature?
20173cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20174ac_sed_extra="$ac_vpsub
20175$extrasub
20176_ACEOF
20177cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20178:t
20179/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20180s|@configure_input@|$ac_sed_conf_input|;t t
20181s&@top_builddir@&$ac_top_builddir_sub&;t t
20182s&@top_build_prefix@&$ac_top_build_prefix&;t t
20183s&@srcdir@&$ac_srcdir&;t t
20184s&@abs_srcdir@&$ac_abs_srcdir&;t t
20185s&@top_srcdir@&$ac_top_srcdir&;t t
20186s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20187s&@builddir@&$ac_builddir&;t t
20188s&@abs_builddir@&$ac_abs_builddir&;t t
20189s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20190s&@INSTALL@&$ac_INSTALL&;t t
20191s&@MKDIR_P@&$ac_MKDIR_P&;t t
20192$ac_datarootdir_hack
20193"
20194eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20195  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20196
20197test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20198  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20199  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
20200      "$ac_tmp/out"`; test -z "$ac_out"; } &&
20201  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20202which seems to be undefined.  Please make sure it is defined" >&5
20203$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20204which seems to be undefined.  Please make sure it is defined" >&2;}
20205
20206  rm -f "$ac_tmp/stdin"
20207  case $ac_file in
20208  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20209  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20210  esac \
20211  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20212 ;;
20213  :H)
20214  #
20215  # CONFIG_HEADER
20216  #
20217  if test x"$ac_file" != x-; then
20218    {
20219      $as_echo "/* $configure_input  */" \
20220      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20221    } >"$ac_tmp/config.h" \
20222      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20223    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20224      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20225$as_echo "$as_me: $ac_file is unchanged" >&6;}
20226    else
20227      rm -f "$ac_file"
20228      mv "$ac_tmp/config.h" "$ac_file" \
20229	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
20230    fi
20231  else
20232    $as_echo "/* $configure_input  */" \
20233      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20234      || as_fn_error $? "could not create -" "$LINENO" 5
20235  fi
20236# Compute "$ac_file"'s index in $config_headers.
20237_am_arg="$ac_file"
20238_am_stamp_count=1
20239for _am_header in $config_headers :; do
20240  case $_am_header in
20241    $_am_arg | $_am_arg:* )
20242      break ;;
20243    * )
20244      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20245  esac
20246done
20247echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20248$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20249	 X"$_am_arg" : 'X\(//\)[^/]' \| \
20250	 X"$_am_arg" : 'X\(//\)$' \| \
20251	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20252$as_echo X"$_am_arg" |
20253    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20254	    s//\1/
20255	    q
20256	  }
20257	  /^X\(\/\/\)[^/].*/{
20258	    s//\1/
20259	    q
20260	  }
20261	  /^X\(\/\/\)$/{
20262	    s//\1/
20263	    q
20264	  }
20265	  /^X\(\/\).*/{
20266	    s//\1/
20267	    q
20268	  }
20269	  s/.*/./; q'`/stamp-h$_am_stamp_count
20270 ;;
20271
20272  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20273$as_echo "$as_me: executing $ac_file commands" >&6;}
20274 ;;
20275  esac
20276
20277
20278  case $ac_file$ac_mode in
20279    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20280  # Older Autoconf quotes --file arguments for eval, but not when files
20281  # are listed without --file.  Let's play safe and only enable the eval
20282  # if we detect the quoting.
20283  case $CONFIG_FILES in
20284  *\'*) eval set x "$CONFIG_FILES" ;;
20285  *)   set x $CONFIG_FILES ;;
20286  esac
20287  shift
20288  for mf
20289  do
20290    # Strip MF so we end up with the name of the file.
20291    mf=`echo "$mf" | sed -e 's/:.*$//'`
20292    # Check whether this is an Automake generated Makefile or not.
20293    # We used to match only the files named 'Makefile.in', but
20294    # some people rename them; so instead we look at the file content.
20295    # Grep'ing the first line is not enough: some people post-process
20296    # each Makefile.in and add a new line on top of each file to say so.
20297    # Grep'ing the whole file is not good either: AIX grep has a line
20298    # limit of 2048, but all sed's we know have understand at least 4000.
20299    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20300      dirpart=`$as_dirname -- "$mf" ||
20301$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20302	 X"$mf" : 'X\(//\)[^/]' \| \
20303	 X"$mf" : 'X\(//\)$' \| \
20304	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20305$as_echo X"$mf" |
20306    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20307	    s//\1/
20308	    q
20309	  }
20310	  /^X\(\/\/\)[^/].*/{
20311	    s//\1/
20312	    q
20313	  }
20314	  /^X\(\/\/\)$/{
20315	    s//\1/
20316	    q
20317	  }
20318	  /^X\(\/\).*/{
20319	    s//\1/
20320	    q
20321	  }
20322	  s/.*/./; q'`
20323    else
20324      continue
20325    fi
20326    # Extract the definition of DEPDIR, am__include, and am__quote
20327    # from the Makefile without running 'make'.
20328    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20329    test -z "$DEPDIR" && continue
20330    am__include=`sed -n 's/^am__include = //p' < "$mf"`
20331    test -z "$am__include" && continue
20332    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20333    # Find all dependency output files, they are included files with
20334    # $(DEPDIR) in their names.  We invoke sed twice because it is the
20335    # simplest approach to changing $(DEPDIR) to its actual value in the
20336    # expansion.
20337    for file in `sed -n "
20338      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20339	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20340      # Make sure the directory exists.
20341      test -f "$dirpart/$file" && continue
20342      fdir=`$as_dirname -- "$file" ||
20343$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20344	 X"$file" : 'X\(//\)[^/]' \| \
20345	 X"$file" : 'X\(//\)$' \| \
20346	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20347$as_echo X"$file" |
20348    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20349	    s//\1/
20350	    q
20351	  }
20352	  /^X\(\/\/\)[^/].*/{
20353	    s//\1/
20354	    q
20355	  }
20356	  /^X\(\/\/\)$/{
20357	    s//\1/
20358	    q
20359	  }
20360	  /^X\(\/\).*/{
20361	    s//\1/
20362	    q
20363	  }
20364	  s/.*/./; q'`
20365      as_dir=$dirpart/$fdir; as_fn_mkdir_p
20366      # echo "creating $dirpart/$file"
20367      echo '# dummy' > "$dirpart/$file"
20368    done
20369  done
20370}
20371 ;;
20372    "libtool":C)
20373
20374    # See if we are running on zsh, and set the options which allow our
20375    # commands through without removal of \ escapes.
20376    if test -n "${ZSH_VERSION+set}" ; then
20377      setopt NO_GLOB_SUBST
20378    fi
20379
20380    cfgfile="${ofile}T"
20381    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20382    $RM "$cfgfile"
20383
20384    cat <<_LT_EOF >> "$cfgfile"
20385#! $SHELL
20386
20387# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20388# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20389# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20390# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20391#
20392#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20393#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
20394#                 Foundation, Inc.
20395#   Written by Gordon Matzigkeit, 1996
20396#
20397#   This file is part of GNU Libtool.
20398#
20399# GNU Libtool is free software; you can redistribute it and/or
20400# modify it under the terms of the GNU General Public License as
20401# published by the Free Software Foundation; either version 2 of
20402# the License, or (at your option) any later version.
20403#
20404# As a special exception to the GNU General Public License,
20405# if you distribute this file as part of a program or library that
20406# is built using GNU Libtool, you may include this file under the
20407# same distribution terms that you use for the rest of that program.
20408#
20409# GNU Libtool is distributed in the hope that it will be useful,
20410# but WITHOUT ANY WARRANTY; without even the implied warranty of
20411# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20412# GNU General Public License for more details.
20413#
20414# You should have received a copy of the GNU General Public License
20415# along with GNU Libtool; see the file COPYING.  If not, a copy
20416# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20417# obtained by writing to the Free Software Foundation, Inc.,
20418# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20419
20420
20421# The names of the tagged configurations supported by this script.
20422available_tags=""
20423
20424# ### BEGIN LIBTOOL CONFIG
20425
20426# Which release of libtool.m4 was used?
20427macro_version=$macro_version
20428macro_revision=$macro_revision
20429
20430# Whether or not to build shared libraries.
20431build_libtool_libs=$enable_shared
20432
20433# Whether or not to build static libraries.
20434build_old_libs=$enable_static
20435
20436# What type of objects to build.
20437pic_mode=$pic_mode
20438
20439# Whether or not to optimize for fast installation.
20440fast_install=$enable_fast_install
20441
20442# Shell to use when invoking shell scripts.
20443SHELL=$lt_SHELL
20444
20445# An echo program that protects backslashes.
20446ECHO=$lt_ECHO
20447
20448# The PATH separator for the build system.
20449PATH_SEPARATOR=$lt_PATH_SEPARATOR
20450
20451# The host system.
20452host_alias=$host_alias
20453host=$host
20454host_os=$host_os
20455
20456# The build system.
20457build_alias=$build_alias
20458build=$build
20459build_os=$build_os
20460
20461# A sed program that does not truncate output.
20462SED=$lt_SED
20463
20464# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20465Xsed="\$SED -e 1s/^X//"
20466
20467# A grep program that handles long lines.
20468GREP=$lt_GREP
20469
20470# An ERE matcher.
20471EGREP=$lt_EGREP
20472
20473# A literal string matcher.
20474FGREP=$lt_FGREP
20475
20476# A BSD- or MS-compatible name lister.
20477NM=$lt_NM
20478
20479# Whether we need soft or hard links.
20480LN_S=$lt_LN_S
20481
20482# What is the maximum length of a command?
20483max_cmd_len=$max_cmd_len
20484
20485# Object file suffix (normally "o").
20486objext=$ac_objext
20487
20488# Executable file suffix (normally "").
20489exeext=$exeext
20490
20491# whether the shell understands "unset".
20492lt_unset=$lt_unset
20493
20494# turn spaces into newlines.
20495SP2NL=$lt_lt_SP2NL
20496
20497# turn newlines into spaces.
20498NL2SP=$lt_lt_NL2SP
20499
20500# convert \$build file names to \$host format.
20501to_host_file_cmd=$lt_cv_to_host_file_cmd
20502
20503# convert \$build files to toolchain format.
20504to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20505
20506# An object symbol dumper.
20507OBJDUMP=$lt_OBJDUMP
20508
20509# Method to check whether dependent libraries are shared objects.
20510deplibs_check_method=$lt_deplibs_check_method
20511
20512# Command to use when deplibs_check_method = "file_magic".
20513file_magic_cmd=$lt_file_magic_cmd
20514
20515# How to find potential files when deplibs_check_method = "file_magic".
20516file_magic_glob=$lt_file_magic_glob
20517
20518# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20519want_nocaseglob=$lt_want_nocaseglob
20520
20521# DLL creation program.
20522DLLTOOL=$lt_DLLTOOL
20523
20524# Command to associate shared and link libraries.
20525sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20526
20527# The archiver.
20528AR=$lt_AR
20529
20530# Flags to create an archive.
20531AR_FLAGS=$lt_AR_FLAGS
20532
20533# How to feed a file listing to the archiver.
20534archiver_list_spec=$lt_archiver_list_spec
20535
20536# A symbol stripping program.
20537STRIP=$lt_STRIP
20538
20539# Commands used to install an old-style archive.
20540RANLIB=$lt_RANLIB
20541old_postinstall_cmds=$lt_old_postinstall_cmds
20542old_postuninstall_cmds=$lt_old_postuninstall_cmds
20543
20544# Whether to use a lock for old archive extraction.
20545lock_old_archive_extraction=$lock_old_archive_extraction
20546
20547# A C compiler.
20548LTCC=$lt_CC
20549
20550# LTCC compiler flags.
20551LTCFLAGS=$lt_CFLAGS
20552
20553# Take the output of nm and produce a listing of raw symbols and C names.
20554global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20555
20556# Transform the output of nm in a proper C declaration.
20557global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20558
20559# Transform the output of nm in a C name address pair.
20560global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20561
20562# Transform the output of nm in a C name address pair when lib prefix is needed.
20563global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20564
20565# Specify filename containing input files for \$NM.
20566nm_file_list_spec=$lt_nm_file_list_spec
20567
20568# The root where to search for dependent libraries,and in which our libraries should be installed.
20569lt_sysroot=$lt_sysroot
20570
20571# The name of the directory that contains temporary libtool files.
20572objdir=$objdir
20573
20574# Used to examine libraries when file_magic_cmd begins with "file".
20575MAGIC_CMD=$MAGIC_CMD
20576
20577# Must we lock files when doing compilation?
20578need_locks=$lt_need_locks
20579
20580# Manifest tool.
20581MANIFEST_TOOL=$lt_MANIFEST_TOOL
20582
20583# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20584DSYMUTIL=$lt_DSYMUTIL
20585
20586# Tool to change global to local symbols on Mac OS X.
20587NMEDIT=$lt_NMEDIT
20588
20589# Tool to manipulate fat objects and archives on Mac OS X.
20590LIPO=$lt_LIPO
20591
20592# ldd/readelf like tool for Mach-O binaries on Mac OS X.
20593OTOOL=$lt_OTOOL
20594
20595# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20596OTOOL64=$lt_OTOOL64
20597
20598# Old archive suffix (normally "a").
20599libext=$libext
20600
20601# Shared library suffix (normally ".so").
20602shrext_cmds=$lt_shrext_cmds
20603
20604# The commands to extract the exported symbol list from a shared archive.
20605extract_expsyms_cmds=$lt_extract_expsyms_cmds
20606
20607# Variables whose values should be saved in libtool wrapper scripts and
20608# restored at link time.
20609variables_saved_for_relink=$lt_variables_saved_for_relink
20610
20611# Do we need the "lib" prefix for modules?
20612need_lib_prefix=$need_lib_prefix
20613
20614# Do we need a version for libraries?
20615need_version=$need_version
20616
20617# Library versioning type.
20618version_type=$version_type
20619
20620# Shared library runtime path variable.
20621runpath_var=$runpath_var
20622
20623# Shared library path variable.
20624shlibpath_var=$shlibpath_var
20625
20626# Is shlibpath searched before the hard-coded library search path?
20627shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20628
20629# Format of library name prefix.
20630libname_spec=$lt_libname_spec
20631
20632# List of archive names.  First name is the real one, the rest are links.
20633# The last name is the one that the linker finds with -lNAME
20634library_names_spec=$lt_library_names_spec
20635
20636# The coded name of the library, if different from the real name.
20637soname_spec=$lt_soname_spec
20638
20639# Permission mode override for installation of shared libraries.
20640install_override_mode=$lt_install_override_mode
20641
20642# Command to use after installation of a shared archive.
20643postinstall_cmds=$lt_postinstall_cmds
20644
20645# Command to use after uninstallation of a shared archive.
20646postuninstall_cmds=$lt_postuninstall_cmds
20647
20648# Commands used to finish a libtool library installation in a directory.
20649finish_cmds=$lt_finish_cmds
20650
20651# As "finish_cmds", except a single script fragment to be evaled but
20652# not shown.
20653finish_eval=$lt_finish_eval
20654
20655# Whether we should hardcode library paths into libraries.
20656hardcode_into_libs=$hardcode_into_libs
20657
20658# Compile-time system search path for libraries.
20659sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20660
20661# Run-time system search path for libraries.
20662sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20663
20664# Whether dlopen is supported.
20665dlopen_support=$enable_dlopen
20666
20667# Whether dlopen of programs is supported.
20668dlopen_self=$enable_dlopen_self
20669
20670# Whether dlopen of statically linked programs is supported.
20671dlopen_self_static=$enable_dlopen_self_static
20672
20673# Commands to strip libraries.
20674old_striplib=$lt_old_striplib
20675striplib=$lt_striplib
20676
20677
20678# The linker used to build libraries.
20679LD=$lt_LD
20680
20681# How to create reloadable object files.
20682reload_flag=$lt_reload_flag
20683reload_cmds=$lt_reload_cmds
20684
20685# Commands used to build an old-style archive.
20686old_archive_cmds=$lt_old_archive_cmds
20687
20688# A language specific compiler.
20689CC=$lt_compiler
20690
20691# Is the compiler the GNU compiler?
20692with_gcc=$GCC
20693
20694# Compiler flag to turn off builtin functions.
20695no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20696
20697# Additional compiler flags for building library objects.
20698pic_flag=$lt_lt_prog_compiler_pic
20699
20700# How to pass a linker flag through the compiler.
20701wl=$lt_lt_prog_compiler_wl
20702
20703# Compiler flag to prevent dynamic linking.
20704link_static_flag=$lt_lt_prog_compiler_static
20705
20706# Does compiler simultaneously support -c and -o options?
20707compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20708
20709# Whether or not to add -lc for building shared libraries.
20710build_libtool_need_lc=$archive_cmds_need_lc
20711
20712# Whether or not to disallow shared libs when runtime libs are static.
20713allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20714
20715# Compiler flag to allow reflexive dlopens.
20716export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20717
20718# Compiler flag to generate shared objects directly from archives.
20719whole_archive_flag_spec=$lt_whole_archive_flag_spec
20720
20721# Whether the compiler copes with passing no objects directly.
20722compiler_needs_object=$lt_compiler_needs_object
20723
20724# Create an old-style archive from a shared archive.
20725old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20726
20727# Create a temporary old-style archive to link instead of a shared archive.
20728old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20729
20730# Commands used to build a shared archive.
20731archive_cmds=$lt_archive_cmds
20732archive_expsym_cmds=$lt_archive_expsym_cmds
20733
20734# Commands used to build a loadable module if different from building
20735# a shared archive.
20736module_cmds=$lt_module_cmds
20737module_expsym_cmds=$lt_module_expsym_cmds
20738
20739# Whether we are building with GNU ld or not.
20740with_gnu_ld=$lt_with_gnu_ld
20741
20742# Flag that allows shared libraries with undefined symbols to be built.
20743allow_undefined_flag=$lt_allow_undefined_flag
20744
20745# Flag that enforces no undefined symbols.
20746no_undefined_flag=$lt_no_undefined_flag
20747
20748# Flag to hardcode \$libdir into a binary during linking.
20749# This must work even if \$libdir does not exist
20750hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20751
20752# Whether we need a single "-rpath" flag with a separated argument.
20753hardcode_libdir_separator=$lt_hardcode_libdir_separator
20754
20755# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20756# DIR into the resulting binary.
20757hardcode_direct=$hardcode_direct
20758
20759# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20760# DIR into the resulting binary and the resulting library dependency is
20761# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20762# library is relocated.
20763hardcode_direct_absolute=$hardcode_direct_absolute
20764
20765# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20766# into the resulting binary.
20767hardcode_minus_L=$hardcode_minus_L
20768
20769# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20770# into the resulting binary.
20771hardcode_shlibpath_var=$hardcode_shlibpath_var
20772
20773# Set to "yes" if building a shared library automatically hardcodes DIR
20774# into the library and all subsequent libraries and executables linked
20775# against it.
20776hardcode_automatic=$hardcode_automatic
20777
20778# Set to yes if linker adds runtime paths of dependent libraries
20779# to runtime path list.
20780inherit_rpath=$inherit_rpath
20781
20782# Whether libtool must link a program against all its dependency libraries.
20783link_all_deplibs=$link_all_deplibs
20784
20785# Set to "yes" if exported symbols are required.
20786always_export_symbols=$always_export_symbols
20787
20788# The commands to list exported symbols.
20789export_symbols_cmds=$lt_export_symbols_cmds
20790
20791# Symbols that should not be listed in the preloaded symbols.
20792exclude_expsyms=$lt_exclude_expsyms
20793
20794# Symbols that must always be exported.
20795include_expsyms=$lt_include_expsyms
20796
20797# Commands necessary for linking programs (against libraries) with templates.
20798prelink_cmds=$lt_prelink_cmds
20799
20800# Commands necessary for finishing linking programs.
20801postlink_cmds=$lt_postlink_cmds
20802
20803# Specify filename containing input files.
20804file_list_spec=$lt_file_list_spec
20805
20806# How to hardcode a shared library path into an executable.
20807hardcode_action=$hardcode_action
20808
20809# ### END LIBTOOL CONFIG
20810
20811_LT_EOF
20812
20813  case $host_os in
20814  aix3*)
20815    cat <<\_LT_EOF >> "$cfgfile"
20816# AIX sometimes has problems with the GCC collect2 program.  For some
20817# reason, if we set the COLLECT_NAMES environment variable, the problems
20818# vanish in a puff of smoke.
20819if test "X${COLLECT_NAMES+set}" != Xset; then
20820  COLLECT_NAMES=
20821  export COLLECT_NAMES
20822fi
20823_LT_EOF
20824    ;;
20825  esac
20826
20827
20828ltmain="$ac_aux_dir/ltmain.sh"
20829
20830
20831  # We use sed instead of cat because bash on DJGPP gets confused if
20832  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20833  # text mode, it properly converts lines to CR/LF.  This bash problem
20834  # is reportedly fixed, but why not run on old versions too?
20835  sed '$q' "$ltmain" >> "$cfgfile" \
20836     || (rm -f "$cfgfile"; exit 1)
20837
20838  if test x"$xsi_shell" = xyes; then
20839  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20840func_dirname ()\
20841{\
20842\    case ${1} in\
20843\      */*) func_dirname_result="${1%/*}${2}" ;;\
20844\      *  ) func_dirname_result="${3}" ;;\
20845\    esac\
20846} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20847  && mv -f "$cfgfile.tmp" "$cfgfile" \
20848    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20849test 0 -eq $? || _lt_function_replace_fail=:
20850
20851
20852  sed -e '/^func_basename ()$/,/^} # func_basename /c\
20853func_basename ()\
20854{\
20855\    func_basename_result="${1##*/}"\
20856} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20857  && mv -f "$cfgfile.tmp" "$cfgfile" \
20858    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20859test 0 -eq $? || _lt_function_replace_fail=:
20860
20861
20862  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20863func_dirname_and_basename ()\
20864{\
20865\    case ${1} in\
20866\      */*) func_dirname_result="${1%/*}${2}" ;;\
20867\      *  ) func_dirname_result="${3}" ;;\
20868\    esac\
20869\    func_basename_result="${1##*/}"\
20870} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20871  && mv -f "$cfgfile.tmp" "$cfgfile" \
20872    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20873test 0 -eq $? || _lt_function_replace_fail=:
20874
20875
20876  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20877func_stripname ()\
20878{\
20879\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20880\    # positional parameters, so assign one to ordinary parameter first.\
20881\    func_stripname_result=${3}\
20882\    func_stripname_result=${func_stripname_result#"${1}"}\
20883\    func_stripname_result=${func_stripname_result%"${2}"}\
20884} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20885  && mv -f "$cfgfile.tmp" "$cfgfile" \
20886    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20887test 0 -eq $? || _lt_function_replace_fail=:
20888
20889
20890  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20891func_split_long_opt ()\
20892{\
20893\    func_split_long_opt_name=${1%%=*}\
20894\    func_split_long_opt_arg=${1#*=}\
20895} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20896  && mv -f "$cfgfile.tmp" "$cfgfile" \
20897    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20898test 0 -eq $? || _lt_function_replace_fail=:
20899
20900
20901  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20902func_split_short_opt ()\
20903{\
20904\    func_split_short_opt_arg=${1#??}\
20905\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20906} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20907  && mv -f "$cfgfile.tmp" "$cfgfile" \
20908    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20909test 0 -eq $? || _lt_function_replace_fail=:
20910
20911
20912  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20913func_lo2o ()\
20914{\
20915\    case ${1} in\
20916\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20917\      *)    func_lo2o_result=${1} ;;\
20918\    esac\
20919} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20920  && mv -f "$cfgfile.tmp" "$cfgfile" \
20921    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20922test 0 -eq $? || _lt_function_replace_fail=:
20923
20924
20925  sed -e '/^func_xform ()$/,/^} # func_xform /c\
20926func_xform ()\
20927{\
20928    func_xform_result=${1%.*}.lo\
20929} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20930  && mv -f "$cfgfile.tmp" "$cfgfile" \
20931    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20932test 0 -eq $? || _lt_function_replace_fail=:
20933
20934
20935  sed -e '/^func_arith ()$/,/^} # func_arith /c\
20936func_arith ()\
20937{\
20938    func_arith_result=$(( $* ))\
20939} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20940  && mv -f "$cfgfile.tmp" "$cfgfile" \
20941    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20942test 0 -eq $? || _lt_function_replace_fail=:
20943
20944
20945  sed -e '/^func_len ()$/,/^} # func_len /c\
20946func_len ()\
20947{\
20948    func_len_result=${#1}\
20949} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20950  && mv -f "$cfgfile.tmp" "$cfgfile" \
20951    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20952test 0 -eq $? || _lt_function_replace_fail=:
20953
20954fi
20955
20956if test x"$lt_shell_append" = xyes; then
20957  sed -e '/^func_append ()$/,/^} # func_append /c\
20958func_append ()\
20959{\
20960    eval "${1}+=\\${2}"\
20961} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20962  && mv -f "$cfgfile.tmp" "$cfgfile" \
20963    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20964test 0 -eq $? || _lt_function_replace_fail=:
20965
20966
20967  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20968func_append_quoted ()\
20969{\
20970\    func_quote_for_eval "${2}"\
20971\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20972} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20973  && mv -f "$cfgfile.tmp" "$cfgfile" \
20974    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20975test 0 -eq $? || _lt_function_replace_fail=:
20976
20977
20978  # Save a `func_append' function call where possible by direct use of '+='
20979  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20980    && mv -f "$cfgfile.tmp" "$cfgfile" \
20981      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20982  test 0 -eq $? || _lt_function_replace_fail=:
20983else
20984  # Save a `func_append' function call even when '+=' is not available
20985  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20986    && mv -f "$cfgfile.tmp" "$cfgfile" \
20987      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20988  test 0 -eq $? || _lt_function_replace_fail=:
20989fi
20990
20991if test x"$_lt_function_replace_fail" = x":"; then
20992  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20993$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20994fi
20995
20996
20997   mv -f "$cfgfile" "$ofile" ||
20998    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20999  chmod +x "$ofile"
21000
21001 ;;
21002
21003  esac
21004done # for ac_tag
21005
21006
21007as_fn_exit 0
21008_ACEOF
21009ac_clean_files=$ac_clean_files_save
21010
21011test $ac_write_fail = 0 ||
21012  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21013
21014
21015# configure is writing to config.log, and then calls config.status.
21016# config.status does its own redirection, appending to config.log.
21017# Unfortunately, on DOS this fails, as config.log is still kept open
21018# by configure, so config.status won't be able to write to it; its
21019# output is simply discarded.  So we exec the FD to /dev/null,
21020# effectively closing config.log, so it can be properly (re)opened and
21021# appended to by config.status.  When coming back to configure, we
21022# need to make the FD available again.
21023if test "$no_create" != yes; then
21024  ac_cs_success=:
21025  ac_config_status_args=
21026  test "$silent" = yes &&
21027    ac_config_status_args="$ac_config_status_args --quiet"
21028  exec 5>/dev/null
21029  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21030  exec 5>>config.log
21031  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21032  # would make configure fail if this is the last instruction.
21033  $ac_cs_success || as_fn_exit 1
21034fi
21035if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21036  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21037$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21038fi
21039
21040