1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization.  ##
11## --------------------- ##
12
13# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16  emulate sh
17  NULLCMD=:
18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19  # is contrary to our usage.  Disable this feature.
20  alias -g '${1+"$@"}'='"$@"'
21  setopt NO_GLOB_SUBST
22else
23  case `(set -o) 2>/dev/null` in
24  *posix*) set -o posix ;;
25esac
26
27fi
28
29
30
31
32# PATH needs CR
33# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40# The user is always right.
41if test "${PATH_SEPARATOR+set}" != set; then
42  echo "#! /bin/sh" >conf$$.sh
43  echo  "exit 0"   >>conf$$.sh
44  chmod +x conf$$.sh
45  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46    PATH_SEPARATOR=';'
47  else
48    PATH_SEPARATOR=:
49  fi
50  rm -f conf$$.sh
51fi
52
53# Support unset when possible.
54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55  as_unset=unset
56else
57  as_unset=false
58fi
59
60
61# IFS
62# We need space, tab and new line, in precisely that order.  Quoting is
63# there to prevent editors from complaining about space-tab.
64# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65# splitting by setting IFS to empty value.)
66as_nl='
67'
68IFS=" ""	$as_nl"
69
70# Find who we are.  Look in the path if we contain no directory separator.
71case $0 in
72  *[\\/]* ) as_myself=$0 ;;
73  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74for as_dir in $PATH
75do
76  IFS=$as_save_IFS
77  test -z "$as_dir" && as_dir=.
78  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79done
80IFS=$as_save_IFS
81
82     ;;
83esac
84# We did not find ourselves, most probably we were run as `sh COMMAND'
85# in which case we are not to be found in the path.
86if test "x$as_myself" = x; then
87  as_myself=$0
88fi
89if test ! -f "$as_myself"; then
90  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91  { (exit 1); exit 1; }
92fi
93
94# Work around bugs in pre-3.0 UWIN ksh.
95for as_var in ENV MAIL MAILPATH
96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97done
98PS1='$ '
99PS2='> '
100PS4='+ '
101
102# NLS nuisances.
103for as_var in \
104  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106  LC_TELEPHONE LC_TIME
107do
108  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109    eval $as_var=C; export $as_var
110  else
111    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112  fi
113done
114
115# Required to use basename.
116if expr a : '\(a\)' >/dev/null 2>&1 &&
117   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118  as_expr=expr
119else
120  as_expr=false
121fi
122
123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124  as_basename=basename
125else
126  as_basename=false
127fi
128
129
130# Name of the executable.
131as_me=`$as_basename -- "$0" ||
132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133	 X"$0" : 'X\(//\)$' \| \
134	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135echo X/"$0" |
136    sed '/^.*\/\([^/][^/]*\)\/*$/{
137	    s//\1/
138	    q
139	  }
140	  /^X\/\(\/\/\)$/{
141	    s//\1/
142	    q
143	  }
144	  /^X\/\(\/\).*/{
145	    s//\1/
146	    q
147	  }
148	  s/.*/./; q'`
149
150# CDPATH.
151$as_unset CDPATH
152
153
154if test "x$CONFIG_SHELL" = x; then
155  if (eval ":") 2>/dev/null; then
156  as_have_required=yes
157else
158  as_have_required=no
159fi
160
161  if test $as_have_required = yes && 	 (eval ":
162(as_func_return () {
163  (exit \$1)
164}
165as_func_success () {
166  as_func_return 0
167}
168as_func_failure () {
169  as_func_return 1
170}
171as_func_ret_success () {
172  return 0
173}
174as_func_ret_failure () {
175  return 1
176}
177
178exitcode=0
179if as_func_success; then
180  :
181else
182  exitcode=1
183  echo as_func_success failed.
184fi
185
186if as_func_failure; then
187  exitcode=1
188  echo as_func_failure succeeded.
189fi
190
191if as_func_ret_success; then
192  :
193else
194  exitcode=1
195  echo as_func_ret_success failed.
196fi
197
198if as_func_ret_failure; then
199  exitcode=1
200  echo as_func_ret_failure succeeded.
201fi
202
203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204  :
205else
206  exitcode=1
207  echo positional parameters were not saved.
208fi
209
210test \$exitcode = 0) || { (exit 1); exit 1; }
211
212(
213  as_lineno_1=\$LINENO
214  as_lineno_2=\$LINENO
215  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217") 2> /dev/null; then
218  :
219else
220  as_candidate_shells=
221    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do
224  IFS=$as_save_IFS
225  test -z "$as_dir" && as_dir=.
226  case $as_dir in
227	 /*)
228	   for as_base in sh bash ksh sh5; do
229	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230	   done;;
231       esac
232done
233IFS=$as_save_IFS
234
235
236      for as_shell in $as_candidate_shells $SHELL; do
237	 # Try only shells that exist, to save several forks.
238	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239		{ ("$as_shell") 2> /dev/null <<\_ASEOF
240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241  emulate sh
242  NULLCMD=:
243  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244  # is contrary to our usage.  Disable this feature.
245  alias -g '${1+"$@"}'='"$@"'
246  setopt NO_GLOB_SUBST
247else
248  case `(set -o) 2>/dev/null` in
249  *posix*) set -o posix ;;
250esac
251
252fi
253
254
255:
256_ASEOF
257}; then
258  CONFIG_SHELL=$as_shell
259	       as_have_required=yes
260	       if { "$as_shell" 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262  emulate sh
263  NULLCMD=:
264  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265  # is contrary to our usage.  Disable this feature.
266  alias -g '${1+"$@"}'='"$@"'
267  setopt NO_GLOB_SUBST
268else
269  case `(set -o) 2>/dev/null` in
270  *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277(as_func_return () {
278  (exit $1)
279}
280as_func_success () {
281  as_func_return 0
282}
283as_func_failure () {
284  as_func_return 1
285}
286as_func_ret_success () {
287  return 0
288}
289as_func_ret_failure () {
290  return 1
291}
292
293exitcode=0
294if as_func_success; then
295  :
296else
297  exitcode=1
298  echo as_func_success failed.
299fi
300
301if as_func_failure; then
302  exitcode=1
303  echo as_func_failure succeeded.
304fi
305
306if as_func_ret_success; then
307  :
308else
309  exitcode=1
310  echo as_func_ret_success failed.
311fi
312
313if as_func_ret_failure; then
314  exitcode=1
315  echo as_func_ret_failure succeeded.
316fi
317
318if ( set x; as_func_ret_success y && test x = "$1" ); then
319  :
320else
321  exitcode=1
322  echo positional parameters were not saved.
323fi
324
325test $exitcode = 0) || { (exit 1); exit 1; }
326
327(
328  as_lineno_1=$LINENO
329  as_lineno_2=$LINENO
330  test "x$as_lineno_1" != "x$as_lineno_2" &&
331  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333_ASEOF
334}; then
335  break
336fi
337
338fi
339
340      done
341
342      if test "x$CONFIG_SHELL" != x; then
343  for as_var in BASH_ENV ENV
344        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345        done
346        export CONFIG_SHELL
347        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348fi
349
350
351    if test $as_have_required = no; then
352  echo This script requires a shell more modern than all the
353      echo shells that I found on your system.  Please install a
354      echo modern shell, or manually run the script under such a
355      echo shell if you do have one.
356      { (exit 1); exit 1; }
357fi
358
359
360fi
361
362fi
363
364
365
366(eval "as_func_return () {
367  (exit \$1)
368}
369as_func_success () {
370  as_func_return 0
371}
372as_func_failure () {
373  as_func_return 1
374}
375as_func_ret_success () {
376  return 0
377}
378as_func_ret_failure () {
379  return 1
380}
381
382exitcode=0
383if as_func_success; then
384  :
385else
386  exitcode=1
387  echo as_func_success failed.
388fi
389
390if as_func_failure; then
391  exitcode=1
392  echo as_func_failure succeeded.
393fi
394
395if as_func_ret_success; then
396  :
397else
398  exitcode=1
399  echo as_func_ret_success failed.
400fi
401
402if as_func_ret_failure; then
403  exitcode=1
404  echo as_func_ret_failure succeeded.
405fi
406
407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408  :
409else
410  exitcode=1
411  echo positional parameters were not saved.
412fi
413
414test \$exitcode = 0") || {
415  echo No shell found that supports shell functions.
416  echo Please tell autoconf@gnu.org about your system,
417  echo including any error possibly output before this
418  echo message
419}
420
421
422
423  as_lineno_1=$LINENO
424  as_lineno_2=$LINENO
425  test "x$as_lineno_1" != "x$as_lineno_2" &&
426  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
428  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429  # uniformly replaced by the line number.  The first 'sed' inserts a
430  # line-number line after each line using $LINENO; the second 'sed'
431  # does the real work.  The second script uses 'N' to pair each
432  # line-number line with the line containing $LINENO, and appends
433  # trailing '-' during substitution so that $LINENO is not a special
434  # case at line end.
435  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437  # E. McMahon (1931-1989) for sed's syntax.  :-)
438  sed -n '
439    p
440    /[$]LINENO/=
441  ' <$as_myself |
442    sed '
443      s/[$]LINENO.*/&-/
444      t lineno
445      b
446      :lineno
447      N
448      :loop
449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450      t loop
451      s/-\n.*//
452    ' >$as_me.lineno &&
453  chmod +x "$as_me.lineno" ||
454    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455   { (exit 1); exit 1; }; }
456
457  # Don't try to exec as it changes $[0], causing all sort of problems
458  # (the dirname of $[0] is not the place where we might find the
459  # original and so on.  Autoconf is especially sensitive to this).
460  . "./$as_me.lineno"
461  # Exit status is that of the last command.
462  exit
463}
464
465
466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467  as_dirname=dirname
468else
469  as_dirname=false
470fi
471
472ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in
474-n*)
475  case `echo 'x\c'` in
476  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
477  *)   ECHO_C='\c';;
478  esac;;
479*)
480  ECHO_N='-n';;
481esac
482
483if expr a : '\(a\)' >/dev/null 2>&1 &&
484   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485  as_expr=expr
486else
487  as_expr=false
488fi
489
490rm -f conf$$ conf$$.exe conf$$.file
491if test -d conf$$.dir; then
492  rm -f conf$$.dir/conf$$.file
493else
494  rm -f conf$$.dir
495  mkdir conf$$.dir
496fi
497echo >conf$$.file
498if ln -s conf$$.file conf$$ 2>/dev/null; then
499  as_ln_s='ln -s'
500  # ... but there are two gotchas:
501  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503  # In both cases, we have to default to `cp -p'.
504  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505    as_ln_s='cp -p'
506elif ln conf$$.file conf$$ 2>/dev/null; then
507  as_ln_s=ln
508else
509  as_ln_s='cp -p'
510fi
511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512rmdir conf$$.dir 2>/dev/null
513
514if mkdir -p . 2>/dev/null; then
515  as_mkdir_p=:
516else
517  test -d ./-p && rmdir ./-p
518  as_mkdir_p=false
519fi
520
521if test -x / >/dev/null 2>&1; then
522  as_test_x='test -x'
523else
524  if ls -dL / >/dev/null 2>&1; then
525    as_ls_L_option=L
526  else
527    as_ls_L_option=
528  fi
529  as_test_x='
530    eval sh -c '\''
531      if test -d "$1"; then
532        test -d "$1/.";
533      else
534	case $1 in
535        -*)set "./$1";;
536	esac;
537	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538	???[sx]*):;;*)false;;esac;fi
539    '\'' sh
540  '
541fi
542as_executable_p=$as_test_x
543
544# Sed expression to map a string onto a valid CPP name.
545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547# Sed expression to map a string onto a valid variable name.
548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552
553# Check that we are running under the correct shell.
554SHELL=${CONFIG_SHELL-/bin/sh}
555
556case X$ECHO in
557X*--fallback-echo)
558  # Remove one level of quotation (which was required for Make).
559  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
560  ;;
561esac
562
563echo=${ECHO-echo}
564if test "X$1" = X--no-reexec; then
565  # Discard the --no-reexec flag, and continue.
566  shift
567elif test "X$1" = X--fallback-echo; then
568  # Avoid inline document here, it may be left over
569  :
570elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571  # Yippee, $echo works!
572  :
573else
574  # Restart under the correct shell.
575  exec $SHELL "$0" --no-reexec ${1+"$@"}
576fi
577
578if test "X$1" = X--fallback-echo; then
579  # used as fallback echo
580  shift
581  cat <<EOF
582$*
583EOF
584  exit 0
585fi
586
587# The HP-UX ksh and POSIX shell print the target directory to stdout
588# if CDPATH is set.
589(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
591if test -z "$ECHO"; then
592if test "X${echo_test_string+set}" != Xset; then
593# find a string as large as possible, as long as the shell can cope with it
594  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597       echo_test_string=`eval $cmd` &&
598       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599    then
600      break
601    fi
602  done
603fi
604
605if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607   test "X$echo_testing_string" = "X$echo_test_string"; then
608  :
609else
610  # The Solaris, AIX, and Digital Unix default echo programs unquote
611  # backslashes.  This makes it impossible to quote backslashes using
612  #   echo "$something" | sed 's/\\/\\\\/g'
613  #
614  # So, first we look for a working echo in the user's PATH.
615
616  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617  for dir in $PATH /usr/ucb; do
618    IFS="$lt_save_ifs"
619    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622       test "X$echo_testing_string" = "X$echo_test_string"; then
623      echo="$dir/echo"
624      break
625    fi
626  done
627  IFS="$lt_save_ifs"
628
629  if test "X$echo" = Xecho; then
630    # We didn't find a better echo, so look for alternatives.
631    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633       test "X$echo_testing_string" = "X$echo_test_string"; then
634      # This shell has a builtin print -r that does the trick.
635      echo='print -r'
636    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637	 test "X$CONFIG_SHELL" != X/bin/ksh; then
638      # If we have ksh, try running configure again with it.
639      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640      export ORIGINAL_CONFIG_SHELL
641      CONFIG_SHELL=/bin/ksh
642      export CONFIG_SHELL
643      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644    else
645      # Try using printf.
646      echo='printf %s\n'
647      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649	 test "X$echo_testing_string" = "X$echo_test_string"; then
650	# Cool, printf works
651	:
652      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653	   test "X$echo_testing_string" = 'X\t' &&
654	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655	   test "X$echo_testing_string" = "X$echo_test_string"; then
656	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657	export CONFIG_SHELL
658	SHELL="$CONFIG_SHELL"
659	export SHELL
660	echo="$CONFIG_SHELL $0 --fallback-echo"
661      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662	   test "X$echo_testing_string" = 'X\t' &&
663	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664	   test "X$echo_testing_string" = "X$echo_test_string"; then
665	echo="$CONFIG_SHELL $0 --fallback-echo"
666      else
667	# maybe with a smaller string...
668	prev=:
669
670	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672	  then
673	    break
674	  fi
675	  prev="$cmd"
676	done
677
678	if test "$prev" != 'sed 50q "$0"'; then
679	  echo_test_string=`eval $prev`
680	  export echo_test_string
681	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682	else
683	  # Oops.  We lost completely, so just stick with echo.
684	  echo=echo
685	fi
686      fi
687    fi
688  fi
689fi
690fi
691
692# Copy echo and quote the copy suitably for passing to libtool from
693# the Makefile, instead of quoting the original, which is used later.
694ECHO=$echo
695if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697fi
698
699
700
701
702tagnames=${tagnames+${tagnames},}CXX
703
704tagnames=${tagnames+${tagnames},}F77
705
706exec 7<&0 </dev/null 6>&1
707
708# Name of the host.
709# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710# so uname gets run too.
711ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
712
713#
714# Initializations.
715#
716ac_default_prefix=/usr/local
717ac_clean_files=
718ac_config_libobj_dir=.
719LIBOBJS=
720cross_compiling=no
721subdirs=
722MFLAGS=
723MAKEFLAGS=
724SHELL=${CONFIG_SHELL-/bin/sh}
725
726# Identity of this package.
727PACKAGE_NAME=
728PACKAGE_TARNAME=
729PACKAGE_VERSION=
730PACKAGE_STRING=
731PACKAGE_BUGREPORT=
732
733ac_unique_file="entities.c"
734# Factoring default headers for most tests.
735ac_includes_default="\
736#include <stdio.h>
737#ifdef HAVE_SYS_TYPES_H
738# include <sys/types.h>
739#endif
740#ifdef HAVE_SYS_STAT_H
741# include <sys/stat.h>
742#endif
743#ifdef STDC_HEADERS
744# include <stdlib.h>
745# include <stddef.h>
746#else
747# ifdef HAVE_STDLIB_H
748#  include <stdlib.h>
749# endif
750#endif
751#ifdef HAVE_STRING_H
752# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
753#  include <memory.h>
754# endif
755# include <string.h>
756#endif
757#ifdef HAVE_STRINGS_H
758# include <strings.h>
759#endif
760#ifdef HAVE_INTTYPES_H
761# include <inttypes.h>
762#endif
763#ifdef HAVE_STDINT_H
764# include <stdint.h>
765#endif
766#ifdef HAVE_UNISTD_H
767# include <unistd.h>
768#endif"
769
770ac_subst_vars='SHELL
771PATH_SEPARATOR
772PACKAGE_NAME
773PACKAGE_TARNAME
774PACKAGE_VERSION
775PACKAGE_STRING
776PACKAGE_BUGREPORT
777exec_prefix
778prefix
779program_transform_name
780bindir
781sbindir
782libexecdir
783datarootdir
784datadir
785sysconfdir
786sharedstatedir
787localstatedir
788includedir
789oldincludedir
790docdir
791infodir
792htmldir
793dvidir
794pdfdir
795psdir
796libdir
797localedir
798mandir
799DEFS
800ECHO_C
801ECHO_N
802ECHO_T
803LIBS
804build_alias
805host_alias
806target_alias
807build
808build_cpu
809build_vendor
810build_os
811host
812host_cpu
813host_vendor
814host_os
815LIBXML_MAJOR_VERSION
816LIBXML_MINOR_VERSION
817LIBXML_MICRO_VERSION
818LIBXML_VERSION
819LIBXML_VERSION_INFO
820LIBXML_VERSION_NUMBER
821LIBXML_VERSION_EXTRA
822INSTALL_PROGRAM
823INSTALL_SCRIPT
824INSTALL_DATA
825am__isrc
826CYGPATH_W
827PACKAGE
828VERSION
829ACLOCAL
830AUTOCONF
831AUTOMAKE
832AUTOHEADER
833MAKEINFO
834install_sh
835STRIP
836INSTALL_STRIP_PROGRAM
837mkdir_p
838AWK
839SET_MAKE
840am__leading_dot
841AMTAR
842am__tar
843am__untar
844CC
845CFLAGS
846LDFLAGS
847CPPFLAGS
848ac_ct_CC
849EXEEXT
850OBJEXT
851DEPDIR
852am__include
853am__quote
854AMDEP_TRUE
855AMDEP_FALSE
856AMDEPBACKSLASH
857CCDEPMODE
858am__fastdepCC_TRUE
859am__fastdepCC_FALSE
860CPP
861RM
862MV
863TAR
864PERL
865WGET
866XMLLINT
867XSLTPROC
868GREP
869EGREP
870U
871ANSI2KNR
872SED
873LN_S
874ECHO
875AR
876RANLIB
877DLLTOOL
878AS
879OBJDUMP
880CXX
881CXXFLAGS
882ac_ct_CXX
883CXXDEPMODE
884am__fastdepCXX_TRUE
885am__fastdepCXX_FALSE
886CXXCPP
887F77
888FFLAGS
889ac_ct_F77
890LIBTOOL
891HTML_DIR
892Z_CFLAGS
893Z_LIBS
894WITH_ZLIB
895PYTHON
896WITH_PYTHON_TRUE
897WITH_PYTHON_FALSE
898pythondir
899PYTHON_SUBDIR
900WITH_MODULES
901MODULE_PLATFORM_LIBS
902MODULE_EXTENSION
903TEST_MODULES
904STATIC_BINARIES
905WITH_TRIO_SOURCES_TRUE
906WITH_TRIO_SOURCES_FALSE
907WITH_TRIO
908THREAD_LIBS
909BASE_THREAD_LIBS
910WITH_THREADS
911THREAD_CFLAGS
912TEST_THREADS
913THREADS_W32
914WITH_TREE
915WITH_FTP
916FTP_OBJ
917WITH_HTTP
918HTTP_OBJ
919WITH_LEGACY
920WITH_READER
921READER_TEST
922WITH_WRITER
923WITH_PATTERN
924TEST_PATTERN
925WITH_SAX1
926TEST_SAX
927WITH_PUSH
928TEST_PUSH
929WITH_HTML
930HTML_OBJ
931TEST_HTML
932TEST_PHTML
933WITH_VALID
934TEST_VALID
935TEST_VTIME
936WITH_CATALOG
937CATALOG_OBJ
938TEST_CATALOG
939WITH_DOCB
940DOCB_OBJ
941WITH_XPTR
942XPTR_OBJ
943TEST_XPTR
944WITH_C14N
945C14N_OBJ
946TEST_C14N
947WITH_XINCLUDE
948XINCLUDE_OBJ
949TEST_XINCLUDE
950WITH_XPATH
951XPATH_OBJ
952TEST_XPATH
953WITH_OUTPUT
954WITH_ICONV
955WITH_ISO8859X
956WITH_SCHEMATRON
957TEST_SCHEMATRON
958WITH_SCHEMAS
959TEST_SCHEMAS
960WITH_REGEXPS
961TEST_REGEXPS
962WITH_DEBUG
963DEBUG_OBJ
964TEST_DEBUG
965WITH_MEM_DEBUG
966WITH_RUN_DEBUG
967WIN32_EXTRA_LIBADD
968WIN32_EXTRA_LDFLAGS
969CYGWIN_EXTRA_LDFLAGS
970CYGWIN_EXTRA_PYTHON_LIBADD
971XML_CFLAGS
972XML_LIBDIR
973XML_LIBS
974XML_LIBTOOLLIBS
975ICONV_LIBS
976XML_INCLUDEDIR
977HAVE_ISNAN
978HAVE_ISINF
979PYTHON_VERSION
980PYTHON_INCLUDES
981PYTHON_SITE_PACKAGES
982M_LIBS
983RDL_LIBS
984RELDATE
985PYTHON_TESTS
986LIBOBJS
987LTLIBOBJS'
988ac_subst_files=''
989      ac_precious_vars='build_alias
990host_alias
991target_alias
992CC
993CFLAGS
994LDFLAGS
995LIBS
996CPPFLAGS
997CPP
998CXX
999CXXFLAGS
1000CCC
1001CXXCPP
1002F77
1003FFLAGS'
1004
1005
1006# Initialize some variables set by options.
1007ac_init_help=
1008ac_init_version=false
1009# The variables have the same names as the options, with
1010# dashes changed to underlines.
1011cache_file=/dev/null
1012exec_prefix=NONE
1013no_create=
1014no_recursion=
1015prefix=NONE
1016program_prefix=NONE
1017program_suffix=NONE
1018program_transform_name=s,x,x,
1019silent=
1020site=
1021srcdir=
1022verbose=
1023x_includes=NONE
1024x_libraries=NONE
1025
1026# Installation directory options.
1027# These are left unexpanded so users can "make install exec_prefix=/foo"
1028# and all the variables that are supposed to be based on exec_prefix
1029# by default will actually change.
1030# Use braces instead of parens because sh, perl, etc. also accept them.
1031# (The list follows the same order as the GNU Coding Standards.)
1032bindir='${exec_prefix}/bin'
1033sbindir='${exec_prefix}/sbin'
1034libexecdir='${exec_prefix}/libexec'
1035datarootdir='${prefix}/share'
1036datadir='${datarootdir}'
1037sysconfdir='${prefix}/etc'
1038sharedstatedir='${prefix}/com'
1039localstatedir='${prefix}/var'
1040includedir='${prefix}/include'
1041oldincludedir='/usr/include'
1042docdir='${datarootdir}/doc/${PACKAGE}'
1043infodir='${datarootdir}/info'
1044htmldir='${docdir}'
1045dvidir='${docdir}'
1046pdfdir='${docdir}'
1047psdir='${docdir}'
1048libdir='${exec_prefix}/lib'
1049localedir='${datarootdir}/locale'
1050mandir='${datarootdir}/man'
1051
1052ac_prev=
1053ac_dashdash=
1054for ac_option
1055do
1056  # If the previous option needs an argument, assign it.
1057  if test -n "$ac_prev"; then
1058    eval $ac_prev=\$ac_option
1059    ac_prev=
1060    continue
1061  fi
1062
1063  case $ac_option in
1064  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1065  *)	ac_optarg=yes ;;
1066  esac
1067
1068  # Accept the important Cygnus configure options, so we can diagnose typos.
1069
1070  case $ac_dashdash$ac_option in
1071  --)
1072    ac_dashdash=yes ;;
1073
1074  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1075    ac_prev=bindir ;;
1076  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1077    bindir=$ac_optarg ;;
1078
1079  -build | --build | --buil | --bui | --bu)
1080    ac_prev=build_alias ;;
1081  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1082    build_alias=$ac_optarg ;;
1083
1084  -cache-file | --cache-file | --cache-fil | --cache-fi \
1085  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1086    ac_prev=cache_file ;;
1087  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1088  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1089    cache_file=$ac_optarg ;;
1090
1091  --config-cache | -C)
1092    cache_file=config.cache ;;
1093
1094  -datadir | --datadir | --datadi | --datad)
1095    ac_prev=datadir ;;
1096  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1097    datadir=$ac_optarg ;;
1098
1099  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1100  | --dataroo | --dataro | --datar)
1101    ac_prev=datarootdir ;;
1102  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1103  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1104    datarootdir=$ac_optarg ;;
1105
1106  -disable-* | --disable-*)
1107    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1108    # Reject names that are not valid shell variable names.
1109    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1110      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1111   { (exit 1); exit 1; }; }
1112    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1113    eval enable_$ac_feature=no ;;
1114
1115  -docdir | --docdir | --docdi | --doc | --do)
1116    ac_prev=docdir ;;
1117  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1118    docdir=$ac_optarg ;;
1119
1120  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1121    ac_prev=dvidir ;;
1122  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1123    dvidir=$ac_optarg ;;
1124
1125  -enable-* | --enable-*)
1126    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1127    # Reject names that are not valid shell variable names.
1128    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1130   { (exit 1); exit 1; }; }
1131    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1132    eval enable_$ac_feature=\$ac_optarg ;;
1133
1134  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1135  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1136  | --exec | --exe | --ex)
1137    ac_prev=exec_prefix ;;
1138  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1139  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1140  | --exec=* | --exe=* | --ex=*)
1141    exec_prefix=$ac_optarg ;;
1142
1143  -gas | --gas | --ga | --g)
1144    # Obsolete; use --with-gas.
1145    with_gas=yes ;;
1146
1147  -help | --help | --hel | --he | -h)
1148    ac_init_help=long ;;
1149  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1150    ac_init_help=recursive ;;
1151  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1152    ac_init_help=short ;;
1153
1154  -host | --host | --hos | --ho)
1155    ac_prev=host_alias ;;
1156  -host=* | --host=* | --hos=* | --ho=*)
1157    host_alias=$ac_optarg ;;
1158
1159  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1160    ac_prev=htmldir ;;
1161  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1162  | --ht=*)
1163    htmldir=$ac_optarg ;;
1164
1165  -includedir | --includedir | --includedi | --included | --include \
1166  | --includ | --inclu | --incl | --inc)
1167    ac_prev=includedir ;;
1168  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1169  | --includ=* | --inclu=* | --incl=* | --inc=*)
1170    includedir=$ac_optarg ;;
1171
1172  -infodir | --infodir | --infodi | --infod | --info | --inf)
1173    ac_prev=infodir ;;
1174  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1175    infodir=$ac_optarg ;;
1176
1177  -libdir | --libdir | --libdi | --libd)
1178    ac_prev=libdir ;;
1179  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1180    libdir=$ac_optarg ;;
1181
1182  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1183  | --libexe | --libex | --libe)
1184    ac_prev=libexecdir ;;
1185  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1186  | --libexe=* | --libex=* | --libe=*)
1187    libexecdir=$ac_optarg ;;
1188
1189  -localedir | --localedir | --localedi | --localed | --locale)
1190    ac_prev=localedir ;;
1191  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1192    localedir=$ac_optarg ;;
1193
1194  -localstatedir | --localstatedir | --localstatedi | --localstated \
1195  | --localstate | --localstat | --localsta | --localst | --locals)
1196    ac_prev=localstatedir ;;
1197  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1198  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1199    localstatedir=$ac_optarg ;;
1200
1201  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1202    ac_prev=mandir ;;
1203  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1204    mandir=$ac_optarg ;;
1205
1206  -nfp | --nfp | --nf)
1207    # Obsolete; use --without-fp.
1208    with_fp=no ;;
1209
1210  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1211  | --no-cr | --no-c | -n)
1212    no_create=yes ;;
1213
1214  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1215  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1216    no_recursion=yes ;;
1217
1218  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1219  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1220  | --oldin | --oldi | --old | --ol | --o)
1221    ac_prev=oldincludedir ;;
1222  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1223  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1224  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1225    oldincludedir=$ac_optarg ;;
1226
1227  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1228    ac_prev=prefix ;;
1229  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1230    prefix=$ac_optarg ;;
1231
1232  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1233  | --program-pre | --program-pr | --program-p)
1234    ac_prev=program_prefix ;;
1235  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1236  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1237    program_prefix=$ac_optarg ;;
1238
1239  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1240  | --program-suf | --program-su | --program-s)
1241    ac_prev=program_suffix ;;
1242  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1243  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1244    program_suffix=$ac_optarg ;;
1245
1246  -program-transform-name | --program-transform-name \
1247  | --program-transform-nam | --program-transform-na \
1248  | --program-transform-n | --program-transform- \
1249  | --program-transform | --program-transfor \
1250  | --program-transfo | --program-transf \
1251  | --program-trans | --program-tran \
1252  | --progr-tra | --program-tr | --program-t)
1253    ac_prev=program_transform_name ;;
1254  -program-transform-name=* | --program-transform-name=* \
1255  | --program-transform-nam=* | --program-transform-na=* \
1256  | --program-transform-n=* | --program-transform-=* \
1257  | --program-transform=* | --program-transfor=* \
1258  | --program-transfo=* | --program-transf=* \
1259  | --program-trans=* | --program-tran=* \
1260  | --progr-tra=* | --program-tr=* | --program-t=*)
1261    program_transform_name=$ac_optarg ;;
1262
1263  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1264    ac_prev=pdfdir ;;
1265  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1266    pdfdir=$ac_optarg ;;
1267
1268  -psdir | --psdir | --psdi | --psd | --ps)
1269    ac_prev=psdir ;;
1270  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1271    psdir=$ac_optarg ;;
1272
1273  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274  | -silent | --silent | --silen | --sile | --sil)
1275    silent=yes ;;
1276
1277  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1278    ac_prev=sbindir ;;
1279  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1280  | --sbi=* | --sb=*)
1281    sbindir=$ac_optarg ;;
1282
1283  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1284  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1285  | --sharedst | --shareds | --shared | --share | --shar \
1286  | --sha | --sh)
1287    ac_prev=sharedstatedir ;;
1288  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1289  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1290  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1291  | --sha=* | --sh=*)
1292    sharedstatedir=$ac_optarg ;;
1293
1294  -site | --site | --sit)
1295    ac_prev=site ;;
1296  -site=* | --site=* | --sit=*)
1297    site=$ac_optarg ;;
1298
1299  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1300    ac_prev=srcdir ;;
1301  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1302    srcdir=$ac_optarg ;;
1303
1304  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1305  | --syscon | --sysco | --sysc | --sys | --sy)
1306    ac_prev=sysconfdir ;;
1307  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1308  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1309    sysconfdir=$ac_optarg ;;
1310
1311  -target | --target | --targe | --targ | --tar | --ta | --t)
1312    ac_prev=target_alias ;;
1313  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1314    target_alias=$ac_optarg ;;
1315
1316  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1317    verbose=yes ;;
1318
1319  -version | --version | --versio | --versi | --vers | -V)
1320    ac_init_version=: ;;
1321
1322  -with-* | --with-*)
1323    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1324    # Reject names that are not valid shell variable names.
1325    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1326      { echo "$as_me: error: invalid package name: $ac_package" >&2
1327   { (exit 1); exit 1; }; }
1328    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1329    eval with_$ac_package=\$ac_optarg ;;
1330
1331  -without-* | --without-*)
1332    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1333    # Reject names that are not valid shell variable names.
1334    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1335      { echo "$as_me: error: invalid package name: $ac_package" >&2
1336   { (exit 1); exit 1; }; }
1337    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1338    eval with_$ac_package=no ;;
1339
1340  --x)
1341    # Obsolete; use --with-x.
1342    with_x=yes ;;
1343
1344  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1345  | --x-incl | --x-inc | --x-in | --x-i)
1346    ac_prev=x_includes ;;
1347  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1348  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1349    x_includes=$ac_optarg ;;
1350
1351  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1352  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1353    ac_prev=x_libraries ;;
1354  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1355  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1356    x_libraries=$ac_optarg ;;
1357
1358  -*) { echo "$as_me: error: unrecognized option: $ac_option
1359Try \`$0 --help' for more information." >&2
1360   { (exit 1); exit 1; }; }
1361    ;;
1362
1363  *=*)
1364    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1365    # Reject names that are not valid shell variable names.
1366    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1367      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1368   { (exit 1); exit 1; }; }
1369    eval $ac_envvar=\$ac_optarg
1370    export $ac_envvar ;;
1371
1372  *)
1373    # FIXME: should be removed in autoconf 3.0.
1374    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1375    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1376      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1377    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1378    ;;
1379
1380  esac
1381done
1382
1383if test -n "$ac_prev"; then
1384  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1385  { echo "$as_me: error: missing argument to $ac_option" >&2
1386   { (exit 1); exit 1; }; }
1387fi
1388
1389# Be sure to have absolute directory names.
1390for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1391		datadir sysconfdir sharedstatedir localstatedir includedir \
1392		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1393		libdir localedir mandir
1394do
1395  eval ac_val=\$$ac_var
1396  case $ac_val in
1397    [\\/$]* | ?:[\\/]* )  continue;;
1398    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1399  esac
1400  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1401   { (exit 1); exit 1; }; }
1402done
1403
1404# There might be people who depend on the old broken behavior: `$host'
1405# used to hold the argument of --host etc.
1406# FIXME: To remove some day.
1407build=$build_alias
1408host=$host_alias
1409target=$target_alias
1410
1411# FIXME: To remove some day.
1412if test "x$host_alias" != x; then
1413  if test "x$build_alias" = x; then
1414    cross_compiling=maybe
1415    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1416    If a cross compiler is detected then cross compile mode will be used." >&2
1417  elif test "x$build_alias" != "x$host_alias"; then
1418    cross_compiling=yes
1419  fi
1420fi
1421
1422ac_tool_prefix=
1423test -n "$host_alias" && ac_tool_prefix=$host_alias-
1424
1425test "$silent" = yes && exec 6>/dev/null
1426
1427
1428ac_pwd=`pwd` && test -n "$ac_pwd" &&
1429ac_ls_di=`ls -di .` &&
1430ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1431  { echo "$as_me: error: Working directory cannot be determined" >&2
1432   { (exit 1); exit 1; }; }
1433test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1434  { echo "$as_me: error: pwd does not report name of working directory" >&2
1435   { (exit 1); exit 1; }; }
1436
1437
1438# Find the source files, if location was not specified.
1439if test -z "$srcdir"; then
1440  ac_srcdir_defaulted=yes
1441  # Try the directory containing this script, then the parent directory.
1442  ac_confdir=`$as_dirname -- "$0" ||
1443$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1444	 X"$0" : 'X\(//\)[^/]' \| \
1445	 X"$0" : 'X\(//\)$' \| \
1446	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1447echo X"$0" |
1448    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1449	    s//\1/
1450	    q
1451	  }
1452	  /^X\(\/\/\)[^/].*/{
1453	    s//\1/
1454	    q
1455	  }
1456	  /^X\(\/\/\)$/{
1457	    s//\1/
1458	    q
1459	  }
1460	  /^X\(\/\).*/{
1461	    s//\1/
1462	    q
1463	  }
1464	  s/.*/./; q'`
1465  srcdir=$ac_confdir
1466  if test ! -r "$srcdir/$ac_unique_file"; then
1467    srcdir=..
1468  fi
1469else
1470  ac_srcdir_defaulted=no
1471fi
1472if test ! -r "$srcdir/$ac_unique_file"; then
1473  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1474  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1475   { (exit 1); exit 1; }; }
1476fi
1477ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1478ac_abs_confdir=`(
1479	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1480   { (exit 1); exit 1; }; }
1481	pwd)`
1482# When building in place, set srcdir=.
1483if test "$ac_abs_confdir" = "$ac_pwd"; then
1484  srcdir=.
1485fi
1486# Remove unnecessary trailing slashes from srcdir.
1487# Double slashes in file names in object file debugging info
1488# mess up M-x gdb in Emacs.
1489case $srcdir in
1490*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1491esac
1492for ac_var in $ac_precious_vars; do
1493  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1494  eval ac_env_${ac_var}_value=\$${ac_var}
1495  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1496  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1497done
1498
1499#
1500# Report the --help message.
1501#
1502if test "$ac_init_help" = "long"; then
1503  # Omit some internal or obsolete options to make the list less imposing.
1504  # This message is too long to be a string in the A/UX 3.1 sh.
1505  cat <<_ACEOF
1506\`configure' configures this package to adapt to many kinds of systems.
1507
1508Usage: $0 [OPTION]... [VAR=VALUE]...
1509
1510To assign environment variables (e.g., CC, CFLAGS...), specify them as
1511VAR=VALUE.  See below for descriptions of some of the useful variables.
1512
1513Defaults for the options are specified in brackets.
1514
1515Configuration:
1516  -h, --help              display this help and exit
1517      --help=short        display options specific to this package
1518      --help=recursive    display the short help of all the included packages
1519  -V, --version           display version information and exit
1520  -q, --quiet, --silent   do not print \`checking...' messages
1521      --cache-file=FILE   cache test results in FILE [disabled]
1522  -C, --config-cache      alias for \`--cache-file=config.cache'
1523  -n, --no-create         do not create output files
1524      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1525
1526Installation directories:
1527  --prefix=PREFIX         install architecture-independent files in PREFIX
1528			  [$ac_default_prefix]
1529  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1530			  [PREFIX]
1531
1532By default, \`make install' will install all the files in
1533\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1534an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1535for instance \`--prefix=\$HOME'.
1536
1537For better control, use the options below.
1538
1539Fine tuning of the installation directories:
1540  --bindir=DIR           user executables [EPREFIX/bin]
1541  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1542  --libexecdir=DIR       program executables [EPREFIX/libexec]
1543  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1544  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1545  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1546  --libdir=DIR           object code libraries [EPREFIX/lib]
1547  --includedir=DIR       C header files [PREFIX/include]
1548  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1549  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1550  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1551  --infodir=DIR          info documentation [DATAROOTDIR/info]
1552  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1553  --mandir=DIR           man documentation [DATAROOTDIR/man]
1554  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1555  --htmldir=DIR          html documentation [DOCDIR]
1556  --dvidir=DIR           dvi documentation [DOCDIR]
1557  --pdfdir=DIR           pdf documentation [DOCDIR]
1558  --psdir=DIR            ps documentation [DOCDIR]
1559_ACEOF
1560
1561  cat <<\_ACEOF
1562
1563Program names:
1564  --program-prefix=PREFIX            prepend PREFIX to installed program names
1565  --program-suffix=SUFFIX            append SUFFIX to installed program names
1566  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1567
1568System types:
1569  --build=BUILD     configure for building on BUILD [guessed]
1570  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1571_ACEOF
1572fi
1573
1574if test -n "$ac_init_help"; then
1575
1576  cat <<\_ACEOF
1577
1578Optional Features:
1579  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1580  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1581  --disable-dependency-tracking  speeds up one-time build
1582  --enable-dependency-tracking   do not reject slow dependency extractors
1583  --enable-shared[=PKGS]  build shared libraries [default=yes]
1584  --enable-static[=PKGS]  build static libraries [default=yes]
1585  --enable-fast-install[=PKGS]
1586                          optimize for fast installation [default=yes]
1587  --disable-libtool-lock  avoid locking (might break parallel builds)
1588  --enable-ipv6[=yes/no]  enables compilation of IPv6 code [default=yes]
1589
1590Optional Packages:
1591  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1592  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1593  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1594  --with-pic              try to use only PIC/non-PIC objects [default=use
1595                          both]
1596  --with-tags[=TAGS]      include additional configurations [automatic]
1597  --with-c14n             add the Canonicalization support (on)
1598  --with-catalog          add the Catalog support (on)
1599  --with-debug            add the debugging module (on)
1600  --with-docbook          add Docbook SGML support (on)
1601  --with-fexceptions      add GCC flag -fexceptions for C++ exceptions (off)
1602  --with-ftp              add the FTP support (on)
1603  --with-history          add history support to xmllint shell(off)
1604  --with-html             add the HTML support (on)
1605  --with-html-dir=path    path to base html directory, default
1606                          $datadir/doc/html
1607  --with-html-subdir=path directory used under html-dir, default
1608                          $PACKAGE-$VERSION/html
1609  --with-http             add the HTTP support (on)
1610  --with-iconv[=DIR]      add ICONV support (on)
1611  --with-iso8859x         add ISO8859X support if no iconv (on)
1612  --with-legacy           add deprecated APIs for compatibility (on)
1613  --with-mem-debug        add the memory debugging module (off)
1614  --with-minimum          build a minimally sized library (off)
1615  --with-output           add the serialization support (on)
1616  --with-pattern          add the xmlPattern selection interface (on)
1617  --with-push             add the PUSH parser interfaces (on)
1618  --with-python[=DIR]     build Python bindings if found
1619  --with-reader           add the xmlReader parsing interface (on)
1620  --with-readline=DIR     use readline in DIR
1621  --with-regexps          add Regular Expressions support (on)
1622  --with-run-debug        add the runtime debugging module (off)
1623  --with-sax1             add the older SAX1 interface (on)
1624  --with-schemas          add Relax-NG and Schemas support (on)
1625  --with-schematron       add Schematron support (on)
1626  --with-threads          add multithread support(on)
1627  --with-thread-alloc     add per-thread memory(off)
1628  --with-tree             add the DOM like tree manipulation APIs (on)
1629  --with-valid            add the DTD validation support (on)
1630  --with-writer           add the xmlWriter saving interface (on)
1631  --with-xinclude         add the XInclude support (on)
1632  --with-xpath            add the XPATH support (on)
1633  --with-xptr             add the XPointer support (on)
1634  --with-modules          add the dynamic modules support (on)
1635  --with-zlib[=DIR]       use libz in DIR
1636  --with-coverage         build for code coverage with GCC (off)
1637
1638Some influential environment variables:
1639  CC          C compiler command
1640  CFLAGS      C compiler flags
1641  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1642              nonstandard directory <lib dir>
1643  LIBS        libraries to pass to the linker, e.g. -l<library>
1644  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1645              you have headers in a nonstandard directory <include dir>
1646  CPP         C preprocessor
1647  CXX         C++ compiler command
1648  CXXFLAGS    C++ compiler flags
1649  CXXCPP      C++ preprocessor
1650  F77         Fortran 77 compiler command
1651  FFLAGS      Fortran 77 compiler flags
1652
1653Use these variables to override the choices made by `configure' or to help
1654it to find libraries and programs with nonstandard names/locations.
1655
1656_ACEOF
1657ac_status=$?
1658fi
1659
1660if test "$ac_init_help" = "recursive"; then
1661  # If there are subdirs, report their specific --help.
1662  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1663    test -d "$ac_dir" || continue
1664    ac_builddir=.
1665
1666case "$ac_dir" in
1667.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1668*)
1669  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1670  # A ".." for each directory in $ac_dir_suffix.
1671  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1672  case $ac_top_builddir_sub in
1673  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1674  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1675  esac ;;
1676esac
1677ac_abs_top_builddir=$ac_pwd
1678ac_abs_builddir=$ac_pwd$ac_dir_suffix
1679# for backward compatibility:
1680ac_top_builddir=$ac_top_build_prefix
1681
1682case $srcdir in
1683  .)  # We are building in place.
1684    ac_srcdir=.
1685    ac_top_srcdir=$ac_top_builddir_sub
1686    ac_abs_top_srcdir=$ac_pwd ;;
1687  [\\/]* | ?:[\\/]* )  # Absolute name.
1688    ac_srcdir=$srcdir$ac_dir_suffix;
1689    ac_top_srcdir=$srcdir
1690    ac_abs_top_srcdir=$srcdir ;;
1691  *) # Relative name.
1692    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1693    ac_top_srcdir=$ac_top_build_prefix$srcdir
1694    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1695esac
1696ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1697
1698    cd "$ac_dir" || { ac_status=$?; continue; }
1699    # Check for guested configure.
1700    if test -f "$ac_srcdir/configure.gnu"; then
1701      echo &&
1702      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1703    elif test -f "$ac_srcdir/configure"; then
1704      echo &&
1705      $SHELL "$ac_srcdir/configure" --help=recursive
1706    else
1707      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1708    fi || ac_status=$?
1709    cd "$ac_pwd" || { ac_status=$?; break; }
1710  done
1711fi
1712
1713test -n "$ac_init_help" && exit $ac_status
1714if $ac_init_version; then
1715  cat <<\_ACEOF
1716configure
1717generated by GNU Autoconf 2.61
1718
1719Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
17202002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1721This configure script is free software; the Free Software Foundation
1722gives unlimited permission to copy, distribute and modify it.
1723_ACEOF
1724  exit
1725fi
1726cat >config.log <<_ACEOF
1727This file contains any messages produced by compilers while
1728running configure, to aid debugging if configure makes a mistake.
1729
1730It was created by $as_me, which was
1731generated by GNU Autoconf 2.61.  Invocation command line was
1732
1733  $ $0 $@
1734
1735_ACEOF
1736exec 5>>config.log
1737{
1738cat <<_ASUNAME
1739## --------- ##
1740## Platform. ##
1741## --------- ##
1742
1743hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1744uname -m = `(uname -m) 2>/dev/null || echo unknown`
1745uname -r = `(uname -r) 2>/dev/null || echo unknown`
1746uname -s = `(uname -s) 2>/dev/null || echo unknown`
1747uname -v = `(uname -v) 2>/dev/null || echo unknown`
1748
1749/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1750/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1751
1752/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1753/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1754/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1755/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1756/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1757/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1758/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1759
1760_ASUNAME
1761
1762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1763for as_dir in $PATH
1764do
1765  IFS=$as_save_IFS
1766  test -z "$as_dir" && as_dir=.
1767  echo "PATH: $as_dir"
1768done
1769IFS=$as_save_IFS
1770
1771} >&5
1772
1773cat >&5 <<_ACEOF
1774
1775
1776## ----------- ##
1777## Core tests. ##
1778## ----------- ##
1779
1780_ACEOF
1781
1782
1783# Keep a trace of the command line.
1784# Strip out --no-create and --no-recursion so they do not pile up.
1785# Strip out --silent because we don't want to record it for future runs.
1786# Also quote any args containing shell meta-characters.
1787# Make two passes to allow for proper duplicate-argument suppression.
1788ac_configure_args=
1789ac_configure_args0=
1790ac_configure_args1=
1791ac_must_keep_next=false
1792for ac_pass in 1 2
1793do
1794  for ac_arg
1795  do
1796    case $ac_arg in
1797    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1798    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1799    | -silent | --silent | --silen | --sile | --sil)
1800      continue ;;
1801    *\'*)
1802      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1803    esac
1804    case $ac_pass in
1805    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1806    2)
1807      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1808      if test $ac_must_keep_next = true; then
1809	ac_must_keep_next=false # Got value, back to normal.
1810      else
1811	case $ac_arg in
1812	  *=* | --config-cache | -C | -disable-* | --disable-* \
1813	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1814	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1815	  | -with-* | --with-* | -without-* | --without-* | --x)
1816	    case "$ac_configure_args0 " in
1817	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1818	    esac
1819	    ;;
1820	  -* ) ac_must_keep_next=true ;;
1821	esac
1822      fi
1823      ac_configure_args="$ac_configure_args '$ac_arg'"
1824      ;;
1825    esac
1826  done
1827done
1828$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1829$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1830
1831# When interrupted or exit'd, cleanup temporary files, and complete
1832# config.log.  We remove comments because anyway the quotes in there
1833# would cause problems or look ugly.
1834# WARNING: Use '\'' to represent an apostrophe within the trap.
1835# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1836trap 'exit_status=$?
1837  # Save into config.log some information that might help in debugging.
1838  {
1839    echo
1840
1841    cat <<\_ASBOX
1842## ---------------- ##
1843## Cache variables. ##
1844## ---------------- ##
1845_ASBOX
1846    echo
1847    # The following way of writing the cache mishandles newlines in values,
1848(
1849  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1850    eval ac_val=\$$ac_var
1851    case $ac_val in #(
1852    *${as_nl}*)
1853      case $ac_var in #(
1854      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1855echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1856      esac
1857      case $ac_var in #(
1858      _ | IFS | as_nl) ;; #(
1859      *) $as_unset $ac_var ;;
1860      esac ;;
1861    esac
1862  done
1863  (set) 2>&1 |
1864    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1865    *${as_nl}ac_space=\ *)
1866      sed -n \
1867	"s/'\''/'\''\\\\'\'''\''/g;
1868	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1869      ;; #(
1870    *)
1871      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1872      ;;
1873    esac |
1874    sort
1875)
1876    echo
1877
1878    cat <<\_ASBOX
1879## ----------------- ##
1880## Output variables. ##
1881## ----------------- ##
1882_ASBOX
1883    echo
1884    for ac_var in $ac_subst_vars
1885    do
1886      eval ac_val=\$$ac_var
1887      case $ac_val in
1888      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1889      esac
1890      echo "$ac_var='\''$ac_val'\''"
1891    done | sort
1892    echo
1893
1894    if test -n "$ac_subst_files"; then
1895      cat <<\_ASBOX
1896## ------------------- ##
1897## File substitutions. ##
1898## ------------------- ##
1899_ASBOX
1900      echo
1901      for ac_var in $ac_subst_files
1902      do
1903	eval ac_val=\$$ac_var
1904	case $ac_val in
1905	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1906	esac
1907	echo "$ac_var='\''$ac_val'\''"
1908      done | sort
1909      echo
1910    fi
1911
1912    if test -s confdefs.h; then
1913      cat <<\_ASBOX
1914## ----------- ##
1915## confdefs.h. ##
1916## ----------- ##
1917_ASBOX
1918      echo
1919      cat confdefs.h
1920      echo
1921    fi
1922    test "$ac_signal" != 0 &&
1923      echo "$as_me: caught signal $ac_signal"
1924    echo "$as_me: exit $exit_status"
1925  } >&5
1926  rm -f core *.core core.conftest.* &&
1927    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1928    exit $exit_status
1929' 0
1930for ac_signal in 1 2 13 15; do
1931  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1932done
1933ac_signal=0
1934
1935# confdefs.h avoids OS command line length limits that DEFS can exceed.
1936rm -f -r conftest* confdefs.h
1937
1938# Predefined preprocessor variables.
1939
1940cat >>confdefs.h <<_ACEOF
1941#define PACKAGE_NAME "$PACKAGE_NAME"
1942_ACEOF
1943
1944
1945cat >>confdefs.h <<_ACEOF
1946#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1947_ACEOF
1948
1949
1950cat >>confdefs.h <<_ACEOF
1951#define PACKAGE_VERSION "$PACKAGE_VERSION"
1952_ACEOF
1953
1954
1955cat >>confdefs.h <<_ACEOF
1956#define PACKAGE_STRING "$PACKAGE_STRING"
1957_ACEOF
1958
1959
1960cat >>confdefs.h <<_ACEOF
1961#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1962_ACEOF
1963
1964
1965# Let the site file select an alternate cache file if it wants to.
1966# Prefer explicitly selected file to automatically selected ones.
1967if test -n "$CONFIG_SITE"; then
1968  set x "$CONFIG_SITE"
1969elif test "x$prefix" != xNONE; then
1970  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1971else
1972  set x "$ac_default_prefix/share/config.site" \
1973	"$ac_default_prefix/etc/config.site"
1974fi
1975shift
1976for ac_site_file
1977do
1978  if test -r "$ac_site_file"; then
1979    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1980echo "$as_me: loading site script $ac_site_file" >&6;}
1981    sed 's/^/| /' "$ac_site_file" >&5
1982    . "$ac_site_file"
1983  fi
1984done
1985
1986if test -r "$cache_file"; then
1987  # Some versions of bash will fail to source /dev/null (special
1988  # files actually), so we avoid doing that.
1989  if test -f "$cache_file"; then
1990    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1991echo "$as_me: loading cache $cache_file" >&6;}
1992    case $cache_file in
1993      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1994      *)                      . "./$cache_file";;
1995    esac
1996  fi
1997else
1998  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1999echo "$as_me: creating cache $cache_file" >&6;}
2000  >$cache_file
2001fi
2002
2003# Check that the precious variables saved in the cache have kept the same
2004# value.
2005ac_cache_corrupted=false
2006for ac_var in $ac_precious_vars; do
2007  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2008  eval ac_new_set=\$ac_env_${ac_var}_set
2009  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2010  eval ac_new_val=\$ac_env_${ac_var}_value
2011  case $ac_old_set,$ac_new_set in
2012    set,)
2013      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2014echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2015      ac_cache_corrupted=: ;;
2016    ,set)
2017      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2018echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2019      ac_cache_corrupted=: ;;
2020    ,);;
2021    *)
2022      if test "x$ac_old_val" != "x$ac_new_val"; then
2023	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2024echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2025	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2026echo "$as_me:   former value:  $ac_old_val" >&2;}
2027	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2028echo "$as_me:   current value: $ac_new_val" >&2;}
2029	ac_cache_corrupted=:
2030      fi;;
2031  esac
2032  # Pass precious variables to config.status.
2033  if test "$ac_new_set" = set; then
2034    case $ac_new_val in
2035    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2036    *) ac_arg=$ac_var=$ac_new_val ;;
2037    esac
2038    case " $ac_configure_args " in
2039      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2040      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2041    esac
2042  fi
2043done
2044if $ac_cache_corrupted; then
2045  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2046echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2047  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2048echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2049   { (exit 1); exit 1; }; }
2050fi
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068ac_ext=c
2069ac_cpp='$CPP $CPPFLAGS'
2070ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2071ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2072ac_compiler_gnu=$ac_cv_c_compiler_gnu
2073
2074
2075ac_config_headers="$ac_config_headers config.h"
2076
2077ac_aux_dir=
2078for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2079  if test -f "$ac_dir/install-sh"; then
2080    ac_aux_dir=$ac_dir
2081    ac_install_sh="$ac_aux_dir/install-sh -c"
2082    break
2083  elif test -f "$ac_dir/install.sh"; then
2084    ac_aux_dir=$ac_dir
2085    ac_install_sh="$ac_aux_dir/install.sh -c"
2086    break
2087  elif test -f "$ac_dir/shtool"; then
2088    ac_aux_dir=$ac_dir
2089    ac_install_sh="$ac_aux_dir/shtool install -c"
2090    break
2091  fi
2092done
2093if test -z "$ac_aux_dir"; then
2094  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2095echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2096   { (exit 1); exit 1; }; }
2097fi
2098
2099# These three variables are undocumented and unsupported,
2100# and are intended to be withdrawn in a future Autoconf release.
2101# They can cause serious problems if a builder's source tree is in a directory
2102# whose full name contains unusual characters.
2103ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2104ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2105ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2106
2107
2108# Make sure we can run config.sub.
2109$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2110  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2111echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2112   { (exit 1); exit 1; }; }
2113
2114{ echo "$as_me:$LINENO: checking build system type" >&5
2115echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2116if test "${ac_cv_build+set}" = set; then
2117  echo $ECHO_N "(cached) $ECHO_C" >&6
2118else
2119  ac_build_alias=$build_alias
2120test "x$ac_build_alias" = x &&
2121  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2122test "x$ac_build_alias" = x &&
2123  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2124echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2125   { (exit 1); exit 1; }; }
2126ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2127  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2128echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2129   { (exit 1); exit 1; }; }
2130
2131fi
2132{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2133echo "${ECHO_T}$ac_cv_build" >&6; }
2134case $ac_cv_build in
2135*-*-*) ;;
2136*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2137echo "$as_me: error: invalid value of canonical build" >&2;}
2138   { (exit 1); exit 1; }; };;
2139esac
2140build=$ac_cv_build
2141ac_save_IFS=$IFS; IFS='-'
2142set x $ac_cv_build
2143shift
2144build_cpu=$1
2145build_vendor=$2
2146shift; shift
2147# Remember, the first character of IFS is used to create $*,
2148# except with old shells:
2149build_os=$*
2150IFS=$ac_save_IFS
2151case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2152
2153
2154{ echo "$as_me:$LINENO: checking host system type" >&5
2155echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2156if test "${ac_cv_host+set}" = set; then
2157  echo $ECHO_N "(cached) $ECHO_C" >&6
2158else
2159  if test "x$host_alias" = x; then
2160  ac_cv_host=$ac_cv_build
2161else
2162  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2163    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2164echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2165   { (exit 1); exit 1; }; }
2166fi
2167
2168fi
2169{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2170echo "${ECHO_T}$ac_cv_host" >&6; }
2171case $ac_cv_host in
2172*-*-*) ;;
2173*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2174echo "$as_me: error: invalid value of canonical host" >&2;}
2175   { (exit 1); exit 1; }; };;
2176esac
2177host=$ac_cv_host
2178ac_save_IFS=$IFS; IFS='-'
2179set x $ac_cv_host
2180shift
2181host_cpu=$1
2182host_vendor=$2
2183shift; shift
2184# Remember, the first character of IFS is used to create $*,
2185# except with old shells:
2186host_os=$*
2187IFS=$ac_save_IFS
2188case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2189
2190
2191
2192LIBXML_MAJOR_VERSION=2
2193LIBXML_MINOR_VERSION=7
2194LIBXML_MICRO_VERSION=2
2195LIBXML_MICRO_VERSION_SUFFIX=
2196LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
2197LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
2198
2199LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
2200
2201if test -f CVS/Entries ; then
2202  extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
2203  echo extra=$extra
2204  if test "$extra" != ""
2205  then
2206      LIBXML_VERSION_EXTRA="-CVS$extra"
2207  fi
2208else if test -d .svn ; then
2209  extra=`svn info | grep Revision | sed 's+Revision: ++'`
2210  echo extra=$extra
2211  if test "$extra" != ""
2212  then
2213      LIBXML_VERSION_EXTRA="-SVN$extra"
2214  fi
2215fi
2216fi
2217
2218
2219
2220
2221
2222
2223
2224
2225VERSION=${LIBXML_VERSION}
2226
2227am__api_version='1.10'
2228
2229# Find a good install program.  We prefer a C program (faster),
2230# so one script is as good as another.  But avoid the broken or
2231# incompatible versions:
2232# SysV /etc/install, /usr/sbin/install
2233# SunOS /usr/etc/install
2234# IRIX /sbin/install
2235# AIX /bin/install
2236# AmigaOS /C/install, which installs bootblocks on floppy discs
2237# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2238# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2239# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2240# OS/2's system install, which has a completely different semantic
2241# ./install, which can be erroneously created by make from ./install.sh.
2242{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2243echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2244if test -z "$INSTALL"; then
2245if test "${ac_cv_path_install+set}" = set; then
2246  echo $ECHO_N "(cached) $ECHO_C" >&6
2247else
2248  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249for as_dir in $PATH
2250do
2251  IFS=$as_save_IFS
2252  test -z "$as_dir" && as_dir=.
2253  # Account for people who put trailing slashes in PATH elements.
2254case $as_dir/ in
2255  ./ | .// | /cC/* | \
2256  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2257  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2258  /usr/ucb/* ) ;;
2259  *)
2260    # OSF1 and SCO ODT 3.0 have their own names for install.
2261    # Don't use installbsd from OSF since it installs stuff as root
2262    # by default.
2263    for ac_prog in ginstall scoinst install; do
2264      for ac_exec_ext in '' $ac_executable_extensions; do
2265	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2266	  if test $ac_prog = install &&
2267	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2268	    # AIX install.  It has an incompatible calling convention.
2269	    :
2270	  elif test $ac_prog = install &&
2271	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2272	    # program-specific install script used by HP pwplus--don't use.
2273	    :
2274	  else
2275	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2276	    break 3
2277	  fi
2278	fi
2279      done
2280    done
2281    ;;
2282esac
2283done
2284IFS=$as_save_IFS
2285
2286
2287fi
2288  if test "${ac_cv_path_install+set}" = set; then
2289    INSTALL=$ac_cv_path_install
2290  else
2291    # As a last resort, use the slow shell script.  Don't cache a
2292    # value for INSTALL within a source directory, because that will
2293    # break other packages using the cache if that directory is
2294    # removed, or if the value is a relative name.
2295    INSTALL=$ac_install_sh
2296  fi
2297fi
2298{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2299echo "${ECHO_T}$INSTALL" >&6; }
2300
2301# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2302# It thinks the first close brace ends the variable substitution.
2303test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2304
2305test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2306
2307test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2308
2309{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2310echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2311# Just in case
2312sleep 1
2313echo timestamp > conftest.file
2314# Do `set' in a subshell so we don't clobber the current shell's
2315# arguments.  Must try -L first in case configure is actually a
2316# symlink; some systems play weird games with the mod time of symlinks
2317# (eg FreeBSD returns the mod time of the symlink's containing
2318# directory).
2319if (
2320   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2321   if test "$*" = "X"; then
2322      # -L didn't work.
2323      set X `ls -t $srcdir/configure conftest.file`
2324   fi
2325   rm -f conftest.file
2326   if test "$*" != "X $srcdir/configure conftest.file" \
2327      && test "$*" != "X conftest.file $srcdir/configure"; then
2328
2329      # If neither matched, then we have a broken ls.  This can happen
2330      # if, for instance, CONFIG_SHELL is bash and it inherits a
2331      # broken ls alias from the environment.  This has actually
2332      # happened.  Such a system could not be considered "sane".
2333      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2334alias in your environment" >&5
2335echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2336alias in your environment" >&2;}
2337   { (exit 1); exit 1; }; }
2338   fi
2339
2340   test "$2" = conftest.file
2341   )
2342then
2343   # Ok.
2344   :
2345else
2346   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2347Check your system clock" >&5
2348echo "$as_me: error: newly created file is older than distributed files!
2349Check your system clock" >&2;}
2350   { (exit 1); exit 1; }; }
2351fi
2352{ echo "$as_me:$LINENO: result: yes" >&5
2353echo "${ECHO_T}yes" >&6; }
2354test "$program_prefix" != NONE &&
2355  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2356# Use a double $ so make ignores it.
2357test "$program_suffix" != NONE &&
2358  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2359# Double any \ or $.  echo might interpret backslashes.
2360# By default was `s,x,x', remove it if useless.
2361cat <<\_ACEOF >conftest.sed
2362s/[\\$]/&&/g;s/;s,x,x,$//
2363_ACEOF
2364program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2365rm -f conftest.sed
2366
2367# expand $ac_aux_dir to an absolute path
2368am_aux_dir=`cd $ac_aux_dir && pwd`
2369
2370test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2371# Use eval to expand $SHELL
2372if eval "$MISSING --run true"; then
2373  am_missing_run="$MISSING --run "
2374else
2375  am_missing_run=
2376  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2377echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2378fi
2379
2380{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2381echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2382if test -z "$MKDIR_P"; then
2383  if test "${ac_cv_path_mkdir+set}" = set; then
2384  echo $ECHO_N "(cached) $ECHO_C" >&6
2385else
2386  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2388do
2389  IFS=$as_save_IFS
2390  test -z "$as_dir" && as_dir=.
2391  for ac_prog in mkdir gmkdir; do
2392	 for ac_exec_ext in '' $ac_executable_extensions; do
2393	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2394	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2395	     'mkdir (GNU coreutils) '* | \
2396	     'mkdir (coreutils) '* | \
2397	     'mkdir (fileutils) '4.1*)
2398	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2399	       break 3;;
2400	   esac
2401	 done
2402       done
2403done
2404IFS=$as_save_IFS
2405
2406fi
2407
2408  if test "${ac_cv_path_mkdir+set}" = set; then
2409    MKDIR_P="$ac_cv_path_mkdir -p"
2410  else
2411    # As a last resort, use the slow shell script.  Don't cache a
2412    # value for MKDIR_P within a source directory, because that will
2413    # break other packages using the cache if that directory is
2414    # removed, or if the value is a relative name.
2415    test -d ./--version && rmdir ./--version
2416    MKDIR_P="$ac_install_sh -d"
2417  fi
2418fi
2419{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2420echo "${ECHO_T}$MKDIR_P" >&6; }
2421
2422mkdir_p="$MKDIR_P"
2423case $mkdir_p in
2424  [\\/$]* | ?:[\\/]*) ;;
2425  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2426esac
2427
2428for ac_prog in gawk mawk nawk awk
2429do
2430  # Extract the first word of "$ac_prog", so it can be a program name with args.
2431set dummy $ac_prog; ac_word=$2
2432{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2433echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2434if test "${ac_cv_prog_AWK+set}" = set; then
2435  echo $ECHO_N "(cached) $ECHO_C" >&6
2436else
2437  if test -n "$AWK"; then
2438  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2439else
2440as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441for as_dir in $PATH
2442do
2443  IFS=$as_save_IFS
2444  test -z "$as_dir" && as_dir=.
2445  for ac_exec_ext in '' $ac_executable_extensions; do
2446  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447    ac_cv_prog_AWK="$ac_prog"
2448    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2449    break 2
2450  fi
2451done
2452done
2453IFS=$as_save_IFS
2454
2455fi
2456fi
2457AWK=$ac_cv_prog_AWK
2458if test -n "$AWK"; then
2459  { echo "$as_me:$LINENO: result: $AWK" >&5
2460echo "${ECHO_T}$AWK" >&6; }
2461else
2462  { echo "$as_me:$LINENO: result: no" >&5
2463echo "${ECHO_T}no" >&6; }
2464fi
2465
2466
2467  test -n "$AWK" && break
2468done
2469
2470{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2471echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2472set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2473if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2474  echo $ECHO_N "(cached) $ECHO_C" >&6
2475else
2476  cat >conftest.make <<\_ACEOF
2477SHELL = /bin/sh
2478all:
2479	@echo '@@@%%%=$(MAKE)=@@@%%%'
2480_ACEOF
2481# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2482case `${MAKE-make} -f conftest.make 2>/dev/null` in
2483  *@@@%%%=?*=@@@%%%*)
2484    eval ac_cv_prog_make_${ac_make}_set=yes;;
2485  *)
2486    eval ac_cv_prog_make_${ac_make}_set=no;;
2487esac
2488rm -f conftest.make
2489fi
2490if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2491  { echo "$as_me:$LINENO: result: yes" >&5
2492echo "${ECHO_T}yes" >&6; }
2493  SET_MAKE=
2494else
2495  { echo "$as_me:$LINENO: result: no" >&5
2496echo "${ECHO_T}no" >&6; }
2497  SET_MAKE="MAKE=${MAKE-make}"
2498fi
2499
2500rm -rf .tst 2>/dev/null
2501mkdir .tst 2>/dev/null
2502if test -d .tst; then
2503  am__leading_dot=.
2504else
2505  am__leading_dot=_
2506fi
2507rmdir .tst 2>/dev/null
2508
2509if test "`cd $srcdir && pwd`" != "`pwd`"; then
2510  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2511  # is not polluted with repeated "-I."
2512  am__isrc=' -I$(srcdir)'
2513  # test to see if srcdir already configured
2514  if test -f $srcdir/config.status; then
2515    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2516echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2517   { (exit 1); exit 1; }; }
2518  fi
2519fi
2520
2521# test whether we have cygpath
2522if test -z "$CYGPATH_W"; then
2523  if (cygpath --version) >/dev/null 2>/dev/null; then
2524    CYGPATH_W='cygpath -w'
2525  else
2526    CYGPATH_W=echo
2527  fi
2528fi
2529
2530
2531# Define the identity of the package.
2532 PACKAGE=libxml2
2533 VERSION=$VERSION
2534
2535
2536cat >>confdefs.h <<_ACEOF
2537#define PACKAGE "$PACKAGE"
2538_ACEOF
2539
2540
2541cat >>confdefs.h <<_ACEOF
2542#define VERSION "$VERSION"
2543_ACEOF
2544
2545# Some tools Automake needs.
2546
2547ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2548
2549
2550AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2551
2552
2553AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2554
2555
2556AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2557
2558
2559MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2560
2561install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2562
2563# Installed binaries are usually stripped using `strip' when the user
2564# run `make install-strip'.  However `strip' might not be the right
2565# tool to use in cross-compilation environments, therefore Automake
2566# will honor the `STRIP' environment variable to overrule this program.
2567if test "$cross_compiling" != no; then
2568  if test -n "$ac_tool_prefix"; then
2569  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2570set dummy ${ac_tool_prefix}strip; ac_word=$2
2571{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2572echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2573if test "${ac_cv_prog_STRIP+set}" = set; then
2574  echo $ECHO_N "(cached) $ECHO_C" >&6
2575else
2576  if test -n "$STRIP"; then
2577  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2578else
2579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580for as_dir in $PATH
2581do
2582  IFS=$as_save_IFS
2583  test -z "$as_dir" && as_dir=.
2584  for ac_exec_ext in '' $ac_executable_extensions; do
2585  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2586    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2587    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2588    break 2
2589  fi
2590done
2591done
2592IFS=$as_save_IFS
2593
2594fi
2595fi
2596STRIP=$ac_cv_prog_STRIP
2597if test -n "$STRIP"; then
2598  { echo "$as_me:$LINENO: result: $STRIP" >&5
2599echo "${ECHO_T}$STRIP" >&6; }
2600else
2601  { echo "$as_me:$LINENO: result: no" >&5
2602echo "${ECHO_T}no" >&6; }
2603fi
2604
2605
2606fi
2607if test -z "$ac_cv_prog_STRIP"; then
2608  ac_ct_STRIP=$STRIP
2609  # Extract the first word of "strip", so it can be a program name with args.
2610set dummy strip; ac_word=$2
2611{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2612echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2613if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2614  echo $ECHO_N "(cached) $ECHO_C" >&6
2615else
2616  if test -n "$ac_ct_STRIP"; then
2617  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2618else
2619as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620for as_dir in $PATH
2621do
2622  IFS=$as_save_IFS
2623  test -z "$as_dir" && as_dir=.
2624  for ac_exec_ext in '' $ac_executable_extensions; do
2625  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2626    ac_cv_prog_ac_ct_STRIP="strip"
2627    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628    break 2
2629  fi
2630done
2631done
2632IFS=$as_save_IFS
2633
2634fi
2635fi
2636ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2637if test -n "$ac_ct_STRIP"; then
2638  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2639echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2640else
2641  { echo "$as_me:$LINENO: result: no" >&5
2642echo "${ECHO_T}no" >&6; }
2643fi
2644
2645  if test "x$ac_ct_STRIP" = x; then
2646    STRIP=":"
2647  else
2648    case $cross_compiling:$ac_tool_warned in
2649yes:)
2650{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2651whose name does not start with the host triplet.  If you think this
2652configuration is useful to you, please write to autoconf@gnu.org." >&5
2653echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2654whose name does not start with the host triplet.  If you think this
2655configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2656ac_tool_warned=yes ;;
2657esac
2658    STRIP=$ac_ct_STRIP
2659  fi
2660else
2661  STRIP="$ac_cv_prog_STRIP"
2662fi
2663
2664fi
2665INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2666
2667# We need awk for the "check" target.  The system "awk" is bad on
2668# some platforms.
2669# Always define AMTAR for backward compatibility.
2670
2671AMTAR=${AMTAR-"${am_missing_run}tar"}
2672
2673am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2674
2675
2676
2677
2678
2679
2680ac_ext=c
2681ac_cpp='$CPP $CPPFLAGS'
2682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2684ac_compiler_gnu=$ac_cv_c_compiler_gnu
2685if test -n "$ac_tool_prefix"; then
2686  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2687set dummy ${ac_tool_prefix}gcc; ac_word=$2
2688{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2689echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2690if test "${ac_cv_prog_CC+set}" = set; then
2691  echo $ECHO_N "(cached) $ECHO_C" >&6
2692else
2693  if test -n "$CC"; then
2694  ac_cv_prog_CC="$CC" # Let the user override the test.
2695else
2696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697for as_dir in $PATH
2698do
2699  IFS=$as_save_IFS
2700  test -z "$as_dir" && as_dir=.
2701  for ac_exec_ext in '' $ac_executable_extensions; do
2702  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2704    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2705    break 2
2706  fi
2707done
2708done
2709IFS=$as_save_IFS
2710
2711fi
2712fi
2713CC=$ac_cv_prog_CC
2714if test -n "$CC"; then
2715  { echo "$as_me:$LINENO: result: $CC" >&5
2716echo "${ECHO_T}$CC" >&6; }
2717else
2718  { echo "$as_me:$LINENO: result: no" >&5
2719echo "${ECHO_T}no" >&6; }
2720fi
2721
2722
2723fi
2724if test -z "$ac_cv_prog_CC"; then
2725  ac_ct_CC=$CC
2726  # Extract the first word of "gcc", so it can be a program name with args.
2727set dummy gcc; ac_word=$2
2728{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2729echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2730if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2731  echo $ECHO_N "(cached) $ECHO_C" >&6
2732else
2733  if test -n "$ac_ct_CC"; then
2734  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2735else
2736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2737for as_dir in $PATH
2738do
2739  IFS=$as_save_IFS
2740  test -z "$as_dir" && as_dir=.
2741  for ac_exec_ext in '' $ac_executable_extensions; do
2742  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2743    ac_cv_prog_ac_ct_CC="gcc"
2744    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2745    break 2
2746  fi
2747done
2748done
2749IFS=$as_save_IFS
2750
2751fi
2752fi
2753ac_ct_CC=$ac_cv_prog_ac_ct_CC
2754if test -n "$ac_ct_CC"; then
2755  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2756echo "${ECHO_T}$ac_ct_CC" >&6; }
2757else
2758  { echo "$as_me:$LINENO: result: no" >&5
2759echo "${ECHO_T}no" >&6; }
2760fi
2761
2762  if test "x$ac_ct_CC" = x; then
2763    CC=""
2764  else
2765    case $cross_compiling:$ac_tool_warned in
2766yes:)
2767{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2768whose name does not start with the host triplet.  If you think this
2769configuration is useful to you, please write to autoconf@gnu.org." >&5
2770echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2771whose name does not start with the host triplet.  If you think this
2772configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2773ac_tool_warned=yes ;;
2774esac
2775    CC=$ac_ct_CC
2776  fi
2777else
2778  CC="$ac_cv_prog_CC"
2779fi
2780
2781if test -z "$CC"; then
2782          if test -n "$ac_tool_prefix"; then
2783    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2784set dummy ${ac_tool_prefix}cc; ac_word=$2
2785{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2786echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2787if test "${ac_cv_prog_CC+set}" = set; then
2788  echo $ECHO_N "(cached) $ECHO_C" >&6
2789else
2790  if test -n "$CC"; then
2791  ac_cv_prog_CC="$CC" # Let the user override the test.
2792else
2793as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794for as_dir in $PATH
2795do
2796  IFS=$as_save_IFS
2797  test -z "$as_dir" && as_dir=.
2798  for ac_exec_ext in '' $ac_executable_extensions; do
2799  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2800    ac_cv_prog_CC="${ac_tool_prefix}cc"
2801    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2802    break 2
2803  fi
2804done
2805done
2806IFS=$as_save_IFS
2807
2808fi
2809fi
2810CC=$ac_cv_prog_CC
2811if test -n "$CC"; then
2812  { echo "$as_me:$LINENO: result: $CC" >&5
2813echo "${ECHO_T}$CC" >&6; }
2814else
2815  { echo "$as_me:$LINENO: result: no" >&5
2816echo "${ECHO_T}no" >&6; }
2817fi
2818
2819
2820  fi
2821fi
2822if test -z "$CC"; then
2823  # Extract the first word of "cc", so it can be a program name with args.
2824set dummy cc; ac_word=$2
2825{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2826echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2827if test "${ac_cv_prog_CC+set}" = set; then
2828  echo $ECHO_N "(cached) $ECHO_C" >&6
2829else
2830  if test -n "$CC"; then
2831  ac_cv_prog_CC="$CC" # Let the user override the test.
2832else
2833  ac_prog_rejected=no
2834as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835for as_dir in $PATH
2836do
2837  IFS=$as_save_IFS
2838  test -z "$as_dir" && as_dir=.
2839  for ac_exec_ext in '' $ac_executable_extensions; do
2840  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2841    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2842       ac_prog_rejected=yes
2843       continue
2844     fi
2845    ac_cv_prog_CC="cc"
2846    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2847    break 2
2848  fi
2849done
2850done
2851IFS=$as_save_IFS
2852
2853if test $ac_prog_rejected = yes; then
2854  # We found a bogon in the path, so make sure we never use it.
2855  set dummy $ac_cv_prog_CC
2856  shift
2857  if test $# != 0; then
2858    # We chose a different compiler from the bogus one.
2859    # However, it has the same basename, so the bogon will be chosen
2860    # first if we set CC to just the basename; use the full file name.
2861    shift
2862    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2863  fi
2864fi
2865fi
2866fi
2867CC=$ac_cv_prog_CC
2868if test -n "$CC"; then
2869  { echo "$as_me:$LINENO: result: $CC" >&5
2870echo "${ECHO_T}$CC" >&6; }
2871else
2872  { echo "$as_me:$LINENO: result: no" >&5
2873echo "${ECHO_T}no" >&6; }
2874fi
2875
2876
2877fi
2878if test -z "$CC"; then
2879  if test -n "$ac_tool_prefix"; then
2880  for ac_prog in cl.exe
2881  do
2882    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2883set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2884{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2885echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2886if test "${ac_cv_prog_CC+set}" = set; then
2887  echo $ECHO_N "(cached) $ECHO_C" >&6
2888else
2889  if test -n "$CC"; then
2890  ac_cv_prog_CC="$CC" # Let the user override the test.
2891else
2892as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893for as_dir in $PATH
2894do
2895  IFS=$as_save_IFS
2896  test -z "$as_dir" && as_dir=.
2897  for ac_exec_ext in '' $ac_executable_extensions; do
2898  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2899    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2900    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2901    break 2
2902  fi
2903done
2904done
2905IFS=$as_save_IFS
2906
2907fi
2908fi
2909CC=$ac_cv_prog_CC
2910if test -n "$CC"; then
2911  { echo "$as_me:$LINENO: result: $CC" >&5
2912echo "${ECHO_T}$CC" >&6; }
2913else
2914  { echo "$as_me:$LINENO: result: no" >&5
2915echo "${ECHO_T}no" >&6; }
2916fi
2917
2918
2919    test -n "$CC" && break
2920  done
2921fi
2922if test -z "$CC"; then
2923  ac_ct_CC=$CC
2924  for ac_prog in cl.exe
2925do
2926  # Extract the first word of "$ac_prog", so it can be a program name with args.
2927set dummy $ac_prog; ac_word=$2
2928{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2929echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2930if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2931  echo $ECHO_N "(cached) $ECHO_C" >&6
2932else
2933  if test -n "$ac_ct_CC"; then
2934  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2935else
2936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2937for as_dir in $PATH
2938do
2939  IFS=$as_save_IFS
2940  test -z "$as_dir" && as_dir=.
2941  for ac_exec_ext in '' $ac_executable_extensions; do
2942  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2943    ac_cv_prog_ac_ct_CC="$ac_prog"
2944    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2945    break 2
2946  fi
2947done
2948done
2949IFS=$as_save_IFS
2950
2951fi
2952fi
2953ac_ct_CC=$ac_cv_prog_ac_ct_CC
2954if test -n "$ac_ct_CC"; then
2955  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2956echo "${ECHO_T}$ac_ct_CC" >&6; }
2957else
2958  { echo "$as_me:$LINENO: result: no" >&5
2959echo "${ECHO_T}no" >&6; }
2960fi
2961
2962
2963  test -n "$ac_ct_CC" && break
2964done
2965
2966  if test "x$ac_ct_CC" = x; then
2967    CC=""
2968  else
2969    case $cross_compiling:$ac_tool_warned in
2970yes:)
2971{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2972whose name does not start with the host triplet.  If you think this
2973configuration is useful to you, please write to autoconf@gnu.org." >&5
2974echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2975whose name does not start with the host triplet.  If you think this
2976configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2977ac_tool_warned=yes ;;
2978esac
2979    CC=$ac_ct_CC
2980  fi
2981fi
2982
2983fi
2984
2985
2986test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2987See \`config.log' for more details." >&5
2988echo "$as_me: error: no acceptable C compiler found in \$PATH
2989See \`config.log' for more details." >&2;}
2990   { (exit 1); exit 1; }; }
2991
2992# Provide some information about the compiler.
2993echo "$as_me:$LINENO: checking for C compiler version" >&5
2994ac_compiler=`set X $ac_compile; echo $2`
2995{ (ac_try="$ac_compiler --version >&5"
2996case "(($ac_try" in
2997  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998  *) ac_try_echo=$ac_try;;
2999esac
3000eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3001  (eval "$ac_compiler --version >&5") 2>&5
3002  ac_status=$?
3003  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004  (exit $ac_status); }
3005{ (ac_try="$ac_compiler -v >&5"
3006case "(($ac_try" in
3007  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3008  *) ac_try_echo=$ac_try;;
3009esac
3010eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3011  (eval "$ac_compiler -v >&5") 2>&5
3012  ac_status=$?
3013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014  (exit $ac_status); }
3015{ (ac_try="$ac_compiler -V >&5"
3016case "(($ac_try" in
3017  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018  *) ac_try_echo=$ac_try;;
3019esac
3020eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3021  (eval "$ac_compiler -V >&5") 2>&5
3022  ac_status=$?
3023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024  (exit $ac_status); }
3025
3026cat >conftest.$ac_ext <<_ACEOF
3027/* confdefs.h.  */
3028_ACEOF
3029cat confdefs.h >>conftest.$ac_ext
3030cat >>conftest.$ac_ext <<_ACEOF
3031/* end confdefs.h.  */
3032
3033int
3034main ()
3035{
3036
3037  ;
3038  return 0;
3039}
3040_ACEOF
3041ac_clean_files_save=$ac_clean_files
3042ac_clean_files="$ac_clean_files a.out a.exe b.out"
3043# Try to create an executable without -o first, disregard a.out.
3044# It will help us diagnose broken compilers, and finding out an intuition
3045# of exeext.
3046{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3047echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3048ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3049#
3050# List of possible output files, starting from the most likely.
3051# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3052# only as a last resort.  b.out is created by i960 compilers.
3053ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3054#
3055# The IRIX 6 linker writes into existing files which may not be
3056# executable, retaining their permissions.  Remove them first so a
3057# subsequent execution test works.
3058ac_rmfiles=
3059for ac_file in $ac_files
3060do
3061  case $ac_file in
3062    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3063    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3064  esac
3065done
3066rm -f $ac_rmfiles
3067
3068if { (ac_try="$ac_link_default"
3069case "(($ac_try" in
3070  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071  *) ac_try_echo=$ac_try;;
3072esac
3073eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3074  (eval "$ac_link_default") 2>&5
3075  ac_status=$?
3076  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077  (exit $ac_status); }; then
3078  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3079# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3080# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3081# so that the user can short-circuit this test for compilers unknown to
3082# Autoconf.
3083for ac_file in $ac_files ''
3084do
3085  test -f "$ac_file" || continue
3086  case $ac_file in
3087    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3088	;;
3089    [ab].out )
3090	# We found the default executable, but exeext='' is most
3091	# certainly right.
3092	break;;
3093    *.* )
3094        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3095	then :; else
3096	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3097	fi
3098	# We set ac_cv_exeext here because the later test for it is not
3099	# safe: cross compilers may not add the suffix if given an `-o'
3100	# argument, so we may need to know it at that point already.
3101	# Even if this section looks crufty: it has the advantage of
3102	# actually working.
3103	break;;
3104    * )
3105	break;;
3106  esac
3107done
3108test "$ac_cv_exeext" = no && ac_cv_exeext=
3109
3110else
3111  ac_file=''
3112fi
3113
3114{ echo "$as_me:$LINENO: result: $ac_file" >&5
3115echo "${ECHO_T}$ac_file" >&6; }
3116if test -z "$ac_file"; then
3117  echo "$as_me: failed program was:" >&5
3118sed 's/^/| /' conftest.$ac_ext >&5
3119
3120{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3121See \`config.log' for more details." >&5
3122echo "$as_me: error: C compiler cannot create executables
3123See \`config.log' for more details." >&2;}
3124   { (exit 77); exit 77; }; }
3125fi
3126
3127ac_exeext=$ac_cv_exeext
3128
3129# Check that the compiler produces executables we can run.  If not, either
3130# the compiler is broken, or we cross compile.
3131{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3132echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3133# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3134# If not cross compiling, check that we can run a simple program.
3135if test "$cross_compiling" != yes; then
3136  if { ac_try='./$ac_file'
3137  { (case "(($ac_try" in
3138  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139  *) ac_try_echo=$ac_try;;
3140esac
3141eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3142  (eval "$ac_try") 2>&5
3143  ac_status=$?
3144  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145  (exit $ac_status); }; }; then
3146    cross_compiling=no
3147  else
3148    if test "$cross_compiling" = maybe; then
3149	cross_compiling=yes
3150    else
3151	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3152If you meant to cross compile, use \`--host'.
3153See \`config.log' for more details." >&5
3154echo "$as_me: error: cannot run C compiled programs.
3155If you meant to cross compile, use \`--host'.
3156See \`config.log' for more details." >&2;}
3157   { (exit 1); exit 1; }; }
3158    fi
3159  fi
3160fi
3161{ echo "$as_me:$LINENO: result: yes" >&5
3162echo "${ECHO_T}yes" >&6; }
3163
3164rm -f a.out a.exe conftest$ac_cv_exeext b.out
3165ac_clean_files=$ac_clean_files_save
3166# Check that the compiler produces executables we can run.  If not, either
3167# the compiler is broken, or we cross compile.
3168{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3169echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3170{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3171echo "${ECHO_T}$cross_compiling" >&6; }
3172
3173{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3174echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3175if { (ac_try="$ac_link"
3176case "(($ac_try" in
3177  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3178  *) ac_try_echo=$ac_try;;
3179esac
3180eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3181  (eval "$ac_link") 2>&5
3182  ac_status=$?
3183  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184  (exit $ac_status); }; then
3185  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3186# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3187# work properly (i.e., refer to `conftest.exe'), while it won't with
3188# `rm'.
3189for ac_file in conftest.exe conftest conftest.*; do
3190  test -f "$ac_file" || continue
3191  case $ac_file in
3192    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3193    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3194	  break;;
3195    * ) break;;
3196  esac
3197done
3198else
3199  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3200See \`config.log' for more details." >&5
3201echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3202See \`config.log' for more details." >&2;}
3203   { (exit 1); exit 1; }; }
3204fi
3205
3206rm -f conftest$ac_cv_exeext
3207{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3208echo "${ECHO_T}$ac_cv_exeext" >&6; }
3209
3210rm -f conftest.$ac_ext
3211EXEEXT=$ac_cv_exeext
3212ac_exeext=$EXEEXT
3213{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3214echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3215if test "${ac_cv_objext+set}" = set; then
3216  echo $ECHO_N "(cached) $ECHO_C" >&6
3217else
3218  cat >conftest.$ac_ext <<_ACEOF
3219/* confdefs.h.  */
3220_ACEOF
3221cat confdefs.h >>conftest.$ac_ext
3222cat >>conftest.$ac_ext <<_ACEOF
3223/* end confdefs.h.  */
3224
3225int
3226main ()
3227{
3228
3229  ;
3230  return 0;
3231}
3232_ACEOF
3233rm -f conftest.o conftest.obj
3234if { (ac_try="$ac_compile"
3235case "(($ac_try" in
3236  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237  *) ac_try_echo=$ac_try;;
3238esac
3239eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3240  (eval "$ac_compile") 2>&5
3241  ac_status=$?
3242  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243  (exit $ac_status); }; then
3244  for ac_file in conftest.o conftest.obj conftest.*; do
3245  test -f "$ac_file" || continue;
3246  case $ac_file in
3247    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3248    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3249       break;;
3250  esac
3251done
3252else
3253  echo "$as_me: failed program was:" >&5
3254sed 's/^/| /' conftest.$ac_ext >&5
3255
3256{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3257See \`config.log' for more details." >&5
3258echo "$as_me: error: cannot compute suffix of object files: cannot compile
3259See \`config.log' for more details." >&2;}
3260   { (exit 1); exit 1; }; }
3261fi
3262
3263rm -f conftest.$ac_cv_objext conftest.$ac_ext
3264fi
3265{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3266echo "${ECHO_T}$ac_cv_objext" >&6; }
3267OBJEXT=$ac_cv_objext
3268ac_objext=$OBJEXT
3269{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3270echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3271if test "${ac_cv_c_compiler_gnu+set}" = set; then
3272  echo $ECHO_N "(cached) $ECHO_C" >&6
3273else
3274  cat >conftest.$ac_ext <<_ACEOF
3275/* confdefs.h.  */
3276_ACEOF
3277cat confdefs.h >>conftest.$ac_ext
3278cat >>conftest.$ac_ext <<_ACEOF
3279/* end confdefs.h.  */
3280
3281int
3282main ()
3283{
3284#ifndef __GNUC__
3285       choke me
3286#endif
3287
3288  ;
3289  return 0;
3290}
3291_ACEOF
3292rm -f conftest.$ac_objext
3293if { (ac_try="$ac_compile"
3294case "(($ac_try" in
3295  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296  *) ac_try_echo=$ac_try;;
3297esac
3298eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3299  (eval "$ac_compile") 2>conftest.er1
3300  ac_status=$?
3301  grep -v '^ *+' conftest.er1 >conftest.err
3302  rm -f conftest.er1
3303  cat conftest.err >&5
3304  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305  (exit $ac_status); } && {
3306	 test -z "$ac_c_werror_flag" ||
3307	 test ! -s conftest.err
3308       } && test -s conftest.$ac_objext; then
3309  ac_compiler_gnu=yes
3310else
3311  echo "$as_me: failed program was:" >&5
3312sed 's/^/| /' conftest.$ac_ext >&5
3313
3314	ac_compiler_gnu=no
3315fi
3316
3317rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318ac_cv_c_compiler_gnu=$ac_compiler_gnu
3319
3320fi
3321{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3322echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3323GCC=`test $ac_compiler_gnu = yes && echo yes`
3324ac_test_CFLAGS=${CFLAGS+set}
3325ac_save_CFLAGS=$CFLAGS
3326{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3327echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3328if test "${ac_cv_prog_cc_g+set}" = set; then
3329  echo $ECHO_N "(cached) $ECHO_C" >&6
3330else
3331  ac_save_c_werror_flag=$ac_c_werror_flag
3332   ac_c_werror_flag=yes
3333   ac_cv_prog_cc_g=no
3334   CFLAGS="-g"
3335   cat >conftest.$ac_ext <<_ACEOF
3336/* confdefs.h.  */
3337_ACEOF
3338cat confdefs.h >>conftest.$ac_ext
3339cat >>conftest.$ac_ext <<_ACEOF
3340/* end confdefs.h.  */
3341
3342int
3343main ()
3344{
3345
3346  ;
3347  return 0;
3348}
3349_ACEOF
3350rm -f conftest.$ac_objext
3351if { (ac_try="$ac_compile"
3352case "(($ac_try" in
3353  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354  *) ac_try_echo=$ac_try;;
3355esac
3356eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3357  (eval "$ac_compile") 2>conftest.er1
3358  ac_status=$?
3359  grep -v '^ *+' conftest.er1 >conftest.err
3360  rm -f conftest.er1
3361  cat conftest.err >&5
3362  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363  (exit $ac_status); } && {
3364	 test -z "$ac_c_werror_flag" ||
3365	 test ! -s conftest.err
3366       } && test -s conftest.$ac_objext; then
3367  ac_cv_prog_cc_g=yes
3368else
3369  echo "$as_me: failed program was:" >&5
3370sed 's/^/| /' conftest.$ac_ext >&5
3371
3372	CFLAGS=""
3373      cat >conftest.$ac_ext <<_ACEOF
3374/* confdefs.h.  */
3375_ACEOF
3376cat confdefs.h >>conftest.$ac_ext
3377cat >>conftest.$ac_ext <<_ACEOF
3378/* end confdefs.h.  */
3379
3380int
3381main ()
3382{
3383
3384  ;
3385  return 0;
3386}
3387_ACEOF
3388rm -f conftest.$ac_objext
3389if { (ac_try="$ac_compile"
3390case "(($ac_try" in
3391  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392  *) ac_try_echo=$ac_try;;
3393esac
3394eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3395  (eval "$ac_compile") 2>conftest.er1
3396  ac_status=$?
3397  grep -v '^ *+' conftest.er1 >conftest.err
3398  rm -f conftest.er1
3399  cat conftest.err >&5
3400  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401  (exit $ac_status); } && {
3402	 test -z "$ac_c_werror_flag" ||
3403	 test ! -s conftest.err
3404       } && test -s conftest.$ac_objext; then
3405  :
3406else
3407  echo "$as_me: failed program was:" >&5
3408sed 's/^/| /' conftest.$ac_ext >&5
3409
3410	ac_c_werror_flag=$ac_save_c_werror_flag
3411	 CFLAGS="-g"
3412	 cat >conftest.$ac_ext <<_ACEOF
3413/* confdefs.h.  */
3414_ACEOF
3415cat confdefs.h >>conftest.$ac_ext
3416cat >>conftest.$ac_ext <<_ACEOF
3417/* end confdefs.h.  */
3418
3419int
3420main ()
3421{
3422
3423  ;
3424  return 0;
3425}
3426_ACEOF
3427rm -f conftest.$ac_objext
3428if { (ac_try="$ac_compile"
3429case "(($ac_try" in
3430  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431  *) ac_try_echo=$ac_try;;
3432esac
3433eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3434  (eval "$ac_compile") 2>conftest.er1
3435  ac_status=$?
3436  grep -v '^ *+' conftest.er1 >conftest.err
3437  rm -f conftest.er1
3438  cat conftest.err >&5
3439  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440  (exit $ac_status); } && {
3441	 test -z "$ac_c_werror_flag" ||
3442	 test ! -s conftest.err
3443       } && test -s conftest.$ac_objext; then
3444  ac_cv_prog_cc_g=yes
3445else
3446  echo "$as_me: failed program was:" >&5
3447sed 's/^/| /' conftest.$ac_ext >&5
3448
3449
3450fi
3451
3452rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453fi
3454
3455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3456fi
3457
3458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3459   ac_c_werror_flag=$ac_save_c_werror_flag
3460fi
3461{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3462echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3463if test "$ac_test_CFLAGS" = set; then
3464  CFLAGS=$ac_save_CFLAGS
3465elif test $ac_cv_prog_cc_g = yes; then
3466  if test "$GCC" = yes; then
3467    CFLAGS="-g -O2"
3468  else
3469    CFLAGS="-g"
3470  fi
3471else
3472  if test "$GCC" = yes; then
3473    CFLAGS="-O2"
3474  else
3475    CFLAGS=
3476  fi
3477fi
3478{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3479echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3480if test "${ac_cv_prog_cc_c89+set}" = set; then
3481  echo $ECHO_N "(cached) $ECHO_C" >&6
3482else
3483  ac_cv_prog_cc_c89=no
3484ac_save_CC=$CC
3485cat >conftest.$ac_ext <<_ACEOF
3486/* confdefs.h.  */
3487_ACEOF
3488cat confdefs.h >>conftest.$ac_ext
3489cat >>conftest.$ac_ext <<_ACEOF
3490/* end confdefs.h.  */
3491#include <stdarg.h>
3492#include <stdio.h>
3493#include <sys/types.h>
3494#include <sys/stat.h>
3495/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3496struct buf { int x; };
3497FILE * (*rcsopen) (struct buf *, struct stat *, int);
3498static char *e (p, i)
3499     char **p;
3500     int i;
3501{
3502  return p[i];
3503}
3504static char *f (char * (*g) (char **, int), char **p, ...)
3505{
3506  char *s;
3507  va_list v;
3508  va_start (v,p);
3509  s = g (p, va_arg (v,int));
3510  va_end (v);
3511  return s;
3512}
3513
3514/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3515   function prototypes and stuff, but not '\xHH' hex character constants.
3516   These don't provoke an error unfortunately, instead are silently treated
3517   as 'x'.  The following induces an error, until -std is added to get
3518   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3519   array size at least.  It's necessary to write '\x00'==0 to get something
3520   that's true only with -std.  */
3521int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3522
3523/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3524   inside strings and character constants.  */
3525#define FOO(x) 'x'
3526int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3527
3528int test (int i, double x);
3529struct s1 {int (*f) (int a);};
3530struct s2 {int (*f) (double a);};
3531int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3532int argc;
3533char **argv;
3534int
3535main ()
3536{
3537return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3538  ;
3539  return 0;
3540}
3541_ACEOF
3542for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3543	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3544do
3545  CC="$ac_save_CC $ac_arg"
3546  rm -f conftest.$ac_objext
3547if { (ac_try="$ac_compile"
3548case "(($ac_try" in
3549  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550  *) ac_try_echo=$ac_try;;
3551esac
3552eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553  (eval "$ac_compile") 2>conftest.er1
3554  ac_status=$?
3555  grep -v '^ *+' conftest.er1 >conftest.err
3556  rm -f conftest.er1
3557  cat conftest.err >&5
3558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559  (exit $ac_status); } && {
3560	 test -z "$ac_c_werror_flag" ||
3561	 test ! -s conftest.err
3562       } && test -s conftest.$ac_objext; then
3563  ac_cv_prog_cc_c89=$ac_arg
3564else
3565  echo "$as_me: failed program was:" >&5
3566sed 's/^/| /' conftest.$ac_ext >&5
3567
3568
3569fi
3570
3571rm -f core conftest.err conftest.$ac_objext
3572  test "x$ac_cv_prog_cc_c89" != "xno" && break
3573done
3574rm -f conftest.$ac_ext
3575CC=$ac_save_CC
3576
3577fi
3578# AC_CACHE_VAL
3579case "x$ac_cv_prog_cc_c89" in
3580  x)
3581    { echo "$as_me:$LINENO: result: none needed" >&5
3582echo "${ECHO_T}none needed" >&6; } ;;
3583  xno)
3584    { echo "$as_me:$LINENO: result: unsupported" >&5
3585echo "${ECHO_T}unsupported" >&6; } ;;
3586  *)
3587    CC="$CC $ac_cv_prog_cc_c89"
3588    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3589echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3590esac
3591
3592
3593ac_ext=c
3594ac_cpp='$CPP $CPPFLAGS'
3595ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3596ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3597ac_compiler_gnu=$ac_cv_c_compiler_gnu
3598DEPDIR="${am__leading_dot}deps"
3599
3600ac_config_commands="$ac_config_commands depfiles"
3601
3602
3603am_make=${MAKE-make}
3604cat > confinc << 'END'
3605am__doit:
3606	@echo done
3607.PHONY: am__doit
3608END
3609# If we don't find an include directive, just comment out the code.
3610{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3611echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3612am__include="#"
3613am__quote=
3614_am_result=none
3615# First try GNU make style include.
3616echo "include confinc" > confmf
3617# We grep out `Entering directory' and `Leaving directory'
3618# messages which can occur if `w' ends up in MAKEFLAGS.
3619# In particular we don't look at `^make:' because GNU make might
3620# be invoked under some other name (usually "gmake"), in which
3621# case it prints its new name instead of `make'.
3622if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3623   am__include=include
3624   am__quote=
3625   _am_result=GNU
3626fi
3627# Now try BSD make style include.
3628if test "$am__include" = "#"; then
3629   echo '.include "confinc"' > confmf
3630   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3631      am__include=.include
3632      am__quote="\""
3633      _am_result=BSD
3634   fi
3635fi
3636
3637
3638{ echo "$as_me:$LINENO: result: $_am_result" >&5
3639echo "${ECHO_T}$_am_result" >&6; }
3640rm -f confinc confmf
3641
3642# Check whether --enable-dependency-tracking was given.
3643if test "${enable_dependency_tracking+set}" = set; then
3644  enableval=$enable_dependency_tracking;
3645fi
3646
3647if test "x$enable_dependency_tracking" != xno; then
3648  am_depcomp="$ac_aux_dir/depcomp"
3649  AMDEPBACKSLASH='\'
3650fi
3651 if test "x$enable_dependency_tracking" != xno; then
3652  AMDEP_TRUE=
3653  AMDEP_FALSE='#'
3654else
3655  AMDEP_TRUE='#'
3656  AMDEP_FALSE=
3657fi
3658
3659
3660
3661depcc="$CC"   am_compiler_list=
3662
3663{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3664echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3665if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3666  echo $ECHO_N "(cached) $ECHO_C" >&6
3667else
3668  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3669  # We make a subdir and do the tests there.  Otherwise we can end up
3670  # making bogus files that we don't know about and never remove.  For
3671  # instance it was reported that on HP-UX the gcc test will end up
3672  # making a dummy file named `D' -- because `-MD' means `put the output
3673  # in D'.
3674  mkdir conftest.dir
3675  # Copy depcomp to subdir because otherwise we won't find it if we're
3676  # using a relative directory.
3677  cp "$am_depcomp" conftest.dir
3678  cd conftest.dir
3679  # We will build objects and dependencies in a subdirectory because
3680  # it helps to detect inapplicable dependency modes.  For instance
3681  # both Tru64's cc and ICC support -MD to output dependencies as a
3682  # side effect of compilation, but ICC will put the dependencies in
3683  # the current directory while Tru64 will put them in the object
3684  # directory.
3685  mkdir sub
3686
3687  am_cv_CC_dependencies_compiler_type=none
3688  if test "$am_compiler_list" = ""; then
3689     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3690  fi
3691  for depmode in $am_compiler_list; do
3692    # Setup a source with many dependencies, because some compilers
3693    # like to wrap large dependency lists on column 80 (with \), and
3694    # we should not choose a depcomp mode which is confused by this.
3695    #
3696    # We need to recreate these files for each test, as the compiler may
3697    # overwrite some of them when testing with obscure command lines.
3698    # This happens at least with the AIX C compiler.
3699    : > sub/conftest.c
3700    for i in 1 2 3 4 5 6; do
3701      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3702      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3703      # Solaris 8's {/usr,}/bin/sh.
3704      touch sub/conftst$i.h
3705    done
3706    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3707
3708    case $depmode in
3709    nosideeffect)
3710      # after this tag, mechanisms are not by side-effect, so they'll
3711      # only be used when explicitly requested
3712      if test "x$enable_dependency_tracking" = xyes; then
3713	continue
3714      else
3715	break
3716      fi
3717      ;;
3718    none) break ;;
3719    esac
3720    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3721    # mode.  It turns out that the SunPro C++ compiler does not properly
3722    # handle `-M -o', and we need to detect this.
3723    if depmode=$depmode \
3724       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3725       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3726       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3727         >/dev/null 2>conftest.err &&
3728       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3729       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3730       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3731       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3732      # icc doesn't choke on unknown options, it will just issue warnings
3733      # or remarks (even with -Werror).  So we grep stderr for any message
3734      # that says an option was ignored or not supported.
3735      # When given -MP, icc 7.0 and 7.1 complain thusly:
3736      #   icc: Command line warning: ignoring option '-M'; no argument required
3737      # The diagnosis changed in icc 8.0:
3738      #   icc: Command line remark: option '-MP' not supported
3739      if (grep 'ignoring option' conftest.err ||
3740          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3741        am_cv_CC_dependencies_compiler_type=$depmode
3742        break
3743      fi
3744    fi
3745  done
3746
3747  cd ..
3748  rm -rf conftest.dir
3749else
3750  am_cv_CC_dependencies_compiler_type=none
3751fi
3752
3753fi
3754{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3755echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3756CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3757
3758 if
3759  test "x$enable_dependency_tracking" != xno \
3760  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3761  am__fastdepCC_TRUE=
3762  am__fastdepCC_FALSE='#'
3763else
3764  am__fastdepCC_TRUE='#'
3765  am__fastdepCC_FALSE=
3766fi
3767
3768
3769# Find a good install program.  We prefer a C program (faster),
3770# so one script is as good as another.  But avoid the broken or
3771# incompatible versions:
3772# SysV /etc/install, /usr/sbin/install
3773# SunOS /usr/etc/install
3774# IRIX /sbin/install
3775# AIX /bin/install
3776# AmigaOS /C/install, which installs bootblocks on floppy discs
3777# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3778# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3779# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3780# OS/2's system install, which has a completely different semantic
3781# ./install, which can be erroneously created by make from ./install.sh.
3782{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3783echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3784if test -z "$INSTALL"; then
3785if test "${ac_cv_path_install+set}" = set; then
3786  echo $ECHO_N "(cached) $ECHO_C" >&6
3787else
3788  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789for as_dir in $PATH
3790do
3791  IFS=$as_save_IFS
3792  test -z "$as_dir" && as_dir=.
3793  # Account for people who put trailing slashes in PATH elements.
3794case $as_dir/ in
3795  ./ | .// | /cC/* | \
3796  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3797  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3798  /usr/ucb/* ) ;;
3799  *)
3800    # OSF1 and SCO ODT 3.0 have their own names for install.
3801    # Don't use installbsd from OSF since it installs stuff as root
3802    # by default.
3803    for ac_prog in ginstall scoinst install; do
3804      for ac_exec_ext in '' $ac_executable_extensions; do
3805	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3806	  if test $ac_prog = install &&
3807	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3808	    # AIX install.  It has an incompatible calling convention.
3809	    :
3810	  elif test $ac_prog = install &&
3811	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3812	    # program-specific install script used by HP pwplus--don't use.
3813	    :
3814	  else
3815	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3816	    break 3
3817	  fi
3818	fi
3819      done
3820    done
3821    ;;
3822esac
3823done
3824IFS=$as_save_IFS
3825
3826
3827fi
3828  if test "${ac_cv_path_install+set}" = set; then
3829    INSTALL=$ac_cv_path_install
3830  else
3831    # As a last resort, use the slow shell script.  Don't cache a
3832    # value for INSTALL within a source directory, because that will
3833    # break other packages using the cache if that directory is
3834    # removed, or if the value is a relative name.
3835    INSTALL=$ac_install_sh
3836  fi
3837fi
3838{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3839echo "${ECHO_T}$INSTALL" >&6; }
3840
3841# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3842# It thinks the first close brace ends the variable substitution.
3843test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3844
3845test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3846
3847test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3848
3849ac_ext=c
3850ac_cpp='$CPP $CPPFLAGS'
3851ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3852ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3853ac_compiler_gnu=$ac_cv_c_compiler_gnu
3854{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3855echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3856# On Suns, sometimes $CPP names a directory.
3857if test -n "$CPP" && test -d "$CPP"; then
3858  CPP=
3859fi
3860if test -z "$CPP"; then
3861  if test "${ac_cv_prog_CPP+set}" = set; then
3862  echo $ECHO_N "(cached) $ECHO_C" >&6
3863else
3864      # Double quotes because CPP needs to be expanded
3865    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3866    do
3867      ac_preproc_ok=false
3868for ac_c_preproc_warn_flag in '' yes
3869do
3870  # Use a header file that comes with gcc, so configuring glibc
3871  # with a fresh cross-compiler works.
3872  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3873  # <limits.h> exists even on freestanding compilers.
3874  # On the NeXT, cc -E runs the code through the compiler's parser,
3875  # not just through cpp. "Syntax error" is here to catch this case.
3876  cat >conftest.$ac_ext <<_ACEOF
3877/* confdefs.h.  */
3878_ACEOF
3879cat confdefs.h >>conftest.$ac_ext
3880cat >>conftest.$ac_ext <<_ACEOF
3881/* end confdefs.h.  */
3882#ifdef __STDC__
3883# include <limits.h>
3884#else
3885# include <assert.h>
3886#endif
3887		     Syntax error
3888_ACEOF
3889if { (ac_try="$ac_cpp conftest.$ac_ext"
3890case "(($ac_try" in
3891  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3892  *) ac_try_echo=$ac_try;;
3893esac
3894eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3895  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3896  ac_status=$?
3897  grep -v '^ *+' conftest.er1 >conftest.err
3898  rm -f conftest.er1
3899  cat conftest.err >&5
3900  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901  (exit $ac_status); } >/dev/null && {
3902	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3903	 test ! -s conftest.err
3904       }; then
3905  :
3906else
3907  echo "$as_me: failed program was:" >&5
3908sed 's/^/| /' conftest.$ac_ext >&5
3909
3910  # Broken: fails on valid input.
3911continue
3912fi
3913
3914rm -f conftest.err conftest.$ac_ext
3915
3916  # OK, works on sane cases.  Now check whether nonexistent headers
3917  # can be detected and how.
3918  cat >conftest.$ac_ext <<_ACEOF
3919/* confdefs.h.  */
3920_ACEOF
3921cat confdefs.h >>conftest.$ac_ext
3922cat >>conftest.$ac_ext <<_ACEOF
3923/* end confdefs.h.  */
3924#include <ac_nonexistent.h>
3925_ACEOF
3926if { (ac_try="$ac_cpp conftest.$ac_ext"
3927case "(($ac_try" in
3928  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929  *) ac_try_echo=$ac_try;;
3930esac
3931eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3932  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3933  ac_status=$?
3934  grep -v '^ *+' conftest.er1 >conftest.err
3935  rm -f conftest.er1
3936  cat conftest.err >&5
3937  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938  (exit $ac_status); } >/dev/null && {
3939	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3940	 test ! -s conftest.err
3941       }; then
3942  # Broken: success on invalid input.
3943continue
3944else
3945  echo "$as_me: failed program was:" >&5
3946sed 's/^/| /' conftest.$ac_ext >&5
3947
3948  # Passes both tests.
3949ac_preproc_ok=:
3950break
3951fi
3952
3953rm -f conftest.err conftest.$ac_ext
3954
3955done
3956# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3957rm -f conftest.err conftest.$ac_ext
3958if $ac_preproc_ok; then
3959  break
3960fi
3961
3962    done
3963    ac_cv_prog_CPP=$CPP
3964
3965fi
3966  CPP=$ac_cv_prog_CPP
3967else
3968  ac_cv_prog_CPP=$CPP
3969fi
3970{ echo "$as_me:$LINENO: result: $CPP" >&5
3971echo "${ECHO_T}$CPP" >&6; }
3972ac_preproc_ok=false
3973for ac_c_preproc_warn_flag in '' yes
3974do
3975  # Use a header file that comes with gcc, so configuring glibc
3976  # with a fresh cross-compiler works.
3977  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3978  # <limits.h> exists even on freestanding compilers.
3979  # On the NeXT, cc -E runs the code through the compiler's parser,
3980  # not just through cpp. "Syntax error" is here to catch this case.
3981  cat >conftest.$ac_ext <<_ACEOF
3982/* confdefs.h.  */
3983_ACEOF
3984cat confdefs.h >>conftest.$ac_ext
3985cat >>conftest.$ac_ext <<_ACEOF
3986/* end confdefs.h.  */
3987#ifdef __STDC__
3988# include <limits.h>
3989#else
3990# include <assert.h>
3991#endif
3992		     Syntax error
3993_ACEOF
3994if { (ac_try="$ac_cpp conftest.$ac_ext"
3995case "(($ac_try" in
3996  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997  *) ac_try_echo=$ac_try;;
3998esac
3999eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4000  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4001  ac_status=$?
4002  grep -v '^ *+' conftest.er1 >conftest.err
4003  rm -f conftest.er1
4004  cat conftest.err >&5
4005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006  (exit $ac_status); } >/dev/null && {
4007	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4008	 test ! -s conftest.err
4009       }; then
4010  :
4011else
4012  echo "$as_me: failed program was:" >&5
4013sed 's/^/| /' conftest.$ac_ext >&5
4014
4015  # Broken: fails on valid input.
4016continue
4017fi
4018
4019rm -f conftest.err conftest.$ac_ext
4020
4021  # OK, works on sane cases.  Now check whether nonexistent headers
4022  # can be detected and how.
4023  cat >conftest.$ac_ext <<_ACEOF
4024/* confdefs.h.  */
4025_ACEOF
4026cat confdefs.h >>conftest.$ac_ext
4027cat >>conftest.$ac_ext <<_ACEOF
4028/* end confdefs.h.  */
4029#include <ac_nonexistent.h>
4030_ACEOF
4031if { (ac_try="$ac_cpp conftest.$ac_ext"
4032case "(($ac_try" in
4033  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4034  *) ac_try_echo=$ac_try;;
4035esac
4036eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4037  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4038  ac_status=$?
4039  grep -v '^ *+' conftest.er1 >conftest.err
4040  rm -f conftest.er1
4041  cat conftest.err >&5
4042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043  (exit $ac_status); } >/dev/null && {
4044	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4045	 test ! -s conftest.err
4046       }; then
4047  # Broken: success on invalid input.
4048continue
4049else
4050  echo "$as_me: failed program was:" >&5
4051sed 's/^/| /' conftest.$ac_ext >&5
4052
4053  # Passes both tests.
4054ac_preproc_ok=:
4055break
4056fi
4057
4058rm -f conftest.err conftest.$ac_ext
4059
4060done
4061# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4062rm -f conftest.err conftest.$ac_ext
4063if $ac_preproc_ok; then
4064  :
4065else
4066  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4067See \`config.log' for more details." >&5
4068echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4069See \`config.log' for more details." >&2;}
4070   { (exit 1); exit 1; }; }
4071fi
4072
4073ac_ext=c
4074ac_cpp='$CPP $CPPFLAGS'
4075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4077ac_compiler_gnu=$ac_cv_c_compiler_gnu
4078
4079# Extract the first word of "rm", so it can be a program name with args.
4080set dummy rm; ac_word=$2
4081{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4082echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4083if test "${ac_cv_path_RM+set}" = set; then
4084  echo $ECHO_N "(cached) $ECHO_C" >&6
4085else
4086  case $RM in
4087  [\\/]* | ?:[\\/]*)
4088  ac_cv_path_RM="$RM" # Let the user override the test with a path.
4089  ;;
4090  *)
4091  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092for as_dir in $PATH
4093do
4094  IFS=$as_save_IFS
4095  test -z "$as_dir" && as_dir=.
4096  for ac_exec_ext in '' $ac_executable_extensions; do
4097  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4098    ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4099    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4100    break 2
4101  fi
4102done
4103done
4104IFS=$as_save_IFS
4105
4106  test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
4107  ;;
4108esac
4109fi
4110RM=$ac_cv_path_RM
4111if test -n "$RM"; then
4112  { echo "$as_me:$LINENO: result: $RM" >&5
4113echo "${ECHO_T}$RM" >&6; }
4114else
4115  { echo "$as_me:$LINENO: result: no" >&5
4116echo "${ECHO_T}no" >&6; }
4117fi
4118
4119
4120# Extract the first word of "mv", so it can be a program name with args.
4121set dummy mv; ac_word=$2
4122{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4123echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4124if test "${ac_cv_path_MV+set}" = set; then
4125  echo $ECHO_N "(cached) $ECHO_C" >&6
4126else
4127  case $MV in
4128  [\\/]* | ?:[\\/]*)
4129  ac_cv_path_MV="$MV" # Let the user override the test with a path.
4130  ;;
4131  *)
4132  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133for as_dir in $PATH
4134do
4135  IFS=$as_save_IFS
4136  test -z "$as_dir" && as_dir=.
4137  for ac_exec_ext in '' $ac_executable_extensions; do
4138  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4139    ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4140    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4141    break 2
4142  fi
4143done
4144done
4145IFS=$as_save_IFS
4146
4147  test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4148  ;;
4149esac
4150fi
4151MV=$ac_cv_path_MV
4152if test -n "$MV"; then
4153  { echo "$as_me:$LINENO: result: $MV" >&5
4154echo "${ECHO_T}$MV" >&6; }
4155else
4156  { echo "$as_me:$LINENO: result: no" >&5
4157echo "${ECHO_T}no" >&6; }
4158fi
4159
4160
4161# Extract the first word of "tar", so it can be a program name with args.
4162set dummy tar; ac_word=$2
4163{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4164echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4165if test "${ac_cv_path_TAR+set}" = set; then
4166  echo $ECHO_N "(cached) $ECHO_C" >&6
4167else
4168  case $TAR in
4169  [\\/]* | ?:[\\/]*)
4170  ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4171  ;;
4172  *)
4173  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4174for as_dir in $PATH
4175do
4176  IFS=$as_save_IFS
4177  test -z "$as_dir" && as_dir=.
4178  for ac_exec_ext in '' $ac_executable_extensions; do
4179  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4180    ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4181    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4182    break 2
4183  fi
4184done
4185done
4186IFS=$as_save_IFS
4187
4188  test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
4189  ;;
4190esac
4191fi
4192TAR=$ac_cv_path_TAR
4193if test -n "$TAR"; then
4194  { echo "$as_me:$LINENO: result: $TAR" >&5
4195echo "${ECHO_T}$TAR" >&6; }
4196else
4197  { echo "$as_me:$LINENO: result: no" >&5
4198echo "${ECHO_T}no" >&6; }
4199fi
4200
4201
4202# Extract the first word of "perl", so it can be a program name with args.
4203set dummy perl; ac_word=$2
4204{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4205echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4206if test "${ac_cv_path_PERL+set}" = set; then
4207  echo $ECHO_N "(cached) $ECHO_C" >&6
4208else
4209  case $PERL in
4210  [\\/]* | ?:[\\/]*)
4211  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4212  ;;
4213  *)
4214  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4215for as_dir in $PATH
4216do
4217  IFS=$as_save_IFS
4218  test -z "$as_dir" && as_dir=.
4219  for ac_exec_ext in '' $ac_executable_extensions; do
4220  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4221    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4222    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4223    break 2
4224  fi
4225done
4226done
4227IFS=$as_save_IFS
4228
4229  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
4230  ;;
4231esac
4232fi
4233PERL=$ac_cv_path_PERL
4234if test -n "$PERL"; then
4235  { echo "$as_me:$LINENO: result: $PERL" >&5
4236echo "${ECHO_T}$PERL" >&6; }
4237else
4238  { echo "$as_me:$LINENO: result: no" >&5
4239echo "${ECHO_T}no" >&6; }
4240fi
4241
4242
4243# Extract the first word of "wget", so it can be a program name with args.
4244set dummy wget; ac_word=$2
4245{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4246echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4247if test "${ac_cv_path_WGET+set}" = set; then
4248  echo $ECHO_N "(cached) $ECHO_C" >&6
4249else
4250  case $WGET in
4251  [\\/]* | ?:[\\/]*)
4252  ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
4253  ;;
4254  *)
4255  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256for as_dir in $PATH
4257do
4258  IFS=$as_save_IFS
4259  test -z "$as_dir" && as_dir=.
4260  for ac_exec_ext in '' $ac_executable_extensions; do
4261  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4262    ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
4263    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4264    break 2
4265  fi
4266done
4267done
4268IFS=$as_save_IFS
4269
4270  test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="/usr/bin/wget"
4271  ;;
4272esac
4273fi
4274WGET=$ac_cv_path_WGET
4275if test -n "$WGET"; then
4276  { echo "$as_me:$LINENO: result: $WGET" >&5
4277echo "${ECHO_T}$WGET" >&6; }
4278else
4279  { echo "$as_me:$LINENO: result: no" >&5
4280echo "${ECHO_T}no" >&6; }
4281fi
4282
4283
4284# Extract the first word of "xmllint", so it can be a program name with args.
4285set dummy xmllint; ac_word=$2
4286{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4287echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4288if test "${ac_cv_path_XMLLINT+set}" = set; then
4289  echo $ECHO_N "(cached) $ECHO_C" >&6
4290else
4291  case $XMLLINT in
4292  [\\/]* | ?:[\\/]*)
4293  ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
4294  ;;
4295  *)
4296  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297for as_dir in $PATH
4298do
4299  IFS=$as_save_IFS
4300  test -z "$as_dir" && as_dir=.
4301  for ac_exec_ext in '' $ac_executable_extensions; do
4302  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4303    ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
4304    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4305    break 2
4306  fi
4307done
4308done
4309IFS=$as_save_IFS
4310
4311  test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint"
4312  ;;
4313esac
4314fi
4315XMLLINT=$ac_cv_path_XMLLINT
4316if test -n "$XMLLINT"; then
4317  { echo "$as_me:$LINENO: result: $XMLLINT" >&5
4318echo "${ECHO_T}$XMLLINT" >&6; }
4319else
4320  { echo "$as_me:$LINENO: result: no" >&5
4321echo "${ECHO_T}no" >&6; }
4322fi
4323
4324
4325# Extract the first word of "xsltproc", so it can be a program name with args.
4326set dummy xsltproc; ac_word=$2
4327{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4328echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4329if test "${ac_cv_path_XSLTPROC+set}" = set; then
4330  echo $ECHO_N "(cached) $ECHO_C" >&6
4331else
4332  case $XSLTPROC in
4333  [\\/]* | ?:[\\/]*)
4334  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
4335  ;;
4336  *)
4337  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4338for as_dir in $PATH
4339do
4340  IFS=$as_save_IFS
4341  test -z "$as_dir" && as_dir=.
4342  for ac_exec_ext in '' $ac_executable_extensions; do
4343  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4344    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
4345    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4346    break 2
4347  fi
4348done
4349done
4350IFS=$as_save_IFS
4351
4352  test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc"
4353  ;;
4354esac
4355fi
4356XSLTPROC=$ac_cv_path_XSLTPROC
4357if test -n "$XSLTPROC"; then
4358  { echo "$as_me:$LINENO: result: $XSLTPROC" >&5
4359echo "${ECHO_T}$XSLTPROC" >&6; }
4360else
4361  { echo "$as_me:$LINENO: result: no" >&5
4362echo "${ECHO_T}no" >&6; }
4363fi
4364
4365
4366
4367{ echo "$as_me:$LINENO: checking for function prototypes" >&5
4368echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
4369if test "$ac_cv_prog_cc_c89" != no; then
4370  { echo "$as_me:$LINENO: result: yes" >&5
4371echo "${ECHO_T}yes" >&6; }
4372
4373cat >>confdefs.h <<\_ACEOF
4374#define PROTOTYPES 1
4375_ACEOF
4376
4377
4378cat >>confdefs.h <<\_ACEOF
4379#define __PROTOTYPES 1
4380_ACEOF
4381
4382else
4383  { echo "$as_me:$LINENO: result: no" >&5
4384echo "${ECHO_T}no" >&6; }
4385fi
4386
4387
4388
4389{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4390echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4391if test "${ac_cv_path_GREP+set}" = set; then
4392  echo $ECHO_N "(cached) $ECHO_C" >&6
4393else
4394  # Extract the first word of "grep ggrep" to use in msg output
4395if test -z "$GREP"; then
4396set dummy grep ggrep; ac_prog_name=$2
4397if test "${ac_cv_path_GREP+set}" = set; then
4398  echo $ECHO_N "(cached) $ECHO_C" >&6
4399else
4400  ac_path_GREP_found=false
4401# Loop through the user's path and test for each of PROGNAME-LIST
4402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4404do
4405  IFS=$as_save_IFS
4406  test -z "$as_dir" && as_dir=.
4407  for ac_prog in grep ggrep; do
4408  for ac_exec_ext in '' $ac_executable_extensions; do
4409    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4410    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4411    # Check for GNU ac_path_GREP and select it if it is found.
4412  # Check for GNU $ac_path_GREP
4413case `"$ac_path_GREP" --version 2>&1` in
4414*GNU*)
4415  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4416*)
4417  ac_count=0
4418  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4419  while :
4420  do
4421    cat "conftest.in" "conftest.in" >"conftest.tmp"
4422    mv "conftest.tmp" "conftest.in"
4423    cp "conftest.in" "conftest.nl"
4424    echo 'GREP' >> "conftest.nl"
4425    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4426    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4427    ac_count=`expr $ac_count + 1`
4428    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4429      # Best one so far, save it but keep looking for a better one
4430      ac_cv_path_GREP="$ac_path_GREP"
4431      ac_path_GREP_max=$ac_count
4432    fi
4433    # 10*(2^10) chars as input seems more than enough
4434    test $ac_count -gt 10 && break
4435  done
4436  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4437esac
4438
4439
4440    $ac_path_GREP_found && break 3
4441  done
4442done
4443
4444done
4445IFS=$as_save_IFS
4446
4447
4448fi
4449
4450GREP="$ac_cv_path_GREP"
4451if test -z "$GREP"; then
4452  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4453echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4454   { (exit 1); exit 1; }; }
4455fi
4456
4457else
4458  ac_cv_path_GREP=$GREP
4459fi
4460
4461
4462fi
4463{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4464echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4465 GREP="$ac_cv_path_GREP"
4466
4467
4468{ echo "$as_me:$LINENO: checking for egrep" >&5
4469echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4470if test "${ac_cv_path_EGREP+set}" = set; then
4471  echo $ECHO_N "(cached) $ECHO_C" >&6
4472else
4473  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4474   then ac_cv_path_EGREP="$GREP -E"
4475   else
4476     # Extract the first word of "egrep" to use in msg output
4477if test -z "$EGREP"; then
4478set dummy egrep; ac_prog_name=$2
4479if test "${ac_cv_path_EGREP+set}" = set; then
4480  echo $ECHO_N "(cached) $ECHO_C" >&6
4481else
4482  ac_path_EGREP_found=false
4483# Loop through the user's path and test for each of PROGNAME-LIST
4484as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4485for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4486do
4487  IFS=$as_save_IFS
4488  test -z "$as_dir" && as_dir=.
4489  for ac_prog in egrep; do
4490  for ac_exec_ext in '' $ac_executable_extensions; do
4491    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4492    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4493    # Check for GNU ac_path_EGREP and select it if it is found.
4494  # Check for GNU $ac_path_EGREP
4495case `"$ac_path_EGREP" --version 2>&1` in
4496*GNU*)
4497  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4498*)
4499  ac_count=0
4500  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4501  while :
4502  do
4503    cat "conftest.in" "conftest.in" >"conftest.tmp"
4504    mv "conftest.tmp" "conftest.in"
4505    cp "conftest.in" "conftest.nl"
4506    echo 'EGREP' >> "conftest.nl"
4507    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4508    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4509    ac_count=`expr $ac_count + 1`
4510    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4511      # Best one so far, save it but keep looking for a better one
4512      ac_cv_path_EGREP="$ac_path_EGREP"
4513      ac_path_EGREP_max=$ac_count
4514    fi
4515    # 10*(2^10) chars as input seems more than enough
4516    test $ac_count -gt 10 && break
4517  done
4518  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4519esac
4520
4521
4522    $ac_path_EGREP_found && break 3
4523  done
4524done
4525
4526done
4527IFS=$as_save_IFS
4528
4529
4530fi
4531
4532EGREP="$ac_cv_path_EGREP"
4533if test -z "$EGREP"; then
4534  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4535echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4536   { (exit 1); exit 1; }; }
4537fi
4538
4539else
4540  ac_cv_path_EGREP=$EGREP
4541fi
4542
4543
4544   fi
4545fi
4546{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4547echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4548 EGREP="$ac_cv_path_EGREP"
4549
4550
4551{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4552echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4553if test "${ac_cv_header_stdc+set}" = set; then
4554  echo $ECHO_N "(cached) $ECHO_C" >&6
4555else
4556  cat >conftest.$ac_ext <<_ACEOF
4557/* confdefs.h.  */
4558_ACEOF
4559cat confdefs.h >>conftest.$ac_ext
4560cat >>conftest.$ac_ext <<_ACEOF
4561/* end confdefs.h.  */
4562#include <stdlib.h>
4563#include <stdarg.h>
4564#include <string.h>
4565#include <float.h>
4566
4567int
4568main ()
4569{
4570
4571  ;
4572  return 0;
4573}
4574_ACEOF
4575rm -f conftest.$ac_objext
4576if { (ac_try="$ac_compile"
4577case "(($ac_try" in
4578  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579  *) ac_try_echo=$ac_try;;
4580esac
4581eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582  (eval "$ac_compile") 2>conftest.er1
4583  ac_status=$?
4584  grep -v '^ *+' conftest.er1 >conftest.err
4585  rm -f conftest.er1
4586  cat conftest.err >&5
4587  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588  (exit $ac_status); } && {
4589	 test -z "$ac_c_werror_flag" ||
4590	 test ! -s conftest.err
4591       } && test -s conftest.$ac_objext; then
4592  ac_cv_header_stdc=yes
4593else
4594  echo "$as_me: failed program was:" >&5
4595sed 's/^/| /' conftest.$ac_ext >&5
4596
4597	ac_cv_header_stdc=no
4598fi
4599
4600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4601
4602if test $ac_cv_header_stdc = yes; then
4603  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4604  cat >conftest.$ac_ext <<_ACEOF
4605/* confdefs.h.  */
4606_ACEOF
4607cat confdefs.h >>conftest.$ac_ext
4608cat >>conftest.$ac_ext <<_ACEOF
4609/* end confdefs.h.  */
4610#include <string.h>
4611
4612_ACEOF
4613if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4614  $EGREP "memchr" >/dev/null 2>&1; then
4615  :
4616else
4617  ac_cv_header_stdc=no
4618fi
4619rm -f conftest*
4620
4621fi
4622
4623if test $ac_cv_header_stdc = yes; then
4624  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4625  cat >conftest.$ac_ext <<_ACEOF
4626/* confdefs.h.  */
4627_ACEOF
4628cat confdefs.h >>conftest.$ac_ext
4629cat >>conftest.$ac_ext <<_ACEOF
4630/* end confdefs.h.  */
4631#include <stdlib.h>
4632
4633_ACEOF
4634if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4635  $EGREP "free" >/dev/null 2>&1; then
4636  :
4637else
4638  ac_cv_header_stdc=no
4639fi
4640rm -f conftest*
4641
4642fi
4643
4644if test $ac_cv_header_stdc = yes; then
4645  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4646  if test "$cross_compiling" = yes; then
4647  :
4648else
4649  cat >conftest.$ac_ext <<_ACEOF
4650/* confdefs.h.  */
4651_ACEOF
4652cat confdefs.h >>conftest.$ac_ext
4653cat >>conftest.$ac_ext <<_ACEOF
4654/* end confdefs.h.  */
4655#include <ctype.h>
4656#include <stdlib.h>
4657#if ((' ' & 0x0FF) == 0x020)
4658# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4659# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4660#else
4661# define ISLOWER(c) \
4662		   (('a' <= (c) && (c) <= 'i') \
4663		     || ('j' <= (c) && (c) <= 'r') \
4664		     || ('s' <= (c) && (c) <= 'z'))
4665# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4666#endif
4667
4668#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4669int
4670main ()
4671{
4672  int i;
4673  for (i = 0; i < 256; i++)
4674    if (XOR (islower (i), ISLOWER (i))
4675	|| toupper (i) != TOUPPER (i))
4676      return 2;
4677  return 0;
4678}
4679_ACEOF
4680rm -f conftest$ac_exeext
4681if { (ac_try="$ac_link"
4682case "(($ac_try" in
4683  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4684  *) ac_try_echo=$ac_try;;
4685esac
4686eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4687  (eval "$ac_link") 2>&5
4688  ac_status=$?
4689  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4691  { (case "(($ac_try" in
4692  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4693  *) ac_try_echo=$ac_try;;
4694esac
4695eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4696  (eval "$ac_try") 2>&5
4697  ac_status=$?
4698  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699  (exit $ac_status); }; }; then
4700  :
4701else
4702  echo "$as_me: program exited with status $ac_status" >&5
4703echo "$as_me: failed program was:" >&5
4704sed 's/^/| /' conftest.$ac_ext >&5
4705
4706( exit $ac_status )
4707ac_cv_header_stdc=no
4708fi
4709rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4710fi
4711
4712
4713fi
4714fi
4715{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4716echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4717if test $ac_cv_header_stdc = yes; then
4718
4719cat >>confdefs.h <<\_ACEOF
4720#define STDC_HEADERS 1
4721_ACEOF
4722
4723fi
4724
4725# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4736		  inttypes.h stdint.h unistd.h
4737do
4738as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4739{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4740echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4741if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4742  echo $ECHO_N "(cached) $ECHO_C" >&6
4743else
4744  cat >conftest.$ac_ext <<_ACEOF
4745/* confdefs.h.  */
4746_ACEOF
4747cat confdefs.h >>conftest.$ac_ext
4748cat >>conftest.$ac_ext <<_ACEOF
4749/* end confdefs.h.  */
4750$ac_includes_default
4751
4752#include <$ac_header>
4753_ACEOF
4754rm -f conftest.$ac_objext
4755if { (ac_try="$ac_compile"
4756case "(($ac_try" in
4757  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758  *) ac_try_echo=$ac_try;;
4759esac
4760eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4761  (eval "$ac_compile") 2>conftest.er1
4762  ac_status=$?
4763  grep -v '^ *+' conftest.er1 >conftest.err
4764  rm -f conftest.er1
4765  cat conftest.err >&5
4766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767  (exit $ac_status); } && {
4768	 test -z "$ac_c_werror_flag" ||
4769	 test ! -s conftest.err
4770       } && test -s conftest.$ac_objext; then
4771  eval "$as_ac_Header=yes"
4772else
4773  echo "$as_me: failed program was:" >&5
4774sed 's/^/| /' conftest.$ac_ext >&5
4775
4776	eval "$as_ac_Header=no"
4777fi
4778
4779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4780fi
4781ac_res=`eval echo '${'$as_ac_Header'}'`
4782	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4783echo "${ECHO_T}$ac_res" >&6; }
4784if test `eval echo '${'$as_ac_Header'}'` = yes; then
4785  cat >>confdefs.h <<_ACEOF
4786#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4787_ACEOF
4788
4789fi
4790
4791done
4792
4793
4794
4795if test "$ac_cv_prog_cc_stdc" != no; then
4796  U= ANSI2KNR=
4797else
4798  U=_ ANSI2KNR=./ansi2knr
4799fi
4800# Ensure some checks needed by ansi2knr itself.
4801
4802
4803for ac_header in string.h
4804do
4805as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4806if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4807  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4808echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4809if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4810  echo $ECHO_N "(cached) $ECHO_C" >&6
4811fi
4812ac_res=`eval echo '${'$as_ac_Header'}'`
4813	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4814echo "${ECHO_T}$ac_res" >&6; }
4815else
4816  # Is the header compilable?
4817{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4818echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4819cat >conftest.$ac_ext <<_ACEOF
4820/* confdefs.h.  */
4821_ACEOF
4822cat confdefs.h >>conftest.$ac_ext
4823cat >>conftest.$ac_ext <<_ACEOF
4824/* end confdefs.h.  */
4825$ac_includes_default
4826#include <$ac_header>
4827_ACEOF
4828rm -f conftest.$ac_objext
4829if { (ac_try="$ac_compile"
4830case "(($ac_try" in
4831  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832  *) ac_try_echo=$ac_try;;
4833esac
4834eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4835  (eval "$ac_compile") 2>conftest.er1
4836  ac_status=$?
4837  grep -v '^ *+' conftest.er1 >conftest.err
4838  rm -f conftest.er1
4839  cat conftest.err >&5
4840  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841  (exit $ac_status); } && {
4842	 test -z "$ac_c_werror_flag" ||
4843	 test ! -s conftest.err
4844       } && test -s conftest.$ac_objext; then
4845  ac_header_compiler=yes
4846else
4847  echo "$as_me: failed program was:" >&5
4848sed 's/^/| /' conftest.$ac_ext >&5
4849
4850	ac_header_compiler=no
4851fi
4852
4853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4854{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4855echo "${ECHO_T}$ac_header_compiler" >&6; }
4856
4857# Is the header present?
4858{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4859echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4860cat >conftest.$ac_ext <<_ACEOF
4861/* confdefs.h.  */
4862_ACEOF
4863cat confdefs.h >>conftest.$ac_ext
4864cat >>conftest.$ac_ext <<_ACEOF
4865/* end confdefs.h.  */
4866#include <$ac_header>
4867_ACEOF
4868if { (ac_try="$ac_cpp conftest.$ac_ext"
4869case "(($ac_try" in
4870  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4871  *) ac_try_echo=$ac_try;;
4872esac
4873eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4874  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4875  ac_status=$?
4876  grep -v '^ *+' conftest.er1 >conftest.err
4877  rm -f conftest.er1
4878  cat conftest.err >&5
4879  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880  (exit $ac_status); } >/dev/null && {
4881	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4882	 test ! -s conftest.err
4883       }; then
4884  ac_header_preproc=yes
4885else
4886  echo "$as_me: failed program was:" >&5
4887sed 's/^/| /' conftest.$ac_ext >&5
4888
4889  ac_header_preproc=no
4890fi
4891
4892rm -f conftest.err conftest.$ac_ext
4893{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4894echo "${ECHO_T}$ac_header_preproc" >&6; }
4895
4896# So?  What about this header?
4897case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4898  yes:no: )
4899    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4900echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4901    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4902echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4903    ac_header_preproc=yes
4904    ;;
4905  no:yes:* )
4906    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4907echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4908    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4909echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4910    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4911echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4912    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4913echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4914    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4915echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4916    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4917echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4918
4919    ;;
4920esac
4921{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4922echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4923if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4924  echo $ECHO_N "(cached) $ECHO_C" >&6
4925else
4926  eval "$as_ac_Header=\$ac_header_preproc"
4927fi
4928ac_res=`eval echo '${'$as_ac_Header'}'`
4929	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4930echo "${ECHO_T}$ac_res" >&6; }
4931
4932fi
4933if test `eval echo '${'$as_ac_Header'}'` = yes; then
4934  cat >>confdefs.h <<_ACEOF
4935#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4936_ACEOF
4937
4938fi
4939
4940done
4941
4942
4943test "x$U" != "x" && { { echo "$as_me:$LINENO: error: Compiler not ANSI compliant" >&5
4944echo "$as_me: error: Compiler not ANSI compliant" >&2;}
4945   { (exit 1); exit 1; }; }
4946
4947
4948
4949# Check whether --enable-shared was given.
4950if test "${enable_shared+set}" = set; then
4951  enableval=$enable_shared; p=${PACKAGE-default}
4952    case $enableval in
4953    yes) enable_shared=yes ;;
4954    no) enable_shared=no ;;
4955    *)
4956      enable_shared=no
4957      # Look at the argument we got.  We use all the common list separators.
4958      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4959      for pkg in $enableval; do
4960	IFS="$lt_save_ifs"
4961	if test "X$pkg" = "X$p"; then
4962	  enable_shared=yes
4963	fi
4964      done
4965      IFS="$lt_save_ifs"
4966      ;;
4967    esac
4968else
4969  enable_shared=yes
4970fi
4971
4972
4973# Check whether --enable-static was given.
4974if test "${enable_static+set}" = set; then
4975  enableval=$enable_static; p=${PACKAGE-default}
4976    case $enableval in
4977    yes) enable_static=yes ;;
4978    no) enable_static=no ;;
4979    *)
4980     enable_static=no
4981      # Look at the argument we got.  We use all the common list separators.
4982      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4983      for pkg in $enableval; do
4984	IFS="$lt_save_ifs"
4985	if test "X$pkg" = "X$p"; then
4986	  enable_static=yes
4987	fi
4988      done
4989      IFS="$lt_save_ifs"
4990      ;;
4991    esac
4992else
4993  enable_static=yes
4994fi
4995
4996
4997# Check whether --enable-fast-install was given.
4998if test "${enable_fast_install+set}" = set; then
4999  enableval=$enable_fast_install; p=${PACKAGE-default}
5000    case $enableval in
5001    yes) enable_fast_install=yes ;;
5002    no) enable_fast_install=no ;;
5003    *)
5004      enable_fast_install=no
5005      # Look at the argument we got.  We use all the common list separators.
5006      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5007      for pkg in $enableval; do
5008	IFS="$lt_save_ifs"
5009	if test "X$pkg" = "X$p"; then
5010	  enable_fast_install=yes
5011	fi
5012      done
5013      IFS="$lt_save_ifs"
5014      ;;
5015    esac
5016else
5017  enable_fast_install=yes
5018fi
5019
5020
5021{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5022echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5023if test "${lt_cv_path_SED+set}" = set; then
5024  echo $ECHO_N "(cached) $ECHO_C" >&6
5025else
5026  # Loop through the user's path and test for sed and gsed.
5027# Then use that list of sed's as ones to test for truncation.
5028as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029for as_dir in $PATH
5030do
5031  IFS=$as_save_IFS
5032  test -z "$as_dir" && as_dir=.
5033  for lt_ac_prog in sed gsed; do
5034    for ac_exec_ext in '' $ac_executable_extensions; do
5035      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5036        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5037      fi
5038    done
5039  done
5040done
5041IFS=$as_save_IFS
5042lt_ac_max=0
5043lt_ac_count=0
5044# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5045# along with /bin/sed that truncates output.
5046for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5047  test ! -f $lt_ac_sed && continue
5048  cat /dev/null > conftest.in
5049  lt_ac_count=0
5050  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5051  # Check for GNU sed and select it if it is found.
5052  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5053    lt_cv_path_SED=$lt_ac_sed
5054    break
5055  fi
5056  while true; do
5057    cat conftest.in conftest.in >conftest.tmp
5058    mv conftest.tmp conftest.in
5059    cp conftest.in conftest.nl
5060    echo >>conftest.nl
5061    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5062    cmp -s conftest.out conftest.nl || break
5063    # 10000 chars as input seems more than enough
5064    test $lt_ac_count -gt 10 && break
5065    lt_ac_count=`expr $lt_ac_count + 1`
5066    if test $lt_ac_count -gt $lt_ac_max; then
5067      lt_ac_max=$lt_ac_count
5068      lt_cv_path_SED=$lt_ac_sed
5069    fi
5070  done
5071done
5072
5073fi
5074
5075SED=$lt_cv_path_SED
5076
5077{ echo "$as_me:$LINENO: result: $SED" >&5
5078echo "${ECHO_T}$SED" >&6; }
5079
5080
5081# Check whether --with-gnu-ld was given.
5082if test "${with_gnu_ld+set}" = set; then
5083  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5084else
5085  with_gnu_ld=no
5086fi
5087
5088ac_prog=ld
5089if test "$GCC" = yes; then
5090  # Check if gcc -print-prog-name=ld gives a path.
5091  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5092echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
5093  case $host in
5094  *-*-mingw*)
5095    # gcc leaves a trailing carriage return which upsets mingw
5096    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5097  *)
5098    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5099  esac
5100  case $ac_prog in
5101    # Accept absolute paths.
5102    [\\/]* | ?:[\\/]*)
5103      re_direlt='/[^/][^/]*/\.\./'
5104      # Canonicalize the pathname of ld
5105      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5106      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5107	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5108      done
5109      test -z "$LD" && LD="$ac_prog"
5110      ;;
5111  "")
5112    # If it fails, then pretend we aren't using GCC.
5113    ac_prog=ld
5114    ;;
5115  *)
5116    # If it is relative, then search for the first ld in PATH.
5117    with_gnu_ld=unknown
5118    ;;
5119  esac
5120elif test "$with_gnu_ld" = yes; then
5121  { echo "$as_me:$LINENO: checking for GNU ld" >&5
5122echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5123else
5124  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5125echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5126fi
5127if test "${lt_cv_path_LD+set}" = set; then
5128  echo $ECHO_N "(cached) $ECHO_C" >&6
5129else
5130  if test -z "$LD"; then
5131  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5132  for ac_dir in $PATH; do
5133    IFS="$lt_save_ifs"
5134    test -z "$ac_dir" && ac_dir=.
5135    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5136      lt_cv_path_LD="$ac_dir/$ac_prog"
5137      # Check to see if the program is GNU ld.  I'd rather use --version,
5138      # but apparently some variants of GNU ld only accept -v.
5139      # Break only if it was the GNU/non-GNU ld that we prefer.
5140      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5141      *GNU* | *'with BFD'*)
5142	test "$with_gnu_ld" != no && break
5143	;;
5144      *)
5145	test "$with_gnu_ld" != yes && break
5146	;;
5147      esac
5148    fi
5149  done
5150  IFS="$lt_save_ifs"
5151else
5152  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5153fi
5154fi
5155
5156LD="$lt_cv_path_LD"
5157if test -n "$LD"; then
5158  { echo "$as_me:$LINENO: result: $LD" >&5
5159echo "${ECHO_T}$LD" >&6; }
5160else
5161  { echo "$as_me:$LINENO: result: no" >&5
5162echo "${ECHO_T}no" >&6; }
5163fi
5164test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5165echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5166   { (exit 1); exit 1; }; }
5167{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5168echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5169if test "${lt_cv_prog_gnu_ld+set}" = set; then
5170  echo $ECHO_N "(cached) $ECHO_C" >&6
5171else
5172  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5173case `$LD -v 2>&1 </dev/null` in
5174*GNU* | *'with BFD'*)
5175  lt_cv_prog_gnu_ld=yes
5176  ;;
5177*)
5178  lt_cv_prog_gnu_ld=no
5179  ;;
5180esac
5181fi
5182{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5183echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5184with_gnu_ld=$lt_cv_prog_gnu_ld
5185
5186
5187{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5188echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5189if test "${lt_cv_ld_reload_flag+set}" = set; then
5190  echo $ECHO_N "(cached) $ECHO_C" >&6
5191else
5192  lt_cv_ld_reload_flag='-r'
5193fi
5194{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5195echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5196reload_flag=$lt_cv_ld_reload_flag
5197case $reload_flag in
5198"" | " "*) ;;
5199*) reload_flag=" $reload_flag" ;;
5200esac
5201reload_cmds='$LD$reload_flag -o $output$reload_objs'
5202case $host_os in
5203  darwin*)
5204    if test "$GCC" = yes; then
5205      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5206    else
5207      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5208    fi
5209    ;;
5210esac
5211
5212{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5213echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5214if test "${lt_cv_path_NM+set}" = set; then
5215  echo $ECHO_N "(cached) $ECHO_C" >&6
5216else
5217  if test -n "$NM"; then
5218  # Let the user override the test.
5219  lt_cv_path_NM="$NM"
5220else
5221  lt_nm_to_check="${ac_tool_prefix}nm"
5222  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5223    lt_nm_to_check="$lt_nm_to_check nm"
5224  fi
5225  for lt_tmp_nm in $lt_nm_to_check; do
5226    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5227    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5228      IFS="$lt_save_ifs"
5229      test -z "$ac_dir" && ac_dir=.
5230      tmp_nm="$ac_dir/$lt_tmp_nm"
5231      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5232	# Check to see if the nm accepts a BSD-compat flag.
5233	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5234	#   nm: unknown option "B" ignored
5235	# Tru64's nm complains that /dev/null is an invalid object file
5236	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5237	*/dev/null* | *'Invalid file or object type'*)
5238	  lt_cv_path_NM="$tmp_nm -B"
5239	  break
5240	  ;;
5241	*)
5242	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5243	  */dev/null*)
5244	    lt_cv_path_NM="$tmp_nm -p"
5245	    break
5246	    ;;
5247	  *)
5248	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5249	    continue # so that we can try to find one that supports BSD flags
5250	    ;;
5251	  esac
5252	  ;;
5253	esac
5254      fi
5255    done
5256    IFS="$lt_save_ifs"
5257  done
5258  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5259fi
5260fi
5261{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5262echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5263NM="$lt_cv_path_NM"
5264
5265{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
5266echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5267LN_S=$as_ln_s
5268if test "$LN_S" = "ln -s"; then
5269  { echo "$as_me:$LINENO: result: yes" >&5
5270echo "${ECHO_T}yes" >&6; }
5271else
5272  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5273echo "${ECHO_T}no, using $LN_S" >&6; }
5274fi
5275
5276{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5277echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5278if test "${lt_cv_deplibs_check_method+set}" = set; then
5279  echo $ECHO_N "(cached) $ECHO_C" >&6
5280else
5281  lt_cv_file_magic_cmd='$MAGIC_CMD'
5282lt_cv_file_magic_test_file=
5283lt_cv_deplibs_check_method='unknown'
5284# Need to set the preceding variable on all platforms that support
5285# interlibrary dependencies.
5286# 'none' -- dependencies not supported.
5287# `unknown' -- same as none, but documents that we really don't know.
5288# 'pass_all' -- all dependencies passed with no checks.
5289# 'test_compile' -- check by making test program.
5290# 'file_magic [[regex]]' -- check by looking for files in library path
5291# which responds to the $file_magic_cmd with a given extended regex.
5292# If you have `file' or equivalent on your system and you're not sure
5293# whether `pass_all' will *always* work, you probably want this one.
5294
5295case $host_os in
5296aix4* | aix5*)
5297  lt_cv_deplibs_check_method=pass_all
5298  ;;
5299
5300beos*)
5301  lt_cv_deplibs_check_method=pass_all
5302  ;;
5303
5304bsdi[45]*)
5305  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5306  lt_cv_file_magic_cmd='/usr/bin/file -L'
5307  lt_cv_file_magic_test_file=/shlib/libc.so
5308  ;;
5309
5310cygwin*)
5311  # func_win32_libid is a shell function defined in ltmain.sh
5312  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5313  lt_cv_file_magic_cmd='func_win32_libid'
5314  ;;
5315
5316mingw* | pw32*)
5317  # Base MSYS/MinGW do not provide the 'file' command needed by
5318  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5319  # unless we find 'file', for example because we are cross-compiling.
5320  if ( file / ) >/dev/null 2>&1; then
5321    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5322    lt_cv_file_magic_cmd='func_win32_libid'
5323  else
5324    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5325    lt_cv_file_magic_cmd='$OBJDUMP -f'
5326  fi
5327  ;;
5328
5329darwin* | rhapsody*)
5330  lt_cv_deplibs_check_method=pass_all
5331  ;;
5332
5333freebsd* | dragonfly*)
5334  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5335    case $host_cpu in
5336    i*86 )
5337      # Not sure whether the presence of OpenBSD here was a mistake.
5338      # Let's accept both of them until this is cleared up.
5339      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5340      lt_cv_file_magic_cmd=/usr/bin/file
5341      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5342      ;;
5343    esac
5344  else
5345    lt_cv_deplibs_check_method=pass_all
5346  fi
5347  ;;
5348
5349gnu*)
5350  lt_cv_deplibs_check_method=pass_all
5351  ;;
5352
5353hpux10.20* | hpux11*)
5354  lt_cv_file_magic_cmd=/usr/bin/file
5355  case $host_cpu in
5356  ia64*)
5357    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5358    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5359    ;;
5360  hppa*64*)
5361    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5362    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5363    ;;
5364  *)
5365    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5366    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5367    ;;
5368  esac
5369  ;;
5370
5371interix[3-9]*)
5372  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5373  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5374  ;;
5375
5376irix5* | irix6* | nonstopux*)
5377  case $LD in
5378  *-32|*"-32 ") libmagic=32-bit;;
5379  *-n32|*"-n32 ") libmagic=N32;;
5380  *-64|*"-64 ") libmagic=64-bit;;
5381  *) libmagic=never-match;;
5382  esac
5383  lt_cv_deplibs_check_method=pass_all
5384  ;;
5385
5386# This must be Linux ELF.
5387linux* | k*bsd*-gnu)
5388  lt_cv_deplibs_check_method=pass_all
5389  ;;
5390
5391netbsd*)
5392  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5393    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5394  else
5395    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5396  fi
5397  ;;
5398
5399newos6*)
5400  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5401  lt_cv_file_magic_cmd=/usr/bin/file
5402  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5403  ;;
5404
5405nto-qnx*)
5406  lt_cv_deplibs_check_method=unknown
5407  ;;
5408
5409openbsd*)
5410  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5411    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5412  else
5413    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5414  fi
5415  ;;
5416
5417osf3* | osf4* | osf5*)
5418  lt_cv_deplibs_check_method=pass_all
5419  ;;
5420
5421rdos*)
5422  lt_cv_deplibs_check_method=pass_all
5423  ;;
5424
5425solaris*)
5426  lt_cv_deplibs_check_method=pass_all
5427  ;;
5428
5429sysv4 | sysv4.3*)
5430  case $host_vendor in
5431  motorola)
5432    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]'
5433    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5434    ;;
5435  ncr)
5436    lt_cv_deplibs_check_method=pass_all
5437    ;;
5438  sequent)
5439    lt_cv_file_magic_cmd='/bin/file'
5440    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5441    ;;
5442  sni)
5443    lt_cv_file_magic_cmd='/bin/file'
5444    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5445    lt_cv_file_magic_test_file=/lib/libc.so
5446    ;;
5447  siemens)
5448    lt_cv_deplibs_check_method=pass_all
5449    ;;
5450  pc)
5451    lt_cv_deplibs_check_method=pass_all
5452    ;;
5453  esac
5454  ;;
5455
5456sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5457  lt_cv_deplibs_check_method=pass_all
5458  ;;
5459esac
5460
5461fi
5462{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5463echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5464file_magic_cmd=$lt_cv_file_magic_cmd
5465deplibs_check_method=$lt_cv_deplibs_check_method
5466test -z "$deplibs_check_method" && deplibs_check_method=unknown
5467
5468
5469
5470
5471# If no C compiler was specified, use CC.
5472LTCC=${LTCC-"$CC"}
5473
5474# If no C compiler flags were specified, use CFLAGS.
5475LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5476
5477# Allow CC to be a program name with arguments.
5478compiler=$CC
5479
5480# Check whether --enable-libtool-lock was given.
5481if test "${enable_libtool_lock+set}" = set; then
5482  enableval=$enable_libtool_lock;
5483fi
5484
5485test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5486
5487# Some flags need to be propagated to the compiler or linker for good
5488# libtool support.
5489case $host in
5490ia64-*-hpux*)
5491  # Find out which ABI we are using.
5492  echo 'int i;' > conftest.$ac_ext
5493  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5494  (eval $ac_compile) 2>&5
5495  ac_status=$?
5496  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497  (exit $ac_status); }; then
5498    case `/usr/bin/file conftest.$ac_objext` in
5499    *ELF-32*)
5500      HPUX_IA64_MODE="32"
5501      ;;
5502    *ELF-64*)
5503      HPUX_IA64_MODE="64"
5504      ;;
5505    esac
5506  fi
5507  rm -rf conftest*
5508  ;;
5509*-*-irix6*)
5510  # Find out which ABI we are using.
5511  echo '#line 5511 "configure"' > conftest.$ac_ext
5512  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5513  (eval $ac_compile) 2>&5
5514  ac_status=$?
5515  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516  (exit $ac_status); }; then
5517   if test "$lt_cv_prog_gnu_ld" = yes; then
5518    case `/usr/bin/file conftest.$ac_objext` in
5519    *32-bit*)
5520      LD="${LD-ld} -melf32bsmip"
5521      ;;
5522    *N32*)
5523      LD="${LD-ld} -melf32bmipn32"
5524      ;;
5525    *64-bit*)
5526      LD="${LD-ld} -melf64bmip"
5527      ;;
5528    esac
5529   else
5530    case `/usr/bin/file conftest.$ac_objext` in
5531    *32-bit*)
5532      LD="${LD-ld} -32"
5533      ;;
5534    *N32*)
5535      LD="${LD-ld} -n32"
5536      ;;
5537    *64-bit*)
5538      LD="${LD-ld} -64"
5539      ;;
5540    esac
5541   fi
5542  fi
5543  rm -rf conftest*
5544  ;;
5545
5546x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5547s390*-*linux*|sparc*-*linux*)
5548  # Find out which ABI we are using.
5549  echo 'int i;' > conftest.$ac_ext
5550  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5551  (eval $ac_compile) 2>&5
5552  ac_status=$?
5553  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554  (exit $ac_status); }; then
5555    case `/usr/bin/file conftest.o` in
5556    *32-bit*)
5557      case $host in
5558        x86_64-*kfreebsd*-gnu)
5559          LD="${LD-ld} -m elf_i386_fbsd"
5560          ;;
5561        x86_64-*linux*)
5562          LD="${LD-ld} -m elf_i386"
5563          ;;
5564        ppc64-*linux*|powerpc64-*linux*)
5565          LD="${LD-ld} -m elf32ppclinux"
5566          ;;
5567        s390x-*linux*)
5568          LD="${LD-ld} -m elf_s390"
5569          ;;
5570        sparc64-*linux*)
5571          LD="${LD-ld} -m elf32_sparc"
5572          ;;
5573      esac
5574      ;;
5575    *64-bit*)
5576      libsuff=64
5577      case $host in
5578        x86_64-*kfreebsd*-gnu)
5579          LD="${LD-ld} -m elf_x86_64_fbsd"
5580          ;;
5581        x86_64-*linux*)
5582          LD="${LD-ld} -m elf_x86_64"
5583          ;;
5584        ppc*-*linux*|powerpc*-*linux*)
5585          LD="${LD-ld} -m elf64ppc"
5586          ;;
5587        s390*-*linux*)
5588          LD="${LD-ld} -m elf64_s390"
5589          ;;
5590        sparc*-*linux*)
5591          LD="${LD-ld} -m elf64_sparc"
5592          ;;
5593      esac
5594      ;;
5595    esac
5596  fi
5597  rm -rf conftest*
5598  ;;
5599
5600*-*-sco3.2v5*)
5601  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5602  SAVE_CFLAGS="$CFLAGS"
5603  CFLAGS="$CFLAGS -belf"
5604  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5605echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5606if test "${lt_cv_cc_needs_belf+set}" = set; then
5607  echo $ECHO_N "(cached) $ECHO_C" >&6
5608else
5609  ac_ext=c
5610ac_cpp='$CPP $CPPFLAGS'
5611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5613ac_compiler_gnu=$ac_cv_c_compiler_gnu
5614
5615     cat >conftest.$ac_ext <<_ACEOF
5616/* confdefs.h.  */
5617_ACEOF
5618cat confdefs.h >>conftest.$ac_ext
5619cat >>conftest.$ac_ext <<_ACEOF
5620/* end confdefs.h.  */
5621
5622int
5623main ()
5624{
5625
5626  ;
5627  return 0;
5628}
5629_ACEOF
5630rm -f conftest.$ac_objext conftest$ac_exeext
5631if { (ac_try="$ac_link"
5632case "(($ac_try" in
5633  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5634  *) ac_try_echo=$ac_try;;
5635esac
5636eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5637  (eval "$ac_link") 2>conftest.er1
5638  ac_status=$?
5639  grep -v '^ *+' conftest.er1 >conftest.err
5640  rm -f conftest.er1
5641  cat conftest.err >&5
5642  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643  (exit $ac_status); } && {
5644	 test -z "$ac_c_werror_flag" ||
5645	 test ! -s conftest.err
5646       } && test -s conftest$ac_exeext &&
5647       $as_test_x conftest$ac_exeext; then
5648  lt_cv_cc_needs_belf=yes
5649else
5650  echo "$as_me: failed program was:" >&5
5651sed 's/^/| /' conftest.$ac_ext >&5
5652
5653	lt_cv_cc_needs_belf=no
5654fi
5655
5656rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5657      conftest$ac_exeext conftest.$ac_ext
5658     ac_ext=c
5659ac_cpp='$CPP $CPPFLAGS'
5660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5662ac_compiler_gnu=$ac_cv_c_compiler_gnu
5663
5664fi
5665{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5666echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5667  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5668    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5669    CFLAGS="$SAVE_CFLAGS"
5670  fi
5671  ;;
5672sparc*-*solaris*)
5673  # Find out which ABI we are using.
5674  echo 'int i;' > conftest.$ac_ext
5675  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5676  (eval $ac_compile) 2>&5
5677  ac_status=$?
5678  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679  (exit $ac_status); }; then
5680    case `/usr/bin/file conftest.o` in
5681    *64-bit*)
5682      case $lt_cv_prog_gnu_ld in
5683      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5684      *)    LD="${LD-ld} -64" ;;
5685      esac
5686      ;;
5687    esac
5688  fi
5689  rm -rf conftest*
5690  ;;
5691
5692*-*-cygwin* | *-*-mingw* | *-*-pw32*)
5693  if test -n "$ac_tool_prefix"; then
5694  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5695set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5696{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5697echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5698if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5699  echo $ECHO_N "(cached) $ECHO_C" >&6
5700else
5701  if test -n "$DLLTOOL"; then
5702  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5703else
5704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705for as_dir in $PATH
5706do
5707  IFS=$as_save_IFS
5708  test -z "$as_dir" && as_dir=.
5709  for ac_exec_ext in '' $ac_executable_extensions; do
5710  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5711    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5712    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5713    break 2
5714  fi
5715done
5716done
5717IFS=$as_save_IFS
5718
5719fi
5720fi
5721DLLTOOL=$ac_cv_prog_DLLTOOL
5722if test -n "$DLLTOOL"; then
5723  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5724echo "${ECHO_T}$DLLTOOL" >&6; }
5725else
5726  { echo "$as_me:$LINENO: result: no" >&5
5727echo "${ECHO_T}no" >&6; }
5728fi
5729
5730
5731fi
5732if test -z "$ac_cv_prog_DLLTOOL"; then
5733  ac_ct_DLLTOOL=$DLLTOOL
5734  # Extract the first word of "dlltool", so it can be a program name with args.
5735set dummy dlltool; ac_word=$2
5736{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5737echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5738if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5739  echo $ECHO_N "(cached) $ECHO_C" >&6
5740else
5741  if test -n "$ac_ct_DLLTOOL"; then
5742  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5743else
5744as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745for as_dir in $PATH
5746do
5747  IFS=$as_save_IFS
5748  test -z "$as_dir" && as_dir=.
5749  for ac_exec_ext in '' $ac_executable_extensions; do
5750  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5751    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5752    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5753    break 2
5754  fi
5755done
5756done
5757IFS=$as_save_IFS
5758
5759fi
5760fi
5761ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5762if test -n "$ac_ct_DLLTOOL"; then
5763  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
5764echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
5765else
5766  { echo "$as_me:$LINENO: result: no" >&5
5767echo "${ECHO_T}no" >&6; }
5768fi
5769
5770  if test "x$ac_ct_DLLTOOL" = x; then
5771    DLLTOOL="false"
5772  else
5773    case $cross_compiling:$ac_tool_warned in
5774yes:)
5775{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5776whose name does not start with the host triplet.  If you think this
5777configuration is useful to you, please write to autoconf@gnu.org." >&5
5778echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5779whose name does not start with the host triplet.  If you think this
5780configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5781ac_tool_warned=yes ;;
5782esac
5783    DLLTOOL=$ac_ct_DLLTOOL
5784  fi
5785else
5786  DLLTOOL="$ac_cv_prog_DLLTOOL"
5787fi
5788
5789  if test -n "$ac_tool_prefix"; then
5790  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5791set dummy ${ac_tool_prefix}as; ac_word=$2
5792{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5793echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5794if test "${ac_cv_prog_AS+set}" = set; then
5795  echo $ECHO_N "(cached) $ECHO_C" >&6
5796else
5797  if test -n "$AS"; then
5798  ac_cv_prog_AS="$AS" # Let the user override the test.
5799else
5800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801for as_dir in $PATH
5802do
5803  IFS=$as_save_IFS
5804  test -z "$as_dir" && as_dir=.
5805  for ac_exec_ext in '' $ac_executable_extensions; do
5806  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5807    ac_cv_prog_AS="${ac_tool_prefix}as"
5808    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5809    break 2
5810  fi
5811done
5812done
5813IFS=$as_save_IFS
5814
5815fi
5816fi
5817AS=$ac_cv_prog_AS
5818if test -n "$AS"; then
5819  { echo "$as_me:$LINENO: result: $AS" >&5
5820echo "${ECHO_T}$AS" >&6; }
5821else
5822  { echo "$as_me:$LINENO: result: no" >&5
5823echo "${ECHO_T}no" >&6; }
5824fi
5825
5826
5827fi
5828if test -z "$ac_cv_prog_AS"; then
5829  ac_ct_AS=$AS
5830  # Extract the first word of "as", so it can be a program name with args.
5831set dummy as; ac_word=$2
5832{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5833echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5834if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5835  echo $ECHO_N "(cached) $ECHO_C" >&6
5836else
5837  if test -n "$ac_ct_AS"; then
5838  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5839else
5840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5841for as_dir in $PATH
5842do
5843  IFS=$as_save_IFS
5844  test -z "$as_dir" && as_dir=.
5845  for ac_exec_ext in '' $ac_executable_extensions; do
5846  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5847    ac_cv_prog_ac_ct_AS="as"
5848    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5849    break 2
5850  fi
5851done
5852done
5853IFS=$as_save_IFS
5854
5855fi
5856fi
5857ac_ct_AS=$ac_cv_prog_ac_ct_AS
5858if test -n "$ac_ct_AS"; then
5859  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5860echo "${ECHO_T}$ac_ct_AS" >&6; }
5861else
5862  { echo "$as_me:$LINENO: result: no" >&5
5863echo "${ECHO_T}no" >&6; }
5864fi
5865
5866  if test "x$ac_ct_AS" = x; then
5867    AS="false"
5868  else
5869    case $cross_compiling:$ac_tool_warned in
5870yes:)
5871{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5872whose name does not start with the host triplet.  If you think this
5873configuration is useful to you, please write to autoconf@gnu.org." >&5
5874echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5875whose name does not start with the host triplet.  If you think this
5876configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5877ac_tool_warned=yes ;;
5878esac
5879    AS=$ac_ct_AS
5880  fi
5881else
5882  AS="$ac_cv_prog_AS"
5883fi
5884
5885  if test -n "$ac_tool_prefix"; then
5886  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5887set dummy ${ac_tool_prefix}objdump; ac_word=$2
5888{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5889echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5890if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5891  echo $ECHO_N "(cached) $ECHO_C" >&6
5892else
5893  if test -n "$OBJDUMP"; then
5894  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5895else
5896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897for as_dir in $PATH
5898do
5899  IFS=$as_save_IFS
5900  test -z "$as_dir" && as_dir=.
5901  for ac_exec_ext in '' $ac_executable_extensions; do
5902  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5903    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5904    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5905    break 2
5906  fi
5907done
5908done
5909IFS=$as_save_IFS
5910
5911fi
5912fi
5913OBJDUMP=$ac_cv_prog_OBJDUMP
5914if test -n "$OBJDUMP"; then
5915  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5916echo "${ECHO_T}$OBJDUMP" >&6; }
5917else
5918  { echo "$as_me:$LINENO: result: no" >&5
5919echo "${ECHO_T}no" >&6; }
5920fi
5921
5922
5923fi
5924if test -z "$ac_cv_prog_OBJDUMP"; then
5925  ac_ct_OBJDUMP=$OBJDUMP
5926  # Extract the first word of "objdump", so it can be a program name with args.
5927set dummy objdump; ac_word=$2
5928{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5929echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5930if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5931  echo $ECHO_N "(cached) $ECHO_C" >&6
5932else
5933  if test -n "$ac_ct_OBJDUMP"; then
5934  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5935else
5936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937for as_dir in $PATH
5938do
5939  IFS=$as_save_IFS
5940  test -z "$as_dir" && as_dir=.
5941  for ac_exec_ext in '' $ac_executable_extensions; do
5942  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5943    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5944    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5945    break 2
5946  fi
5947done
5948done
5949IFS=$as_save_IFS
5950
5951fi
5952fi
5953ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5954if test -n "$ac_ct_OBJDUMP"; then
5955  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5956echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
5957else
5958  { echo "$as_me:$LINENO: result: no" >&5
5959echo "${ECHO_T}no" >&6; }
5960fi
5961
5962  if test "x$ac_ct_OBJDUMP" = x; then
5963    OBJDUMP="false"
5964  else
5965    case $cross_compiling:$ac_tool_warned in
5966yes:)
5967{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5968whose name does not start with the host triplet.  If you think this
5969configuration is useful to you, please write to autoconf@gnu.org." >&5
5970echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5971whose name does not start with the host triplet.  If you think this
5972configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5973ac_tool_warned=yes ;;
5974esac
5975    OBJDUMP=$ac_ct_OBJDUMP
5976  fi
5977else
5978  OBJDUMP="$ac_cv_prog_OBJDUMP"
5979fi
5980
5981  ;;
5982
5983esac
5984
5985need_locks="$enable_libtool_lock"
5986
5987
5988
5989for ac_header in dlfcn.h
5990do
5991as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5992if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5993  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5994echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5995if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5996  echo $ECHO_N "(cached) $ECHO_C" >&6
5997fi
5998ac_res=`eval echo '${'$as_ac_Header'}'`
5999	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6000echo "${ECHO_T}$ac_res" >&6; }
6001else
6002  # Is the header compilable?
6003{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6004echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6005cat >conftest.$ac_ext <<_ACEOF
6006/* confdefs.h.  */
6007_ACEOF
6008cat confdefs.h >>conftest.$ac_ext
6009cat >>conftest.$ac_ext <<_ACEOF
6010/* end confdefs.h.  */
6011$ac_includes_default
6012#include <$ac_header>
6013_ACEOF
6014rm -f conftest.$ac_objext
6015if { (ac_try="$ac_compile"
6016case "(($ac_try" in
6017  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6018  *) ac_try_echo=$ac_try;;
6019esac
6020eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6021  (eval "$ac_compile") 2>conftest.er1
6022  ac_status=$?
6023  grep -v '^ *+' conftest.er1 >conftest.err
6024  rm -f conftest.er1
6025  cat conftest.err >&5
6026  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027  (exit $ac_status); } && {
6028	 test -z "$ac_c_werror_flag" ||
6029	 test ! -s conftest.err
6030       } && test -s conftest.$ac_objext; then
6031  ac_header_compiler=yes
6032else
6033  echo "$as_me: failed program was:" >&5
6034sed 's/^/| /' conftest.$ac_ext >&5
6035
6036	ac_header_compiler=no
6037fi
6038
6039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6040{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6041echo "${ECHO_T}$ac_header_compiler" >&6; }
6042
6043# Is the header present?
6044{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6045echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6046cat >conftest.$ac_ext <<_ACEOF
6047/* confdefs.h.  */
6048_ACEOF
6049cat confdefs.h >>conftest.$ac_ext
6050cat >>conftest.$ac_ext <<_ACEOF
6051/* end confdefs.h.  */
6052#include <$ac_header>
6053_ACEOF
6054if { (ac_try="$ac_cpp conftest.$ac_ext"
6055case "(($ac_try" in
6056  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6057  *) ac_try_echo=$ac_try;;
6058esac
6059eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6060  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6061  ac_status=$?
6062  grep -v '^ *+' conftest.er1 >conftest.err
6063  rm -f conftest.er1
6064  cat conftest.err >&5
6065  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066  (exit $ac_status); } >/dev/null && {
6067	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6068	 test ! -s conftest.err
6069       }; then
6070  ac_header_preproc=yes
6071else
6072  echo "$as_me: failed program was:" >&5
6073sed 's/^/| /' conftest.$ac_ext >&5
6074
6075  ac_header_preproc=no
6076fi
6077
6078rm -f conftest.err conftest.$ac_ext
6079{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6080echo "${ECHO_T}$ac_header_preproc" >&6; }
6081
6082# So?  What about this header?
6083case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6084  yes:no: )
6085    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6086echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6087    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6088echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6089    ac_header_preproc=yes
6090    ;;
6091  no:yes:* )
6092    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6093echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6094    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6095echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6096    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6097echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6098    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6099echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6100    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6101echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6102    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6103echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6104
6105    ;;
6106esac
6107{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6108echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6109if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6110  echo $ECHO_N "(cached) $ECHO_C" >&6
6111else
6112  eval "$as_ac_Header=\$ac_header_preproc"
6113fi
6114ac_res=`eval echo '${'$as_ac_Header'}'`
6115	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6116echo "${ECHO_T}$ac_res" >&6; }
6117
6118fi
6119if test `eval echo '${'$as_ac_Header'}'` = yes; then
6120  cat >>confdefs.h <<_ACEOF
6121#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6122_ACEOF
6123
6124fi
6125
6126done
6127
6128ac_ext=cpp
6129ac_cpp='$CXXCPP $CPPFLAGS'
6130ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6131ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6132ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6133if test -z "$CXX"; then
6134  if test -n "$CCC"; then
6135    CXX=$CCC
6136  else
6137    if test -n "$ac_tool_prefix"; then
6138  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6139  do
6140    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6141set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6142{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6143echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6144if test "${ac_cv_prog_CXX+set}" = set; then
6145  echo $ECHO_N "(cached) $ECHO_C" >&6
6146else
6147  if test -n "$CXX"; then
6148  ac_cv_prog_CXX="$CXX" # Let the user override the test.
6149else
6150as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151for as_dir in $PATH
6152do
6153  IFS=$as_save_IFS
6154  test -z "$as_dir" && as_dir=.
6155  for ac_exec_ext in '' $ac_executable_extensions; do
6156  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6157    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6158    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6159    break 2
6160  fi
6161done
6162done
6163IFS=$as_save_IFS
6164
6165fi
6166fi
6167CXX=$ac_cv_prog_CXX
6168if test -n "$CXX"; then
6169  { echo "$as_me:$LINENO: result: $CXX" >&5
6170echo "${ECHO_T}$CXX" >&6; }
6171else
6172  { echo "$as_me:$LINENO: result: no" >&5
6173echo "${ECHO_T}no" >&6; }
6174fi
6175
6176
6177    test -n "$CXX" && break
6178  done
6179fi
6180if test -z "$CXX"; then
6181  ac_ct_CXX=$CXX
6182  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6183do
6184  # Extract the first word of "$ac_prog", so it can be a program name with args.
6185set dummy $ac_prog; ac_word=$2
6186{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6187echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6188if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6189  echo $ECHO_N "(cached) $ECHO_C" >&6
6190else
6191  if test -n "$ac_ct_CXX"; then
6192  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6193else
6194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195for as_dir in $PATH
6196do
6197  IFS=$as_save_IFS
6198  test -z "$as_dir" && as_dir=.
6199  for ac_exec_ext in '' $ac_executable_extensions; do
6200  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6201    ac_cv_prog_ac_ct_CXX="$ac_prog"
6202    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6203    break 2
6204  fi
6205done
6206done
6207IFS=$as_save_IFS
6208
6209fi
6210fi
6211ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6212if test -n "$ac_ct_CXX"; then
6213  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6214echo "${ECHO_T}$ac_ct_CXX" >&6; }
6215else
6216  { echo "$as_me:$LINENO: result: no" >&5
6217echo "${ECHO_T}no" >&6; }
6218fi
6219
6220
6221  test -n "$ac_ct_CXX" && break
6222done
6223
6224  if test "x$ac_ct_CXX" = x; then
6225    CXX="g++"
6226  else
6227    case $cross_compiling:$ac_tool_warned in
6228yes:)
6229{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6230whose name does not start with the host triplet.  If you think this
6231configuration is useful to you, please write to autoconf@gnu.org." >&5
6232echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6233whose name does not start with the host triplet.  If you think this
6234configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6235ac_tool_warned=yes ;;
6236esac
6237    CXX=$ac_ct_CXX
6238  fi
6239fi
6240
6241  fi
6242fi
6243# Provide some information about the compiler.
6244echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6245ac_compiler=`set X $ac_compile; echo $2`
6246{ (ac_try="$ac_compiler --version >&5"
6247case "(($ac_try" in
6248  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6249  *) ac_try_echo=$ac_try;;
6250esac
6251eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6252  (eval "$ac_compiler --version >&5") 2>&5
6253  ac_status=$?
6254  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255  (exit $ac_status); }
6256{ (ac_try="$ac_compiler -v >&5"
6257case "(($ac_try" in
6258  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6259  *) ac_try_echo=$ac_try;;
6260esac
6261eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6262  (eval "$ac_compiler -v >&5") 2>&5
6263  ac_status=$?
6264  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265  (exit $ac_status); }
6266{ (ac_try="$ac_compiler -V >&5"
6267case "(($ac_try" in
6268  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6269  *) ac_try_echo=$ac_try;;
6270esac
6271eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6272  (eval "$ac_compiler -V >&5") 2>&5
6273  ac_status=$?
6274  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275  (exit $ac_status); }
6276
6277{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6278echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6279if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6280  echo $ECHO_N "(cached) $ECHO_C" >&6
6281else
6282  cat >conftest.$ac_ext <<_ACEOF
6283/* confdefs.h.  */
6284_ACEOF
6285cat confdefs.h >>conftest.$ac_ext
6286cat >>conftest.$ac_ext <<_ACEOF
6287/* end confdefs.h.  */
6288
6289int
6290main ()
6291{
6292#ifndef __GNUC__
6293       choke me
6294#endif
6295
6296  ;
6297  return 0;
6298}
6299_ACEOF
6300rm -f conftest.$ac_objext
6301if { (ac_try="$ac_compile"
6302case "(($ac_try" in
6303  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6304  *) ac_try_echo=$ac_try;;
6305esac
6306eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6307  (eval "$ac_compile") 2>conftest.er1
6308  ac_status=$?
6309  grep -v '^ *+' conftest.er1 >conftest.err
6310  rm -f conftest.er1
6311  cat conftest.err >&5
6312  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313  (exit $ac_status); } && {
6314	 test -z "$ac_cxx_werror_flag" ||
6315	 test ! -s conftest.err
6316       } && test -s conftest.$ac_objext; then
6317  ac_compiler_gnu=yes
6318else
6319  echo "$as_me: failed program was:" >&5
6320sed 's/^/| /' conftest.$ac_ext >&5
6321
6322	ac_compiler_gnu=no
6323fi
6324
6325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6326ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6327
6328fi
6329{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6330echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6331GXX=`test $ac_compiler_gnu = yes && echo yes`
6332ac_test_CXXFLAGS=${CXXFLAGS+set}
6333ac_save_CXXFLAGS=$CXXFLAGS
6334{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6335echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6336if test "${ac_cv_prog_cxx_g+set}" = set; then
6337  echo $ECHO_N "(cached) $ECHO_C" >&6
6338else
6339  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6340   ac_cxx_werror_flag=yes
6341   ac_cv_prog_cxx_g=no
6342   CXXFLAGS="-g"
6343   cat >conftest.$ac_ext <<_ACEOF
6344/* confdefs.h.  */
6345_ACEOF
6346cat confdefs.h >>conftest.$ac_ext
6347cat >>conftest.$ac_ext <<_ACEOF
6348/* end confdefs.h.  */
6349
6350int
6351main ()
6352{
6353
6354  ;
6355  return 0;
6356}
6357_ACEOF
6358rm -f conftest.$ac_objext
6359if { (ac_try="$ac_compile"
6360case "(($ac_try" in
6361  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6362  *) ac_try_echo=$ac_try;;
6363esac
6364eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6365  (eval "$ac_compile") 2>conftest.er1
6366  ac_status=$?
6367  grep -v '^ *+' conftest.er1 >conftest.err
6368  rm -f conftest.er1
6369  cat conftest.err >&5
6370  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371  (exit $ac_status); } && {
6372	 test -z "$ac_cxx_werror_flag" ||
6373	 test ! -s conftest.err
6374       } && test -s conftest.$ac_objext; then
6375  ac_cv_prog_cxx_g=yes
6376else
6377  echo "$as_me: failed program was:" >&5
6378sed 's/^/| /' conftest.$ac_ext >&5
6379
6380	CXXFLAGS=""
6381      cat >conftest.$ac_ext <<_ACEOF
6382/* confdefs.h.  */
6383_ACEOF
6384cat confdefs.h >>conftest.$ac_ext
6385cat >>conftest.$ac_ext <<_ACEOF
6386/* end confdefs.h.  */
6387
6388int
6389main ()
6390{
6391
6392  ;
6393  return 0;
6394}
6395_ACEOF
6396rm -f conftest.$ac_objext
6397if { (ac_try="$ac_compile"
6398case "(($ac_try" in
6399  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6400  *) ac_try_echo=$ac_try;;
6401esac
6402eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6403  (eval "$ac_compile") 2>conftest.er1
6404  ac_status=$?
6405  grep -v '^ *+' conftest.er1 >conftest.err
6406  rm -f conftest.er1
6407  cat conftest.err >&5
6408  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409  (exit $ac_status); } && {
6410	 test -z "$ac_cxx_werror_flag" ||
6411	 test ! -s conftest.err
6412       } && test -s conftest.$ac_objext; then
6413  :
6414else
6415  echo "$as_me: failed program was:" >&5
6416sed 's/^/| /' conftest.$ac_ext >&5
6417
6418	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6419	 CXXFLAGS="-g"
6420	 cat >conftest.$ac_ext <<_ACEOF
6421/* confdefs.h.  */
6422_ACEOF
6423cat confdefs.h >>conftest.$ac_ext
6424cat >>conftest.$ac_ext <<_ACEOF
6425/* end confdefs.h.  */
6426
6427int
6428main ()
6429{
6430
6431  ;
6432  return 0;
6433}
6434_ACEOF
6435rm -f conftest.$ac_objext
6436if { (ac_try="$ac_compile"
6437case "(($ac_try" in
6438  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6439  *) ac_try_echo=$ac_try;;
6440esac
6441eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6442  (eval "$ac_compile") 2>conftest.er1
6443  ac_status=$?
6444  grep -v '^ *+' conftest.er1 >conftest.err
6445  rm -f conftest.er1
6446  cat conftest.err >&5
6447  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448  (exit $ac_status); } && {
6449	 test -z "$ac_cxx_werror_flag" ||
6450	 test ! -s conftest.err
6451       } && test -s conftest.$ac_objext; then
6452  ac_cv_prog_cxx_g=yes
6453else
6454  echo "$as_me: failed program was:" >&5
6455sed 's/^/| /' conftest.$ac_ext >&5
6456
6457
6458fi
6459
6460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6461fi
6462
6463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6464fi
6465
6466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6467   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6468fi
6469{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6470echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6471if test "$ac_test_CXXFLAGS" = set; then
6472  CXXFLAGS=$ac_save_CXXFLAGS
6473elif test $ac_cv_prog_cxx_g = yes; then
6474  if test "$GXX" = yes; then
6475    CXXFLAGS="-g -O2"
6476  else
6477    CXXFLAGS="-g"
6478  fi
6479else
6480  if test "$GXX" = yes; then
6481    CXXFLAGS="-O2"
6482  else
6483    CXXFLAGS=
6484  fi
6485fi
6486ac_ext=cpp
6487ac_cpp='$CXXCPP $CPPFLAGS'
6488ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6489ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6490ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6491
6492depcc="$CXX"  am_compiler_list=
6493
6494{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6495echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6496if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6497  echo $ECHO_N "(cached) $ECHO_C" >&6
6498else
6499  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6500  # We make a subdir and do the tests there.  Otherwise we can end up
6501  # making bogus files that we don't know about and never remove.  For
6502  # instance it was reported that on HP-UX the gcc test will end up
6503  # making a dummy file named `D' -- because `-MD' means `put the output
6504  # in D'.
6505  mkdir conftest.dir
6506  # Copy depcomp to subdir because otherwise we won't find it if we're
6507  # using a relative directory.
6508  cp "$am_depcomp" conftest.dir
6509  cd conftest.dir
6510  # We will build objects and dependencies in a subdirectory because
6511  # it helps to detect inapplicable dependency modes.  For instance
6512  # both Tru64's cc and ICC support -MD to output dependencies as a
6513  # side effect of compilation, but ICC will put the dependencies in
6514  # the current directory while Tru64 will put them in the object
6515  # directory.
6516  mkdir sub
6517
6518  am_cv_CXX_dependencies_compiler_type=none
6519  if test "$am_compiler_list" = ""; then
6520     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6521  fi
6522  for depmode in $am_compiler_list; do
6523    # Setup a source with many dependencies, because some compilers
6524    # like to wrap large dependency lists on column 80 (with \), and
6525    # we should not choose a depcomp mode which is confused by this.
6526    #
6527    # We need to recreate these files for each test, as the compiler may
6528    # overwrite some of them when testing with obscure command lines.
6529    # This happens at least with the AIX C compiler.
6530    : > sub/conftest.c
6531    for i in 1 2 3 4 5 6; do
6532      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6533      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6534      # Solaris 8's {/usr,}/bin/sh.
6535      touch sub/conftst$i.h
6536    done
6537    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6538
6539    case $depmode in
6540    nosideeffect)
6541      # after this tag, mechanisms are not by side-effect, so they'll
6542      # only be used when explicitly requested
6543      if test "x$enable_dependency_tracking" = xyes; then
6544	continue
6545      else
6546	break
6547      fi
6548      ;;
6549    none) break ;;
6550    esac
6551    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6552    # mode.  It turns out that the SunPro C++ compiler does not properly
6553    # handle `-M -o', and we need to detect this.
6554    if depmode=$depmode \
6555       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6556       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6557       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6558         >/dev/null 2>conftest.err &&
6559       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6560       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6561       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6562       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6563      # icc doesn't choke on unknown options, it will just issue warnings
6564      # or remarks (even with -Werror).  So we grep stderr for any message
6565      # that says an option was ignored or not supported.
6566      # When given -MP, icc 7.0 and 7.1 complain thusly:
6567      #   icc: Command line warning: ignoring option '-M'; no argument required
6568      # The diagnosis changed in icc 8.0:
6569      #   icc: Command line remark: option '-MP' not supported
6570      if (grep 'ignoring option' conftest.err ||
6571          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6572        am_cv_CXX_dependencies_compiler_type=$depmode
6573        break
6574      fi
6575    fi
6576  done
6577
6578  cd ..
6579  rm -rf conftest.dir
6580else
6581  am_cv_CXX_dependencies_compiler_type=none
6582fi
6583
6584fi
6585{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6586echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6587CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6588
6589 if
6590  test "x$enable_dependency_tracking" != xno \
6591  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6592  am__fastdepCXX_TRUE=
6593  am__fastdepCXX_FALSE='#'
6594else
6595  am__fastdepCXX_TRUE='#'
6596  am__fastdepCXX_FALSE=
6597fi
6598
6599
6600
6601
6602if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6603    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6604    (test "X$CXX" != "Xg++"))) ; then
6605  ac_ext=cpp
6606ac_cpp='$CXXCPP $CPPFLAGS'
6607ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6608ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6609ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6610{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6611echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6612if test -z "$CXXCPP"; then
6613  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6614  echo $ECHO_N "(cached) $ECHO_C" >&6
6615else
6616      # Double quotes because CXXCPP needs to be expanded
6617    for CXXCPP in "$CXX -E" "/lib/cpp"
6618    do
6619      ac_preproc_ok=false
6620for ac_cxx_preproc_warn_flag in '' yes
6621do
6622  # Use a header file that comes with gcc, so configuring glibc
6623  # with a fresh cross-compiler works.
6624  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6625  # <limits.h> exists even on freestanding compilers.
6626  # On the NeXT, cc -E runs the code through the compiler's parser,
6627  # not just through cpp. "Syntax error" is here to catch this case.
6628  cat >conftest.$ac_ext <<_ACEOF
6629/* confdefs.h.  */
6630_ACEOF
6631cat confdefs.h >>conftest.$ac_ext
6632cat >>conftest.$ac_ext <<_ACEOF
6633/* end confdefs.h.  */
6634#ifdef __STDC__
6635# include <limits.h>
6636#else
6637# include <assert.h>
6638#endif
6639		     Syntax error
6640_ACEOF
6641if { (ac_try="$ac_cpp conftest.$ac_ext"
6642case "(($ac_try" in
6643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6644  *) ac_try_echo=$ac_try;;
6645esac
6646eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6647  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6648  ac_status=$?
6649  grep -v '^ *+' conftest.er1 >conftest.err
6650  rm -f conftest.er1
6651  cat conftest.err >&5
6652  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653  (exit $ac_status); } >/dev/null && {
6654	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6655	 test ! -s conftest.err
6656       }; then
6657  :
6658else
6659  echo "$as_me: failed program was:" >&5
6660sed 's/^/| /' conftest.$ac_ext >&5
6661
6662  # Broken: fails on valid input.
6663continue
6664fi
6665
6666rm -f conftest.err conftest.$ac_ext
6667
6668  # OK, works on sane cases.  Now check whether nonexistent headers
6669  # can be detected and how.
6670  cat >conftest.$ac_ext <<_ACEOF
6671/* confdefs.h.  */
6672_ACEOF
6673cat confdefs.h >>conftest.$ac_ext
6674cat >>conftest.$ac_ext <<_ACEOF
6675/* end confdefs.h.  */
6676#include <ac_nonexistent.h>
6677_ACEOF
6678if { (ac_try="$ac_cpp conftest.$ac_ext"
6679case "(($ac_try" in
6680  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6681  *) ac_try_echo=$ac_try;;
6682esac
6683eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6684  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6685  ac_status=$?
6686  grep -v '^ *+' conftest.er1 >conftest.err
6687  rm -f conftest.er1
6688  cat conftest.err >&5
6689  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690  (exit $ac_status); } >/dev/null && {
6691	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6692	 test ! -s conftest.err
6693       }; then
6694  # Broken: success on invalid input.
6695continue
6696else
6697  echo "$as_me: failed program was:" >&5
6698sed 's/^/| /' conftest.$ac_ext >&5
6699
6700  # Passes both tests.
6701ac_preproc_ok=:
6702break
6703fi
6704
6705rm -f conftest.err conftest.$ac_ext
6706
6707done
6708# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6709rm -f conftest.err conftest.$ac_ext
6710if $ac_preproc_ok; then
6711  break
6712fi
6713
6714    done
6715    ac_cv_prog_CXXCPP=$CXXCPP
6716
6717fi
6718  CXXCPP=$ac_cv_prog_CXXCPP
6719else
6720  ac_cv_prog_CXXCPP=$CXXCPP
6721fi
6722{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6723echo "${ECHO_T}$CXXCPP" >&6; }
6724ac_preproc_ok=false
6725for ac_cxx_preproc_warn_flag in '' yes
6726do
6727  # Use a header file that comes with gcc, so configuring glibc
6728  # with a fresh cross-compiler works.
6729  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6730  # <limits.h> exists even on freestanding compilers.
6731  # On the NeXT, cc -E runs the code through the compiler's parser,
6732  # not just through cpp. "Syntax error" is here to catch this case.
6733  cat >conftest.$ac_ext <<_ACEOF
6734/* confdefs.h.  */
6735_ACEOF
6736cat confdefs.h >>conftest.$ac_ext
6737cat >>conftest.$ac_ext <<_ACEOF
6738/* end confdefs.h.  */
6739#ifdef __STDC__
6740# include <limits.h>
6741#else
6742# include <assert.h>
6743#endif
6744		     Syntax error
6745_ACEOF
6746if { (ac_try="$ac_cpp conftest.$ac_ext"
6747case "(($ac_try" in
6748  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6749  *) ac_try_echo=$ac_try;;
6750esac
6751eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6752  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6753  ac_status=$?
6754  grep -v '^ *+' conftest.er1 >conftest.err
6755  rm -f conftest.er1
6756  cat conftest.err >&5
6757  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758  (exit $ac_status); } >/dev/null && {
6759	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6760	 test ! -s conftest.err
6761       }; then
6762  :
6763else
6764  echo "$as_me: failed program was:" >&5
6765sed 's/^/| /' conftest.$ac_ext >&5
6766
6767  # Broken: fails on valid input.
6768continue
6769fi
6770
6771rm -f conftest.err conftest.$ac_ext
6772
6773  # OK, works on sane cases.  Now check whether nonexistent headers
6774  # can be detected and how.
6775  cat >conftest.$ac_ext <<_ACEOF
6776/* confdefs.h.  */
6777_ACEOF
6778cat confdefs.h >>conftest.$ac_ext
6779cat >>conftest.$ac_ext <<_ACEOF
6780/* end confdefs.h.  */
6781#include <ac_nonexistent.h>
6782_ACEOF
6783if { (ac_try="$ac_cpp conftest.$ac_ext"
6784case "(($ac_try" in
6785  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6786  *) ac_try_echo=$ac_try;;
6787esac
6788eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6789  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6790  ac_status=$?
6791  grep -v '^ *+' conftest.er1 >conftest.err
6792  rm -f conftest.er1
6793  cat conftest.err >&5
6794  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795  (exit $ac_status); } >/dev/null && {
6796	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6797	 test ! -s conftest.err
6798       }; then
6799  # Broken: success on invalid input.
6800continue
6801else
6802  echo "$as_me: failed program was:" >&5
6803sed 's/^/| /' conftest.$ac_ext >&5
6804
6805  # Passes both tests.
6806ac_preproc_ok=:
6807break
6808fi
6809
6810rm -f conftest.err conftest.$ac_ext
6811
6812done
6813# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6814rm -f conftest.err conftest.$ac_ext
6815if $ac_preproc_ok; then
6816  :
6817else
6818  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6819See \`config.log' for more details." >&5
6820echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6821See \`config.log' for more details." >&2;}
6822   { (exit 1); exit 1; }; }
6823fi
6824
6825ac_ext=cpp
6826ac_cpp='$CXXCPP $CPPFLAGS'
6827ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6828ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6829ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6830
6831fi
6832
6833
6834ac_ext=f
6835ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6836ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6837ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6838if test -n "$ac_tool_prefix"; then
6839  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6840  do
6841    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6842set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6843{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6844echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6845if test "${ac_cv_prog_F77+set}" = set; then
6846  echo $ECHO_N "(cached) $ECHO_C" >&6
6847else
6848  if test -n "$F77"; then
6849  ac_cv_prog_F77="$F77" # Let the user override the test.
6850else
6851as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852for as_dir in $PATH
6853do
6854  IFS=$as_save_IFS
6855  test -z "$as_dir" && as_dir=.
6856  for ac_exec_ext in '' $ac_executable_extensions; do
6857  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6858    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6859    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6860    break 2
6861  fi
6862done
6863done
6864IFS=$as_save_IFS
6865
6866fi
6867fi
6868F77=$ac_cv_prog_F77
6869if test -n "$F77"; then
6870  { echo "$as_me:$LINENO: result: $F77" >&5
6871echo "${ECHO_T}$F77" >&6; }
6872else
6873  { echo "$as_me:$LINENO: result: no" >&5
6874echo "${ECHO_T}no" >&6; }
6875fi
6876
6877
6878    test -n "$F77" && break
6879  done
6880fi
6881if test -z "$F77"; then
6882  ac_ct_F77=$F77
6883  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6884do
6885  # Extract the first word of "$ac_prog", so it can be a program name with args.
6886set dummy $ac_prog; ac_word=$2
6887{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6888echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6889if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6890  echo $ECHO_N "(cached) $ECHO_C" >&6
6891else
6892  if test -n "$ac_ct_F77"; then
6893  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6894else
6895as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6896for as_dir in $PATH
6897do
6898  IFS=$as_save_IFS
6899  test -z "$as_dir" && as_dir=.
6900  for ac_exec_ext in '' $ac_executable_extensions; do
6901  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6902    ac_cv_prog_ac_ct_F77="$ac_prog"
6903    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6904    break 2
6905  fi
6906done
6907done
6908IFS=$as_save_IFS
6909
6910fi
6911fi
6912ac_ct_F77=$ac_cv_prog_ac_ct_F77
6913if test -n "$ac_ct_F77"; then
6914  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6915echo "${ECHO_T}$ac_ct_F77" >&6; }
6916else
6917  { echo "$as_me:$LINENO: result: no" >&5
6918echo "${ECHO_T}no" >&6; }
6919fi
6920
6921
6922  test -n "$ac_ct_F77" && break
6923done
6924
6925  if test "x$ac_ct_F77" = x; then
6926    F77=""
6927  else
6928    case $cross_compiling:$ac_tool_warned in
6929yes:)
6930{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6931whose name does not start with the host triplet.  If you think this
6932configuration is useful to you, please write to autoconf@gnu.org." >&5
6933echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6934whose name does not start with the host triplet.  If you think this
6935configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6936ac_tool_warned=yes ;;
6937esac
6938    F77=$ac_ct_F77
6939  fi
6940fi
6941
6942
6943# Provide some information about the compiler.
6944echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6945ac_compiler=`set X $ac_compile; echo $2`
6946{ (ac_try="$ac_compiler --version >&5"
6947case "(($ac_try" in
6948  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6949  *) ac_try_echo=$ac_try;;
6950esac
6951eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6952  (eval "$ac_compiler --version >&5") 2>&5
6953  ac_status=$?
6954  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955  (exit $ac_status); }
6956{ (ac_try="$ac_compiler -v >&5"
6957case "(($ac_try" in
6958  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6959  *) ac_try_echo=$ac_try;;
6960esac
6961eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6962  (eval "$ac_compiler -v >&5") 2>&5
6963  ac_status=$?
6964  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965  (exit $ac_status); }
6966{ (ac_try="$ac_compiler -V >&5"
6967case "(($ac_try" in
6968  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6969  *) ac_try_echo=$ac_try;;
6970esac
6971eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6972  (eval "$ac_compiler -V >&5") 2>&5
6973  ac_status=$?
6974  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975  (exit $ac_status); }
6976rm -f a.out
6977
6978# If we don't use `.F' as extension, the preprocessor is not run on the
6979# input file.  (Note that this only needs to work for GNU compilers.)
6980ac_save_ext=$ac_ext
6981ac_ext=F
6982{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6983echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6984if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6985  echo $ECHO_N "(cached) $ECHO_C" >&6
6986else
6987  cat >conftest.$ac_ext <<_ACEOF
6988      program main
6989#ifndef __GNUC__
6990       choke me
6991#endif
6992
6993      end
6994_ACEOF
6995rm -f conftest.$ac_objext
6996if { (ac_try="$ac_compile"
6997case "(($ac_try" in
6998  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6999  *) ac_try_echo=$ac_try;;
7000esac
7001eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7002  (eval "$ac_compile") 2>conftest.er1
7003  ac_status=$?
7004  grep -v '^ *+' conftest.er1 >conftest.err
7005  rm -f conftest.er1
7006  cat conftest.err >&5
7007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008  (exit $ac_status); } && {
7009	 test -z "$ac_f77_werror_flag" ||
7010	 test ! -s conftest.err
7011       } && test -s conftest.$ac_objext; then
7012  ac_compiler_gnu=yes
7013else
7014  echo "$as_me: failed program was:" >&5
7015sed 's/^/| /' conftest.$ac_ext >&5
7016
7017	ac_compiler_gnu=no
7018fi
7019
7020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7021ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7022
7023fi
7024{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7025echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7026ac_ext=$ac_save_ext
7027ac_test_FFLAGS=${FFLAGS+set}
7028ac_save_FFLAGS=$FFLAGS
7029FFLAGS=
7030{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7031echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7032if test "${ac_cv_prog_f77_g+set}" = set; then
7033  echo $ECHO_N "(cached) $ECHO_C" >&6
7034else
7035  FFLAGS=-g
7036cat >conftest.$ac_ext <<_ACEOF
7037      program main
7038
7039      end
7040_ACEOF
7041rm -f conftest.$ac_objext
7042if { (ac_try="$ac_compile"
7043case "(($ac_try" in
7044  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7045  *) ac_try_echo=$ac_try;;
7046esac
7047eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7048  (eval "$ac_compile") 2>conftest.er1
7049  ac_status=$?
7050  grep -v '^ *+' conftest.er1 >conftest.err
7051  rm -f conftest.er1
7052  cat conftest.err >&5
7053  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054  (exit $ac_status); } && {
7055	 test -z "$ac_f77_werror_flag" ||
7056	 test ! -s conftest.err
7057       } && test -s conftest.$ac_objext; then
7058  ac_cv_prog_f77_g=yes
7059else
7060  echo "$as_me: failed program was:" >&5
7061sed 's/^/| /' conftest.$ac_ext >&5
7062
7063	ac_cv_prog_f77_g=no
7064fi
7065
7066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7067
7068fi
7069{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7070echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7071if test "$ac_test_FFLAGS" = set; then
7072  FFLAGS=$ac_save_FFLAGS
7073elif test $ac_cv_prog_f77_g = yes; then
7074  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7075    FFLAGS="-g -O2"
7076  else
7077    FFLAGS="-g"
7078  fi
7079else
7080  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7081    FFLAGS="-O2"
7082  else
7083    FFLAGS=
7084  fi
7085fi
7086
7087G77=`test $ac_compiler_gnu = yes && echo yes`
7088ac_ext=c
7089ac_cpp='$CPP $CPPFLAGS'
7090ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7091ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7092ac_compiler_gnu=$ac_cv_c_compiler_gnu
7093
7094
7095
7096# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7097
7098# find the maximum length of command line arguments
7099{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7100echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7101if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7102  echo $ECHO_N "(cached) $ECHO_C" >&6
7103else
7104    i=0
7105  teststring="ABCD"
7106
7107  case $build_os in
7108  msdosdjgpp*)
7109    # On DJGPP, this test can blow up pretty badly due to problems in libc
7110    # (any single argument exceeding 2000 bytes causes a buffer overrun
7111    # during glob expansion).  Even if it were fixed, the result of this
7112    # check would be larger than it should be.
7113    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7114    ;;
7115
7116  gnu*)
7117    # Under GNU Hurd, this test is not required because there is
7118    # no limit to the length of command line arguments.
7119    # Libtool will interpret -1 as no limit whatsoever
7120    lt_cv_sys_max_cmd_len=-1;
7121    ;;
7122
7123  cygwin* | mingw*)
7124    # On Win9x/ME, this test blows up -- it succeeds, but takes
7125    # about 5 minutes as the teststring grows exponentially.
7126    # Worse, since 9x/ME are not pre-emptively multitasking,
7127    # you end up with a "frozen" computer, even though with patience
7128    # the test eventually succeeds (with a max line length of 256k).
7129    # Instead, let's just punt: use the minimum linelength reported by
7130    # all of the supported platforms: 8192 (on NT/2K/XP).
7131    lt_cv_sys_max_cmd_len=8192;
7132    ;;
7133
7134  amigaos*)
7135    # On AmigaOS with pdksh, this test takes hours, literally.
7136    # So we just punt and use a minimum line length of 8192.
7137    lt_cv_sys_max_cmd_len=8192;
7138    ;;
7139
7140  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7141    # This has been around since 386BSD, at least.  Likely further.
7142    if test -x /sbin/sysctl; then
7143      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7144    elif test -x /usr/sbin/sysctl; then
7145      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7146    else
7147      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
7148    fi
7149    # And add a safety zone
7150    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7151    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7152    ;;
7153
7154  interix*)
7155    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7156    lt_cv_sys_max_cmd_len=196608
7157    ;;
7158
7159  osf*)
7160    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7161    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7162    # nice to cause kernel panics so lets avoid the loop below.
7163    # First set a reasonable default.
7164    lt_cv_sys_max_cmd_len=16384
7165    #
7166    if test -x /sbin/sysconfig; then
7167      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7168        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7169      esac
7170    fi
7171    ;;
7172  sco3.2v5*)
7173    lt_cv_sys_max_cmd_len=102400
7174    ;;
7175  sysv5* | sco5v6* | sysv4.2uw2*)
7176    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7177    if test -n "$kargmax"; then
7178      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
7179    else
7180      lt_cv_sys_max_cmd_len=32768
7181    fi
7182    ;;
7183  *)
7184    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7185    if test -n "$lt_cv_sys_max_cmd_len"; then
7186      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7187      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7188    else
7189      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7190      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7191	       = "XX$teststring") >/dev/null 2>&1 &&
7192	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
7193	      lt_cv_sys_max_cmd_len=$new_result &&
7194	      test $i != 17 # 1/2 MB should be enough
7195      do
7196        i=`expr $i + 1`
7197        teststring=$teststring$teststring
7198      done
7199      teststring=
7200      # Add a significant safety factor because C++ compilers can tack on massive
7201      # amounts of additional arguments before passing them to the linker.
7202      # It appears as though 1/2 is a usable value.
7203      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7204    fi
7205    ;;
7206  esac
7207
7208fi
7209
7210if test -n $lt_cv_sys_max_cmd_len ; then
7211  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7212echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7213else
7214  { echo "$as_me:$LINENO: result: none" >&5
7215echo "${ECHO_T}none" >&6; }
7216fi
7217
7218
7219
7220
7221
7222# Check for command to grab the raw symbol name followed by C symbol from nm.
7223{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7224echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7225if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7226  echo $ECHO_N "(cached) $ECHO_C" >&6
7227else
7228
7229# These are sane defaults that work on at least a few old systems.
7230# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7231
7232# Character class describing NM global symbol codes.
7233symcode='[BCDEGRST]'
7234
7235# Regexp to match symbols that can be accessed directly from C.
7236sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7237
7238# Transform an extracted symbol line into a proper C declaration
7239lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7240
7241# Transform an extracted symbol line into symbol name and symbol address
7242lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
7243
7244# Define system-specific variables.
7245case $host_os in
7246aix*)
7247  symcode='[BCDT]'
7248  ;;
7249cygwin* | mingw* | pw32*)
7250  symcode='[ABCDGISTW]'
7251  ;;
7252hpux*) # Its linker distinguishes data from code symbols
7253  if test "$host_cpu" = ia64; then
7254    symcode='[ABCDEGRST]'
7255  fi
7256  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7257  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
7258  ;;
7259linux* | k*bsd*-gnu)
7260  if test "$host_cpu" = ia64; then
7261    symcode='[ABCDGIRSTW]'
7262    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7263    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
7264  fi
7265  ;;
7266irix* | nonstopux*)
7267  symcode='[BCDEGRST]'
7268  ;;
7269osf*)
7270  symcode='[BCDEGQRST]'
7271  ;;
7272solaris*)
7273  symcode='[BDRT]'
7274  ;;
7275sco3.2v5*)
7276  symcode='[DT]'
7277  ;;
7278sysv4.2uw2*)
7279  symcode='[DT]'
7280  ;;
7281sysv5* | sco5v6* | unixware* | OpenUNIX*)
7282  symcode='[ABDT]'
7283  ;;
7284sysv4)
7285  symcode='[DFNSTU]'
7286  ;;
7287esac
7288
7289# Handle CRLF in mingw tool chain
7290opt_cr=
7291case $build_os in
7292mingw*)
7293  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7294  ;;
7295esac
7296
7297# If we're using GNU nm, then use its standard symbol codes.
7298case `$NM -V 2>&1` in
7299*GNU* | *'with BFD'*)
7300  symcode='[ABCDGIRSTW]' ;;
7301esac
7302
7303# Try without a prefix undercore, then with it.
7304for ac_symprfx in "" "_"; do
7305
7306  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7307  symxfrm="\\1 $ac_symprfx\\2 \\2"
7308
7309  # Write the raw and C identifiers.
7310  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7311
7312  # Check to see that the pipe works correctly.
7313  pipe_works=no
7314
7315  rm -f conftest*
7316  cat > conftest.$ac_ext <<EOF
7317#ifdef __cplusplus
7318extern "C" {
7319#endif
7320char nm_test_var;
7321void nm_test_func(){}
7322#ifdef __cplusplus
7323}
7324#endif
7325int main(){nm_test_var='a';nm_test_func();return(0);}
7326EOF
7327
7328  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7329  (eval $ac_compile) 2>&5
7330  ac_status=$?
7331  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332  (exit $ac_status); }; then
7333    # Now try to grab the symbols.
7334    nlist=conftest.nm
7335    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7336  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7337  ac_status=$?
7338  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339  (exit $ac_status); } && test -s "$nlist"; then
7340      # Try sorting and uniquifying the output.
7341      if sort "$nlist" | uniq > "$nlist"T; then
7342	mv -f "$nlist"T "$nlist"
7343      else
7344	rm -f "$nlist"T
7345      fi
7346
7347      # Make sure that we snagged all the symbols we need.
7348      if grep ' nm_test_var$' "$nlist" >/dev/null; then
7349	if grep ' nm_test_func$' "$nlist" >/dev/null; then
7350	  cat <<EOF > conftest.$ac_ext
7351#ifdef __cplusplus
7352extern "C" {
7353#endif
7354
7355EOF
7356	  # Now generate the symbol file.
7357	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7358
7359	  cat <<EOF >> conftest.$ac_ext
7360#if defined (__STDC__) && __STDC__
7361# define lt_ptr_t void *
7362#else
7363# define lt_ptr_t char *
7364# define const
7365#endif
7366
7367/* The mapping between symbol names and symbols. */
7368const struct {
7369  const char *name;
7370  lt_ptr_t address;
7371}
7372lt_preloaded_symbols[] =
7373{
7374EOF
7375	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7376	  cat <<\EOF >> conftest.$ac_ext
7377  {0, (lt_ptr_t) 0}
7378};
7379
7380#ifdef __cplusplus
7381}
7382#endif
7383EOF
7384	  # Now try linking the two files.
7385	  mv conftest.$ac_objext conftstm.$ac_objext
7386	  lt_save_LIBS="$LIBS"
7387	  lt_save_CFLAGS="$CFLAGS"
7388	  LIBS="conftstm.$ac_objext"
7389	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7390	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7391  (eval $ac_link) 2>&5
7392  ac_status=$?
7393  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394  (exit $ac_status); } && test -s conftest${ac_exeext}; then
7395	    pipe_works=yes
7396	  fi
7397	  LIBS="$lt_save_LIBS"
7398	  CFLAGS="$lt_save_CFLAGS"
7399	else
7400	  echo "cannot find nm_test_func in $nlist" >&5
7401	fi
7402      else
7403	echo "cannot find nm_test_var in $nlist" >&5
7404      fi
7405    else
7406      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7407    fi
7408  else
7409    echo "$progname: failed program was:" >&5
7410    cat conftest.$ac_ext >&5
7411  fi
7412  rm -f conftest* conftst*
7413
7414  # Do not use the global_symbol_pipe unless it works.
7415  if test "$pipe_works" = yes; then
7416    break
7417  else
7418    lt_cv_sys_global_symbol_pipe=
7419  fi
7420done
7421
7422fi
7423
7424if test -z "$lt_cv_sys_global_symbol_pipe"; then
7425  lt_cv_sys_global_symbol_to_cdecl=
7426fi
7427if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7428  { echo "$as_me:$LINENO: result: failed" >&5
7429echo "${ECHO_T}failed" >&6; }
7430else
7431  { echo "$as_me:$LINENO: result: ok" >&5
7432echo "${ECHO_T}ok" >&6; }
7433fi
7434
7435{ echo "$as_me:$LINENO: checking for objdir" >&5
7436echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7437if test "${lt_cv_objdir+set}" = set; then
7438  echo $ECHO_N "(cached) $ECHO_C" >&6
7439else
7440  rm -f .libs 2>/dev/null
7441mkdir .libs 2>/dev/null
7442if test -d .libs; then
7443  lt_cv_objdir=.libs
7444else
7445  # MS-DOS does not allow filenames that begin with a dot.
7446  lt_cv_objdir=_libs
7447fi
7448rmdir .libs 2>/dev/null
7449fi
7450{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7451echo "${ECHO_T}$lt_cv_objdir" >&6; }
7452objdir=$lt_cv_objdir
7453
7454
7455
7456
7457
7458case $host_os in
7459aix3*)
7460  # AIX sometimes has problems with the GCC collect2 program.  For some
7461  # reason, if we set the COLLECT_NAMES environment variable, the problems
7462  # vanish in a puff of smoke.
7463  if test "X${COLLECT_NAMES+set}" != Xset; then
7464    COLLECT_NAMES=
7465    export COLLECT_NAMES
7466  fi
7467  ;;
7468esac
7469
7470# Sed substitution that helps us do robust quoting.  It backslashifies
7471# metacharacters that are still active within double-quoted strings.
7472Xsed='sed -e 1s/^X//'
7473sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7474
7475# Same as above, but do not quote variable references.
7476double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7477
7478# Sed substitution to delay expansion of an escaped shell variable in a
7479# double_quote_subst'ed string.
7480delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7481
7482# Sed substitution to avoid accidental globbing in evaled expressions
7483no_glob_subst='s/\*/\\\*/g'
7484
7485# Constants:
7486rm="rm -f"
7487
7488# Global variables:
7489default_ofile=libtool
7490can_build_shared=yes
7491
7492# All known linkers require a `.a' archive for static linking (except MSVC,
7493# which needs '.lib').
7494libext=a
7495ltmain="$ac_aux_dir/ltmain.sh"
7496ofile="$default_ofile"
7497with_gnu_ld="$lt_cv_prog_gnu_ld"
7498
7499if test -n "$ac_tool_prefix"; then
7500  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7501set dummy ${ac_tool_prefix}ar; ac_word=$2
7502{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7503echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7504if test "${ac_cv_prog_AR+set}" = set; then
7505  echo $ECHO_N "(cached) $ECHO_C" >&6
7506else
7507  if test -n "$AR"; then
7508  ac_cv_prog_AR="$AR" # Let the user override the test.
7509else
7510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7511for as_dir in $PATH
7512do
7513  IFS=$as_save_IFS
7514  test -z "$as_dir" && as_dir=.
7515  for ac_exec_ext in '' $ac_executable_extensions; do
7516  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7517    ac_cv_prog_AR="${ac_tool_prefix}ar"
7518    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7519    break 2
7520  fi
7521done
7522done
7523IFS=$as_save_IFS
7524
7525fi
7526fi
7527AR=$ac_cv_prog_AR
7528if test -n "$AR"; then
7529  { echo "$as_me:$LINENO: result: $AR" >&5
7530echo "${ECHO_T}$AR" >&6; }
7531else
7532  { echo "$as_me:$LINENO: result: no" >&5
7533echo "${ECHO_T}no" >&6; }
7534fi
7535
7536
7537fi
7538if test -z "$ac_cv_prog_AR"; then
7539  ac_ct_AR=$AR
7540  # Extract the first word of "ar", so it can be a program name with args.
7541set dummy ar; ac_word=$2
7542{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7543echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7544if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7545  echo $ECHO_N "(cached) $ECHO_C" >&6
7546else
7547  if test -n "$ac_ct_AR"; then
7548  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7549else
7550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7551for as_dir in $PATH
7552do
7553  IFS=$as_save_IFS
7554  test -z "$as_dir" && as_dir=.
7555  for ac_exec_ext in '' $ac_executable_extensions; do
7556  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7557    ac_cv_prog_ac_ct_AR="ar"
7558    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7559    break 2
7560  fi
7561done
7562done
7563IFS=$as_save_IFS
7564
7565fi
7566fi
7567ac_ct_AR=$ac_cv_prog_ac_ct_AR
7568if test -n "$ac_ct_AR"; then
7569  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7570echo "${ECHO_T}$ac_ct_AR" >&6; }
7571else
7572  { echo "$as_me:$LINENO: result: no" >&5
7573echo "${ECHO_T}no" >&6; }
7574fi
7575
7576  if test "x$ac_ct_AR" = x; then
7577    AR="false"
7578  else
7579    case $cross_compiling:$ac_tool_warned in
7580yes:)
7581{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7582whose name does not start with the host triplet.  If you think this
7583configuration is useful to you, please write to autoconf@gnu.org." >&5
7584echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7585whose name does not start with the host triplet.  If you think this
7586configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7587ac_tool_warned=yes ;;
7588esac
7589    AR=$ac_ct_AR
7590  fi
7591else
7592  AR="$ac_cv_prog_AR"
7593fi
7594
7595if test -n "$ac_tool_prefix"; then
7596  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7597set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7598{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7599echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7600if test "${ac_cv_prog_RANLIB+set}" = set; then
7601  echo $ECHO_N "(cached) $ECHO_C" >&6
7602else
7603  if test -n "$RANLIB"; then
7604  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7605else
7606as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7607for as_dir in $PATH
7608do
7609  IFS=$as_save_IFS
7610  test -z "$as_dir" && as_dir=.
7611  for ac_exec_ext in '' $ac_executable_extensions; do
7612  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7613    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7614    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7615    break 2
7616  fi
7617done
7618done
7619IFS=$as_save_IFS
7620
7621fi
7622fi
7623RANLIB=$ac_cv_prog_RANLIB
7624if test -n "$RANLIB"; then
7625  { echo "$as_me:$LINENO: result: $RANLIB" >&5
7626echo "${ECHO_T}$RANLIB" >&6; }
7627else
7628  { echo "$as_me:$LINENO: result: no" >&5
7629echo "${ECHO_T}no" >&6; }
7630fi
7631
7632
7633fi
7634if test -z "$ac_cv_prog_RANLIB"; then
7635  ac_ct_RANLIB=$RANLIB
7636  # Extract the first word of "ranlib", so it can be a program name with args.
7637set dummy ranlib; ac_word=$2
7638{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7639echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7640if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7641  echo $ECHO_N "(cached) $ECHO_C" >&6
7642else
7643  if test -n "$ac_ct_RANLIB"; then
7644  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7645else
7646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647for as_dir in $PATH
7648do
7649  IFS=$as_save_IFS
7650  test -z "$as_dir" && as_dir=.
7651  for ac_exec_ext in '' $ac_executable_extensions; do
7652  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653    ac_cv_prog_ac_ct_RANLIB="ranlib"
7654    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7655    break 2
7656  fi
7657done
7658done
7659IFS=$as_save_IFS
7660
7661fi
7662fi
7663ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7664if test -n "$ac_ct_RANLIB"; then
7665  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7666echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7667else
7668  { echo "$as_me:$LINENO: result: no" >&5
7669echo "${ECHO_T}no" >&6; }
7670fi
7671
7672  if test "x$ac_ct_RANLIB" = x; then
7673    RANLIB=":"
7674  else
7675    case $cross_compiling:$ac_tool_warned in
7676yes:)
7677{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7678whose name does not start with the host triplet.  If you think this
7679configuration is useful to you, please write to autoconf@gnu.org." >&5
7680echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7681whose name does not start with the host triplet.  If you think this
7682configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7683ac_tool_warned=yes ;;
7684esac
7685    RANLIB=$ac_ct_RANLIB
7686  fi
7687else
7688  RANLIB="$ac_cv_prog_RANLIB"
7689fi
7690
7691if test -n "$ac_tool_prefix"; then
7692  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7693set dummy ${ac_tool_prefix}strip; ac_word=$2
7694{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7695echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7696if test "${ac_cv_prog_STRIP+set}" = set; then
7697  echo $ECHO_N "(cached) $ECHO_C" >&6
7698else
7699  if test -n "$STRIP"; then
7700  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7701else
7702as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7703for as_dir in $PATH
7704do
7705  IFS=$as_save_IFS
7706  test -z "$as_dir" && as_dir=.
7707  for ac_exec_ext in '' $ac_executable_extensions; do
7708  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7709    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7710    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7711    break 2
7712  fi
7713done
7714done
7715IFS=$as_save_IFS
7716
7717fi
7718fi
7719STRIP=$ac_cv_prog_STRIP
7720if test -n "$STRIP"; then
7721  { echo "$as_me:$LINENO: result: $STRIP" >&5
7722echo "${ECHO_T}$STRIP" >&6; }
7723else
7724  { echo "$as_me:$LINENO: result: no" >&5
7725echo "${ECHO_T}no" >&6; }
7726fi
7727
7728
7729fi
7730if test -z "$ac_cv_prog_STRIP"; then
7731  ac_ct_STRIP=$STRIP
7732  # Extract the first word of "strip", so it can be a program name with args.
7733set dummy strip; ac_word=$2
7734{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7735echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7736if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7737  echo $ECHO_N "(cached) $ECHO_C" >&6
7738else
7739  if test -n "$ac_ct_STRIP"; then
7740  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7741else
7742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7743for as_dir in $PATH
7744do
7745  IFS=$as_save_IFS
7746  test -z "$as_dir" && as_dir=.
7747  for ac_exec_ext in '' $ac_executable_extensions; do
7748  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7749    ac_cv_prog_ac_ct_STRIP="strip"
7750    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7751    break 2
7752  fi
7753done
7754done
7755IFS=$as_save_IFS
7756
7757fi
7758fi
7759ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7760if test -n "$ac_ct_STRIP"; then
7761  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7762echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7763else
7764  { echo "$as_me:$LINENO: result: no" >&5
7765echo "${ECHO_T}no" >&6; }
7766fi
7767
7768  if test "x$ac_ct_STRIP" = x; then
7769    STRIP=":"
7770  else
7771    case $cross_compiling:$ac_tool_warned in
7772yes:)
7773{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7774whose name does not start with the host triplet.  If you think this
7775configuration is useful to you, please write to autoconf@gnu.org." >&5
7776echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7777whose name does not start with the host triplet.  If you think this
7778configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7779ac_tool_warned=yes ;;
7780esac
7781    STRIP=$ac_ct_STRIP
7782  fi
7783else
7784  STRIP="$ac_cv_prog_STRIP"
7785fi
7786
7787
7788old_CC="$CC"
7789old_CFLAGS="$CFLAGS"
7790
7791# Set sane defaults for various variables
7792test -z "$AR" && AR=ar
7793test -z "$AR_FLAGS" && AR_FLAGS=cru
7794test -z "$AS" && AS=as
7795test -z "$CC" && CC=cc
7796test -z "$LTCC" && LTCC=$CC
7797test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7798test -z "$DLLTOOL" && DLLTOOL=dlltool
7799test -z "$LD" && LD=ld
7800test -z "$LN_S" && LN_S="ln -s"
7801test -z "$MAGIC_CMD" && MAGIC_CMD=file
7802test -z "$NM" && NM=nm
7803test -z "$SED" && SED=sed
7804test -z "$OBJDUMP" && OBJDUMP=objdump
7805test -z "$RANLIB" && RANLIB=:
7806test -z "$STRIP" && STRIP=:
7807test -z "$ac_objext" && ac_objext=o
7808
7809# Determine commands to create old-style static archives.
7810old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7811old_postinstall_cmds='chmod 644 $oldlib'
7812old_postuninstall_cmds=
7813
7814if test -n "$RANLIB"; then
7815  case $host_os in
7816  openbsd*)
7817    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7818    ;;
7819  *)
7820    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7821    ;;
7822  esac
7823  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7824fi
7825
7826for cc_temp in $compiler""; do
7827  case $cc_temp in
7828    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7829    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7830    \-*) ;;
7831    *) break;;
7832  esac
7833done
7834cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7835
7836
7837# Only perform the check for file, if the check method requires it
7838case $deplibs_check_method in
7839file_magic*)
7840  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7841    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7842echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7843if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7844  echo $ECHO_N "(cached) $ECHO_C" >&6
7845else
7846  case $MAGIC_CMD in
7847[\\/*] |  ?:[\\/]*)
7848  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7849  ;;
7850*)
7851  lt_save_MAGIC_CMD="$MAGIC_CMD"
7852  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7853  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7854  for ac_dir in $ac_dummy; do
7855    IFS="$lt_save_ifs"
7856    test -z "$ac_dir" && ac_dir=.
7857    if test -f $ac_dir/${ac_tool_prefix}file; then
7858      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7859      if test -n "$file_magic_test_file"; then
7860	case $deplibs_check_method in
7861	"file_magic "*)
7862	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7863	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7864	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7865	    $EGREP "$file_magic_regex" > /dev/null; then
7866	    :
7867	  else
7868	    cat <<EOF 1>&2
7869
7870*** Warning: the command libtool uses to detect shared libraries,
7871*** $file_magic_cmd, produces output that libtool cannot recognize.
7872*** The result is that libtool may fail to recognize shared libraries
7873*** as such.  This will affect the creation of libtool libraries that
7874*** depend on shared libraries, but programs linked with such libtool
7875*** libraries will work regardless of this problem.  Nevertheless, you
7876*** may want to report the problem to your system manager and/or to
7877*** bug-libtool@gnu.org
7878
7879EOF
7880	  fi ;;
7881	esac
7882      fi
7883      break
7884    fi
7885  done
7886  IFS="$lt_save_ifs"
7887  MAGIC_CMD="$lt_save_MAGIC_CMD"
7888  ;;
7889esac
7890fi
7891
7892MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7893if test -n "$MAGIC_CMD"; then
7894  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7895echo "${ECHO_T}$MAGIC_CMD" >&6; }
7896else
7897  { echo "$as_me:$LINENO: result: no" >&5
7898echo "${ECHO_T}no" >&6; }
7899fi
7900
7901if test -z "$lt_cv_path_MAGIC_CMD"; then
7902  if test -n "$ac_tool_prefix"; then
7903    { echo "$as_me:$LINENO: checking for file" >&5
7904echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7905if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7906  echo $ECHO_N "(cached) $ECHO_C" >&6
7907else
7908  case $MAGIC_CMD in
7909[\\/*] |  ?:[\\/]*)
7910  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7911  ;;
7912*)
7913  lt_save_MAGIC_CMD="$MAGIC_CMD"
7914  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7915  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7916  for ac_dir in $ac_dummy; do
7917    IFS="$lt_save_ifs"
7918    test -z "$ac_dir" && ac_dir=.
7919    if test -f $ac_dir/file; then
7920      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7921      if test -n "$file_magic_test_file"; then
7922	case $deplibs_check_method in
7923	"file_magic "*)
7924	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7925	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7926	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7927	    $EGREP "$file_magic_regex" > /dev/null; then
7928	    :
7929	  else
7930	    cat <<EOF 1>&2
7931
7932*** Warning: the command libtool uses to detect shared libraries,
7933*** $file_magic_cmd, produces output that libtool cannot recognize.
7934*** The result is that libtool may fail to recognize shared libraries
7935*** as such.  This will affect the creation of libtool libraries that
7936*** depend on shared libraries, but programs linked with such libtool
7937*** libraries will work regardless of this problem.  Nevertheless, you
7938*** may want to report the problem to your system manager and/or to
7939*** bug-libtool@gnu.org
7940
7941EOF
7942	  fi ;;
7943	esac
7944      fi
7945      break
7946    fi
7947  done
7948  IFS="$lt_save_ifs"
7949  MAGIC_CMD="$lt_save_MAGIC_CMD"
7950  ;;
7951esac
7952fi
7953
7954MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7955if test -n "$MAGIC_CMD"; then
7956  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7957echo "${ECHO_T}$MAGIC_CMD" >&6; }
7958else
7959  { echo "$as_me:$LINENO: result: no" >&5
7960echo "${ECHO_T}no" >&6; }
7961fi
7962
7963  else
7964    MAGIC_CMD=:
7965  fi
7966fi
7967
7968  fi
7969  ;;
7970esac
7971
7972enable_dlopen=no
7973enable_win32_dll=yes
7974
7975# Check whether --enable-libtool-lock was given.
7976if test "${enable_libtool_lock+set}" = set; then
7977  enableval=$enable_libtool_lock;
7978fi
7979
7980test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7981
7982
7983# Check whether --with-pic was given.
7984if test "${with_pic+set}" = set; then
7985  withval=$with_pic; pic_mode="$withval"
7986else
7987  pic_mode=default
7988fi
7989
7990test -z "$pic_mode" && pic_mode=default
7991
7992# Use C for the default configuration in the libtool script
7993tagname=
7994lt_save_CC="$CC"
7995ac_ext=c
7996ac_cpp='$CPP $CPPFLAGS'
7997ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7998ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7999ac_compiler_gnu=$ac_cv_c_compiler_gnu
8000
8001
8002# Source file extension for C test sources.
8003ac_ext=c
8004
8005# Object file extension for compiled C test sources.
8006objext=o
8007objext=$objext
8008
8009# Code to be used in simple compile tests
8010lt_simple_compile_test_code="int some_variable = 0;"
8011
8012# Code to be used in simple link tests
8013lt_simple_link_test_code='int main(){return(0);}'
8014
8015
8016# If no C compiler was specified, use CC.
8017LTCC=${LTCC-"$CC"}
8018
8019# If no C compiler flags were specified, use CFLAGS.
8020LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8021
8022# Allow CC to be a program name with arguments.
8023compiler=$CC
8024
8025
8026# save warnings/boilerplate of simple test code
8027ac_outfile=conftest.$ac_objext
8028echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8029eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8030_lt_compiler_boilerplate=`cat conftest.err`
8031$rm conftest*
8032
8033ac_outfile=conftest.$ac_objext
8034echo "$lt_simple_link_test_code" >conftest.$ac_ext
8035eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8036_lt_linker_boilerplate=`cat conftest.err`
8037$rm conftest*
8038
8039
8040
8041lt_prog_compiler_no_builtin_flag=
8042
8043if test "$GCC" = yes; then
8044  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8045
8046
8047{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8048echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8049if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8050  echo $ECHO_N "(cached) $ECHO_C" >&6
8051else
8052  lt_cv_prog_compiler_rtti_exceptions=no
8053  ac_outfile=conftest.$ac_objext
8054   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8055   lt_compiler_flag="-fno-rtti -fno-exceptions"
8056   # Insert the option either (1) after the last *FLAGS variable, or
8057   # (2) before a word containing "conftest.", or (3) at the end.
8058   # Note that $ac_compile itself does not contain backslashes and begins
8059   # with a dollar sign (not a hyphen), so the echo should work correctly.
8060   # The option is referenced via a variable to avoid confusing sed.
8061   lt_compile=`echo "$ac_compile" | $SED \
8062   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8063   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8064   -e 's:$: $lt_compiler_flag:'`
8065   (eval echo "\"\$as_me:8065: $lt_compile\"" >&5)
8066   (eval "$lt_compile" 2>conftest.err)
8067   ac_status=$?
8068   cat conftest.err >&5
8069   echo "$as_me:8069: \$? = $ac_status" >&5
8070   if (exit $ac_status) && test -s "$ac_outfile"; then
8071     # The compiler can only warn and ignore the option if not recognized
8072     # So say no if there are warnings other than the usual output.
8073     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8074     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8075     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8076       lt_cv_prog_compiler_rtti_exceptions=yes
8077     fi
8078   fi
8079   $rm conftest*
8080
8081fi
8082{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8083echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8084
8085if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8086    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8087else
8088    :
8089fi
8090
8091fi
8092
8093lt_prog_compiler_wl=
8094lt_prog_compiler_pic=
8095lt_prog_compiler_static=
8096
8097{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8098echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8099
8100  if test "$GCC" = yes; then
8101    lt_prog_compiler_wl='-Wl,'
8102    lt_prog_compiler_static='-static'
8103
8104    case $host_os in
8105      aix*)
8106      # All AIX code is PIC.
8107      if test "$host_cpu" = ia64; then
8108	# AIX 5 now supports IA64 processor
8109	lt_prog_compiler_static='-Bstatic'
8110      fi
8111      ;;
8112
8113    amigaos*)
8114      # FIXME: we need at least 68020 code to build shared libraries, but
8115      # adding the `-m68020' flag to GCC prevents building anything better,
8116      # like `-m68040'.
8117      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8118      ;;
8119
8120    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8121      # PIC is the default for these OSes.
8122      ;;
8123
8124    mingw* | cygwin* | pw32* | os2*)
8125      # This hack is so that the source file can tell whether it is being
8126      # built for inclusion in a dll (and should export symbols for example).
8127      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8128      # (--disable-auto-import) libraries
8129      lt_prog_compiler_pic='-DDLL_EXPORT'
8130      ;;
8131
8132    darwin* | rhapsody*)
8133      # PIC is the default on this platform
8134      # Common symbols not allowed in MH_DYLIB files
8135      lt_prog_compiler_pic='-fno-common'
8136      ;;
8137
8138    interix[3-9]*)
8139      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8140      # Instead, we relocate shared libraries at runtime.
8141      ;;
8142
8143    msdosdjgpp*)
8144      # Just because we use GCC doesn't mean we suddenly get shared libraries
8145      # on systems that don't support them.
8146      lt_prog_compiler_can_build_shared=no
8147      enable_shared=no
8148      ;;
8149
8150    sysv4*MP*)
8151      if test -d /usr/nec; then
8152	lt_prog_compiler_pic=-Kconform_pic
8153      fi
8154      ;;
8155
8156    hpux*)
8157      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8158      # not for PA HP-UX.
8159      case $host_cpu in
8160      hppa*64*|ia64*)
8161	# +Z the default
8162	;;
8163      *)
8164	lt_prog_compiler_pic='-fPIC'
8165	;;
8166      esac
8167      ;;
8168
8169    *)
8170      lt_prog_compiler_pic='-fPIC'
8171      ;;
8172    esac
8173  else
8174    # PORTME Check for flag to pass linker flags through the system compiler.
8175    case $host_os in
8176    aix*)
8177      lt_prog_compiler_wl='-Wl,'
8178      if test "$host_cpu" = ia64; then
8179	# AIX 5 now supports IA64 processor
8180	lt_prog_compiler_static='-Bstatic'
8181      else
8182	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8183      fi
8184      ;;
8185      darwin*)
8186        # PIC is the default on this platform
8187        # Common symbols not allowed in MH_DYLIB files
8188       case $cc_basename in
8189         xlc*)
8190         lt_prog_compiler_pic='-qnocommon'
8191         lt_prog_compiler_wl='-Wl,'
8192         ;;
8193       esac
8194       ;;
8195
8196    mingw* | cygwin* | pw32* | os2*)
8197      # This hack is so that the source file can tell whether it is being
8198      # built for inclusion in a dll (and should export symbols for example).
8199      lt_prog_compiler_pic='-DDLL_EXPORT'
8200      ;;
8201
8202    hpux9* | hpux10* | hpux11*)
8203      lt_prog_compiler_wl='-Wl,'
8204      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8205      # not for PA HP-UX.
8206      case $host_cpu in
8207      hppa*64*|ia64*)
8208	# +Z the default
8209	;;
8210      *)
8211	lt_prog_compiler_pic='+Z'
8212	;;
8213      esac
8214      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8215      lt_prog_compiler_static='${wl}-a ${wl}archive'
8216      ;;
8217
8218    irix5* | irix6* | nonstopux*)
8219      lt_prog_compiler_wl='-Wl,'
8220      # PIC (with -KPIC) is the default.
8221      lt_prog_compiler_static='-non_shared'
8222      ;;
8223
8224    newsos6)
8225      lt_prog_compiler_pic='-KPIC'
8226      lt_prog_compiler_static='-Bstatic'
8227      ;;
8228
8229    linux* | k*bsd*-gnu)
8230      case $cc_basename in
8231      icc* | ecc*)
8232	lt_prog_compiler_wl='-Wl,'
8233	lt_prog_compiler_pic='-KPIC'
8234	lt_prog_compiler_static='-static'
8235        ;;
8236      pgcc* | pgf77* | pgf90* | pgf95*)
8237        # Portland Group compilers (*not* the Pentium gcc compiler,
8238	# which looks to be a dead project)
8239	lt_prog_compiler_wl='-Wl,'
8240	lt_prog_compiler_pic='-fpic'
8241	lt_prog_compiler_static='-Bstatic'
8242        ;;
8243      ccc*)
8244        lt_prog_compiler_wl='-Wl,'
8245        # All Alpha code is PIC.
8246        lt_prog_compiler_static='-non_shared'
8247        ;;
8248      *)
8249        case `$CC -V 2>&1 | sed 5q` in
8250	*Sun\ C*)
8251	  # Sun C 5.9
8252	  lt_prog_compiler_pic='-KPIC'
8253	  lt_prog_compiler_static='-Bstatic'
8254	  lt_prog_compiler_wl='-Wl,'
8255	  ;;
8256	*Sun\ F*)
8257	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8258	  lt_prog_compiler_pic='-KPIC'
8259	  lt_prog_compiler_static='-Bstatic'
8260	  lt_prog_compiler_wl=''
8261	  ;;
8262	esac
8263	;;
8264      esac
8265      ;;
8266
8267    osf3* | osf4* | osf5*)
8268      lt_prog_compiler_wl='-Wl,'
8269      # All OSF/1 code is PIC.
8270      lt_prog_compiler_static='-non_shared'
8271      ;;
8272
8273    rdos*)
8274      lt_prog_compiler_static='-non_shared'
8275      ;;
8276
8277    solaris*)
8278      lt_prog_compiler_pic='-KPIC'
8279      lt_prog_compiler_static='-Bstatic'
8280      case $cc_basename in
8281      f77* | f90* | f95*)
8282	lt_prog_compiler_wl='-Qoption ld ';;
8283      *)
8284	lt_prog_compiler_wl='-Wl,';;
8285      esac
8286      ;;
8287
8288    sunos4*)
8289      lt_prog_compiler_wl='-Qoption ld '
8290      lt_prog_compiler_pic='-PIC'
8291      lt_prog_compiler_static='-Bstatic'
8292      ;;
8293
8294    sysv4 | sysv4.2uw2* | sysv4.3*)
8295      lt_prog_compiler_wl='-Wl,'
8296      lt_prog_compiler_pic='-KPIC'
8297      lt_prog_compiler_static='-Bstatic'
8298      ;;
8299
8300    sysv4*MP*)
8301      if test -d /usr/nec ;then
8302	lt_prog_compiler_pic='-Kconform_pic'
8303	lt_prog_compiler_static='-Bstatic'
8304      fi
8305      ;;
8306
8307    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8308      lt_prog_compiler_wl='-Wl,'
8309      lt_prog_compiler_pic='-KPIC'
8310      lt_prog_compiler_static='-Bstatic'
8311      ;;
8312
8313    unicos*)
8314      lt_prog_compiler_wl='-Wl,'
8315      lt_prog_compiler_can_build_shared=no
8316      ;;
8317
8318    uts4*)
8319      lt_prog_compiler_pic='-pic'
8320      lt_prog_compiler_static='-Bstatic'
8321      ;;
8322
8323    *)
8324      lt_prog_compiler_can_build_shared=no
8325      ;;
8326    esac
8327  fi
8328
8329{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8330echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8331
8332#
8333# Check to make sure the PIC flag actually works.
8334#
8335if test -n "$lt_prog_compiler_pic"; then
8336
8337{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8338echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8339if test "${lt_prog_compiler_pic_works+set}" = set; then
8340  echo $ECHO_N "(cached) $ECHO_C" >&6
8341else
8342  lt_prog_compiler_pic_works=no
8343  ac_outfile=conftest.$ac_objext
8344   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8345   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8346   # Insert the option either (1) after the last *FLAGS variable, or
8347   # (2) before a word containing "conftest.", or (3) at the end.
8348   # Note that $ac_compile itself does not contain backslashes and begins
8349   # with a dollar sign (not a hyphen), so the echo should work correctly.
8350   # The option is referenced via a variable to avoid confusing sed.
8351   lt_compile=`echo "$ac_compile" | $SED \
8352   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8353   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8354   -e 's:$: $lt_compiler_flag:'`
8355   (eval echo "\"\$as_me:8355: $lt_compile\"" >&5)
8356   (eval "$lt_compile" 2>conftest.err)
8357   ac_status=$?
8358   cat conftest.err >&5
8359   echo "$as_me:8359: \$? = $ac_status" >&5
8360   if (exit $ac_status) && test -s "$ac_outfile"; then
8361     # The compiler can only warn and ignore the option if not recognized
8362     # So say no if there are warnings other than the usual output.
8363     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8364     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8365     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8366       lt_prog_compiler_pic_works=yes
8367     fi
8368   fi
8369   $rm conftest*
8370
8371fi
8372{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8373echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
8374
8375if test x"$lt_prog_compiler_pic_works" = xyes; then
8376    case $lt_prog_compiler_pic in
8377     "" | " "*) ;;
8378     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8379     esac
8380else
8381    lt_prog_compiler_pic=
8382     lt_prog_compiler_can_build_shared=no
8383fi
8384
8385fi
8386case $host_os in
8387  # For platforms which do not support PIC, -DPIC is meaningless:
8388  *djgpp*)
8389    lt_prog_compiler_pic=
8390    ;;
8391  *)
8392    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8393    ;;
8394esac
8395
8396#
8397# Check to make sure the static flag actually works.
8398#
8399wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8400{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8401echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8402if test "${lt_prog_compiler_static_works+set}" = set; then
8403  echo $ECHO_N "(cached) $ECHO_C" >&6
8404else
8405  lt_prog_compiler_static_works=no
8406   save_LDFLAGS="$LDFLAGS"
8407   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8408   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8409   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8410     # The linker can only warn and ignore the option if not recognized
8411     # So say no if there are warnings
8412     if test -s conftest.err; then
8413       # Append any errors to the config.log.
8414       cat conftest.err 1>&5
8415       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8416       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8417       if diff conftest.exp conftest.er2 >/dev/null; then
8418         lt_prog_compiler_static_works=yes
8419       fi
8420     else
8421       lt_prog_compiler_static_works=yes
8422     fi
8423   fi
8424   $rm conftest*
8425   LDFLAGS="$save_LDFLAGS"
8426
8427fi
8428{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8429echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8430
8431if test x"$lt_prog_compiler_static_works" = xyes; then
8432    :
8433else
8434    lt_prog_compiler_static=
8435fi
8436
8437
8438{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8439echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8440if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8441  echo $ECHO_N "(cached) $ECHO_C" >&6
8442else
8443  lt_cv_prog_compiler_c_o=no
8444   $rm -r conftest 2>/dev/null
8445   mkdir conftest
8446   cd conftest
8447   mkdir out
8448   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8449
8450   lt_compiler_flag="-o out/conftest2.$ac_objext"
8451   # Insert the option either (1) after the last *FLAGS variable, or
8452   # (2) before a word containing "conftest.", or (3) at the end.
8453   # Note that $ac_compile itself does not contain backslashes and begins
8454   # with a dollar sign (not a hyphen), so the echo should work correctly.
8455   lt_compile=`echo "$ac_compile" | $SED \
8456   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8457   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8458   -e 's:$: $lt_compiler_flag:'`
8459   (eval echo "\"\$as_me:8459: $lt_compile\"" >&5)
8460   (eval "$lt_compile" 2>out/conftest.err)
8461   ac_status=$?
8462   cat out/conftest.err >&5
8463   echo "$as_me:8463: \$? = $ac_status" >&5
8464   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8465   then
8466     # The compiler can only warn and ignore the option if not recognized
8467     # So say no if there are warnings
8468     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8469     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8470     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8471       lt_cv_prog_compiler_c_o=yes
8472     fi
8473   fi
8474   chmod u+w . 2>&5
8475   $rm conftest*
8476   # SGI C++ compiler will create directory out/ii_files/ for
8477   # template instantiation
8478   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8479   $rm out/* && rmdir out
8480   cd ..
8481   rmdir conftest
8482   $rm conftest*
8483
8484fi
8485{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8486echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8487
8488
8489hard_links="nottested"
8490if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8491  # do not overwrite the value of need_locks provided by the user
8492  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8493echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8494  hard_links=yes
8495  $rm conftest*
8496  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8497  touch conftest.a
8498  ln conftest.a conftest.b 2>&5 || hard_links=no
8499  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8500  { echo "$as_me:$LINENO: result: $hard_links" >&5
8501echo "${ECHO_T}$hard_links" >&6; }
8502  if test "$hard_links" = no; then
8503    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8504echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8505    need_locks=warn
8506  fi
8507else
8508  need_locks=no
8509fi
8510
8511{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8512echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8513
8514  runpath_var=
8515  allow_undefined_flag=
8516  enable_shared_with_static_runtimes=no
8517  archive_cmds=
8518  archive_expsym_cmds=
8519  old_archive_From_new_cmds=
8520  old_archive_from_expsyms_cmds=
8521  export_dynamic_flag_spec=
8522  whole_archive_flag_spec=
8523  thread_safe_flag_spec=
8524  hardcode_libdir_flag_spec=
8525  hardcode_libdir_flag_spec_ld=
8526  hardcode_libdir_separator=
8527  hardcode_direct=no
8528  hardcode_minus_L=no
8529  hardcode_shlibpath_var=unsupported
8530  link_all_deplibs=unknown
8531  hardcode_automatic=no
8532  module_cmds=
8533  module_expsym_cmds=
8534  always_export_symbols=no
8535  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8536  # include_expsyms should be a list of space-separated symbols to be *always*
8537  # included in the symbol list
8538  include_expsyms=
8539  # exclude_expsyms can be an extended regexp of symbols to exclude
8540  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8541  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8542  # as well as any symbol that contains `d'.
8543  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8544  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8545  # platforms (ab)use it in PIC code, but their linkers get confused if
8546  # the symbol is explicitly referenced.  Since portable code cannot
8547  # rely on this symbol name, it's probably fine to never include it in
8548  # preloaded symbol tables.
8549  extract_expsyms_cmds=
8550  # Just being paranoid about ensuring that cc_basename is set.
8551  for cc_temp in $compiler""; do
8552  case $cc_temp in
8553    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8554    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8555    \-*) ;;
8556    *) break;;
8557  esac
8558done
8559cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8560
8561  case $host_os in
8562  cygwin* | mingw* | pw32*)
8563    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8564    # When not using gcc, we currently assume that we are using
8565    # Microsoft Visual C++.
8566    if test "$GCC" != yes; then
8567      with_gnu_ld=no
8568    fi
8569    ;;
8570  interix*)
8571    # we just hope/assume this is gcc and not c89 (= MSVC++)
8572    with_gnu_ld=yes
8573    ;;
8574  openbsd*)
8575    with_gnu_ld=no
8576    ;;
8577  esac
8578
8579  ld_shlibs=yes
8580  if test "$with_gnu_ld" = yes; then
8581    # If archive_cmds runs LD, not CC, wlarc should be empty
8582    wlarc='${wl}'
8583
8584    # Set some defaults for GNU ld with shared library support. These
8585    # are reset later if shared libraries are not supported. Putting them
8586    # here allows them to be overridden if necessary.
8587    runpath_var=LD_RUN_PATH
8588    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8589    export_dynamic_flag_spec='${wl}--export-dynamic'
8590    # ancient GNU ld didn't support --whole-archive et. al.
8591    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8592	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8593      else
8594  	whole_archive_flag_spec=
8595    fi
8596    supports_anon_versioning=no
8597    case `$LD -v 2>/dev/null` in
8598      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8599      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8600      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8601      *\ 2.11.*) ;; # other 2.11 versions
8602      *) supports_anon_versioning=yes ;;
8603    esac
8604
8605    # See if GNU ld supports shared libraries.
8606    case $host_os in
8607    aix3* | aix4* | aix5*)
8608      # On AIX/PPC, the GNU linker is very broken
8609      if test "$host_cpu" != ia64; then
8610	ld_shlibs=no
8611	cat <<EOF 1>&2
8612
8613*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8614*** to be unable to reliably create shared libraries on AIX.
8615*** Therefore, libtool is disabling shared libraries support.  If you
8616*** really care for shared libraries, you may want to modify your PATH
8617*** so that a non-GNU linker is found, and then restart.
8618
8619EOF
8620      fi
8621      ;;
8622
8623    amigaos*)
8624      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)'
8625      hardcode_libdir_flag_spec='-L$libdir'
8626      hardcode_minus_L=yes
8627
8628      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8629      # that the semantics of dynamic libraries on AmigaOS, at least up
8630      # to version 4, is to share data among multiple programs linked
8631      # with the same dynamic library.  Since this doesn't match the
8632      # behavior of shared libraries on other platforms, we can't use
8633      # them.
8634      ld_shlibs=no
8635      ;;
8636
8637    beos*)
8638      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8639	allow_undefined_flag=unsupported
8640	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8641	# support --undefined.  This deserves some investigation.  FIXME
8642	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8643      else
8644	ld_shlibs=no
8645      fi
8646      ;;
8647
8648    cygwin* | mingw* | pw32*)
8649      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8650      # as there is no search path for DLLs.
8651      hardcode_libdir_flag_spec='-L$libdir'
8652      allow_undefined_flag=unsupported
8653      always_export_symbols=no
8654      enable_shared_with_static_runtimes=yes
8655      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8656
8657      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8658        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8659	# If the export-symbols file already is a .def file (1st line
8660	# is EXPORTS), use it as is; otherwise, prepend...
8661	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8662	  cp $export_symbols $output_objdir/$soname.def;
8663	else
8664	  echo EXPORTS > $output_objdir/$soname.def;
8665	  cat $export_symbols >> $output_objdir/$soname.def;
8666	fi~
8667	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8668      else
8669	ld_shlibs=no
8670      fi
8671      ;;
8672
8673    interix[3-9]*)
8674      hardcode_direct=no
8675      hardcode_shlibpath_var=no
8676      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8677      export_dynamic_flag_spec='${wl}-E'
8678      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8679      # Instead, shared libraries are loaded at an image base (0x10000000 by
8680      # default) and relocated if they conflict, which is a slow very memory
8681      # consuming and fragmenting process.  To avoid this, we pick a random,
8682      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8683      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8684      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8685      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'
8686      ;;
8687
8688    gnu* | linux* | k*bsd*-gnu)
8689      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8690	tmp_addflag=
8691	case $cc_basename,$host_cpu in
8692	pgcc*)				# Portland Group C compiler
8693	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8694	  tmp_addflag=' $pic_flag'
8695	  ;;
8696	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
8697	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8698	  tmp_addflag=' $pic_flag -Mnomain' ;;
8699	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
8700	  tmp_addflag=' -i_dynamic' ;;
8701	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8702	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8703	ifc* | ifort*)			# Intel Fortran compiler
8704	  tmp_addflag=' -nofor_main' ;;
8705	esac
8706	case `$CC -V 2>&1 | sed 5q` in
8707	*Sun\ C*)			# Sun C 5.9
8708	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8709	  tmp_sharedflag='-G' ;;
8710	*Sun\ F*)			# Sun Fortran 8.3
8711	  tmp_sharedflag='-G' ;;
8712	*)
8713	  tmp_sharedflag='-shared' ;;
8714	esac
8715	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8716
8717	if test $supports_anon_versioning = yes; then
8718	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8719  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8720  $echo "local: *; };" >> $output_objdir/$libname.ver~
8721	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8722	fi
8723      else
8724	ld_shlibs=no
8725      fi
8726      ;;
8727
8728    netbsd*)
8729      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8730	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8731	wlarc=
8732      else
8733	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8734	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8735      fi
8736      ;;
8737
8738    solaris*)
8739      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8740	ld_shlibs=no
8741	cat <<EOF 1>&2
8742
8743*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8744*** create shared libraries on Solaris systems.  Therefore, libtool
8745*** is disabling shared libraries support.  We urge you to upgrade GNU
8746*** binutils to release 2.9.1 or newer.  Another option is to modify
8747*** your PATH or compiler configuration so that the native linker is
8748*** used, and then restart.
8749
8750EOF
8751      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8752	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8753	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8754      else
8755	ld_shlibs=no
8756      fi
8757      ;;
8758
8759    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8760      case `$LD -v 2>&1` in
8761        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8762	ld_shlibs=no
8763	cat <<_LT_EOF 1>&2
8764
8765*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8766*** reliably create shared libraries on SCO systems.  Therefore, libtool
8767*** is disabling shared libraries support.  We urge you to upgrade GNU
8768*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8769*** your PATH or compiler configuration so that the native linker is
8770*** used, and then restart.
8771
8772_LT_EOF
8773	;;
8774	*)
8775	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8776	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8777	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8778	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8779	  else
8780	    ld_shlibs=no
8781	  fi
8782	;;
8783      esac
8784      ;;
8785
8786    sunos4*)
8787      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8788      wlarc=
8789      hardcode_direct=yes
8790      hardcode_shlibpath_var=no
8791      ;;
8792
8793    *)
8794      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8795	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8796	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8797      else
8798	ld_shlibs=no
8799      fi
8800      ;;
8801    esac
8802
8803    if test "$ld_shlibs" = no; then
8804      runpath_var=
8805      hardcode_libdir_flag_spec=
8806      export_dynamic_flag_spec=
8807      whole_archive_flag_spec=
8808    fi
8809  else
8810    # PORTME fill in a description of your system's linker (not GNU ld)
8811    case $host_os in
8812    aix3*)
8813      allow_undefined_flag=unsupported
8814      always_export_symbols=yes
8815      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'
8816      # Note: this linker hardcodes the directories in LIBPATH if there
8817      # are no directories specified by -L.
8818      hardcode_minus_L=yes
8819      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8820	# Neither direct hardcoding nor static linking is supported with a
8821	# broken collect2.
8822	hardcode_direct=unsupported
8823      fi
8824      ;;
8825
8826    aix4* | aix5*)
8827      if test "$host_cpu" = ia64; then
8828	# On IA64, the linker does run time linking by default, so we don't
8829	# have to do anything special.
8830	aix_use_runtimelinking=no
8831	exp_sym_flag='-Bexport'
8832	no_entry_flag=""
8833      else
8834	# If we're using GNU nm, then we don't want the "-C" option.
8835	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8836	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8837	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8838	else
8839	  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'
8840	fi
8841	aix_use_runtimelinking=no
8842
8843	# Test if we are trying to use run time linking or normal
8844	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8845	# need to do runtime linking.
8846	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8847	  for ld_flag in $LDFLAGS; do
8848  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8849  	    aix_use_runtimelinking=yes
8850  	    break
8851  	  fi
8852	  done
8853	  ;;
8854	esac
8855
8856	exp_sym_flag='-bexport'
8857	no_entry_flag='-bnoentry'
8858      fi
8859
8860      # When large executables or shared objects are built, AIX ld can
8861      # have problems creating the table of contents.  If linking a library
8862      # or program results in "error TOC overflow" add -mminimal-toc to
8863      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8864      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8865
8866      archive_cmds=''
8867      hardcode_direct=yes
8868      hardcode_libdir_separator=':'
8869      link_all_deplibs=yes
8870
8871      if test "$GCC" = yes; then
8872	case $host_os in aix4.[012]|aix4.[012].*)
8873	# We only want to do this on AIX 4.2 and lower, the check
8874	# below for broken collect2 doesn't work under 4.3+
8875	  collect2name=`${CC} -print-prog-name=collect2`
8876	  if test -f "$collect2name" && \
8877  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
8878	  then
8879  	  # We have reworked collect2
8880  	  :
8881	  else
8882  	  # We have old collect2
8883  	  hardcode_direct=unsupported
8884  	  # It fails to find uninstalled libraries when the uninstalled
8885  	  # path is not listed in the libpath.  Setting hardcode_minus_L
8886  	  # to unsupported forces relinking
8887  	  hardcode_minus_L=yes
8888  	  hardcode_libdir_flag_spec='-L$libdir'
8889  	  hardcode_libdir_separator=
8890	  fi
8891	  ;;
8892	esac
8893	shared_flag='-shared'
8894	if test "$aix_use_runtimelinking" = yes; then
8895	  shared_flag="$shared_flag "'${wl}-G'
8896	fi
8897      else
8898	# not using gcc
8899	if test "$host_cpu" = ia64; then
8900  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8901  	# chokes on -Wl,-G. The following line is correct:
8902	  shared_flag='-G'
8903	else
8904	  if test "$aix_use_runtimelinking" = yes; then
8905	    shared_flag='${wl}-G'
8906	  else
8907	    shared_flag='${wl}-bM:SRE'
8908	  fi
8909	fi
8910      fi
8911
8912      # It seems that -bexpall does not export symbols beginning with
8913      # underscore (_), so it is better to generate a list of symbols to export.
8914      always_export_symbols=yes
8915      if test "$aix_use_runtimelinking" = yes; then
8916	# Warning - without using the other runtime loading flags (-brtl),
8917	# -berok will link without error, but may produce a broken library.
8918	allow_undefined_flag='-berok'
8919       # Determine the default libpath from the value encoded in an empty executable.
8920       cat >conftest.$ac_ext <<_ACEOF
8921/* confdefs.h.  */
8922_ACEOF
8923cat confdefs.h >>conftest.$ac_ext
8924cat >>conftest.$ac_ext <<_ACEOF
8925/* end confdefs.h.  */
8926
8927int
8928main ()
8929{
8930
8931  ;
8932  return 0;
8933}
8934_ACEOF
8935rm -f conftest.$ac_objext conftest$ac_exeext
8936if { (ac_try="$ac_link"
8937case "(($ac_try" in
8938  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8939  *) ac_try_echo=$ac_try;;
8940esac
8941eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8942  (eval "$ac_link") 2>conftest.er1
8943  ac_status=$?
8944  grep -v '^ *+' conftest.er1 >conftest.err
8945  rm -f conftest.er1
8946  cat conftest.err >&5
8947  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948  (exit $ac_status); } && {
8949	 test -z "$ac_c_werror_flag" ||
8950	 test ! -s conftest.err
8951       } && test -s conftest$ac_exeext &&
8952       $as_test_x conftest$ac_exeext; then
8953
8954lt_aix_libpath_sed='
8955    /Import File Strings/,/^$/ {
8956	/^0/ {
8957	    s/^0  *\(.*\)$/\1/
8958	    p
8959	}
8960    }'
8961aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8962# Check for a 64-bit object if we didn't find anything.
8963if test -z "$aix_libpath"; then
8964  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8965fi
8966else
8967  echo "$as_me: failed program was:" >&5
8968sed 's/^/| /' conftest.$ac_ext >&5
8969
8970
8971fi
8972
8973rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8974      conftest$ac_exeext conftest.$ac_ext
8975if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8976
8977       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8978	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8979       else
8980	if test "$host_cpu" = ia64; then
8981	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8982	  allow_undefined_flag="-z nodefs"
8983	  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"
8984	else
8985	 # Determine the default libpath from the value encoded in an empty executable.
8986	 cat >conftest.$ac_ext <<_ACEOF
8987/* confdefs.h.  */
8988_ACEOF
8989cat confdefs.h >>conftest.$ac_ext
8990cat >>conftest.$ac_ext <<_ACEOF
8991/* end confdefs.h.  */
8992
8993int
8994main ()
8995{
8996
8997  ;
8998  return 0;
8999}
9000_ACEOF
9001rm -f conftest.$ac_objext conftest$ac_exeext
9002if { (ac_try="$ac_link"
9003case "(($ac_try" in
9004  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9005  *) ac_try_echo=$ac_try;;
9006esac
9007eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9008  (eval "$ac_link") 2>conftest.er1
9009  ac_status=$?
9010  grep -v '^ *+' conftest.er1 >conftest.err
9011  rm -f conftest.er1
9012  cat conftest.err >&5
9013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014  (exit $ac_status); } && {
9015	 test -z "$ac_c_werror_flag" ||
9016	 test ! -s conftest.err
9017       } && test -s conftest$ac_exeext &&
9018       $as_test_x conftest$ac_exeext; then
9019
9020lt_aix_libpath_sed='
9021    /Import File Strings/,/^$/ {
9022	/^0/ {
9023	    s/^0  *\(.*\)$/\1/
9024	    p
9025	}
9026    }'
9027aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9028# Check for a 64-bit object if we didn't find anything.
9029if test -z "$aix_libpath"; then
9030  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9031fi
9032else
9033  echo "$as_me: failed program was:" >&5
9034sed 's/^/| /' conftest.$ac_ext >&5
9035
9036
9037fi
9038
9039rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9040      conftest$ac_exeext conftest.$ac_ext
9041if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9042
9043	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9044	  # Warning - without using the other run time loading flags,
9045	  # -berok will link without error, but may produce a broken library.
9046	  no_undefined_flag=' ${wl}-bernotok'
9047	  allow_undefined_flag=' ${wl}-berok'
9048	  # Exported symbols can be pulled into shared objects from archives
9049	  whole_archive_flag_spec='$convenience'
9050	  archive_cmds_need_lc=yes
9051	  # This is similar to how AIX traditionally builds its shared libraries.
9052	  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'
9053	fi
9054      fi
9055      ;;
9056
9057    amigaos*)
9058      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)'
9059      hardcode_libdir_flag_spec='-L$libdir'
9060      hardcode_minus_L=yes
9061      # see comment about different semantics on the GNU ld section
9062      ld_shlibs=no
9063      ;;
9064
9065    bsdi[45]*)
9066      export_dynamic_flag_spec=-rdynamic
9067      ;;
9068
9069    cygwin* | mingw* | pw32*)
9070      # When not using gcc, we currently assume that we are using
9071      # Microsoft Visual C++.
9072      # hardcode_libdir_flag_spec is actually meaningless, as there is
9073      # no search path for DLLs.
9074      hardcode_libdir_flag_spec=' '
9075      allow_undefined_flag=unsupported
9076      # Tell ltmain to make .lib files, not .a files.
9077      libext=lib
9078      # Tell ltmain to make .dll files, not .so files.
9079      shrext_cmds=".dll"
9080      # FIXME: Setting linknames here is a bad hack.
9081      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9082      # The linker will automatically build a .lib file if we build a DLL.
9083      old_archive_From_new_cmds='true'
9084      # FIXME: Should let the user specify the lib program.
9085      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9086      fix_srcfile_path='`cygpath -w "$srcfile"`'
9087      enable_shared_with_static_runtimes=yes
9088      ;;
9089
9090    darwin* | rhapsody*)
9091      case $host_os in
9092        rhapsody* | darwin1.[012])
9093         allow_undefined_flag='${wl}-undefined ${wl}suppress'
9094         ;;
9095       *) # Darwin 1.3 on
9096         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9097           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9098         else
9099           case ${MACOSX_DEPLOYMENT_TARGET} in
9100             10.[012])
9101               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9102               ;;
9103             10.*)
9104               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9105               ;;
9106           esac
9107         fi
9108         ;;
9109      esac
9110      archive_cmds_need_lc=no
9111      hardcode_direct=no
9112      hardcode_automatic=yes
9113      hardcode_shlibpath_var=unsupported
9114      whole_archive_flag_spec=''
9115      link_all_deplibs=yes
9116    if test "$GCC" = yes ; then
9117    	output_verbose_link_cmd='echo'
9118        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9119      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9120      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9121      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9122      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9123    else
9124      case $cc_basename in
9125        xlc*)
9126         output_verbose_link_cmd='echo'
9127         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9128         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9129          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9130         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9131          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9132          ;;
9133       *)
9134         ld_shlibs=no
9135          ;;
9136      esac
9137    fi
9138      ;;
9139
9140    dgux*)
9141      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9142      hardcode_libdir_flag_spec='-L$libdir'
9143      hardcode_shlibpath_var=no
9144      ;;
9145
9146    freebsd1*)
9147      ld_shlibs=no
9148      ;;
9149
9150    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9151    # support.  Future versions do this automatically, but an explicit c++rt0.o
9152    # does not break anything, and helps significantly (at the cost of a little
9153    # extra space).
9154    freebsd2.2*)
9155      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9156      hardcode_libdir_flag_spec='-R$libdir'
9157      hardcode_direct=yes
9158      hardcode_shlibpath_var=no
9159      ;;
9160
9161    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9162    freebsd2*)
9163      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9164      hardcode_direct=yes
9165      hardcode_minus_L=yes
9166      hardcode_shlibpath_var=no
9167      ;;
9168
9169    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9170    freebsd* | dragonfly*)
9171      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9172      hardcode_libdir_flag_spec='-R$libdir'
9173      hardcode_direct=yes
9174      hardcode_shlibpath_var=no
9175      ;;
9176
9177    hpux9*)
9178      if test "$GCC" = yes; then
9179	archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9180      else
9181	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'
9182      fi
9183      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9184      hardcode_libdir_separator=:
9185      hardcode_direct=yes
9186
9187      # hardcode_minus_L: Not really in the search PATH,
9188      # but as the default location of the library.
9189      hardcode_minus_L=yes
9190      export_dynamic_flag_spec='${wl}-E'
9191      ;;
9192
9193    hpux10*)
9194      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9195	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9196      else
9197	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9198      fi
9199      if test "$with_gnu_ld" = no; then
9200	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9201	hardcode_libdir_separator=:
9202
9203	hardcode_direct=yes
9204	export_dynamic_flag_spec='${wl}-E'
9205
9206	# hardcode_minus_L: Not really in the search PATH,
9207	# but as the default location of the library.
9208	hardcode_minus_L=yes
9209      fi
9210      ;;
9211
9212    hpux11*)
9213      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9214	case $host_cpu in
9215	hppa*64*)
9216	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9217	  ;;
9218	ia64*)
9219	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9220	  ;;
9221	*)
9222	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9223	  ;;
9224	esac
9225      else
9226	case $host_cpu in
9227	hppa*64*)
9228	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9229	  ;;
9230	ia64*)
9231	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9232	  ;;
9233	*)
9234	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9235	  ;;
9236	esac
9237      fi
9238      if test "$with_gnu_ld" = no; then
9239	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9240	hardcode_libdir_separator=:
9241
9242	case $host_cpu in
9243	hppa*64*|ia64*)
9244	  hardcode_libdir_flag_spec_ld='+b $libdir'
9245	  hardcode_direct=no
9246	  hardcode_shlibpath_var=no
9247	  ;;
9248	*)
9249	  hardcode_direct=yes
9250	  export_dynamic_flag_spec='${wl}-E'
9251
9252	  # hardcode_minus_L: Not really in the search PATH,
9253	  # but as the default location of the library.
9254	  hardcode_minus_L=yes
9255	  ;;
9256	esac
9257      fi
9258      ;;
9259
9260    irix5* | irix6* | nonstopux*)
9261      if test "$GCC" = yes; then
9262	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9263      else
9264	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9265	hardcode_libdir_flag_spec_ld='-rpath $libdir'
9266      fi
9267      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9268      hardcode_libdir_separator=:
9269      link_all_deplibs=yes
9270      ;;
9271
9272    netbsd*)
9273      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9274	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9275      else
9276	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9277      fi
9278      hardcode_libdir_flag_spec='-R$libdir'
9279      hardcode_direct=yes
9280      hardcode_shlibpath_var=no
9281      ;;
9282
9283    newsos6)
9284      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9285      hardcode_direct=yes
9286      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9287      hardcode_libdir_separator=:
9288      hardcode_shlibpath_var=no
9289      ;;
9290
9291    openbsd*)
9292      if test -f /usr/libexec/ld.so; then
9293	hardcode_direct=yes
9294	hardcode_shlibpath_var=no
9295	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9296	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9297	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9298	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9299	  export_dynamic_flag_spec='${wl}-E'
9300	else
9301	  case $host_os in
9302	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9303	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9304	     hardcode_libdir_flag_spec='-R$libdir'
9305	     ;;
9306	   *)
9307	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9308	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9309	     ;;
9310	  esac
9311        fi
9312      else
9313	ld_shlibs=no
9314      fi
9315      ;;
9316
9317    os2*)
9318      hardcode_libdir_flag_spec='-L$libdir'
9319      hardcode_minus_L=yes
9320      allow_undefined_flag=unsupported
9321      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'
9322      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9323      ;;
9324
9325    osf3*)
9326      if test "$GCC" = yes; then
9327	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9328	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9329      else
9330	allow_undefined_flag=' -expect_unresolved \*'
9331	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9332      fi
9333      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9334      hardcode_libdir_separator=:
9335      ;;
9336
9337    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9338      if test "$GCC" = yes; then
9339	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9340	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9341	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9342      else
9343	allow_undefined_flag=' -expect_unresolved \*'
9344	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9345	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9346	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
9347
9348	# Both c and cxx compiler support -rpath directly
9349	hardcode_libdir_flag_spec='-rpath $libdir'
9350      fi
9351      hardcode_libdir_separator=:
9352      ;;
9353
9354    solaris*)
9355      no_undefined_flag=' -z text'
9356      if test "$GCC" = yes; then
9357	wlarc='${wl}'
9358	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9359	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9360	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9361      else
9362	wlarc=''
9363	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9364	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9365  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9366      fi
9367      hardcode_libdir_flag_spec='-R$libdir'
9368      hardcode_shlibpath_var=no
9369      case $host_os in
9370      solaris2.[0-5] | solaris2.[0-5].*) ;;
9371      *)
9372	# The compiler driver will combine and reorder linker options,
9373	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9374	# but is careful enough not to reorder.
9375 	# Supported since Solaris 2.6 (maybe 2.5.1?)
9376	if test "$GCC" = yes; then
9377	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9378	else
9379	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9380	fi
9381	;;
9382      esac
9383      link_all_deplibs=yes
9384      ;;
9385
9386    sunos4*)
9387      if test "x$host_vendor" = xsequent; then
9388	# Use $CC to link under sequent, because it throws in some extra .o
9389	# files that make .init and .fini sections work.
9390	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9391      else
9392	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9393      fi
9394      hardcode_libdir_flag_spec='-L$libdir'
9395      hardcode_direct=yes
9396      hardcode_minus_L=yes
9397      hardcode_shlibpath_var=no
9398      ;;
9399
9400    sysv4)
9401      case $host_vendor in
9402	sni)
9403	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9404	  hardcode_direct=yes # is this really true???
9405	;;
9406	siemens)
9407	  ## LD is ld it makes a PLAMLIB
9408	  ## CC just makes a GrossModule.
9409	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9410	  reload_cmds='$CC -r -o $output$reload_objs'
9411	  hardcode_direct=no
9412        ;;
9413	motorola)
9414	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9415	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9416	;;
9417      esac
9418      runpath_var='LD_RUN_PATH'
9419      hardcode_shlibpath_var=no
9420      ;;
9421
9422    sysv4.3*)
9423      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9424      hardcode_shlibpath_var=no
9425      export_dynamic_flag_spec='-Bexport'
9426      ;;
9427
9428    sysv4*MP*)
9429      if test -d /usr/nec; then
9430	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9431	hardcode_shlibpath_var=no
9432	runpath_var=LD_RUN_PATH
9433	hardcode_runpath_var=yes
9434	ld_shlibs=yes
9435      fi
9436      ;;
9437
9438    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9439      no_undefined_flag='${wl}-z,text'
9440      archive_cmds_need_lc=no
9441      hardcode_shlibpath_var=no
9442      runpath_var='LD_RUN_PATH'
9443
9444      if test "$GCC" = yes; then
9445	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9446	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9447      else
9448	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9449	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9450      fi
9451      ;;
9452
9453    sysv5* | sco3.2v5* | sco5v6*)
9454      # Note: We can NOT use -z defs as we might desire, because we do not
9455      # link with -lc, and that would cause any symbols used from libc to
9456      # always be unresolved, which means just about no library would
9457      # ever link correctly.  If we're not using GNU ld we use -z text
9458      # though, which does catch some bad symbols but isn't as heavy-handed
9459      # as -z defs.
9460      no_undefined_flag='${wl}-z,text'
9461      allow_undefined_flag='${wl}-z,nodefs'
9462      archive_cmds_need_lc=no
9463      hardcode_shlibpath_var=no
9464      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9465      hardcode_libdir_separator=':'
9466      link_all_deplibs=yes
9467      export_dynamic_flag_spec='${wl}-Bexport'
9468      runpath_var='LD_RUN_PATH'
9469
9470      if test "$GCC" = yes; then
9471	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9472	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9473      else
9474	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9475	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9476      fi
9477      ;;
9478
9479    uts4*)
9480      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9481      hardcode_libdir_flag_spec='-L$libdir'
9482      hardcode_shlibpath_var=no
9483      ;;
9484
9485    *)
9486      ld_shlibs=no
9487      ;;
9488    esac
9489  fi
9490
9491{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9492echo "${ECHO_T}$ld_shlibs" >&6; }
9493test "$ld_shlibs" = no && can_build_shared=no
9494
9495#
9496# Do we need to explicitly link libc?
9497#
9498case "x$archive_cmds_need_lc" in
9499x|xyes)
9500  # Assume -lc should be added
9501  archive_cmds_need_lc=yes
9502
9503  if test "$enable_shared" = yes && test "$GCC" = yes; then
9504    case $archive_cmds in
9505    *'~'*)
9506      # FIXME: we may have to deal with multi-command sequences.
9507      ;;
9508    '$CC '*)
9509      # Test whether the compiler implicitly links with -lc since on some
9510      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9511      # to ld, don't add -lc before -lgcc.
9512      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9513echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9514      $rm conftest*
9515      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9516
9517      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9518  (eval $ac_compile) 2>&5
9519  ac_status=$?
9520  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521  (exit $ac_status); } 2>conftest.err; then
9522        soname=conftest
9523        lib=conftest
9524        libobjs=conftest.$ac_objext
9525        deplibs=
9526        wl=$lt_prog_compiler_wl
9527	pic_flag=$lt_prog_compiler_pic
9528        compiler_flags=-v
9529        linker_flags=-v
9530        verstring=
9531        output_objdir=.
9532        libname=conftest
9533        lt_save_allow_undefined_flag=$allow_undefined_flag
9534        allow_undefined_flag=
9535        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9536  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9537  ac_status=$?
9538  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539  (exit $ac_status); }
9540        then
9541	  archive_cmds_need_lc=no
9542        else
9543	  archive_cmds_need_lc=yes
9544        fi
9545        allow_undefined_flag=$lt_save_allow_undefined_flag
9546      else
9547        cat conftest.err 1>&5
9548      fi
9549      $rm conftest*
9550      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9551echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9552      ;;
9553    esac
9554  fi
9555  ;;
9556esac
9557
9558{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9559echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9560library_names_spec=
9561libname_spec='lib$name'
9562soname_spec=
9563shrext_cmds=".so"
9564postinstall_cmds=
9565postuninstall_cmds=
9566finish_cmds=
9567finish_eval=
9568shlibpath_var=
9569shlibpath_overrides_runpath=unknown
9570version_type=none
9571dynamic_linker="$host_os ld.so"
9572sys_lib_dlsearch_path_spec="/lib /usr/lib"
9573
9574if test "$GCC" = yes; then
9575  case $host_os in
9576    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9577    *) lt_awk_arg="/^libraries:/" ;;
9578  esac
9579  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9580  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
9581    # if the path contains ";" then we assume it to be the separator
9582    # otherwise default to the standard path separator (i.e. ":") - it is
9583    # assumed that no part of a normal pathname contains ";" but that should
9584    # okay in the real world where ";" in dirpaths is itself problematic.
9585    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9586  else
9587    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9588  fi
9589  # Ok, now we have the path, separated by spaces, we can step through it
9590  # and add multilib dir if necessary.
9591  lt_tmp_lt_search_path_spec=
9592  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9593  for lt_sys_path in $lt_search_path_spec; do
9594    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9595      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9596    else
9597      test -d "$lt_sys_path" && \
9598	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9599    fi
9600  done
9601  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
9602BEGIN {RS=" "; FS="/|\n";} {
9603  lt_foo="";
9604  lt_count=0;
9605  for (lt_i = NF; lt_i > 0; lt_i--) {
9606    if ($lt_i != "" && $lt_i != ".") {
9607      if ($lt_i == "..") {
9608        lt_count++;
9609      } else {
9610        if (lt_count == 0) {
9611          lt_foo="/" $lt_i lt_foo;
9612        } else {
9613          lt_count--;
9614        }
9615      }
9616    }
9617  }
9618  if (lt_foo != "") { lt_freq[lt_foo]++; }
9619  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9620}'`
9621  sys_lib_search_path_spec=`echo $lt_search_path_spec`
9622else
9623  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9624fi
9625need_lib_prefix=unknown
9626hardcode_into_libs=no
9627
9628# when you set need_version to no, make sure it does not cause -set_version
9629# flags to be left without arguments
9630need_version=unknown
9631
9632case $host_os in
9633aix3*)
9634  version_type=linux
9635  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9636  shlibpath_var=LIBPATH
9637
9638  # AIX 3 has no versioning support, so we append a major version to the name.
9639  soname_spec='${libname}${release}${shared_ext}$major'
9640  ;;
9641
9642aix4* | aix5*)
9643  version_type=linux
9644  need_lib_prefix=no
9645  need_version=no
9646  hardcode_into_libs=yes
9647  if test "$host_cpu" = ia64; then
9648    # AIX 5 supports IA64
9649    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9650    shlibpath_var=LD_LIBRARY_PATH
9651  else
9652    # With GCC up to 2.95.x, collect2 would create an import file
9653    # for dependence libraries.  The import file would start with
9654    # the line `#! .'.  This would cause the generated library to
9655    # depend on `.', always an invalid library.  This was fixed in
9656    # development snapshots of GCC prior to 3.0.
9657    case $host_os in
9658      aix4 | aix4.[01] | aix4.[01].*)
9659      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9660	   echo ' yes '
9661	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9662	:
9663      else
9664	can_build_shared=no
9665      fi
9666      ;;
9667    esac
9668    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9669    # soname into executable. Probably we can add versioning support to
9670    # collect2, so additional links can be useful in future.
9671    if test "$aix_use_runtimelinking" = yes; then
9672      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9673      # instead of lib<name>.a to let people know that these are not
9674      # typical AIX shared libraries.
9675      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9676    else
9677      # We preserve .a as extension for shared libraries through AIX4.2
9678      # and later when we are not doing run time linking.
9679      library_names_spec='${libname}${release}.a $libname.a'
9680      soname_spec='${libname}${release}${shared_ext}$major'
9681    fi
9682    shlibpath_var=LIBPATH
9683  fi
9684  ;;
9685
9686amigaos*)
9687  library_names_spec='$libname.ixlibrary $libname.a'
9688  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9689  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
9690  ;;
9691
9692beos*)
9693  library_names_spec='${libname}${shared_ext}'
9694  dynamic_linker="$host_os ld.so"
9695  shlibpath_var=LIBRARY_PATH
9696  ;;
9697
9698bsdi[45]*)
9699  version_type=linux
9700  need_version=no
9701  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9702  soname_spec='${libname}${release}${shared_ext}$major'
9703  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9704  shlibpath_var=LD_LIBRARY_PATH
9705  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9706  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9707  # the default ld.so.conf also contains /usr/contrib/lib and
9708  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9709  # libtool to hard-code these into programs
9710  ;;
9711
9712cygwin* | mingw* | pw32*)
9713  version_type=windows
9714  shrext_cmds=".dll"
9715  need_version=no
9716  need_lib_prefix=no
9717
9718  case $GCC,$host_os in
9719  yes,cygwin* | yes,mingw* | yes,pw32*)
9720    library_names_spec='$libname.dll.a'
9721    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9722    postinstall_cmds='base_file=`basename \${file}`~
9723      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9724      dldir=$destdir/`dirname \$dlpath`~
9725      test -d \$dldir || mkdir -p \$dldir~
9726      $install_prog $dir/$dlname \$dldir/$dlname~
9727      chmod a+x \$dldir/$dlname'
9728    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9729      dlpath=$dir/\$dldll~
9730       $rm \$dlpath'
9731    shlibpath_overrides_runpath=yes
9732
9733    case $host_os in
9734    cygwin*)
9735      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9736      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9737      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9738      ;;
9739    mingw*)
9740      # MinGW DLLs use traditional 'lib' prefix
9741      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9742      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9743      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9744        # It is most probably a Windows format PATH printed by
9745        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9746        # path with ; separators, and with drive letters. We can handle the
9747        # drive letters (cygwin fileutils understands them), so leave them,
9748        # especially as we might pass files found there to a mingw objdump,
9749        # which wouldn't understand a cygwinified path. Ahh.
9750        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9751      else
9752        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9753      fi
9754      ;;
9755    pw32*)
9756      # pw32 DLLs use 'pw' prefix rather than 'lib'
9757      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9758      ;;
9759    esac
9760    ;;
9761
9762  *)
9763    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9764    ;;
9765  esac
9766  dynamic_linker='Win32 ld.exe'
9767  # FIXME: first we should search . and the directory the executable is in
9768  shlibpath_var=PATH
9769  ;;
9770
9771darwin* | rhapsody*)
9772  dynamic_linker="$host_os dyld"
9773  version_type=darwin
9774  need_lib_prefix=no
9775  need_version=no
9776  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9777  soname_spec='${libname}${release}${major}$shared_ext'
9778  shlibpath_overrides_runpath=yes
9779  shlibpath_var=DYLD_LIBRARY_PATH
9780  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9781
9782  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9783  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9784  ;;
9785
9786dgux*)
9787  version_type=linux
9788  need_lib_prefix=no
9789  need_version=no
9790  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9791  soname_spec='${libname}${release}${shared_ext}$major'
9792  shlibpath_var=LD_LIBRARY_PATH
9793  ;;
9794
9795freebsd1*)
9796  dynamic_linker=no
9797  ;;
9798
9799freebsd* | dragonfly*)
9800  # DragonFly does not have aout.  When/if they implement a new
9801  # versioning mechanism, adjust this.
9802  if test -x /usr/bin/objformat; then
9803    objformat=`/usr/bin/objformat`
9804  else
9805    case $host_os in
9806    freebsd[123]*) objformat=aout ;;
9807    *) objformat=elf ;;
9808    esac
9809  fi
9810  version_type=freebsd-$objformat
9811  case $version_type in
9812    freebsd-elf*)
9813      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9814      need_version=no
9815      need_lib_prefix=no
9816      ;;
9817    freebsd-*)
9818      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9819      need_version=yes
9820      ;;
9821  esac
9822  shlibpath_var=LD_LIBRARY_PATH
9823  case $host_os in
9824  freebsd2*)
9825    shlibpath_overrides_runpath=yes
9826    ;;
9827  freebsd3.[01]* | freebsdelf3.[01]*)
9828    shlibpath_overrides_runpath=yes
9829    hardcode_into_libs=yes
9830    ;;
9831  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9832  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9833    shlibpath_overrides_runpath=no
9834    hardcode_into_libs=yes
9835    ;;
9836  *) # from 4.6 on, and DragonFly
9837    shlibpath_overrides_runpath=yes
9838    hardcode_into_libs=yes
9839    ;;
9840  esac
9841  ;;
9842
9843gnu*)
9844  version_type=linux
9845  need_lib_prefix=no
9846  need_version=no
9847  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9848  soname_spec='${libname}${release}${shared_ext}$major'
9849  shlibpath_var=LD_LIBRARY_PATH
9850  hardcode_into_libs=yes
9851  ;;
9852
9853hpux9* | hpux10* | hpux11*)
9854  # Give a soname corresponding to the major version so that dld.sl refuses to
9855  # link against other versions.
9856  version_type=sunos
9857  need_lib_prefix=no
9858  need_version=no
9859  case $host_cpu in
9860  ia64*)
9861    shrext_cmds='.so'
9862    hardcode_into_libs=yes
9863    dynamic_linker="$host_os dld.so"
9864    shlibpath_var=LD_LIBRARY_PATH
9865    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9866    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9867    soname_spec='${libname}${release}${shared_ext}$major'
9868    if test "X$HPUX_IA64_MODE" = X32; then
9869      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9870    else
9871      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9872    fi
9873    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9874    ;;
9875   hppa*64*)
9876     shrext_cmds='.sl'
9877     hardcode_into_libs=yes
9878     dynamic_linker="$host_os dld.sl"
9879     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9880     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9881     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9882     soname_spec='${libname}${release}${shared_ext}$major'
9883     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9884     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9885     ;;
9886   *)
9887    shrext_cmds='.sl'
9888    dynamic_linker="$host_os dld.sl"
9889    shlibpath_var=SHLIB_PATH
9890    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9891    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9892    soname_spec='${libname}${release}${shared_ext}$major'
9893    ;;
9894  esac
9895  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9896  postinstall_cmds='chmod 555 $lib'
9897  ;;
9898
9899interix[3-9]*)
9900  version_type=linux
9901  need_lib_prefix=no
9902  need_version=no
9903  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9904  soname_spec='${libname}${release}${shared_ext}$major'
9905  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9906  shlibpath_var=LD_LIBRARY_PATH
9907  shlibpath_overrides_runpath=no
9908  hardcode_into_libs=yes
9909  ;;
9910
9911irix5* | irix6* | nonstopux*)
9912  case $host_os in
9913    nonstopux*) version_type=nonstopux ;;
9914    *)
9915	if test "$lt_cv_prog_gnu_ld" = yes; then
9916		version_type=linux
9917	else
9918		version_type=irix
9919	fi ;;
9920  esac
9921  need_lib_prefix=no
9922  need_version=no
9923  soname_spec='${libname}${release}${shared_ext}$major'
9924  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9925  case $host_os in
9926  irix5* | nonstopux*)
9927    libsuff= shlibsuff=
9928    ;;
9929  *)
9930    case $LD in # libtool.m4 will add one of these switches to LD
9931    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9932      libsuff= shlibsuff= libmagic=32-bit;;
9933    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9934      libsuff=32 shlibsuff=N32 libmagic=N32;;
9935    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9936      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9937    *) libsuff= shlibsuff= libmagic=never-match;;
9938    esac
9939    ;;
9940  esac
9941  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9942  shlibpath_overrides_runpath=no
9943  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9944  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9945  hardcode_into_libs=yes
9946  ;;
9947
9948# No shared lib support for Linux oldld, aout, or coff.
9949linux*oldld* | linux*aout* | linux*coff*)
9950  dynamic_linker=no
9951  ;;
9952
9953# This must be Linux ELF.
9954linux* | k*bsd*-gnu)
9955  version_type=linux
9956  need_lib_prefix=no
9957  need_version=no
9958  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9959  soname_spec='${libname}${release}${shared_ext}$major'
9960  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9961  shlibpath_var=LD_LIBRARY_PATH
9962  shlibpath_overrides_runpath=no
9963  # This implies no fast_install, which is unacceptable.
9964  # Some rework will be needed to allow for fast_install
9965  # before this can be enabled.
9966  hardcode_into_libs=yes
9967  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9968  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9969
9970  # Append ld.so.conf contents to the search path
9971  if test -f /etc/ld.so.conf; then
9972    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;/^$/d' | tr '\n' ' '`
9973    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9974  fi
9975
9976  # We used to test for /lib/ld.so.1 and disable shared libraries on
9977  # powerpc, because MkLinux only supported shared libraries with the
9978  # GNU dynamic linker.  Since this was broken with cross compilers,
9979  # most powerpc-linux boxes support dynamic linking these days and
9980  # people can always --disable-shared, the test was removed, and we
9981  # assume the GNU/Linux dynamic linker is in use.
9982  dynamic_linker='GNU/Linux ld.so'
9983  ;;
9984
9985netbsd*)
9986  version_type=sunos
9987  need_lib_prefix=no
9988  need_version=no
9989  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9990    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9991    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9992    dynamic_linker='NetBSD (a.out) ld.so'
9993  else
9994    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9995    soname_spec='${libname}${release}${shared_ext}$major'
9996    dynamic_linker='NetBSD ld.elf_so'
9997  fi
9998  shlibpath_var=LD_LIBRARY_PATH
9999  shlibpath_overrides_runpath=yes
10000  hardcode_into_libs=yes
10001  ;;
10002
10003newsos6)
10004  version_type=linux
10005  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10006  shlibpath_var=LD_LIBRARY_PATH
10007  shlibpath_overrides_runpath=yes
10008  ;;
10009
10010nto-qnx*)
10011  version_type=linux
10012  need_lib_prefix=no
10013  need_version=no
10014  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10015  soname_spec='${libname}${release}${shared_ext}$major'
10016  shlibpath_var=LD_LIBRARY_PATH
10017  shlibpath_overrides_runpath=yes
10018  ;;
10019
10020openbsd*)
10021  version_type=sunos
10022  sys_lib_dlsearch_path_spec="/usr/lib"
10023  need_lib_prefix=no
10024  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10025  case $host_os in
10026    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10027    *)                         need_version=no  ;;
10028  esac
10029  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10030  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10031  shlibpath_var=LD_LIBRARY_PATH
10032  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10033    case $host_os in
10034      openbsd2.[89] | openbsd2.[89].*)
10035	shlibpath_overrides_runpath=no
10036	;;
10037      *)
10038	shlibpath_overrides_runpath=yes
10039	;;
10040      esac
10041  else
10042    shlibpath_overrides_runpath=yes
10043  fi
10044  ;;
10045
10046os2*)
10047  libname_spec='$name'
10048  shrext_cmds=".dll"
10049  need_lib_prefix=no
10050  library_names_spec='$libname${shared_ext} $libname.a'
10051  dynamic_linker='OS/2 ld.exe'
10052  shlibpath_var=LIBPATH
10053  ;;
10054
10055osf3* | osf4* | osf5*)
10056  version_type=osf
10057  need_lib_prefix=no
10058  need_version=no
10059  soname_spec='${libname}${release}${shared_ext}$major'
10060  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10061  shlibpath_var=LD_LIBRARY_PATH
10062  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10063  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10064  ;;
10065
10066rdos*)
10067  dynamic_linker=no
10068  ;;
10069
10070solaris*)
10071  version_type=linux
10072  need_lib_prefix=no
10073  need_version=no
10074  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10075  soname_spec='${libname}${release}${shared_ext}$major'
10076  shlibpath_var=LD_LIBRARY_PATH
10077  shlibpath_overrides_runpath=yes
10078  hardcode_into_libs=yes
10079  # ldd complains unless libraries are executable
10080  postinstall_cmds='chmod +x $lib'
10081  ;;
10082
10083sunos4*)
10084  version_type=sunos
10085  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10086  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10087  shlibpath_var=LD_LIBRARY_PATH
10088  shlibpath_overrides_runpath=yes
10089  if test "$with_gnu_ld" = yes; then
10090    need_lib_prefix=no
10091  fi
10092  need_version=yes
10093  ;;
10094
10095sysv4 | sysv4.3*)
10096  version_type=linux
10097  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10098  soname_spec='${libname}${release}${shared_ext}$major'
10099  shlibpath_var=LD_LIBRARY_PATH
10100  case $host_vendor in
10101    sni)
10102      shlibpath_overrides_runpath=no
10103      need_lib_prefix=no
10104      export_dynamic_flag_spec='${wl}-Blargedynsym'
10105      runpath_var=LD_RUN_PATH
10106      ;;
10107    siemens)
10108      need_lib_prefix=no
10109      ;;
10110    motorola)
10111      need_lib_prefix=no
10112      need_version=no
10113      shlibpath_overrides_runpath=no
10114      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10115      ;;
10116  esac
10117  ;;
10118
10119sysv4*MP*)
10120  if test -d /usr/nec ;then
10121    version_type=linux
10122    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10123    soname_spec='$libname${shared_ext}.$major'
10124    shlibpath_var=LD_LIBRARY_PATH
10125  fi
10126  ;;
10127
10128sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10129  version_type=freebsd-elf
10130  need_lib_prefix=no
10131  need_version=no
10132  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10133  soname_spec='${libname}${release}${shared_ext}$major'
10134  shlibpath_var=LD_LIBRARY_PATH
10135  hardcode_into_libs=yes
10136  if test "$with_gnu_ld" = yes; then
10137    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10138    shlibpath_overrides_runpath=no
10139  else
10140    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10141    shlibpath_overrides_runpath=yes
10142    case $host_os in
10143      sco3.2v5*)
10144        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10145	;;
10146    esac
10147  fi
10148  sys_lib_dlsearch_path_spec='/usr/lib'
10149  ;;
10150
10151uts4*)
10152  version_type=linux
10153  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10154  soname_spec='${libname}${release}${shared_ext}$major'
10155  shlibpath_var=LD_LIBRARY_PATH
10156  ;;
10157
10158*)
10159  dynamic_linker=no
10160  ;;
10161esac
10162{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10163echo "${ECHO_T}$dynamic_linker" >&6; }
10164test "$dynamic_linker" = no && can_build_shared=no
10165
10166variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10167if test "$GCC" = yes; then
10168  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10169fi
10170
10171{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10172echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10173hardcode_action=
10174if test -n "$hardcode_libdir_flag_spec" || \
10175   test -n "$runpath_var" || \
10176   test "X$hardcode_automatic" = "Xyes" ; then
10177
10178  # We can hardcode non-existant directories.
10179  if test "$hardcode_direct" != no &&
10180     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10181     # have to relink, otherwise we might link with an installed library
10182     # when we should be linking with a yet-to-be-installed one
10183     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10184     test "$hardcode_minus_L" != no; then
10185    # Linking always hardcodes the temporary library directory.
10186    hardcode_action=relink
10187  else
10188    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10189    hardcode_action=immediate
10190  fi
10191else
10192  # We cannot hardcode anything, or else we can only hardcode existing
10193  # directories.
10194  hardcode_action=unsupported
10195fi
10196{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10197echo "${ECHO_T}$hardcode_action" >&6; }
10198
10199if test "$hardcode_action" = relink; then
10200  # Fast installation is not supported
10201  enable_fast_install=no
10202elif test "$shlibpath_overrides_runpath" = yes ||
10203     test "$enable_shared" = no; then
10204  # Fast installation is not necessary
10205  enable_fast_install=needless
10206fi
10207
10208striplib=
10209old_striplib=
10210{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10211echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10212if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10213  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10214  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10215  { echo "$as_me:$LINENO: result: yes" >&5
10216echo "${ECHO_T}yes" >&6; }
10217else
10218# FIXME - insert some real tests, host_os isn't really good enough
10219  case $host_os in
10220   darwin*)
10221       if test -n "$STRIP" ; then
10222         striplib="$STRIP -x"
10223         old_striplib="$STRIP -S"
10224         { echo "$as_me:$LINENO: result: yes" >&5
10225echo "${ECHO_T}yes" >&6; }
10226       else
10227  { echo "$as_me:$LINENO: result: no" >&5
10228echo "${ECHO_T}no" >&6; }
10229fi
10230       ;;
10231   *)
10232  { echo "$as_me:$LINENO: result: no" >&5
10233echo "${ECHO_T}no" >&6; }
10234    ;;
10235  esac
10236fi
10237
10238if test "x$enable_dlopen" != xyes; then
10239  enable_dlopen=unknown
10240  enable_dlopen_self=unknown
10241  enable_dlopen_self_static=unknown
10242else
10243  lt_cv_dlopen=no
10244  lt_cv_dlopen_libs=
10245
10246  case $host_os in
10247  beos*)
10248    lt_cv_dlopen="load_add_on"
10249    lt_cv_dlopen_libs=
10250    lt_cv_dlopen_self=yes
10251    ;;
10252
10253  mingw* | pw32*)
10254    lt_cv_dlopen="LoadLibrary"
10255    lt_cv_dlopen_libs=
10256   ;;
10257
10258  cygwin*)
10259    lt_cv_dlopen="dlopen"
10260    lt_cv_dlopen_libs=
10261   ;;
10262
10263  darwin*)
10264  # if libdl is installed we need to link against it
10265    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10266echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10267if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10268  echo $ECHO_N "(cached) $ECHO_C" >&6
10269else
10270  ac_check_lib_save_LIBS=$LIBS
10271LIBS="-ldl  $LIBS"
10272cat >conftest.$ac_ext <<_ACEOF
10273/* confdefs.h.  */
10274_ACEOF
10275cat confdefs.h >>conftest.$ac_ext
10276cat >>conftest.$ac_ext <<_ACEOF
10277/* end confdefs.h.  */
10278
10279/* Override any GCC internal prototype to avoid an error.
10280   Use char because int might match the return type of a GCC
10281   builtin and then its argument prototype would still apply.  */
10282#ifdef __cplusplus
10283extern "C"
10284#endif
10285char dlopen ();
10286int
10287main ()
10288{
10289return dlopen ();
10290  ;
10291  return 0;
10292}
10293_ACEOF
10294rm -f conftest.$ac_objext conftest$ac_exeext
10295if { (ac_try="$ac_link"
10296case "(($ac_try" in
10297  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10298  *) ac_try_echo=$ac_try;;
10299esac
10300eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10301  (eval "$ac_link") 2>conftest.er1
10302  ac_status=$?
10303  grep -v '^ *+' conftest.er1 >conftest.err
10304  rm -f conftest.er1
10305  cat conftest.err >&5
10306  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307  (exit $ac_status); } && {
10308	 test -z "$ac_c_werror_flag" ||
10309	 test ! -s conftest.err
10310       } && test -s conftest$ac_exeext &&
10311       $as_test_x conftest$ac_exeext; then
10312  ac_cv_lib_dl_dlopen=yes
10313else
10314  echo "$as_me: failed program was:" >&5
10315sed 's/^/| /' conftest.$ac_ext >&5
10316
10317	ac_cv_lib_dl_dlopen=no
10318fi
10319
10320rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10321      conftest$ac_exeext conftest.$ac_ext
10322LIBS=$ac_check_lib_save_LIBS
10323fi
10324{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10325echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10326if test $ac_cv_lib_dl_dlopen = yes; then
10327  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10328else
10329
10330    lt_cv_dlopen="dyld"
10331    lt_cv_dlopen_libs=
10332    lt_cv_dlopen_self=yes
10333
10334fi
10335
10336   ;;
10337
10338  *)
10339    { echo "$as_me:$LINENO: checking for shl_load" >&5
10340echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10341if test "${ac_cv_func_shl_load+set}" = set; then
10342  echo $ECHO_N "(cached) $ECHO_C" >&6
10343else
10344  cat >conftest.$ac_ext <<_ACEOF
10345/* confdefs.h.  */
10346_ACEOF
10347cat confdefs.h >>conftest.$ac_ext
10348cat >>conftest.$ac_ext <<_ACEOF
10349/* end confdefs.h.  */
10350/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10351   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10352#define shl_load innocuous_shl_load
10353
10354/* System header to define __stub macros and hopefully few prototypes,
10355    which can conflict with char shl_load (); below.
10356    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10357    <limits.h> exists even on freestanding compilers.  */
10358
10359#ifdef __STDC__
10360# include <limits.h>
10361#else
10362# include <assert.h>
10363#endif
10364
10365#undef shl_load
10366
10367/* Override any GCC internal prototype to avoid an error.
10368   Use char because int might match the return type of a GCC
10369   builtin and then its argument prototype would still apply.  */
10370#ifdef __cplusplus
10371extern "C"
10372#endif
10373char shl_load ();
10374/* The GNU C library defines this for functions which it implements
10375    to always fail with ENOSYS.  Some functions are actually named
10376    something starting with __ and the normal name is an alias.  */
10377#if defined __stub_shl_load || defined __stub___shl_load
10378choke me
10379#endif
10380
10381int
10382main ()
10383{
10384return shl_load ();
10385  ;
10386  return 0;
10387}
10388_ACEOF
10389rm -f conftest.$ac_objext conftest$ac_exeext
10390if { (ac_try="$ac_link"
10391case "(($ac_try" in
10392  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10393  *) ac_try_echo=$ac_try;;
10394esac
10395eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10396  (eval "$ac_link") 2>conftest.er1
10397  ac_status=$?
10398  grep -v '^ *+' conftest.er1 >conftest.err
10399  rm -f conftest.er1
10400  cat conftest.err >&5
10401  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402  (exit $ac_status); } && {
10403	 test -z "$ac_c_werror_flag" ||
10404	 test ! -s conftest.err
10405       } && test -s conftest$ac_exeext &&
10406       $as_test_x conftest$ac_exeext; then
10407  ac_cv_func_shl_load=yes
10408else
10409  echo "$as_me: failed program was:" >&5
10410sed 's/^/| /' conftest.$ac_ext >&5
10411
10412	ac_cv_func_shl_load=no
10413fi
10414
10415rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10416      conftest$ac_exeext conftest.$ac_ext
10417fi
10418{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10419echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10420if test $ac_cv_func_shl_load = yes; then
10421  lt_cv_dlopen="shl_load"
10422else
10423  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10424echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10425if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10426  echo $ECHO_N "(cached) $ECHO_C" >&6
10427else
10428  ac_check_lib_save_LIBS=$LIBS
10429LIBS="-ldld  $LIBS"
10430cat >conftest.$ac_ext <<_ACEOF
10431/* confdefs.h.  */
10432_ACEOF
10433cat confdefs.h >>conftest.$ac_ext
10434cat >>conftest.$ac_ext <<_ACEOF
10435/* end confdefs.h.  */
10436
10437/* Override any GCC internal prototype to avoid an error.
10438   Use char because int might match the return type of a GCC
10439   builtin and then its argument prototype would still apply.  */
10440#ifdef __cplusplus
10441extern "C"
10442#endif
10443char shl_load ();
10444int
10445main ()
10446{
10447return shl_load ();
10448  ;
10449  return 0;
10450}
10451_ACEOF
10452rm -f conftest.$ac_objext conftest$ac_exeext
10453if { (ac_try="$ac_link"
10454case "(($ac_try" in
10455  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10456  *) ac_try_echo=$ac_try;;
10457esac
10458eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10459  (eval "$ac_link") 2>conftest.er1
10460  ac_status=$?
10461  grep -v '^ *+' conftest.er1 >conftest.err
10462  rm -f conftest.er1
10463  cat conftest.err >&5
10464  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465  (exit $ac_status); } && {
10466	 test -z "$ac_c_werror_flag" ||
10467	 test ! -s conftest.err
10468       } && test -s conftest$ac_exeext &&
10469       $as_test_x conftest$ac_exeext; then
10470  ac_cv_lib_dld_shl_load=yes
10471else
10472  echo "$as_me: failed program was:" >&5
10473sed 's/^/| /' conftest.$ac_ext >&5
10474
10475	ac_cv_lib_dld_shl_load=no
10476fi
10477
10478rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10479      conftest$ac_exeext conftest.$ac_ext
10480LIBS=$ac_check_lib_save_LIBS
10481fi
10482{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10483echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10484if test $ac_cv_lib_dld_shl_load = yes; then
10485  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10486else
10487  { echo "$as_me:$LINENO: checking for dlopen" >&5
10488echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10489if test "${ac_cv_func_dlopen+set}" = set; then
10490  echo $ECHO_N "(cached) $ECHO_C" >&6
10491else
10492  cat >conftest.$ac_ext <<_ACEOF
10493/* confdefs.h.  */
10494_ACEOF
10495cat confdefs.h >>conftest.$ac_ext
10496cat >>conftest.$ac_ext <<_ACEOF
10497/* end confdefs.h.  */
10498/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10499   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10500#define dlopen innocuous_dlopen
10501
10502/* System header to define __stub macros and hopefully few prototypes,
10503    which can conflict with char dlopen (); below.
10504    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10505    <limits.h> exists even on freestanding compilers.  */
10506
10507#ifdef __STDC__
10508# include <limits.h>
10509#else
10510# include <assert.h>
10511#endif
10512
10513#undef dlopen
10514
10515/* Override any GCC internal prototype to avoid an error.
10516   Use char because int might match the return type of a GCC
10517   builtin and then its argument prototype would still apply.  */
10518#ifdef __cplusplus
10519extern "C"
10520#endif
10521char dlopen ();
10522/* The GNU C library defines this for functions which it implements
10523    to always fail with ENOSYS.  Some functions are actually named
10524    something starting with __ and the normal name is an alias.  */
10525#if defined __stub_dlopen || defined __stub___dlopen
10526choke me
10527#endif
10528
10529int
10530main ()
10531{
10532return dlopen ();
10533  ;
10534  return 0;
10535}
10536_ACEOF
10537rm -f conftest.$ac_objext conftest$ac_exeext
10538if { (ac_try="$ac_link"
10539case "(($ac_try" in
10540  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10541  *) ac_try_echo=$ac_try;;
10542esac
10543eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10544  (eval "$ac_link") 2>conftest.er1
10545  ac_status=$?
10546  grep -v '^ *+' conftest.er1 >conftest.err
10547  rm -f conftest.er1
10548  cat conftest.err >&5
10549  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550  (exit $ac_status); } && {
10551	 test -z "$ac_c_werror_flag" ||
10552	 test ! -s conftest.err
10553       } && test -s conftest$ac_exeext &&
10554       $as_test_x conftest$ac_exeext; then
10555  ac_cv_func_dlopen=yes
10556else
10557  echo "$as_me: failed program was:" >&5
10558sed 's/^/| /' conftest.$ac_ext >&5
10559
10560	ac_cv_func_dlopen=no
10561fi
10562
10563rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10564      conftest$ac_exeext conftest.$ac_ext
10565fi
10566{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10567echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10568if test $ac_cv_func_dlopen = yes; then
10569  lt_cv_dlopen="dlopen"
10570else
10571  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10572echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10573if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10574  echo $ECHO_N "(cached) $ECHO_C" >&6
10575else
10576  ac_check_lib_save_LIBS=$LIBS
10577LIBS="-ldl  $LIBS"
10578cat >conftest.$ac_ext <<_ACEOF
10579/* confdefs.h.  */
10580_ACEOF
10581cat confdefs.h >>conftest.$ac_ext
10582cat >>conftest.$ac_ext <<_ACEOF
10583/* end confdefs.h.  */
10584
10585/* Override any GCC internal prototype to avoid an error.
10586   Use char because int might match the return type of a GCC
10587   builtin and then its argument prototype would still apply.  */
10588#ifdef __cplusplus
10589extern "C"
10590#endif
10591char dlopen ();
10592int
10593main ()
10594{
10595return dlopen ();
10596  ;
10597  return 0;
10598}
10599_ACEOF
10600rm -f conftest.$ac_objext conftest$ac_exeext
10601if { (ac_try="$ac_link"
10602case "(($ac_try" in
10603  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10604  *) ac_try_echo=$ac_try;;
10605esac
10606eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10607  (eval "$ac_link") 2>conftest.er1
10608  ac_status=$?
10609  grep -v '^ *+' conftest.er1 >conftest.err
10610  rm -f conftest.er1
10611  cat conftest.err >&5
10612  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613  (exit $ac_status); } && {
10614	 test -z "$ac_c_werror_flag" ||
10615	 test ! -s conftest.err
10616       } && test -s conftest$ac_exeext &&
10617       $as_test_x conftest$ac_exeext; then
10618  ac_cv_lib_dl_dlopen=yes
10619else
10620  echo "$as_me: failed program was:" >&5
10621sed 's/^/| /' conftest.$ac_ext >&5
10622
10623	ac_cv_lib_dl_dlopen=no
10624fi
10625
10626rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10627      conftest$ac_exeext conftest.$ac_ext
10628LIBS=$ac_check_lib_save_LIBS
10629fi
10630{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10631echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10632if test $ac_cv_lib_dl_dlopen = yes; then
10633  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10634else
10635  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10636echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10637if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10638  echo $ECHO_N "(cached) $ECHO_C" >&6
10639else
10640  ac_check_lib_save_LIBS=$LIBS
10641LIBS="-lsvld  $LIBS"
10642cat >conftest.$ac_ext <<_ACEOF
10643/* confdefs.h.  */
10644_ACEOF
10645cat confdefs.h >>conftest.$ac_ext
10646cat >>conftest.$ac_ext <<_ACEOF
10647/* end confdefs.h.  */
10648
10649/* Override any GCC internal prototype to avoid an error.
10650   Use char because int might match the return type of a GCC
10651   builtin and then its argument prototype would still apply.  */
10652#ifdef __cplusplus
10653extern "C"
10654#endif
10655char dlopen ();
10656int
10657main ()
10658{
10659return dlopen ();
10660  ;
10661  return 0;
10662}
10663_ACEOF
10664rm -f conftest.$ac_objext conftest$ac_exeext
10665if { (ac_try="$ac_link"
10666case "(($ac_try" in
10667  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10668  *) ac_try_echo=$ac_try;;
10669esac
10670eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10671  (eval "$ac_link") 2>conftest.er1
10672  ac_status=$?
10673  grep -v '^ *+' conftest.er1 >conftest.err
10674  rm -f conftest.er1
10675  cat conftest.err >&5
10676  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677  (exit $ac_status); } && {
10678	 test -z "$ac_c_werror_flag" ||
10679	 test ! -s conftest.err
10680       } && test -s conftest$ac_exeext &&
10681       $as_test_x conftest$ac_exeext; then
10682  ac_cv_lib_svld_dlopen=yes
10683else
10684  echo "$as_me: failed program was:" >&5
10685sed 's/^/| /' conftest.$ac_ext >&5
10686
10687	ac_cv_lib_svld_dlopen=no
10688fi
10689
10690rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10691      conftest$ac_exeext conftest.$ac_ext
10692LIBS=$ac_check_lib_save_LIBS
10693fi
10694{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10695echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10696if test $ac_cv_lib_svld_dlopen = yes; then
10697  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10698else
10699  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10700echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10701if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10702  echo $ECHO_N "(cached) $ECHO_C" >&6
10703else
10704  ac_check_lib_save_LIBS=$LIBS
10705LIBS="-ldld  $LIBS"
10706cat >conftest.$ac_ext <<_ACEOF
10707/* confdefs.h.  */
10708_ACEOF
10709cat confdefs.h >>conftest.$ac_ext
10710cat >>conftest.$ac_ext <<_ACEOF
10711/* end confdefs.h.  */
10712
10713/* Override any GCC internal prototype to avoid an error.
10714   Use char because int might match the return type of a GCC
10715   builtin and then its argument prototype would still apply.  */
10716#ifdef __cplusplus
10717extern "C"
10718#endif
10719char dld_link ();
10720int
10721main ()
10722{
10723return dld_link ();
10724  ;
10725  return 0;
10726}
10727_ACEOF
10728rm -f conftest.$ac_objext conftest$ac_exeext
10729if { (ac_try="$ac_link"
10730case "(($ac_try" in
10731  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10732  *) ac_try_echo=$ac_try;;
10733esac
10734eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10735  (eval "$ac_link") 2>conftest.er1
10736  ac_status=$?
10737  grep -v '^ *+' conftest.er1 >conftest.err
10738  rm -f conftest.er1
10739  cat conftest.err >&5
10740  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10741  (exit $ac_status); } && {
10742	 test -z "$ac_c_werror_flag" ||
10743	 test ! -s conftest.err
10744       } && test -s conftest$ac_exeext &&
10745       $as_test_x conftest$ac_exeext; then
10746  ac_cv_lib_dld_dld_link=yes
10747else
10748  echo "$as_me: failed program was:" >&5
10749sed 's/^/| /' conftest.$ac_ext >&5
10750
10751	ac_cv_lib_dld_dld_link=no
10752fi
10753
10754rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10755      conftest$ac_exeext conftest.$ac_ext
10756LIBS=$ac_check_lib_save_LIBS
10757fi
10758{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10759echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10760if test $ac_cv_lib_dld_dld_link = yes; then
10761  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10762fi
10763
10764
10765fi
10766
10767
10768fi
10769
10770
10771fi
10772
10773
10774fi
10775
10776
10777fi
10778
10779    ;;
10780  esac
10781
10782  if test "x$lt_cv_dlopen" != xno; then
10783    enable_dlopen=yes
10784  else
10785    enable_dlopen=no
10786  fi
10787
10788  case $lt_cv_dlopen in
10789  dlopen)
10790    save_CPPFLAGS="$CPPFLAGS"
10791    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10792
10793    save_LDFLAGS="$LDFLAGS"
10794    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10795
10796    save_LIBS="$LIBS"
10797    LIBS="$lt_cv_dlopen_libs $LIBS"
10798
10799    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10800echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10801if test "${lt_cv_dlopen_self+set}" = set; then
10802  echo $ECHO_N "(cached) $ECHO_C" >&6
10803else
10804  	  if test "$cross_compiling" = yes; then :
10805  lt_cv_dlopen_self=cross
10806else
10807  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10808  lt_status=$lt_dlunknown
10809  cat > conftest.$ac_ext <<EOF
10810#line 10810 "configure"
10811#include "confdefs.h"
10812
10813#if HAVE_DLFCN_H
10814#include <dlfcn.h>
10815#endif
10816
10817#include <stdio.h>
10818
10819#ifdef RTLD_GLOBAL
10820#  define LT_DLGLOBAL		RTLD_GLOBAL
10821#else
10822#  ifdef DL_GLOBAL
10823#    define LT_DLGLOBAL		DL_GLOBAL
10824#  else
10825#    define LT_DLGLOBAL		0
10826#  endif
10827#endif
10828
10829/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10830   find out it does not work in some platform. */
10831#ifndef LT_DLLAZY_OR_NOW
10832#  ifdef RTLD_LAZY
10833#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10834#  else
10835#    ifdef DL_LAZY
10836#      define LT_DLLAZY_OR_NOW		DL_LAZY
10837#    else
10838#      ifdef RTLD_NOW
10839#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10840#      else
10841#        ifdef DL_NOW
10842#          define LT_DLLAZY_OR_NOW	DL_NOW
10843#        else
10844#          define LT_DLLAZY_OR_NOW	0
10845#        endif
10846#      endif
10847#    endif
10848#  endif
10849#endif
10850
10851#ifdef __cplusplus
10852extern "C" void exit (int);
10853#endif
10854
10855void fnord() { int i=42;}
10856int main ()
10857{
10858  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10859  int status = $lt_dlunknown;
10860
10861  if (self)
10862    {
10863      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10864      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10865      /* dlclose (self); */
10866    }
10867  else
10868    puts (dlerror ());
10869
10870    exit (status);
10871}
10872EOF
10873  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10874  (eval $ac_link) 2>&5
10875  ac_status=$?
10876  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10878    (./conftest; exit; ) >&5 2>/dev/null
10879    lt_status=$?
10880    case x$lt_status in
10881      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10882      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10883      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10884    esac
10885  else :
10886    # compilation failed
10887    lt_cv_dlopen_self=no
10888  fi
10889fi
10890rm -fr conftest*
10891
10892
10893fi
10894{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10895echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10896
10897    if test "x$lt_cv_dlopen_self" = xyes; then
10898      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10899      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10900echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10901if test "${lt_cv_dlopen_self_static+set}" = set; then
10902  echo $ECHO_N "(cached) $ECHO_C" >&6
10903else
10904  	  if test "$cross_compiling" = yes; then :
10905  lt_cv_dlopen_self_static=cross
10906else
10907  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10908  lt_status=$lt_dlunknown
10909  cat > conftest.$ac_ext <<EOF
10910#line 10910 "configure"
10911#include "confdefs.h"
10912
10913#if HAVE_DLFCN_H
10914#include <dlfcn.h>
10915#endif
10916
10917#include <stdio.h>
10918
10919#ifdef RTLD_GLOBAL
10920#  define LT_DLGLOBAL		RTLD_GLOBAL
10921#else
10922#  ifdef DL_GLOBAL
10923#    define LT_DLGLOBAL		DL_GLOBAL
10924#  else
10925#    define LT_DLGLOBAL		0
10926#  endif
10927#endif
10928
10929/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10930   find out it does not work in some platform. */
10931#ifndef LT_DLLAZY_OR_NOW
10932#  ifdef RTLD_LAZY
10933#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10934#  else
10935#    ifdef DL_LAZY
10936#      define LT_DLLAZY_OR_NOW		DL_LAZY
10937#    else
10938#      ifdef RTLD_NOW
10939#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10940#      else
10941#        ifdef DL_NOW
10942#          define LT_DLLAZY_OR_NOW	DL_NOW
10943#        else
10944#          define LT_DLLAZY_OR_NOW	0
10945#        endif
10946#      endif
10947#    endif
10948#  endif
10949#endif
10950
10951#ifdef __cplusplus
10952extern "C" void exit (int);
10953#endif
10954
10955void fnord() { int i=42;}
10956int main ()
10957{
10958  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10959  int status = $lt_dlunknown;
10960
10961  if (self)
10962    {
10963      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10964      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10965      /* dlclose (self); */
10966    }
10967  else
10968    puts (dlerror ());
10969
10970    exit (status);
10971}
10972EOF
10973  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10974  (eval $ac_link) 2>&5
10975  ac_status=$?
10976  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10978    (./conftest; exit; ) >&5 2>/dev/null
10979    lt_status=$?
10980    case x$lt_status in
10981      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10982      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10983      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10984    esac
10985  else :
10986    # compilation failed
10987    lt_cv_dlopen_self_static=no
10988  fi
10989fi
10990rm -fr conftest*
10991
10992
10993fi
10994{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10995echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10996    fi
10997
10998    CPPFLAGS="$save_CPPFLAGS"
10999    LDFLAGS="$save_LDFLAGS"
11000    LIBS="$save_LIBS"
11001    ;;
11002  esac
11003
11004  case $lt_cv_dlopen_self in
11005  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11006  *) enable_dlopen_self=unknown ;;
11007  esac
11008
11009  case $lt_cv_dlopen_self_static in
11010  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11011  *) enable_dlopen_self_static=unknown ;;
11012  esac
11013fi
11014
11015
11016# Report which library types will actually be built
11017{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11018echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11019{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11020echo "${ECHO_T}$can_build_shared" >&6; }
11021
11022{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11023echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11024test "$can_build_shared" = "no" && enable_shared=no
11025
11026# On AIX, shared libraries and static libraries use the same namespace, and
11027# are all built from PIC.
11028case $host_os in
11029aix3*)
11030  test "$enable_shared" = yes && enable_static=no
11031  if test -n "$RANLIB"; then
11032    archive_cmds="$archive_cmds~\$RANLIB \$lib"
11033    postinstall_cmds='$RANLIB $lib'
11034  fi
11035  ;;
11036
11037aix4* | aix5*)
11038  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11039    test "$enable_shared" = yes && enable_static=no
11040  fi
11041    ;;
11042esac
11043{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11044echo "${ECHO_T}$enable_shared" >&6; }
11045
11046{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11047echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11048# Make sure either enable_shared or enable_static is yes.
11049test "$enable_shared" = yes || enable_static=yes
11050{ echo "$as_me:$LINENO: result: $enable_static" >&5
11051echo "${ECHO_T}$enable_static" >&6; }
11052
11053# The else clause should only fire when bootstrapping the
11054# libtool distribution, otherwise you forgot to ship ltmain.sh
11055# with your package, and you will get complaints that there are
11056# no rules to generate ltmain.sh.
11057if test -f "$ltmain"; then
11058  # See if we are running on zsh, and set the options which allow our commands through
11059  # without removal of \ escapes.
11060  if test -n "${ZSH_VERSION+set}" ; then
11061    setopt NO_GLOB_SUBST
11062  fi
11063  # Now quote all the things that may contain metacharacters while being
11064  # careful not to overquote the AC_SUBSTed values.  We take copies of the
11065  # variables and quote the copies for generation of the libtool script.
11066  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11067    SED SHELL STRIP \
11068    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11069    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11070    deplibs_check_method reload_flag reload_cmds need_locks \
11071    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11072    lt_cv_sys_global_symbol_to_c_name_address \
11073    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11074    old_postinstall_cmds old_postuninstall_cmds \
11075    compiler \
11076    CC \
11077    LD \
11078    lt_prog_compiler_wl \
11079    lt_prog_compiler_pic \
11080    lt_prog_compiler_static \
11081    lt_prog_compiler_no_builtin_flag \
11082    export_dynamic_flag_spec \
11083    thread_safe_flag_spec \
11084    whole_archive_flag_spec \
11085    enable_shared_with_static_runtimes \
11086    old_archive_cmds \
11087    old_archive_from_new_cmds \
11088    predep_objects \
11089    postdep_objects \
11090    predeps \
11091    postdeps \
11092    compiler_lib_search_path \
11093    archive_cmds \
11094    archive_expsym_cmds \
11095    postinstall_cmds \
11096    postuninstall_cmds \
11097    old_archive_from_expsyms_cmds \
11098    allow_undefined_flag \
11099    no_undefined_flag \
11100    export_symbols_cmds \
11101    hardcode_libdir_flag_spec \
11102    hardcode_libdir_flag_spec_ld \
11103    hardcode_libdir_separator \
11104    hardcode_automatic \
11105    module_cmds \
11106    module_expsym_cmds \
11107    lt_cv_prog_compiler_c_o \
11108    fix_srcfile_path \
11109    exclude_expsyms \
11110    include_expsyms; do
11111
11112    case $var in
11113    old_archive_cmds | \
11114    old_archive_from_new_cmds | \
11115    archive_cmds | \
11116    archive_expsym_cmds | \
11117    module_cmds | \
11118    module_expsym_cmds | \
11119    old_archive_from_expsyms_cmds | \
11120    export_symbols_cmds | \
11121    extract_expsyms_cmds | reload_cmds | finish_cmds | \
11122    postinstall_cmds | postuninstall_cmds | \
11123    old_postinstall_cmds | old_postuninstall_cmds | \
11124    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11125      # Double-quote double-evaled strings.
11126      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11127      ;;
11128    *)
11129      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11130      ;;
11131    esac
11132  done
11133
11134  case $lt_echo in
11135  *'\$0 --fallback-echo"')
11136    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11137    ;;
11138  esac
11139
11140cfgfile="${ofile}T"
11141  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11142  $rm -f "$cfgfile"
11143  { echo "$as_me:$LINENO: creating $ofile" >&5
11144echo "$as_me: creating $ofile" >&6;}
11145
11146  cat <<__EOF__ >> "$cfgfile"
11147#! $SHELL
11148
11149# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11150# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11151# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11152#
11153# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
11154# Free Software Foundation, Inc.
11155#
11156# This file is part of GNU Libtool:
11157# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11158#
11159# This program is free software; you can redistribute it and/or modify
11160# it under the terms of the GNU General Public License as published by
11161# the Free Software Foundation; either version 2 of the License, or
11162# (at your option) any later version.
11163#
11164# This program is distributed in the hope that it will be useful, but
11165# WITHOUT ANY WARRANTY; without even the implied warranty of
11166# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11167# General Public License for more details.
11168#
11169# You should have received a copy of the GNU General Public License
11170# along with this program; if not, write to the Free Software
11171# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11172#
11173# As a special exception to the GNU General Public License, if you
11174# distribute this file as part of a program that contains a
11175# configuration script generated by Autoconf, you may include it under
11176# the same distribution terms that you use for the rest of that program.
11177
11178# A sed program that does not truncate output.
11179SED=$lt_SED
11180
11181# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11182Xsed="$SED -e 1s/^X//"
11183
11184# The HP-UX ksh and POSIX shell print the target directory to stdout
11185# if CDPATH is set.
11186(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11187
11188# The names of the tagged configurations supported by this script.
11189available_tags=
11190
11191# ### BEGIN LIBTOOL CONFIG
11192
11193# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11194
11195# Shell to use when invoking shell scripts.
11196SHELL=$lt_SHELL
11197
11198# Whether or not to build shared libraries.
11199build_libtool_libs=$enable_shared
11200
11201# Whether or not to build static libraries.
11202build_old_libs=$enable_static
11203
11204# Whether or not to add -lc for building shared libraries.
11205build_libtool_need_lc=$archive_cmds_need_lc
11206
11207# Whether or not to disallow shared libs when runtime libs are static
11208allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11209
11210# Whether or not to optimize for fast installation.
11211fast_install=$enable_fast_install
11212
11213# The host system.
11214host_alias=$host_alias
11215host=$host
11216host_os=$host_os
11217
11218# The build system.
11219build_alias=$build_alias
11220build=$build
11221build_os=$build_os
11222
11223# An echo program that does not interpret backslashes.
11224echo=$lt_echo
11225
11226# The archiver.
11227AR=$lt_AR
11228AR_FLAGS=$lt_AR_FLAGS
11229
11230# A C compiler.
11231LTCC=$lt_LTCC
11232
11233# LTCC compiler flags.
11234LTCFLAGS=$lt_LTCFLAGS
11235
11236# A language-specific compiler.
11237CC=$lt_compiler
11238
11239# Is the compiler the GNU C compiler?
11240with_gcc=$GCC
11241
11242# An ERE matcher.
11243EGREP=$lt_EGREP
11244
11245# The linker used to build libraries.
11246LD=$lt_LD
11247
11248# Whether we need hard or soft links.
11249LN_S=$lt_LN_S
11250
11251# A BSD-compatible nm program.
11252NM=$lt_NM
11253
11254# A symbol stripping program
11255STRIP=$lt_STRIP
11256
11257# Used to examine libraries when file_magic_cmd begins "file"
11258MAGIC_CMD=$MAGIC_CMD
11259
11260# Used on cygwin: DLL creation program.
11261DLLTOOL="$DLLTOOL"
11262
11263# Used on cygwin: object dumper.
11264OBJDUMP="$OBJDUMP"
11265
11266# Used on cygwin: assembler.
11267AS="$AS"
11268
11269# The name of the directory that contains temporary libtool files.
11270objdir=$objdir
11271
11272# How to create reloadable object files.
11273reload_flag=$lt_reload_flag
11274reload_cmds=$lt_reload_cmds
11275
11276# How to pass a linker flag through the compiler.
11277wl=$lt_lt_prog_compiler_wl
11278
11279# Object file suffix (normally "o").
11280objext="$ac_objext"
11281
11282# Old archive suffix (normally "a").
11283libext="$libext"
11284
11285# Shared library suffix (normally ".so").
11286shrext_cmds='$shrext_cmds'
11287
11288# Executable file suffix (normally "").
11289exeext="$exeext"
11290
11291# Additional compiler flags for building library objects.
11292pic_flag=$lt_lt_prog_compiler_pic
11293pic_mode=$pic_mode
11294
11295# What is the maximum length of a command?
11296max_cmd_len=$lt_cv_sys_max_cmd_len
11297
11298# Does compiler simultaneously support -c and -o options?
11299compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11300
11301# Must we lock files when doing compilation?
11302need_locks=$lt_need_locks
11303
11304# Do we need the lib prefix for modules?
11305need_lib_prefix=$need_lib_prefix
11306
11307# Do we need a version for libraries?
11308need_version=$need_version
11309
11310# Whether dlopen is supported.
11311dlopen_support=$enable_dlopen
11312
11313# Whether dlopen of programs is supported.
11314dlopen_self=$enable_dlopen_self
11315
11316# Whether dlopen of statically linked programs is supported.
11317dlopen_self_static=$enable_dlopen_self_static
11318
11319# Compiler flag to prevent dynamic linking.
11320link_static_flag=$lt_lt_prog_compiler_static
11321
11322# Compiler flag to turn off builtin functions.
11323no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11324
11325# Compiler flag to allow reflexive dlopens.
11326export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11327
11328# Compiler flag to generate shared objects directly from archives.
11329whole_archive_flag_spec=$lt_whole_archive_flag_spec
11330
11331# Compiler flag to generate thread-safe objects.
11332thread_safe_flag_spec=$lt_thread_safe_flag_spec
11333
11334# Library versioning type.
11335version_type=$version_type
11336
11337# Format of library name prefix.
11338libname_spec=$lt_libname_spec
11339
11340# List of archive names.  First name is the real one, the rest are links.
11341# The last name is the one that the linker finds with -lNAME.
11342library_names_spec=$lt_library_names_spec
11343
11344# The coded name of the library, if different from the real name.
11345soname_spec=$lt_soname_spec
11346
11347# Commands used to build and install an old-style archive.
11348RANLIB=$lt_RANLIB
11349old_archive_cmds=$lt_old_archive_cmds
11350old_postinstall_cmds=$lt_old_postinstall_cmds
11351old_postuninstall_cmds=$lt_old_postuninstall_cmds
11352
11353# Create an old-style archive from a shared archive.
11354old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11355
11356# Create a temporary old-style archive to link instead of a shared archive.
11357old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11358
11359# Commands used to build and install a shared archive.
11360archive_cmds=$lt_archive_cmds
11361archive_expsym_cmds=$lt_archive_expsym_cmds
11362postinstall_cmds=$lt_postinstall_cmds
11363postuninstall_cmds=$lt_postuninstall_cmds
11364
11365# Commands used to build a loadable module (assumed same as above if empty)
11366module_cmds=$lt_module_cmds
11367module_expsym_cmds=$lt_module_expsym_cmds
11368
11369# Commands to strip libraries.
11370old_striplib=$lt_old_striplib
11371striplib=$lt_striplib
11372
11373# Dependencies to place before the objects being linked to create a
11374# shared library.
11375predep_objects=$lt_predep_objects
11376
11377# Dependencies to place after the objects being linked to create a
11378# shared library.
11379postdep_objects=$lt_postdep_objects
11380
11381# Dependencies to place before the objects being linked to create a
11382# shared library.
11383predeps=$lt_predeps
11384
11385# Dependencies to place after the objects being linked to create a
11386# shared library.
11387postdeps=$lt_postdeps
11388
11389# The library search path used internally by the compiler when linking
11390# a shared library.
11391compiler_lib_search_path=$lt_compiler_lib_search_path
11392
11393# Method to check whether dependent libraries are shared objects.
11394deplibs_check_method=$lt_deplibs_check_method
11395
11396# Command to use when deplibs_check_method == file_magic.
11397file_magic_cmd=$lt_file_magic_cmd
11398
11399# Flag that allows shared libraries with undefined symbols to be built.
11400allow_undefined_flag=$lt_allow_undefined_flag
11401
11402# Flag that forces no undefined symbols.
11403no_undefined_flag=$lt_no_undefined_flag
11404
11405# Commands used to finish a libtool library installation in a directory.
11406finish_cmds=$lt_finish_cmds
11407
11408# Same as above, but a single script fragment to be evaled but not shown.
11409finish_eval=$lt_finish_eval
11410
11411# Take the output of nm and produce a listing of raw symbols and C names.
11412global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11413
11414# Transform the output of nm in a proper C declaration
11415global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11416
11417# Transform the output of nm in a C name address pair
11418global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11419
11420# This is the shared library runtime path variable.
11421runpath_var=$runpath_var
11422
11423# This is the shared library path variable.
11424shlibpath_var=$shlibpath_var
11425
11426# Is shlibpath searched before the hard-coded library search path?
11427shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11428
11429# How to hardcode a shared library path into an executable.
11430hardcode_action=$hardcode_action
11431
11432# Whether we should hardcode library paths into libraries.
11433hardcode_into_libs=$hardcode_into_libs
11434
11435# Flag to hardcode \$libdir into a binary during linking.
11436# This must work even if \$libdir does not exist.
11437hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11438
11439# If ld is used when linking, flag to hardcode \$libdir into
11440# a binary during linking. This must work even if \$libdir does
11441# not exist.
11442hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11443
11444# Whether we need a single -rpath flag with a separated argument.
11445hardcode_libdir_separator=$lt_hardcode_libdir_separator
11446
11447# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11448# resulting binary.
11449hardcode_direct=$hardcode_direct
11450
11451# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11452# resulting binary.
11453hardcode_minus_L=$hardcode_minus_L
11454
11455# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11456# the resulting binary.
11457hardcode_shlibpath_var=$hardcode_shlibpath_var
11458
11459# Set to yes if building a shared library automatically hardcodes DIR into the library
11460# and all subsequent libraries and executables linked against it.
11461hardcode_automatic=$hardcode_automatic
11462
11463# Variables whose values should be saved in libtool wrapper scripts and
11464# restored at relink time.
11465variables_saved_for_relink="$variables_saved_for_relink"
11466
11467# Whether libtool must link a program against all its dependency libraries.
11468link_all_deplibs=$link_all_deplibs
11469
11470# Compile-time system search path for libraries
11471sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11472
11473# Run-time system search path for libraries
11474sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11475
11476# Fix the shell variable \$srcfile for the compiler.
11477fix_srcfile_path=$lt_fix_srcfile_path
11478
11479# Set to yes if exported symbols are required.
11480always_export_symbols=$always_export_symbols
11481
11482# The commands to list exported symbols.
11483export_symbols_cmds=$lt_export_symbols_cmds
11484
11485# The commands to extract the exported symbol list from a shared archive.
11486extract_expsyms_cmds=$lt_extract_expsyms_cmds
11487
11488# Symbols that should not be listed in the preloaded symbols.
11489exclude_expsyms=$lt_exclude_expsyms
11490
11491# Symbols that must always be exported.
11492include_expsyms=$lt_include_expsyms
11493
11494# ### END LIBTOOL CONFIG
11495
11496__EOF__
11497
11498
11499  case $host_os in
11500  aix3*)
11501    cat <<\EOF >> "$cfgfile"
11502
11503# AIX sometimes has problems with the GCC collect2 program.  For some
11504# reason, if we set the COLLECT_NAMES environment variable, the problems
11505# vanish in a puff of smoke.
11506if test "X${COLLECT_NAMES+set}" != Xset; then
11507  COLLECT_NAMES=
11508  export COLLECT_NAMES
11509fi
11510EOF
11511    ;;
11512  esac
11513
11514  # We use sed instead of cat because bash on DJGPP gets confused if
11515  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11516  # text mode, it properly converts lines to CR/LF.  This bash problem
11517  # is reportedly fixed, but why not run on old versions too?
11518  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11519
11520  mv -f "$cfgfile" "$ofile" || \
11521    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11522  chmod +x "$ofile"
11523
11524else
11525  # If there is no Makefile yet, we rely on a make rule to execute
11526  # `config.status --recheck' to rerun these tests and create the
11527  # libtool script then.
11528  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11529  if test -f "$ltmain_in"; then
11530    test -f Makefile && make "$ltmain"
11531  fi
11532fi
11533
11534
11535ac_ext=c
11536ac_cpp='$CPP $CPPFLAGS'
11537ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11538ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11539ac_compiler_gnu=$ac_cv_c_compiler_gnu
11540
11541CC="$lt_save_CC"
11542
11543
11544# Check whether --with-tags was given.
11545if test "${with_tags+set}" = set; then
11546  withval=$with_tags; tagnames="$withval"
11547fi
11548
11549
11550if test -f "$ltmain" && test -n "$tagnames"; then
11551  if test ! -f "${ofile}"; then
11552    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11553echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11554  fi
11555
11556  if test -z "$LTCC"; then
11557    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11558    if test -z "$LTCC"; then
11559      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11560echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11561    else
11562      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11563echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11564    fi
11565  fi
11566  if test -z "$LTCFLAGS"; then
11567    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11568  fi
11569
11570  # Extract list of available tagged configurations in $ofile.
11571  # Note that this assumes the entire list is on one line.
11572  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11573
11574  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11575  for tagname in $tagnames; do
11576    IFS="$lt_save_ifs"
11577    # Check whether tagname contains only valid characters
11578    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11579    "") ;;
11580    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11581echo "$as_me: error: invalid tag name: $tagname" >&2;}
11582   { (exit 1); exit 1; }; }
11583	;;
11584    esac
11585
11586    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11587    then
11588      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11589echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11590   { (exit 1); exit 1; }; }
11591    fi
11592
11593    # Update the list of available tags.
11594    if test -n "$tagname"; then
11595      echo appending configuration tag \"$tagname\" to $ofile
11596
11597      case $tagname in
11598      CXX)
11599	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11600	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11601	    (test "X$CXX" != "Xg++"))) ; then
11602	  ac_ext=cpp
11603ac_cpp='$CXXCPP $CPPFLAGS'
11604ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11605ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11606ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11607
11608
11609
11610
11611archive_cmds_need_lc_CXX=no
11612allow_undefined_flag_CXX=
11613always_export_symbols_CXX=no
11614archive_expsym_cmds_CXX=
11615export_dynamic_flag_spec_CXX=
11616hardcode_direct_CXX=no
11617hardcode_libdir_flag_spec_CXX=
11618hardcode_libdir_flag_spec_ld_CXX=
11619hardcode_libdir_separator_CXX=
11620hardcode_minus_L_CXX=no
11621hardcode_shlibpath_var_CXX=unsupported
11622hardcode_automatic_CXX=no
11623module_cmds_CXX=
11624module_expsym_cmds_CXX=
11625link_all_deplibs_CXX=unknown
11626old_archive_cmds_CXX=$old_archive_cmds
11627no_undefined_flag_CXX=
11628whole_archive_flag_spec_CXX=
11629enable_shared_with_static_runtimes_CXX=no
11630
11631# Dependencies to place before and after the object being linked:
11632predep_objects_CXX=
11633postdep_objects_CXX=
11634predeps_CXX=
11635postdeps_CXX=
11636compiler_lib_search_path_CXX=
11637
11638# Source file extension for C++ test sources.
11639ac_ext=cpp
11640
11641# Object file extension for compiled C++ test sources.
11642objext=o
11643objext_CXX=$objext
11644
11645# Code to be used in simple compile tests
11646lt_simple_compile_test_code="int some_variable = 0;"
11647
11648# Code to be used in simple link tests
11649lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11650
11651# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11652
11653# If no C compiler was specified, use CC.
11654LTCC=${LTCC-"$CC"}
11655
11656# If no C compiler flags were specified, use CFLAGS.
11657LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11658
11659# Allow CC to be a program name with arguments.
11660compiler=$CC
11661
11662
11663# save warnings/boilerplate of simple test code
11664ac_outfile=conftest.$ac_objext
11665echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11666eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11667_lt_compiler_boilerplate=`cat conftest.err`
11668$rm conftest*
11669
11670ac_outfile=conftest.$ac_objext
11671echo "$lt_simple_link_test_code" >conftest.$ac_ext
11672eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11673_lt_linker_boilerplate=`cat conftest.err`
11674$rm conftest*
11675
11676
11677# Allow CC to be a program name with arguments.
11678lt_save_CC=$CC
11679lt_save_LD=$LD
11680lt_save_GCC=$GCC
11681GCC=$GXX
11682lt_save_with_gnu_ld=$with_gnu_ld
11683lt_save_path_LD=$lt_cv_path_LD
11684if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11685  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11686else
11687  $as_unset lt_cv_prog_gnu_ld
11688fi
11689if test -n "${lt_cv_path_LDCXX+set}"; then
11690  lt_cv_path_LD=$lt_cv_path_LDCXX
11691else
11692  $as_unset lt_cv_path_LD
11693fi
11694test -z "${LDCXX+set}" || LD=$LDCXX
11695CC=${CXX-"c++"}
11696compiler=$CC
11697compiler_CXX=$CC
11698for cc_temp in $compiler""; do
11699  case $cc_temp in
11700    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11701    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11702    \-*) ;;
11703    *) break;;
11704  esac
11705done
11706cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11707
11708
11709# We don't want -fno-exception wen compiling C++ code, so set the
11710# no_builtin_flag separately
11711if test "$GXX" = yes; then
11712  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11713else
11714  lt_prog_compiler_no_builtin_flag_CXX=
11715fi
11716
11717if test "$GXX" = yes; then
11718  # Set up default GNU C++ configuration
11719
11720
11721# Check whether --with-gnu-ld was given.
11722if test "${with_gnu_ld+set}" = set; then
11723  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11724else
11725  with_gnu_ld=no
11726fi
11727
11728ac_prog=ld
11729if test "$GCC" = yes; then
11730  # Check if gcc -print-prog-name=ld gives a path.
11731  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11732echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11733  case $host in
11734  *-*-mingw*)
11735    # gcc leaves a trailing carriage return which upsets mingw
11736    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11737  *)
11738    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11739  esac
11740  case $ac_prog in
11741    # Accept absolute paths.
11742    [\\/]* | ?:[\\/]*)
11743      re_direlt='/[^/][^/]*/\.\./'
11744      # Canonicalize the pathname of ld
11745      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11746      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11747	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11748      done
11749      test -z "$LD" && LD="$ac_prog"
11750      ;;
11751  "")
11752    # If it fails, then pretend we aren't using GCC.
11753    ac_prog=ld
11754    ;;
11755  *)
11756    # If it is relative, then search for the first ld in PATH.
11757    with_gnu_ld=unknown
11758    ;;
11759  esac
11760elif test "$with_gnu_ld" = yes; then
11761  { echo "$as_me:$LINENO: checking for GNU ld" >&5
11762echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11763else
11764  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11765echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11766fi
11767if test "${lt_cv_path_LD+set}" = set; then
11768  echo $ECHO_N "(cached) $ECHO_C" >&6
11769else
11770  if test -z "$LD"; then
11771  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11772  for ac_dir in $PATH; do
11773    IFS="$lt_save_ifs"
11774    test -z "$ac_dir" && ac_dir=.
11775    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11776      lt_cv_path_LD="$ac_dir/$ac_prog"
11777      # Check to see if the program is GNU ld.  I'd rather use --version,
11778      # but apparently some variants of GNU ld only accept -v.
11779      # Break only if it was the GNU/non-GNU ld that we prefer.
11780      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11781      *GNU* | *'with BFD'*)
11782	test "$with_gnu_ld" != no && break
11783	;;
11784      *)
11785	test "$with_gnu_ld" != yes && break
11786	;;
11787      esac
11788    fi
11789  done
11790  IFS="$lt_save_ifs"
11791else
11792  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11793fi
11794fi
11795
11796LD="$lt_cv_path_LD"
11797if test -n "$LD"; then
11798  { echo "$as_me:$LINENO: result: $LD" >&5
11799echo "${ECHO_T}$LD" >&6; }
11800else
11801  { echo "$as_me:$LINENO: result: no" >&5
11802echo "${ECHO_T}no" >&6; }
11803fi
11804test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11805echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11806   { (exit 1); exit 1; }; }
11807{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11808echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11809if test "${lt_cv_prog_gnu_ld+set}" = set; then
11810  echo $ECHO_N "(cached) $ECHO_C" >&6
11811else
11812  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11813case `$LD -v 2>&1 </dev/null` in
11814*GNU* | *'with BFD'*)
11815  lt_cv_prog_gnu_ld=yes
11816  ;;
11817*)
11818  lt_cv_prog_gnu_ld=no
11819  ;;
11820esac
11821fi
11822{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11823echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11824with_gnu_ld=$lt_cv_prog_gnu_ld
11825
11826
11827
11828  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11829  # archiving commands below assume that GNU ld is being used.
11830  if test "$with_gnu_ld" = yes; then
11831    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11832    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11833
11834    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11835    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11836
11837    # If archive_cmds runs LD, not CC, wlarc should be empty
11838    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11839    #     investigate it a little bit more. (MM)
11840    wlarc='${wl}'
11841
11842    # ancient GNU ld didn't support --whole-archive et. al.
11843    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11844	grep 'no-whole-archive' > /dev/null; then
11845      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11846    else
11847      whole_archive_flag_spec_CXX=
11848    fi
11849  else
11850    with_gnu_ld=no
11851    wlarc=
11852
11853    # A generic and very simple default shared library creation
11854    # command for GNU C++ for the case where it uses the native
11855    # linker, instead of GNU ld.  If possible, this setting should
11856    # overridden to take advantage of the native linker features on
11857    # the platform it is being used on.
11858    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11859  fi
11860
11861  # Commands to make compiler produce verbose output that lists
11862  # what "hidden" libraries, object files and flags are used when
11863  # linking a shared library.
11864  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11865
11866else
11867  GXX=no
11868  with_gnu_ld=no
11869  wlarc=
11870fi
11871
11872# PORTME: fill in a description of your system's C++ link characteristics
11873{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11874echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11875ld_shlibs_CXX=yes
11876case $host_os in
11877  aix3*)
11878    # FIXME: insert proper C++ library support
11879    ld_shlibs_CXX=no
11880    ;;
11881  aix4* | aix5*)
11882    if test "$host_cpu" = ia64; then
11883      # On IA64, the linker does run time linking by default, so we don't
11884      # have to do anything special.
11885      aix_use_runtimelinking=no
11886      exp_sym_flag='-Bexport'
11887      no_entry_flag=""
11888    else
11889      aix_use_runtimelinking=no
11890
11891      # Test if we are trying to use run time linking or normal
11892      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11893      # need to do runtime linking.
11894      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11895	for ld_flag in $LDFLAGS; do
11896	  case $ld_flag in
11897	  *-brtl*)
11898	    aix_use_runtimelinking=yes
11899	    break
11900	    ;;
11901	  esac
11902	done
11903	;;
11904      esac
11905
11906      exp_sym_flag='-bexport'
11907      no_entry_flag='-bnoentry'
11908    fi
11909
11910    # When large executables or shared objects are built, AIX ld can
11911    # have problems creating the table of contents.  If linking a library
11912    # or program results in "error TOC overflow" add -mminimal-toc to
11913    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11914    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11915
11916    archive_cmds_CXX=''
11917    hardcode_direct_CXX=yes
11918    hardcode_libdir_separator_CXX=':'
11919    link_all_deplibs_CXX=yes
11920
11921    if test "$GXX" = yes; then
11922      case $host_os in aix4.[012]|aix4.[012].*)
11923      # We only want to do this on AIX 4.2 and lower, the check
11924      # below for broken collect2 doesn't work under 4.3+
11925	collect2name=`${CC} -print-prog-name=collect2`
11926	if test -f "$collect2name" && \
11927	   strings "$collect2name" | grep resolve_lib_name >/dev/null
11928	then
11929	  # We have reworked collect2
11930	  :
11931	else
11932	  # We have old collect2
11933	  hardcode_direct_CXX=unsupported
11934	  # It fails to find uninstalled libraries when the uninstalled
11935	  # path is not listed in the libpath.  Setting hardcode_minus_L
11936	  # to unsupported forces relinking
11937	  hardcode_minus_L_CXX=yes
11938	  hardcode_libdir_flag_spec_CXX='-L$libdir'
11939	  hardcode_libdir_separator_CXX=
11940	fi
11941	;;
11942      esac
11943      shared_flag='-shared'
11944      if test "$aix_use_runtimelinking" = yes; then
11945	shared_flag="$shared_flag "'${wl}-G'
11946      fi
11947    else
11948      # not using gcc
11949      if test "$host_cpu" = ia64; then
11950	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11951	# chokes on -Wl,-G. The following line is correct:
11952	shared_flag='-G'
11953      else
11954	if test "$aix_use_runtimelinking" = yes; then
11955	  shared_flag='${wl}-G'
11956	else
11957	  shared_flag='${wl}-bM:SRE'
11958	fi
11959      fi
11960    fi
11961
11962    # It seems that -bexpall does not export symbols beginning with
11963    # underscore (_), so it is better to generate a list of symbols to export.
11964    always_export_symbols_CXX=yes
11965    if test "$aix_use_runtimelinking" = yes; then
11966      # Warning - without using the other runtime loading flags (-brtl),
11967      # -berok will link without error, but may produce a broken library.
11968      allow_undefined_flag_CXX='-berok'
11969      # Determine the default libpath from the value encoded in an empty executable.
11970      cat >conftest.$ac_ext <<_ACEOF
11971/* confdefs.h.  */
11972_ACEOF
11973cat confdefs.h >>conftest.$ac_ext
11974cat >>conftest.$ac_ext <<_ACEOF
11975/* end confdefs.h.  */
11976
11977int
11978main ()
11979{
11980
11981  ;
11982  return 0;
11983}
11984_ACEOF
11985rm -f conftest.$ac_objext conftest$ac_exeext
11986if { (ac_try="$ac_link"
11987case "(($ac_try" in
11988  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11989  *) ac_try_echo=$ac_try;;
11990esac
11991eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11992  (eval "$ac_link") 2>conftest.er1
11993  ac_status=$?
11994  grep -v '^ *+' conftest.er1 >conftest.err
11995  rm -f conftest.er1
11996  cat conftest.err >&5
11997  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998  (exit $ac_status); } && {
11999	 test -z "$ac_cxx_werror_flag" ||
12000	 test ! -s conftest.err
12001       } && test -s conftest$ac_exeext &&
12002       $as_test_x conftest$ac_exeext; then
12003
12004lt_aix_libpath_sed='
12005    /Import File Strings/,/^$/ {
12006	/^0/ {
12007	    s/^0  *\(.*\)$/\1/
12008	    p
12009	}
12010    }'
12011aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12012# Check for a 64-bit object if we didn't find anything.
12013if test -z "$aix_libpath"; then
12014  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12015fi
12016else
12017  echo "$as_me: failed program was:" >&5
12018sed 's/^/| /' conftest.$ac_ext >&5
12019
12020
12021fi
12022
12023rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12024      conftest$ac_exeext conftest.$ac_ext
12025if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12026
12027      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12028
12029      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12030     else
12031      if test "$host_cpu" = ia64; then
12032	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12033	allow_undefined_flag_CXX="-z nodefs"
12034	archive_expsym_cmds_CXX="\$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"
12035      else
12036	# Determine the default libpath from the value encoded in an empty executable.
12037	cat >conftest.$ac_ext <<_ACEOF
12038/* confdefs.h.  */
12039_ACEOF
12040cat confdefs.h >>conftest.$ac_ext
12041cat >>conftest.$ac_ext <<_ACEOF
12042/* end confdefs.h.  */
12043
12044int
12045main ()
12046{
12047
12048  ;
12049  return 0;
12050}
12051_ACEOF
12052rm -f conftest.$ac_objext conftest$ac_exeext
12053if { (ac_try="$ac_link"
12054case "(($ac_try" in
12055  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12056  *) ac_try_echo=$ac_try;;
12057esac
12058eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12059  (eval "$ac_link") 2>conftest.er1
12060  ac_status=$?
12061  grep -v '^ *+' conftest.er1 >conftest.err
12062  rm -f conftest.er1
12063  cat conftest.err >&5
12064  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065  (exit $ac_status); } && {
12066	 test -z "$ac_cxx_werror_flag" ||
12067	 test ! -s conftest.err
12068       } && test -s conftest$ac_exeext &&
12069       $as_test_x conftest$ac_exeext; then
12070
12071lt_aix_libpath_sed='
12072    /Import File Strings/,/^$/ {
12073	/^0/ {
12074	    s/^0  *\(.*\)$/\1/
12075	    p
12076	}
12077    }'
12078aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12079# Check for a 64-bit object if we didn't find anything.
12080if test -z "$aix_libpath"; then
12081  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12082fi
12083else
12084  echo "$as_me: failed program was:" >&5
12085sed 's/^/| /' conftest.$ac_ext >&5
12086
12087
12088fi
12089
12090rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12091      conftest$ac_exeext conftest.$ac_ext
12092if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12093
12094	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12095	# Warning - without using the other run time loading flags,
12096	# -berok will link without error, but may produce a broken library.
12097	no_undefined_flag_CXX=' ${wl}-bernotok'
12098	allow_undefined_flag_CXX=' ${wl}-berok'
12099	# Exported symbols can be pulled into shared objects from archives
12100	whole_archive_flag_spec_CXX='$convenience'
12101	archive_cmds_need_lc_CXX=yes
12102	# This is similar to how AIX traditionally builds its shared libraries.
12103	archive_expsym_cmds_CXX="\$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'
12104      fi
12105    fi
12106    ;;
12107
12108  beos*)
12109    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12110      allow_undefined_flag_CXX=unsupported
12111      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12112      # support --undefined.  This deserves some investigation.  FIXME
12113      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12114    else
12115      ld_shlibs_CXX=no
12116    fi
12117    ;;
12118
12119  chorus*)
12120    case $cc_basename in
12121      *)
12122	# FIXME: insert proper C++ library support
12123	ld_shlibs_CXX=no
12124	;;
12125    esac
12126    ;;
12127
12128  cygwin* | mingw* | pw32*)
12129    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12130    # as there is no search path for DLLs.
12131    hardcode_libdir_flag_spec_CXX='-L$libdir'
12132    allow_undefined_flag_CXX=unsupported
12133    always_export_symbols_CXX=no
12134    enable_shared_with_static_runtimes_CXX=yes
12135
12136    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12137      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12138      # If the export-symbols file already is a .def file (1st line
12139      # is EXPORTS), use it as is; otherwise, prepend...
12140      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12141	cp $export_symbols $output_objdir/$soname.def;
12142      else
12143	echo EXPORTS > $output_objdir/$soname.def;
12144	cat $export_symbols >> $output_objdir/$soname.def;
12145      fi~
12146      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12147    else
12148      ld_shlibs_CXX=no
12149    fi
12150  ;;
12151      darwin* | rhapsody*)
12152        case $host_os in
12153        rhapsody* | darwin1.[012])
12154         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12155         ;;
12156       *) # Darwin 1.3 on
12157         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12158           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12159         else
12160           case ${MACOSX_DEPLOYMENT_TARGET} in
12161             10.[012])
12162               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12163               ;;
12164             10.*)
12165               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12166               ;;
12167           esac
12168         fi
12169         ;;
12170        esac
12171      archive_cmds_need_lc_CXX=no
12172      hardcode_direct_CXX=no
12173      hardcode_automatic_CXX=yes
12174      hardcode_shlibpath_var_CXX=unsupported
12175      whole_archive_flag_spec_CXX=''
12176      link_all_deplibs_CXX=yes
12177
12178    if test "$GXX" = yes ; then
12179      lt_int_apple_cc_single_mod=no
12180      output_verbose_link_cmd='echo'
12181      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12182       lt_int_apple_cc_single_mod=yes
12183      fi
12184      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12185       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12186      else
12187          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12188        fi
12189        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12190        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12191          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12192            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12193          else
12194            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12195          fi
12196            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12197      else
12198      case $cc_basename in
12199        xlc*)
12200         output_verbose_link_cmd='echo'
12201          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12202          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12203          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12204          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12205          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12206          ;;
12207       *)
12208         ld_shlibs_CXX=no
12209          ;;
12210      esac
12211      fi
12212        ;;
12213
12214  dgux*)
12215    case $cc_basename in
12216      ec++*)
12217	# FIXME: insert proper C++ library support
12218	ld_shlibs_CXX=no
12219	;;
12220      ghcx*)
12221	# Green Hills C++ Compiler
12222	# FIXME: insert proper C++ library support
12223	ld_shlibs_CXX=no
12224	;;
12225      *)
12226	# FIXME: insert proper C++ library support
12227	ld_shlibs_CXX=no
12228	;;
12229    esac
12230    ;;
12231  freebsd[12]*)
12232    # C++ shared libraries reported to be fairly broken before switch to ELF
12233    ld_shlibs_CXX=no
12234    ;;
12235  freebsd-elf*)
12236    archive_cmds_need_lc_CXX=no
12237    ;;
12238  freebsd* | dragonfly*)
12239    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12240    # conventions
12241    ld_shlibs_CXX=yes
12242    ;;
12243  gnu*)
12244    ;;
12245  hpux9*)
12246    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12247    hardcode_libdir_separator_CXX=:
12248    export_dynamic_flag_spec_CXX='${wl}-E'
12249    hardcode_direct_CXX=yes
12250    hardcode_minus_L_CXX=yes # Not in the search PATH,
12251				# but as the default
12252				# location of the library.
12253
12254    case $cc_basename in
12255    CC*)
12256      # FIXME: insert proper C++ library support
12257      ld_shlibs_CXX=no
12258      ;;
12259    aCC*)
12260      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12261      # Commands to make compiler produce verbose output that lists
12262      # what "hidden" libraries, object files and flags are used when
12263      # linking a shared library.
12264      #
12265      # There doesn't appear to be a way to prevent this compiler from
12266      # explicitly linking system object files so we need to strip them
12267      # from the output so that they don't get included in the library
12268      # dependencies.
12269      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12270      ;;
12271    *)
12272      if test "$GXX" = yes; then
12273        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12274      else
12275        # FIXME: insert proper C++ library support
12276        ld_shlibs_CXX=no
12277      fi
12278      ;;
12279    esac
12280    ;;
12281  hpux10*|hpux11*)
12282    if test $with_gnu_ld = no; then
12283      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12284      hardcode_libdir_separator_CXX=:
12285
12286      case $host_cpu in
12287      hppa*64*|ia64*) ;;
12288      *)
12289	export_dynamic_flag_spec_CXX='${wl}-E'
12290        ;;
12291      esac
12292    fi
12293    case $host_cpu in
12294    hppa*64*|ia64*)
12295      hardcode_direct_CXX=no
12296      hardcode_shlibpath_var_CXX=no
12297      ;;
12298    *)
12299      hardcode_direct_CXX=yes
12300      hardcode_minus_L_CXX=yes # Not in the search PATH,
12301					      # but as the default
12302					      # location of the library.
12303      ;;
12304    esac
12305
12306    case $cc_basename in
12307      CC*)
12308	# FIXME: insert proper C++ library support
12309	ld_shlibs_CXX=no
12310	;;
12311      aCC*)
12312	case $host_cpu in
12313	hppa*64*)
12314	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12315	  ;;
12316	ia64*)
12317	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12318	  ;;
12319	*)
12320	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12321	  ;;
12322	esac
12323	# Commands to make compiler produce verbose output that lists
12324	# what "hidden" libraries, object files and flags are used when
12325	# linking a shared library.
12326	#
12327	# There doesn't appear to be a way to prevent this compiler from
12328	# explicitly linking system object files so we need to strip them
12329	# from the output so that they don't get included in the library
12330	# dependencies.
12331	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12332	;;
12333      *)
12334	if test "$GXX" = yes; then
12335	  if test $with_gnu_ld = no; then
12336	    case $host_cpu in
12337	    hppa*64*)
12338	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12339	      ;;
12340	    ia64*)
12341	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12342	      ;;
12343	    *)
12344	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12345	      ;;
12346	    esac
12347	  fi
12348	else
12349	  # FIXME: insert proper C++ library support
12350	  ld_shlibs_CXX=no
12351	fi
12352	;;
12353    esac
12354    ;;
12355  interix[3-9]*)
12356    hardcode_direct_CXX=no
12357    hardcode_shlibpath_var_CXX=no
12358    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12359    export_dynamic_flag_spec_CXX='${wl}-E'
12360    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12361    # Instead, shared libraries are loaded at an image base (0x10000000 by
12362    # default) and relocated if they conflict, which is a slow very memory
12363    # consuming and fragmenting process.  To avoid this, we pick a random,
12364    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12365    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12366    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12367    archive_expsym_cmds_CXX='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'
12368    ;;
12369  irix5* | irix6*)
12370    case $cc_basename in
12371      CC*)
12372	# SGI C++
12373	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12374
12375	# Archives containing C++ object files must be created using
12376	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12377	# necessary to make sure instantiated templates are included
12378	# in the archive.
12379	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12380	;;
12381      *)
12382	if test "$GXX" = yes; then
12383	  if test "$with_gnu_ld" = no; then
12384	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12385	  else
12386	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
12387	  fi
12388	fi
12389	link_all_deplibs_CXX=yes
12390	;;
12391    esac
12392    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12393    hardcode_libdir_separator_CXX=:
12394    ;;
12395  linux* | k*bsd*-gnu)
12396    case $cc_basename in
12397      KCC*)
12398	# Kuck and Associates, Inc. (KAI) C++ Compiler
12399
12400	# KCC will only create a shared library if the output file
12401	# ends with ".so" (or ".sl" for HP-UX), so rename the library
12402	# to its proper name (with version) after linking.
12403	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12404	archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12405	# Commands to make compiler produce verbose output that lists
12406	# what "hidden" libraries, object files and flags are used when
12407	# linking a shared library.
12408	#
12409	# There doesn't appear to be a way to prevent this compiler from
12410	# explicitly linking system object files so we need to strip them
12411	# from the output so that they don't get included in the library
12412	# dependencies.
12413	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12414
12415	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12416	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12417
12418	# Archives containing C++ object files must be created using
12419	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12420	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12421	;;
12422      icpc*)
12423	# Intel C++
12424	with_gnu_ld=yes
12425	# version 8.0 and above of icpc choke on multiply defined symbols
12426	# if we add $predep_objects and $postdep_objects, however 7.1 and
12427	# earlier do not add the objects themselves.
12428	case `$CC -V 2>&1` in
12429	*"Version 7."*)
12430  	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12431  	  archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12432	  ;;
12433	*)  # Version 8.0 or newer
12434	  tmp_idyn=
12435	  case $host_cpu in
12436	    ia64*) tmp_idyn=' -i_dynamic';;
12437	  esac
12438  	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12439	  archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12440	  ;;
12441	esac
12442	archive_cmds_need_lc_CXX=no
12443	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12444	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12445	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12446	;;
12447      pgCC*)
12448        # Portland Group C++ compiler
12449	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12450  	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12451
12452	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12453	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12454	whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12455        ;;
12456      cxx*)
12457	# Compaq C++
12458	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12459	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12460
12461	runpath_var=LD_RUN_PATH
12462	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12463	hardcode_libdir_separator_CXX=:
12464
12465	# Commands to make compiler produce verbose output that lists
12466	# what "hidden" libraries, object files and flags are used when
12467	# linking a shared library.
12468	#
12469	# There doesn't appear to be a way to prevent this compiler from
12470	# explicitly linking system object files so we need to strip them
12471	# from the output so that they don't get included in the library
12472	# dependencies.
12473	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12474	;;
12475      *)
12476	case `$CC -V 2>&1 | sed 5q` in
12477	*Sun\ C*)
12478	  # Sun C++ 5.9
12479	  no_undefined_flag_CXX=' -zdefs'
12480	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12481	  archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12482	  hardcode_libdir_flag_spec_CXX='-R$libdir'
12483	  whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12484
12485	  # Not sure whether something based on
12486	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12487	  # would be better.
12488	  output_verbose_link_cmd='echo'
12489
12490	  # Archives containing C++ object files must be created using
12491	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12492	  # necessary to make sure instantiated templates are included
12493	  # in the archive.
12494	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12495	  ;;
12496	esac
12497	;;
12498    esac
12499    ;;
12500  lynxos*)
12501    # FIXME: insert proper C++ library support
12502    ld_shlibs_CXX=no
12503    ;;
12504  m88k*)
12505    # FIXME: insert proper C++ library support
12506    ld_shlibs_CXX=no
12507    ;;
12508  mvs*)
12509    case $cc_basename in
12510      cxx*)
12511	# FIXME: insert proper C++ library support
12512	ld_shlibs_CXX=no
12513	;;
12514      *)
12515	# FIXME: insert proper C++ library support
12516	ld_shlibs_CXX=no
12517	;;
12518    esac
12519    ;;
12520  netbsd*)
12521    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12522      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12523      wlarc=
12524      hardcode_libdir_flag_spec_CXX='-R$libdir'
12525      hardcode_direct_CXX=yes
12526      hardcode_shlibpath_var_CXX=no
12527    fi
12528    # Workaround some broken pre-1.5 toolchains
12529    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12530    ;;
12531  openbsd2*)
12532    # C++ shared libraries are fairly broken
12533    ld_shlibs_CXX=no
12534    ;;
12535  openbsd*)
12536    if test -f /usr/libexec/ld.so; then
12537      hardcode_direct_CXX=yes
12538      hardcode_shlibpath_var_CXX=no
12539      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12540      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12541      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12542	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12543	export_dynamic_flag_spec_CXX='${wl}-E'
12544	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12545      fi
12546      output_verbose_link_cmd='echo'
12547    else
12548      ld_shlibs_CXX=no
12549    fi
12550    ;;
12551  osf3*)
12552    case $cc_basename in
12553      KCC*)
12554	# Kuck and Associates, Inc. (KAI) C++ Compiler
12555
12556	# KCC will only create a shared library if the output file
12557	# ends with ".so" (or ".sl" for HP-UX), so rename the library
12558	# to its proper name (with version) after linking.
12559	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12560
12561	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12562	hardcode_libdir_separator_CXX=:
12563
12564	# Archives containing C++ object files must be created using
12565	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12566	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12567
12568	;;
12569      RCC*)
12570	# Rational C++ 2.4.1
12571	# FIXME: insert proper C++ library support
12572	ld_shlibs_CXX=no
12573	;;
12574      cxx*)
12575	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12576	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12577
12578	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12579	hardcode_libdir_separator_CXX=:
12580
12581	# Commands to make compiler produce verbose output that lists
12582	# what "hidden" libraries, object files and flags are used when
12583	# linking a shared library.
12584	#
12585	# There doesn't appear to be a way to prevent this compiler from
12586	# explicitly linking system object files so we need to strip them
12587	# from the output so that they don't get included in the library
12588	# dependencies.
12589	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12590	;;
12591      *)
12592	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12593	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12594	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12595
12596	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12597	  hardcode_libdir_separator_CXX=:
12598
12599	  # Commands to make compiler produce verbose output that lists
12600	  # what "hidden" libraries, object files and flags are used when
12601	  # linking a shared library.
12602	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12603
12604	else
12605	  # FIXME: insert proper C++ library support
12606	  ld_shlibs_CXX=no
12607	fi
12608	;;
12609    esac
12610    ;;
12611  osf4* | osf5*)
12612    case $cc_basename in
12613      KCC*)
12614	# Kuck and Associates, Inc. (KAI) C++ Compiler
12615
12616	# KCC will only create a shared library if the output file
12617	# ends with ".so" (or ".sl" for HP-UX), so rename the library
12618	# to its proper name (with version) after linking.
12619	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12620
12621	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12622	hardcode_libdir_separator_CXX=:
12623
12624	# Archives containing C++ object files must be created using
12625	# the KAI C++ compiler.
12626	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12627	;;
12628      RCC*)
12629	# Rational C++ 2.4.1
12630	# FIXME: insert proper C++ library support
12631	ld_shlibs_CXX=no
12632	;;
12633      cxx*)
12634	allow_undefined_flag_CXX=' -expect_unresolved \*'
12635	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12636	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12637	  echo "-hidden">> $lib.exp~
12638	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry ${output_objdir}/so_locations -o $lib~
12639	  $rm $lib.exp'
12640
12641	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12642	hardcode_libdir_separator_CXX=:
12643
12644	# Commands to make compiler produce verbose output that lists
12645	# what "hidden" libraries, object files and flags are used when
12646	# linking a shared library.
12647	#
12648	# There doesn't appear to be a way to prevent this compiler from
12649	# explicitly linking system object files so we need to strip them
12650	# from the output so that they don't get included in the library
12651	# dependencies.
12652	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12653	;;
12654      *)
12655	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12656	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12657	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12658
12659	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12660	  hardcode_libdir_separator_CXX=:
12661
12662	  # Commands to make compiler produce verbose output that lists
12663	  # what "hidden" libraries, object files and flags are used when
12664	  # linking a shared library.
12665	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12666
12667	else
12668	  # FIXME: insert proper C++ library support
12669	  ld_shlibs_CXX=no
12670	fi
12671	;;
12672    esac
12673    ;;
12674  psos*)
12675    # FIXME: insert proper C++ library support
12676    ld_shlibs_CXX=no
12677    ;;
12678  sunos4*)
12679    case $cc_basename in
12680      CC*)
12681	# Sun C++ 4.x
12682	# FIXME: insert proper C++ library support
12683	ld_shlibs_CXX=no
12684	;;
12685      lcc*)
12686	# Lucid
12687	# FIXME: insert proper C++ library support
12688	ld_shlibs_CXX=no
12689	;;
12690      *)
12691	# FIXME: insert proper C++ library support
12692	ld_shlibs_CXX=no
12693	;;
12694    esac
12695    ;;
12696  solaris*)
12697    case $cc_basename in
12698      CC*)
12699	# Sun C++ 4.2, 5.x and Centerline C++
12700        archive_cmds_need_lc_CXX=yes
12701	no_undefined_flag_CXX=' -zdefs'
12702	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12703	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12704	$CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12705
12706	hardcode_libdir_flag_spec_CXX='-R$libdir'
12707	hardcode_shlibpath_var_CXX=no
12708	case $host_os in
12709	  solaris2.[0-5] | solaris2.[0-5].*) ;;
12710	  *)
12711	    # The compiler driver will combine and reorder linker options,
12712	    # but understands `-z linker_flag'.
12713	    # Supported since Solaris 2.6 (maybe 2.5.1?)
12714	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12715	    ;;
12716	esac
12717	link_all_deplibs_CXX=yes
12718
12719	output_verbose_link_cmd='echo'
12720
12721	# Archives containing C++ object files must be created using
12722	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
12723	# necessary to make sure instantiated templates are included
12724	# in the archive.
12725	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12726	;;
12727      gcx*)
12728	# Green Hills C++ Compiler
12729	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12730
12731	# The C++ compiler must be used to create the archive.
12732	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12733	;;
12734      *)
12735	# GNU C++ compiler with Solaris linker
12736	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12737	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12738	  if $CC --version | grep -v '^2\.7' > /dev/null; then
12739	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12740	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12741		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12742
12743	    # Commands to make compiler produce verbose output that lists
12744	    # what "hidden" libraries, object files and flags are used when
12745	    # linking a shared library.
12746	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12747	  else
12748	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
12749	    # platform.
12750	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12751	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12752		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12753
12754	    # Commands to make compiler produce verbose output that lists
12755	    # what "hidden" libraries, object files and flags are used when
12756	    # linking a shared library.
12757	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12758	  fi
12759
12760	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12761	  case $host_os in
12762	  solaris2.[0-5] | solaris2.[0-5].*) ;;
12763	  *)
12764	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12765	    ;;
12766	  esac
12767	fi
12768	;;
12769    esac
12770    ;;
12771  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12772    no_undefined_flag_CXX='${wl}-z,text'
12773    archive_cmds_need_lc_CXX=no
12774    hardcode_shlibpath_var_CXX=no
12775    runpath_var='LD_RUN_PATH'
12776
12777    case $cc_basename in
12778      CC*)
12779	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12780	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12781	;;
12782      *)
12783	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12784	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12785	;;
12786    esac
12787    ;;
12788  sysv5* | sco3.2v5* | sco5v6*)
12789    # Note: We can NOT use -z defs as we might desire, because we do not
12790    # link with -lc, and that would cause any symbols used from libc to
12791    # always be unresolved, which means just about no library would
12792    # ever link correctly.  If we're not using GNU ld we use -z text
12793    # though, which does catch some bad symbols but isn't as heavy-handed
12794    # as -z defs.
12795    # For security reasons, it is highly recommended that you always
12796    # use absolute paths for naming shared libraries, and exclude the
12797    # DT_RUNPATH tag from executables and libraries.  But doing so
12798    # requires that you compile everything twice, which is a pain.
12799    # So that behaviour is only enabled if SCOABSPATH is set to a
12800    # non-empty value in the environment.  Most likely only useful for
12801    # creating official distributions of packages.
12802    # This is a hack until libtool officially supports absolute path
12803    # names for shared libraries.
12804    no_undefined_flag_CXX='${wl}-z,text'
12805    allow_undefined_flag_CXX='${wl}-z,nodefs'
12806    archive_cmds_need_lc_CXX=no
12807    hardcode_shlibpath_var_CXX=no
12808    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12809    hardcode_libdir_separator_CXX=':'
12810    link_all_deplibs_CXX=yes
12811    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12812    runpath_var='LD_RUN_PATH'
12813
12814    case $cc_basename in
12815      CC*)
12816	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12817	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12818	;;
12819      *)
12820	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12821	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12822	;;
12823    esac
12824    ;;
12825  tandem*)
12826    case $cc_basename in
12827      NCC*)
12828	# NonStop-UX NCC 3.20
12829	# FIXME: insert proper C++ library support
12830	ld_shlibs_CXX=no
12831	;;
12832      *)
12833	# FIXME: insert proper C++ library support
12834	ld_shlibs_CXX=no
12835	;;
12836    esac
12837    ;;
12838  vxworks*)
12839    # FIXME: insert proper C++ library support
12840    ld_shlibs_CXX=no
12841    ;;
12842  *)
12843    # FIXME: insert proper C++ library support
12844    ld_shlibs_CXX=no
12845    ;;
12846esac
12847{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12848echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12849test "$ld_shlibs_CXX" = no && can_build_shared=no
12850
12851GCC_CXX="$GXX"
12852LD_CXX="$LD"
12853
12854
12855cat > conftest.$ac_ext <<EOF
12856class Foo
12857{
12858public:
12859  Foo (void) { a = 0; }
12860private:
12861  int a;
12862};
12863EOF
12864
12865if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12866  (eval $ac_compile) 2>&5
12867  ac_status=$?
12868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869  (exit $ac_status); }; then
12870  # Parse the compiler output and extract the necessary
12871  # objects, libraries and library flags.
12872
12873  # Sentinel used to keep track of whether or not we are before
12874  # the conftest object file.
12875  pre_test_object_deps_done=no
12876
12877  # The `*' in the case matches for architectures that use `case' in
12878  # $output_verbose_cmd can trigger glob expansion during the loop
12879  # eval without this substitution.
12880  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12881
12882  for p in `eval $output_verbose_link_cmd`; do
12883    case $p in
12884
12885    -L* | -R* | -l*)
12886       # Some compilers place space between "-{L,R}" and the path.
12887       # Remove the space.
12888       if test $p = "-L" \
12889	  || test $p = "-R"; then
12890	 prev=$p
12891	 continue
12892       else
12893	 prev=
12894       fi
12895
12896       if test "$pre_test_object_deps_done" = no; then
12897	 case $p in
12898	 -L* | -R*)
12899	   # Internal compiler library paths should come after those
12900	   # provided the user.  The postdeps already come after the
12901	   # user supplied libs so there is no need to process them.
12902	   if test -z "$compiler_lib_search_path_CXX"; then
12903	     compiler_lib_search_path_CXX="${prev}${p}"
12904	   else
12905	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12906	   fi
12907	   ;;
12908	 # The "-l" case would never come before the object being
12909	 # linked, so don't bother handling this case.
12910	 esac
12911       else
12912	 if test -z "$postdeps_CXX"; then
12913	   postdeps_CXX="${prev}${p}"
12914	 else
12915	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12916	 fi
12917       fi
12918       ;;
12919
12920    *.$objext)
12921       # This assumes that the test object file only shows up
12922       # once in the compiler output.
12923       if test "$p" = "conftest.$objext"; then
12924	 pre_test_object_deps_done=yes
12925	 continue
12926       fi
12927
12928       if test "$pre_test_object_deps_done" = no; then
12929	 if test -z "$predep_objects_CXX"; then
12930	   predep_objects_CXX="$p"
12931	 else
12932	   predep_objects_CXX="$predep_objects_CXX $p"
12933	 fi
12934       else
12935	 if test -z "$postdep_objects_CXX"; then
12936	   postdep_objects_CXX="$p"
12937	 else
12938	   postdep_objects_CXX="$postdep_objects_CXX $p"
12939	 fi
12940       fi
12941       ;;
12942
12943    *) ;; # Ignore the rest.
12944
12945    esac
12946  done
12947
12948  # Clean up.
12949  rm -f a.out a.exe
12950else
12951  echo "libtool.m4: error: problem compiling CXX test program"
12952fi
12953
12954$rm -f confest.$objext
12955
12956# PORTME: override above test on systems where it is broken
12957case $host_os in
12958interix[3-9]*)
12959  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12960  # hack all around it, let's just trust "g++" to DTRT.
12961  predep_objects_CXX=
12962  postdep_objects_CXX=
12963  postdeps_CXX=
12964  ;;
12965
12966linux*)
12967  case `$CC -V 2>&1 | sed 5q` in
12968  *Sun\ C*)
12969    # Sun C++ 5.9
12970    #
12971    # The more standards-conforming stlport4 library is
12972    # incompatible with the Cstd library. Avoid specifying
12973    # it if it's in CXXFLAGS. Ignore libCrun as
12974    # -library=stlport4 depends on it.
12975    case " $CXX $CXXFLAGS " in
12976    *" -library=stlport4 "*)
12977      solaris_use_stlport4=yes
12978      ;;
12979    esac
12980    if test "$solaris_use_stlport4" != yes; then
12981      postdeps_CXX='-library=Cstd -library=Crun'
12982    fi
12983    ;;
12984  esac
12985  ;;
12986
12987solaris*)
12988  case $cc_basename in
12989  CC*)
12990    # The more standards-conforming stlport4 library is
12991    # incompatible with the Cstd library. Avoid specifying
12992    # it if it's in CXXFLAGS. Ignore libCrun as
12993    # -library=stlport4 depends on it.
12994    case " $CXX $CXXFLAGS " in
12995    *" -library=stlport4 "*)
12996      solaris_use_stlport4=yes
12997      ;;
12998    esac
12999
13000    # Adding this requires a known-good setup of shared libraries for
13001    # Sun compiler versions before 5.6, else PIC objects from an old
13002    # archive will be linked into the output, leading to subtle bugs.
13003    if test "$solaris_use_stlport4" != yes; then
13004      postdeps_CXX='-library=Cstd -library=Crun'
13005    fi
13006    ;;
13007  esac
13008  ;;
13009esac
13010
13011
13012case " $postdeps_CXX " in
13013*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13014esac
13015
13016lt_prog_compiler_wl_CXX=
13017lt_prog_compiler_pic_CXX=
13018lt_prog_compiler_static_CXX=
13019
13020{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13021echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13022
13023  # C++ specific cases for pic, static, wl, etc.
13024  if test "$GXX" = yes; then
13025    lt_prog_compiler_wl_CXX='-Wl,'
13026    lt_prog_compiler_static_CXX='-static'
13027
13028    case $host_os in
13029    aix*)
13030      # All AIX code is PIC.
13031      if test "$host_cpu" = ia64; then
13032	# AIX 5 now supports IA64 processor
13033	lt_prog_compiler_static_CXX='-Bstatic'
13034      fi
13035      ;;
13036    amigaos*)
13037      # FIXME: we need at least 68020 code to build shared libraries, but
13038      # adding the `-m68020' flag to GCC prevents building anything better,
13039      # like `-m68040'.
13040      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13041      ;;
13042    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13043      # PIC is the default for these OSes.
13044      ;;
13045    mingw* | cygwin* | os2* | pw32*)
13046      # This hack is so that the source file can tell whether it is being
13047      # built for inclusion in a dll (and should export symbols for example).
13048      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13049      # (--disable-auto-import) libraries
13050      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13051      ;;
13052    darwin* | rhapsody*)
13053      # PIC is the default on this platform
13054      # Common symbols not allowed in MH_DYLIB files
13055      lt_prog_compiler_pic_CXX='-fno-common'
13056      ;;
13057    *djgpp*)
13058      # DJGPP does not support shared libraries at all
13059      lt_prog_compiler_pic_CXX=
13060      ;;
13061    interix[3-9]*)
13062      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13063      # Instead, we relocate shared libraries at runtime.
13064      ;;
13065    sysv4*MP*)
13066      if test -d /usr/nec; then
13067	lt_prog_compiler_pic_CXX=-Kconform_pic
13068      fi
13069      ;;
13070    hpux*)
13071      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13072      # not for PA HP-UX.
13073      case $host_cpu in
13074      hppa*64*|ia64*)
13075	;;
13076      *)
13077	lt_prog_compiler_pic_CXX='-fPIC'
13078	;;
13079      esac
13080      ;;
13081    *)
13082      lt_prog_compiler_pic_CXX='-fPIC'
13083      ;;
13084    esac
13085  else
13086    case $host_os in
13087      aix4* | aix5*)
13088	# All AIX code is PIC.
13089	if test "$host_cpu" = ia64; then
13090	  # AIX 5 now supports IA64 processor
13091	  lt_prog_compiler_static_CXX='-Bstatic'
13092	else
13093	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13094	fi
13095	;;
13096      chorus*)
13097	case $cc_basename in
13098	cxch68*)
13099	  # Green Hills C++ Compiler
13100	  # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13101	  ;;
13102	esac
13103	;;
13104       darwin*)
13105         # PIC is the default on this platform
13106         # Common symbols not allowed in MH_DYLIB files
13107         case $cc_basename in
13108           xlc*)
13109           lt_prog_compiler_pic_CXX='-qnocommon'
13110           lt_prog_compiler_wl_CXX='-Wl,'
13111           ;;
13112         esac
13113       ;;
13114      dgux*)
13115	case $cc_basename in
13116	  ec++*)
13117	    lt_prog_compiler_pic_CXX='-KPIC'
13118	    ;;
13119	  ghcx*)
13120	    # Green Hills C++ Compiler
13121	    lt_prog_compiler_pic_CXX='-pic'
13122	    ;;
13123	  *)
13124	    ;;
13125	esac
13126	;;
13127      freebsd* | dragonfly*)
13128	# FreeBSD uses GNU C++
13129	;;
13130      hpux9* | hpux10* | hpux11*)
13131	case $cc_basename in
13132	  CC*)
13133	    lt_prog_compiler_wl_CXX='-Wl,'
13134	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13135	    if test "$host_cpu" != ia64; then
13136	      lt_prog_compiler_pic_CXX='+Z'
13137	    fi
13138	    ;;
13139	  aCC*)
13140	    lt_prog_compiler_wl_CXX='-Wl,'
13141	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13142	    case $host_cpu in
13143	    hppa*64*|ia64*)
13144	      # +Z the default
13145	      ;;
13146	    *)
13147	      lt_prog_compiler_pic_CXX='+Z'
13148	      ;;
13149	    esac
13150	    ;;
13151	  *)
13152	    ;;
13153	esac
13154	;;
13155      interix*)
13156	# This is c89, which is MS Visual C++ (no shared libs)
13157	# Anyone wants to do a port?
13158	;;
13159      irix5* | irix6* | nonstopux*)
13160	case $cc_basename in
13161	  CC*)
13162	    lt_prog_compiler_wl_CXX='-Wl,'
13163	    lt_prog_compiler_static_CXX='-non_shared'
13164	    # CC pic flag -KPIC is the default.
13165	    ;;
13166	  *)
13167	    ;;
13168	esac
13169	;;
13170      linux* | k*bsd*-gnu)
13171	case $cc_basename in
13172	  KCC*)
13173	    # KAI C++ Compiler
13174	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13175	    lt_prog_compiler_pic_CXX='-fPIC'
13176	    ;;
13177	  icpc* | ecpc*)
13178	    # Intel C++
13179	    lt_prog_compiler_wl_CXX='-Wl,'
13180	    lt_prog_compiler_pic_CXX='-KPIC'
13181	    lt_prog_compiler_static_CXX='-static'
13182	    ;;
13183	  pgCC*)
13184	    # Portland Group C++ compiler.
13185	    lt_prog_compiler_wl_CXX='-Wl,'
13186	    lt_prog_compiler_pic_CXX='-fpic'
13187	    lt_prog_compiler_static_CXX='-Bstatic'
13188	    ;;
13189	  cxx*)
13190	    # Compaq C++
13191	    # Make sure the PIC flag is empty.  It appears that all Alpha
13192	    # Linux and Compaq Tru64 Unix objects are PIC.
13193	    lt_prog_compiler_pic_CXX=
13194	    lt_prog_compiler_static_CXX='-non_shared'
13195	    ;;
13196	  *)
13197	    case `$CC -V 2>&1 | sed 5q` in
13198	    *Sun\ C*)
13199	      # Sun C++ 5.9
13200	      lt_prog_compiler_pic_CXX='-KPIC'
13201	      lt_prog_compiler_static_CXX='-Bstatic'
13202	      lt_prog_compiler_wl_CXX='-Qoption ld '
13203	      ;;
13204	    esac
13205	    ;;
13206	esac
13207	;;
13208      lynxos*)
13209	;;
13210      m88k*)
13211	;;
13212      mvs*)
13213	case $cc_basename in
13214	  cxx*)
13215	    lt_prog_compiler_pic_CXX='-W c,exportall'
13216	    ;;
13217	  *)
13218	    ;;
13219	esac
13220	;;
13221      netbsd*)
13222	;;
13223      osf3* | osf4* | osf5*)
13224	case $cc_basename in
13225	  KCC*)
13226	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13227	    ;;
13228	  RCC*)
13229	    # Rational C++ 2.4.1
13230	    lt_prog_compiler_pic_CXX='-pic'
13231	    ;;
13232	  cxx*)
13233	    # Digital/Compaq C++
13234	    lt_prog_compiler_wl_CXX='-Wl,'
13235	    # Make sure the PIC flag is empty.  It appears that all Alpha
13236	    # Linux and Compaq Tru64 Unix objects are PIC.
13237	    lt_prog_compiler_pic_CXX=
13238	    lt_prog_compiler_static_CXX='-non_shared'
13239	    ;;
13240	  *)
13241	    ;;
13242	esac
13243	;;
13244      psos*)
13245	;;
13246      solaris*)
13247	case $cc_basename in
13248	  CC*)
13249	    # Sun C++ 4.2, 5.x and Centerline C++
13250	    lt_prog_compiler_pic_CXX='-KPIC'
13251	    lt_prog_compiler_static_CXX='-Bstatic'
13252	    lt_prog_compiler_wl_CXX='-Qoption ld '
13253	    ;;
13254	  gcx*)
13255	    # Green Hills C++ Compiler
13256	    lt_prog_compiler_pic_CXX='-PIC'
13257	    ;;
13258	  *)
13259	    ;;
13260	esac
13261	;;
13262      sunos4*)
13263	case $cc_basename in
13264	  CC*)
13265	    # Sun C++ 4.x
13266	    lt_prog_compiler_pic_CXX='-pic'
13267	    lt_prog_compiler_static_CXX='-Bstatic'
13268	    ;;
13269	  lcc*)
13270	    # Lucid
13271	    lt_prog_compiler_pic_CXX='-pic'
13272	    ;;
13273	  *)
13274	    ;;
13275	esac
13276	;;
13277      tandem*)
13278	case $cc_basename in
13279	  NCC*)
13280	    # NonStop-UX NCC 3.20
13281	    lt_prog_compiler_pic_CXX='-KPIC'
13282	    ;;
13283	  *)
13284	    ;;
13285	esac
13286	;;
13287      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13288	case $cc_basename in
13289	  CC*)
13290	    lt_prog_compiler_wl_CXX='-Wl,'
13291	    lt_prog_compiler_pic_CXX='-KPIC'
13292	    lt_prog_compiler_static_CXX='-Bstatic'
13293	    ;;
13294	esac
13295	;;
13296      vxworks*)
13297	;;
13298      *)
13299	lt_prog_compiler_can_build_shared_CXX=no
13300	;;
13301    esac
13302  fi
13303
13304{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13305echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13306
13307#
13308# Check to make sure the PIC flag actually works.
13309#
13310if test -n "$lt_prog_compiler_pic_CXX"; then
13311
13312{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13313echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13314if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13315  echo $ECHO_N "(cached) $ECHO_C" >&6
13316else
13317  lt_prog_compiler_pic_works_CXX=no
13318  ac_outfile=conftest.$ac_objext
13319   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13320   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13321   # Insert the option either (1) after the last *FLAGS variable, or
13322   # (2) before a word containing "conftest.", or (3) at the end.
13323   # Note that $ac_compile itself does not contain backslashes and begins
13324   # with a dollar sign (not a hyphen), so the echo should work correctly.
13325   # The option is referenced via a variable to avoid confusing sed.
13326   lt_compile=`echo "$ac_compile" | $SED \
13327   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13328   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13329   -e 's:$: $lt_compiler_flag:'`
13330   (eval echo "\"\$as_me:13330: $lt_compile\"" >&5)
13331   (eval "$lt_compile" 2>conftest.err)
13332   ac_status=$?
13333   cat conftest.err >&5
13334   echo "$as_me:13334: \$? = $ac_status" >&5
13335   if (exit $ac_status) && test -s "$ac_outfile"; then
13336     # The compiler can only warn and ignore the option if not recognized
13337     # So say no if there are warnings other than the usual output.
13338     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13339     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13340     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13341       lt_prog_compiler_pic_works_CXX=yes
13342     fi
13343   fi
13344   $rm conftest*
13345
13346fi
13347{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13348echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13349
13350if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13351    case $lt_prog_compiler_pic_CXX in
13352     "" | " "*) ;;
13353     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13354     esac
13355else
13356    lt_prog_compiler_pic_CXX=
13357     lt_prog_compiler_can_build_shared_CXX=no
13358fi
13359
13360fi
13361case $host_os in
13362  # For platforms which do not support PIC, -DPIC is meaningless:
13363  *djgpp*)
13364    lt_prog_compiler_pic_CXX=
13365    ;;
13366  *)
13367    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13368    ;;
13369esac
13370
13371#
13372# Check to make sure the static flag actually works.
13373#
13374wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13375{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13376echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13377if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13378  echo $ECHO_N "(cached) $ECHO_C" >&6
13379else
13380  lt_prog_compiler_static_works_CXX=no
13381   save_LDFLAGS="$LDFLAGS"
13382   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13383   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13384   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13385     # The linker can only warn and ignore the option if not recognized
13386     # So say no if there are warnings
13387     if test -s conftest.err; then
13388       # Append any errors to the config.log.
13389       cat conftest.err 1>&5
13390       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13391       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13392       if diff conftest.exp conftest.er2 >/dev/null; then
13393         lt_prog_compiler_static_works_CXX=yes
13394       fi
13395     else
13396       lt_prog_compiler_static_works_CXX=yes
13397     fi
13398   fi
13399   $rm conftest*
13400   LDFLAGS="$save_LDFLAGS"
13401
13402fi
13403{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13404echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
13405
13406if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
13407    :
13408else
13409    lt_prog_compiler_static_CXX=
13410fi
13411
13412
13413{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13414echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13415if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13416  echo $ECHO_N "(cached) $ECHO_C" >&6
13417else
13418  lt_cv_prog_compiler_c_o_CXX=no
13419   $rm -r conftest 2>/dev/null
13420   mkdir conftest
13421   cd conftest
13422   mkdir out
13423   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13424
13425   lt_compiler_flag="-o out/conftest2.$ac_objext"
13426   # Insert the option either (1) after the last *FLAGS variable, or
13427   # (2) before a word containing "conftest.", or (3) at the end.
13428   # Note that $ac_compile itself does not contain backslashes and begins
13429   # with a dollar sign (not a hyphen), so the echo should work correctly.
13430   lt_compile=`echo "$ac_compile" | $SED \
13431   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13432   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13433   -e 's:$: $lt_compiler_flag:'`
13434   (eval echo "\"\$as_me:13434: $lt_compile\"" >&5)
13435   (eval "$lt_compile" 2>out/conftest.err)
13436   ac_status=$?
13437   cat out/conftest.err >&5
13438   echo "$as_me:13438: \$? = $ac_status" >&5
13439   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13440   then
13441     # The compiler can only warn and ignore the option if not recognized
13442     # So say no if there are warnings
13443     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13444     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13445     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13446       lt_cv_prog_compiler_c_o_CXX=yes
13447     fi
13448   fi
13449   chmod u+w . 2>&5
13450   $rm conftest*
13451   # SGI C++ compiler will create directory out/ii_files/ for
13452   # template instantiation
13453   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13454   $rm out/* && rmdir out
13455   cd ..
13456   rmdir conftest
13457   $rm conftest*
13458
13459fi
13460{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13461echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13462
13463
13464hard_links="nottested"
13465if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13466  # do not overwrite the value of need_locks provided by the user
13467  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13468echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13469  hard_links=yes
13470  $rm conftest*
13471  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13472  touch conftest.a
13473  ln conftest.a conftest.b 2>&5 || hard_links=no
13474  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13475  { echo "$as_me:$LINENO: result: $hard_links" >&5
13476echo "${ECHO_T}$hard_links" >&6; }
13477  if test "$hard_links" = no; then
13478    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13479echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13480    need_locks=warn
13481  fi
13482else
13483  need_locks=no
13484fi
13485
13486{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13487echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13488
13489  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13490  case $host_os in
13491  aix4* | aix5*)
13492    # If we're using GNU nm, then we don't want the "-C" option.
13493    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13494    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13495      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13496    else
13497      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13498    fi
13499    ;;
13500  pw32*)
13501    export_symbols_cmds_CXX="$ltdll_cmds"
13502  ;;
13503  cygwin* | mingw*)
13504    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13505  ;;
13506  *)
13507    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13508  ;;
13509  esac
13510
13511{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13512echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13513test "$ld_shlibs_CXX" = no && can_build_shared=no
13514
13515#
13516# Do we need to explicitly link libc?
13517#
13518case "x$archive_cmds_need_lc_CXX" in
13519x|xyes)
13520  # Assume -lc should be added
13521  archive_cmds_need_lc_CXX=yes
13522
13523  if test "$enable_shared" = yes && test "$GCC" = yes; then
13524    case $archive_cmds_CXX in
13525    *'~'*)
13526      # FIXME: we may have to deal with multi-command sequences.
13527      ;;
13528    '$CC '*)
13529      # Test whether the compiler implicitly links with -lc since on some
13530      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13531      # to ld, don't add -lc before -lgcc.
13532      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13533echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13534      $rm conftest*
13535      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13536
13537      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13538  (eval $ac_compile) 2>&5
13539  ac_status=$?
13540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541  (exit $ac_status); } 2>conftest.err; then
13542        soname=conftest
13543        lib=conftest
13544        libobjs=conftest.$ac_objext
13545        deplibs=
13546        wl=$lt_prog_compiler_wl_CXX
13547	pic_flag=$lt_prog_compiler_pic_CXX
13548        compiler_flags=-v
13549        linker_flags=-v
13550        verstring=
13551        output_objdir=.
13552        libname=conftest
13553        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13554        allow_undefined_flag_CXX=
13555        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13556  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13557  ac_status=$?
13558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559  (exit $ac_status); }
13560        then
13561	  archive_cmds_need_lc_CXX=no
13562        else
13563	  archive_cmds_need_lc_CXX=yes
13564        fi
13565        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13566      else
13567        cat conftest.err 1>&5
13568      fi
13569      $rm conftest*
13570      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13571echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13572      ;;
13573    esac
13574  fi
13575  ;;
13576esac
13577
13578{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13579echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13580library_names_spec=
13581libname_spec='lib$name'
13582soname_spec=
13583shrext_cmds=".so"
13584postinstall_cmds=
13585postuninstall_cmds=
13586finish_cmds=
13587finish_eval=
13588shlibpath_var=
13589shlibpath_overrides_runpath=unknown
13590version_type=none
13591dynamic_linker="$host_os ld.so"
13592sys_lib_dlsearch_path_spec="/lib /usr/lib"
13593
13594need_lib_prefix=unknown
13595hardcode_into_libs=no
13596
13597# when you set need_version to no, make sure it does not cause -set_version
13598# flags to be left without arguments
13599need_version=unknown
13600
13601case $host_os in
13602aix3*)
13603  version_type=linux
13604  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13605  shlibpath_var=LIBPATH
13606
13607  # AIX 3 has no versioning support, so we append a major version to the name.
13608  soname_spec='${libname}${release}${shared_ext}$major'
13609  ;;
13610
13611aix4* | aix5*)
13612  version_type=linux
13613  need_lib_prefix=no
13614  need_version=no
13615  hardcode_into_libs=yes
13616  if test "$host_cpu" = ia64; then
13617    # AIX 5 supports IA64
13618    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13619    shlibpath_var=LD_LIBRARY_PATH
13620  else
13621    # With GCC up to 2.95.x, collect2 would create an import file
13622    # for dependence libraries.  The import file would start with
13623    # the line `#! .'.  This would cause the generated library to
13624    # depend on `.', always an invalid library.  This was fixed in
13625    # development snapshots of GCC prior to 3.0.
13626    case $host_os in
13627      aix4 | aix4.[01] | aix4.[01].*)
13628      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13629	   echo ' yes '
13630	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13631	:
13632      else
13633	can_build_shared=no
13634      fi
13635      ;;
13636    esac
13637    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13638    # soname into executable. Probably we can add versioning support to
13639    # collect2, so additional links can be useful in future.
13640    if test "$aix_use_runtimelinking" = yes; then
13641      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13642      # instead of lib<name>.a to let people know that these are not
13643      # typical AIX shared libraries.
13644      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13645    else
13646      # We preserve .a as extension for shared libraries through AIX4.2
13647      # and later when we are not doing run time linking.
13648      library_names_spec='${libname}${release}.a $libname.a'
13649      soname_spec='${libname}${release}${shared_ext}$major'
13650    fi
13651    shlibpath_var=LIBPATH
13652  fi
13653  ;;
13654
13655amigaos*)
13656  library_names_spec='$libname.ixlibrary $libname.a'
13657  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13658  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
13659  ;;
13660
13661beos*)
13662  library_names_spec='${libname}${shared_ext}'
13663  dynamic_linker="$host_os ld.so"
13664  shlibpath_var=LIBRARY_PATH
13665  ;;
13666
13667bsdi[45]*)
13668  version_type=linux
13669  need_version=no
13670  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13671  soname_spec='${libname}${release}${shared_ext}$major'
13672  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13673  shlibpath_var=LD_LIBRARY_PATH
13674  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13675  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13676  # the default ld.so.conf also contains /usr/contrib/lib and
13677  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13678  # libtool to hard-code these into programs
13679  ;;
13680
13681cygwin* | mingw* | pw32*)
13682  version_type=windows
13683  shrext_cmds=".dll"
13684  need_version=no
13685  need_lib_prefix=no
13686
13687  case $GCC,$host_os in
13688  yes,cygwin* | yes,mingw* | yes,pw32*)
13689    library_names_spec='$libname.dll.a'
13690    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13691    postinstall_cmds='base_file=`basename \${file}`~
13692      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13693      dldir=$destdir/`dirname \$dlpath`~
13694      test -d \$dldir || mkdir -p \$dldir~
13695      $install_prog $dir/$dlname \$dldir/$dlname~
13696      chmod a+x \$dldir/$dlname'
13697    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13698      dlpath=$dir/\$dldll~
13699       $rm \$dlpath'
13700    shlibpath_overrides_runpath=yes
13701
13702    case $host_os in
13703    cygwin*)
13704      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13705      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13706      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13707      ;;
13708    mingw*)
13709      # MinGW DLLs use traditional 'lib' prefix
13710      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13711      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13712      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13713        # It is most probably a Windows format PATH printed by
13714        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13715        # path with ; separators, and with drive letters. We can handle the
13716        # drive letters (cygwin fileutils understands them), so leave them,
13717        # especially as we might pass files found there to a mingw objdump,
13718        # which wouldn't understand a cygwinified path. Ahh.
13719        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13720      else
13721        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13722      fi
13723      ;;
13724    pw32*)
13725      # pw32 DLLs use 'pw' prefix rather than 'lib'
13726      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13727      ;;
13728    esac
13729    ;;
13730
13731  *)
13732    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13733    ;;
13734  esac
13735  dynamic_linker='Win32 ld.exe'
13736  # FIXME: first we should search . and the directory the executable is in
13737  shlibpath_var=PATH
13738  ;;
13739
13740darwin* | rhapsody*)
13741  dynamic_linker="$host_os dyld"
13742  version_type=darwin
13743  need_lib_prefix=no
13744  need_version=no
13745  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13746  soname_spec='${libname}${release}${major}$shared_ext'
13747  shlibpath_overrides_runpath=yes
13748  shlibpath_var=DYLD_LIBRARY_PATH
13749  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13750
13751  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13752  ;;
13753
13754dgux*)
13755  version_type=linux
13756  need_lib_prefix=no
13757  need_version=no
13758  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13759  soname_spec='${libname}${release}${shared_ext}$major'
13760  shlibpath_var=LD_LIBRARY_PATH
13761  ;;
13762
13763freebsd1*)
13764  dynamic_linker=no
13765  ;;
13766
13767freebsd* | dragonfly*)
13768  # DragonFly does not have aout.  When/if they implement a new
13769  # versioning mechanism, adjust this.
13770  if test -x /usr/bin/objformat; then
13771    objformat=`/usr/bin/objformat`
13772  else
13773    case $host_os in
13774    freebsd[123]*) objformat=aout ;;
13775    *) objformat=elf ;;
13776    esac
13777  fi
13778  version_type=freebsd-$objformat
13779  case $version_type in
13780    freebsd-elf*)
13781      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13782      need_version=no
13783      need_lib_prefix=no
13784      ;;
13785    freebsd-*)
13786      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13787      need_version=yes
13788      ;;
13789  esac
13790  shlibpath_var=LD_LIBRARY_PATH
13791  case $host_os in
13792  freebsd2*)
13793    shlibpath_overrides_runpath=yes
13794    ;;
13795  freebsd3.[01]* | freebsdelf3.[01]*)
13796    shlibpath_overrides_runpath=yes
13797    hardcode_into_libs=yes
13798    ;;
13799  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13800  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13801    shlibpath_overrides_runpath=no
13802    hardcode_into_libs=yes
13803    ;;
13804  *) # from 4.6 on, and DragonFly
13805    shlibpath_overrides_runpath=yes
13806    hardcode_into_libs=yes
13807    ;;
13808  esac
13809  ;;
13810
13811gnu*)
13812  version_type=linux
13813  need_lib_prefix=no
13814  need_version=no
13815  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13816  soname_spec='${libname}${release}${shared_ext}$major'
13817  shlibpath_var=LD_LIBRARY_PATH
13818  hardcode_into_libs=yes
13819  ;;
13820
13821hpux9* | hpux10* | hpux11*)
13822  # Give a soname corresponding to the major version so that dld.sl refuses to
13823  # link against other versions.
13824  version_type=sunos
13825  need_lib_prefix=no
13826  need_version=no
13827  case $host_cpu in
13828  ia64*)
13829    shrext_cmds='.so'
13830    hardcode_into_libs=yes
13831    dynamic_linker="$host_os dld.so"
13832    shlibpath_var=LD_LIBRARY_PATH
13833    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13834    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13835    soname_spec='${libname}${release}${shared_ext}$major'
13836    if test "X$HPUX_IA64_MODE" = X32; then
13837      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13838    else
13839      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13840    fi
13841    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13842    ;;
13843   hppa*64*)
13844     shrext_cmds='.sl'
13845     hardcode_into_libs=yes
13846     dynamic_linker="$host_os dld.sl"
13847     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13848     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13849     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13850     soname_spec='${libname}${release}${shared_ext}$major'
13851     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13852     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13853     ;;
13854   *)
13855    shrext_cmds='.sl'
13856    dynamic_linker="$host_os dld.sl"
13857    shlibpath_var=SHLIB_PATH
13858    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13859    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13860    soname_spec='${libname}${release}${shared_ext}$major'
13861    ;;
13862  esac
13863  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13864  postinstall_cmds='chmod 555 $lib'
13865  ;;
13866
13867interix[3-9]*)
13868  version_type=linux
13869  need_lib_prefix=no
13870  need_version=no
13871  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13872  soname_spec='${libname}${release}${shared_ext}$major'
13873  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13874  shlibpath_var=LD_LIBRARY_PATH
13875  shlibpath_overrides_runpath=no
13876  hardcode_into_libs=yes
13877  ;;
13878
13879irix5* | irix6* | nonstopux*)
13880  case $host_os in
13881    nonstopux*) version_type=nonstopux ;;
13882    *)
13883	if test "$lt_cv_prog_gnu_ld" = yes; then
13884		version_type=linux
13885	else
13886		version_type=irix
13887	fi ;;
13888  esac
13889  need_lib_prefix=no
13890  need_version=no
13891  soname_spec='${libname}${release}${shared_ext}$major'
13892  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13893  case $host_os in
13894  irix5* | nonstopux*)
13895    libsuff= shlibsuff=
13896    ;;
13897  *)
13898    case $LD in # libtool.m4 will add one of these switches to LD
13899    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13900      libsuff= shlibsuff= libmagic=32-bit;;
13901    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13902      libsuff=32 shlibsuff=N32 libmagic=N32;;
13903    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13904      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13905    *) libsuff= shlibsuff= libmagic=never-match;;
13906    esac
13907    ;;
13908  esac
13909  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13910  shlibpath_overrides_runpath=no
13911  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13912  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13913  hardcode_into_libs=yes
13914  ;;
13915
13916# No shared lib support for Linux oldld, aout, or coff.
13917linux*oldld* | linux*aout* | linux*coff*)
13918  dynamic_linker=no
13919  ;;
13920
13921# This must be Linux ELF.
13922linux* | k*bsd*-gnu)
13923  version_type=linux
13924  need_lib_prefix=no
13925  need_version=no
13926  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13927  soname_spec='${libname}${release}${shared_ext}$major'
13928  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13929  shlibpath_var=LD_LIBRARY_PATH
13930  shlibpath_overrides_runpath=no
13931  # This implies no fast_install, which is unacceptable.
13932  # Some rework will be needed to allow for fast_install
13933  # before this can be enabled.
13934  hardcode_into_libs=yes
13935  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13936  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13937
13938  # Append ld.so.conf contents to the search path
13939  if test -f /etc/ld.so.conf; then
13940    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;/^$/d' | tr '\n' ' '`
13941    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13942  fi
13943
13944  # We used to test for /lib/ld.so.1 and disable shared libraries on
13945  # powerpc, because MkLinux only supported shared libraries with the
13946  # GNU dynamic linker.  Since this was broken with cross compilers,
13947  # most powerpc-linux boxes support dynamic linking these days and
13948  # people can always --disable-shared, the test was removed, and we
13949  # assume the GNU/Linux dynamic linker is in use.
13950  dynamic_linker='GNU/Linux ld.so'
13951  ;;
13952
13953netbsd*)
13954  version_type=sunos
13955  need_lib_prefix=no
13956  need_version=no
13957  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13958    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13959    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13960    dynamic_linker='NetBSD (a.out) ld.so'
13961  else
13962    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13963    soname_spec='${libname}${release}${shared_ext}$major'
13964    dynamic_linker='NetBSD ld.elf_so'
13965  fi
13966  shlibpath_var=LD_LIBRARY_PATH
13967  shlibpath_overrides_runpath=yes
13968  hardcode_into_libs=yes
13969  ;;
13970
13971newsos6)
13972  version_type=linux
13973  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13974  shlibpath_var=LD_LIBRARY_PATH
13975  shlibpath_overrides_runpath=yes
13976  ;;
13977
13978nto-qnx*)
13979  version_type=linux
13980  need_lib_prefix=no
13981  need_version=no
13982  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13983  soname_spec='${libname}${release}${shared_ext}$major'
13984  shlibpath_var=LD_LIBRARY_PATH
13985  shlibpath_overrides_runpath=yes
13986  ;;
13987
13988openbsd*)
13989  version_type=sunos
13990  sys_lib_dlsearch_path_spec="/usr/lib"
13991  need_lib_prefix=no
13992  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13993  case $host_os in
13994    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13995    *)                         need_version=no  ;;
13996  esac
13997  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13998  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13999  shlibpath_var=LD_LIBRARY_PATH
14000  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14001    case $host_os in
14002      openbsd2.[89] | openbsd2.[89].*)
14003	shlibpath_overrides_runpath=no
14004	;;
14005      *)
14006	shlibpath_overrides_runpath=yes
14007	;;
14008      esac
14009  else
14010    shlibpath_overrides_runpath=yes
14011  fi
14012  ;;
14013
14014os2*)
14015  libname_spec='$name'
14016  shrext_cmds=".dll"
14017  need_lib_prefix=no
14018  library_names_spec='$libname${shared_ext} $libname.a'
14019  dynamic_linker='OS/2 ld.exe'
14020  shlibpath_var=LIBPATH
14021  ;;
14022
14023osf3* | osf4* | osf5*)
14024  version_type=osf
14025  need_lib_prefix=no
14026  need_version=no
14027  soname_spec='${libname}${release}${shared_ext}$major'
14028  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14029  shlibpath_var=LD_LIBRARY_PATH
14030  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14031  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14032  ;;
14033
14034rdos*)
14035  dynamic_linker=no
14036  ;;
14037
14038solaris*)
14039  version_type=linux
14040  need_lib_prefix=no
14041  need_version=no
14042  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14043  soname_spec='${libname}${release}${shared_ext}$major'
14044  shlibpath_var=LD_LIBRARY_PATH
14045  shlibpath_overrides_runpath=yes
14046  hardcode_into_libs=yes
14047  # ldd complains unless libraries are executable
14048  postinstall_cmds='chmod +x $lib'
14049  ;;
14050
14051sunos4*)
14052  version_type=sunos
14053  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14054  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14055  shlibpath_var=LD_LIBRARY_PATH
14056  shlibpath_overrides_runpath=yes
14057  if test "$with_gnu_ld" = yes; then
14058    need_lib_prefix=no
14059  fi
14060  need_version=yes
14061  ;;
14062
14063sysv4 | sysv4.3*)
14064  version_type=linux
14065  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14066  soname_spec='${libname}${release}${shared_ext}$major'
14067  shlibpath_var=LD_LIBRARY_PATH
14068  case $host_vendor in
14069    sni)
14070      shlibpath_overrides_runpath=no
14071      need_lib_prefix=no
14072      export_dynamic_flag_spec='${wl}-Blargedynsym'
14073      runpath_var=LD_RUN_PATH
14074      ;;
14075    siemens)
14076      need_lib_prefix=no
14077      ;;
14078    motorola)
14079      need_lib_prefix=no
14080      need_version=no
14081      shlibpath_overrides_runpath=no
14082      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14083      ;;
14084  esac
14085  ;;
14086
14087sysv4*MP*)
14088  if test -d /usr/nec ;then
14089    version_type=linux
14090    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14091    soname_spec='$libname${shared_ext}.$major'
14092    shlibpath_var=LD_LIBRARY_PATH
14093  fi
14094  ;;
14095
14096sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14097  version_type=freebsd-elf
14098  need_lib_prefix=no
14099  need_version=no
14100  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14101  soname_spec='${libname}${release}${shared_ext}$major'
14102  shlibpath_var=LD_LIBRARY_PATH
14103  hardcode_into_libs=yes
14104  if test "$with_gnu_ld" = yes; then
14105    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14106    shlibpath_overrides_runpath=no
14107  else
14108    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14109    shlibpath_overrides_runpath=yes
14110    case $host_os in
14111      sco3.2v5*)
14112        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14113	;;
14114    esac
14115  fi
14116  sys_lib_dlsearch_path_spec='/usr/lib'
14117  ;;
14118
14119uts4*)
14120  version_type=linux
14121  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14122  soname_spec='${libname}${release}${shared_ext}$major'
14123  shlibpath_var=LD_LIBRARY_PATH
14124  ;;
14125
14126*)
14127  dynamic_linker=no
14128  ;;
14129esac
14130{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14131echo "${ECHO_T}$dynamic_linker" >&6; }
14132test "$dynamic_linker" = no && can_build_shared=no
14133
14134variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14135if test "$GCC" = yes; then
14136  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14137fi
14138
14139{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14140echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14141hardcode_action_CXX=
14142if test -n "$hardcode_libdir_flag_spec_CXX" || \
14143   test -n "$runpath_var_CXX" || \
14144   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14145
14146  # We can hardcode non-existant directories.
14147  if test "$hardcode_direct_CXX" != no &&
14148     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14149     # have to relink, otherwise we might link with an installed library
14150     # when we should be linking with a yet-to-be-installed one
14151     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14152     test "$hardcode_minus_L_CXX" != no; then
14153    # Linking always hardcodes the temporary library directory.
14154    hardcode_action_CXX=relink
14155  else
14156    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14157    hardcode_action_CXX=immediate
14158  fi
14159else
14160  # We cannot hardcode anything, or else we can only hardcode existing
14161  # directories.
14162  hardcode_action_CXX=unsupported
14163fi
14164{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14165echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14166
14167if test "$hardcode_action_CXX" = relink; then
14168  # Fast installation is not supported
14169  enable_fast_install=no
14170elif test "$shlibpath_overrides_runpath" = yes ||
14171     test "$enable_shared" = no; then
14172  # Fast installation is not necessary
14173  enable_fast_install=needless
14174fi
14175
14176
14177# The else clause should only fire when bootstrapping the
14178# libtool distribution, otherwise you forgot to ship ltmain.sh
14179# with your package, and you will get complaints that there are
14180# no rules to generate ltmain.sh.
14181if test -f "$ltmain"; then
14182  # See if we are running on zsh, and set the options which allow our commands through
14183  # without removal of \ escapes.
14184  if test -n "${ZSH_VERSION+set}" ; then
14185    setopt NO_GLOB_SUBST
14186  fi
14187  # Now quote all the things that may contain metacharacters while being
14188  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14189  # variables and quote the copies for generation of the libtool script.
14190  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14191    SED SHELL STRIP \
14192    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14193    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14194    deplibs_check_method reload_flag reload_cmds need_locks \
14195    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14196    lt_cv_sys_global_symbol_to_c_name_address \
14197    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14198    old_postinstall_cmds old_postuninstall_cmds \
14199    compiler_CXX \
14200    CC_CXX \
14201    LD_CXX \
14202    lt_prog_compiler_wl_CXX \
14203    lt_prog_compiler_pic_CXX \
14204    lt_prog_compiler_static_CXX \
14205    lt_prog_compiler_no_builtin_flag_CXX \
14206    export_dynamic_flag_spec_CXX \
14207    thread_safe_flag_spec_CXX \
14208    whole_archive_flag_spec_CXX \
14209    enable_shared_with_static_runtimes_CXX \
14210    old_archive_cmds_CXX \
14211    old_archive_from_new_cmds_CXX \
14212    predep_objects_CXX \
14213    postdep_objects_CXX \
14214    predeps_CXX \
14215    postdeps_CXX \
14216    compiler_lib_search_path_CXX \
14217    archive_cmds_CXX \
14218    archive_expsym_cmds_CXX \
14219    postinstall_cmds_CXX \
14220    postuninstall_cmds_CXX \
14221    old_archive_from_expsyms_cmds_CXX \
14222    allow_undefined_flag_CXX \
14223    no_undefined_flag_CXX \
14224    export_symbols_cmds_CXX \
14225    hardcode_libdir_flag_spec_CXX \
14226    hardcode_libdir_flag_spec_ld_CXX \
14227    hardcode_libdir_separator_CXX \
14228    hardcode_automatic_CXX \
14229    module_cmds_CXX \
14230    module_expsym_cmds_CXX \
14231    lt_cv_prog_compiler_c_o_CXX \
14232    fix_srcfile_path_CXX \
14233    exclude_expsyms_CXX \
14234    include_expsyms_CXX; do
14235
14236    case $var in
14237    old_archive_cmds_CXX | \
14238    old_archive_from_new_cmds_CXX | \
14239    archive_cmds_CXX | \
14240    archive_expsym_cmds_CXX | \
14241    module_cmds_CXX | \
14242    module_expsym_cmds_CXX | \
14243    old_archive_from_expsyms_cmds_CXX | \
14244    export_symbols_cmds_CXX | \
14245    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14246    postinstall_cmds | postuninstall_cmds | \
14247    old_postinstall_cmds | old_postuninstall_cmds | \
14248    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14249      # Double-quote double-evaled strings.
14250      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14251      ;;
14252    *)
14253      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14254      ;;
14255    esac
14256  done
14257
14258  case $lt_echo in
14259  *'\$0 --fallback-echo"')
14260    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14261    ;;
14262  esac
14263
14264cfgfile="$ofile"
14265
14266  cat <<__EOF__ >> "$cfgfile"
14267# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14268
14269# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14270
14271# Shell to use when invoking shell scripts.
14272SHELL=$lt_SHELL
14273
14274# Whether or not to build shared libraries.
14275build_libtool_libs=$enable_shared
14276
14277# Whether or not to build static libraries.
14278build_old_libs=$enable_static
14279
14280# Whether or not to add -lc for building shared libraries.
14281build_libtool_need_lc=$archive_cmds_need_lc_CXX
14282
14283# Whether or not to disallow shared libs when runtime libs are static
14284allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14285
14286# Whether or not to optimize for fast installation.
14287fast_install=$enable_fast_install
14288
14289# The host system.
14290host_alias=$host_alias
14291host=$host
14292host_os=$host_os
14293
14294# The build system.
14295build_alias=$build_alias
14296build=$build
14297build_os=$build_os
14298
14299# An echo program that does not interpret backslashes.
14300echo=$lt_echo
14301
14302# The archiver.
14303AR=$lt_AR
14304AR_FLAGS=$lt_AR_FLAGS
14305
14306# A C compiler.
14307LTCC=$lt_LTCC
14308
14309# LTCC compiler flags.
14310LTCFLAGS=$lt_LTCFLAGS
14311
14312# A language-specific compiler.
14313CC=$lt_compiler_CXX
14314
14315# Is the compiler the GNU C compiler?
14316with_gcc=$GCC_CXX
14317
14318# An ERE matcher.
14319EGREP=$lt_EGREP
14320
14321# The linker used to build libraries.
14322LD=$lt_LD_CXX
14323
14324# Whether we need hard or soft links.
14325LN_S=$lt_LN_S
14326
14327# A BSD-compatible nm program.
14328NM=$lt_NM
14329
14330# A symbol stripping program
14331STRIP=$lt_STRIP
14332
14333# Used to examine libraries when file_magic_cmd begins "file"
14334MAGIC_CMD=$MAGIC_CMD
14335
14336# Used on cygwin: DLL creation program.
14337DLLTOOL="$DLLTOOL"
14338
14339# Used on cygwin: object dumper.
14340OBJDUMP="$OBJDUMP"
14341
14342# Used on cygwin: assembler.
14343AS="$AS"
14344
14345# The name of the directory that contains temporary libtool files.
14346objdir=$objdir
14347
14348# How to create reloadable object files.
14349reload_flag=$lt_reload_flag
14350reload_cmds=$lt_reload_cmds
14351
14352# How to pass a linker flag through the compiler.
14353wl=$lt_lt_prog_compiler_wl_CXX
14354
14355# Object file suffix (normally "o").
14356objext="$ac_objext"
14357
14358# Old archive suffix (normally "a").
14359libext="$libext"
14360
14361# Shared library suffix (normally ".so").
14362shrext_cmds='$shrext_cmds'
14363
14364# Executable file suffix (normally "").
14365exeext="$exeext"
14366
14367# Additional compiler flags for building library objects.
14368pic_flag=$lt_lt_prog_compiler_pic_CXX
14369pic_mode=$pic_mode
14370
14371# What is the maximum length of a command?
14372max_cmd_len=$lt_cv_sys_max_cmd_len
14373
14374# Does compiler simultaneously support -c and -o options?
14375compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14376
14377# Must we lock files when doing compilation?
14378need_locks=$lt_need_locks
14379
14380# Do we need the lib prefix for modules?
14381need_lib_prefix=$need_lib_prefix
14382
14383# Do we need a version for libraries?
14384need_version=$need_version
14385
14386# Whether dlopen is supported.
14387dlopen_support=$enable_dlopen
14388
14389# Whether dlopen of programs is supported.
14390dlopen_self=$enable_dlopen_self
14391
14392# Whether dlopen of statically linked programs is supported.
14393dlopen_self_static=$enable_dlopen_self_static
14394
14395# Compiler flag to prevent dynamic linking.
14396link_static_flag=$lt_lt_prog_compiler_static_CXX
14397
14398# Compiler flag to turn off builtin functions.
14399no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14400
14401# Compiler flag to allow reflexive dlopens.
14402export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14403
14404# Compiler flag to generate shared objects directly from archives.
14405whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14406
14407# Compiler flag to generate thread-safe objects.
14408thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14409
14410# Library versioning type.
14411version_type=$version_type
14412
14413# Format of library name prefix.
14414libname_spec=$lt_libname_spec
14415
14416# List of archive names.  First name is the real one, the rest are links.
14417# The last name is the one that the linker finds with -lNAME.
14418library_names_spec=$lt_library_names_spec
14419
14420# The coded name of the library, if different from the real name.
14421soname_spec=$lt_soname_spec
14422
14423# Commands used to build and install an old-style archive.
14424RANLIB=$lt_RANLIB
14425old_archive_cmds=$lt_old_archive_cmds_CXX
14426old_postinstall_cmds=$lt_old_postinstall_cmds
14427old_postuninstall_cmds=$lt_old_postuninstall_cmds
14428
14429# Create an old-style archive from a shared archive.
14430old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14431
14432# Create a temporary old-style archive to link instead of a shared archive.
14433old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14434
14435# Commands used to build and install a shared archive.
14436archive_cmds=$lt_archive_cmds_CXX
14437archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14438postinstall_cmds=$lt_postinstall_cmds
14439postuninstall_cmds=$lt_postuninstall_cmds
14440
14441# Commands used to build a loadable module (assumed same as above if empty)
14442module_cmds=$lt_module_cmds_CXX
14443module_expsym_cmds=$lt_module_expsym_cmds_CXX
14444
14445# Commands to strip libraries.
14446old_striplib=$lt_old_striplib
14447striplib=$lt_striplib
14448
14449# Dependencies to place before the objects being linked to create a
14450# shared library.
14451predep_objects=$lt_predep_objects_CXX
14452
14453# Dependencies to place after the objects being linked to create a
14454# shared library.
14455postdep_objects=$lt_postdep_objects_CXX
14456
14457# Dependencies to place before the objects being linked to create a
14458# shared library.
14459predeps=$lt_predeps_CXX
14460
14461# Dependencies to place after the objects being linked to create a
14462# shared library.
14463postdeps=$lt_postdeps_CXX
14464
14465# The library search path used internally by the compiler when linking
14466# a shared library.
14467compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14468
14469# Method to check whether dependent libraries are shared objects.
14470deplibs_check_method=$lt_deplibs_check_method
14471
14472# Command to use when deplibs_check_method == file_magic.
14473file_magic_cmd=$lt_file_magic_cmd
14474
14475# Flag that allows shared libraries with undefined symbols to be built.
14476allow_undefined_flag=$lt_allow_undefined_flag_CXX
14477
14478# Flag that forces no undefined symbols.
14479no_undefined_flag=$lt_no_undefined_flag_CXX
14480
14481# Commands used to finish a libtool library installation in a directory.
14482finish_cmds=$lt_finish_cmds
14483
14484# Same as above, but a single script fragment to be evaled but not shown.
14485finish_eval=$lt_finish_eval
14486
14487# Take the output of nm and produce a listing of raw symbols and C names.
14488global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14489
14490# Transform the output of nm in a proper C declaration
14491global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14492
14493# Transform the output of nm in a C name address pair
14494global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14495
14496# This is the shared library runtime path variable.
14497runpath_var=$runpath_var
14498
14499# This is the shared library path variable.
14500shlibpath_var=$shlibpath_var
14501
14502# Is shlibpath searched before the hard-coded library search path?
14503shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14504
14505# How to hardcode a shared library path into an executable.
14506hardcode_action=$hardcode_action_CXX
14507
14508# Whether we should hardcode library paths into libraries.
14509hardcode_into_libs=$hardcode_into_libs
14510
14511# Flag to hardcode \$libdir into a binary during linking.
14512# This must work even if \$libdir does not exist.
14513hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14514
14515# If ld is used when linking, flag to hardcode \$libdir into
14516# a binary during linking. This must work even if \$libdir does
14517# not exist.
14518hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14519
14520# Whether we need a single -rpath flag with a separated argument.
14521hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14522
14523# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14524# resulting binary.
14525hardcode_direct=$hardcode_direct_CXX
14526
14527# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14528# resulting binary.
14529hardcode_minus_L=$hardcode_minus_L_CXX
14530
14531# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14532# the resulting binary.
14533hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14534
14535# Set to yes if building a shared library automatically hardcodes DIR into the library
14536# and all subsequent libraries and executables linked against it.
14537hardcode_automatic=$hardcode_automatic_CXX
14538
14539# Variables whose values should be saved in libtool wrapper scripts and
14540# restored at relink time.
14541variables_saved_for_relink="$variables_saved_for_relink"
14542
14543# Whether libtool must link a program against all its dependency libraries.
14544link_all_deplibs=$link_all_deplibs_CXX
14545
14546# Compile-time system search path for libraries
14547sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14548
14549# Run-time system search path for libraries
14550sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14551
14552# Fix the shell variable \$srcfile for the compiler.
14553fix_srcfile_path=$lt_fix_srcfile_path
14554
14555# Set to yes if exported symbols are required.
14556always_export_symbols=$always_export_symbols_CXX
14557
14558# The commands to list exported symbols.
14559export_symbols_cmds=$lt_export_symbols_cmds_CXX
14560
14561# The commands to extract the exported symbol list from a shared archive.
14562extract_expsyms_cmds=$lt_extract_expsyms_cmds
14563
14564# Symbols that should not be listed in the preloaded symbols.
14565exclude_expsyms=$lt_exclude_expsyms_CXX
14566
14567# Symbols that must always be exported.
14568include_expsyms=$lt_include_expsyms_CXX
14569
14570# ### END LIBTOOL TAG CONFIG: $tagname
14571
14572__EOF__
14573
14574
14575else
14576  # If there is no Makefile yet, we rely on a make rule to execute
14577  # `config.status --recheck' to rerun these tests and create the
14578  # libtool script then.
14579  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14580  if test -f "$ltmain_in"; then
14581    test -f Makefile && make "$ltmain"
14582  fi
14583fi
14584
14585
14586ac_ext=c
14587ac_cpp='$CPP $CPPFLAGS'
14588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14589ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14590ac_compiler_gnu=$ac_cv_c_compiler_gnu
14591
14592CC=$lt_save_CC
14593LDCXX=$LD
14594LD=$lt_save_LD
14595GCC=$lt_save_GCC
14596with_gnu_ldcxx=$with_gnu_ld
14597with_gnu_ld=$lt_save_with_gnu_ld
14598lt_cv_path_LDCXX=$lt_cv_path_LD
14599lt_cv_path_LD=$lt_save_path_LD
14600lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14601lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14602
14603	else
14604	  tagname=""
14605	fi
14606	;;
14607
14608      F77)
14609	if test -n "$F77" && test "X$F77" != "Xno"; then
14610
14611ac_ext=f
14612ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14613ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14614ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14615
14616
14617archive_cmds_need_lc_F77=no
14618allow_undefined_flag_F77=
14619always_export_symbols_F77=no
14620archive_expsym_cmds_F77=
14621export_dynamic_flag_spec_F77=
14622hardcode_direct_F77=no
14623hardcode_libdir_flag_spec_F77=
14624hardcode_libdir_flag_spec_ld_F77=
14625hardcode_libdir_separator_F77=
14626hardcode_minus_L_F77=no
14627hardcode_automatic_F77=no
14628module_cmds_F77=
14629module_expsym_cmds_F77=
14630link_all_deplibs_F77=unknown
14631old_archive_cmds_F77=$old_archive_cmds
14632no_undefined_flag_F77=
14633whole_archive_flag_spec_F77=
14634enable_shared_with_static_runtimes_F77=no
14635
14636# Source file extension for f77 test sources.
14637ac_ext=f
14638
14639# Object file extension for compiled f77 test sources.
14640objext=o
14641objext_F77=$objext
14642
14643# Code to be used in simple compile tests
14644lt_simple_compile_test_code="\
14645      subroutine t
14646      return
14647      end
14648"
14649
14650# Code to be used in simple link tests
14651lt_simple_link_test_code="\
14652      program t
14653      end
14654"
14655
14656# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14657
14658# If no C compiler was specified, use CC.
14659LTCC=${LTCC-"$CC"}
14660
14661# If no C compiler flags were specified, use CFLAGS.
14662LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14663
14664# Allow CC to be a program name with arguments.
14665compiler=$CC
14666
14667
14668# save warnings/boilerplate of simple test code
14669ac_outfile=conftest.$ac_objext
14670echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14671eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14672_lt_compiler_boilerplate=`cat conftest.err`
14673$rm conftest*
14674
14675ac_outfile=conftest.$ac_objext
14676echo "$lt_simple_link_test_code" >conftest.$ac_ext
14677eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14678_lt_linker_boilerplate=`cat conftest.err`
14679$rm conftest*
14680
14681
14682# Allow CC to be a program name with arguments.
14683lt_save_CC="$CC"
14684CC=${F77-"f77"}
14685compiler=$CC
14686compiler_F77=$CC
14687for cc_temp in $compiler""; do
14688  case $cc_temp in
14689    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14690    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14691    \-*) ;;
14692    *) break;;
14693  esac
14694done
14695cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14696
14697
14698{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14699echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14700{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14701echo "${ECHO_T}$can_build_shared" >&6; }
14702
14703{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14704echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14705test "$can_build_shared" = "no" && enable_shared=no
14706
14707# On AIX, shared libraries and static libraries use the same namespace, and
14708# are all built from PIC.
14709case $host_os in
14710aix3*)
14711  test "$enable_shared" = yes && enable_static=no
14712  if test -n "$RANLIB"; then
14713    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14714    postinstall_cmds='$RANLIB $lib'
14715  fi
14716  ;;
14717aix4* | aix5*)
14718  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14719    test "$enable_shared" = yes && enable_static=no
14720  fi
14721  ;;
14722esac
14723{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14724echo "${ECHO_T}$enable_shared" >&6; }
14725
14726{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14727echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14728# Make sure either enable_shared or enable_static is yes.
14729test "$enable_shared" = yes || enable_static=yes
14730{ echo "$as_me:$LINENO: result: $enable_static" >&5
14731echo "${ECHO_T}$enable_static" >&6; }
14732
14733GCC_F77="$G77"
14734LD_F77="$LD"
14735
14736lt_prog_compiler_wl_F77=
14737lt_prog_compiler_pic_F77=
14738lt_prog_compiler_static_F77=
14739
14740{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14741echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14742
14743  if test "$GCC" = yes; then
14744    lt_prog_compiler_wl_F77='-Wl,'
14745    lt_prog_compiler_static_F77='-static'
14746
14747    case $host_os in
14748      aix*)
14749      # All AIX code is PIC.
14750      if test "$host_cpu" = ia64; then
14751	# AIX 5 now supports IA64 processor
14752	lt_prog_compiler_static_F77='-Bstatic'
14753      fi
14754      ;;
14755
14756    amigaos*)
14757      # FIXME: we need at least 68020 code to build shared libraries, but
14758      # adding the `-m68020' flag to GCC prevents building anything better,
14759      # like `-m68040'.
14760      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14761      ;;
14762
14763    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14764      # PIC is the default for these OSes.
14765      ;;
14766
14767    mingw* | cygwin* | pw32* | os2*)
14768      # This hack is so that the source file can tell whether it is being
14769      # built for inclusion in a dll (and should export symbols for example).
14770      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14771      # (--disable-auto-import) libraries
14772      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14773      ;;
14774
14775    darwin* | rhapsody*)
14776      # PIC is the default on this platform
14777      # Common symbols not allowed in MH_DYLIB files
14778      lt_prog_compiler_pic_F77='-fno-common'
14779      ;;
14780
14781    interix[3-9]*)
14782      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14783      # Instead, we relocate shared libraries at runtime.
14784      ;;
14785
14786    msdosdjgpp*)
14787      # Just because we use GCC doesn't mean we suddenly get shared libraries
14788      # on systems that don't support them.
14789      lt_prog_compiler_can_build_shared_F77=no
14790      enable_shared=no
14791      ;;
14792
14793    sysv4*MP*)
14794      if test -d /usr/nec; then
14795	lt_prog_compiler_pic_F77=-Kconform_pic
14796      fi
14797      ;;
14798
14799    hpux*)
14800      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14801      # not for PA HP-UX.
14802      case $host_cpu in
14803      hppa*64*|ia64*)
14804	# +Z the default
14805	;;
14806      *)
14807	lt_prog_compiler_pic_F77='-fPIC'
14808	;;
14809      esac
14810      ;;
14811
14812    *)
14813      lt_prog_compiler_pic_F77='-fPIC'
14814      ;;
14815    esac
14816  else
14817    # PORTME Check for flag to pass linker flags through the system compiler.
14818    case $host_os in
14819    aix*)
14820      lt_prog_compiler_wl_F77='-Wl,'
14821      if test "$host_cpu" = ia64; then
14822	# AIX 5 now supports IA64 processor
14823	lt_prog_compiler_static_F77='-Bstatic'
14824      else
14825	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14826      fi
14827      ;;
14828      darwin*)
14829        # PIC is the default on this platform
14830        # Common symbols not allowed in MH_DYLIB files
14831       case $cc_basename in
14832         xlc*)
14833         lt_prog_compiler_pic_F77='-qnocommon'
14834         lt_prog_compiler_wl_F77='-Wl,'
14835         ;;
14836       esac
14837       ;;
14838
14839    mingw* | cygwin* | pw32* | os2*)
14840      # This hack is so that the source file can tell whether it is being
14841      # built for inclusion in a dll (and should export symbols for example).
14842      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14843      ;;
14844
14845    hpux9* | hpux10* | hpux11*)
14846      lt_prog_compiler_wl_F77='-Wl,'
14847      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14848      # not for PA HP-UX.
14849      case $host_cpu in
14850      hppa*64*|ia64*)
14851	# +Z the default
14852	;;
14853      *)
14854	lt_prog_compiler_pic_F77='+Z'
14855	;;
14856      esac
14857      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14858      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14859      ;;
14860
14861    irix5* | irix6* | nonstopux*)
14862      lt_prog_compiler_wl_F77='-Wl,'
14863      # PIC (with -KPIC) is the default.
14864      lt_prog_compiler_static_F77='-non_shared'
14865      ;;
14866
14867    newsos6)
14868      lt_prog_compiler_pic_F77='-KPIC'
14869      lt_prog_compiler_static_F77='-Bstatic'
14870      ;;
14871
14872    linux* | k*bsd*-gnu)
14873      case $cc_basename in
14874      icc* | ecc*)
14875	lt_prog_compiler_wl_F77='-Wl,'
14876	lt_prog_compiler_pic_F77='-KPIC'
14877	lt_prog_compiler_static_F77='-static'
14878        ;;
14879      pgcc* | pgf77* | pgf90* | pgf95*)
14880        # Portland Group compilers (*not* the Pentium gcc compiler,
14881	# which looks to be a dead project)
14882	lt_prog_compiler_wl_F77='-Wl,'
14883	lt_prog_compiler_pic_F77='-fpic'
14884	lt_prog_compiler_static_F77='-Bstatic'
14885        ;;
14886      ccc*)
14887        lt_prog_compiler_wl_F77='-Wl,'
14888        # All Alpha code is PIC.
14889        lt_prog_compiler_static_F77='-non_shared'
14890        ;;
14891      *)
14892        case `$CC -V 2>&1 | sed 5q` in
14893	*Sun\ C*)
14894	  # Sun C 5.9
14895	  lt_prog_compiler_pic_F77='-KPIC'
14896	  lt_prog_compiler_static_F77='-Bstatic'
14897	  lt_prog_compiler_wl_F77='-Wl,'
14898	  ;;
14899	*Sun\ F*)
14900	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
14901	  lt_prog_compiler_pic_F77='-KPIC'
14902	  lt_prog_compiler_static_F77='-Bstatic'
14903	  lt_prog_compiler_wl_F77=''
14904	  ;;
14905	esac
14906	;;
14907      esac
14908      ;;
14909
14910    osf3* | osf4* | osf5*)
14911      lt_prog_compiler_wl_F77='-Wl,'
14912      # All OSF/1 code is PIC.
14913      lt_prog_compiler_static_F77='-non_shared'
14914      ;;
14915
14916    rdos*)
14917      lt_prog_compiler_static_F77='-non_shared'
14918      ;;
14919
14920    solaris*)
14921      lt_prog_compiler_pic_F77='-KPIC'
14922      lt_prog_compiler_static_F77='-Bstatic'
14923      case $cc_basename in
14924      f77* | f90* | f95*)
14925	lt_prog_compiler_wl_F77='-Qoption ld ';;
14926      *)
14927	lt_prog_compiler_wl_F77='-Wl,';;
14928      esac
14929      ;;
14930
14931    sunos4*)
14932      lt_prog_compiler_wl_F77='-Qoption ld '
14933      lt_prog_compiler_pic_F77='-PIC'
14934      lt_prog_compiler_static_F77='-Bstatic'
14935      ;;
14936
14937    sysv4 | sysv4.2uw2* | sysv4.3*)
14938      lt_prog_compiler_wl_F77='-Wl,'
14939      lt_prog_compiler_pic_F77='-KPIC'
14940      lt_prog_compiler_static_F77='-Bstatic'
14941      ;;
14942
14943    sysv4*MP*)
14944      if test -d /usr/nec ;then
14945	lt_prog_compiler_pic_F77='-Kconform_pic'
14946	lt_prog_compiler_static_F77='-Bstatic'
14947      fi
14948      ;;
14949
14950    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14951      lt_prog_compiler_wl_F77='-Wl,'
14952      lt_prog_compiler_pic_F77='-KPIC'
14953      lt_prog_compiler_static_F77='-Bstatic'
14954      ;;
14955
14956    unicos*)
14957      lt_prog_compiler_wl_F77='-Wl,'
14958      lt_prog_compiler_can_build_shared_F77=no
14959      ;;
14960
14961    uts4*)
14962      lt_prog_compiler_pic_F77='-pic'
14963      lt_prog_compiler_static_F77='-Bstatic'
14964      ;;
14965
14966    *)
14967      lt_prog_compiler_can_build_shared_F77=no
14968      ;;
14969    esac
14970  fi
14971
14972{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14973echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14974
14975#
14976# Check to make sure the PIC flag actually works.
14977#
14978if test -n "$lt_prog_compiler_pic_F77"; then
14979
14980{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14981echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14982if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14983  echo $ECHO_N "(cached) $ECHO_C" >&6
14984else
14985  lt_prog_compiler_pic_works_F77=no
14986  ac_outfile=conftest.$ac_objext
14987   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14988   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14989   # Insert the option either (1) after the last *FLAGS variable, or
14990   # (2) before a word containing "conftest.", or (3) at the end.
14991   # Note that $ac_compile itself does not contain backslashes and begins
14992   # with a dollar sign (not a hyphen), so the echo should work correctly.
14993   # The option is referenced via a variable to avoid confusing sed.
14994   lt_compile=`echo "$ac_compile" | $SED \
14995   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14996   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14997   -e 's:$: $lt_compiler_flag:'`
14998   (eval echo "\"\$as_me:14998: $lt_compile\"" >&5)
14999   (eval "$lt_compile" 2>conftest.err)
15000   ac_status=$?
15001   cat conftest.err >&5
15002   echo "$as_me:15002: \$? = $ac_status" >&5
15003   if (exit $ac_status) && test -s "$ac_outfile"; then
15004     # The compiler can only warn and ignore the option if not recognized
15005     # So say no if there are warnings other than the usual output.
15006     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15007     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15008     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15009       lt_prog_compiler_pic_works_F77=yes
15010     fi
15011   fi
15012   $rm conftest*
15013
15014fi
15015{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15016echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15017
15018if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15019    case $lt_prog_compiler_pic_F77 in
15020     "" | " "*) ;;
15021     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15022     esac
15023else
15024    lt_prog_compiler_pic_F77=
15025     lt_prog_compiler_can_build_shared_F77=no
15026fi
15027
15028fi
15029case $host_os in
15030  # For platforms which do not support PIC, -DPIC is meaningless:
15031  *djgpp*)
15032    lt_prog_compiler_pic_F77=
15033    ;;
15034  *)
15035    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15036    ;;
15037esac
15038
15039#
15040# Check to make sure the static flag actually works.
15041#
15042wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15043{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15044echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15045if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15046  echo $ECHO_N "(cached) $ECHO_C" >&6
15047else
15048  lt_prog_compiler_static_works_F77=no
15049   save_LDFLAGS="$LDFLAGS"
15050   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15051   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15052   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15053     # The linker can only warn and ignore the option if not recognized
15054     # So say no if there are warnings
15055     if test -s conftest.err; then
15056       # Append any errors to the config.log.
15057       cat conftest.err 1>&5
15058       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15059       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15060       if diff conftest.exp conftest.er2 >/dev/null; then
15061         lt_prog_compiler_static_works_F77=yes
15062       fi
15063     else
15064       lt_prog_compiler_static_works_F77=yes
15065     fi
15066   fi
15067   $rm conftest*
15068   LDFLAGS="$save_LDFLAGS"
15069
15070fi
15071{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15072echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15073
15074if test x"$lt_prog_compiler_static_works_F77" = xyes; then
15075    :
15076else
15077    lt_prog_compiler_static_F77=
15078fi
15079
15080
15081{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15082echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15083if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15084  echo $ECHO_N "(cached) $ECHO_C" >&6
15085else
15086  lt_cv_prog_compiler_c_o_F77=no
15087   $rm -r conftest 2>/dev/null
15088   mkdir conftest
15089   cd conftest
15090   mkdir out
15091   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15092
15093   lt_compiler_flag="-o out/conftest2.$ac_objext"
15094   # Insert the option either (1) after the last *FLAGS variable, or
15095   # (2) before a word containing "conftest.", or (3) at the end.
15096   # Note that $ac_compile itself does not contain backslashes and begins
15097   # with a dollar sign (not a hyphen), so the echo should work correctly.
15098   lt_compile=`echo "$ac_compile" | $SED \
15099   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15100   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15101   -e 's:$: $lt_compiler_flag:'`
15102   (eval echo "\"\$as_me:15102: $lt_compile\"" >&5)
15103   (eval "$lt_compile" 2>out/conftest.err)
15104   ac_status=$?
15105   cat out/conftest.err >&5
15106   echo "$as_me:15106: \$? = $ac_status" >&5
15107   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15108   then
15109     # The compiler can only warn and ignore the option if not recognized
15110     # So say no if there are warnings
15111     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15112     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15113     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15114       lt_cv_prog_compiler_c_o_F77=yes
15115     fi
15116   fi
15117   chmod u+w . 2>&5
15118   $rm conftest*
15119   # SGI C++ compiler will create directory out/ii_files/ for
15120   # template instantiation
15121   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15122   $rm out/* && rmdir out
15123   cd ..
15124   rmdir conftest
15125   $rm conftest*
15126
15127fi
15128{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15129echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15130
15131
15132hard_links="nottested"
15133if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15134  # do not overwrite the value of need_locks provided by the user
15135  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15136echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15137  hard_links=yes
15138  $rm conftest*
15139  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15140  touch conftest.a
15141  ln conftest.a conftest.b 2>&5 || hard_links=no
15142  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15143  { echo "$as_me:$LINENO: result: $hard_links" >&5
15144echo "${ECHO_T}$hard_links" >&6; }
15145  if test "$hard_links" = no; then
15146    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15147echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15148    need_locks=warn
15149  fi
15150else
15151  need_locks=no
15152fi
15153
15154{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15155echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15156
15157  runpath_var=
15158  allow_undefined_flag_F77=
15159  enable_shared_with_static_runtimes_F77=no
15160  archive_cmds_F77=
15161  archive_expsym_cmds_F77=
15162  old_archive_From_new_cmds_F77=
15163  old_archive_from_expsyms_cmds_F77=
15164  export_dynamic_flag_spec_F77=
15165  whole_archive_flag_spec_F77=
15166  thread_safe_flag_spec_F77=
15167  hardcode_libdir_flag_spec_F77=
15168  hardcode_libdir_flag_spec_ld_F77=
15169  hardcode_libdir_separator_F77=
15170  hardcode_direct_F77=no
15171  hardcode_minus_L_F77=no
15172  hardcode_shlibpath_var_F77=unsupported
15173  link_all_deplibs_F77=unknown
15174  hardcode_automatic_F77=no
15175  module_cmds_F77=
15176  module_expsym_cmds_F77=
15177  always_export_symbols_F77=no
15178  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15179  # include_expsyms should be a list of space-separated symbols to be *always*
15180  # included in the symbol list
15181  include_expsyms_F77=
15182  # exclude_expsyms can be an extended regexp of symbols to exclude
15183  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15184  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15185  # as well as any symbol that contains `d'.
15186  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15187  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15188  # platforms (ab)use it in PIC code, but their linkers get confused if
15189  # the symbol is explicitly referenced.  Since portable code cannot
15190  # rely on this symbol name, it's probably fine to never include it in
15191  # preloaded symbol tables.
15192  extract_expsyms_cmds=
15193  # Just being paranoid about ensuring that cc_basename is set.
15194  for cc_temp in $compiler""; do
15195  case $cc_temp in
15196    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15197    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15198    \-*) ;;
15199    *) break;;
15200  esac
15201done
15202cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15203
15204  case $host_os in
15205  cygwin* | mingw* | pw32*)
15206    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15207    # When not using gcc, we currently assume that we are using
15208    # Microsoft Visual C++.
15209    if test "$GCC" != yes; then
15210      with_gnu_ld=no
15211    fi
15212    ;;
15213  interix*)
15214    # we just hope/assume this is gcc and not c89 (= MSVC++)
15215    with_gnu_ld=yes
15216    ;;
15217  openbsd*)
15218    with_gnu_ld=no
15219    ;;
15220  esac
15221
15222  ld_shlibs_F77=yes
15223  if test "$with_gnu_ld" = yes; then
15224    # If archive_cmds runs LD, not CC, wlarc should be empty
15225    wlarc='${wl}'
15226
15227    # Set some defaults for GNU ld with shared library support. These
15228    # are reset later if shared libraries are not supported. Putting them
15229    # here allows them to be overridden if necessary.
15230    runpath_var=LD_RUN_PATH
15231    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15232    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15233    # ancient GNU ld didn't support --whole-archive et. al.
15234    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15235	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15236      else
15237  	whole_archive_flag_spec_F77=
15238    fi
15239    supports_anon_versioning=no
15240    case `$LD -v 2>/dev/null` in
15241      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15242      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15243      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15244      *\ 2.11.*) ;; # other 2.11 versions
15245      *) supports_anon_versioning=yes ;;
15246    esac
15247
15248    # See if GNU ld supports shared libraries.
15249    case $host_os in
15250    aix3* | aix4* | aix5*)
15251      # On AIX/PPC, the GNU linker is very broken
15252      if test "$host_cpu" != ia64; then
15253	ld_shlibs_F77=no
15254	cat <<EOF 1>&2
15255
15256*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15257*** to be unable to reliably create shared libraries on AIX.
15258*** Therefore, libtool is disabling shared libraries support.  If you
15259*** really care for shared libraries, you may want to modify your PATH
15260*** so that a non-GNU linker is found, and then restart.
15261
15262EOF
15263      fi
15264      ;;
15265
15266    amigaos*)
15267      archive_cmds_F77='$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)'
15268      hardcode_libdir_flag_spec_F77='-L$libdir'
15269      hardcode_minus_L_F77=yes
15270
15271      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15272      # that the semantics of dynamic libraries on AmigaOS, at least up
15273      # to version 4, is to share data among multiple programs linked
15274      # with the same dynamic library.  Since this doesn't match the
15275      # behavior of shared libraries on other platforms, we can't use
15276      # them.
15277      ld_shlibs_F77=no
15278      ;;
15279
15280    beos*)
15281      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15282	allow_undefined_flag_F77=unsupported
15283	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15284	# support --undefined.  This deserves some investigation.  FIXME
15285	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15286      else
15287	ld_shlibs_F77=no
15288      fi
15289      ;;
15290
15291    cygwin* | mingw* | pw32*)
15292      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15293      # as there is no search path for DLLs.
15294      hardcode_libdir_flag_spec_F77='-L$libdir'
15295      allow_undefined_flag_F77=unsupported
15296      always_export_symbols_F77=no
15297      enable_shared_with_static_runtimes_F77=yes
15298      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15299
15300      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15301        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15302	# If the export-symbols file already is a .def file (1st line
15303	# is EXPORTS), use it as is; otherwise, prepend...
15304	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15305	  cp $export_symbols $output_objdir/$soname.def;
15306	else
15307	  echo EXPORTS > $output_objdir/$soname.def;
15308	  cat $export_symbols >> $output_objdir/$soname.def;
15309	fi~
15310	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15311      else
15312	ld_shlibs_F77=no
15313      fi
15314      ;;
15315
15316    interix[3-9]*)
15317      hardcode_direct_F77=no
15318      hardcode_shlibpath_var_F77=no
15319      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15320      export_dynamic_flag_spec_F77='${wl}-E'
15321      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15322      # Instead, shared libraries are loaded at an image base (0x10000000 by
15323      # default) and relocated if they conflict, which is a slow very memory
15324      # consuming and fragmenting process.  To avoid this, we pick a random,
15325      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15326      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15327      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15328      archive_expsym_cmds_F77='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'
15329      ;;
15330
15331    gnu* | linux* | k*bsd*-gnu)
15332      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15333	tmp_addflag=
15334	case $cc_basename,$host_cpu in
15335	pgcc*)				# Portland Group C compiler
15336	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15337	  tmp_addflag=' $pic_flag'
15338	  ;;
15339	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
15340	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15341	  tmp_addflag=' $pic_flag -Mnomain' ;;
15342	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
15343	  tmp_addflag=' -i_dynamic' ;;
15344	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
15345	  tmp_addflag=' -i_dynamic -nofor_main' ;;
15346	ifc* | ifort*)			# Intel Fortran compiler
15347	  tmp_addflag=' -nofor_main' ;;
15348	esac
15349	case `$CC -V 2>&1 | sed 5q` in
15350	*Sun\ C*)			# Sun C 5.9
15351	  whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15352	  tmp_sharedflag='-G' ;;
15353	*Sun\ F*)			# Sun Fortran 8.3
15354	  tmp_sharedflag='-G' ;;
15355	*)
15356	  tmp_sharedflag='-shared' ;;
15357	esac
15358	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15359
15360	if test $supports_anon_versioning = yes; then
15361	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15362  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15363  $echo "local: *; };" >> $output_objdir/$libname.ver~
15364	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15365	fi
15366      else
15367	ld_shlibs_F77=no
15368      fi
15369      ;;
15370
15371    netbsd*)
15372      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15373	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15374	wlarc=
15375      else
15376	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15377	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15378      fi
15379      ;;
15380
15381    solaris*)
15382      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15383	ld_shlibs_F77=no
15384	cat <<EOF 1>&2
15385
15386*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15387*** create shared libraries on Solaris systems.  Therefore, libtool
15388*** is disabling shared libraries support.  We urge you to upgrade GNU
15389*** binutils to release 2.9.1 or newer.  Another option is to modify
15390*** your PATH or compiler configuration so that the native linker is
15391*** used, and then restart.
15392
15393EOF
15394      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15395	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15396	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15397      else
15398	ld_shlibs_F77=no
15399      fi
15400      ;;
15401
15402    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15403      case `$LD -v 2>&1` in
15404        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15405	ld_shlibs_F77=no
15406	cat <<_LT_EOF 1>&2
15407
15408*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15409*** reliably create shared libraries on SCO systems.  Therefore, libtool
15410*** is disabling shared libraries support.  We urge you to upgrade GNU
15411*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15412*** your PATH or compiler configuration so that the native linker is
15413*** used, and then restart.
15414
15415_LT_EOF
15416	;;
15417	*)
15418	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15419	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15420	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15421	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15422	  else
15423	    ld_shlibs_F77=no
15424	  fi
15425	;;
15426      esac
15427      ;;
15428
15429    sunos4*)
15430      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15431      wlarc=
15432      hardcode_direct_F77=yes
15433      hardcode_shlibpath_var_F77=no
15434      ;;
15435
15436    *)
15437      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15438	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15439	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15440      else
15441	ld_shlibs_F77=no
15442      fi
15443      ;;
15444    esac
15445
15446    if test "$ld_shlibs_F77" = no; then
15447      runpath_var=
15448      hardcode_libdir_flag_spec_F77=
15449      export_dynamic_flag_spec_F77=
15450      whole_archive_flag_spec_F77=
15451    fi
15452  else
15453    # PORTME fill in a description of your system's linker (not GNU ld)
15454    case $host_os in
15455    aix3*)
15456      allow_undefined_flag_F77=unsupported
15457      always_export_symbols_F77=yes
15458      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15459      # Note: this linker hardcodes the directories in LIBPATH if there
15460      # are no directories specified by -L.
15461      hardcode_minus_L_F77=yes
15462      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15463	# Neither direct hardcoding nor static linking is supported with a
15464	# broken collect2.
15465	hardcode_direct_F77=unsupported
15466      fi
15467      ;;
15468
15469    aix4* | aix5*)
15470      if test "$host_cpu" = ia64; then
15471	# On IA64, the linker does run time linking by default, so we don't
15472	# have to do anything special.
15473	aix_use_runtimelinking=no
15474	exp_sym_flag='-Bexport'
15475	no_entry_flag=""
15476      else
15477	# If we're using GNU nm, then we don't want the "-C" option.
15478	# -C means demangle to AIX nm, but means don't demangle with GNU nm
15479	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15480	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15481	else
15482	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15483	fi
15484	aix_use_runtimelinking=no
15485
15486	# Test if we are trying to use run time linking or normal
15487	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
15488	# need to do runtime linking.
15489	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15490	  for ld_flag in $LDFLAGS; do
15491  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15492  	    aix_use_runtimelinking=yes
15493  	    break
15494  	  fi
15495	  done
15496	  ;;
15497	esac
15498
15499	exp_sym_flag='-bexport'
15500	no_entry_flag='-bnoentry'
15501      fi
15502
15503      # When large executables or shared objects are built, AIX ld can
15504      # have problems creating the table of contents.  If linking a library
15505      # or program results in "error TOC overflow" add -mminimal-toc to
15506      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15507      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15508
15509      archive_cmds_F77=''
15510      hardcode_direct_F77=yes
15511      hardcode_libdir_separator_F77=':'
15512      link_all_deplibs_F77=yes
15513
15514      if test "$GCC" = yes; then
15515	case $host_os in aix4.[012]|aix4.[012].*)
15516	# We only want to do this on AIX 4.2 and lower, the check
15517	# below for broken collect2 doesn't work under 4.3+
15518	  collect2name=`${CC} -print-prog-name=collect2`
15519	  if test -f "$collect2name" && \
15520  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
15521	  then
15522  	  # We have reworked collect2
15523  	  :
15524	  else
15525  	  # We have old collect2
15526  	  hardcode_direct_F77=unsupported
15527  	  # It fails to find uninstalled libraries when the uninstalled
15528  	  # path is not listed in the libpath.  Setting hardcode_minus_L
15529  	  # to unsupported forces relinking
15530  	  hardcode_minus_L_F77=yes
15531  	  hardcode_libdir_flag_spec_F77='-L$libdir'
15532  	  hardcode_libdir_separator_F77=
15533	  fi
15534	  ;;
15535	esac
15536	shared_flag='-shared'
15537	if test "$aix_use_runtimelinking" = yes; then
15538	  shared_flag="$shared_flag "'${wl}-G'
15539	fi
15540      else
15541	# not using gcc
15542	if test "$host_cpu" = ia64; then
15543  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15544  	# chokes on -Wl,-G. The following line is correct:
15545	  shared_flag='-G'
15546	else
15547	  if test "$aix_use_runtimelinking" = yes; then
15548	    shared_flag='${wl}-G'
15549	  else
15550	    shared_flag='${wl}-bM:SRE'
15551	  fi
15552	fi
15553      fi
15554
15555      # It seems that -bexpall does not export symbols beginning with
15556      # underscore (_), so it is better to generate a list of symbols to export.
15557      always_export_symbols_F77=yes
15558      if test "$aix_use_runtimelinking" = yes; then
15559	# Warning - without using the other runtime loading flags (-brtl),
15560	# -berok will link without error, but may produce a broken library.
15561	allow_undefined_flag_F77='-berok'
15562       # Determine the default libpath from the value encoded in an empty executable.
15563       cat >conftest.$ac_ext <<_ACEOF
15564      program main
15565
15566      end
15567_ACEOF
15568rm -f conftest.$ac_objext conftest$ac_exeext
15569if { (ac_try="$ac_link"
15570case "(($ac_try" in
15571  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15572  *) ac_try_echo=$ac_try;;
15573esac
15574eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15575  (eval "$ac_link") 2>conftest.er1
15576  ac_status=$?
15577  grep -v '^ *+' conftest.er1 >conftest.err
15578  rm -f conftest.er1
15579  cat conftest.err >&5
15580  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581  (exit $ac_status); } && {
15582	 test -z "$ac_f77_werror_flag" ||
15583	 test ! -s conftest.err
15584       } && test -s conftest$ac_exeext &&
15585       $as_test_x conftest$ac_exeext; then
15586
15587lt_aix_libpath_sed='
15588    /Import File Strings/,/^$/ {
15589	/^0/ {
15590	    s/^0  *\(.*\)$/\1/
15591	    p
15592	}
15593    }'
15594aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15595# Check for a 64-bit object if we didn't find anything.
15596if test -z "$aix_libpath"; then
15597  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15598fi
15599else
15600  echo "$as_me: failed program was:" >&5
15601sed 's/^/| /' conftest.$ac_ext >&5
15602
15603
15604fi
15605
15606rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15607      conftest$ac_exeext conftest.$ac_ext
15608if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15609
15610       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15611	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15612       else
15613	if test "$host_cpu" = ia64; then
15614	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15615	  allow_undefined_flag_F77="-z nodefs"
15616	  archive_expsym_cmds_F77="\$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"
15617	else
15618	 # Determine the default libpath from the value encoded in an empty executable.
15619	 cat >conftest.$ac_ext <<_ACEOF
15620      program main
15621
15622      end
15623_ACEOF
15624rm -f conftest.$ac_objext conftest$ac_exeext
15625if { (ac_try="$ac_link"
15626case "(($ac_try" in
15627  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15628  *) ac_try_echo=$ac_try;;
15629esac
15630eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15631  (eval "$ac_link") 2>conftest.er1
15632  ac_status=$?
15633  grep -v '^ *+' conftest.er1 >conftest.err
15634  rm -f conftest.er1
15635  cat conftest.err >&5
15636  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637  (exit $ac_status); } && {
15638	 test -z "$ac_f77_werror_flag" ||
15639	 test ! -s conftest.err
15640       } && test -s conftest$ac_exeext &&
15641       $as_test_x conftest$ac_exeext; then
15642
15643lt_aix_libpath_sed='
15644    /Import File Strings/,/^$/ {
15645	/^0/ {
15646	    s/^0  *\(.*\)$/\1/
15647	    p
15648	}
15649    }'
15650aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15651# Check for a 64-bit object if we didn't find anything.
15652if test -z "$aix_libpath"; then
15653  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15654fi
15655else
15656  echo "$as_me: failed program was:" >&5
15657sed 's/^/| /' conftest.$ac_ext >&5
15658
15659
15660fi
15661
15662rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15663      conftest$ac_exeext conftest.$ac_ext
15664if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15665
15666	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15667	  # Warning - without using the other run time loading flags,
15668	  # -berok will link without error, but may produce a broken library.
15669	  no_undefined_flag_F77=' ${wl}-bernotok'
15670	  allow_undefined_flag_F77=' ${wl}-berok'
15671	  # Exported symbols can be pulled into shared objects from archives
15672	  whole_archive_flag_spec_F77='$convenience'
15673	  archive_cmds_need_lc_F77=yes
15674	  # This is similar to how AIX traditionally builds its shared libraries.
15675	  archive_expsym_cmds_F77="\$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'
15676	fi
15677      fi
15678      ;;
15679
15680    amigaos*)
15681      archive_cmds_F77='$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)'
15682      hardcode_libdir_flag_spec_F77='-L$libdir'
15683      hardcode_minus_L_F77=yes
15684      # see comment about different semantics on the GNU ld section
15685      ld_shlibs_F77=no
15686      ;;
15687
15688    bsdi[45]*)
15689      export_dynamic_flag_spec_F77=-rdynamic
15690      ;;
15691
15692    cygwin* | mingw* | pw32*)
15693      # When not using gcc, we currently assume that we are using
15694      # Microsoft Visual C++.
15695      # hardcode_libdir_flag_spec is actually meaningless, as there is
15696      # no search path for DLLs.
15697      hardcode_libdir_flag_spec_F77=' '
15698      allow_undefined_flag_F77=unsupported
15699      # Tell ltmain to make .lib files, not .a files.
15700      libext=lib
15701      # Tell ltmain to make .dll files, not .so files.
15702      shrext_cmds=".dll"
15703      # FIXME: Setting linknames here is a bad hack.
15704      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15705      # The linker will automatically build a .lib file if we build a DLL.
15706      old_archive_From_new_cmds_F77='true'
15707      # FIXME: Should let the user specify the lib program.
15708      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15709      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15710      enable_shared_with_static_runtimes_F77=yes
15711      ;;
15712
15713    darwin* | rhapsody*)
15714      case $host_os in
15715        rhapsody* | darwin1.[012])
15716         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15717         ;;
15718       *) # Darwin 1.3 on
15719         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15720           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15721         else
15722           case ${MACOSX_DEPLOYMENT_TARGET} in
15723             10.[012])
15724               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15725               ;;
15726             10.*)
15727               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15728               ;;
15729           esac
15730         fi
15731         ;;
15732      esac
15733      archive_cmds_need_lc_F77=no
15734      hardcode_direct_F77=no
15735      hardcode_automatic_F77=yes
15736      hardcode_shlibpath_var_F77=unsupported
15737      whole_archive_flag_spec_F77=''
15738      link_all_deplibs_F77=yes
15739    if test "$GCC" = yes ; then
15740    	output_verbose_link_cmd='echo'
15741        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15742      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15743      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15744      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15745      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15746    else
15747      case $cc_basename in
15748        xlc*)
15749         output_verbose_link_cmd='echo'
15750         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15751         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15752          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15753         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15754          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15755          ;;
15756       *)
15757         ld_shlibs_F77=no
15758          ;;
15759      esac
15760    fi
15761      ;;
15762
15763    dgux*)
15764      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15765      hardcode_libdir_flag_spec_F77='-L$libdir'
15766      hardcode_shlibpath_var_F77=no
15767      ;;
15768
15769    freebsd1*)
15770      ld_shlibs_F77=no
15771      ;;
15772
15773    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15774    # support.  Future versions do this automatically, but an explicit c++rt0.o
15775    # does not break anything, and helps significantly (at the cost of a little
15776    # extra space).
15777    freebsd2.2*)
15778      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15779      hardcode_libdir_flag_spec_F77='-R$libdir'
15780      hardcode_direct_F77=yes
15781      hardcode_shlibpath_var_F77=no
15782      ;;
15783
15784    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15785    freebsd2*)
15786      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15787      hardcode_direct_F77=yes
15788      hardcode_minus_L_F77=yes
15789      hardcode_shlibpath_var_F77=no
15790      ;;
15791
15792    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15793    freebsd* | dragonfly*)
15794      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15795      hardcode_libdir_flag_spec_F77='-R$libdir'
15796      hardcode_direct_F77=yes
15797      hardcode_shlibpath_var_F77=no
15798      ;;
15799
15800    hpux9*)
15801      if test "$GCC" = yes; then
15802	archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15803      else
15804	archive_cmds_F77='$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'
15805      fi
15806      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15807      hardcode_libdir_separator_F77=:
15808      hardcode_direct_F77=yes
15809
15810      # hardcode_minus_L: Not really in the search PATH,
15811      # but as the default location of the library.
15812      hardcode_minus_L_F77=yes
15813      export_dynamic_flag_spec_F77='${wl}-E'
15814      ;;
15815
15816    hpux10*)
15817      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15818	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15819      else
15820	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15821      fi
15822      if test "$with_gnu_ld" = no; then
15823	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15824	hardcode_libdir_separator_F77=:
15825
15826	hardcode_direct_F77=yes
15827	export_dynamic_flag_spec_F77='${wl}-E'
15828
15829	# hardcode_minus_L: Not really in the search PATH,
15830	# but as the default location of the library.
15831	hardcode_minus_L_F77=yes
15832      fi
15833      ;;
15834
15835    hpux11*)
15836      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15837	case $host_cpu in
15838	hppa*64*)
15839	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15840	  ;;
15841	ia64*)
15842	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15843	  ;;
15844	*)
15845	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15846	  ;;
15847	esac
15848      else
15849	case $host_cpu in
15850	hppa*64*)
15851	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15852	  ;;
15853	ia64*)
15854	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15855	  ;;
15856	*)
15857	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15858	  ;;
15859	esac
15860      fi
15861      if test "$with_gnu_ld" = no; then
15862	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15863	hardcode_libdir_separator_F77=:
15864
15865	case $host_cpu in
15866	hppa*64*|ia64*)
15867	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15868	  hardcode_direct_F77=no
15869	  hardcode_shlibpath_var_F77=no
15870	  ;;
15871	*)
15872	  hardcode_direct_F77=yes
15873	  export_dynamic_flag_spec_F77='${wl}-E'
15874
15875	  # hardcode_minus_L: Not really in the search PATH,
15876	  # but as the default location of the library.
15877	  hardcode_minus_L_F77=yes
15878	  ;;
15879	esac
15880      fi
15881      ;;
15882
15883    irix5* | irix6* | nonstopux*)
15884      if test "$GCC" = yes; then
15885	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15886      else
15887	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15888	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15889      fi
15890      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15891      hardcode_libdir_separator_F77=:
15892      link_all_deplibs_F77=yes
15893      ;;
15894
15895    netbsd*)
15896      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15897	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15898      else
15899	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15900      fi
15901      hardcode_libdir_flag_spec_F77='-R$libdir'
15902      hardcode_direct_F77=yes
15903      hardcode_shlibpath_var_F77=no
15904      ;;
15905
15906    newsos6)
15907      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15908      hardcode_direct_F77=yes
15909      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15910      hardcode_libdir_separator_F77=:
15911      hardcode_shlibpath_var_F77=no
15912      ;;
15913
15914    openbsd*)
15915      if test -f /usr/libexec/ld.so; then
15916	hardcode_direct_F77=yes
15917	hardcode_shlibpath_var_F77=no
15918	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15919	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15920	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15921	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15922	  export_dynamic_flag_spec_F77='${wl}-E'
15923	else
15924	  case $host_os in
15925	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15926	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15927	     hardcode_libdir_flag_spec_F77='-R$libdir'
15928	     ;;
15929	   *)
15930	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15931	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15932	     ;;
15933	  esac
15934        fi
15935      else
15936	ld_shlibs_F77=no
15937      fi
15938      ;;
15939
15940    os2*)
15941      hardcode_libdir_flag_spec_F77='-L$libdir'
15942      hardcode_minus_L_F77=yes
15943      allow_undefined_flag_F77=unsupported
15944      archive_cmds_F77='$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'
15945      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15946      ;;
15947
15948    osf3*)
15949      if test "$GCC" = yes; then
15950	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15951	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15952      else
15953	allow_undefined_flag_F77=' -expect_unresolved \*'
15954	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15955      fi
15956      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15957      hardcode_libdir_separator_F77=:
15958      ;;
15959
15960    osf4* | osf5*)	# as osf3* with the addition of -msym flag
15961      if test "$GCC" = yes; then
15962	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15963	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15964	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15965      else
15966	allow_undefined_flag_F77=' -expect_unresolved \*'
15967	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15968	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15969	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15970
15971	# Both c and cxx compiler support -rpath directly
15972	hardcode_libdir_flag_spec_F77='-rpath $libdir'
15973      fi
15974      hardcode_libdir_separator_F77=:
15975      ;;
15976
15977    solaris*)
15978      no_undefined_flag_F77=' -z text'
15979      if test "$GCC" = yes; then
15980	wlarc='${wl}'
15981	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15982	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15983	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15984      else
15985	wlarc=''
15986	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15987	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15988  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15989      fi
15990      hardcode_libdir_flag_spec_F77='-R$libdir'
15991      hardcode_shlibpath_var_F77=no
15992      case $host_os in
15993      solaris2.[0-5] | solaris2.[0-5].*) ;;
15994      *)
15995	# The compiler driver will combine and reorder linker options,
15996	# but understands `-z linker_flag'.  GCC discards it without `$wl',
15997	# but is careful enough not to reorder.
15998 	# Supported since Solaris 2.6 (maybe 2.5.1?)
15999	if test "$GCC" = yes; then
16000	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16001	else
16002	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16003	fi
16004	;;
16005      esac
16006      link_all_deplibs_F77=yes
16007      ;;
16008
16009    sunos4*)
16010      if test "x$host_vendor" = xsequent; then
16011	# Use $CC to link under sequent, because it throws in some extra .o
16012	# files that make .init and .fini sections work.
16013	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16014      else
16015	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16016      fi
16017      hardcode_libdir_flag_spec_F77='-L$libdir'
16018      hardcode_direct_F77=yes
16019      hardcode_minus_L_F77=yes
16020      hardcode_shlibpath_var_F77=no
16021      ;;
16022
16023    sysv4)
16024      case $host_vendor in
16025	sni)
16026	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16027	  hardcode_direct_F77=yes # is this really true???
16028	;;
16029	siemens)
16030	  ## LD is ld it makes a PLAMLIB
16031	  ## CC just makes a GrossModule.
16032	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16033	  reload_cmds_F77='$CC -r -o $output$reload_objs'
16034	  hardcode_direct_F77=no
16035        ;;
16036	motorola)
16037	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16038	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16039	;;
16040      esac
16041      runpath_var='LD_RUN_PATH'
16042      hardcode_shlibpath_var_F77=no
16043      ;;
16044
16045    sysv4.3*)
16046      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16047      hardcode_shlibpath_var_F77=no
16048      export_dynamic_flag_spec_F77='-Bexport'
16049      ;;
16050
16051    sysv4*MP*)
16052      if test -d /usr/nec; then
16053	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16054	hardcode_shlibpath_var_F77=no
16055	runpath_var=LD_RUN_PATH
16056	hardcode_runpath_var=yes
16057	ld_shlibs_F77=yes
16058      fi
16059      ;;
16060
16061    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16062      no_undefined_flag_F77='${wl}-z,text'
16063      archive_cmds_need_lc_F77=no
16064      hardcode_shlibpath_var_F77=no
16065      runpath_var='LD_RUN_PATH'
16066
16067      if test "$GCC" = yes; then
16068	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16069	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16070      else
16071	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16072	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16073      fi
16074      ;;
16075
16076    sysv5* | sco3.2v5* | sco5v6*)
16077      # Note: We can NOT use -z defs as we might desire, because we do not
16078      # link with -lc, and that would cause any symbols used from libc to
16079      # always be unresolved, which means just about no library would
16080      # ever link correctly.  If we're not using GNU ld we use -z text
16081      # though, which does catch some bad symbols but isn't as heavy-handed
16082      # as -z defs.
16083      no_undefined_flag_F77='${wl}-z,text'
16084      allow_undefined_flag_F77='${wl}-z,nodefs'
16085      archive_cmds_need_lc_F77=no
16086      hardcode_shlibpath_var_F77=no
16087      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16088      hardcode_libdir_separator_F77=':'
16089      link_all_deplibs_F77=yes
16090      export_dynamic_flag_spec_F77='${wl}-Bexport'
16091      runpath_var='LD_RUN_PATH'
16092
16093      if test "$GCC" = yes; then
16094	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16095	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16096      else
16097	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16098	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16099      fi
16100      ;;
16101
16102    uts4*)
16103      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16104      hardcode_libdir_flag_spec_F77='-L$libdir'
16105      hardcode_shlibpath_var_F77=no
16106      ;;
16107
16108    *)
16109      ld_shlibs_F77=no
16110      ;;
16111    esac
16112  fi
16113
16114{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16115echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16116test "$ld_shlibs_F77" = no && can_build_shared=no
16117
16118#
16119# Do we need to explicitly link libc?
16120#
16121case "x$archive_cmds_need_lc_F77" in
16122x|xyes)
16123  # Assume -lc should be added
16124  archive_cmds_need_lc_F77=yes
16125
16126  if test "$enable_shared" = yes && test "$GCC" = yes; then
16127    case $archive_cmds_F77 in
16128    *'~'*)
16129      # FIXME: we may have to deal with multi-command sequences.
16130      ;;
16131    '$CC '*)
16132      # Test whether the compiler implicitly links with -lc since on some
16133      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16134      # to ld, don't add -lc before -lgcc.
16135      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16136echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16137      $rm conftest*
16138      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16139
16140      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16141  (eval $ac_compile) 2>&5
16142  ac_status=$?
16143  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144  (exit $ac_status); } 2>conftest.err; then
16145        soname=conftest
16146        lib=conftest
16147        libobjs=conftest.$ac_objext
16148        deplibs=
16149        wl=$lt_prog_compiler_wl_F77
16150	pic_flag=$lt_prog_compiler_pic_F77
16151        compiler_flags=-v
16152        linker_flags=-v
16153        verstring=
16154        output_objdir=.
16155        libname=conftest
16156        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16157        allow_undefined_flag_F77=
16158        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16159  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16160  ac_status=$?
16161  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162  (exit $ac_status); }
16163        then
16164	  archive_cmds_need_lc_F77=no
16165        else
16166	  archive_cmds_need_lc_F77=yes
16167        fi
16168        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16169      else
16170        cat conftest.err 1>&5
16171      fi
16172      $rm conftest*
16173      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16174echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16175      ;;
16176    esac
16177  fi
16178  ;;
16179esac
16180
16181{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16182echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16183library_names_spec=
16184libname_spec='lib$name'
16185soname_spec=
16186shrext_cmds=".so"
16187postinstall_cmds=
16188postuninstall_cmds=
16189finish_cmds=
16190finish_eval=
16191shlibpath_var=
16192shlibpath_overrides_runpath=unknown
16193version_type=none
16194dynamic_linker="$host_os ld.so"
16195sys_lib_dlsearch_path_spec="/lib /usr/lib"
16196
16197need_lib_prefix=unknown
16198hardcode_into_libs=no
16199
16200# when you set need_version to no, make sure it does not cause -set_version
16201# flags to be left without arguments
16202need_version=unknown
16203
16204case $host_os in
16205aix3*)
16206  version_type=linux
16207  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16208  shlibpath_var=LIBPATH
16209
16210  # AIX 3 has no versioning support, so we append a major version to the name.
16211  soname_spec='${libname}${release}${shared_ext}$major'
16212  ;;
16213
16214aix4* | aix5*)
16215  version_type=linux
16216  need_lib_prefix=no
16217  need_version=no
16218  hardcode_into_libs=yes
16219  if test "$host_cpu" = ia64; then
16220    # AIX 5 supports IA64
16221    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16222    shlibpath_var=LD_LIBRARY_PATH
16223  else
16224    # With GCC up to 2.95.x, collect2 would create an import file
16225    # for dependence libraries.  The import file would start with
16226    # the line `#! .'.  This would cause the generated library to
16227    # depend on `.', always an invalid library.  This was fixed in
16228    # development snapshots of GCC prior to 3.0.
16229    case $host_os in
16230      aix4 | aix4.[01] | aix4.[01].*)
16231      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16232	   echo ' yes '
16233	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16234	:
16235      else
16236	can_build_shared=no
16237      fi
16238      ;;
16239    esac
16240    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16241    # soname into executable. Probably we can add versioning support to
16242    # collect2, so additional links can be useful in future.
16243    if test "$aix_use_runtimelinking" = yes; then
16244      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16245      # instead of lib<name>.a to let people know that these are not
16246      # typical AIX shared libraries.
16247      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16248    else
16249      # We preserve .a as extension for shared libraries through AIX4.2
16250      # and later when we are not doing run time linking.
16251      library_names_spec='${libname}${release}.a $libname.a'
16252      soname_spec='${libname}${release}${shared_ext}$major'
16253    fi
16254    shlibpath_var=LIBPATH
16255  fi
16256  ;;
16257
16258amigaos*)
16259  library_names_spec='$libname.ixlibrary $libname.a'
16260  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16261  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
16262  ;;
16263
16264beos*)
16265  library_names_spec='${libname}${shared_ext}'
16266  dynamic_linker="$host_os ld.so"
16267  shlibpath_var=LIBRARY_PATH
16268  ;;
16269
16270bsdi[45]*)
16271  version_type=linux
16272  need_version=no
16273  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16274  soname_spec='${libname}${release}${shared_ext}$major'
16275  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16276  shlibpath_var=LD_LIBRARY_PATH
16277  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16278  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16279  # the default ld.so.conf also contains /usr/contrib/lib and
16280  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16281  # libtool to hard-code these into programs
16282  ;;
16283
16284cygwin* | mingw* | pw32*)
16285  version_type=windows
16286  shrext_cmds=".dll"
16287  need_version=no
16288  need_lib_prefix=no
16289
16290  case $GCC,$host_os in
16291  yes,cygwin* | yes,mingw* | yes,pw32*)
16292    library_names_spec='$libname.dll.a'
16293    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16294    postinstall_cmds='base_file=`basename \${file}`~
16295      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16296      dldir=$destdir/`dirname \$dlpath`~
16297      test -d \$dldir || mkdir -p \$dldir~
16298      $install_prog $dir/$dlname \$dldir/$dlname~
16299      chmod a+x \$dldir/$dlname'
16300    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16301      dlpath=$dir/\$dldll~
16302       $rm \$dlpath'
16303    shlibpath_overrides_runpath=yes
16304
16305    case $host_os in
16306    cygwin*)
16307      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16308      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16309      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16310      ;;
16311    mingw*)
16312      # MinGW DLLs use traditional 'lib' prefix
16313      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16314      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16315      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16316        # It is most probably a Windows format PATH printed by
16317        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16318        # path with ; separators, and with drive letters. We can handle the
16319        # drive letters (cygwin fileutils understands them), so leave them,
16320        # especially as we might pass files found there to a mingw objdump,
16321        # which wouldn't understand a cygwinified path. Ahh.
16322        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16323      else
16324        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16325      fi
16326      ;;
16327    pw32*)
16328      # pw32 DLLs use 'pw' prefix rather than 'lib'
16329      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16330      ;;
16331    esac
16332    ;;
16333
16334  *)
16335    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16336    ;;
16337  esac
16338  dynamic_linker='Win32 ld.exe'
16339  # FIXME: first we should search . and the directory the executable is in
16340  shlibpath_var=PATH
16341  ;;
16342
16343darwin* | rhapsody*)
16344  dynamic_linker="$host_os dyld"
16345  version_type=darwin
16346  need_lib_prefix=no
16347  need_version=no
16348  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16349  soname_spec='${libname}${release}${major}$shared_ext'
16350  shlibpath_overrides_runpath=yes
16351  shlibpath_var=DYLD_LIBRARY_PATH
16352  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16353
16354  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16355  ;;
16356
16357dgux*)
16358  version_type=linux
16359  need_lib_prefix=no
16360  need_version=no
16361  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16362  soname_spec='${libname}${release}${shared_ext}$major'
16363  shlibpath_var=LD_LIBRARY_PATH
16364  ;;
16365
16366freebsd1*)
16367  dynamic_linker=no
16368  ;;
16369
16370freebsd* | dragonfly*)
16371  # DragonFly does not have aout.  When/if they implement a new
16372  # versioning mechanism, adjust this.
16373  if test -x /usr/bin/objformat; then
16374    objformat=`/usr/bin/objformat`
16375  else
16376    case $host_os in
16377    freebsd[123]*) objformat=aout ;;
16378    *) objformat=elf ;;
16379    esac
16380  fi
16381  version_type=freebsd-$objformat
16382  case $version_type in
16383    freebsd-elf*)
16384      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16385      need_version=no
16386      need_lib_prefix=no
16387      ;;
16388    freebsd-*)
16389      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16390      need_version=yes
16391      ;;
16392  esac
16393  shlibpath_var=LD_LIBRARY_PATH
16394  case $host_os in
16395  freebsd2*)
16396    shlibpath_overrides_runpath=yes
16397    ;;
16398  freebsd3.[01]* | freebsdelf3.[01]*)
16399    shlibpath_overrides_runpath=yes
16400    hardcode_into_libs=yes
16401    ;;
16402  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16403  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16404    shlibpath_overrides_runpath=no
16405    hardcode_into_libs=yes
16406    ;;
16407  *) # from 4.6 on, and DragonFly
16408    shlibpath_overrides_runpath=yes
16409    hardcode_into_libs=yes
16410    ;;
16411  esac
16412  ;;
16413
16414gnu*)
16415  version_type=linux
16416  need_lib_prefix=no
16417  need_version=no
16418  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16419  soname_spec='${libname}${release}${shared_ext}$major'
16420  shlibpath_var=LD_LIBRARY_PATH
16421  hardcode_into_libs=yes
16422  ;;
16423
16424hpux9* | hpux10* | hpux11*)
16425  # Give a soname corresponding to the major version so that dld.sl refuses to
16426  # link against other versions.
16427  version_type=sunos
16428  need_lib_prefix=no
16429  need_version=no
16430  case $host_cpu in
16431  ia64*)
16432    shrext_cmds='.so'
16433    hardcode_into_libs=yes
16434    dynamic_linker="$host_os dld.so"
16435    shlibpath_var=LD_LIBRARY_PATH
16436    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16437    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16438    soname_spec='${libname}${release}${shared_ext}$major'
16439    if test "X$HPUX_IA64_MODE" = X32; then
16440      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16441    else
16442      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16443    fi
16444    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16445    ;;
16446   hppa*64*)
16447     shrext_cmds='.sl'
16448     hardcode_into_libs=yes
16449     dynamic_linker="$host_os dld.sl"
16450     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16451     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16452     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16453     soname_spec='${libname}${release}${shared_ext}$major'
16454     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16455     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16456     ;;
16457   *)
16458    shrext_cmds='.sl'
16459    dynamic_linker="$host_os dld.sl"
16460    shlibpath_var=SHLIB_PATH
16461    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16462    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16463    soname_spec='${libname}${release}${shared_ext}$major'
16464    ;;
16465  esac
16466  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16467  postinstall_cmds='chmod 555 $lib'
16468  ;;
16469
16470interix[3-9]*)
16471  version_type=linux
16472  need_lib_prefix=no
16473  need_version=no
16474  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16475  soname_spec='${libname}${release}${shared_ext}$major'
16476  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16477  shlibpath_var=LD_LIBRARY_PATH
16478  shlibpath_overrides_runpath=no
16479  hardcode_into_libs=yes
16480  ;;
16481
16482irix5* | irix6* | nonstopux*)
16483  case $host_os in
16484    nonstopux*) version_type=nonstopux ;;
16485    *)
16486	if test "$lt_cv_prog_gnu_ld" = yes; then
16487		version_type=linux
16488	else
16489		version_type=irix
16490	fi ;;
16491  esac
16492  need_lib_prefix=no
16493  need_version=no
16494  soname_spec='${libname}${release}${shared_ext}$major'
16495  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16496  case $host_os in
16497  irix5* | nonstopux*)
16498    libsuff= shlibsuff=
16499    ;;
16500  *)
16501    case $LD in # libtool.m4 will add one of these switches to LD
16502    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16503      libsuff= shlibsuff= libmagic=32-bit;;
16504    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16505      libsuff=32 shlibsuff=N32 libmagic=N32;;
16506    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16507      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16508    *) libsuff= shlibsuff= libmagic=never-match;;
16509    esac
16510    ;;
16511  esac
16512  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16513  shlibpath_overrides_runpath=no
16514  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16515  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16516  hardcode_into_libs=yes
16517  ;;
16518
16519# No shared lib support for Linux oldld, aout, or coff.
16520linux*oldld* | linux*aout* | linux*coff*)
16521  dynamic_linker=no
16522  ;;
16523
16524# This must be Linux ELF.
16525linux* | k*bsd*-gnu)
16526  version_type=linux
16527  need_lib_prefix=no
16528  need_version=no
16529  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16530  soname_spec='${libname}${release}${shared_ext}$major'
16531  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16532  shlibpath_var=LD_LIBRARY_PATH
16533  shlibpath_overrides_runpath=no
16534  # This implies no fast_install, which is unacceptable.
16535  # Some rework will be needed to allow for fast_install
16536  # before this can be enabled.
16537  hardcode_into_libs=yes
16538  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16539  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16540
16541  # Append ld.so.conf contents to the search path
16542  if test -f /etc/ld.so.conf; then
16543    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;/^$/d' | tr '\n' ' '`
16544    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16545  fi
16546
16547  # We used to test for /lib/ld.so.1 and disable shared libraries on
16548  # powerpc, because MkLinux only supported shared libraries with the
16549  # GNU dynamic linker.  Since this was broken with cross compilers,
16550  # most powerpc-linux boxes support dynamic linking these days and
16551  # people can always --disable-shared, the test was removed, and we
16552  # assume the GNU/Linux dynamic linker is in use.
16553  dynamic_linker='GNU/Linux ld.so'
16554  ;;
16555
16556netbsd*)
16557  version_type=sunos
16558  need_lib_prefix=no
16559  need_version=no
16560  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16561    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16562    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16563    dynamic_linker='NetBSD (a.out) ld.so'
16564  else
16565    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16566    soname_spec='${libname}${release}${shared_ext}$major'
16567    dynamic_linker='NetBSD ld.elf_so'
16568  fi
16569  shlibpath_var=LD_LIBRARY_PATH
16570  shlibpath_overrides_runpath=yes
16571  hardcode_into_libs=yes
16572  ;;
16573
16574newsos6)
16575  version_type=linux
16576  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16577  shlibpath_var=LD_LIBRARY_PATH
16578  shlibpath_overrides_runpath=yes
16579  ;;
16580
16581nto-qnx*)
16582  version_type=linux
16583  need_lib_prefix=no
16584  need_version=no
16585  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16586  soname_spec='${libname}${release}${shared_ext}$major'
16587  shlibpath_var=LD_LIBRARY_PATH
16588  shlibpath_overrides_runpath=yes
16589  ;;
16590
16591openbsd*)
16592  version_type=sunos
16593  sys_lib_dlsearch_path_spec="/usr/lib"
16594  need_lib_prefix=no
16595  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16596  case $host_os in
16597    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16598    *)                         need_version=no  ;;
16599  esac
16600  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16601  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16602  shlibpath_var=LD_LIBRARY_PATH
16603  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16604    case $host_os in
16605      openbsd2.[89] | openbsd2.[89].*)
16606	shlibpath_overrides_runpath=no
16607	;;
16608      *)
16609	shlibpath_overrides_runpath=yes
16610	;;
16611      esac
16612  else
16613    shlibpath_overrides_runpath=yes
16614  fi
16615  ;;
16616
16617os2*)
16618  libname_spec='$name'
16619  shrext_cmds=".dll"
16620  need_lib_prefix=no
16621  library_names_spec='$libname${shared_ext} $libname.a'
16622  dynamic_linker='OS/2 ld.exe'
16623  shlibpath_var=LIBPATH
16624  ;;
16625
16626osf3* | osf4* | osf5*)
16627  version_type=osf
16628  need_lib_prefix=no
16629  need_version=no
16630  soname_spec='${libname}${release}${shared_ext}$major'
16631  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16632  shlibpath_var=LD_LIBRARY_PATH
16633  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16634  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16635  ;;
16636
16637rdos*)
16638  dynamic_linker=no
16639  ;;
16640
16641solaris*)
16642  version_type=linux
16643  need_lib_prefix=no
16644  need_version=no
16645  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16646  soname_spec='${libname}${release}${shared_ext}$major'
16647  shlibpath_var=LD_LIBRARY_PATH
16648  shlibpath_overrides_runpath=yes
16649  hardcode_into_libs=yes
16650  # ldd complains unless libraries are executable
16651  postinstall_cmds='chmod +x $lib'
16652  ;;
16653
16654sunos4*)
16655  version_type=sunos
16656  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16657  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16658  shlibpath_var=LD_LIBRARY_PATH
16659  shlibpath_overrides_runpath=yes
16660  if test "$with_gnu_ld" = yes; then
16661    need_lib_prefix=no
16662  fi
16663  need_version=yes
16664  ;;
16665
16666sysv4 | sysv4.3*)
16667  version_type=linux
16668  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16669  soname_spec='${libname}${release}${shared_ext}$major'
16670  shlibpath_var=LD_LIBRARY_PATH
16671  case $host_vendor in
16672    sni)
16673      shlibpath_overrides_runpath=no
16674      need_lib_prefix=no
16675      export_dynamic_flag_spec='${wl}-Blargedynsym'
16676      runpath_var=LD_RUN_PATH
16677      ;;
16678    siemens)
16679      need_lib_prefix=no
16680      ;;
16681    motorola)
16682      need_lib_prefix=no
16683      need_version=no
16684      shlibpath_overrides_runpath=no
16685      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16686      ;;
16687  esac
16688  ;;
16689
16690sysv4*MP*)
16691  if test -d /usr/nec ;then
16692    version_type=linux
16693    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16694    soname_spec='$libname${shared_ext}.$major'
16695    shlibpath_var=LD_LIBRARY_PATH
16696  fi
16697  ;;
16698
16699sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16700  version_type=freebsd-elf
16701  need_lib_prefix=no
16702  need_version=no
16703  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16704  soname_spec='${libname}${release}${shared_ext}$major'
16705  shlibpath_var=LD_LIBRARY_PATH
16706  hardcode_into_libs=yes
16707  if test "$with_gnu_ld" = yes; then
16708    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16709    shlibpath_overrides_runpath=no
16710  else
16711    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16712    shlibpath_overrides_runpath=yes
16713    case $host_os in
16714      sco3.2v5*)
16715        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16716	;;
16717    esac
16718  fi
16719  sys_lib_dlsearch_path_spec='/usr/lib'
16720  ;;
16721
16722uts4*)
16723  version_type=linux
16724  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16725  soname_spec='${libname}${release}${shared_ext}$major'
16726  shlibpath_var=LD_LIBRARY_PATH
16727  ;;
16728
16729*)
16730  dynamic_linker=no
16731  ;;
16732esac
16733{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16734echo "${ECHO_T}$dynamic_linker" >&6; }
16735test "$dynamic_linker" = no && can_build_shared=no
16736
16737variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16738if test "$GCC" = yes; then
16739  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16740fi
16741
16742{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16743echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16744hardcode_action_F77=
16745if test -n "$hardcode_libdir_flag_spec_F77" || \
16746   test -n "$runpath_var_F77" || \
16747   test "X$hardcode_automatic_F77" = "Xyes" ; then
16748
16749  # We can hardcode non-existant directories.
16750  if test "$hardcode_direct_F77" != no &&
16751     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16752     # have to relink, otherwise we might link with an installed library
16753     # when we should be linking with a yet-to-be-installed one
16754     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16755     test "$hardcode_minus_L_F77" != no; then
16756    # Linking always hardcodes the temporary library directory.
16757    hardcode_action_F77=relink
16758  else
16759    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16760    hardcode_action_F77=immediate
16761  fi
16762else
16763  # We cannot hardcode anything, or else we can only hardcode existing
16764  # directories.
16765  hardcode_action_F77=unsupported
16766fi
16767{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16768echo "${ECHO_T}$hardcode_action_F77" >&6; }
16769
16770if test "$hardcode_action_F77" = relink; then
16771  # Fast installation is not supported
16772  enable_fast_install=no
16773elif test "$shlibpath_overrides_runpath" = yes ||
16774     test "$enable_shared" = no; then
16775  # Fast installation is not necessary
16776  enable_fast_install=needless
16777fi
16778
16779
16780# The else clause should only fire when bootstrapping the
16781# libtool distribution, otherwise you forgot to ship ltmain.sh
16782# with your package, and you will get complaints that there are
16783# no rules to generate ltmain.sh.
16784if test -f "$ltmain"; then
16785  # See if we are running on zsh, and set the options which allow our commands through
16786  # without removal of \ escapes.
16787  if test -n "${ZSH_VERSION+set}" ; then
16788    setopt NO_GLOB_SUBST
16789  fi
16790  # Now quote all the things that may contain metacharacters while being
16791  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16792  # variables and quote the copies for generation of the libtool script.
16793  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16794    SED SHELL STRIP \
16795    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16796    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16797    deplibs_check_method reload_flag reload_cmds need_locks \
16798    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16799    lt_cv_sys_global_symbol_to_c_name_address \
16800    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16801    old_postinstall_cmds old_postuninstall_cmds \
16802    compiler_F77 \
16803    CC_F77 \
16804    LD_F77 \
16805    lt_prog_compiler_wl_F77 \
16806    lt_prog_compiler_pic_F77 \
16807    lt_prog_compiler_static_F77 \
16808    lt_prog_compiler_no_builtin_flag_F77 \
16809    export_dynamic_flag_spec_F77 \
16810    thread_safe_flag_spec_F77 \
16811    whole_archive_flag_spec_F77 \
16812    enable_shared_with_static_runtimes_F77 \
16813    old_archive_cmds_F77 \
16814    old_archive_from_new_cmds_F77 \
16815    predep_objects_F77 \
16816    postdep_objects_F77 \
16817    predeps_F77 \
16818    postdeps_F77 \
16819    compiler_lib_search_path_F77 \
16820    archive_cmds_F77 \
16821    archive_expsym_cmds_F77 \
16822    postinstall_cmds_F77 \
16823    postuninstall_cmds_F77 \
16824    old_archive_from_expsyms_cmds_F77 \
16825    allow_undefined_flag_F77 \
16826    no_undefined_flag_F77 \
16827    export_symbols_cmds_F77 \
16828    hardcode_libdir_flag_spec_F77 \
16829    hardcode_libdir_flag_spec_ld_F77 \
16830    hardcode_libdir_separator_F77 \
16831    hardcode_automatic_F77 \
16832    module_cmds_F77 \
16833    module_expsym_cmds_F77 \
16834    lt_cv_prog_compiler_c_o_F77 \
16835    fix_srcfile_path_F77 \
16836    exclude_expsyms_F77 \
16837    include_expsyms_F77; do
16838
16839    case $var in
16840    old_archive_cmds_F77 | \
16841    old_archive_from_new_cmds_F77 | \
16842    archive_cmds_F77 | \
16843    archive_expsym_cmds_F77 | \
16844    module_cmds_F77 | \
16845    module_expsym_cmds_F77 | \
16846    old_archive_from_expsyms_cmds_F77 | \
16847    export_symbols_cmds_F77 | \
16848    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16849    postinstall_cmds | postuninstall_cmds | \
16850    old_postinstall_cmds | old_postuninstall_cmds | \
16851    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16852      # Double-quote double-evaled strings.
16853      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16854      ;;
16855    *)
16856      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16857      ;;
16858    esac
16859  done
16860
16861  case $lt_echo in
16862  *'\$0 --fallback-echo"')
16863    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16864    ;;
16865  esac
16866
16867cfgfile="$ofile"
16868
16869  cat <<__EOF__ >> "$cfgfile"
16870# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16871
16872# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16873
16874# Shell to use when invoking shell scripts.
16875SHELL=$lt_SHELL
16876
16877# Whether or not to build shared libraries.
16878build_libtool_libs=$enable_shared
16879
16880# Whether or not to build static libraries.
16881build_old_libs=$enable_static
16882
16883# Whether or not to add -lc for building shared libraries.
16884build_libtool_need_lc=$archive_cmds_need_lc_F77
16885
16886# Whether or not to disallow shared libs when runtime libs are static
16887allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16888
16889# Whether or not to optimize for fast installation.
16890fast_install=$enable_fast_install
16891
16892# The host system.
16893host_alias=$host_alias
16894host=$host
16895host_os=$host_os
16896
16897# The build system.
16898build_alias=$build_alias
16899build=$build
16900build_os=$build_os
16901
16902# An echo program that does not interpret backslashes.
16903echo=$lt_echo
16904
16905# The archiver.
16906AR=$lt_AR
16907AR_FLAGS=$lt_AR_FLAGS
16908
16909# A C compiler.
16910LTCC=$lt_LTCC
16911
16912# LTCC compiler flags.
16913LTCFLAGS=$lt_LTCFLAGS
16914
16915# A language-specific compiler.
16916CC=$lt_compiler_F77
16917
16918# Is the compiler the GNU C compiler?
16919with_gcc=$GCC_F77
16920
16921# An ERE matcher.
16922EGREP=$lt_EGREP
16923
16924# The linker used to build libraries.
16925LD=$lt_LD_F77
16926
16927# Whether we need hard or soft links.
16928LN_S=$lt_LN_S
16929
16930# A BSD-compatible nm program.
16931NM=$lt_NM
16932
16933# A symbol stripping program
16934STRIP=$lt_STRIP
16935
16936# Used to examine libraries when file_magic_cmd begins "file"
16937MAGIC_CMD=$MAGIC_CMD
16938
16939# Used on cygwin: DLL creation program.
16940DLLTOOL="$DLLTOOL"
16941
16942# Used on cygwin: object dumper.
16943OBJDUMP="$OBJDUMP"
16944
16945# Used on cygwin: assembler.
16946AS="$AS"
16947
16948# The name of the directory that contains temporary libtool files.
16949objdir=$objdir
16950
16951# How to create reloadable object files.
16952reload_flag=$lt_reload_flag
16953reload_cmds=$lt_reload_cmds
16954
16955# How to pass a linker flag through the compiler.
16956wl=$lt_lt_prog_compiler_wl_F77
16957
16958# Object file suffix (normally "o").
16959objext="$ac_objext"
16960
16961# Old archive suffix (normally "a").
16962libext="$libext"
16963
16964# Shared library suffix (normally ".so").
16965shrext_cmds='$shrext_cmds'
16966
16967# Executable file suffix (normally "").
16968exeext="$exeext"
16969
16970# Additional compiler flags for building library objects.
16971pic_flag=$lt_lt_prog_compiler_pic_F77
16972pic_mode=$pic_mode
16973
16974# What is the maximum length of a command?
16975max_cmd_len=$lt_cv_sys_max_cmd_len
16976
16977# Does compiler simultaneously support -c and -o options?
16978compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16979
16980# Must we lock files when doing compilation?
16981need_locks=$lt_need_locks
16982
16983# Do we need the lib prefix for modules?
16984need_lib_prefix=$need_lib_prefix
16985
16986# Do we need a version for libraries?
16987need_version=$need_version
16988
16989# Whether dlopen is supported.
16990dlopen_support=$enable_dlopen
16991
16992# Whether dlopen of programs is supported.
16993dlopen_self=$enable_dlopen_self
16994
16995# Whether dlopen of statically linked programs is supported.
16996dlopen_self_static=$enable_dlopen_self_static
16997
16998# Compiler flag to prevent dynamic linking.
16999link_static_flag=$lt_lt_prog_compiler_static_F77
17000
17001# Compiler flag to turn off builtin functions.
17002no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17003
17004# Compiler flag to allow reflexive dlopens.
17005export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17006
17007# Compiler flag to generate shared objects directly from archives.
17008whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17009
17010# Compiler flag to generate thread-safe objects.
17011thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17012
17013# Library versioning type.
17014version_type=$version_type
17015
17016# Format of library name prefix.
17017libname_spec=$lt_libname_spec
17018
17019# List of archive names.  First name is the real one, the rest are links.
17020# The last name is the one that the linker finds with -lNAME.
17021library_names_spec=$lt_library_names_spec
17022
17023# The coded name of the library, if different from the real name.
17024soname_spec=$lt_soname_spec
17025
17026# Commands used to build and install an old-style archive.
17027RANLIB=$lt_RANLIB
17028old_archive_cmds=$lt_old_archive_cmds_F77
17029old_postinstall_cmds=$lt_old_postinstall_cmds
17030old_postuninstall_cmds=$lt_old_postuninstall_cmds
17031
17032# Create an old-style archive from a shared archive.
17033old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17034
17035# Create a temporary old-style archive to link instead of a shared archive.
17036old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17037
17038# Commands used to build and install a shared archive.
17039archive_cmds=$lt_archive_cmds_F77
17040archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17041postinstall_cmds=$lt_postinstall_cmds
17042postuninstall_cmds=$lt_postuninstall_cmds
17043
17044# Commands used to build a loadable module (assumed same as above if empty)
17045module_cmds=$lt_module_cmds_F77
17046module_expsym_cmds=$lt_module_expsym_cmds_F77
17047
17048# Commands to strip libraries.
17049old_striplib=$lt_old_striplib
17050striplib=$lt_striplib
17051
17052# Dependencies to place before the objects being linked to create a
17053# shared library.
17054predep_objects=$lt_predep_objects_F77
17055
17056# Dependencies to place after the objects being linked to create a
17057# shared library.
17058postdep_objects=$lt_postdep_objects_F77
17059
17060# Dependencies to place before the objects being linked to create a
17061# shared library.
17062predeps=$lt_predeps_F77
17063
17064# Dependencies to place after the objects being linked to create a
17065# shared library.
17066postdeps=$lt_postdeps_F77
17067
17068# The library search path used internally by the compiler when linking
17069# a shared library.
17070compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17071
17072# Method to check whether dependent libraries are shared objects.
17073deplibs_check_method=$lt_deplibs_check_method
17074
17075# Command to use when deplibs_check_method == file_magic.
17076file_magic_cmd=$lt_file_magic_cmd
17077
17078# Flag that allows shared libraries with undefined symbols to be built.
17079allow_undefined_flag=$lt_allow_undefined_flag_F77
17080
17081# Flag that forces no undefined symbols.
17082no_undefined_flag=$lt_no_undefined_flag_F77
17083
17084# Commands used to finish a libtool library installation in a directory.
17085finish_cmds=$lt_finish_cmds
17086
17087# Same as above, but a single script fragment to be evaled but not shown.
17088finish_eval=$lt_finish_eval
17089
17090# Take the output of nm and produce a listing of raw symbols and C names.
17091global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17092
17093# Transform the output of nm in a proper C declaration
17094global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17095
17096# Transform the output of nm in a C name address pair
17097global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17098
17099# This is the shared library runtime path variable.
17100runpath_var=$runpath_var
17101
17102# This is the shared library path variable.
17103shlibpath_var=$shlibpath_var
17104
17105# Is shlibpath searched before the hard-coded library search path?
17106shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17107
17108# How to hardcode a shared library path into an executable.
17109hardcode_action=$hardcode_action_F77
17110
17111# Whether we should hardcode library paths into libraries.
17112hardcode_into_libs=$hardcode_into_libs
17113
17114# Flag to hardcode \$libdir into a binary during linking.
17115# This must work even if \$libdir does not exist.
17116hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17117
17118# If ld is used when linking, flag to hardcode \$libdir into
17119# a binary during linking. This must work even if \$libdir does
17120# not exist.
17121hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17122
17123# Whether we need a single -rpath flag with a separated argument.
17124hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17125
17126# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17127# resulting binary.
17128hardcode_direct=$hardcode_direct_F77
17129
17130# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17131# resulting binary.
17132hardcode_minus_L=$hardcode_minus_L_F77
17133
17134# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17135# the resulting binary.
17136hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17137
17138# Set to yes if building a shared library automatically hardcodes DIR into the library
17139# and all subsequent libraries and executables linked against it.
17140hardcode_automatic=$hardcode_automatic_F77
17141
17142# Variables whose values should be saved in libtool wrapper scripts and
17143# restored at relink time.
17144variables_saved_for_relink="$variables_saved_for_relink"
17145
17146# Whether libtool must link a program against all its dependency libraries.
17147link_all_deplibs=$link_all_deplibs_F77
17148
17149# Compile-time system search path for libraries
17150sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17151
17152# Run-time system search path for libraries
17153sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17154
17155# Fix the shell variable \$srcfile for the compiler.
17156fix_srcfile_path=$lt_fix_srcfile_path
17157
17158# Set to yes if exported symbols are required.
17159always_export_symbols=$always_export_symbols_F77
17160
17161# The commands to list exported symbols.
17162export_symbols_cmds=$lt_export_symbols_cmds_F77
17163
17164# The commands to extract the exported symbol list from a shared archive.
17165extract_expsyms_cmds=$lt_extract_expsyms_cmds
17166
17167# Symbols that should not be listed in the preloaded symbols.
17168exclude_expsyms=$lt_exclude_expsyms_F77
17169
17170# Symbols that must always be exported.
17171include_expsyms=$lt_include_expsyms_F77
17172
17173# ### END LIBTOOL TAG CONFIG: $tagname
17174
17175__EOF__
17176
17177
17178else
17179  # If there is no Makefile yet, we rely on a make rule to execute
17180  # `config.status --recheck' to rerun these tests and create the
17181  # libtool script then.
17182  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17183  if test -f "$ltmain_in"; then
17184    test -f Makefile && make "$ltmain"
17185  fi
17186fi
17187
17188
17189ac_ext=c
17190ac_cpp='$CPP $CPPFLAGS'
17191ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17192ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17193ac_compiler_gnu=$ac_cv_c_compiler_gnu
17194
17195CC="$lt_save_CC"
17196
17197	else
17198	  tagname=""
17199	fi
17200	;;
17201
17202      GCJ)
17203	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17204
17205
17206# Source file extension for Java test sources.
17207ac_ext=java
17208
17209# Object file extension for compiled Java test sources.
17210objext=o
17211objext_GCJ=$objext
17212
17213# Code to be used in simple compile tests
17214lt_simple_compile_test_code="class foo {}"
17215
17216# Code to be used in simple link tests
17217lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17218
17219# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17220
17221# If no C compiler was specified, use CC.
17222LTCC=${LTCC-"$CC"}
17223
17224# If no C compiler flags were specified, use CFLAGS.
17225LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17226
17227# Allow CC to be a program name with arguments.
17228compiler=$CC
17229
17230
17231# save warnings/boilerplate of simple test code
17232ac_outfile=conftest.$ac_objext
17233echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17234eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17235_lt_compiler_boilerplate=`cat conftest.err`
17236$rm conftest*
17237
17238ac_outfile=conftest.$ac_objext
17239echo "$lt_simple_link_test_code" >conftest.$ac_ext
17240eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17241_lt_linker_boilerplate=`cat conftest.err`
17242$rm conftest*
17243
17244
17245# Allow CC to be a program name with arguments.
17246lt_save_CC="$CC"
17247CC=${GCJ-"gcj"}
17248compiler=$CC
17249compiler_GCJ=$CC
17250for cc_temp in $compiler""; do
17251  case $cc_temp in
17252    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17253    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17254    \-*) ;;
17255    *) break;;
17256  esac
17257done
17258cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17259
17260
17261# GCJ did not exist at the time GCC didn't implicitly link libc in.
17262archive_cmds_need_lc_GCJ=no
17263
17264old_archive_cmds_GCJ=$old_archive_cmds
17265
17266
17267lt_prog_compiler_no_builtin_flag_GCJ=
17268
17269if test "$GCC" = yes; then
17270  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17271
17272
17273{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17274echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17275if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17276  echo $ECHO_N "(cached) $ECHO_C" >&6
17277else
17278  lt_cv_prog_compiler_rtti_exceptions=no
17279  ac_outfile=conftest.$ac_objext
17280   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17281   lt_compiler_flag="-fno-rtti -fno-exceptions"
17282   # Insert the option either (1) after the last *FLAGS variable, or
17283   # (2) before a word containing "conftest.", or (3) at the end.
17284   # Note that $ac_compile itself does not contain backslashes and begins
17285   # with a dollar sign (not a hyphen), so the echo should work correctly.
17286   # The option is referenced via a variable to avoid confusing sed.
17287   lt_compile=`echo "$ac_compile" | $SED \
17288   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17289   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17290   -e 's:$: $lt_compiler_flag:'`
17291   (eval echo "\"\$as_me:17291: $lt_compile\"" >&5)
17292   (eval "$lt_compile" 2>conftest.err)
17293   ac_status=$?
17294   cat conftest.err >&5
17295   echo "$as_me:17295: \$? = $ac_status" >&5
17296   if (exit $ac_status) && test -s "$ac_outfile"; then
17297     # The compiler can only warn and ignore the option if not recognized
17298     # So say no if there are warnings other than the usual output.
17299     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17300     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17301     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17302       lt_cv_prog_compiler_rtti_exceptions=yes
17303     fi
17304   fi
17305   $rm conftest*
17306
17307fi
17308{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17309echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17310
17311if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17312    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17313else
17314    :
17315fi
17316
17317fi
17318
17319lt_prog_compiler_wl_GCJ=
17320lt_prog_compiler_pic_GCJ=
17321lt_prog_compiler_static_GCJ=
17322
17323{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17324echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17325
17326  if test "$GCC" = yes; then
17327    lt_prog_compiler_wl_GCJ='-Wl,'
17328    lt_prog_compiler_static_GCJ='-static'
17329
17330    case $host_os in
17331      aix*)
17332      # All AIX code is PIC.
17333      if test "$host_cpu" = ia64; then
17334	# AIX 5 now supports IA64 processor
17335	lt_prog_compiler_static_GCJ='-Bstatic'
17336      fi
17337      ;;
17338
17339    amigaos*)
17340      # FIXME: we need at least 68020 code to build shared libraries, but
17341      # adding the `-m68020' flag to GCC prevents building anything better,
17342      # like `-m68040'.
17343      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17344      ;;
17345
17346    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17347      # PIC is the default for these OSes.
17348      ;;
17349
17350    mingw* | cygwin* | pw32* | os2*)
17351      # This hack is so that the source file can tell whether it is being
17352      # built for inclusion in a dll (and should export symbols for example).
17353      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17354      # (--disable-auto-import) libraries
17355      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17356      ;;
17357
17358    darwin* | rhapsody*)
17359      # PIC is the default on this platform
17360      # Common symbols not allowed in MH_DYLIB files
17361      lt_prog_compiler_pic_GCJ='-fno-common'
17362      ;;
17363
17364    interix[3-9]*)
17365      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17366      # Instead, we relocate shared libraries at runtime.
17367      ;;
17368
17369    msdosdjgpp*)
17370      # Just because we use GCC doesn't mean we suddenly get shared libraries
17371      # on systems that don't support them.
17372      lt_prog_compiler_can_build_shared_GCJ=no
17373      enable_shared=no
17374      ;;
17375
17376    sysv4*MP*)
17377      if test -d /usr/nec; then
17378	lt_prog_compiler_pic_GCJ=-Kconform_pic
17379      fi
17380      ;;
17381
17382    hpux*)
17383      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17384      # not for PA HP-UX.
17385      case $host_cpu in
17386      hppa*64*|ia64*)
17387	# +Z the default
17388	;;
17389      *)
17390	lt_prog_compiler_pic_GCJ='-fPIC'
17391	;;
17392      esac
17393      ;;
17394
17395    *)
17396      lt_prog_compiler_pic_GCJ='-fPIC'
17397      ;;
17398    esac
17399  else
17400    # PORTME Check for flag to pass linker flags through the system compiler.
17401    case $host_os in
17402    aix*)
17403      lt_prog_compiler_wl_GCJ='-Wl,'
17404      if test "$host_cpu" = ia64; then
17405	# AIX 5 now supports IA64 processor
17406	lt_prog_compiler_static_GCJ='-Bstatic'
17407      else
17408	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17409      fi
17410      ;;
17411      darwin*)
17412        # PIC is the default on this platform
17413        # Common symbols not allowed in MH_DYLIB files
17414       case $cc_basename in
17415         xlc*)
17416         lt_prog_compiler_pic_GCJ='-qnocommon'
17417         lt_prog_compiler_wl_GCJ='-Wl,'
17418         ;;
17419       esac
17420       ;;
17421
17422    mingw* | cygwin* | pw32* | os2*)
17423      # This hack is so that the source file can tell whether it is being
17424      # built for inclusion in a dll (and should export symbols for example).
17425      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17426      ;;
17427
17428    hpux9* | hpux10* | hpux11*)
17429      lt_prog_compiler_wl_GCJ='-Wl,'
17430      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17431      # not for PA HP-UX.
17432      case $host_cpu in
17433      hppa*64*|ia64*)
17434	# +Z the default
17435	;;
17436      *)
17437	lt_prog_compiler_pic_GCJ='+Z'
17438	;;
17439      esac
17440      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17441      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17442      ;;
17443
17444    irix5* | irix6* | nonstopux*)
17445      lt_prog_compiler_wl_GCJ='-Wl,'
17446      # PIC (with -KPIC) is the default.
17447      lt_prog_compiler_static_GCJ='-non_shared'
17448      ;;
17449
17450    newsos6)
17451      lt_prog_compiler_pic_GCJ='-KPIC'
17452      lt_prog_compiler_static_GCJ='-Bstatic'
17453      ;;
17454
17455    linux* | k*bsd*-gnu)
17456      case $cc_basename in
17457      icc* | ecc*)
17458	lt_prog_compiler_wl_GCJ='-Wl,'
17459	lt_prog_compiler_pic_GCJ='-KPIC'
17460	lt_prog_compiler_static_GCJ='-static'
17461        ;;
17462      pgcc* | pgf77* | pgf90* | pgf95*)
17463        # Portland Group compilers (*not* the Pentium gcc compiler,
17464	# which looks to be a dead project)
17465	lt_prog_compiler_wl_GCJ='-Wl,'
17466	lt_prog_compiler_pic_GCJ='-fpic'
17467	lt_prog_compiler_static_GCJ='-Bstatic'
17468        ;;
17469      ccc*)
17470        lt_prog_compiler_wl_GCJ='-Wl,'
17471        # All Alpha code is PIC.
17472        lt_prog_compiler_static_GCJ='-non_shared'
17473        ;;
17474      *)
17475        case `$CC -V 2>&1 | sed 5q` in
17476	*Sun\ C*)
17477	  # Sun C 5.9
17478	  lt_prog_compiler_pic_GCJ='-KPIC'
17479	  lt_prog_compiler_static_GCJ='-Bstatic'
17480	  lt_prog_compiler_wl_GCJ='-Wl,'
17481	  ;;
17482	*Sun\ F*)
17483	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
17484	  lt_prog_compiler_pic_GCJ='-KPIC'
17485	  lt_prog_compiler_static_GCJ='-Bstatic'
17486	  lt_prog_compiler_wl_GCJ=''
17487	  ;;
17488	esac
17489	;;
17490      esac
17491      ;;
17492
17493    osf3* | osf4* | osf5*)
17494      lt_prog_compiler_wl_GCJ='-Wl,'
17495      # All OSF/1 code is PIC.
17496      lt_prog_compiler_static_GCJ='-non_shared'
17497      ;;
17498
17499    rdos*)
17500      lt_prog_compiler_static_GCJ='-non_shared'
17501      ;;
17502
17503    solaris*)
17504      lt_prog_compiler_pic_GCJ='-KPIC'
17505      lt_prog_compiler_static_GCJ='-Bstatic'
17506      case $cc_basename in
17507      f77* | f90* | f95*)
17508	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17509      *)
17510	lt_prog_compiler_wl_GCJ='-Wl,';;
17511      esac
17512      ;;
17513
17514    sunos4*)
17515      lt_prog_compiler_wl_GCJ='-Qoption ld '
17516      lt_prog_compiler_pic_GCJ='-PIC'
17517      lt_prog_compiler_static_GCJ='-Bstatic'
17518      ;;
17519
17520    sysv4 | sysv4.2uw2* | sysv4.3*)
17521      lt_prog_compiler_wl_GCJ='-Wl,'
17522      lt_prog_compiler_pic_GCJ='-KPIC'
17523      lt_prog_compiler_static_GCJ='-Bstatic'
17524      ;;
17525
17526    sysv4*MP*)
17527      if test -d /usr/nec ;then
17528	lt_prog_compiler_pic_GCJ='-Kconform_pic'
17529	lt_prog_compiler_static_GCJ='-Bstatic'
17530      fi
17531      ;;
17532
17533    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17534      lt_prog_compiler_wl_GCJ='-Wl,'
17535      lt_prog_compiler_pic_GCJ='-KPIC'
17536      lt_prog_compiler_static_GCJ='-Bstatic'
17537      ;;
17538
17539    unicos*)
17540      lt_prog_compiler_wl_GCJ='-Wl,'
17541      lt_prog_compiler_can_build_shared_GCJ=no
17542      ;;
17543
17544    uts4*)
17545      lt_prog_compiler_pic_GCJ='-pic'
17546      lt_prog_compiler_static_GCJ='-Bstatic'
17547      ;;
17548
17549    *)
17550      lt_prog_compiler_can_build_shared_GCJ=no
17551      ;;
17552    esac
17553  fi
17554
17555{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17556echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17557
17558#
17559# Check to make sure the PIC flag actually works.
17560#
17561if test -n "$lt_prog_compiler_pic_GCJ"; then
17562
17563{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17564echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17565if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17566  echo $ECHO_N "(cached) $ECHO_C" >&6
17567else
17568  lt_prog_compiler_pic_works_GCJ=no
17569  ac_outfile=conftest.$ac_objext
17570   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17571   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17572   # Insert the option either (1) after the last *FLAGS variable, or
17573   # (2) before a word containing "conftest.", or (3) at the end.
17574   # Note that $ac_compile itself does not contain backslashes and begins
17575   # with a dollar sign (not a hyphen), so the echo should work correctly.
17576   # The option is referenced via a variable to avoid confusing sed.
17577   lt_compile=`echo "$ac_compile" | $SED \
17578   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17579   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17580   -e 's:$: $lt_compiler_flag:'`
17581   (eval echo "\"\$as_me:17581: $lt_compile\"" >&5)
17582   (eval "$lt_compile" 2>conftest.err)
17583   ac_status=$?
17584   cat conftest.err >&5
17585   echo "$as_me:17585: \$? = $ac_status" >&5
17586   if (exit $ac_status) && test -s "$ac_outfile"; then
17587     # The compiler can only warn and ignore the option if not recognized
17588     # So say no if there are warnings other than the usual output.
17589     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17590     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17591     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17592       lt_prog_compiler_pic_works_GCJ=yes
17593     fi
17594   fi
17595   $rm conftest*
17596
17597fi
17598{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17599echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17600
17601if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17602    case $lt_prog_compiler_pic_GCJ in
17603     "" | " "*) ;;
17604     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17605     esac
17606else
17607    lt_prog_compiler_pic_GCJ=
17608     lt_prog_compiler_can_build_shared_GCJ=no
17609fi
17610
17611fi
17612case $host_os in
17613  # For platforms which do not support PIC, -DPIC is meaningless:
17614  *djgpp*)
17615    lt_prog_compiler_pic_GCJ=
17616    ;;
17617  *)
17618    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17619    ;;
17620esac
17621
17622#
17623# Check to make sure the static flag actually works.
17624#
17625wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17626{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17627echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17628if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17629  echo $ECHO_N "(cached) $ECHO_C" >&6
17630else
17631  lt_prog_compiler_static_works_GCJ=no
17632   save_LDFLAGS="$LDFLAGS"
17633   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17634   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17635   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17636     # The linker can only warn and ignore the option if not recognized
17637     # So say no if there are warnings
17638     if test -s conftest.err; then
17639       # Append any errors to the config.log.
17640       cat conftest.err 1>&5
17641       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17642       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17643       if diff conftest.exp conftest.er2 >/dev/null; then
17644         lt_prog_compiler_static_works_GCJ=yes
17645       fi
17646     else
17647       lt_prog_compiler_static_works_GCJ=yes
17648     fi
17649   fi
17650   $rm conftest*
17651   LDFLAGS="$save_LDFLAGS"
17652
17653fi
17654{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17655echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17656
17657if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
17658    :
17659else
17660    lt_prog_compiler_static_GCJ=
17661fi
17662
17663
17664{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17665echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17666if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17667  echo $ECHO_N "(cached) $ECHO_C" >&6
17668else
17669  lt_cv_prog_compiler_c_o_GCJ=no
17670   $rm -r conftest 2>/dev/null
17671   mkdir conftest
17672   cd conftest
17673   mkdir out
17674   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17675
17676   lt_compiler_flag="-o out/conftest2.$ac_objext"
17677   # Insert the option either (1) after the last *FLAGS variable, or
17678   # (2) before a word containing "conftest.", or (3) at the end.
17679   # Note that $ac_compile itself does not contain backslashes and begins
17680   # with a dollar sign (not a hyphen), so the echo should work correctly.
17681   lt_compile=`echo "$ac_compile" | $SED \
17682   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17683   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17684   -e 's:$: $lt_compiler_flag:'`
17685   (eval echo "\"\$as_me:17685: $lt_compile\"" >&5)
17686   (eval "$lt_compile" 2>out/conftest.err)
17687   ac_status=$?
17688   cat out/conftest.err >&5
17689   echo "$as_me:17689: \$? = $ac_status" >&5
17690   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17691   then
17692     # The compiler can only warn and ignore the option if not recognized
17693     # So say no if there are warnings
17694     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17695     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17696     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17697       lt_cv_prog_compiler_c_o_GCJ=yes
17698     fi
17699   fi
17700   chmod u+w . 2>&5
17701   $rm conftest*
17702   # SGI C++ compiler will create directory out/ii_files/ for
17703   # template instantiation
17704   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17705   $rm out/* && rmdir out
17706   cd ..
17707   rmdir conftest
17708   $rm conftest*
17709
17710fi
17711{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17712echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17713
17714
17715hard_links="nottested"
17716if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17717  # do not overwrite the value of need_locks provided by the user
17718  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17719echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17720  hard_links=yes
17721  $rm conftest*
17722  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17723  touch conftest.a
17724  ln conftest.a conftest.b 2>&5 || hard_links=no
17725  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17726  { echo "$as_me:$LINENO: result: $hard_links" >&5
17727echo "${ECHO_T}$hard_links" >&6; }
17728  if test "$hard_links" = no; then
17729    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17730echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17731    need_locks=warn
17732  fi
17733else
17734  need_locks=no
17735fi
17736
17737{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17738echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17739
17740  runpath_var=
17741  allow_undefined_flag_GCJ=
17742  enable_shared_with_static_runtimes_GCJ=no
17743  archive_cmds_GCJ=
17744  archive_expsym_cmds_GCJ=
17745  old_archive_From_new_cmds_GCJ=
17746  old_archive_from_expsyms_cmds_GCJ=
17747  export_dynamic_flag_spec_GCJ=
17748  whole_archive_flag_spec_GCJ=
17749  thread_safe_flag_spec_GCJ=
17750  hardcode_libdir_flag_spec_GCJ=
17751  hardcode_libdir_flag_spec_ld_GCJ=
17752  hardcode_libdir_separator_GCJ=
17753  hardcode_direct_GCJ=no
17754  hardcode_minus_L_GCJ=no
17755  hardcode_shlibpath_var_GCJ=unsupported
17756  link_all_deplibs_GCJ=unknown
17757  hardcode_automatic_GCJ=no
17758  module_cmds_GCJ=
17759  module_expsym_cmds_GCJ=
17760  always_export_symbols_GCJ=no
17761  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17762  # include_expsyms should be a list of space-separated symbols to be *always*
17763  # included in the symbol list
17764  include_expsyms_GCJ=
17765  # exclude_expsyms can be an extended regexp of symbols to exclude
17766  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17767  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17768  # as well as any symbol that contains `d'.
17769  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17770  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17771  # platforms (ab)use it in PIC code, but their linkers get confused if
17772  # the symbol is explicitly referenced.  Since portable code cannot
17773  # rely on this symbol name, it's probably fine to never include it in
17774  # preloaded symbol tables.
17775  extract_expsyms_cmds=
17776  # Just being paranoid about ensuring that cc_basename is set.
17777  for cc_temp in $compiler""; do
17778  case $cc_temp in
17779    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17780    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17781    \-*) ;;
17782    *) break;;
17783  esac
17784done
17785cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17786
17787  case $host_os in
17788  cygwin* | mingw* | pw32*)
17789    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17790    # When not using gcc, we currently assume that we are using
17791    # Microsoft Visual C++.
17792    if test "$GCC" != yes; then
17793      with_gnu_ld=no
17794    fi
17795    ;;
17796  interix*)
17797    # we just hope/assume this is gcc and not c89 (= MSVC++)
17798    with_gnu_ld=yes
17799    ;;
17800  openbsd*)
17801    with_gnu_ld=no
17802    ;;
17803  esac
17804
17805  ld_shlibs_GCJ=yes
17806  if test "$with_gnu_ld" = yes; then
17807    # If archive_cmds runs LD, not CC, wlarc should be empty
17808    wlarc='${wl}'
17809
17810    # Set some defaults for GNU ld with shared library support. These
17811    # are reset later if shared libraries are not supported. Putting them
17812    # here allows them to be overridden if necessary.
17813    runpath_var=LD_RUN_PATH
17814    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17815    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17816    # ancient GNU ld didn't support --whole-archive et. al.
17817    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17818	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17819      else
17820  	whole_archive_flag_spec_GCJ=
17821    fi
17822    supports_anon_versioning=no
17823    case `$LD -v 2>/dev/null` in
17824      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17825      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17826      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17827      *\ 2.11.*) ;; # other 2.11 versions
17828      *) supports_anon_versioning=yes ;;
17829    esac
17830
17831    # See if GNU ld supports shared libraries.
17832    case $host_os in
17833    aix3* | aix4* | aix5*)
17834      # On AIX/PPC, the GNU linker is very broken
17835      if test "$host_cpu" != ia64; then
17836	ld_shlibs_GCJ=no
17837	cat <<EOF 1>&2
17838
17839*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17840*** to be unable to reliably create shared libraries on AIX.
17841*** Therefore, libtool is disabling shared libraries support.  If you
17842*** really care for shared libraries, you may want to modify your PATH
17843*** so that a non-GNU linker is found, and then restart.
17844
17845EOF
17846      fi
17847      ;;
17848
17849    amigaos*)
17850      archive_cmds_GCJ='$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)'
17851      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17852      hardcode_minus_L_GCJ=yes
17853
17854      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17855      # that the semantics of dynamic libraries on AmigaOS, at least up
17856      # to version 4, is to share data among multiple programs linked
17857      # with the same dynamic library.  Since this doesn't match the
17858      # behavior of shared libraries on other platforms, we can't use
17859      # them.
17860      ld_shlibs_GCJ=no
17861      ;;
17862
17863    beos*)
17864      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17865	allow_undefined_flag_GCJ=unsupported
17866	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17867	# support --undefined.  This deserves some investigation.  FIXME
17868	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17869      else
17870	ld_shlibs_GCJ=no
17871      fi
17872      ;;
17873
17874    cygwin* | mingw* | pw32*)
17875      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17876      # as there is no search path for DLLs.
17877      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17878      allow_undefined_flag_GCJ=unsupported
17879      always_export_symbols_GCJ=no
17880      enable_shared_with_static_runtimes_GCJ=yes
17881      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17882
17883      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17884        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17885	# If the export-symbols file already is a .def file (1st line
17886	# is EXPORTS), use it as is; otherwise, prepend...
17887	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17888	  cp $export_symbols $output_objdir/$soname.def;
17889	else
17890	  echo EXPORTS > $output_objdir/$soname.def;
17891	  cat $export_symbols >> $output_objdir/$soname.def;
17892	fi~
17893	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17894      else
17895	ld_shlibs_GCJ=no
17896      fi
17897      ;;
17898
17899    interix[3-9]*)
17900      hardcode_direct_GCJ=no
17901      hardcode_shlibpath_var_GCJ=no
17902      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17903      export_dynamic_flag_spec_GCJ='${wl}-E'
17904      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17905      # Instead, shared libraries are loaded at an image base (0x10000000 by
17906      # default) and relocated if they conflict, which is a slow very memory
17907      # consuming and fragmenting process.  To avoid this, we pick a random,
17908      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17909      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17910      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17911      archive_expsym_cmds_GCJ='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'
17912      ;;
17913
17914    gnu* | linux* | k*bsd*-gnu)
17915      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17916	tmp_addflag=
17917	case $cc_basename,$host_cpu in
17918	pgcc*)				# Portland Group C compiler
17919	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17920	  tmp_addflag=' $pic_flag'
17921	  ;;
17922	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
17923	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17924	  tmp_addflag=' $pic_flag -Mnomain' ;;
17925	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
17926	  tmp_addflag=' -i_dynamic' ;;
17927	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
17928	  tmp_addflag=' -i_dynamic -nofor_main' ;;
17929	ifc* | ifort*)			# Intel Fortran compiler
17930	  tmp_addflag=' -nofor_main' ;;
17931	esac
17932	case `$CC -V 2>&1 | sed 5q` in
17933	*Sun\ C*)			# Sun C 5.9
17934	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17935	  tmp_sharedflag='-G' ;;
17936	*Sun\ F*)			# Sun Fortran 8.3
17937	  tmp_sharedflag='-G' ;;
17938	*)
17939	  tmp_sharedflag='-shared' ;;
17940	esac
17941	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17942
17943	if test $supports_anon_versioning = yes; then
17944	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17945  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17946  $echo "local: *; };" >> $output_objdir/$libname.ver~
17947	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17948	fi
17949      else
17950	ld_shlibs_GCJ=no
17951      fi
17952      ;;
17953
17954    netbsd*)
17955      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17956	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17957	wlarc=
17958      else
17959	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17960	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17961      fi
17962      ;;
17963
17964    solaris*)
17965      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17966	ld_shlibs_GCJ=no
17967	cat <<EOF 1>&2
17968
17969*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17970*** create shared libraries on Solaris systems.  Therefore, libtool
17971*** is disabling shared libraries support.  We urge you to upgrade GNU
17972*** binutils to release 2.9.1 or newer.  Another option is to modify
17973*** your PATH or compiler configuration so that the native linker is
17974*** used, and then restart.
17975
17976EOF
17977      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17978	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17979	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17980      else
17981	ld_shlibs_GCJ=no
17982      fi
17983      ;;
17984
17985    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17986      case `$LD -v 2>&1` in
17987        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17988	ld_shlibs_GCJ=no
17989	cat <<_LT_EOF 1>&2
17990
17991*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17992*** reliably create shared libraries on SCO systems.  Therefore, libtool
17993*** is disabling shared libraries support.  We urge you to upgrade GNU
17994*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17995*** your PATH or compiler configuration so that the native linker is
17996*** used, and then restart.
17997
17998_LT_EOF
17999	;;
18000	*)
18001	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18002	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18003	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18004	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18005	  else
18006	    ld_shlibs_GCJ=no
18007	  fi
18008	;;
18009      esac
18010      ;;
18011
18012    sunos4*)
18013      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18014      wlarc=
18015      hardcode_direct_GCJ=yes
18016      hardcode_shlibpath_var_GCJ=no
18017      ;;
18018
18019    *)
18020      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18021	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18022	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18023      else
18024	ld_shlibs_GCJ=no
18025      fi
18026      ;;
18027    esac
18028
18029    if test "$ld_shlibs_GCJ" = no; then
18030      runpath_var=
18031      hardcode_libdir_flag_spec_GCJ=
18032      export_dynamic_flag_spec_GCJ=
18033      whole_archive_flag_spec_GCJ=
18034    fi
18035  else
18036    # PORTME fill in a description of your system's linker (not GNU ld)
18037    case $host_os in
18038    aix3*)
18039      allow_undefined_flag_GCJ=unsupported
18040      always_export_symbols_GCJ=yes
18041      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
18042      # Note: this linker hardcodes the directories in LIBPATH if there
18043      # are no directories specified by -L.
18044      hardcode_minus_L_GCJ=yes
18045      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18046	# Neither direct hardcoding nor static linking is supported with a
18047	# broken collect2.
18048	hardcode_direct_GCJ=unsupported
18049      fi
18050      ;;
18051
18052    aix4* | aix5*)
18053      if test "$host_cpu" = ia64; then
18054	# On IA64, the linker does run time linking by default, so we don't
18055	# have to do anything special.
18056	aix_use_runtimelinking=no
18057	exp_sym_flag='-Bexport'
18058	no_entry_flag=""
18059      else
18060	# If we're using GNU nm, then we don't want the "-C" option.
18061	# -C means demangle to AIX nm, but means don't demangle with GNU nm
18062	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18063	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18064	else
18065	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18066	fi
18067	aix_use_runtimelinking=no
18068
18069	# Test if we are trying to use run time linking or normal
18070	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
18071	# need to do runtime linking.
18072	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18073	  for ld_flag in $LDFLAGS; do
18074  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18075  	    aix_use_runtimelinking=yes
18076  	    break
18077  	  fi
18078	  done
18079	  ;;
18080	esac
18081
18082	exp_sym_flag='-bexport'
18083	no_entry_flag='-bnoentry'
18084      fi
18085
18086      # When large executables or shared objects are built, AIX ld can
18087      # have problems creating the table of contents.  If linking a library
18088      # or program results in "error TOC overflow" add -mminimal-toc to
18089      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18090      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18091
18092      archive_cmds_GCJ=''
18093      hardcode_direct_GCJ=yes
18094      hardcode_libdir_separator_GCJ=':'
18095      link_all_deplibs_GCJ=yes
18096
18097      if test "$GCC" = yes; then
18098	case $host_os in aix4.[012]|aix4.[012].*)
18099	# We only want to do this on AIX 4.2 and lower, the check
18100	# below for broken collect2 doesn't work under 4.3+
18101	  collect2name=`${CC} -print-prog-name=collect2`
18102	  if test -f "$collect2name" && \
18103  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
18104	  then
18105  	  # We have reworked collect2
18106  	  :
18107	  else
18108  	  # We have old collect2
18109  	  hardcode_direct_GCJ=unsupported
18110  	  # It fails to find uninstalled libraries when the uninstalled
18111  	  # path is not listed in the libpath.  Setting hardcode_minus_L
18112  	  # to unsupported forces relinking
18113  	  hardcode_minus_L_GCJ=yes
18114  	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
18115  	  hardcode_libdir_separator_GCJ=
18116	  fi
18117	  ;;
18118	esac
18119	shared_flag='-shared'
18120	if test "$aix_use_runtimelinking" = yes; then
18121	  shared_flag="$shared_flag "'${wl}-G'
18122	fi
18123      else
18124	# not using gcc
18125	if test "$host_cpu" = ia64; then
18126  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18127  	# chokes on -Wl,-G. The following line is correct:
18128	  shared_flag='-G'
18129	else
18130	  if test "$aix_use_runtimelinking" = yes; then
18131	    shared_flag='${wl}-G'
18132	  else
18133	    shared_flag='${wl}-bM:SRE'
18134	  fi
18135	fi
18136      fi
18137
18138      # It seems that -bexpall does not export symbols beginning with
18139      # underscore (_), so it is better to generate a list of symbols to export.
18140      always_export_symbols_GCJ=yes
18141      if test "$aix_use_runtimelinking" = yes; then
18142	# Warning - without using the other runtime loading flags (-brtl),
18143	# -berok will link without error, but may produce a broken library.
18144	allow_undefined_flag_GCJ='-berok'
18145       # Determine the default libpath from the value encoded in an empty executable.
18146       cat >conftest.$ac_ext <<_ACEOF
18147/* confdefs.h.  */
18148_ACEOF
18149cat confdefs.h >>conftest.$ac_ext
18150cat >>conftest.$ac_ext <<_ACEOF
18151/* end confdefs.h.  */
18152
18153int
18154main ()
18155{
18156
18157  ;
18158  return 0;
18159}
18160_ACEOF
18161rm -f conftest.$ac_objext conftest$ac_exeext
18162if { (ac_try="$ac_link"
18163case "(($ac_try" in
18164  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18165  *) ac_try_echo=$ac_try;;
18166esac
18167eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18168  (eval "$ac_link") 2>conftest.er1
18169  ac_status=$?
18170  grep -v '^ *+' conftest.er1 >conftest.err
18171  rm -f conftest.er1
18172  cat conftest.err >&5
18173  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174  (exit $ac_status); } && {
18175	 test -z "$ac_c_werror_flag" ||
18176	 test ! -s conftest.err
18177       } && test -s conftest$ac_exeext &&
18178       $as_test_x conftest$ac_exeext; then
18179
18180lt_aix_libpath_sed='
18181    /Import File Strings/,/^$/ {
18182	/^0/ {
18183	    s/^0  *\(.*\)$/\1/
18184	    p
18185	}
18186    }'
18187aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18188# Check for a 64-bit object if we didn't find anything.
18189if test -z "$aix_libpath"; then
18190  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18191fi
18192else
18193  echo "$as_me: failed program was:" >&5
18194sed 's/^/| /' conftest.$ac_ext >&5
18195
18196
18197fi
18198
18199rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18200      conftest$ac_exeext conftest.$ac_ext
18201if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18202
18203       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18204	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18205       else
18206	if test "$host_cpu" = ia64; then
18207	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18208	  allow_undefined_flag_GCJ="-z nodefs"
18209	  archive_expsym_cmds_GCJ="\$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"
18210	else
18211	 # Determine the default libpath from the value encoded in an empty executable.
18212	 cat >conftest.$ac_ext <<_ACEOF
18213/* confdefs.h.  */
18214_ACEOF
18215cat confdefs.h >>conftest.$ac_ext
18216cat >>conftest.$ac_ext <<_ACEOF
18217/* end confdefs.h.  */
18218
18219int
18220main ()
18221{
18222
18223  ;
18224  return 0;
18225}
18226_ACEOF
18227rm -f conftest.$ac_objext conftest$ac_exeext
18228if { (ac_try="$ac_link"
18229case "(($ac_try" in
18230  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18231  *) ac_try_echo=$ac_try;;
18232esac
18233eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18234  (eval "$ac_link") 2>conftest.er1
18235  ac_status=$?
18236  grep -v '^ *+' conftest.er1 >conftest.err
18237  rm -f conftest.er1
18238  cat conftest.err >&5
18239  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240  (exit $ac_status); } && {
18241	 test -z "$ac_c_werror_flag" ||
18242	 test ! -s conftest.err
18243       } && test -s conftest$ac_exeext &&
18244       $as_test_x conftest$ac_exeext; then
18245
18246lt_aix_libpath_sed='
18247    /Import File Strings/,/^$/ {
18248	/^0/ {
18249	    s/^0  *\(.*\)$/\1/
18250	    p
18251	}
18252    }'
18253aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18254# Check for a 64-bit object if we didn't find anything.
18255if test -z "$aix_libpath"; then
18256  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18257fi
18258else
18259  echo "$as_me: failed program was:" >&5
18260sed 's/^/| /' conftest.$ac_ext >&5
18261
18262
18263fi
18264
18265rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18266      conftest$ac_exeext conftest.$ac_ext
18267if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18268
18269	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18270	  # Warning - without using the other run time loading flags,
18271	  # -berok will link without error, but may produce a broken library.
18272	  no_undefined_flag_GCJ=' ${wl}-bernotok'
18273	  allow_undefined_flag_GCJ=' ${wl}-berok'
18274	  # Exported symbols can be pulled into shared objects from archives
18275	  whole_archive_flag_spec_GCJ='$convenience'
18276	  archive_cmds_need_lc_GCJ=yes
18277	  # This is similar to how AIX traditionally builds its shared libraries.
18278	  archive_expsym_cmds_GCJ="\$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'
18279	fi
18280      fi
18281      ;;
18282
18283    amigaos*)
18284      archive_cmds_GCJ='$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)'
18285      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18286      hardcode_minus_L_GCJ=yes
18287      # see comment about different semantics on the GNU ld section
18288      ld_shlibs_GCJ=no
18289      ;;
18290
18291    bsdi[45]*)
18292      export_dynamic_flag_spec_GCJ=-rdynamic
18293      ;;
18294
18295    cygwin* | mingw* | pw32*)
18296      # When not using gcc, we currently assume that we are using
18297      # Microsoft Visual C++.
18298      # hardcode_libdir_flag_spec is actually meaningless, as there is
18299      # no search path for DLLs.
18300      hardcode_libdir_flag_spec_GCJ=' '
18301      allow_undefined_flag_GCJ=unsupported
18302      # Tell ltmain to make .lib files, not .a files.
18303      libext=lib
18304      # Tell ltmain to make .dll files, not .so files.
18305      shrext_cmds=".dll"
18306      # FIXME: Setting linknames here is a bad hack.
18307      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18308      # The linker will automatically build a .lib file if we build a DLL.
18309      old_archive_From_new_cmds_GCJ='true'
18310      # FIXME: Should let the user specify the lib program.
18311      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18312      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18313      enable_shared_with_static_runtimes_GCJ=yes
18314      ;;
18315
18316    darwin* | rhapsody*)
18317      case $host_os in
18318        rhapsody* | darwin1.[012])
18319         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18320         ;;
18321       *) # Darwin 1.3 on
18322         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18323           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18324         else
18325           case ${MACOSX_DEPLOYMENT_TARGET} in
18326             10.[012])
18327               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18328               ;;
18329             10.*)
18330               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18331               ;;
18332           esac
18333         fi
18334         ;;
18335      esac
18336      archive_cmds_need_lc_GCJ=no
18337      hardcode_direct_GCJ=no
18338      hardcode_automatic_GCJ=yes
18339      hardcode_shlibpath_var_GCJ=unsupported
18340      whole_archive_flag_spec_GCJ=''
18341      link_all_deplibs_GCJ=yes
18342    if test "$GCC" = yes ; then
18343    	output_verbose_link_cmd='echo'
18344        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18345      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18346      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18347      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18348      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18349    else
18350      case $cc_basename in
18351        xlc*)
18352         output_verbose_link_cmd='echo'
18353         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18354         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18355          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18356         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18357          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18358          ;;
18359       *)
18360         ld_shlibs_GCJ=no
18361          ;;
18362      esac
18363    fi
18364      ;;
18365
18366    dgux*)
18367      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18368      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18369      hardcode_shlibpath_var_GCJ=no
18370      ;;
18371
18372    freebsd1*)
18373      ld_shlibs_GCJ=no
18374      ;;
18375
18376    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18377    # support.  Future versions do this automatically, but an explicit c++rt0.o
18378    # does not break anything, and helps significantly (at the cost of a little
18379    # extra space).
18380    freebsd2.2*)
18381      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18382      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18383      hardcode_direct_GCJ=yes
18384      hardcode_shlibpath_var_GCJ=no
18385      ;;
18386
18387    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18388    freebsd2*)
18389      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18390      hardcode_direct_GCJ=yes
18391      hardcode_minus_L_GCJ=yes
18392      hardcode_shlibpath_var_GCJ=no
18393      ;;
18394
18395    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18396    freebsd* | dragonfly*)
18397      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18398      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18399      hardcode_direct_GCJ=yes
18400      hardcode_shlibpath_var_GCJ=no
18401      ;;
18402
18403    hpux9*)
18404      if test "$GCC" = yes; then
18405	archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18406      else
18407	archive_cmds_GCJ='$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'
18408      fi
18409      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18410      hardcode_libdir_separator_GCJ=:
18411      hardcode_direct_GCJ=yes
18412
18413      # hardcode_minus_L: Not really in the search PATH,
18414      # but as the default location of the library.
18415      hardcode_minus_L_GCJ=yes
18416      export_dynamic_flag_spec_GCJ='${wl}-E'
18417      ;;
18418
18419    hpux10*)
18420      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18421	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18422      else
18423	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18424      fi
18425      if test "$with_gnu_ld" = no; then
18426	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18427	hardcode_libdir_separator_GCJ=:
18428
18429	hardcode_direct_GCJ=yes
18430	export_dynamic_flag_spec_GCJ='${wl}-E'
18431
18432	# hardcode_minus_L: Not really in the search PATH,
18433	# but as the default location of the library.
18434	hardcode_minus_L_GCJ=yes
18435      fi
18436      ;;
18437
18438    hpux11*)
18439      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18440	case $host_cpu in
18441	hppa*64*)
18442	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18443	  ;;
18444	ia64*)
18445	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18446	  ;;
18447	*)
18448	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18449	  ;;
18450	esac
18451      else
18452	case $host_cpu in
18453	hppa*64*)
18454	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18455	  ;;
18456	ia64*)
18457	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18458	  ;;
18459	*)
18460	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18461	  ;;
18462	esac
18463      fi
18464      if test "$with_gnu_ld" = no; then
18465	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18466	hardcode_libdir_separator_GCJ=:
18467
18468	case $host_cpu in
18469	hppa*64*|ia64*)
18470	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18471	  hardcode_direct_GCJ=no
18472	  hardcode_shlibpath_var_GCJ=no
18473	  ;;
18474	*)
18475	  hardcode_direct_GCJ=yes
18476	  export_dynamic_flag_spec_GCJ='${wl}-E'
18477
18478	  # hardcode_minus_L: Not really in the search PATH,
18479	  # but as the default location of the library.
18480	  hardcode_minus_L_GCJ=yes
18481	  ;;
18482	esac
18483      fi
18484      ;;
18485
18486    irix5* | irix6* | nonstopux*)
18487      if test "$GCC" = yes; then
18488	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18489      else
18490	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18491	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18492      fi
18493      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18494      hardcode_libdir_separator_GCJ=:
18495      link_all_deplibs_GCJ=yes
18496      ;;
18497
18498    netbsd*)
18499      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18500	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18501      else
18502	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18503      fi
18504      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18505      hardcode_direct_GCJ=yes
18506      hardcode_shlibpath_var_GCJ=no
18507      ;;
18508
18509    newsos6)
18510      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18511      hardcode_direct_GCJ=yes
18512      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18513      hardcode_libdir_separator_GCJ=:
18514      hardcode_shlibpath_var_GCJ=no
18515      ;;
18516
18517    openbsd*)
18518      if test -f /usr/libexec/ld.so; then
18519	hardcode_direct_GCJ=yes
18520	hardcode_shlibpath_var_GCJ=no
18521	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18522	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18523	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18524	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18525	  export_dynamic_flag_spec_GCJ='${wl}-E'
18526	else
18527	  case $host_os in
18528	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18529	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18530	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
18531	     ;;
18532	   *)
18533	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18534	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18535	     ;;
18536	  esac
18537        fi
18538      else
18539	ld_shlibs_GCJ=no
18540      fi
18541      ;;
18542
18543    os2*)
18544      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18545      hardcode_minus_L_GCJ=yes
18546      allow_undefined_flag_GCJ=unsupported
18547      archive_cmds_GCJ='$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'
18548      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18549      ;;
18550
18551    osf3*)
18552      if test "$GCC" = yes; then
18553	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18554	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18555      else
18556	allow_undefined_flag_GCJ=' -expect_unresolved \*'
18557	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18558      fi
18559      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18560      hardcode_libdir_separator_GCJ=:
18561      ;;
18562
18563    osf4* | osf5*)	# as osf3* with the addition of -msym flag
18564      if test "$GCC" = yes; then
18565	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18566	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18567	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18568      else
18569	allow_undefined_flag_GCJ=' -expect_unresolved \*'
18570	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18571	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18572	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18573
18574	# Both c and cxx compiler support -rpath directly
18575	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18576      fi
18577      hardcode_libdir_separator_GCJ=:
18578      ;;
18579
18580    solaris*)
18581      no_undefined_flag_GCJ=' -z text'
18582      if test "$GCC" = yes; then
18583	wlarc='${wl}'
18584	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18585	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18586	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18587      else
18588	wlarc=''
18589	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18590	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18591  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18592      fi
18593      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18594      hardcode_shlibpath_var_GCJ=no
18595      case $host_os in
18596      solaris2.[0-5] | solaris2.[0-5].*) ;;
18597      *)
18598	# The compiler driver will combine and reorder linker options,
18599	# but understands `-z linker_flag'.  GCC discards it without `$wl',
18600	# but is careful enough not to reorder.
18601 	# Supported since Solaris 2.6 (maybe 2.5.1?)
18602	if test "$GCC" = yes; then
18603	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18604	else
18605	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18606	fi
18607	;;
18608      esac
18609      link_all_deplibs_GCJ=yes
18610      ;;
18611
18612    sunos4*)
18613      if test "x$host_vendor" = xsequent; then
18614	# Use $CC to link under sequent, because it throws in some extra .o
18615	# files that make .init and .fini sections work.
18616	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18617      else
18618	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18619      fi
18620      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18621      hardcode_direct_GCJ=yes
18622      hardcode_minus_L_GCJ=yes
18623      hardcode_shlibpath_var_GCJ=no
18624      ;;
18625
18626    sysv4)
18627      case $host_vendor in
18628	sni)
18629	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18630	  hardcode_direct_GCJ=yes # is this really true???
18631	;;
18632	siemens)
18633	  ## LD is ld it makes a PLAMLIB
18634	  ## CC just makes a GrossModule.
18635	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18636	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18637	  hardcode_direct_GCJ=no
18638        ;;
18639	motorola)
18640	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18641	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18642	;;
18643      esac
18644      runpath_var='LD_RUN_PATH'
18645      hardcode_shlibpath_var_GCJ=no
18646      ;;
18647
18648    sysv4.3*)
18649      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18650      hardcode_shlibpath_var_GCJ=no
18651      export_dynamic_flag_spec_GCJ='-Bexport'
18652      ;;
18653
18654    sysv4*MP*)
18655      if test -d /usr/nec; then
18656	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18657	hardcode_shlibpath_var_GCJ=no
18658	runpath_var=LD_RUN_PATH
18659	hardcode_runpath_var=yes
18660	ld_shlibs_GCJ=yes
18661      fi
18662      ;;
18663
18664    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18665      no_undefined_flag_GCJ='${wl}-z,text'
18666      archive_cmds_need_lc_GCJ=no
18667      hardcode_shlibpath_var_GCJ=no
18668      runpath_var='LD_RUN_PATH'
18669
18670      if test "$GCC" = yes; then
18671	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18672	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18673      else
18674	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18675	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18676      fi
18677      ;;
18678
18679    sysv5* | sco3.2v5* | sco5v6*)
18680      # Note: We can NOT use -z defs as we might desire, because we do not
18681      # link with -lc, and that would cause any symbols used from libc to
18682      # always be unresolved, which means just about no library would
18683      # ever link correctly.  If we're not using GNU ld we use -z text
18684      # though, which does catch some bad symbols but isn't as heavy-handed
18685      # as -z defs.
18686      no_undefined_flag_GCJ='${wl}-z,text'
18687      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18688      archive_cmds_need_lc_GCJ=no
18689      hardcode_shlibpath_var_GCJ=no
18690      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18691      hardcode_libdir_separator_GCJ=':'
18692      link_all_deplibs_GCJ=yes
18693      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18694      runpath_var='LD_RUN_PATH'
18695
18696      if test "$GCC" = yes; then
18697	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18698	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18699      else
18700	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18701	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18702      fi
18703      ;;
18704
18705    uts4*)
18706      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18707      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18708      hardcode_shlibpath_var_GCJ=no
18709      ;;
18710
18711    *)
18712      ld_shlibs_GCJ=no
18713      ;;
18714    esac
18715  fi
18716
18717{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18718echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18719test "$ld_shlibs_GCJ" = no && can_build_shared=no
18720
18721#
18722# Do we need to explicitly link libc?
18723#
18724case "x$archive_cmds_need_lc_GCJ" in
18725x|xyes)
18726  # Assume -lc should be added
18727  archive_cmds_need_lc_GCJ=yes
18728
18729  if test "$enable_shared" = yes && test "$GCC" = yes; then
18730    case $archive_cmds_GCJ in
18731    *'~'*)
18732      # FIXME: we may have to deal with multi-command sequences.
18733      ;;
18734    '$CC '*)
18735      # Test whether the compiler implicitly links with -lc since on some
18736      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18737      # to ld, don't add -lc before -lgcc.
18738      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18739echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18740      $rm conftest*
18741      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18742
18743      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18744  (eval $ac_compile) 2>&5
18745  ac_status=$?
18746  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747  (exit $ac_status); } 2>conftest.err; then
18748        soname=conftest
18749        lib=conftest
18750        libobjs=conftest.$ac_objext
18751        deplibs=
18752        wl=$lt_prog_compiler_wl_GCJ
18753	pic_flag=$lt_prog_compiler_pic_GCJ
18754        compiler_flags=-v
18755        linker_flags=-v
18756        verstring=
18757        output_objdir=.
18758        libname=conftest
18759        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18760        allow_undefined_flag_GCJ=
18761        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18762  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18763  ac_status=$?
18764  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765  (exit $ac_status); }
18766        then
18767	  archive_cmds_need_lc_GCJ=no
18768        else
18769	  archive_cmds_need_lc_GCJ=yes
18770        fi
18771        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18772      else
18773        cat conftest.err 1>&5
18774      fi
18775      $rm conftest*
18776      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18777echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18778      ;;
18779    esac
18780  fi
18781  ;;
18782esac
18783
18784{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18785echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18786library_names_spec=
18787libname_spec='lib$name'
18788soname_spec=
18789shrext_cmds=".so"
18790postinstall_cmds=
18791postuninstall_cmds=
18792finish_cmds=
18793finish_eval=
18794shlibpath_var=
18795shlibpath_overrides_runpath=unknown
18796version_type=none
18797dynamic_linker="$host_os ld.so"
18798sys_lib_dlsearch_path_spec="/lib /usr/lib"
18799
18800need_lib_prefix=unknown
18801hardcode_into_libs=no
18802
18803# when you set need_version to no, make sure it does not cause -set_version
18804# flags to be left without arguments
18805need_version=unknown
18806
18807case $host_os in
18808aix3*)
18809  version_type=linux
18810  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18811  shlibpath_var=LIBPATH
18812
18813  # AIX 3 has no versioning support, so we append a major version to the name.
18814  soname_spec='${libname}${release}${shared_ext}$major'
18815  ;;
18816
18817aix4* | aix5*)
18818  version_type=linux
18819  need_lib_prefix=no
18820  need_version=no
18821  hardcode_into_libs=yes
18822  if test "$host_cpu" = ia64; then
18823    # AIX 5 supports IA64
18824    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18825    shlibpath_var=LD_LIBRARY_PATH
18826  else
18827    # With GCC up to 2.95.x, collect2 would create an import file
18828    # for dependence libraries.  The import file would start with
18829    # the line `#! .'.  This would cause the generated library to
18830    # depend on `.', always an invalid library.  This was fixed in
18831    # development snapshots of GCC prior to 3.0.
18832    case $host_os in
18833      aix4 | aix4.[01] | aix4.[01].*)
18834      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18835	   echo ' yes '
18836	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18837	:
18838      else
18839	can_build_shared=no
18840      fi
18841      ;;
18842    esac
18843    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18844    # soname into executable. Probably we can add versioning support to
18845    # collect2, so additional links can be useful in future.
18846    if test "$aix_use_runtimelinking" = yes; then
18847      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18848      # instead of lib<name>.a to let people know that these are not
18849      # typical AIX shared libraries.
18850      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18851    else
18852      # We preserve .a as extension for shared libraries through AIX4.2
18853      # and later when we are not doing run time linking.
18854      library_names_spec='${libname}${release}.a $libname.a'
18855      soname_spec='${libname}${release}${shared_ext}$major'
18856    fi
18857    shlibpath_var=LIBPATH
18858  fi
18859  ;;
18860
18861amigaos*)
18862  library_names_spec='$libname.ixlibrary $libname.a'
18863  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18864  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
18865  ;;
18866
18867beos*)
18868  library_names_spec='${libname}${shared_ext}'
18869  dynamic_linker="$host_os ld.so"
18870  shlibpath_var=LIBRARY_PATH
18871  ;;
18872
18873bsdi[45]*)
18874  version_type=linux
18875  need_version=no
18876  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18877  soname_spec='${libname}${release}${shared_ext}$major'
18878  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18879  shlibpath_var=LD_LIBRARY_PATH
18880  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18881  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18882  # the default ld.so.conf also contains /usr/contrib/lib and
18883  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18884  # libtool to hard-code these into programs
18885  ;;
18886
18887cygwin* | mingw* | pw32*)
18888  version_type=windows
18889  shrext_cmds=".dll"
18890  need_version=no
18891  need_lib_prefix=no
18892
18893  case $GCC,$host_os in
18894  yes,cygwin* | yes,mingw* | yes,pw32*)
18895    library_names_spec='$libname.dll.a'
18896    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18897    postinstall_cmds='base_file=`basename \${file}`~
18898      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18899      dldir=$destdir/`dirname \$dlpath`~
18900      test -d \$dldir || mkdir -p \$dldir~
18901      $install_prog $dir/$dlname \$dldir/$dlname~
18902      chmod a+x \$dldir/$dlname'
18903    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18904      dlpath=$dir/\$dldll~
18905       $rm \$dlpath'
18906    shlibpath_overrides_runpath=yes
18907
18908    case $host_os in
18909    cygwin*)
18910      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18911      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18912      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18913      ;;
18914    mingw*)
18915      # MinGW DLLs use traditional 'lib' prefix
18916      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18917      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18918      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18919        # It is most probably a Windows format PATH printed by
18920        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18921        # path with ; separators, and with drive letters. We can handle the
18922        # drive letters (cygwin fileutils understands them), so leave them,
18923        # especially as we might pass files found there to a mingw objdump,
18924        # which wouldn't understand a cygwinified path. Ahh.
18925        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18926      else
18927        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18928      fi
18929      ;;
18930    pw32*)
18931      # pw32 DLLs use 'pw' prefix rather than 'lib'
18932      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18933      ;;
18934    esac
18935    ;;
18936
18937  *)
18938    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18939    ;;
18940  esac
18941  dynamic_linker='Win32 ld.exe'
18942  # FIXME: first we should search . and the directory the executable is in
18943  shlibpath_var=PATH
18944  ;;
18945
18946darwin* | rhapsody*)
18947  dynamic_linker="$host_os dyld"
18948  version_type=darwin
18949  need_lib_prefix=no
18950  need_version=no
18951  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18952  soname_spec='${libname}${release}${major}$shared_ext'
18953  shlibpath_overrides_runpath=yes
18954  shlibpath_var=DYLD_LIBRARY_PATH
18955  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18956
18957  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18958  ;;
18959
18960dgux*)
18961  version_type=linux
18962  need_lib_prefix=no
18963  need_version=no
18964  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18965  soname_spec='${libname}${release}${shared_ext}$major'
18966  shlibpath_var=LD_LIBRARY_PATH
18967  ;;
18968
18969freebsd1*)
18970  dynamic_linker=no
18971  ;;
18972
18973freebsd* | dragonfly*)
18974  # DragonFly does not have aout.  When/if they implement a new
18975  # versioning mechanism, adjust this.
18976  if test -x /usr/bin/objformat; then
18977    objformat=`/usr/bin/objformat`
18978  else
18979    case $host_os in
18980    freebsd[123]*) objformat=aout ;;
18981    *) objformat=elf ;;
18982    esac
18983  fi
18984  version_type=freebsd-$objformat
18985  case $version_type in
18986    freebsd-elf*)
18987      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18988      need_version=no
18989      need_lib_prefix=no
18990      ;;
18991    freebsd-*)
18992      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18993      need_version=yes
18994      ;;
18995  esac
18996  shlibpath_var=LD_LIBRARY_PATH
18997  case $host_os in
18998  freebsd2*)
18999    shlibpath_overrides_runpath=yes
19000    ;;
19001  freebsd3.[01]* | freebsdelf3.[01]*)
19002    shlibpath_overrides_runpath=yes
19003    hardcode_into_libs=yes
19004    ;;
19005  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19006  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19007    shlibpath_overrides_runpath=no
19008    hardcode_into_libs=yes
19009    ;;
19010  *) # from 4.6 on, and DragonFly
19011    shlibpath_overrides_runpath=yes
19012    hardcode_into_libs=yes
19013    ;;
19014  esac
19015  ;;
19016
19017gnu*)
19018  version_type=linux
19019  need_lib_prefix=no
19020  need_version=no
19021  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19022  soname_spec='${libname}${release}${shared_ext}$major'
19023  shlibpath_var=LD_LIBRARY_PATH
19024  hardcode_into_libs=yes
19025  ;;
19026
19027hpux9* | hpux10* | hpux11*)
19028  # Give a soname corresponding to the major version so that dld.sl refuses to
19029  # link against other versions.
19030  version_type=sunos
19031  need_lib_prefix=no
19032  need_version=no
19033  case $host_cpu in
19034  ia64*)
19035    shrext_cmds='.so'
19036    hardcode_into_libs=yes
19037    dynamic_linker="$host_os dld.so"
19038    shlibpath_var=LD_LIBRARY_PATH
19039    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19040    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19041    soname_spec='${libname}${release}${shared_ext}$major'
19042    if test "X$HPUX_IA64_MODE" = X32; then
19043      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19044    else
19045      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19046    fi
19047    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19048    ;;
19049   hppa*64*)
19050     shrext_cmds='.sl'
19051     hardcode_into_libs=yes
19052     dynamic_linker="$host_os dld.sl"
19053     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19054     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19055     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19056     soname_spec='${libname}${release}${shared_ext}$major'
19057     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19058     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19059     ;;
19060   *)
19061    shrext_cmds='.sl'
19062    dynamic_linker="$host_os dld.sl"
19063    shlibpath_var=SHLIB_PATH
19064    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19065    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19066    soname_spec='${libname}${release}${shared_ext}$major'
19067    ;;
19068  esac
19069  # HP-UX runs *really* slowly unless shared libraries are mode 555.
19070  postinstall_cmds='chmod 555 $lib'
19071  ;;
19072
19073interix[3-9]*)
19074  version_type=linux
19075  need_lib_prefix=no
19076  need_version=no
19077  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19078  soname_spec='${libname}${release}${shared_ext}$major'
19079  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19080  shlibpath_var=LD_LIBRARY_PATH
19081  shlibpath_overrides_runpath=no
19082  hardcode_into_libs=yes
19083  ;;
19084
19085irix5* | irix6* | nonstopux*)
19086  case $host_os in
19087    nonstopux*) version_type=nonstopux ;;
19088    *)
19089	if test "$lt_cv_prog_gnu_ld" = yes; then
19090		version_type=linux
19091	else
19092		version_type=irix
19093	fi ;;
19094  esac
19095  need_lib_prefix=no
19096  need_version=no
19097  soname_spec='${libname}${release}${shared_ext}$major'
19098  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19099  case $host_os in
19100  irix5* | nonstopux*)
19101    libsuff= shlibsuff=
19102    ;;
19103  *)
19104    case $LD in # libtool.m4 will add one of these switches to LD
19105    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19106      libsuff= shlibsuff= libmagic=32-bit;;
19107    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19108      libsuff=32 shlibsuff=N32 libmagic=N32;;
19109    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19110      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19111    *) libsuff= shlibsuff= libmagic=never-match;;
19112    esac
19113    ;;
19114  esac
19115  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19116  shlibpath_overrides_runpath=no
19117  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19118  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19119  hardcode_into_libs=yes
19120  ;;
19121
19122# No shared lib support for Linux oldld, aout, or coff.
19123linux*oldld* | linux*aout* | linux*coff*)
19124  dynamic_linker=no
19125  ;;
19126
19127# This must be Linux ELF.
19128linux* | k*bsd*-gnu)
19129  version_type=linux
19130  need_lib_prefix=no
19131  need_version=no
19132  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19133  soname_spec='${libname}${release}${shared_ext}$major'
19134  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19135  shlibpath_var=LD_LIBRARY_PATH
19136  shlibpath_overrides_runpath=no
19137  # This implies no fast_install, which is unacceptable.
19138  # Some rework will be needed to allow for fast_install
19139  # before this can be enabled.
19140  hardcode_into_libs=yes
19141  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19142  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19143
19144  # Append ld.so.conf contents to the search path
19145  if test -f /etc/ld.so.conf; then
19146    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;/^$/d' | tr '\n' ' '`
19147    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
19148  fi
19149
19150  # We used to test for /lib/ld.so.1 and disable shared libraries on
19151  # powerpc, because MkLinux only supported shared libraries with the
19152  # GNU dynamic linker.  Since this was broken with cross compilers,
19153  # most powerpc-linux boxes support dynamic linking these days and
19154  # people can always --disable-shared, the test was removed, and we
19155  # assume the GNU/Linux dynamic linker is in use.
19156  dynamic_linker='GNU/Linux ld.so'
19157  ;;
19158
19159netbsd*)
19160  version_type=sunos
19161  need_lib_prefix=no
19162  need_version=no
19163  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19164    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19165    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19166    dynamic_linker='NetBSD (a.out) ld.so'
19167  else
19168    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19169    soname_spec='${libname}${release}${shared_ext}$major'
19170    dynamic_linker='NetBSD ld.elf_so'
19171  fi
19172  shlibpath_var=LD_LIBRARY_PATH
19173  shlibpath_overrides_runpath=yes
19174  hardcode_into_libs=yes
19175  ;;
19176
19177newsos6)
19178  version_type=linux
19179  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19180  shlibpath_var=LD_LIBRARY_PATH
19181  shlibpath_overrides_runpath=yes
19182  ;;
19183
19184nto-qnx*)
19185  version_type=linux
19186  need_lib_prefix=no
19187  need_version=no
19188  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19189  soname_spec='${libname}${release}${shared_ext}$major'
19190  shlibpath_var=LD_LIBRARY_PATH
19191  shlibpath_overrides_runpath=yes
19192  ;;
19193
19194openbsd*)
19195  version_type=sunos
19196  sys_lib_dlsearch_path_spec="/usr/lib"
19197  need_lib_prefix=no
19198  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19199  case $host_os in
19200    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19201    *)                         need_version=no  ;;
19202  esac
19203  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19204  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19205  shlibpath_var=LD_LIBRARY_PATH
19206  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19207    case $host_os in
19208      openbsd2.[89] | openbsd2.[89].*)
19209	shlibpath_overrides_runpath=no
19210	;;
19211      *)
19212	shlibpath_overrides_runpath=yes
19213	;;
19214      esac
19215  else
19216    shlibpath_overrides_runpath=yes
19217  fi
19218  ;;
19219
19220os2*)
19221  libname_spec='$name'
19222  shrext_cmds=".dll"
19223  need_lib_prefix=no
19224  library_names_spec='$libname${shared_ext} $libname.a'
19225  dynamic_linker='OS/2 ld.exe'
19226  shlibpath_var=LIBPATH
19227  ;;
19228
19229osf3* | osf4* | osf5*)
19230  version_type=osf
19231  need_lib_prefix=no
19232  need_version=no
19233  soname_spec='${libname}${release}${shared_ext}$major'
19234  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19235  shlibpath_var=LD_LIBRARY_PATH
19236  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19237  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19238  ;;
19239
19240rdos*)
19241  dynamic_linker=no
19242  ;;
19243
19244solaris*)
19245  version_type=linux
19246  need_lib_prefix=no
19247  need_version=no
19248  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19249  soname_spec='${libname}${release}${shared_ext}$major'
19250  shlibpath_var=LD_LIBRARY_PATH
19251  shlibpath_overrides_runpath=yes
19252  hardcode_into_libs=yes
19253  # ldd complains unless libraries are executable
19254  postinstall_cmds='chmod +x $lib'
19255  ;;
19256
19257sunos4*)
19258  version_type=sunos
19259  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19260  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19261  shlibpath_var=LD_LIBRARY_PATH
19262  shlibpath_overrides_runpath=yes
19263  if test "$with_gnu_ld" = yes; then
19264    need_lib_prefix=no
19265  fi
19266  need_version=yes
19267  ;;
19268
19269sysv4 | sysv4.3*)
19270  version_type=linux
19271  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19272  soname_spec='${libname}${release}${shared_ext}$major'
19273  shlibpath_var=LD_LIBRARY_PATH
19274  case $host_vendor in
19275    sni)
19276      shlibpath_overrides_runpath=no
19277      need_lib_prefix=no
19278      export_dynamic_flag_spec='${wl}-Blargedynsym'
19279      runpath_var=LD_RUN_PATH
19280      ;;
19281    siemens)
19282      need_lib_prefix=no
19283      ;;
19284    motorola)
19285      need_lib_prefix=no
19286      need_version=no
19287      shlibpath_overrides_runpath=no
19288      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19289      ;;
19290  esac
19291  ;;
19292
19293sysv4*MP*)
19294  if test -d /usr/nec ;then
19295    version_type=linux
19296    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19297    soname_spec='$libname${shared_ext}.$major'
19298    shlibpath_var=LD_LIBRARY_PATH
19299  fi
19300  ;;
19301
19302sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19303  version_type=freebsd-elf
19304  need_lib_prefix=no
19305  need_version=no
19306  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19307  soname_spec='${libname}${release}${shared_ext}$major'
19308  shlibpath_var=LD_LIBRARY_PATH
19309  hardcode_into_libs=yes
19310  if test "$with_gnu_ld" = yes; then
19311    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19312    shlibpath_overrides_runpath=no
19313  else
19314    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19315    shlibpath_overrides_runpath=yes
19316    case $host_os in
19317      sco3.2v5*)
19318        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19319	;;
19320    esac
19321  fi
19322  sys_lib_dlsearch_path_spec='/usr/lib'
19323  ;;
19324
19325uts4*)
19326  version_type=linux
19327  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19328  soname_spec='${libname}${release}${shared_ext}$major'
19329  shlibpath_var=LD_LIBRARY_PATH
19330  ;;
19331
19332*)
19333  dynamic_linker=no
19334  ;;
19335esac
19336{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19337echo "${ECHO_T}$dynamic_linker" >&6; }
19338test "$dynamic_linker" = no && can_build_shared=no
19339
19340variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19341if test "$GCC" = yes; then
19342  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19343fi
19344
19345{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19346echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19347hardcode_action_GCJ=
19348if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19349   test -n "$runpath_var_GCJ" || \
19350   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19351
19352  # We can hardcode non-existant directories.
19353  if test "$hardcode_direct_GCJ" != no &&
19354     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19355     # have to relink, otherwise we might link with an installed library
19356     # when we should be linking with a yet-to-be-installed one
19357     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19358     test "$hardcode_minus_L_GCJ" != no; then
19359    # Linking always hardcodes the temporary library directory.
19360    hardcode_action_GCJ=relink
19361  else
19362    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19363    hardcode_action_GCJ=immediate
19364  fi
19365else
19366  # We cannot hardcode anything, or else we can only hardcode existing
19367  # directories.
19368  hardcode_action_GCJ=unsupported
19369fi
19370{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19371echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19372
19373if test "$hardcode_action_GCJ" = relink; then
19374  # Fast installation is not supported
19375  enable_fast_install=no
19376elif test "$shlibpath_overrides_runpath" = yes ||
19377     test "$enable_shared" = no; then
19378  # Fast installation is not necessary
19379  enable_fast_install=needless
19380fi
19381
19382
19383# The else clause should only fire when bootstrapping the
19384# libtool distribution, otherwise you forgot to ship ltmain.sh
19385# with your package, and you will get complaints that there are
19386# no rules to generate ltmain.sh.
19387if test -f "$ltmain"; then
19388  # See if we are running on zsh, and set the options which allow our commands through
19389  # without removal of \ escapes.
19390  if test -n "${ZSH_VERSION+set}" ; then
19391    setopt NO_GLOB_SUBST
19392  fi
19393  # Now quote all the things that may contain metacharacters while being
19394  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19395  # variables and quote the copies for generation of the libtool script.
19396  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19397    SED SHELL STRIP \
19398    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19399    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19400    deplibs_check_method reload_flag reload_cmds need_locks \
19401    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19402    lt_cv_sys_global_symbol_to_c_name_address \
19403    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19404    old_postinstall_cmds old_postuninstall_cmds \
19405    compiler_GCJ \
19406    CC_GCJ \
19407    LD_GCJ \
19408    lt_prog_compiler_wl_GCJ \
19409    lt_prog_compiler_pic_GCJ \
19410    lt_prog_compiler_static_GCJ \
19411    lt_prog_compiler_no_builtin_flag_GCJ \
19412    export_dynamic_flag_spec_GCJ \
19413    thread_safe_flag_spec_GCJ \
19414    whole_archive_flag_spec_GCJ \
19415    enable_shared_with_static_runtimes_GCJ \
19416    old_archive_cmds_GCJ \
19417    old_archive_from_new_cmds_GCJ \
19418    predep_objects_GCJ \
19419    postdep_objects_GCJ \
19420    predeps_GCJ \
19421    postdeps_GCJ \
19422    compiler_lib_search_path_GCJ \
19423    archive_cmds_GCJ \
19424    archive_expsym_cmds_GCJ \
19425    postinstall_cmds_GCJ \
19426    postuninstall_cmds_GCJ \
19427    old_archive_from_expsyms_cmds_GCJ \
19428    allow_undefined_flag_GCJ \
19429    no_undefined_flag_GCJ \
19430    export_symbols_cmds_GCJ \
19431    hardcode_libdir_flag_spec_GCJ \
19432    hardcode_libdir_flag_spec_ld_GCJ \
19433    hardcode_libdir_separator_GCJ \
19434    hardcode_automatic_GCJ \
19435    module_cmds_GCJ \
19436    module_expsym_cmds_GCJ \
19437    lt_cv_prog_compiler_c_o_GCJ \
19438    fix_srcfile_path_GCJ \
19439    exclude_expsyms_GCJ \
19440    include_expsyms_GCJ; do
19441
19442    case $var in
19443    old_archive_cmds_GCJ | \
19444    old_archive_from_new_cmds_GCJ | \
19445    archive_cmds_GCJ | \
19446    archive_expsym_cmds_GCJ | \
19447    module_cmds_GCJ | \
19448    module_expsym_cmds_GCJ | \
19449    old_archive_from_expsyms_cmds_GCJ | \
19450    export_symbols_cmds_GCJ | \
19451    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19452    postinstall_cmds | postuninstall_cmds | \
19453    old_postinstall_cmds | old_postuninstall_cmds | \
19454    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19455      # Double-quote double-evaled strings.
19456      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19457      ;;
19458    *)
19459      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19460      ;;
19461    esac
19462  done
19463
19464  case $lt_echo in
19465  *'\$0 --fallback-echo"')
19466    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19467    ;;
19468  esac
19469
19470cfgfile="$ofile"
19471
19472  cat <<__EOF__ >> "$cfgfile"
19473# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19474
19475# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19476
19477# Shell to use when invoking shell scripts.
19478SHELL=$lt_SHELL
19479
19480# Whether or not to build shared libraries.
19481build_libtool_libs=$enable_shared
19482
19483# Whether or not to build static libraries.
19484build_old_libs=$enable_static
19485
19486# Whether or not to add -lc for building shared libraries.
19487build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19488
19489# Whether or not to disallow shared libs when runtime libs are static
19490allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19491
19492# Whether or not to optimize for fast installation.
19493fast_install=$enable_fast_install
19494
19495# The host system.
19496host_alias=$host_alias
19497host=$host
19498host_os=$host_os
19499
19500# The build system.
19501build_alias=$build_alias
19502build=$build
19503build_os=$build_os
19504
19505# An echo program that does not interpret backslashes.
19506echo=$lt_echo
19507
19508# The archiver.
19509AR=$lt_AR
19510AR_FLAGS=$lt_AR_FLAGS
19511
19512# A C compiler.
19513LTCC=$lt_LTCC
19514
19515# LTCC compiler flags.
19516LTCFLAGS=$lt_LTCFLAGS
19517
19518# A language-specific compiler.
19519CC=$lt_compiler_GCJ
19520
19521# Is the compiler the GNU C compiler?
19522with_gcc=$GCC_GCJ
19523
19524# An ERE matcher.
19525EGREP=$lt_EGREP
19526
19527# The linker used to build libraries.
19528LD=$lt_LD_GCJ
19529
19530# Whether we need hard or soft links.
19531LN_S=$lt_LN_S
19532
19533# A BSD-compatible nm program.
19534NM=$lt_NM
19535
19536# A symbol stripping program
19537STRIP=$lt_STRIP
19538
19539# Used to examine libraries when file_magic_cmd begins "file"
19540MAGIC_CMD=$MAGIC_CMD
19541
19542# Used on cygwin: DLL creation program.
19543DLLTOOL="$DLLTOOL"
19544
19545# Used on cygwin: object dumper.
19546OBJDUMP="$OBJDUMP"
19547
19548# Used on cygwin: assembler.
19549AS="$AS"
19550
19551# The name of the directory that contains temporary libtool files.
19552objdir=$objdir
19553
19554# How to create reloadable object files.
19555reload_flag=$lt_reload_flag
19556reload_cmds=$lt_reload_cmds
19557
19558# How to pass a linker flag through the compiler.
19559wl=$lt_lt_prog_compiler_wl_GCJ
19560
19561# Object file suffix (normally "o").
19562objext="$ac_objext"
19563
19564# Old archive suffix (normally "a").
19565libext="$libext"
19566
19567# Shared library suffix (normally ".so").
19568shrext_cmds='$shrext_cmds'
19569
19570# Executable file suffix (normally "").
19571exeext="$exeext"
19572
19573# Additional compiler flags for building library objects.
19574pic_flag=$lt_lt_prog_compiler_pic_GCJ
19575pic_mode=$pic_mode
19576
19577# What is the maximum length of a command?
19578max_cmd_len=$lt_cv_sys_max_cmd_len
19579
19580# Does compiler simultaneously support -c and -o options?
19581compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19582
19583# Must we lock files when doing compilation?
19584need_locks=$lt_need_locks
19585
19586# Do we need the lib prefix for modules?
19587need_lib_prefix=$need_lib_prefix
19588
19589# Do we need a version for libraries?
19590need_version=$need_version
19591
19592# Whether dlopen is supported.
19593dlopen_support=$enable_dlopen
19594
19595# Whether dlopen of programs is supported.
19596dlopen_self=$enable_dlopen_self
19597
19598# Whether dlopen of statically linked programs is supported.
19599dlopen_self_static=$enable_dlopen_self_static
19600
19601# Compiler flag to prevent dynamic linking.
19602link_static_flag=$lt_lt_prog_compiler_static_GCJ
19603
19604# Compiler flag to turn off builtin functions.
19605no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19606
19607# Compiler flag to allow reflexive dlopens.
19608export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19609
19610# Compiler flag to generate shared objects directly from archives.
19611whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19612
19613# Compiler flag to generate thread-safe objects.
19614thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19615
19616# Library versioning type.
19617version_type=$version_type
19618
19619# Format of library name prefix.
19620libname_spec=$lt_libname_spec
19621
19622# List of archive names.  First name is the real one, the rest are links.
19623# The last name is the one that the linker finds with -lNAME.
19624library_names_spec=$lt_library_names_spec
19625
19626# The coded name of the library, if different from the real name.
19627soname_spec=$lt_soname_spec
19628
19629# Commands used to build and install an old-style archive.
19630RANLIB=$lt_RANLIB
19631old_archive_cmds=$lt_old_archive_cmds_GCJ
19632old_postinstall_cmds=$lt_old_postinstall_cmds
19633old_postuninstall_cmds=$lt_old_postuninstall_cmds
19634
19635# Create an old-style archive from a shared archive.
19636old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19637
19638# Create a temporary old-style archive to link instead of a shared archive.
19639old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19640
19641# Commands used to build and install a shared archive.
19642archive_cmds=$lt_archive_cmds_GCJ
19643archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19644postinstall_cmds=$lt_postinstall_cmds
19645postuninstall_cmds=$lt_postuninstall_cmds
19646
19647# Commands used to build a loadable module (assumed same as above if empty)
19648module_cmds=$lt_module_cmds_GCJ
19649module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19650
19651# Commands to strip libraries.
19652old_striplib=$lt_old_striplib
19653striplib=$lt_striplib
19654
19655# Dependencies to place before the objects being linked to create a
19656# shared library.
19657predep_objects=$lt_predep_objects_GCJ
19658
19659# Dependencies to place after the objects being linked to create a
19660# shared library.
19661postdep_objects=$lt_postdep_objects_GCJ
19662
19663# Dependencies to place before the objects being linked to create a
19664# shared library.
19665predeps=$lt_predeps_GCJ
19666
19667# Dependencies to place after the objects being linked to create a
19668# shared library.
19669postdeps=$lt_postdeps_GCJ
19670
19671# The library search path used internally by the compiler when linking
19672# a shared library.
19673compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19674
19675# Method to check whether dependent libraries are shared objects.
19676deplibs_check_method=$lt_deplibs_check_method
19677
19678# Command to use when deplibs_check_method == file_magic.
19679file_magic_cmd=$lt_file_magic_cmd
19680
19681# Flag that allows shared libraries with undefined symbols to be built.
19682allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19683
19684# Flag that forces no undefined symbols.
19685no_undefined_flag=$lt_no_undefined_flag_GCJ
19686
19687# Commands used to finish a libtool library installation in a directory.
19688finish_cmds=$lt_finish_cmds
19689
19690# Same as above, but a single script fragment to be evaled but not shown.
19691finish_eval=$lt_finish_eval
19692
19693# Take the output of nm and produce a listing of raw symbols and C names.
19694global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19695
19696# Transform the output of nm in a proper C declaration
19697global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19698
19699# Transform the output of nm in a C name address pair
19700global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19701
19702# This is the shared library runtime path variable.
19703runpath_var=$runpath_var
19704
19705# This is the shared library path variable.
19706shlibpath_var=$shlibpath_var
19707
19708# Is shlibpath searched before the hard-coded library search path?
19709shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19710
19711# How to hardcode a shared library path into an executable.
19712hardcode_action=$hardcode_action_GCJ
19713
19714# Whether we should hardcode library paths into libraries.
19715hardcode_into_libs=$hardcode_into_libs
19716
19717# Flag to hardcode \$libdir into a binary during linking.
19718# This must work even if \$libdir does not exist.
19719hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19720
19721# If ld is used when linking, flag to hardcode \$libdir into
19722# a binary during linking. This must work even if \$libdir does
19723# not exist.
19724hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19725
19726# Whether we need a single -rpath flag with a separated argument.
19727hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19728
19729# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19730# resulting binary.
19731hardcode_direct=$hardcode_direct_GCJ
19732
19733# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19734# resulting binary.
19735hardcode_minus_L=$hardcode_minus_L_GCJ
19736
19737# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19738# the resulting binary.
19739hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19740
19741# Set to yes if building a shared library automatically hardcodes DIR into the library
19742# and all subsequent libraries and executables linked against it.
19743hardcode_automatic=$hardcode_automatic_GCJ
19744
19745# Variables whose values should be saved in libtool wrapper scripts and
19746# restored at relink time.
19747variables_saved_for_relink="$variables_saved_for_relink"
19748
19749# Whether libtool must link a program against all its dependency libraries.
19750link_all_deplibs=$link_all_deplibs_GCJ
19751
19752# Compile-time system search path for libraries
19753sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19754
19755# Run-time system search path for libraries
19756sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19757
19758# Fix the shell variable \$srcfile for the compiler.
19759fix_srcfile_path=$lt_fix_srcfile_path
19760
19761# Set to yes if exported symbols are required.
19762always_export_symbols=$always_export_symbols_GCJ
19763
19764# The commands to list exported symbols.
19765export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19766
19767# The commands to extract the exported symbol list from a shared archive.
19768extract_expsyms_cmds=$lt_extract_expsyms_cmds
19769
19770# Symbols that should not be listed in the preloaded symbols.
19771exclude_expsyms=$lt_exclude_expsyms_GCJ
19772
19773# Symbols that must always be exported.
19774include_expsyms=$lt_include_expsyms_GCJ
19775
19776# ### END LIBTOOL TAG CONFIG: $tagname
19777
19778__EOF__
19779
19780
19781else
19782  # If there is no Makefile yet, we rely on a make rule to execute
19783  # `config.status --recheck' to rerun these tests and create the
19784  # libtool script then.
19785  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19786  if test -f "$ltmain_in"; then
19787    test -f Makefile && make "$ltmain"
19788  fi
19789fi
19790
19791
19792ac_ext=c
19793ac_cpp='$CPP $CPPFLAGS'
19794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19796ac_compiler_gnu=$ac_cv_c_compiler_gnu
19797
19798CC="$lt_save_CC"
19799
19800	else
19801	  tagname=""
19802	fi
19803	;;
19804
19805      RC)
19806
19807
19808# Source file extension for RC test sources.
19809ac_ext=rc
19810
19811# Object file extension for compiled RC test sources.
19812objext=o
19813objext_RC=$objext
19814
19815# Code to be used in simple compile tests
19816lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19817
19818# Code to be used in simple link tests
19819lt_simple_link_test_code="$lt_simple_compile_test_code"
19820
19821# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19822
19823# If no C compiler was specified, use CC.
19824LTCC=${LTCC-"$CC"}
19825
19826# If no C compiler flags were specified, use CFLAGS.
19827LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19828
19829# Allow CC to be a program name with arguments.
19830compiler=$CC
19831
19832
19833# save warnings/boilerplate of simple test code
19834ac_outfile=conftest.$ac_objext
19835echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19836eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19837_lt_compiler_boilerplate=`cat conftest.err`
19838$rm conftest*
19839
19840ac_outfile=conftest.$ac_objext
19841echo "$lt_simple_link_test_code" >conftest.$ac_ext
19842eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19843_lt_linker_boilerplate=`cat conftest.err`
19844$rm conftest*
19845
19846
19847# Allow CC to be a program name with arguments.
19848lt_save_CC="$CC"
19849CC=${RC-"windres"}
19850compiler=$CC
19851compiler_RC=$CC
19852for cc_temp in $compiler""; do
19853  case $cc_temp in
19854    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19855    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19856    \-*) ;;
19857    *) break;;
19858  esac
19859done
19860cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19861
19862lt_cv_prog_compiler_c_o_RC=yes
19863
19864# The else clause should only fire when bootstrapping the
19865# libtool distribution, otherwise you forgot to ship ltmain.sh
19866# with your package, and you will get complaints that there are
19867# no rules to generate ltmain.sh.
19868if test -f "$ltmain"; then
19869  # See if we are running on zsh, and set the options which allow our commands through
19870  # without removal of \ escapes.
19871  if test -n "${ZSH_VERSION+set}" ; then
19872    setopt NO_GLOB_SUBST
19873  fi
19874  # Now quote all the things that may contain metacharacters while being
19875  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19876  # variables and quote the copies for generation of the libtool script.
19877  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19878    SED SHELL STRIP \
19879    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19880    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19881    deplibs_check_method reload_flag reload_cmds need_locks \
19882    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19883    lt_cv_sys_global_symbol_to_c_name_address \
19884    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19885    old_postinstall_cmds old_postuninstall_cmds \
19886    compiler_RC \
19887    CC_RC \
19888    LD_RC \
19889    lt_prog_compiler_wl_RC \
19890    lt_prog_compiler_pic_RC \
19891    lt_prog_compiler_static_RC \
19892    lt_prog_compiler_no_builtin_flag_RC \
19893    export_dynamic_flag_spec_RC \
19894    thread_safe_flag_spec_RC \
19895    whole_archive_flag_spec_RC \
19896    enable_shared_with_static_runtimes_RC \
19897    old_archive_cmds_RC \
19898    old_archive_from_new_cmds_RC \
19899    predep_objects_RC \
19900    postdep_objects_RC \
19901    predeps_RC \
19902    postdeps_RC \
19903    compiler_lib_search_path_RC \
19904    archive_cmds_RC \
19905    archive_expsym_cmds_RC \
19906    postinstall_cmds_RC \
19907    postuninstall_cmds_RC \
19908    old_archive_from_expsyms_cmds_RC \
19909    allow_undefined_flag_RC \
19910    no_undefined_flag_RC \
19911    export_symbols_cmds_RC \
19912    hardcode_libdir_flag_spec_RC \
19913    hardcode_libdir_flag_spec_ld_RC \
19914    hardcode_libdir_separator_RC \
19915    hardcode_automatic_RC \
19916    module_cmds_RC \
19917    module_expsym_cmds_RC \
19918    lt_cv_prog_compiler_c_o_RC \
19919    fix_srcfile_path_RC \
19920    exclude_expsyms_RC \
19921    include_expsyms_RC; do
19922
19923    case $var in
19924    old_archive_cmds_RC | \
19925    old_archive_from_new_cmds_RC | \
19926    archive_cmds_RC | \
19927    archive_expsym_cmds_RC | \
19928    module_cmds_RC | \
19929    module_expsym_cmds_RC | \
19930    old_archive_from_expsyms_cmds_RC | \
19931    export_symbols_cmds_RC | \
19932    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19933    postinstall_cmds | postuninstall_cmds | \
19934    old_postinstall_cmds | old_postuninstall_cmds | \
19935    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19936      # Double-quote double-evaled strings.
19937      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19938      ;;
19939    *)
19940      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19941      ;;
19942    esac
19943  done
19944
19945  case $lt_echo in
19946  *'\$0 --fallback-echo"')
19947    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19948    ;;
19949  esac
19950
19951cfgfile="$ofile"
19952
19953  cat <<__EOF__ >> "$cfgfile"
19954# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19955
19956# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19957
19958# Shell to use when invoking shell scripts.
19959SHELL=$lt_SHELL
19960
19961# Whether or not to build shared libraries.
19962build_libtool_libs=$enable_shared
19963
19964# Whether or not to build static libraries.
19965build_old_libs=$enable_static
19966
19967# Whether or not to add -lc for building shared libraries.
19968build_libtool_need_lc=$archive_cmds_need_lc_RC
19969
19970# Whether or not to disallow shared libs when runtime libs are static
19971allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19972
19973# Whether or not to optimize for fast installation.
19974fast_install=$enable_fast_install
19975
19976# The host system.
19977host_alias=$host_alias
19978host=$host
19979host_os=$host_os
19980
19981# The build system.
19982build_alias=$build_alias
19983build=$build
19984build_os=$build_os
19985
19986# An echo program that does not interpret backslashes.
19987echo=$lt_echo
19988
19989# The archiver.
19990AR=$lt_AR
19991AR_FLAGS=$lt_AR_FLAGS
19992
19993# A C compiler.
19994LTCC=$lt_LTCC
19995
19996# LTCC compiler flags.
19997LTCFLAGS=$lt_LTCFLAGS
19998
19999# A language-specific compiler.
20000CC=$lt_compiler_RC
20001
20002# Is the compiler the GNU C compiler?
20003with_gcc=$GCC_RC
20004
20005# An ERE matcher.
20006EGREP=$lt_EGREP
20007
20008# The linker used to build libraries.
20009LD=$lt_LD_RC
20010
20011# Whether we need hard or soft links.
20012LN_S=$lt_LN_S
20013
20014# A BSD-compatible nm program.
20015NM=$lt_NM
20016
20017# A symbol stripping program
20018STRIP=$lt_STRIP
20019
20020# Used to examine libraries when file_magic_cmd begins "file"
20021MAGIC_CMD=$MAGIC_CMD
20022
20023# Used on cygwin: DLL creation program.
20024DLLTOOL="$DLLTOOL"
20025
20026# Used on cygwin: object dumper.
20027OBJDUMP="$OBJDUMP"
20028
20029# Used on cygwin: assembler.
20030AS="$AS"
20031
20032# The name of the directory that contains temporary libtool files.
20033objdir=$objdir
20034
20035# How to create reloadable object files.
20036reload_flag=$lt_reload_flag
20037reload_cmds=$lt_reload_cmds
20038
20039# How to pass a linker flag through the compiler.
20040wl=$lt_lt_prog_compiler_wl_RC
20041
20042# Object file suffix (normally "o").
20043objext="$ac_objext"
20044
20045# Old archive suffix (normally "a").
20046libext="$libext"
20047
20048# Shared library suffix (normally ".so").
20049shrext_cmds='$shrext_cmds'
20050
20051# Executable file suffix (normally "").
20052exeext="$exeext"
20053
20054# Additional compiler flags for building library objects.
20055pic_flag=$lt_lt_prog_compiler_pic_RC
20056pic_mode=$pic_mode
20057
20058# What is the maximum length of a command?
20059max_cmd_len=$lt_cv_sys_max_cmd_len
20060
20061# Does compiler simultaneously support -c and -o options?
20062compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20063
20064# Must we lock files when doing compilation?
20065need_locks=$lt_need_locks
20066
20067# Do we need the lib prefix for modules?
20068need_lib_prefix=$need_lib_prefix
20069
20070# Do we need a version for libraries?
20071need_version=$need_version
20072
20073# Whether dlopen is supported.
20074dlopen_support=$enable_dlopen
20075
20076# Whether dlopen of programs is supported.
20077dlopen_self=$enable_dlopen_self
20078
20079# Whether dlopen of statically linked programs is supported.
20080dlopen_self_static=$enable_dlopen_self_static
20081
20082# Compiler flag to prevent dynamic linking.
20083link_static_flag=$lt_lt_prog_compiler_static_RC
20084
20085# Compiler flag to turn off builtin functions.
20086no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20087
20088# Compiler flag to allow reflexive dlopens.
20089export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20090
20091# Compiler flag to generate shared objects directly from archives.
20092whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20093
20094# Compiler flag to generate thread-safe objects.
20095thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20096
20097# Library versioning type.
20098version_type=$version_type
20099
20100# Format of library name prefix.
20101libname_spec=$lt_libname_spec
20102
20103# List of archive names.  First name is the real one, the rest are links.
20104# The last name is the one that the linker finds with -lNAME.
20105library_names_spec=$lt_library_names_spec
20106
20107# The coded name of the library, if different from the real name.
20108soname_spec=$lt_soname_spec
20109
20110# Commands used to build and install an old-style archive.
20111RANLIB=$lt_RANLIB
20112old_archive_cmds=$lt_old_archive_cmds_RC
20113old_postinstall_cmds=$lt_old_postinstall_cmds
20114old_postuninstall_cmds=$lt_old_postuninstall_cmds
20115
20116# Create an old-style archive from a shared archive.
20117old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20118
20119# Create a temporary old-style archive to link instead of a shared archive.
20120old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20121
20122# Commands used to build and install a shared archive.
20123archive_cmds=$lt_archive_cmds_RC
20124archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20125postinstall_cmds=$lt_postinstall_cmds
20126postuninstall_cmds=$lt_postuninstall_cmds
20127
20128# Commands used to build a loadable module (assumed same as above if empty)
20129module_cmds=$lt_module_cmds_RC
20130module_expsym_cmds=$lt_module_expsym_cmds_RC
20131
20132# Commands to strip libraries.
20133old_striplib=$lt_old_striplib
20134striplib=$lt_striplib
20135
20136# Dependencies to place before the objects being linked to create a
20137# shared library.
20138predep_objects=$lt_predep_objects_RC
20139
20140# Dependencies to place after the objects being linked to create a
20141# shared library.
20142postdep_objects=$lt_postdep_objects_RC
20143
20144# Dependencies to place before the objects being linked to create a
20145# shared library.
20146predeps=$lt_predeps_RC
20147
20148# Dependencies to place after the objects being linked to create a
20149# shared library.
20150postdeps=$lt_postdeps_RC
20151
20152# The library search path used internally by the compiler when linking
20153# a shared library.
20154compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20155
20156# Method to check whether dependent libraries are shared objects.
20157deplibs_check_method=$lt_deplibs_check_method
20158
20159# Command to use when deplibs_check_method == file_magic.
20160file_magic_cmd=$lt_file_magic_cmd
20161
20162# Flag that allows shared libraries with undefined symbols to be built.
20163allow_undefined_flag=$lt_allow_undefined_flag_RC
20164
20165# Flag that forces no undefined symbols.
20166no_undefined_flag=$lt_no_undefined_flag_RC
20167
20168# Commands used to finish a libtool library installation in a directory.
20169finish_cmds=$lt_finish_cmds
20170
20171# Same as above, but a single script fragment to be evaled but not shown.
20172finish_eval=$lt_finish_eval
20173
20174# Take the output of nm and produce a listing of raw symbols and C names.
20175global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20176
20177# Transform the output of nm in a proper C declaration
20178global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20179
20180# Transform the output of nm in a C name address pair
20181global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20182
20183# This is the shared library runtime path variable.
20184runpath_var=$runpath_var
20185
20186# This is the shared library path variable.
20187shlibpath_var=$shlibpath_var
20188
20189# Is shlibpath searched before the hard-coded library search path?
20190shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20191
20192# How to hardcode a shared library path into an executable.
20193hardcode_action=$hardcode_action_RC
20194
20195# Whether we should hardcode library paths into libraries.
20196hardcode_into_libs=$hardcode_into_libs
20197
20198# Flag to hardcode \$libdir into a binary during linking.
20199# This must work even if \$libdir does not exist.
20200hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20201
20202# If ld is used when linking, flag to hardcode \$libdir into
20203# a binary during linking. This must work even if \$libdir does
20204# not exist.
20205hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20206
20207# Whether we need a single -rpath flag with a separated argument.
20208hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20209
20210# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20211# resulting binary.
20212hardcode_direct=$hardcode_direct_RC
20213
20214# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20215# resulting binary.
20216hardcode_minus_L=$hardcode_minus_L_RC
20217
20218# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20219# the resulting binary.
20220hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20221
20222# Set to yes if building a shared library automatically hardcodes DIR into the library
20223# and all subsequent libraries and executables linked against it.
20224hardcode_automatic=$hardcode_automatic_RC
20225
20226# Variables whose values should be saved in libtool wrapper scripts and
20227# restored at relink time.
20228variables_saved_for_relink="$variables_saved_for_relink"
20229
20230# Whether libtool must link a program against all its dependency libraries.
20231link_all_deplibs=$link_all_deplibs_RC
20232
20233# Compile-time system search path for libraries
20234sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20235
20236# Run-time system search path for libraries
20237sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20238
20239# Fix the shell variable \$srcfile for the compiler.
20240fix_srcfile_path=$lt_fix_srcfile_path
20241
20242# Set to yes if exported symbols are required.
20243always_export_symbols=$always_export_symbols_RC
20244
20245# The commands to list exported symbols.
20246export_symbols_cmds=$lt_export_symbols_cmds_RC
20247
20248# The commands to extract the exported symbol list from a shared archive.
20249extract_expsyms_cmds=$lt_extract_expsyms_cmds
20250
20251# Symbols that should not be listed in the preloaded symbols.
20252exclude_expsyms=$lt_exclude_expsyms_RC
20253
20254# Symbols that must always be exported.
20255include_expsyms=$lt_include_expsyms_RC
20256
20257# ### END LIBTOOL TAG CONFIG: $tagname
20258
20259__EOF__
20260
20261
20262else
20263  # If there is no Makefile yet, we rely on a make rule to execute
20264  # `config.status --recheck' to rerun these tests and create the
20265  # libtool script then.
20266  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20267  if test -f "$ltmain_in"; then
20268    test -f Makefile && make "$ltmain"
20269  fi
20270fi
20271
20272
20273ac_ext=c
20274ac_cpp='$CPP $CPPFLAGS'
20275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20277ac_compiler_gnu=$ac_cv_c_compiler_gnu
20278
20279CC="$lt_save_CC"
20280
20281	;;
20282
20283      *)
20284	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20285echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20286   { (exit 1); exit 1; }; }
20287	;;
20288      esac
20289
20290      # Append the new tag name to the list of available tags.
20291      if test -n "$tagname" ; then
20292      available_tags="$available_tags $tagname"
20293    fi
20294    fi
20295  done
20296  IFS="$lt_save_ifs"
20297
20298  # Now substitute the updated list of available tags.
20299  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20300    mv "${ofile}T" "$ofile"
20301    chmod +x "$ofile"
20302  else
20303    rm -f "${ofile}T"
20304    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20305echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20306   { (exit 1); exit 1; }; }
20307  fi
20308fi
20309
20310
20311
20312# This can be used to rebuild libtool when needed
20313LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20314
20315# Always use our own libtool.
20316LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20317
20318# Prevent multiple expansion
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341_cppflags="${CPPFLAGS}"
20342_ldflags="${LDFLAGS}"
20343
20344
20345# Check whether --with-c14n was given.
20346if test "${with_c14n+set}" = set; then
20347  withval=$with_c14n;
20348fi
20349
20350
20351# Check whether --with-catalog was given.
20352if test "${with_catalog+set}" = set; then
20353  withval=$with_catalog;
20354fi
20355
20356
20357# Check whether --with-debug was given.
20358if test "${with_debug+set}" = set; then
20359  withval=$with_debug;
20360fi
20361
20362
20363# Check whether --with-docbook was given.
20364if test "${with_docbook+set}" = set; then
20365  withval=$with_docbook;
20366fi
20367
20368
20369# Check whether --with-fexceptions was given.
20370if test "${with_fexceptions+set}" = set; then
20371  withval=$with_fexceptions;
20372fi
20373
20374
20375# Check whether --with-ftp was given.
20376if test "${with_ftp+set}" = set; then
20377  withval=$with_ftp;
20378fi
20379
20380
20381# Check whether --with-history was given.
20382if test "${with_history+set}" = set; then
20383  withval=$with_history;
20384fi
20385
20386
20387# Check whether --with-html was given.
20388if test "${with_html+set}" = set; then
20389  withval=$with_html;
20390fi
20391
20392
20393# Check whether --with-html-dir was given.
20394if test "${with_html_dir+set}" = set; then
20395  withval=$with_html_dir; HTML_DIR=$withval
20396else
20397  HTML_DIR='$(datadir)/doc'
20398fi
20399
20400
20401
20402# Check whether --with-html-subdir was given.
20403if test "${with_html_subdir+set}" = set; then
20404  withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"
20405else
20406  HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
20407fi
20408
20409
20410
20411# Check whether --with-http was given.
20412if test "${with_http+set}" = set; then
20413  withval=$with_http;
20414fi
20415
20416
20417# Check whether --with-iconv was given.
20418if test "${with_iconv+set}" = set; then
20419  withval=$with_iconv;
20420fi
20421
20422
20423# Check whether --with-iso8859x was given.
20424if test "${with_iso8859x+set}" = set; then
20425  withval=$with_iso8859x;
20426fi
20427
20428
20429# Check whether --with-legacy was given.
20430if test "${with_legacy+set}" = set; then
20431  withval=$with_legacy;
20432fi
20433
20434
20435# Check whether --with-mem_debug was given.
20436if test "${with_mem_debug+set}" = set; then
20437  withval=$with_mem_debug;
20438fi
20439
20440
20441# Check whether --with-minimum was given.
20442if test "${with_minimum+set}" = set; then
20443  withval=$with_minimum;
20444fi
20445
20446
20447# Check whether --with-output was given.
20448if test "${with_output+set}" = set; then
20449  withval=$with_output;
20450fi
20451
20452
20453# Check whether --with-pattern was given.
20454if test "${with_pattern+set}" = set; then
20455  withval=$with_pattern;
20456fi
20457
20458
20459# Check whether --with-push was given.
20460if test "${with_push+set}" = set; then
20461  withval=$with_push;
20462fi
20463
20464
20465# Check whether --with-python was given.
20466if test "${with_python+set}" = set; then
20467  withval=$with_python;
20468fi
20469
20470
20471# Check whether --with-reader was given.
20472if test "${with_reader+set}" = set; then
20473  withval=$with_reader;
20474fi
20475
20476
20477# Check whether --with-readline was given.
20478if test "${with_readline+set}" = set; then
20479  withval=$with_readline;
20480  if test "$withval" != "no" -a "$withval" != "yes"; then
20481    RDL_DIR=$withval
20482    CPPFLAGS="${CPPFLAGS} -I$withval/include"
20483    LDFLAGS="${LDFLAGS} -L$withval/lib"
20484  fi
20485
20486fi
20487
20488
20489# Check whether --with-regexps was given.
20490if test "${with_regexps+set}" = set; then
20491  withval=$with_regexps;
20492fi
20493
20494
20495# Check whether --with-run_debug was given.
20496if test "${with_run_debug+set}" = set; then
20497  withval=$with_run_debug;
20498fi
20499
20500
20501# Check whether --with-sax1 was given.
20502if test "${with_sax1+set}" = set; then
20503  withval=$with_sax1;
20504fi
20505
20506
20507# Check whether --with-schemas was given.
20508if test "${with_schemas+set}" = set; then
20509  withval=$with_schemas;
20510fi
20511
20512
20513# Check whether --with-schematron was given.
20514if test "${with_schematron+set}" = set; then
20515  withval=$with_schematron;
20516fi
20517
20518
20519# Check whether --with-threads was given.
20520if test "${with_threads+set}" = set; then
20521  withval=$with_threads;
20522fi
20523
20524
20525# Check whether --with-thread-alloc was given.
20526if test "${with_thread_alloc+set}" = set; then
20527  withval=$with_thread_alloc;
20528fi
20529
20530
20531# Check whether --with-tree was given.
20532if test "${with_tree+set}" = set; then
20533  withval=$with_tree;
20534fi
20535
20536
20537# Check whether --with-valid was given.
20538if test "${with_valid+set}" = set; then
20539  withval=$with_valid;
20540fi
20541
20542
20543# Check whether --with-writer was given.
20544if test "${with_writer+set}" = set; then
20545  withval=$with_writer;
20546fi
20547
20548
20549# Check whether --with-xinclude was given.
20550if test "${with_xinclude+set}" = set; then
20551  withval=$with_xinclude;
20552fi
20553
20554
20555# Check whether --with-xpath was given.
20556if test "${with_xpath+set}" = set; then
20557  withval=$with_xpath;
20558fi
20559
20560
20561# Check whether --with-xptr was given.
20562if test "${with_xptr+set}" = set; then
20563  withval=$with_xptr;
20564fi
20565
20566
20567# Check whether --with-modules was given.
20568if test "${with_modules+set}" = set; then
20569  withval=$with_modules;
20570fi
20571
20572
20573# Check whether --with-zlib was given.
20574if test "${with_zlib+set}" = set; then
20575  withval=$with_zlib;
20576  if test "$withval" != "no" -a "$withval" != "yes"; then
20577    Z_DIR=$withval
20578    CPPFLAGS="${CPPFLAGS} -I$withval/include"
20579    LDFLAGS="${LDFLAGS} -L$withval/lib"
20580  fi
20581
20582fi
20583
20584
20585# Check whether --with-coverage was given.
20586if test "${with_coverage+set}" = set; then
20587  withval=$with_coverage;
20588fi
20589
20590
20591if test "$with_schemas" = "yes"
20592then
20593    with_pattern=yes
20594    with_regexps=yes
20595fi
20596if test "$with_schematron" = "yes"
20597then
20598    with_pattern=yes
20599    with_xpath=yes
20600fi
20601if test "$with_reader" = "yes"
20602then
20603    with_push=yes
20604fi
20605if test "$with_xptr" = "yes"
20606then
20607    with_xpath=yes
20608fi
20609if test "$with_minimum" = "yes"
20610then
20611    echo "Configuring for a minimal library"
20612    if test "$with_c14n" = ""
20613    then
20614      with_c14n=no
20615    fi
20616    if test "$with_catalog" = ""
20617    then
20618      with_catalog=no
20619    fi
20620    echo So far so good!
20621    if test "$with_debug" = ""
20622    then
20623      with_debug=no
20624    fi
20625    if test "$with_docbook" = ""
20626    then
20627      with_docbook=no
20628    fi
20629    if test "$with_fexceptions" = ""
20630    then
20631      with_fexceptions=no
20632    fi
20633    if test "$with_ftp" = ""
20634    then
20635      with_ftp=no
20636    fi
20637    if test "$with_history" = ""
20638    then
20639      with_history=no
20640    fi
20641    if test "$with_html" = ""
20642    then
20643      with_html=no
20644    fi
20645    if test "$with_http" = ""
20646    then
20647      with_http=no
20648    fi
20649    if test "$with_iconv" = ""
20650    then
20651      with_iconv=no
20652    fi
20653    if test "$with_iso8859x" = ""
20654    then
20655      with_iso8859x=no
20656    fi
20657    if test "$with_legacy" = ""
20658    then
20659      with_legacy=no
20660    fi
20661    if test "$with_mem_debug" = ""
20662    then
20663      with_mem_debug=no
20664    fi
20665    if test "$with_output" = ""
20666    then
20667      with_output=no
20668    fi
20669    if test "$with_pattern" = ""
20670    then
20671      with_pattern=no
20672    fi
20673    if test "$with_push" = ""
20674    then
20675      with_push=no
20676    fi
20677    if test "$with_python" = ""
20678    then
20679      with_python=no
20680    fi
20681    if test "$with_reader" = ""
20682    then
20683      with_reader=no
20684    fi
20685    if test "$with_readline" = ""
20686    then
20687      with_readline=no
20688    fi
20689    if test "$with_regexps" = ""
20690    then
20691      with_regexps=no
20692    fi
20693    if test "$with_run_debug" = ""
20694    then
20695      with_run_debug=no
20696    fi
20697    if test "$with_sax1" = ""
20698    then
20699      with_sax1=no
20700    fi
20701    if test "$with_schemas" = ""
20702    then
20703      with_schemas=no
20704    fi
20705    if test "$with_schematron" = ""
20706    then
20707      with_schematron=no
20708    fi
20709    if test "$with_threads" = ""
20710    then
20711      with_threads=no
20712    fi
20713    if test "$with_thread_alloc" = ""
20714    then
20715      with_thread_alloc=no
20716   fi
20717    if test "$with_tree" = ""
20718    then
20719      with_tree=no
20720    fi
20721    if test "$with_valid" = ""
20722    then
20723      with_valid=no
20724    fi
20725    if test "$with_writer" = ""
20726    then
20727      with_writer=no
20728    fi
20729    if test "$with_xinclude" = ""
20730    then
20731      with_xinclude=no
20732    fi
20733    if test "$with_xpath" = ""
20734    then
20735      with_xpath=no
20736    fi
20737    if test "$with_xptr" = ""
20738    then
20739      with_xptr=no
20740    fi
20741    if test "$with_zlib" = ""
20742    then
20743      with_zlib=no
20744    fi
20745    if test "$with_modules" = ""
20746    then
20747      with_modules=no
20748    fi
20749fi
20750
20751echo Checking zlib
20752
20753
20754WITH_ZLIB=0
20755if test "$with_zlib" = "no"; then
20756    echo "Disabling compression support"
20757else
20758
20759for ac_header in zlib.h
20760do
20761as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20762if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20763  { echo "$as_me:$LINENO: checking for $ac_header" >&5
20764echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20765if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20766  echo $ECHO_N "(cached) $ECHO_C" >&6
20767fi
20768ac_res=`eval echo '${'$as_ac_Header'}'`
20769	       { echo "$as_me:$LINENO: result: $ac_res" >&5
20770echo "${ECHO_T}$ac_res" >&6; }
20771else
20772  # Is the header compilable?
20773{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20774echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20775cat >conftest.$ac_ext <<_ACEOF
20776/* confdefs.h.  */
20777_ACEOF
20778cat confdefs.h >>conftest.$ac_ext
20779cat >>conftest.$ac_ext <<_ACEOF
20780/* end confdefs.h.  */
20781$ac_includes_default
20782#include <$ac_header>
20783_ACEOF
20784rm -f conftest.$ac_objext
20785if { (ac_try="$ac_compile"
20786case "(($ac_try" in
20787  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20788  *) ac_try_echo=$ac_try;;
20789esac
20790eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20791  (eval "$ac_compile") 2>conftest.er1
20792  ac_status=$?
20793  grep -v '^ *+' conftest.er1 >conftest.err
20794  rm -f conftest.er1
20795  cat conftest.err >&5
20796  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797  (exit $ac_status); } && {
20798	 test -z "$ac_c_werror_flag" ||
20799	 test ! -s conftest.err
20800       } && test -s conftest.$ac_objext; then
20801  ac_header_compiler=yes
20802else
20803  echo "$as_me: failed program was:" >&5
20804sed 's/^/| /' conftest.$ac_ext >&5
20805
20806	ac_header_compiler=no
20807fi
20808
20809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20810{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20811echo "${ECHO_T}$ac_header_compiler" >&6; }
20812
20813# Is the header present?
20814{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20815echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20816cat >conftest.$ac_ext <<_ACEOF
20817/* confdefs.h.  */
20818_ACEOF
20819cat confdefs.h >>conftest.$ac_ext
20820cat >>conftest.$ac_ext <<_ACEOF
20821/* end confdefs.h.  */
20822#include <$ac_header>
20823_ACEOF
20824if { (ac_try="$ac_cpp conftest.$ac_ext"
20825case "(($ac_try" in
20826  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20827  *) ac_try_echo=$ac_try;;
20828esac
20829eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20830  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20831  ac_status=$?
20832  grep -v '^ *+' conftest.er1 >conftest.err
20833  rm -f conftest.er1
20834  cat conftest.err >&5
20835  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836  (exit $ac_status); } >/dev/null && {
20837	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20838	 test ! -s conftest.err
20839       }; then
20840  ac_header_preproc=yes
20841else
20842  echo "$as_me: failed program was:" >&5
20843sed 's/^/| /' conftest.$ac_ext >&5
20844
20845  ac_header_preproc=no
20846fi
20847
20848rm -f conftest.err conftest.$ac_ext
20849{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20850echo "${ECHO_T}$ac_header_preproc" >&6; }
20851
20852# So?  What about this header?
20853case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20854  yes:no: )
20855    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20856echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20857    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20858echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20859    ac_header_preproc=yes
20860    ;;
20861  no:yes:* )
20862    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20863echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20864    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20865echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20866    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20867echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20868    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20869echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20870    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20871echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20872    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20873echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20874
20875    ;;
20876esac
20877{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20878echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20879if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20880  echo $ECHO_N "(cached) $ECHO_C" >&6
20881else
20882  eval "$as_ac_Header=\$ac_header_preproc"
20883fi
20884ac_res=`eval echo '${'$as_ac_Header'}'`
20885	       { echo "$as_me:$LINENO: result: $ac_res" >&5
20886echo "${ECHO_T}$ac_res" >&6; }
20887
20888fi
20889if test `eval echo '${'$as_ac_Header'}'` = yes; then
20890  cat >>confdefs.h <<_ACEOF
20891#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20892_ACEOF
20893 { echo "$as_me:$LINENO: checking for gzread in -lz" >&5
20894echo $ECHO_N "checking for gzread in -lz... $ECHO_C" >&6; }
20895if test "${ac_cv_lib_z_gzread+set}" = set; then
20896  echo $ECHO_N "(cached) $ECHO_C" >&6
20897else
20898  ac_check_lib_save_LIBS=$LIBS
20899LIBS="-lz  $LIBS"
20900cat >conftest.$ac_ext <<_ACEOF
20901/* confdefs.h.  */
20902_ACEOF
20903cat confdefs.h >>conftest.$ac_ext
20904cat >>conftest.$ac_ext <<_ACEOF
20905/* end confdefs.h.  */
20906
20907/* Override any GCC internal prototype to avoid an error.
20908   Use char because int might match the return type of a GCC
20909   builtin and then its argument prototype would still apply.  */
20910#ifdef __cplusplus
20911extern "C"
20912#endif
20913char gzread ();
20914int
20915main ()
20916{
20917return gzread ();
20918  ;
20919  return 0;
20920}
20921_ACEOF
20922rm -f conftest.$ac_objext conftest$ac_exeext
20923if { (ac_try="$ac_link"
20924case "(($ac_try" in
20925  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20926  *) ac_try_echo=$ac_try;;
20927esac
20928eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20929  (eval "$ac_link") 2>conftest.er1
20930  ac_status=$?
20931  grep -v '^ *+' conftest.er1 >conftest.err
20932  rm -f conftest.er1
20933  cat conftest.err >&5
20934  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935  (exit $ac_status); } && {
20936	 test -z "$ac_c_werror_flag" ||
20937	 test ! -s conftest.err
20938       } && test -s conftest$ac_exeext &&
20939       $as_test_x conftest$ac_exeext; then
20940  ac_cv_lib_z_gzread=yes
20941else
20942  echo "$as_me: failed program was:" >&5
20943sed 's/^/| /' conftest.$ac_ext >&5
20944
20945	ac_cv_lib_z_gzread=no
20946fi
20947
20948rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20949      conftest$ac_exeext conftest.$ac_ext
20950LIBS=$ac_check_lib_save_LIBS
20951fi
20952{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
20953echo "${ECHO_T}$ac_cv_lib_z_gzread" >&6; }
20954if test $ac_cv_lib_z_gzread = yes; then
20955
20956
20957cat >>confdefs.h <<\_ACEOF
20958#define HAVE_LIBZ 1
20959_ACEOF
20960
20961	    WITH_ZLIB=1
20962	    if test "x${Z_DIR}" != "x"; then
20963		Z_CFLAGS="-I${Z_DIR}/include"
20964		Z_LIBS="-L${Z_DIR}/lib -lz"
20965		case ${host} in
20966		    *-*-solaris*)
20967			Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
20968			;;
20969		esac
20970	    else
20971		Z_LIBS="-lz"
20972	    fi
20973fi
20974
20975fi
20976
20977done
20978
20979fi
20980
20981
20982
20983
20984
20985CPPFLAGS=${_cppflags}
20986LDFLAGS=${_ldflags}
20987
20988echo Checking headers
20989
20990
20991
20992
20993
20994
20995ac_header_dirent=no
20996for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
20997  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20998{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
20999echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
21000if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21001  echo $ECHO_N "(cached) $ECHO_C" >&6
21002else
21003  cat >conftest.$ac_ext <<_ACEOF
21004/* confdefs.h.  */
21005_ACEOF
21006cat confdefs.h >>conftest.$ac_ext
21007cat >>conftest.$ac_ext <<_ACEOF
21008/* end confdefs.h.  */
21009#include <sys/types.h>
21010#include <$ac_hdr>
21011
21012int
21013main ()
21014{
21015if ((DIR *) 0)
21016return 0;
21017  ;
21018  return 0;
21019}
21020_ACEOF
21021rm -f conftest.$ac_objext
21022if { (ac_try="$ac_compile"
21023case "(($ac_try" in
21024  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21025  *) ac_try_echo=$ac_try;;
21026esac
21027eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21028  (eval "$ac_compile") 2>conftest.er1
21029  ac_status=$?
21030  grep -v '^ *+' conftest.er1 >conftest.err
21031  rm -f conftest.er1
21032  cat conftest.err >&5
21033  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034  (exit $ac_status); } && {
21035	 test -z "$ac_c_werror_flag" ||
21036	 test ! -s conftest.err
21037       } && test -s conftest.$ac_objext; then
21038  eval "$as_ac_Header=yes"
21039else
21040  echo "$as_me: failed program was:" >&5
21041sed 's/^/| /' conftest.$ac_ext >&5
21042
21043	eval "$as_ac_Header=no"
21044fi
21045
21046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21047fi
21048ac_res=`eval echo '${'$as_ac_Header'}'`
21049	       { echo "$as_me:$LINENO: result: $ac_res" >&5
21050echo "${ECHO_T}$ac_res" >&6; }
21051if test `eval echo '${'$as_ac_Header'}'` = yes; then
21052  cat >>confdefs.h <<_ACEOF
21053#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
21054_ACEOF
21055
21056ac_header_dirent=$ac_hdr; break
21057fi
21058
21059done
21060# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
21061if test $ac_header_dirent = dirent.h; then
21062  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
21063echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
21064if test "${ac_cv_search_opendir+set}" = set; then
21065  echo $ECHO_N "(cached) $ECHO_C" >&6
21066else
21067  ac_func_search_save_LIBS=$LIBS
21068cat >conftest.$ac_ext <<_ACEOF
21069/* confdefs.h.  */
21070_ACEOF
21071cat confdefs.h >>conftest.$ac_ext
21072cat >>conftest.$ac_ext <<_ACEOF
21073/* end confdefs.h.  */
21074
21075/* Override any GCC internal prototype to avoid an error.
21076   Use char because int might match the return type of a GCC
21077   builtin and then its argument prototype would still apply.  */
21078#ifdef __cplusplus
21079extern "C"
21080#endif
21081char opendir ();
21082int
21083main ()
21084{
21085return opendir ();
21086  ;
21087  return 0;
21088}
21089_ACEOF
21090for ac_lib in '' dir; do
21091  if test -z "$ac_lib"; then
21092    ac_res="none required"
21093  else
21094    ac_res=-l$ac_lib
21095    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21096  fi
21097  rm -f conftest.$ac_objext conftest$ac_exeext
21098if { (ac_try="$ac_link"
21099case "(($ac_try" in
21100  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21101  *) ac_try_echo=$ac_try;;
21102esac
21103eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21104  (eval "$ac_link") 2>conftest.er1
21105  ac_status=$?
21106  grep -v '^ *+' conftest.er1 >conftest.err
21107  rm -f conftest.er1
21108  cat conftest.err >&5
21109  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110  (exit $ac_status); } && {
21111	 test -z "$ac_c_werror_flag" ||
21112	 test ! -s conftest.err
21113       } && test -s conftest$ac_exeext &&
21114       $as_test_x conftest$ac_exeext; then
21115  ac_cv_search_opendir=$ac_res
21116else
21117  echo "$as_me: failed program was:" >&5
21118sed 's/^/| /' conftest.$ac_ext >&5
21119
21120
21121fi
21122
21123rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21124      conftest$ac_exeext
21125  if test "${ac_cv_search_opendir+set}" = set; then
21126  break
21127fi
21128done
21129if test "${ac_cv_search_opendir+set}" = set; then
21130  :
21131else
21132  ac_cv_search_opendir=no
21133fi
21134rm conftest.$ac_ext
21135LIBS=$ac_func_search_save_LIBS
21136fi
21137{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21138echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
21139ac_res=$ac_cv_search_opendir
21140if test "$ac_res" != no; then
21141  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21142
21143fi
21144
21145else
21146  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
21147echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
21148if test "${ac_cv_search_opendir+set}" = set; then
21149  echo $ECHO_N "(cached) $ECHO_C" >&6
21150else
21151  ac_func_search_save_LIBS=$LIBS
21152cat >conftest.$ac_ext <<_ACEOF
21153/* confdefs.h.  */
21154_ACEOF
21155cat confdefs.h >>conftest.$ac_ext
21156cat >>conftest.$ac_ext <<_ACEOF
21157/* end confdefs.h.  */
21158
21159/* Override any GCC internal prototype to avoid an error.
21160   Use char because int might match the return type of a GCC
21161   builtin and then its argument prototype would still apply.  */
21162#ifdef __cplusplus
21163extern "C"
21164#endif
21165char opendir ();
21166int
21167main ()
21168{
21169return opendir ();
21170  ;
21171  return 0;
21172}
21173_ACEOF
21174for ac_lib in '' x; do
21175  if test -z "$ac_lib"; then
21176    ac_res="none required"
21177  else
21178    ac_res=-l$ac_lib
21179    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21180  fi
21181  rm -f conftest.$ac_objext conftest$ac_exeext
21182if { (ac_try="$ac_link"
21183case "(($ac_try" in
21184  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21185  *) ac_try_echo=$ac_try;;
21186esac
21187eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21188  (eval "$ac_link") 2>conftest.er1
21189  ac_status=$?
21190  grep -v '^ *+' conftest.er1 >conftest.err
21191  rm -f conftest.er1
21192  cat conftest.err >&5
21193  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194  (exit $ac_status); } && {
21195	 test -z "$ac_c_werror_flag" ||
21196	 test ! -s conftest.err
21197       } && test -s conftest$ac_exeext &&
21198       $as_test_x conftest$ac_exeext; then
21199  ac_cv_search_opendir=$ac_res
21200else
21201  echo "$as_me: failed program was:" >&5
21202sed 's/^/| /' conftest.$ac_ext >&5
21203
21204
21205fi
21206
21207rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21208      conftest$ac_exeext
21209  if test "${ac_cv_search_opendir+set}" = set; then
21210  break
21211fi
21212done
21213if test "${ac_cv_search_opendir+set}" = set; then
21214  :
21215else
21216  ac_cv_search_opendir=no
21217fi
21218rm conftest.$ac_ext
21219LIBS=$ac_func_search_save_LIBS
21220fi
21221{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21222echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
21223ac_res=$ac_cv_search_opendir
21224if test "$ac_res" != no; then
21225  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21226
21227fi
21228
21229fi
21230
21231{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21232echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21233if test "${ac_cv_header_stdc+set}" = set; then
21234  echo $ECHO_N "(cached) $ECHO_C" >&6
21235else
21236  cat >conftest.$ac_ext <<_ACEOF
21237/* confdefs.h.  */
21238_ACEOF
21239cat confdefs.h >>conftest.$ac_ext
21240cat >>conftest.$ac_ext <<_ACEOF
21241/* end confdefs.h.  */
21242#include <stdlib.h>
21243#include <stdarg.h>
21244#include <string.h>
21245#include <float.h>
21246
21247int
21248main ()
21249{
21250
21251  ;
21252  return 0;
21253}
21254_ACEOF
21255rm -f conftest.$ac_objext
21256if { (ac_try="$ac_compile"
21257case "(($ac_try" in
21258  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21259  *) ac_try_echo=$ac_try;;
21260esac
21261eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21262  (eval "$ac_compile") 2>conftest.er1
21263  ac_status=$?
21264  grep -v '^ *+' conftest.er1 >conftest.err
21265  rm -f conftest.er1
21266  cat conftest.err >&5
21267  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268  (exit $ac_status); } && {
21269	 test -z "$ac_c_werror_flag" ||
21270	 test ! -s conftest.err
21271       } && test -s conftest.$ac_objext; then
21272  ac_cv_header_stdc=yes
21273else
21274  echo "$as_me: failed program was:" >&5
21275sed 's/^/| /' conftest.$ac_ext >&5
21276
21277	ac_cv_header_stdc=no
21278fi
21279
21280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21281
21282if test $ac_cv_header_stdc = yes; then
21283  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21284  cat >conftest.$ac_ext <<_ACEOF
21285/* confdefs.h.  */
21286_ACEOF
21287cat confdefs.h >>conftest.$ac_ext
21288cat >>conftest.$ac_ext <<_ACEOF
21289/* end confdefs.h.  */
21290#include <string.h>
21291
21292_ACEOF
21293if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21294  $EGREP "memchr" >/dev/null 2>&1; then
21295  :
21296else
21297  ac_cv_header_stdc=no
21298fi
21299rm -f conftest*
21300
21301fi
21302
21303if test $ac_cv_header_stdc = yes; then
21304  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21305  cat >conftest.$ac_ext <<_ACEOF
21306/* confdefs.h.  */
21307_ACEOF
21308cat confdefs.h >>conftest.$ac_ext
21309cat >>conftest.$ac_ext <<_ACEOF
21310/* end confdefs.h.  */
21311#include <stdlib.h>
21312
21313_ACEOF
21314if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21315  $EGREP "free" >/dev/null 2>&1; then
21316  :
21317else
21318  ac_cv_header_stdc=no
21319fi
21320rm -f conftest*
21321
21322fi
21323
21324if test $ac_cv_header_stdc = yes; then
21325  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21326  if test "$cross_compiling" = yes; then
21327  :
21328else
21329  cat >conftest.$ac_ext <<_ACEOF
21330/* confdefs.h.  */
21331_ACEOF
21332cat confdefs.h >>conftest.$ac_ext
21333cat >>conftest.$ac_ext <<_ACEOF
21334/* end confdefs.h.  */
21335#include <ctype.h>
21336#include <stdlib.h>
21337#if ((' ' & 0x0FF) == 0x020)
21338# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21339# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21340#else
21341# define ISLOWER(c) \
21342		   (('a' <= (c) && (c) <= 'i') \
21343		     || ('j' <= (c) && (c) <= 'r') \
21344		     || ('s' <= (c) && (c) <= 'z'))
21345# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21346#endif
21347
21348#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21349int
21350main ()
21351{
21352  int i;
21353  for (i = 0; i < 256; i++)
21354    if (XOR (islower (i), ISLOWER (i))
21355	|| toupper (i) != TOUPPER (i))
21356      return 2;
21357  return 0;
21358}
21359_ACEOF
21360rm -f conftest$ac_exeext
21361if { (ac_try="$ac_link"
21362case "(($ac_try" in
21363  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21364  *) ac_try_echo=$ac_try;;
21365esac
21366eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21367  (eval "$ac_link") 2>&5
21368  ac_status=$?
21369  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21371  { (case "(($ac_try" in
21372  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21373  *) ac_try_echo=$ac_try;;
21374esac
21375eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21376  (eval "$ac_try") 2>&5
21377  ac_status=$?
21378  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379  (exit $ac_status); }; }; then
21380  :
21381else
21382  echo "$as_me: program exited with status $ac_status" >&5
21383echo "$as_me: failed program was:" >&5
21384sed 's/^/| /' conftest.$ac_ext >&5
21385
21386( exit $ac_status )
21387ac_cv_header_stdc=no
21388fi
21389rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21390fi
21391
21392
21393fi
21394fi
21395{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21396echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21397if test $ac_cv_header_stdc = yes; then
21398
21399cat >>confdefs.h <<\_ACEOF
21400#define STDC_HEADERS 1
21401_ACEOF
21402
21403fi
21404
21405
21406for ac_header in fcntl.h
21407do
21408as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21409if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21410  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21411echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21412if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21413  echo $ECHO_N "(cached) $ECHO_C" >&6
21414fi
21415ac_res=`eval echo '${'$as_ac_Header'}'`
21416	       { echo "$as_me:$LINENO: result: $ac_res" >&5
21417echo "${ECHO_T}$ac_res" >&6; }
21418else
21419  # Is the header compilable?
21420{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21421echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21422cat >conftest.$ac_ext <<_ACEOF
21423/* confdefs.h.  */
21424_ACEOF
21425cat confdefs.h >>conftest.$ac_ext
21426cat >>conftest.$ac_ext <<_ACEOF
21427/* end confdefs.h.  */
21428$ac_includes_default
21429#include <$ac_header>
21430_ACEOF
21431rm -f conftest.$ac_objext
21432if { (ac_try="$ac_compile"
21433case "(($ac_try" in
21434  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21435  *) ac_try_echo=$ac_try;;
21436esac
21437eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21438  (eval "$ac_compile") 2>conftest.er1
21439  ac_status=$?
21440  grep -v '^ *+' conftest.er1 >conftest.err
21441  rm -f conftest.er1
21442  cat conftest.err >&5
21443  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444  (exit $ac_status); } && {
21445	 test -z "$ac_c_werror_flag" ||
21446	 test ! -s conftest.err
21447       } && test -s conftest.$ac_objext; then
21448  ac_header_compiler=yes
21449else
21450  echo "$as_me: failed program was:" >&5
21451sed 's/^/| /' conftest.$ac_ext >&5
21452
21453	ac_header_compiler=no
21454fi
21455
21456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21457{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21458echo "${ECHO_T}$ac_header_compiler" >&6; }
21459
21460# Is the header present?
21461{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21462echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21463cat >conftest.$ac_ext <<_ACEOF
21464/* confdefs.h.  */
21465_ACEOF
21466cat confdefs.h >>conftest.$ac_ext
21467cat >>conftest.$ac_ext <<_ACEOF
21468/* end confdefs.h.  */
21469#include <$ac_header>
21470_ACEOF
21471if { (ac_try="$ac_cpp conftest.$ac_ext"
21472case "(($ac_try" in
21473  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21474  *) ac_try_echo=$ac_try;;
21475esac
21476eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21477  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21478  ac_status=$?
21479  grep -v '^ *+' conftest.er1 >conftest.err
21480  rm -f conftest.er1
21481  cat conftest.err >&5
21482  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483  (exit $ac_status); } >/dev/null && {
21484	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21485	 test ! -s conftest.err
21486       }; then
21487  ac_header_preproc=yes
21488else
21489  echo "$as_me: failed program was:" >&5
21490sed 's/^/| /' conftest.$ac_ext >&5
21491
21492  ac_header_preproc=no
21493fi
21494
21495rm -f conftest.err conftest.$ac_ext
21496{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21497echo "${ECHO_T}$ac_header_preproc" >&6; }
21498
21499# So?  What about this header?
21500case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21501  yes:no: )
21502    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21503echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21504    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21505echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21506    ac_header_preproc=yes
21507    ;;
21508  no:yes:* )
21509    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21510echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21511    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21512echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21513    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21514echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21515    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21516echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21517    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21518echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21519    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21520echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21521
21522    ;;
21523esac
21524{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21525echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21526if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21527  echo $ECHO_N "(cached) $ECHO_C" >&6
21528else
21529  eval "$as_ac_Header=\$ac_header_preproc"
21530fi
21531ac_res=`eval echo '${'$as_ac_Header'}'`
21532	       { echo "$as_me:$LINENO: result: $ac_res" >&5
21533echo "${ECHO_T}$ac_res" >&6; }
21534
21535fi
21536if test `eval echo '${'$as_ac_Header'}'` = yes; then
21537  cat >>confdefs.h <<_ACEOF
21538#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21539_ACEOF
21540
21541fi
21542
21543done
21544
21545
21546for ac_header in unistd.h
21547do
21548as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21549if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21550  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21551echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21552if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21553  echo $ECHO_N "(cached) $ECHO_C" >&6
21554fi
21555ac_res=`eval echo '${'$as_ac_Header'}'`
21556	       { echo "$as_me:$LINENO: result: $ac_res" >&5
21557echo "${ECHO_T}$ac_res" >&6; }
21558else
21559  # Is the header compilable?
21560{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21561echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21562cat >conftest.$ac_ext <<_ACEOF
21563/* confdefs.h.  */
21564_ACEOF
21565cat confdefs.h >>conftest.$ac_ext
21566cat >>conftest.$ac_ext <<_ACEOF
21567/* end confdefs.h.  */
21568$ac_includes_default
21569#include <$ac_header>
21570_ACEOF
21571rm -f conftest.$ac_objext
21572if { (ac_try="$ac_compile"
21573case "(($ac_try" in
21574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21575  *) ac_try_echo=$ac_try;;
21576esac
21577eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21578  (eval "$ac_compile") 2>conftest.er1
21579  ac_status=$?
21580  grep -v '^ *+' conftest.er1 >conftest.err
21581  rm -f conftest.er1
21582  cat conftest.err >&5
21583  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584  (exit $ac_status); } && {
21585	 test -z "$ac_c_werror_flag" ||
21586	 test ! -s conftest.err
21587       } && test -s conftest.$ac_objext; then
21588  ac_header_compiler=yes
21589else
21590  echo "$as_me: failed program was:" >&5
21591sed 's/^/| /' conftest.$ac_ext >&5
21592
21593	ac_header_compiler=no
21594fi
21595
21596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21597{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21598echo "${ECHO_T}$ac_header_compiler" >&6; }
21599
21600# Is the header present?
21601{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21602echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21603cat >conftest.$ac_ext <<_ACEOF
21604/* confdefs.h.  */
21605_ACEOF
21606cat confdefs.h >>conftest.$ac_ext
21607cat >>conftest.$ac_ext <<_ACEOF
21608/* end confdefs.h.  */
21609#include <$ac_header>
21610_ACEOF
21611if { (ac_try="$ac_cpp conftest.$ac_ext"
21612case "(($ac_try" in
21613  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21614  *) ac_try_echo=$ac_try;;
21615esac
21616eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21617  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21618  ac_status=$?
21619  grep -v '^ *+' conftest.er1 >conftest.err
21620  rm -f conftest.er1
21621  cat conftest.err >&5
21622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623  (exit $ac_status); } >/dev/null && {
21624	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21625	 test ! -s conftest.err
21626       }; then
21627  ac_header_preproc=yes
21628else
21629  echo "$as_me: failed program was:" >&5
21630sed 's/^/| /' conftest.$ac_ext >&5
21631
21632  ac_header_preproc=no
21633fi
21634
21635rm -f conftest.err conftest.$ac_ext
21636{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21637echo "${ECHO_T}$ac_header_preproc" >&6; }
21638
21639# So?  What about this header?
21640case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21641  yes:no: )
21642    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21643echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21644    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21645echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21646    ac_header_preproc=yes
21647    ;;
21648  no:yes:* )
21649    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21650echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21651    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21652echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21653    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21654echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21655    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21656echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21657    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21658echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21659    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21660echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21661
21662    ;;
21663esac
21664{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21665echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21666if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21667  echo $ECHO_N "(cached) $ECHO_C" >&6
21668else
21669  eval "$as_ac_Header=\$ac_header_preproc"
21670fi
21671ac_res=`eval echo '${'$as_ac_Header'}'`
21672	       { echo "$as_me:$LINENO: result: $ac_res" >&5
21673echo "${ECHO_T}$ac_res" >&6; }
21674
21675fi
21676if test `eval echo '${'$as_ac_Header'}'` = yes; then
21677  cat >>confdefs.h <<_ACEOF
21678#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21679_ACEOF
21680
21681fi
21682
21683done
21684
21685
21686for ac_header in ctype.h
21687do
21688as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21689if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21690  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21691echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21692if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21693  echo $ECHO_N "(cached) $ECHO_C" >&6
21694fi
21695ac_res=`eval echo '${'$as_ac_Header'}'`
21696	       { echo "$as_me:$LINENO: result: $ac_res" >&5
21697echo "${ECHO_T}$ac_res" >&6; }
21698else
21699  # Is the header compilable?
21700{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21701echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21702cat >conftest.$ac_ext <<_ACEOF
21703/* confdefs.h.  */
21704_ACEOF
21705cat confdefs.h >>conftest.$ac_ext
21706cat >>conftest.$ac_ext <<_ACEOF
21707/* end confdefs.h.  */
21708$ac_includes_default
21709#include <$ac_header>
21710_ACEOF
21711rm -f conftest.$ac_objext
21712if { (ac_try="$ac_compile"
21713case "(($ac_try" in
21714  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21715  *) ac_try_echo=$ac_try;;
21716esac
21717eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21718  (eval "$ac_compile") 2>conftest.er1
21719  ac_status=$?
21720  grep -v '^ *+' conftest.er1 >conftest.err
21721  rm -f conftest.er1
21722  cat conftest.err >&5
21723  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724  (exit $ac_status); } && {
21725	 test -z "$ac_c_werror_flag" ||
21726	 test ! -s conftest.err
21727       } && test -s conftest.$ac_objext; then
21728  ac_header_compiler=yes
21729else
21730  echo "$as_me: failed program was:" >&5
21731sed 's/^/| /' conftest.$ac_ext >&5
21732
21733	ac_header_compiler=no
21734fi
21735
21736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21737{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21738echo "${ECHO_T}$ac_header_compiler" >&6; }
21739
21740# Is the header present?
21741{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21742echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21743cat >conftest.$ac_ext <<_ACEOF
21744/* confdefs.h.  */
21745_ACEOF
21746cat confdefs.h >>conftest.$ac_ext
21747cat >>conftest.$ac_ext <<_ACEOF
21748/* end confdefs.h.  */
21749#include <$ac_header>
21750_ACEOF
21751if { (ac_try="$ac_cpp conftest.$ac_ext"
21752case "(($ac_try" in
21753  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21754  *) ac_try_echo=$ac_try;;
21755esac
21756eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21757  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21758  ac_status=$?
21759  grep -v '^ *+' conftest.er1 >conftest.err
21760  rm -f conftest.er1
21761  cat conftest.err >&5
21762  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763  (exit $ac_status); } >/dev/null && {
21764	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21765	 test ! -s conftest.err
21766       }; then
21767  ac_header_preproc=yes
21768else
21769  echo "$as_me: failed program was:" >&5
21770sed 's/^/| /' conftest.$ac_ext >&5
21771
21772  ac_header_preproc=no
21773fi
21774
21775rm -f conftest.err conftest.$ac_ext
21776{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21777echo "${ECHO_T}$ac_header_preproc" >&6; }
21778
21779# So?  What about this header?
21780case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21781  yes:no: )
21782    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21783echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21784    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21785echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21786    ac_header_preproc=yes
21787    ;;
21788  no:yes:* )
21789    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21790echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21791    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21792echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21793    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21794echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21795    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21796echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21797    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21798echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21799    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21800echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21801
21802    ;;
21803esac
21804{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21805echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21806if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21807  echo $ECHO_N "(cached) $ECHO_C" >&6
21808else
21809  eval "$as_ac_Header=\$ac_header_preproc"
21810fi
21811ac_res=`eval echo '${'$as_ac_Header'}'`
21812	       { echo "$as_me:$LINENO: result: $ac_res" >&5
21813echo "${ECHO_T}$ac_res" >&6; }
21814
21815fi
21816if test `eval echo '${'$as_ac_Header'}'` = yes; then
21817  cat >>confdefs.h <<_ACEOF
21818#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21819_ACEOF
21820
21821fi
21822
21823done
21824
21825
21826for ac_header in dirent.h
21827do
21828as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21829if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21830  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21831echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21832if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21833  echo $ECHO_N "(cached) $ECHO_C" >&6
21834fi
21835ac_res=`eval echo '${'$as_ac_Header'}'`
21836	       { echo "$as_me:$LINENO: result: $ac_res" >&5
21837echo "${ECHO_T}$ac_res" >&6; }
21838else
21839  # Is the header compilable?
21840{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21841echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21842cat >conftest.$ac_ext <<_ACEOF
21843/* confdefs.h.  */
21844_ACEOF
21845cat confdefs.h >>conftest.$ac_ext
21846cat >>conftest.$ac_ext <<_ACEOF
21847/* end confdefs.h.  */
21848$ac_includes_default
21849#include <$ac_header>
21850_ACEOF
21851rm -f conftest.$ac_objext
21852if { (ac_try="$ac_compile"
21853case "(($ac_try" in
21854  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21855  *) ac_try_echo=$ac_try;;
21856esac
21857eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21858  (eval "$ac_compile") 2>conftest.er1
21859  ac_status=$?
21860  grep -v '^ *+' conftest.er1 >conftest.err
21861  rm -f conftest.er1
21862  cat conftest.err >&5
21863  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864  (exit $ac_status); } && {
21865	 test -z "$ac_c_werror_flag" ||
21866	 test ! -s conftest.err
21867       } && test -s conftest.$ac_objext; then
21868  ac_header_compiler=yes
21869else
21870  echo "$as_me: failed program was:" >&5
21871sed 's/^/| /' conftest.$ac_ext >&5
21872
21873	ac_header_compiler=no
21874fi
21875
21876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21877{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21878echo "${ECHO_T}$ac_header_compiler" >&6; }
21879
21880# Is the header present?
21881{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21882echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21883cat >conftest.$ac_ext <<_ACEOF
21884/* confdefs.h.  */
21885_ACEOF
21886cat confdefs.h >>conftest.$ac_ext
21887cat >>conftest.$ac_ext <<_ACEOF
21888/* end confdefs.h.  */
21889#include <$ac_header>
21890_ACEOF
21891if { (ac_try="$ac_cpp conftest.$ac_ext"
21892case "(($ac_try" in
21893  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21894  *) ac_try_echo=$ac_try;;
21895esac
21896eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21897  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21898  ac_status=$?
21899  grep -v '^ *+' conftest.er1 >conftest.err
21900  rm -f conftest.er1
21901  cat conftest.err >&5
21902  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903  (exit $ac_status); } >/dev/null && {
21904	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21905	 test ! -s conftest.err
21906       }; then
21907  ac_header_preproc=yes
21908else
21909  echo "$as_me: failed program was:" >&5
21910sed 's/^/| /' conftest.$ac_ext >&5
21911
21912  ac_header_preproc=no
21913fi
21914
21915rm -f conftest.err conftest.$ac_ext
21916{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21917echo "${ECHO_T}$ac_header_preproc" >&6; }
21918
21919# So?  What about this header?
21920case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21921  yes:no: )
21922    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21923echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21924    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21925echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21926    ac_header_preproc=yes
21927    ;;
21928  no:yes:* )
21929    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21930echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21931    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21932echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21933    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21934echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21935    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21936echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21937    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21938echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21939    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21940echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21941
21942    ;;
21943esac
21944{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21945echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21946if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21947  echo $ECHO_N "(cached) $ECHO_C" >&6
21948else
21949  eval "$as_ac_Header=\$ac_header_preproc"
21950fi
21951ac_res=`eval echo '${'$as_ac_Header'}'`
21952	       { echo "$as_me:$LINENO: result: $ac_res" >&5
21953echo "${ECHO_T}$ac_res" >&6; }
21954
21955fi
21956if test `eval echo '${'$as_ac_Header'}'` = yes; then
21957  cat >>confdefs.h <<_ACEOF
21958#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21959_ACEOF
21960
21961fi
21962
21963done
21964
21965
21966for ac_header in errno.h
21967do
21968as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21969if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21970  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21971echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21972if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21973  echo $ECHO_N "(cached) $ECHO_C" >&6
21974fi
21975ac_res=`eval echo '${'$as_ac_Header'}'`
21976	       { echo "$as_me:$LINENO: result: $ac_res" >&5
21977echo "${ECHO_T}$ac_res" >&6; }
21978else
21979  # Is the header compilable?
21980{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21981echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21982cat >conftest.$ac_ext <<_ACEOF
21983/* confdefs.h.  */
21984_ACEOF
21985cat confdefs.h >>conftest.$ac_ext
21986cat >>conftest.$ac_ext <<_ACEOF
21987/* end confdefs.h.  */
21988$ac_includes_default
21989#include <$ac_header>
21990_ACEOF
21991rm -f conftest.$ac_objext
21992if { (ac_try="$ac_compile"
21993case "(($ac_try" in
21994  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21995  *) ac_try_echo=$ac_try;;
21996esac
21997eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21998  (eval "$ac_compile") 2>conftest.er1
21999  ac_status=$?
22000  grep -v '^ *+' conftest.er1 >conftest.err
22001  rm -f conftest.er1
22002  cat conftest.err >&5
22003  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004  (exit $ac_status); } && {
22005	 test -z "$ac_c_werror_flag" ||
22006	 test ! -s conftest.err
22007       } && test -s conftest.$ac_objext; then
22008  ac_header_compiler=yes
22009else
22010  echo "$as_me: failed program was:" >&5
22011sed 's/^/| /' conftest.$ac_ext >&5
22012
22013	ac_header_compiler=no
22014fi
22015
22016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22017{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22018echo "${ECHO_T}$ac_header_compiler" >&6; }
22019
22020# Is the header present?
22021{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22022echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22023cat >conftest.$ac_ext <<_ACEOF
22024/* confdefs.h.  */
22025_ACEOF
22026cat confdefs.h >>conftest.$ac_ext
22027cat >>conftest.$ac_ext <<_ACEOF
22028/* end confdefs.h.  */
22029#include <$ac_header>
22030_ACEOF
22031if { (ac_try="$ac_cpp conftest.$ac_ext"
22032case "(($ac_try" in
22033  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22034  *) ac_try_echo=$ac_try;;
22035esac
22036eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22037  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22038  ac_status=$?
22039  grep -v '^ *+' conftest.er1 >conftest.err
22040  rm -f conftest.er1
22041  cat conftest.err >&5
22042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043  (exit $ac_status); } >/dev/null && {
22044	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22045	 test ! -s conftest.err
22046       }; then
22047  ac_header_preproc=yes
22048else
22049  echo "$as_me: failed program was:" >&5
22050sed 's/^/| /' conftest.$ac_ext >&5
22051
22052  ac_header_preproc=no
22053fi
22054
22055rm -f conftest.err conftest.$ac_ext
22056{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22057echo "${ECHO_T}$ac_header_preproc" >&6; }
22058
22059# So?  What about this header?
22060case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22061  yes:no: )
22062    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22063echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22064    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22065echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22066    ac_header_preproc=yes
22067    ;;
22068  no:yes:* )
22069    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22070echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22071    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22072echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22073    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22074echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22075    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22076echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22077    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22078echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22079    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22080echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22081
22082    ;;
22083esac
22084{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22085echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22086if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22087  echo $ECHO_N "(cached) $ECHO_C" >&6
22088else
22089  eval "$as_ac_Header=\$ac_header_preproc"
22090fi
22091ac_res=`eval echo '${'$as_ac_Header'}'`
22092	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22093echo "${ECHO_T}$ac_res" >&6; }
22094
22095fi
22096if test `eval echo '${'$as_ac_Header'}'` = yes; then
22097  cat >>confdefs.h <<_ACEOF
22098#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22099_ACEOF
22100
22101fi
22102
22103done
22104
22105
22106for ac_header in malloc.h
22107do
22108as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22109if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22110  { echo "$as_me:$LINENO: checking for $ac_header" >&5
22111echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22112if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22113  echo $ECHO_N "(cached) $ECHO_C" >&6
22114fi
22115ac_res=`eval echo '${'$as_ac_Header'}'`
22116	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22117echo "${ECHO_T}$ac_res" >&6; }
22118else
22119  # Is the header compilable?
22120{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22121echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22122cat >conftest.$ac_ext <<_ACEOF
22123/* confdefs.h.  */
22124_ACEOF
22125cat confdefs.h >>conftest.$ac_ext
22126cat >>conftest.$ac_ext <<_ACEOF
22127/* end confdefs.h.  */
22128$ac_includes_default
22129#include <$ac_header>
22130_ACEOF
22131rm -f conftest.$ac_objext
22132if { (ac_try="$ac_compile"
22133case "(($ac_try" in
22134  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22135  *) ac_try_echo=$ac_try;;
22136esac
22137eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22138  (eval "$ac_compile") 2>conftest.er1
22139  ac_status=$?
22140  grep -v '^ *+' conftest.er1 >conftest.err
22141  rm -f conftest.er1
22142  cat conftest.err >&5
22143  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144  (exit $ac_status); } && {
22145	 test -z "$ac_c_werror_flag" ||
22146	 test ! -s conftest.err
22147       } && test -s conftest.$ac_objext; then
22148  ac_header_compiler=yes
22149else
22150  echo "$as_me: failed program was:" >&5
22151sed 's/^/| /' conftest.$ac_ext >&5
22152
22153	ac_header_compiler=no
22154fi
22155
22156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22157{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22158echo "${ECHO_T}$ac_header_compiler" >&6; }
22159
22160# Is the header present?
22161{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22162echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22163cat >conftest.$ac_ext <<_ACEOF
22164/* confdefs.h.  */
22165_ACEOF
22166cat confdefs.h >>conftest.$ac_ext
22167cat >>conftest.$ac_ext <<_ACEOF
22168/* end confdefs.h.  */
22169#include <$ac_header>
22170_ACEOF
22171if { (ac_try="$ac_cpp conftest.$ac_ext"
22172case "(($ac_try" in
22173  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22174  *) ac_try_echo=$ac_try;;
22175esac
22176eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22177  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22178  ac_status=$?
22179  grep -v '^ *+' conftest.er1 >conftest.err
22180  rm -f conftest.er1
22181  cat conftest.err >&5
22182  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183  (exit $ac_status); } >/dev/null && {
22184	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22185	 test ! -s conftest.err
22186       }; then
22187  ac_header_preproc=yes
22188else
22189  echo "$as_me: failed program was:" >&5
22190sed 's/^/| /' conftest.$ac_ext >&5
22191
22192  ac_header_preproc=no
22193fi
22194
22195rm -f conftest.err conftest.$ac_ext
22196{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22197echo "${ECHO_T}$ac_header_preproc" >&6; }
22198
22199# So?  What about this header?
22200case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22201  yes:no: )
22202    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22203echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22204    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22205echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22206    ac_header_preproc=yes
22207    ;;
22208  no:yes:* )
22209    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22210echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22211    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22212echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22213    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22214echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22215    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22216echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22217    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22218echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22219    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22220echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22221
22222    ;;
22223esac
22224{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22225echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22226if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22227  echo $ECHO_N "(cached) $ECHO_C" >&6
22228else
22229  eval "$as_ac_Header=\$ac_header_preproc"
22230fi
22231ac_res=`eval echo '${'$as_ac_Header'}'`
22232	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22233echo "${ECHO_T}$ac_res" >&6; }
22234
22235fi
22236if test `eval echo '${'$as_ac_Header'}'` = yes; then
22237  cat >>confdefs.h <<_ACEOF
22238#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22239_ACEOF
22240
22241fi
22242
22243done
22244
22245
22246for ac_header in stdarg.h
22247do
22248as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22249if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22250  { echo "$as_me:$LINENO: checking for $ac_header" >&5
22251echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22252if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22253  echo $ECHO_N "(cached) $ECHO_C" >&6
22254fi
22255ac_res=`eval echo '${'$as_ac_Header'}'`
22256	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22257echo "${ECHO_T}$ac_res" >&6; }
22258else
22259  # Is the header compilable?
22260{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22261echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22262cat >conftest.$ac_ext <<_ACEOF
22263/* confdefs.h.  */
22264_ACEOF
22265cat confdefs.h >>conftest.$ac_ext
22266cat >>conftest.$ac_ext <<_ACEOF
22267/* end confdefs.h.  */
22268$ac_includes_default
22269#include <$ac_header>
22270_ACEOF
22271rm -f conftest.$ac_objext
22272if { (ac_try="$ac_compile"
22273case "(($ac_try" in
22274  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22275  *) ac_try_echo=$ac_try;;
22276esac
22277eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22278  (eval "$ac_compile") 2>conftest.er1
22279  ac_status=$?
22280  grep -v '^ *+' conftest.er1 >conftest.err
22281  rm -f conftest.er1
22282  cat conftest.err >&5
22283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284  (exit $ac_status); } && {
22285	 test -z "$ac_c_werror_flag" ||
22286	 test ! -s conftest.err
22287       } && test -s conftest.$ac_objext; then
22288  ac_header_compiler=yes
22289else
22290  echo "$as_me: failed program was:" >&5
22291sed 's/^/| /' conftest.$ac_ext >&5
22292
22293	ac_header_compiler=no
22294fi
22295
22296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22297{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22298echo "${ECHO_T}$ac_header_compiler" >&6; }
22299
22300# Is the header present?
22301{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22302echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22303cat >conftest.$ac_ext <<_ACEOF
22304/* confdefs.h.  */
22305_ACEOF
22306cat confdefs.h >>conftest.$ac_ext
22307cat >>conftest.$ac_ext <<_ACEOF
22308/* end confdefs.h.  */
22309#include <$ac_header>
22310_ACEOF
22311if { (ac_try="$ac_cpp conftest.$ac_ext"
22312case "(($ac_try" in
22313  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22314  *) ac_try_echo=$ac_try;;
22315esac
22316eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22317  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22318  ac_status=$?
22319  grep -v '^ *+' conftest.er1 >conftest.err
22320  rm -f conftest.er1
22321  cat conftest.err >&5
22322  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323  (exit $ac_status); } >/dev/null && {
22324	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22325	 test ! -s conftest.err
22326       }; then
22327  ac_header_preproc=yes
22328else
22329  echo "$as_me: failed program was:" >&5
22330sed 's/^/| /' conftest.$ac_ext >&5
22331
22332  ac_header_preproc=no
22333fi
22334
22335rm -f conftest.err conftest.$ac_ext
22336{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22337echo "${ECHO_T}$ac_header_preproc" >&6; }
22338
22339# So?  What about this header?
22340case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22341  yes:no: )
22342    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22343echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22344    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22345echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22346    ac_header_preproc=yes
22347    ;;
22348  no:yes:* )
22349    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22350echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22351    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22352echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22353    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22354echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22355    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22356echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22357    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22358echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22359    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22360echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22361
22362    ;;
22363esac
22364{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22365echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22366if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22367  echo $ECHO_N "(cached) $ECHO_C" >&6
22368else
22369  eval "$as_ac_Header=\$ac_header_preproc"
22370fi
22371ac_res=`eval echo '${'$as_ac_Header'}'`
22372	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22373echo "${ECHO_T}$ac_res" >&6; }
22374
22375fi
22376if test `eval echo '${'$as_ac_Header'}'` = yes; then
22377  cat >>confdefs.h <<_ACEOF
22378#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22379_ACEOF
22380
22381fi
22382
22383done
22384
22385
22386for ac_header in sys/stat.h
22387do
22388as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22389if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22390  { echo "$as_me:$LINENO: checking for $ac_header" >&5
22391echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22392if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22393  echo $ECHO_N "(cached) $ECHO_C" >&6
22394fi
22395ac_res=`eval echo '${'$as_ac_Header'}'`
22396	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22397echo "${ECHO_T}$ac_res" >&6; }
22398else
22399  # Is the header compilable?
22400{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22401echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22402cat >conftest.$ac_ext <<_ACEOF
22403/* confdefs.h.  */
22404_ACEOF
22405cat confdefs.h >>conftest.$ac_ext
22406cat >>conftest.$ac_ext <<_ACEOF
22407/* end confdefs.h.  */
22408$ac_includes_default
22409#include <$ac_header>
22410_ACEOF
22411rm -f conftest.$ac_objext
22412if { (ac_try="$ac_compile"
22413case "(($ac_try" in
22414  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22415  *) ac_try_echo=$ac_try;;
22416esac
22417eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22418  (eval "$ac_compile") 2>conftest.er1
22419  ac_status=$?
22420  grep -v '^ *+' conftest.er1 >conftest.err
22421  rm -f conftest.er1
22422  cat conftest.err >&5
22423  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424  (exit $ac_status); } && {
22425	 test -z "$ac_c_werror_flag" ||
22426	 test ! -s conftest.err
22427       } && test -s conftest.$ac_objext; then
22428  ac_header_compiler=yes
22429else
22430  echo "$as_me: failed program was:" >&5
22431sed 's/^/| /' conftest.$ac_ext >&5
22432
22433	ac_header_compiler=no
22434fi
22435
22436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22437{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22438echo "${ECHO_T}$ac_header_compiler" >&6; }
22439
22440# Is the header present?
22441{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22442echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22443cat >conftest.$ac_ext <<_ACEOF
22444/* confdefs.h.  */
22445_ACEOF
22446cat confdefs.h >>conftest.$ac_ext
22447cat >>conftest.$ac_ext <<_ACEOF
22448/* end confdefs.h.  */
22449#include <$ac_header>
22450_ACEOF
22451if { (ac_try="$ac_cpp conftest.$ac_ext"
22452case "(($ac_try" in
22453  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22454  *) ac_try_echo=$ac_try;;
22455esac
22456eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22457  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22458  ac_status=$?
22459  grep -v '^ *+' conftest.er1 >conftest.err
22460  rm -f conftest.er1
22461  cat conftest.err >&5
22462  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463  (exit $ac_status); } >/dev/null && {
22464	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22465	 test ! -s conftest.err
22466       }; then
22467  ac_header_preproc=yes
22468else
22469  echo "$as_me: failed program was:" >&5
22470sed 's/^/| /' conftest.$ac_ext >&5
22471
22472  ac_header_preproc=no
22473fi
22474
22475rm -f conftest.err conftest.$ac_ext
22476{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22477echo "${ECHO_T}$ac_header_preproc" >&6; }
22478
22479# So?  What about this header?
22480case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22481  yes:no: )
22482    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22483echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22484    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22485echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22486    ac_header_preproc=yes
22487    ;;
22488  no:yes:* )
22489    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22490echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22491    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22492echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22493    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22494echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22495    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22496echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22497    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22498echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22499    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22500echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22501
22502    ;;
22503esac
22504{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22505echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22506if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22507  echo $ECHO_N "(cached) $ECHO_C" >&6
22508else
22509  eval "$as_ac_Header=\$ac_header_preproc"
22510fi
22511ac_res=`eval echo '${'$as_ac_Header'}'`
22512	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22513echo "${ECHO_T}$ac_res" >&6; }
22514
22515fi
22516if test `eval echo '${'$as_ac_Header'}'` = yes; then
22517  cat >>confdefs.h <<_ACEOF
22518#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22519_ACEOF
22520
22521fi
22522
22523done
22524
22525
22526for ac_header in sys/types.h
22527do
22528as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22529if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22530  { echo "$as_me:$LINENO: checking for $ac_header" >&5
22531echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22532if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22533  echo $ECHO_N "(cached) $ECHO_C" >&6
22534fi
22535ac_res=`eval echo '${'$as_ac_Header'}'`
22536	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22537echo "${ECHO_T}$ac_res" >&6; }
22538else
22539  # Is the header compilable?
22540{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22541echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22542cat >conftest.$ac_ext <<_ACEOF
22543/* confdefs.h.  */
22544_ACEOF
22545cat confdefs.h >>conftest.$ac_ext
22546cat >>conftest.$ac_ext <<_ACEOF
22547/* end confdefs.h.  */
22548$ac_includes_default
22549#include <$ac_header>
22550_ACEOF
22551rm -f conftest.$ac_objext
22552if { (ac_try="$ac_compile"
22553case "(($ac_try" in
22554  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22555  *) ac_try_echo=$ac_try;;
22556esac
22557eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22558  (eval "$ac_compile") 2>conftest.er1
22559  ac_status=$?
22560  grep -v '^ *+' conftest.er1 >conftest.err
22561  rm -f conftest.er1
22562  cat conftest.err >&5
22563  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564  (exit $ac_status); } && {
22565	 test -z "$ac_c_werror_flag" ||
22566	 test ! -s conftest.err
22567       } && test -s conftest.$ac_objext; then
22568  ac_header_compiler=yes
22569else
22570  echo "$as_me: failed program was:" >&5
22571sed 's/^/| /' conftest.$ac_ext >&5
22572
22573	ac_header_compiler=no
22574fi
22575
22576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22577{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22578echo "${ECHO_T}$ac_header_compiler" >&6; }
22579
22580# Is the header present?
22581{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22582echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22583cat >conftest.$ac_ext <<_ACEOF
22584/* confdefs.h.  */
22585_ACEOF
22586cat confdefs.h >>conftest.$ac_ext
22587cat >>conftest.$ac_ext <<_ACEOF
22588/* end confdefs.h.  */
22589#include <$ac_header>
22590_ACEOF
22591if { (ac_try="$ac_cpp conftest.$ac_ext"
22592case "(($ac_try" in
22593  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22594  *) ac_try_echo=$ac_try;;
22595esac
22596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22597  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22598  ac_status=$?
22599  grep -v '^ *+' conftest.er1 >conftest.err
22600  rm -f conftest.er1
22601  cat conftest.err >&5
22602  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603  (exit $ac_status); } >/dev/null && {
22604	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22605	 test ! -s conftest.err
22606       }; then
22607  ac_header_preproc=yes
22608else
22609  echo "$as_me: failed program was:" >&5
22610sed 's/^/| /' conftest.$ac_ext >&5
22611
22612  ac_header_preproc=no
22613fi
22614
22615rm -f conftest.err conftest.$ac_ext
22616{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22617echo "${ECHO_T}$ac_header_preproc" >&6; }
22618
22619# So?  What about this header?
22620case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22621  yes:no: )
22622    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22623echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22624    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22625echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22626    ac_header_preproc=yes
22627    ;;
22628  no:yes:* )
22629    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22630echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22631    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22632echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22633    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22634echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22635    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22636echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22637    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22638echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22639    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22640echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22641
22642    ;;
22643esac
22644{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22645echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22646if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22647  echo $ECHO_N "(cached) $ECHO_C" >&6
22648else
22649  eval "$as_ac_Header=\$ac_header_preproc"
22650fi
22651ac_res=`eval echo '${'$as_ac_Header'}'`
22652	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22653echo "${ECHO_T}$ac_res" >&6; }
22654
22655fi
22656if test `eval echo '${'$as_ac_Header'}'` = yes; then
22657  cat >>confdefs.h <<_ACEOF
22658#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22659_ACEOF
22660
22661fi
22662
22663done
22664
22665
22666for ac_header in stdint.h
22667do
22668as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22669if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22670  { echo "$as_me:$LINENO: checking for $ac_header" >&5
22671echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22672if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22673  echo $ECHO_N "(cached) $ECHO_C" >&6
22674fi
22675ac_res=`eval echo '${'$as_ac_Header'}'`
22676	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22677echo "${ECHO_T}$ac_res" >&6; }
22678else
22679  # Is the header compilable?
22680{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22681echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22682cat >conftest.$ac_ext <<_ACEOF
22683/* confdefs.h.  */
22684_ACEOF
22685cat confdefs.h >>conftest.$ac_ext
22686cat >>conftest.$ac_ext <<_ACEOF
22687/* end confdefs.h.  */
22688$ac_includes_default
22689#include <$ac_header>
22690_ACEOF
22691rm -f conftest.$ac_objext
22692if { (ac_try="$ac_compile"
22693case "(($ac_try" in
22694  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22695  *) ac_try_echo=$ac_try;;
22696esac
22697eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22698  (eval "$ac_compile") 2>conftest.er1
22699  ac_status=$?
22700  grep -v '^ *+' conftest.er1 >conftest.err
22701  rm -f conftest.er1
22702  cat conftest.err >&5
22703  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704  (exit $ac_status); } && {
22705	 test -z "$ac_c_werror_flag" ||
22706	 test ! -s conftest.err
22707       } && test -s conftest.$ac_objext; then
22708  ac_header_compiler=yes
22709else
22710  echo "$as_me: failed program was:" >&5
22711sed 's/^/| /' conftest.$ac_ext >&5
22712
22713	ac_header_compiler=no
22714fi
22715
22716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22717{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22718echo "${ECHO_T}$ac_header_compiler" >&6; }
22719
22720# Is the header present?
22721{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22722echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22723cat >conftest.$ac_ext <<_ACEOF
22724/* confdefs.h.  */
22725_ACEOF
22726cat confdefs.h >>conftest.$ac_ext
22727cat >>conftest.$ac_ext <<_ACEOF
22728/* end confdefs.h.  */
22729#include <$ac_header>
22730_ACEOF
22731if { (ac_try="$ac_cpp conftest.$ac_ext"
22732case "(($ac_try" in
22733  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22734  *) ac_try_echo=$ac_try;;
22735esac
22736eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22737  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22738  ac_status=$?
22739  grep -v '^ *+' conftest.er1 >conftest.err
22740  rm -f conftest.er1
22741  cat conftest.err >&5
22742  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743  (exit $ac_status); } >/dev/null && {
22744	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22745	 test ! -s conftest.err
22746       }; then
22747  ac_header_preproc=yes
22748else
22749  echo "$as_me: failed program was:" >&5
22750sed 's/^/| /' conftest.$ac_ext >&5
22751
22752  ac_header_preproc=no
22753fi
22754
22755rm -f conftest.err conftest.$ac_ext
22756{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22757echo "${ECHO_T}$ac_header_preproc" >&6; }
22758
22759# So?  What about this header?
22760case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22761  yes:no: )
22762    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22763echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22764    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22765echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22766    ac_header_preproc=yes
22767    ;;
22768  no:yes:* )
22769    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22770echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22771    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22772echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22773    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22774echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22775    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22776echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22777    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22778echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22779    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22780echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22781
22782    ;;
22783esac
22784{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22785echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22786if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22787  echo $ECHO_N "(cached) $ECHO_C" >&6
22788else
22789  eval "$as_ac_Header=\$ac_header_preproc"
22790fi
22791ac_res=`eval echo '${'$as_ac_Header'}'`
22792	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22793echo "${ECHO_T}$ac_res" >&6; }
22794
22795fi
22796if test `eval echo '${'$as_ac_Header'}'` = yes; then
22797  cat >>confdefs.h <<_ACEOF
22798#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22799_ACEOF
22800
22801fi
22802
22803done
22804
22805
22806for ac_header in inttypes.h.h
22807do
22808as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22809if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22810  { echo "$as_me:$LINENO: checking for $ac_header" >&5
22811echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22812if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22813  echo $ECHO_N "(cached) $ECHO_C" >&6
22814fi
22815ac_res=`eval echo '${'$as_ac_Header'}'`
22816	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22817echo "${ECHO_T}$ac_res" >&6; }
22818else
22819  # Is the header compilable?
22820{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22821echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22822cat >conftest.$ac_ext <<_ACEOF
22823/* confdefs.h.  */
22824_ACEOF
22825cat confdefs.h >>conftest.$ac_ext
22826cat >>conftest.$ac_ext <<_ACEOF
22827/* end confdefs.h.  */
22828$ac_includes_default
22829#include <$ac_header>
22830_ACEOF
22831rm -f conftest.$ac_objext
22832if { (ac_try="$ac_compile"
22833case "(($ac_try" in
22834  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22835  *) ac_try_echo=$ac_try;;
22836esac
22837eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22838  (eval "$ac_compile") 2>conftest.er1
22839  ac_status=$?
22840  grep -v '^ *+' conftest.er1 >conftest.err
22841  rm -f conftest.er1
22842  cat conftest.err >&5
22843  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844  (exit $ac_status); } && {
22845	 test -z "$ac_c_werror_flag" ||
22846	 test ! -s conftest.err
22847       } && test -s conftest.$ac_objext; then
22848  ac_header_compiler=yes
22849else
22850  echo "$as_me: failed program was:" >&5
22851sed 's/^/| /' conftest.$ac_ext >&5
22852
22853	ac_header_compiler=no
22854fi
22855
22856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22857{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22858echo "${ECHO_T}$ac_header_compiler" >&6; }
22859
22860# Is the header present?
22861{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22862echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22863cat >conftest.$ac_ext <<_ACEOF
22864/* confdefs.h.  */
22865_ACEOF
22866cat confdefs.h >>conftest.$ac_ext
22867cat >>conftest.$ac_ext <<_ACEOF
22868/* end confdefs.h.  */
22869#include <$ac_header>
22870_ACEOF
22871if { (ac_try="$ac_cpp conftest.$ac_ext"
22872case "(($ac_try" in
22873  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22874  *) ac_try_echo=$ac_try;;
22875esac
22876eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22877  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22878  ac_status=$?
22879  grep -v '^ *+' conftest.er1 >conftest.err
22880  rm -f conftest.er1
22881  cat conftest.err >&5
22882  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883  (exit $ac_status); } >/dev/null && {
22884	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22885	 test ! -s conftest.err
22886       }; then
22887  ac_header_preproc=yes
22888else
22889  echo "$as_me: failed program was:" >&5
22890sed 's/^/| /' conftest.$ac_ext >&5
22891
22892  ac_header_preproc=no
22893fi
22894
22895rm -f conftest.err conftest.$ac_ext
22896{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22897echo "${ECHO_T}$ac_header_preproc" >&6; }
22898
22899# So?  What about this header?
22900case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22901  yes:no: )
22902    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22903echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22904    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22905echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22906    ac_header_preproc=yes
22907    ;;
22908  no:yes:* )
22909    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22910echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22911    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22912echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22913    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22914echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22915    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22916echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22917    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22918echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22919    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22920echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22921
22922    ;;
22923esac
22924{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22925echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22926if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22927  echo $ECHO_N "(cached) $ECHO_C" >&6
22928else
22929  eval "$as_ac_Header=\$ac_header_preproc"
22930fi
22931ac_res=`eval echo '${'$as_ac_Header'}'`
22932	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22933echo "${ECHO_T}$ac_res" >&6; }
22934
22935fi
22936if test `eval echo '${'$as_ac_Header'}'` = yes; then
22937  cat >>confdefs.h <<_ACEOF
22938#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22939_ACEOF
22940
22941fi
22942
22943done
22944
22945
22946for ac_header in time.h
22947do
22948as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22949if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22950  { echo "$as_me:$LINENO: checking for $ac_header" >&5
22951echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22952if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22953  echo $ECHO_N "(cached) $ECHO_C" >&6
22954fi
22955ac_res=`eval echo '${'$as_ac_Header'}'`
22956	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22957echo "${ECHO_T}$ac_res" >&6; }
22958else
22959  # Is the header compilable?
22960{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22961echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22962cat >conftest.$ac_ext <<_ACEOF
22963/* confdefs.h.  */
22964_ACEOF
22965cat confdefs.h >>conftest.$ac_ext
22966cat >>conftest.$ac_ext <<_ACEOF
22967/* end confdefs.h.  */
22968$ac_includes_default
22969#include <$ac_header>
22970_ACEOF
22971rm -f conftest.$ac_objext
22972if { (ac_try="$ac_compile"
22973case "(($ac_try" in
22974  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22975  *) ac_try_echo=$ac_try;;
22976esac
22977eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22978  (eval "$ac_compile") 2>conftest.er1
22979  ac_status=$?
22980  grep -v '^ *+' conftest.er1 >conftest.err
22981  rm -f conftest.er1
22982  cat conftest.err >&5
22983  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984  (exit $ac_status); } && {
22985	 test -z "$ac_c_werror_flag" ||
22986	 test ! -s conftest.err
22987       } && test -s conftest.$ac_objext; then
22988  ac_header_compiler=yes
22989else
22990  echo "$as_me: failed program was:" >&5
22991sed 's/^/| /' conftest.$ac_ext >&5
22992
22993	ac_header_compiler=no
22994fi
22995
22996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22997{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22998echo "${ECHO_T}$ac_header_compiler" >&6; }
22999
23000# Is the header present?
23001{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
23002echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23003cat >conftest.$ac_ext <<_ACEOF
23004/* confdefs.h.  */
23005_ACEOF
23006cat confdefs.h >>conftest.$ac_ext
23007cat >>conftest.$ac_ext <<_ACEOF
23008/* end confdefs.h.  */
23009#include <$ac_header>
23010_ACEOF
23011if { (ac_try="$ac_cpp conftest.$ac_ext"
23012case "(($ac_try" in
23013  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23014  *) ac_try_echo=$ac_try;;
23015esac
23016eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23017  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23018  ac_status=$?
23019  grep -v '^ *+' conftest.er1 >conftest.err
23020  rm -f conftest.er1
23021  cat conftest.err >&5
23022  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023  (exit $ac_status); } >/dev/null && {
23024	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23025	 test ! -s conftest.err
23026       }; then
23027  ac_header_preproc=yes
23028else
23029  echo "$as_me: failed program was:" >&5
23030sed 's/^/| /' conftest.$ac_ext >&5
23031
23032  ac_header_preproc=no
23033fi
23034
23035rm -f conftest.err conftest.$ac_ext
23036{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23037echo "${ECHO_T}$ac_header_preproc" >&6; }
23038
23039# So?  What about this header?
23040case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23041  yes:no: )
23042    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23043echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23044    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23045echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23046    ac_header_preproc=yes
23047    ;;
23048  no:yes:* )
23049    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23050echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23051    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
23052echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
23053    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23054echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23055    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
23056echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
23057    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23058echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23059    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23060echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23061
23062    ;;
23063esac
23064{ echo "$as_me:$LINENO: checking for $ac_header" >&5
23065echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23066if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23067  echo $ECHO_N "(cached) $ECHO_C" >&6
23068else
23069  eval "$as_ac_Header=\$ac_header_preproc"
23070fi
23071ac_res=`eval echo '${'$as_ac_Header'}'`
23072	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23073echo "${ECHO_T}$ac_res" >&6; }
23074
23075fi
23076if test `eval echo '${'$as_ac_Header'}'` = yes; then
23077  cat >>confdefs.h <<_ACEOF
23078#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23079_ACEOF
23080
23081fi
23082
23083done
23084
23085
23086for ac_header in ansidecl.h
23087do
23088as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23089if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23090  { echo "$as_me:$LINENO: checking for $ac_header" >&5
23091echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23092if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23093  echo $ECHO_N "(cached) $ECHO_C" >&6
23094fi
23095ac_res=`eval echo '${'$as_ac_Header'}'`
23096	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23097echo "${ECHO_T}$ac_res" >&6; }
23098else
23099  # Is the header compilable?
23100{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
23101echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23102cat >conftest.$ac_ext <<_ACEOF
23103/* confdefs.h.  */
23104_ACEOF
23105cat confdefs.h >>conftest.$ac_ext
23106cat >>conftest.$ac_ext <<_ACEOF
23107/* end confdefs.h.  */
23108$ac_includes_default
23109#include <$ac_header>
23110_ACEOF
23111rm -f conftest.$ac_objext
23112if { (ac_try="$ac_compile"
23113case "(($ac_try" in
23114  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23115  *) ac_try_echo=$ac_try;;
23116esac
23117eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23118  (eval "$ac_compile") 2>conftest.er1
23119  ac_status=$?
23120  grep -v '^ *+' conftest.er1 >conftest.err
23121  rm -f conftest.er1
23122  cat conftest.err >&5
23123  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124  (exit $ac_status); } && {
23125	 test -z "$ac_c_werror_flag" ||
23126	 test ! -s conftest.err
23127       } && test -s conftest.$ac_objext; then
23128  ac_header_compiler=yes
23129else
23130  echo "$as_me: failed program was:" >&5
23131sed 's/^/| /' conftest.$ac_ext >&5
23132
23133	ac_header_compiler=no
23134fi
23135
23136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23137{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23138echo "${ECHO_T}$ac_header_compiler" >&6; }
23139
23140# Is the header present?
23141{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
23142echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23143cat >conftest.$ac_ext <<_ACEOF
23144/* confdefs.h.  */
23145_ACEOF
23146cat confdefs.h >>conftest.$ac_ext
23147cat >>conftest.$ac_ext <<_ACEOF
23148/* end confdefs.h.  */
23149#include <$ac_header>
23150_ACEOF
23151if { (ac_try="$ac_cpp conftest.$ac_ext"
23152case "(($ac_try" in
23153  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23154  *) ac_try_echo=$ac_try;;
23155esac
23156eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23157  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23158  ac_status=$?
23159  grep -v '^ *+' conftest.er1 >conftest.err
23160  rm -f conftest.er1
23161  cat conftest.err >&5
23162  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163  (exit $ac_status); } >/dev/null && {
23164	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23165	 test ! -s conftest.err
23166       }; then
23167  ac_header_preproc=yes
23168else
23169  echo "$as_me: failed program was:" >&5
23170sed 's/^/| /' conftest.$ac_ext >&5
23171
23172  ac_header_preproc=no
23173fi
23174
23175rm -f conftest.err conftest.$ac_ext
23176{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23177echo "${ECHO_T}$ac_header_preproc" >&6; }
23178
23179# So?  What about this header?
23180case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23181  yes:no: )
23182    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23183echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23184    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23185echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23186    ac_header_preproc=yes
23187    ;;
23188  no:yes:* )
23189    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23190echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23191    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
23192echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
23193    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23194echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23195    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
23196echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
23197    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23198echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23199    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23200echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23201
23202    ;;
23203esac
23204{ echo "$as_me:$LINENO: checking for $ac_header" >&5
23205echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23206if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23207  echo $ECHO_N "(cached) $ECHO_C" >&6
23208else
23209  eval "$as_ac_Header=\$ac_header_preproc"
23210fi
23211ac_res=`eval echo '${'$as_ac_Header'}'`
23212	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23213echo "${ECHO_T}$ac_res" >&6; }
23214
23215fi
23216if test `eval echo '${'$as_ac_Header'}'` = yes; then
23217  cat >>confdefs.h <<_ACEOF
23218#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23219_ACEOF
23220
23221fi
23222
23223done
23224
23225
23226for ac_header in ieeefp.h
23227do
23228as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23229if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23230  { echo "$as_me:$LINENO: checking for $ac_header" >&5
23231echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23232if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23233  echo $ECHO_N "(cached) $ECHO_C" >&6
23234fi
23235ac_res=`eval echo '${'$as_ac_Header'}'`
23236	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23237echo "${ECHO_T}$ac_res" >&6; }
23238else
23239  # Is the header compilable?
23240{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
23241echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23242cat >conftest.$ac_ext <<_ACEOF
23243/* confdefs.h.  */
23244_ACEOF
23245cat confdefs.h >>conftest.$ac_ext
23246cat >>conftest.$ac_ext <<_ACEOF
23247/* end confdefs.h.  */
23248$ac_includes_default
23249#include <$ac_header>
23250_ACEOF
23251rm -f conftest.$ac_objext
23252if { (ac_try="$ac_compile"
23253case "(($ac_try" in
23254  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23255  *) ac_try_echo=$ac_try;;
23256esac
23257eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23258  (eval "$ac_compile") 2>conftest.er1
23259  ac_status=$?
23260  grep -v '^ *+' conftest.er1 >conftest.err
23261  rm -f conftest.er1
23262  cat conftest.err >&5
23263  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23264  (exit $ac_status); } && {
23265	 test -z "$ac_c_werror_flag" ||
23266	 test ! -s conftest.err
23267       } && test -s conftest.$ac_objext; then
23268  ac_header_compiler=yes
23269else
23270  echo "$as_me: failed program was:" >&5
23271sed 's/^/| /' conftest.$ac_ext >&5
23272
23273	ac_header_compiler=no
23274fi
23275
23276rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23277{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23278echo "${ECHO_T}$ac_header_compiler" >&6; }
23279
23280# Is the header present?
23281{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
23282echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23283cat >conftest.$ac_ext <<_ACEOF
23284/* confdefs.h.  */
23285_ACEOF
23286cat confdefs.h >>conftest.$ac_ext
23287cat >>conftest.$ac_ext <<_ACEOF
23288/* end confdefs.h.  */
23289#include <$ac_header>
23290_ACEOF
23291if { (ac_try="$ac_cpp conftest.$ac_ext"
23292case "(($ac_try" in
23293  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23294  *) ac_try_echo=$ac_try;;
23295esac
23296eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23297  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23298  ac_status=$?
23299  grep -v '^ *+' conftest.er1 >conftest.err
23300  rm -f conftest.er1
23301  cat conftest.err >&5
23302  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23303  (exit $ac_status); } >/dev/null && {
23304	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23305	 test ! -s conftest.err
23306       }; then
23307  ac_header_preproc=yes
23308else
23309  echo "$as_me: failed program was:" >&5
23310sed 's/^/| /' conftest.$ac_ext >&5
23311
23312  ac_header_preproc=no
23313fi
23314
23315rm -f conftest.err conftest.$ac_ext
23316{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23317echo "${ECHO_T}$ac_header_preproc" >&6; }
23318
23319# So?  What about this header?
23320case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23321  yes:no: )
23322    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23323echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23324    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23325echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23326    ac_header_preproc=yes
23327    ;;
23328  no:yes:* )
23329    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23330echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23331    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
23332echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
23333    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23334echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23335    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
23336echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
23337    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23338echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23339    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23340echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23341
23342    ;;
23343esac
23344{ echo "$as_me:$LINENO: checking for $ac_header" >&5
23345echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23346if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23347  echo $ECHO_N "(cached) $ECHO_C" >&6
23348else
23349  eval "$as_ac_Header=\$ac_header_preproc"
23350fi
23351ac_res=`eval echo '${'$as_ac_Header'}'`
23352	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23353echo "${ECHO_T}$ac_res" >&6; }
23354
23355fi
23356if test `eval echo '${'$as_ac_Header'}'` = yes; then
23357  cat >>confdefs.h <<_ACEOF
23358#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23359_ACEOF
23360
23361fi
23362
23363done
23364
23365
23366for ac_header in nan.h
23367do
23368as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23369if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23370  { echo "$as_me:$LINENO: checking for $ac_header" >&5
23371echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23372if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23373  echo $ECHO_N "(cached) $ECHO_C" >&6
23374fi
23375ac_res=`eval echo '${'$as_ac_Header'}'`
23376	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23377echo "${ECHO_T}$ac_res" >&6; }
23378else
23379  # Is the header compilable?
23380{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
23381echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23382cat >conftest.$ac_ext <<_ACEOF
23383/* confdefs.h.  */
23384_ACEOF
23385cat confdefs.h >>conftest.$ac_ext
23386cat >>conftest.$ac_ext <<_ACEOF
23387/* end confdefs.h.  */
23388$ac_includes_default
23389#include <$ac_header>
23390_ACEOF
23391rm -f conftest.$ac_objext
23392if { (ac_try="$ac_compile"
23393case "(($ac_try" in
23394  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23395  *) ac_try_echo=$ac_try;;
23396esac
23397eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23398  (eval "$ac_compile") 2>conftest.er1
23399  ac_status=$?
23400  grep -v '^ *+' conftest.er1 >conftest.err
23401  rm -f conftest.er1
23402  cat conftest.err >&5
23403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404  (exit $ac_status); } && {
23405	 test -z "$ac_c_werror_flag" ||
23406	 test ! -s conftest.err
23407       } && test -s conftest.$ac_objext; then
23408  ac_header_compiler=yes
23409else
23410  echo "$as_me: failed program was:" >&5
23411sed 's/^/| /' conftest.$ac_ext >&5
23412
23413	ac_header_compiler=no
23414fi
23415
23416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23417{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23418echo "${ECHO_T}$ac_header_compiler" >&6; }
23419
23420# Is the header present?
23421{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
23422echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23423cat >conftest.$ac_ext <<_ACEOF
23424/* confdefs.h.  */
23425_ACEOF
23426cat confdefs.h >>conftest.$ac_ext
23427cat >>conftest.$ac_ext <<_ACEOF
23428/* end confdefs.h.  */
23429#include <$ac_header>
23430_ACEOF
23431if { (ac_try="$ac_cpp conftest.$ac_ext"
23432case "(($ac_try" in
23433  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23434  *) ac_try_echo=$ac_try;;
23435esac
23436eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23437  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23438  ac_status=$?
23439  grep -v '^ *+' conftest.er1 >conftest.err
23440  rm -f conftest.er1
23441  cat conftest.err >&5
23442  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443  (exit $ac_status); } >/dev/null && {
23444	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23445	 test ! -s conftest.err
23446       }; then
23447  ac_header_preproc=yes
23448else
23449  echo "$as_me: failed program was:" >&5
23450sed 's/^/| /' conftest.$ac_ext >&5
23451
23452  ac_header_preproc=no
23453fi
23454
23455rm -f conftest.err conftest.$ac_ext
23456{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23457echo "${ECHO_T}$ac_header_preproc" >&6; }
23458
23459# So?  What about this header?
23460case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23461  yes:no: )
23462    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23463echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23464    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23465echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23466    ac_header_preproc=yes
23467    ;;
23468  no:yes:* )
23469    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23470echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23471    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
23472echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
23473    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23474echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23475    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
23476echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
23477    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23478echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23479    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23480echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23481
23482    ;;
23483esac
23484{ echo "$as_me:$LINENO: checking for $ac_header" >&5
23485echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23486if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23487  echo $ECHO_N "(cached) $ECHO_C" >&6
23488else
23489  eval "$as_ac_Header=\$ac_header_preproc"
23490fi
23491ac_res=`eval echo '${'$as_ac_Header'}'`
23492	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23493echo "${ECHO_T}$ac_res" >&6; }
23494
23495fi
23496if test `eval echo '${'$as_ac_Header'}'` = yes; then
23497  cat >>confdefs.h <<_ACEOF
23498#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23499_ACEOF
23500
23501fi
23502
23503done
23504
23505
23506for ac_header in math.h
23507do
23508as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23509if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23510  { echo "$as_me:$LINENO: checking for $ac_header" >&5
23511echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23512if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23513  echo $ECHO_N "(cached) $ECHO_C" >&6
23514fi
23515ac_res=`eval echo '${'$as_ac_Header'}'`
23516	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23517echo "${ECHO_T}$ac_res" >&6; }
23518else
23519  # Is the header compilable?
23520{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
23521echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23522cat >conftest.$ac_ext <<_ACEOF
23523/* confdefs.h.  */
23524_ACEOF
23525cat confdefs.h >>conftest.$ac_ext
23526cat >>conftest.$ac_ext <<_ACEOF
23527/* end confdefs.h.  */
23528$ac_includes_default
23529#include <$ac_header>
23530_ACEOF
23531rm -f conftest.$ac_objext
23532if { (ac_try="$ac_compile"
23533case "(($ac_try" in
23534  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23535  *) ac_try_echo=$ac_try;;
23536esac
23537eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538  (eval "$ac_compile") 2>conftest.er1
23539  ac_status=$?
23540  grep -v '^ *+' conftest.er1 >conftest.err
23541  rm -f conftest.er1
23542  cat conftest.err >&5
23543  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544  (exit $ac_status); } && {
23545	 test -z "$ac_c_werror_flag" ||
23546	 test ! -s conftest.err
23547       } && test -s conftest.$ac_objext; then
23548  ac_header_compiler=yes
23549else
23550  echo "$as_me: failed program was:" >&5
23551sed 's/^/| /' conftest.$ac_ext >&5
23552
23553	ac_header_compiler=no
23554fi
23555
23556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23557{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23558echo "${ECHO_T}$ac_header_compiler" >&6; }
23559
23560# Is the header present?
23561{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
23562echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23563cat >conftest.$ac_ext <<_ACEOF
23564/* confdefs.h.  */
23565_ACEOF
23566cat confdefs.h >>conftest.$ac_ext
23567cat >>conftest.$ac_ext <<_ACEOF
23568/* end confdefs.h.  */
23569#include <$ac_header>
23570_ACEOF
23571if { (ac_try="$ac_cpp conftest.$ac_ext"
23572case "(($ac_try" in
23573  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23574  *) ac_try_echo=$ac_try;;
23575esac
23576eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23577  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23578  ac_status=$?
23579  grep -v '^ *+' conftest.er1 >conftest.err
23580  rm -f conftest.er1
23581  cat conftest.err >&5
23582  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583  (exit $ac_status); } >/dev/null && {
23584	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23585	 test ! -s conftest.err
23586       }; then
23587  ac_header_preproc=yes
23588else
23589  echo "$as_me: failed program was:" >&5
23590sed 's/^/| /' conftest.$ac_ext >&5
23591
23592  ac_header_preproc=no
23593fi
23594
23595rm -f conftest.err conftest.$ac_ext
23596{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23597echo "${ECHO_T}$ac_header_preproc" >&6; }
23598
23599# So?  What about this header?
23600case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23601  yes:no: )
23602    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23603echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23604    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23605echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23606    ac_header_preproc=yes
23607    ;;
23608  no:yes:* )
23609    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23610echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23611    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
23612echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
23613    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23614echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23615    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
23616echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
23617    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23618echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23619    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23620echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23621
23622    ;;
23623esac
23624{ echo "$as_me:$LINENO: checking for $ac_header" >&5
23625echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23626if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23627  echo $ECHO_N "(cached) $ECHO_C" >&6
23628else
23629  eval "$as_ac_Header=\$ac_header_preproc"
23630fi
23631ac_res=`eval echo '${'$as_ac_Header'}'`
23632	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23633echo "${ECHO_T}$ac_res" >&6; }
23634
23635fi
23636if test `eval echo '${'$as_ac_Header'}'` = yes; then
23637  cat >>confdefs.h <<_ACEOF
23638#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23639_ACEOF
23640
23641fi
23642
23643done
23644
23645
23646for ac_header in limits.h
23647do
23648as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23649if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23650  { echo "$as_me:$LINENO: checking for $ac_header" >&5
23651echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23652if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23653  echo $ECHO_N "(cached) $ECHO_C" >&6
23654fi
23655ac_res=`eval echo '${'$as_ac_Header'}'`
23656	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23657echo "${ECHO_T}$ac_res" >&6; }
23658else
23659  # Is the header compilable?
23660{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
23661echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23662cat >conftest.$ac_ext <<_ACEOF
23663/* confdefs.h.  */
23664_ACEOF
23665cat confdefs.h >>conftest.$ac_ext
23666cat >>conftest.$ac_ext <<_ACEOF
23667/* end confdefs.h.  */
23668$ac_includes_default
23669#include <$ac_header>
23670_ACEOF
23671rm -f conftest.$ac_objext
23672if { (ac_try="$ac_compile"
23673case "(($ac_try" in
23674  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23675  *) ac_try_echo=$ac_try;;
23676esac
23677eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23678  (eval "$ac_compile") 2>conftest.er1
23679  ac_status=$?
23680  grep -v '^ *+' conftest.er1 >conftest.err
23681  rm -f conftest.er1
23682  cat conftest.err >&5
23683  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684  (exit $ac_status); } && {
23685	 test -z "$ac_c_werror_flag" ||
23686	 test ! -s conftest.err
23687       } && test -s conftest.$ac_objext; then
23688  ac_header_compiler=yes
23689else
23690  echo "$as_me: failed program was:" >&5
23691sed 's/^/| /' conftest.$ac_ext >&5
23692
23693	ac_header_compiler=no
23694fi
23695
23696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23697{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23698echo "${ECHO_T}$ac_header_compiler" >&6; }
23699
23700# Is the header present?
23701{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
23702echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23703cat >conftest.$ac_ext <<_ACEOF
23704/* confdefs.h.  */
23705_ACEOF
23706cat confdefs.h >>conftest.$ac_ext
23707cat >>conftest.$ac_ext <<_ACEOF
23708/* end confdefs.h.  */
23709#include <$ac_header>
23710_ACEOF
23711if { (ac_try="$ac_cpp conftest.$ac_ext"
23712case "(($ac_try" in
23713  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23714  *) ac_try_echo=$ac_try;;
23715esac
23716eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23717  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23718  ac_status=$?
23719  grep -v '^ *+' conftest.er1 >conftest.err
23720  rm -f conftest.er1
23721  cat conftest.err >&5
23722  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723  (exit $ac_status); } >/dev/null && {
23724	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23725	 test ! -s conftest.err
23726       }; then
23727  ac_header_preproc=yes
23728else
23729  echo "$as_me: failed program was:" >&5
23730sed 's/^/| /' conftest.$ac_ext >&5
23731
23732  ac_header_preproc=no
23733fi
23734
23735rm -f conftest.err conftest.$ac_ext
23736{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23737echo "${ECHO_T}$ac_header_preproc" >&6; }
23738
23739# So?  What about this header?
23740case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23741  yes:no: )
23742    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23743echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23744    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23745echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23746    ac_header_preproc=yes
23747    ;;
23748  no:yes:* )
23749    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23750echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23751    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
23752echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
23753    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23754echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23755    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
23756echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
23757    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23758echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23759    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23760echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23761
23762    ;;
23763esac
23764{ echo "$as_me:$LINENO: checking for $ac_header" >&5
23765echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23766if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23767  echo $ECHO_N "(cached) $ECHO_C" >&6
23768else
23769  eval "$as_ac_Header=\$ac_header_preproc"
23770fi
23771ac_res=`eval echo '${'$as_ac_Header'}'`
23772	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23773echo "${ECHO_T}$ac_res" >&6; }
23774
23775fi
23776if test `eval echo '${'$as_ac_Header'}'` = yes; then
23777  cat >>confdefs.h <<_ACEOF
23778#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23779_ACEOF
23780
23781fi
23782
23783done
23784
23785
23786for ac_header in fp_class.h
23787do
23788as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23789if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23790  { echo "$as_me:$LINENO: checking for $ac_header" >&5
23791echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23792if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23793  echo $ECHO_N "(cached) $ECHO_C" >&6
23794fi
23795ac_res=`eval echo '${'$as_ac_Header'}'`
23796	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23797echo "${ECHO_T}$ac_res" >&6; }
23798else
23799  # Is the header compilable?
23800{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
23801echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23802cat >conftest.$ac_ext <<_ACEOF
23803/* confdefs.h.  */
23804_ACEOF
23805cat confdefs.h >>conftest.$ac_ext
23806cat >>conftest.$ac_ext <<_ACEOF
23807/* end confdefs.h.  */
23808$ac_includes_default
23809#include <$ac_header>
23810_ACEOF
23811rm -f conftest.$ac_objext
23812if { (ac_try="$ac_compile"
23813case "(($ac_try" in
23814  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23815  *) ac_try_echo=$ac_try;;
23816esac
23817eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23818  (eval "$ac_compile") 2>conftest.er1
23819  ac_status=$?
23820  grep -v '^ *+' conftest.er1 >conftest.err
23821  rm -f conftest.er1
23822  cat conftest.err >&5
23823  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23824  (exit $ac_status); } && {
23825	 test -z "$ac_c_werror_flag" ||
23826	 test ! -s conftest.err
23827       } && test -s conftest.$ac_objext; then
23828  ac_header_compiler=yes
23829else
23830  echo "$as_me: failed program was:" >&5
23831sed 's/^/| /' conftest.$ac_ext >&5
23832
23833	ac_header_compiler=no
23834fi
23835
23836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23837{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23838echo "${ECHO_T}$ac_header_compiler" >&6; }
23839
23840# Is the header present?
23841{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
23842echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23843cat >conftest.$ac_ext <<_ACEOF
23844/* confdefs.h.  */
23845_ACEOF
23846cat confdefs.h >>conftest.$ac_ext
23847cat >>conftest.$ac_ext <<_ACEOF
23848/* end confdefs.h.  */
23849#include <$ac_header>
23850_ACEOF
23851if { (ac_try="$ac_cpp conftest.$ac_ext"
23852case "(($ac_try" in
23853  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23854  *) ac_try_echo=$ac_try;;
23855esac
23856eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23857  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23858  ac_status=$?
23859  grep -v '^ *+' conftest.er1 >conftest.err
23860  rm -f conftest.er1
23861  cat conftest.err >&5
23862  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863  (exit $ac_status); } >/dev/null && {
23864	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23865	 test ! -s conftest.err
23866       }; then
23867  ac_header_preproc=yes
23868else
23869  echo "$as_me: failed program was:" >&5
23870sed 's/^/| /' conftest.$ac_ext >&5
23871
23872  ac_header_preproc=no
23873fi
23874
23875rm -f conftest.err conftest.$ac_ext
23876{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23877echo "${ECHO_T}$ac_header_preproc" >&6; }
23878
23879# So?  What about this header?
23880case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23881  yes:no: )
23882    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23883echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23884    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23885echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23886    ac_header_preproc=yes
23887    ;;
23888  no:yes:* )
23889    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23890echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23891    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
23892echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
23893    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23894echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23895    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
23896echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
23897    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23898echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23899    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23900echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23901
23902    ;;
23903esac
23904{ echo "$as_me:$LINENO: checking for $ac_header" >&5
23905echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23906if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23907  echo $ECHO_N "(cached) $ECHO_C" >&6
23908else
23909  eval "$as_ac_Header=\$ac_header_preproc"
23910fi
23911ac_res=`eval echo '${'$as_ac_Header'}'`
23912	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23913echo "${ECHO_T}$ac_res" >&6; }
23914
23915fi
23916if test `eval echo '${'$as_ac_Header'}'` = yes; then
23917  cat >>confdefs.h <<_ACEOF
23918#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23919_ACEOF
23920
23921fi
23922
23923done
23924
23925
23926for ac_header in float.h
23927do
23928as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23929if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23930  { echo "$as_me:$LINENO: checking for $ac_header" >&5
23931echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23932if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23933  echo $ECHO_N "(cached) $ECHO_C" >&6
23934fi
23935ac_res=`eval echo '${'$as_ac_Header'}'`
23936	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23937echo "${ECHO_T}$ac_res" >&6; }
23938else
23939  # Is the header compilable?
23940{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
23941echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23942cat >conftest.$ac_ext <<_ACEOF
23943/* confdefs.h.  */
23944_ACEOF
23945cat confdefs.h >>conftest.$ac_ext
23946cat >>conftest.$ac_ext <<_ACEOF
23947/* end confdefs.h.  */
23948$ac_includes_default
23949#include <$ac_header>
23950_ACEOF
23951rm -f conftest.$ac_objext
23952if { (ac_try="$ac_compile"
23953case "(($ac_try" in
23954  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23955  *) ac_try_echo=$ac_try;;
23956esac
23957eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23958  (eval "$ac_compile") 2>conftest.er1
23959  ac_status=$?
23960  grep -v '^ *+' conftest.er1 >conftest.err
23961  rm -f conftest.er1
23962  cat conftest.err >&5
23963  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964  (exit $ac_status); } && {
23965	 test -z "$ac_c_werror_flag" ||
23966	 test ! -s conftest.err
23967       } && test -s conftest.$ac_objext; then
23968  ac_header_compiler=yes
23969else
23970  echo "$as_me: failed program was:" >&5
23971sed 's/^/| /' conftest.$ac_ext >&5
23972
23973	ac_header_compiler=no
23974fi
23975
23976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23977{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23978echo "${ECHO_T}$ac_header_compiler" >&6; }
23979
23980# Is the header present?
23981{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
23982echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23983cat >conftest.$ac_ext <<_ACEOF
23984/* confdefs.h.  */
23985_ACEOF
23986cat confdefs.h >>conftest.$ac_ext
23987cat >>conftest.$ac_ext <<_ACEOF
23988/* end confdefs.h.  */
23989#include <$ac_header>
23990_ACEOF
23991if { (ac_try="$ac_cpp conftest.$ac_ext"
23992case "(($ac_try" in
23993  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23994  *) ac_try_echo=$ac_try;;
23995esac
23996eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23997  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23998  ac_status=$?
23999  grep -v '^ *+' conftest.er1 >conftest.err
24000  rm -f conftest.er1
24001  cat conftest.err >&5
24002  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003  (exit $ac_status); } >/dev/null && {
24004	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24005	 test ! -s conftest.err
24006       }; then
24007  ac_header_preproc=yes
24008else
24009  echo "$as_me: failed program was:" >&5
24010sed 's/^/| /' conftest.$ac_ext >&5
24011
24012  ac_header_preproc=no
24013fi
24014
24015rm -f conftest.err conftest.$ac_ext
24016{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24017echo "${ECHO_T}$ac_header_preproc" >&6; }
24018
24019# So?  What about this header?
24020case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24021  yes:no: )
24022    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24023echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24024    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24025echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24026    ac_header_preproc=yes
24027    ;;
24028  no:yes:* )
24029    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24030echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24031    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24032echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24033    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24034echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24035    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24036echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24037    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24038echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24039    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24040echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24041
24042    ;;
24043esac
24044{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24045echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24046if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24047  echo $ECHO_N "(cached) $ECHO_C" >&6
24048else
24049  eval "$as_ac_Header=\$ac_header_preproc"
24050fi
24051ac_res=`eval echo '${'$as_ac_Header'}'`
24052	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24053echo "${ECHO_T}$ac_res" >&6; }
24054
24055fi
24056if test `eval echo '${'$as_ac_Header'}'` = yes; then
24057  cat >>confdefs.h <<_ACEOF
24058#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24059_ACEOF
24060
24061fi
24062
24063done
24064
24065
24066for ac_header in stdlib.h
24067do
24068as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24069if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24070  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24071echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24072if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24073  echo $ECHO_N "(cached) $ECHO_C" >&6
24074fi
24075ac_res=`eval echo '${'$as_ac_Header'}'`
24076	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24077echo "${ECHO_T}$ac_res" >&6; }
24078else
24079  # Is the header compilable?
24080{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24081echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24082cat >conftest.$ac_ext <<_ACEOF
24083/* confdefs.h.  */
24084_ACEOF
24085cat confdefs.h >>conftest.$ac_ext
24086cat >>conftest.$ac_ext <<_ACEOF
24087/* end confdefs.h.  */
24088$ac_includes_default
24089#include <$ac_header>
24090_ACEOF
24091rm -f conftest.$ac_objext
24092if { (ac_try="$ac_compile"
24093case "(($ac_try" in
24094  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24095  *) ac_try_echo=$ac_try;;
24096esac
24097eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24098  (eval "$ac_compile") 2>conftest.er1
24099  ac_status=$?
24100  grep -v '^ *+' conftest.er1 >conftest.err
24101  rm -f conftest.er1
24102  cat conftest.err >&5
24103  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104  (exit $ac_status); } && {
24105	 test -z "$ac_c_werror_flag" ||
24106	 test ! -s conftest.err
24107       } && test -s conftest.$ac_objext; then
24108  ac_header_compiler=yes
24109else
24110  echo "$as_me: failed program was:" >&5
24111sed 's/^/| /' conftest.$ac_ext >&5
24112
24113	ac_header_compiler=no
24114fi
24115
24116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24117{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24118echo "${ECHO_T}$ac_header_compiler" >&6; }
24119
24120# Is the header present?
24121{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24122echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24123cat >conftest.$ac_ext <<_ACEOF
24124/* confdefs.h.  */
24125_ACEOF
24126cat confdefs.h >>conftest.$ac_ext
24127cat >>conftest.$ac_ext <<_ACEOF
24128/* end confdefs.h.  */
24129#include <$ac_header>
24130_ACEOF
24131if { (ac_try="$ac_cpp conftest.$ac_ext"
24132case "(($ac_try" in
24133  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24134  *) ac_try_echo=$ac_try;;
24135esac
24136eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24137  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24138  ac_status=$?
24139  grep -v '^ *+' conftest.er1 >conftest.err
24140  rm -f conftest.er1
24141  cat conftest.err >&5
24142  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143  (exit $ac_status); } >/dev/null && {
24144	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24145	 test ! -s conftest.err
24146       }; then
24147  ac_header_preproc=yes
24148else
24149  echo "$as_me: failed program was:" >&5
24150sed 's/^/| /' conftest.$ac_ext >&5
24151
24152  ac_header_preproc=no
24153fi
24154
24155rm -f conftest.err conftest.$ac_ext
24156{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24157echo "${ECHO_T}$ac_header_preproc" >&6; }
24158
24159# So?  What about this header?
24160case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24161  yes:no: )
24162    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24163echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24164    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24165echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24166    ac_header_preproc=yes
24167    ;;
24168  no:yes:* )
24169    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24170echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24171    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24172echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24173    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24174echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24175    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24176echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24177    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24178echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24179    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24180echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24181
24182    ;;
24183esac
24184{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24185echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24186if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24187  echo $ECHO_N "(cached) $ECHO_C" >&6
24188else
24189  eval "$as_ac_Header=\$ac_header_preproc"
24190fi
24191ac_res=`eval echo '${'$as_ac_Header'}'`
24192	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24193echo "${ECHO_T}$ac_res" >&6; }
24194
24195fi
24196if test `eval echo '${'$as_ac_Header'}'` = yes; then
24197  cat >>confdefs.h <<_ACEOF
24198#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24199_ACEOF
24200
24201fi
24202
24203done
24204
24205
24206for ac_header in sys/socket.h
24207do
24208as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24209{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24210echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24211if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24212  echo $ECHO_N "(cached) $ECHO_C" >&6
24213else
24214  cat >conftest.$ac_ext <<_ACEOF
24215/* confdefs.h.  */
24216_ACEOF
24217cat confdefs.h >>conftest.$ac_ext
24218cat >>conftest.$ac_ext <<_ACEOF
24219/* end confdefs.h.  */
24220#if HAVE_SYS_TYPES_H
24221# include <sys/types.h>
24222# endif
24223
24224
24225#include <$ac_header>
24226_ACEOF
24227rm -f conftest.$ac_objext
24228if { (ac_try="$ac_compile"
24229case "(($ac_try" in
24230  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24231  *) ac_try_echo=$ac_try;;
24232esac
24233eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24234  (eval "$ac_compile") 2>conftest.er1
24235  ac_status=$?
24236  grep -v '^ *+' conftest.er1 >conftest.err
24237  rm -f conftest.er1
24238  cat conftest.err >&5
24239  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24240  (exit $ac_status); } && {
24241	 test -z "$ac_c_werror_flag" ||
24242	 test ! -s conftest.err
24243       } && test -s conftest.$ac_objext; then
24244  eval "$as_ac_Header=yes"
24245else
24246  echo "$as_me: failed program was:" >&5
24247sed 's/^/| /' conftest.$ac_ext >&5
24248
24249	eval "$as_ac_Header=no"
24250fi
24251
24252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24253fi
24254ac_res=`eval echo '${'$as_ac_Header'}'`
24255	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24256echo "${ECHO_T}$ac_res" >&6; }
24257if test `eval echo '${'$as_ac_Header'}'` = yes; then
24258  cat >>confdefs.h <<_ACEOF
24259#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24260_ACEOF
24261
24262fi
24263
24264done
24265
24266
24267for ac_header in netinet/in.h
24268do
24269as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24270{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24271echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24272if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24273  echo $ECHO_N "(cached) $ECHO_C" >&6
24274else
24275  cat >conftest.$ac_ext <<_ACEOF
24276/* confdefs.h.  */
24277_ACEOF
24278cat confdefs.h >>conftest.$ac_ext
24279cat >>conftest.$ac_ext <<_ACEOF
24280/* end confdefs.h.  */
24281#if HAVE_SYS_TYPES_H
24282# include <sys/types.h>
24283# endif
24284
24285
24286#include <$ac_header>
24287_ACEOF
24288rm -f conftest.$ac_objext
24289if { (ac_try="$ac_compile"
24290case "(($ac_try" in
24291  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24292  *) ac_try_echo=$ac_try;;
24293esac
24294eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24295  (eval "$ac_compile") 2>conftest.er1
24296  ac_status=$?
24297  grep -v '^ *+' conftest.er1 >conftest.err
24298  rm -f conftest.er1
24299  cat conftest.err >&5
24300  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301  (exit $ac_status); } && {
24302	 test -z "$ac_c_werror_flag" ||
24303	 test ! -s conftest.err
24304       } && test -s conftest.$ac_objext; then
24305  eval "$as_ac_Header=yes"
24306else
24307  echo "$as_me: failed program was:" >&5
24308sed 's/^/| /' conftest.$ac_ext >&5
24309
24310	eval "$as_ac_Header=no"
24311fi
24312
24313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24314fi
24315ac_res=`eval echo '${'$as_ac_Header'}'`
24316	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24317echo "${ECHO_T}$ac_res" >&6; }
24318if test `eval echo '${'$as_ac_Header'}'` = yes; then
24319  cat >>confdefs.h <<_ACEOF
24320#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24321_ACEOF
24322
24323fi
24324
24325done
24326
24327
24328for ac_header in arpa/inet.h
24329do
24330as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24331{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24332echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24333if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24334  echo $ECHO_N "(cached) $ECHO_C" >&6
24335else
24336  cat >conftest.$ac_ext <<_ACEOF
24337/* confdefs.h.  */
24338_ACEOF
24339cat confdefs.h >>conftest.$ac_ext
24340cat >>conftest.$ac_ext <<_ACEOF
24341/* end confdefs.h.  */
24342#if HAVE_SYS_TYPES_H
24343# include <sys/types.h>
24344# endif
24345#if HAVE_ARPA_INET_H
24346# include <arpa/inet.h>
24347# endif
24348
24349
24350#include <$ac_header>
24351_ACEOF
24352rm -f conftest.$ac_objext
24353if { (ac_try="$ac_compile"
24354case "(($ac_try" in
24355  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24356  *) ac_try_echo=$ac_try;;
24357esac
24358eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24359  (eval "$ac_compile") 2>conftest.er1
24360  ac_status=$?
24361  grep -v '^ *+' conftest.er1 >conftest.err
24362  rm -f conftest.er1
24363  cat conftest.err >&5
24364  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365  (exit $ac_status); } && {
24366	 test -z "$ac_c_werror_flag" ||
24367	 test ! -s conftest.err
24368       } && test -s conftest.$ac_objext; then
24369  eval "$as_ac_Header=yes"
24370else
24371  echo "$as_me: failed program was:" >&5
24372sed 's/^/| /' conftest.$ac_ext >&5
24373
24374	eval "$as_ac_Header=no"
24375fi
24376
24377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24378fi
24379ac_res=`eval echo '${'$as_ac_Header'}'`
24380	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24381echo "${ECHO_T}$ac_res" >&6; }
24382if test `eval echo '${'$as_ac_Header'}'` = yes; then
24383  cat >>confdefs.h <<_ACEOF
24384#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24385_ACEOF
24386
24387fi
24388
24389done
24390
24391
24392for ac_header in netdb.h
24393do
24394as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24395if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24396  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24397echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24398if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24399  echo $ECHO_N "(cached) $ECHO_C" >&6
24400fi
24401ac_res=`eval echo '${'$as_ac_Header'}'`
24402	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24403echo "${ECHO_T}$ac_res" >&6; }
24404else
24405  # Is the header compilable?
24406{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24407echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24408cat >conftest.$ac_ext <<_ACEOF
24409/* confdefs.h.  */
24410_ACEOF
24411cat confdefs.h >>conftest.$ac_ext
24412cat >>conftest.$ac_ext <<_ACEOF
24413/* end confdefs.h.  */
24414$ac_includes_default
24415#include <$ac_header>
24416_ACEOF
24417rm -f conftest.$ac_objext
24418if { (ac_try="$ac_compile"
24419case "(($ac_try" in
24420  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24421  *) ac_try_echo=$ac_try;;
24422esac
24423eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24424  (eval "$ac_compile") 2>conftest.er1
24425  ac_status=$?
24426  grep -v '^ *+' conftest.er1 >conftest.err
24427  rm -f conftest.er1
24428  cat conftest.err >&5
24429  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430  (exit $ac_status); } && {
24431	 test -z "$ac_c_werror_flag" ||
24432	 test ! -s conftest.err
24433       } && test -s conftest.$ac_objext; then
24434  ac_header_compiler=yes
24435else
24436  echo "$as_me: failed program was:" >&5
24437sed 's/^/| /' conftest.$ac_ext >&5
24438
24439	ac_header_compiler=no
24440fi
24441
24442rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24443{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24444echo "${ECHO_T}$ac_header_compiler" >&6; }
24445
24446# Is the header present?
24447{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24448echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24449cat >conftest.$ac_ext <<_ACEOF
24450/* confdefs.h.  */
24451_ACEOF
24452cat confdefs.h >>conftest.$ac_ext
24453cat >>conftest.$ac_ext <<_ACEOF
24454/* end confdefs.h.  */
24455#include <$ac_header>
24456_ACEOF
24457if { (ac_try="$ac_cpp conftest.$ac_ext"
24458case "(($ac_try" in
24459  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24460  *) ac_try_echo=$ac_try;;
24461esac
24462eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24463  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24464  ac_status=$?
24465  grep -v '^ *+' conftest.er1 >conftest.err
24466  rm -f conftest.er1
24467  cat conftest.err >&5
24468  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469  (exit $ac_status); } >/dev/null && {
24470	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24471	 test ! -s conftest.err
24472       }; then
24473  ac_header_preproc=yes
24474else
24475  echo "$as_me: failed program was:" >&5
24476sed 's/^/| /' conftest.$ac_ext >&5
24477
24478  ac_header_preproc=no
24479fi
24480
24481rm -f conftest.err conftest.$ac_ext
24482{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24483echo "${ECHO_T}$ac_header_preproc" >&6; }
24484
24485# So?  What about this header?
24486case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24487  yes:no: )
24488    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24489echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24490    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24491echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24492    ac_header_preproc=yes
24493    ;;
24494  no:yes:* )
24495    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24496echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24497    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24498echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24499    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24500echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24501    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24502echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24503    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24504echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24505    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24506echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24507
24508    ;;
24509esac
24510{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24511echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24512if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24513  echo $ECHO_N "(cached) $ECHO_C" >&6
24514else
24515  eval "$as_ac_Header=\$ac_header_preproc"
24516fi
24517ac_res=`eval echo '${'$as_ac_Header'}'`
24518	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24519echo "${ECHO_T}$ac_res" >&6; }
24520
24521fi
24522if test `eval echo '${'$as_ac_Header'}'` = yes; then
24523  cat >>confdefs.h <<_ACEOF
24524#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24525_ACEOF
24526
24527fi
24528
24529done
24530
24531
24532for ac_header in sys/time.h
24533do
24534as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24535if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24536  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24537echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24538if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24539  echo $ECHO_N "(cached) $ECHO_C" >&6
24540fi
24541ac_res=`eval echo '${'$as_ac_Header'}'`
24542	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24543echo "${ECHO_T}$ac_res" >&6; }
24544else
24545  # Is the header compilable?
24546{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24547echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24548cat >conftest.$ac_ext <<_ACEOF
24549/* confdefs.h.  */
24550_ACEOF
24551cat confdefs.h >>conftest.$ac_ext
24552cat >>conftest.$ac_ext <<_ACEOF
24553/* end confdefs.h.  */
24554$ac_includes_default
24555#include <$ac_header>
24556_ACEOF
24557rm -f conftest.$ac_objext
24558if { (ac_try="$ac_compile"
24559case "(($ac_try" in
24560  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24561  *) ac_try_echo=$ac_try;;
24562esac
24563eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24564  (eval "$ac_compile") 2>conftest.er1
24565  ac_status=$?
24566  grep -v '^ *+' conftest.er1 >conftest.err
24567  rm -f conftest.er1
24568  cat conftest.err >&5
24569  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570  (exit $ac_status); } && {
24571	 test -z "$ac_c_werror_flag" ||
24572	 test ! -s conftest.err
24573       } && test -s conftest.$ac_objext; then
24574  ac_header_compiler=yes
24575else
24576  echo "$as_me: failed program was:" >&5
24577sed 's/^/| /' conftest.$ac_ext >&5
24578
24579	ac_header_compiler=no
24580fi
24581
24582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24583{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24584echo "${ECHO_T}$ac_header_compiler" >&6; }
24585
24586# Is the header present?
24587{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24588echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24589cat >conftest.$ac_ext <<_ACEOF
24590/* confdefs.h.  */
24591_ACEOF
24592cat confdefs.h >>conftest.$ac_ext
24593cat >>conftest.$ac_ext <<_ACEOF
24594/* end confdefs.h.  */
24595#include <$ac_header>
24596_ACEOF
24597if { (ac_try="$ac_cpp conftest.$ac_ext"
24598case "(($ac_try" in
24599  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24600  *) ac_try_echo=$ac_try;;
24601esac
24602eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24603  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24604  ac_status=$?
24605  grep -v '^ *+' conftest.er1 >conftest.err
24606  rm -f conftest.er1
24607  cat conftest.err >&5
24608  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609  (exit $ac_status); } >/dev/null && {
24610	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24611	 test ! -s conftest.err
24612       }; then
24613  ac_header_preproc=yes
24614else
24615  echo "$as_me: failed program was:" >&5
24616sed 's/^/| /' conftest.$ac_ext >&5
24617
24618  ac_header_preproc=no
24619fi
24620
24621rm -f conftest.err conftest.$ac_ext
24622{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24623echo "${ECHO_T}$ac_header_preproc" >&6; }
24624
24625# So?  What about this header?
24626case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24627  yes:no: )
24628    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24629echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24630    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24631echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24632    ac_header_preproc=yes
24633    ;;
24634  no:yes:* )
24635    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24636echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24637    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24638echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24639    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24640echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24641    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24642echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24643    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24644echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24645    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24646echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24647
24648    ;;
24649esac
24650{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24651echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24652if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24653  echo $ECHO_N "(cached) $ECHO_C" >&6
24654else
24655  eval "$as_ac_Header=\$ac_header_preproc"
24656fi
24657ac_res=`eval echo '${'$as_ac_Header'}'`
24658	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24659echo "${ECHO_T}$ac_res" >&6; }
24660
24661fi
24662if test `eval echo '${'$as_ac_Header'}'` = yes; then
24663  cat >>confdefs.h <<_ACEOF
24664#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24665_ACEOF
24666
24667fi
24668
24669done
24670
24671
24672for ac_header in sys/select.h
24673do
24674as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24675if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24676  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24677echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24678if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24679  echo $ECHO_N "(cached) $ECHO_C" >&6
24680fi
24681ac_res=`eval echo '${'$as_ac_Header'}'`
24682	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24683echo "${ECHO_T}$ac_res" >&6; }
24684else
24685  # Is the header compilable?
24686{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24687echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24688cat >conftest.$ac_ext <<_ACEOF
24689/* confdefs.h.  */
24690_ACEOF
24691cat confdefs.h >>conftest.$ac_ext
24692cat >>conftest.$ac_ext <<_ACEOF
24693/* end confdefs.h.  */
24694$ac_includes_default
24695#include <$ac_header>
24696_ACEOF
24697rm -f conftest.$ac_objext
24698if { (ac_try="$ac_compile"
24699case "(($ac_try" in
24700  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24701  *) ac_try_echo=$ac_try;;
24702esac
24703eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24704  (eval "$ac_compile") 2>conftest.er1
24705  ac_status=$?
24706  grep -v '^ *+' conftest.er1 >conftest.err
24707  rm -f conftest.er1
24708  cat conftest.err >&5
24709  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24710  (exit $ac_status); } && {
24711	 test -z "$ac_c_werror_flag" ||
24712	 test ! -s conftest.err
24713       } && test -s conftest.$ac_objext; then
24714  ac_header_compiler=yes
24715else
24716  echo "$as_me: failed program was:" >&5
24717sed 's/^/| /' conftest.$ac_ext >&5
24718
24719	ac_header_compiler=no
24720fi
24721
24722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24723{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24724echo "${ECHO_T}$ac_header_compiler" >&6; }
24725
24726# Is the header present?
24727{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24728echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24729cat >conftest.$ac_ext <<_ACEOF
24730/* confdefs.h.  */
24731_ACEOF
24732cat confdefs.h >>conftest.$ac_ext
24733cat >>conftest.$ac_ext <<_ACEOF
24734/* end confdefs.h.  */
24735#include <$ac_header>
24736_ACEOF
24737if { (ac_try="$ac_cpp conftest.$ac_ext"
24738case "(($ac_try" in
24739  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24740  *) ac_try_echo=$ac_try;;
24741esac
24742eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24743  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24744  ac_status=$?
24745  grep -v '^ *+' conftest.er1 >conftest.err
24746  rm -f conftest.er1
24747  cat conftest.err >&5
24748  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749  (exit $ac_status); } >/dev/null && {
24750	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24751	 test ! -s conftest.err
24752       }; then
24753  ac_header_preproc=yes
24754else
24755  echo "$as_me: failed program was:" >&5
24756sed 's/^/| /' conftest.$ac_ext >&5
24757
24758  ac_header_preproc=no
24759fi
24760
24761rm -f conftest.err conftest.$ac_ext
24762{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24763echo "${ECHO_T}$ac_header_preproc" >&6; }
24764
24765# So?  What about this header?
24766case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24767  yes:no: )
24768    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24769echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24770    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24771echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24772    ac_header_preproc=yes
24773    ;;
24774  no:yes:* )
24775    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24776echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24777    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24778echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24779    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24780echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24781    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24782echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24783    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24784echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24785    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24786echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24787
24788    ;;
24789esac
24790{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24791echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24792if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24793  echo $ECHO_N "(cached) $ECHO_C" >&6
24794else
24795  eval "$as_ac_Header=\$ac_header_preproc"
24796fi
24797ac_res=`eval echo '${'$as_ac_Header'}'`
24798	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24799echo "${ECHO_T}$ac_res" >&6; }
24800
24801fi
24802if test `eval echo '${'$as_ac_Header'}'` = yes; then
24803  cat >>confdefs.h <<_ACEOF
24804#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24805_ACEOF
24806
24807fi
24808
24809done
24810
24811
24812for ac_header in sys/mman.h
24813do
24814as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24815if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24816  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24817echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24818if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24819  echo $ECHO_N "(cached) $ECHO_C" >&6
24820fi
24821ac_res=`eval echo '${'$as_ac_Header'}'`
24822	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24823echo "${ECHO_T}$ac_res" >&6; }
24824else
24825  # Is the header compilable?
24826{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24827echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24828cat >conftest.$ac_ext <<_ACEOF
24829/* confdefs.h.  */
24830_ACEOF
24831cat confdefs.h >>conftest.$ac_ext
24832cat >>conftest.$ac_ext <<_ACEOF
24833/* end confdefs.h.  */
24834$ac_includes_default
24835#include <$ac_header>
24836_ACEOF
24837rm -f conftest.$ac_objext
24838if { (ac_try="$ac_compile"
24839case "(($ac_try" in
24840  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24841  *) ac_try_echo=$ac_try;;
24842esac
24843eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24844  (eval "$ac_compile") 2>conftest.er1
24845  ac_status=$?
24846  grep -v '^ *+' conftest.er1 >conftest.err
24847  rm -f conftest.er1
24848  cat conftest.err >&5
24849  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850  (exit $ac_status); } && {
24851	 test -z "$ac_c_werror_flag" ||
24852	 test ! -s conftest.err
24853       } && test -s conftest.$ac_objext; then
24854  ac_header_compiler=yes
24855else
24856  echo "$as_me: failed program was:" >&5
24857sed 's/^/| /' conftest.$ac_ext >&5
24858
24859	ac_header_compiler=no
24860fi
24861
24862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24863{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24864echo "${ECHO_T}$ac_header_compiler" >&6; }
24865
24866# Is the header present?
24867{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24868echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24869cat >conftest.$ac_ext <<_ACEOF
24870/* confdefs.h.  */
24871_ACEOF
24872cat confdefs.h >>conftest.$ac_ext
24873cat >>conftest.$ac_ext <<_ACEOF
24874/* end confdefs.h.  */
24875#include <$ac_header>
24876_ACEOF
24877if { (ac_try="$ac_cpp conftest.$ac_ext"
24878case "(($ac_try" in
24879  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24880  *) ac_try_echo=$ac_try;;
24881esac
24882eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24883  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24884  ac_status=$?
24885  grep -v '^ *+' conftest.er1 >conftest.err
24886  rm -f conftest.er1
24887  cat conftest.err >&5
24888  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24889  (exit $ac_status); } >/dev/null && {
24890	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24891	 test ! -s conftest.err
24892       }; then
24893  ac_header_preproc=yes
24894else
24895  echo "$as_me: failed program was:" >&5
24896sed 's/^/| /' conftest.$ac_ext >&5
24897
24898  ac_header_preproc=no
24899fi
24900
24901rm -f conftest.err conftest.$ac_ext
24902{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24903echo "${ECHO_T}$ac_header_preproc" >&6; }
24904
24905# So?  What about this header?
24906case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24907  yes:no: )
24908    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24909echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24910    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24911echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24912    ac_header_preproc=yes
24913    ;;
24914  no:yes:* )
24915    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24916echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24917    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24918echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24919    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24920echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24921    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24922echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24923    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24924echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24925    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24926echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24927
24928    ;;
24929esac
24930{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24931echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24932if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24933  echo $ECHO_N "(cached) $ECHO_C" >&6
24934else
24935  eval "$as_ac_Header=\$ac_header_preproc"
24936fi
24937ac_res=`eval echo '${'$as_ac_Header'}'`
24938	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24939echo "${ECHO_T}$ac_res" >&6; }
24940
24941fi
24942if test `eval echo '${'$as_ac_Header'}'` = yes; then
24943  cat >>confdefs.h <<_ACEOF
24944#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24945_ACEOF
24946
24947fi
24948
24949done
24950
24951
24952for ac_header in sys/timeb.h
24953do
24954as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24955if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24956  { echo "$as_me:$LINENO: checking for $ac_header" >&5
24957echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24958if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24959  echo $ECHO_N "(cached) $ECHO_C" >&6
24960fi
24961ac_res=`eval echo '${'$as_ac_Header'}'`
24962	       { echo "$as_me:$LINENO: result: $ac_res" >&5
24963echo "${ECHO_T}$ac_res" >&6; }
24964else
24965  # Is the header compilable?
24966{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24967echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24968cat >conftest.$ac_ext <<_ACEOF
24969/* confdefs.h.  */
24970_ACEOF
24971cat confdefs.h >>conftest.$ac_ext
24972cat >>conftest.$ac_ext <<_ACEOF
24973/* end confdefs.h.  */
24974$ac_includes_default
24975#include <$ac_header>
24976_ACEOF
24977rm -f conftest.$ac_objext
24978if { (ac_try="$ac_compile"
24979case "(($ac_try" in
24980  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24981  *) ac_try_echo=$ac_try;;
24982esac
24983eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24984  (eval "$ac_compile") 2>conftest.er1
24985  ac_status=$?
24986  grep -v '^ *+' conftest.er1 >conftest.err
24987  rm -f conftest.er1
24988  cat conftest.err >&5
24989  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990  (exit $ac_status); } && {
24991	 test -z "$ac_c_werror_flag" ||
24992	 test ! -s conftest.err
24993       } && test -s conftest.$ac_objext; then
24994  ac_header_compiler=yes
24995else
24996  echo "$as_me: failed program was:" >&5
24997sed 's/^/| /' conftest.$ac_ext >&5
24998
24999	ac_header_compiler=no
25000fi
25001
25002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25003{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25004echo "${ECHO_T}$ac_header_compiler" >&6; }
25005
25006# Is the header present?
25007{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
25008echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25009cat >conftest.$ac_ext <<_ACEOF
25010/* confdefs.h.  */
25011_ACEOF
25012cat confdefs.h >>conftest.$ac_ext
25013cat >>conftest.$ac_ext <<_ACEOF
25014/* end confdefs.h.  */
25015#include <$ac_header>
25016_ACEOF
25017if { (ac_try="$ac_cpp conftest.$ac_ext"
25018case "(($ac_try" in
25019  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25020  *) ac_try_echo=$ac_try;;
25021esac
25022eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25023  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25024  ac_status=$?
25025  grep -v '^ *+' conftest.er1 >conftest.err
25026  rm -f conftest.er1
25027  cat conftest.err >&5
25028  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029  (exit $ac_status); } >/dev/null && {
25030	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25031	 test ! -s conftest.err
25032       }; then
25033  ac_header_preproc=yes
25034else
25035  echo "$as_me: failed program was:" >&5
25036sed 's/^/| /' conftest.$ac_ext >&5
25037
25038  ac_header_preproc=no
25039fi
25040
25041rm -f conftest.err conftest.$ac_ext
25042{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25043echo "${ECHO_T}$ac_header_preproc" >&6; }
25044
25045# So?  What about this header?
25046case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25047  yes:no: )
25048    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25049echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25050    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25051echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25052    ac_header_preproc=yes
25053    ;;
25054  no:yes:* )
25055    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25056echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25057    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
25058echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
25059    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25060echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25061    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
25062echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
25063    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25064echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25065    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25066echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25067
25068    ;;
25069esac
25070{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25071echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25072if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25073  echo $ECHO_N "(cached) $ECHO_C" >&6
25074else
25075  eval "$as_ac_Header=\$ac_header_preproc"
25076fi
25077ac_res=`eval echo '${'$as_ac_Header'}'`
25078	       { echo "$as_me:$LINENO: result: $ac_res" >&5
25079echo "${ECHO_T}$ac_res" >&6; }
25080
25081fi
25082if test `eval echo '${'$as_ac_Header'}'` = yes; then
25083  cat >>confdefs.h <<_ACEOF
25084#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25085_ACEOF
25086
25087fi
25088
25089done
25090
25091
25092for ac_header in signal.h
25093do
25094as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25095if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25096  { echo "$as_me:$LINENO: checking for $ac_header" >&5
25097echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25098if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25099  echo $ECHO_N "(cached) $ECHO_C" >&6
25100fi
25101ac_res=`eval echo '${'$as_ac_Header'}'`
25102	       { echo "$as_me:$LINENO: result: $ac_res" >&5
25103echo "${ECHO_T}$ac_res" >&6; }
25104else
25105  # Is the header compilable?
25106{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
25107echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25108cat >conftest.$ac_ext <<_ACEOF
25109/* confdefs.h.  */
25110_ACEOF
25111cat confdefs.h >>conftest.$ac_ext
25112cat >>conftest.$ac_ext <<_ACEOF
25113/* end confdefs.h.  */
25114$ac_includes_default
25115#include <$ac_header>
25116_ACEOF
25117rm -f conftest.$ac_objext
25118if { (ac_try="$ac_compile"
25119case "(($ac_try" in
25120  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25121  *) ac_try_echo=$ac_try;;
25122esac
25123eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25124  (eval "$ac_compile") 2>conftest.er1
25125  ac_status=$?
25126  grep -v '^ *+' conftest.er1 >conftest.err
25127  rm -f conftest.er1
25128  cat conftest.err >&5
25129  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130  (exit $ac_status); } && {
25131	 test -z "$ac_c_werror_flag" ||
25132	 test ! -s conftest.err
25133       } && test -s conftest.$ac_objext; then
25134  ac_header_compiler=yes
25135else
25136  echo "$as_me: failed program was:" >&5
25137sed 's/^/| /' conftest.$ac_ext >&5
25138
25139	ac_header_compiler=no
25140fi
25141
25142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25143{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25144echo "${ECHO_T}$ac_header_compiler" >&6; }
25145
25146# Is the header present?
25147{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
25148echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25149cat >conftest.$ac_ext <<_ACEOF
25150/* confdefs.h.  */
25151_ACEOF
25152cat confdefs.h >>conftest.$ac_ext
25153cat >>conftest.$ac_ext <<_ACEOF
25154/* end confdefs.h.  */
25155#include <$ac_header>
25156_ACEOF
25157if { (ac_try="$ac_cpp conftest.$ac_ext"
25158case "(($ac_try" in
25159  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25160  *) ac_try_echo=$ac_try;;
25161esac
25162eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25163  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25164  ac_status=$?
25165  grep -v '^ *+' conftest.er1 >conftest.err
25166  rm -f conftest.er1
25167  cat conftest.err >&5
25168  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169  (exit $ac_status); } >/dev/null && {
25170	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25171	 test ! -s conftest.err
25172       }; then
25173  ac_header_preproc=yes
25174else
25175  echo "$as_me: failed program was:" >&5
25176sed 's/^/| /' conftest.$ac_ext >&5
25177
25178  ac_header_preproc=no
25179fi
25180
25181rm -f conftest.err conftest.$ac_ext
25182{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25183echo "${ECHO_T}$ac_header_preproc" >&6; }
25184
25185# So?  What about this header?
25186case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25187  yes:no: )
25188    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25189echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25190    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25191echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25192    ac_header_preproc=yes
25193    ;;
25194  no:yes:* )
25195    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25196echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25197    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
25198echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
25199    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25200echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25201    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
25202echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
25203    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25204echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25205    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25206echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25207
25208    ;;
25209esac
25210{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25211echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25212if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25213  echo $ECHO_N "(cached) $ECHO_C" >&6
25214else
25215  eval "$as_ac_Header=\$ac_header_preproc"
25216fi
25217ac_res=`eval echo '${'$as_ac_Header'}'`
25218	       { echo "$as_me:$LINENO: result: $ac_res" >&5
25219echo "${ECHO_T}$ac_res" >&6; }
25220
25221fi
25222if test `eval echo '${'$as_ac_Header'}'` = yes; then
25223  cat >>confdefs.h <<_ACEOF
25224#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25225_ACEOF
25226
25227fi
25228
25229done
25230
25231
25232for ac_header in arpa/nameser.h
25233do
25234as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25235{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25236echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25237if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25238  echo $ECHO_N "(cached) $ECHO_C" >&6
25239else
25240  cat >conftest.$ac_ext <<_ACEOF
25241/* confdefs.h.  */
25242_ACEOF
25243cat confdefs.h >>conftest.$ac_ext
25244cat >>conftest.$ac_ext <<_ACEOF
25245/* end confdefs.h.  */
25246#if HAVE_SYS_TYPES_H
25247# include <sys/types.h>
25248# endif
25249
25250
25251#include <$ac_header>
25252_ACEOF
25253rm -f conftest.$ac_objext
25254if { (ac_try="$ac_compile"
25255case "(($ac_try" in
25256  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25257  *) ac_try_echo=$ac_try;;
25258esac
25259eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25260  (eval "$ac_compile") 2>conftest.er1
25261  ac_status=$?
25262  grep -v '^ *+' conftest.er1 >conftest.err
25263  rm -f conftest.er1
25264  cat conftest.err >&5
25265  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25266  (exit $ac_status); } && {
25267	 test -z "$ac_c_werror_flag" ||
25268	 test ! -s conftest.err
25269       } && test -s conftest.$ac_objext; then
25270  eval "$as_ac_Header=yes"
25271else
25272  echo "$as_me: failed program was:" >&5
25273sed 's/^/| /' conftest.$ac_ext >&5
25274
25275	eval "$as_ac_Header=no"
25276fi
25277
25278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25279fi
25280ac_res=`eval echo '${'$as_ac_Header'}'`
25281	       { echo "$as_me:$LINENO: result: $ac_res" >&5
25282echo "${ECHO_T}$ac_res" >&6; }
25283if test `eval echo '${'$as_ac_Header'}'` = yes; then
25284  cat >>confdefs.h <<_ACEOF
25285#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25286_ACEOF
25287
25288fi
25289
25290done
25291
25292
25293for ac_header in resolv.h
25294do
25295as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25296{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25297echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25298if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25299  echo $ECHO_N "(cached) $ECHO_C" >&6
25300else
25301  cat >conftest.$ac_ext <<_ACEOF
25302/* confdefs.h.  */
25303_ACEOF
25304cat confdefs.h >>conftest.$ac_ext
25305cat >>conftest.$ac_ext <<_ACEOF
25306/* end confdefs.h.  */
25307#if HAVE_SYS_TYPES_H
25308# include <sys/types.h>
25309# endif
25310#if HAVE_NETINET_IN_H
25311# include <netinet/in.h>
25312# endif
25313#if HAVE_ARPA_NAMESER_H
25314# include <arpa/nameser.h>
25315# endif
25316
25317
25318#include <$ac_header>
25319_ACEOF
25320rm -f conftest.$ac_objext
25321if { (ac_try="$ac_compile"
25322case "(($ac_try" in
25323  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25324  *) ac_try_echo=$ac_try;;
25325esac
25326eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25327  (eval "$ac_compile") 2>conftest.er1
25328  ac_status=$?
25329  grep -v '^ *+' conftest.er1 >conftest.err
25330  rm -f conftest.er1
25331  cat conftest.err >&5
25332  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333  (exit $ac_status); } && {
25334	 test -z "$ac_c_werror_flag" ||
25335	 test ! -s conftest.err
25336       } && test -s conftest.$ac_objext; then
25337  eval "$as_ac_Header=yes"
25338else
25339  echo "$as_me: failed program was:" >&5
25340sed 's/^/| /' conftest.$ac_ext >&5
25341
25342	eval "$as_ac_Header=no"
25343fi
25344
25345rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25346fi
25347ac_res=`eval echo '${'$as_ac_Header'}'`
25348	       { echo "$as_me:$LINENO: result: $ac_res" >&5
25349echo "${ECHO_T}$ac_res" >&6; }
25350if test `eval echo '${'$as_ac_Header'}'` = yes; then
25351  cat >>confdefs.h <<_ACEOF
25352#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25353_ACEOF
25354
25355fi
25356
25357done
25358
25359
25360for ac_header in dl.h
25361do
25362as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25363if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25364  { echo "$as_me:$LINENO: checking for $ac_header" >&5
25365echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25366if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25367  echo $ECHO_N "(cached) $ECHO_C" >&6
25368fi
25369ac_res=`eval echo '${'$as_ac_Header'}'`
25370	       { echo "$as_me:$LINENO: result: $ac_res" >&5
25371echo "${ECHO_T}$ac_res" >&6; }
25372else
25373  # Is the header compilable?
25374{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
25375echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25376cat >conftest.$ac_ext <<_ACEOF
25377/* confdefs.h.  */
25378_ACEOF
25379cat confdefs.h >>conftest.$ac_ext
25380cat >>conftest.$ac_ext <<_ACEOF
25381/* end confdefs.h.  */
25382$ac_includes_default
25383#include <$ac_header>
25384_ACEOF
25385rm -f conftest.$ac_objext
25386if { (ac_try="$ac_compile"
25387case "(($ac_try" in
25388  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25389  *) ac_try_echo=$ac_try;;
25390esac
25391eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25392  (eval "$ac_compile") 2>conftest.er1
25393  ac_status=$?
25394  grep -v '^ *+' conftest.er1 >conftest.err
25395  rm -f conftest.er1
25396  cat conftest.err >&5
25397  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25398  (exit $ac_status); } && {
25399	 test -z "$ac_c_werror_flag" ||
25400	 test ! -s conftest.err
25401       } && test -s conftest.$ac_objext; then
25402  ac_header_compiler=yes
25403else
25404  echo "$as_me: failed program was:" >&5
25405sed 's/^/| /' conftest.$ac_ext >&5
25406
25407	ac_header_compiler=no
25408fi
25409
25410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25411{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25412echo "${ECHO_T}$ac_header_compiler" >&6; }
25413
25414# Is the header present?
25415{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
25416echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25417cat >conftest.$ac_ext <<_ACEOF
25418/* confdefs.h.  */
25419_ACEOF
25420cat confdefs.h >>conftest.$ac_ext
25421cat >>conftest.$ac_ext <<_ACEOF
25422/* end confdefs.h.  */
25423#include <$ac_header>
25424_ACEOF
25425if { (ac_try="$ac_cpp conftest.$ac_ext"
25426case "(($ac_try" in
25427  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25428  *) ac_try_echo=$ac_try;;
25429esac
25430eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25431  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25432  ac_status=$?
25433  grep -v '^ *+' conftest.er1 >conftest.err
25434  rm -f conftest.er1
25435  cat conftest.err >&5
25436  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437  (exit $ac_status); } >/dev/null && {
25438	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25439	 test ! -s conftest.err
25440       }; then
25441  ac_header_preproc=yes
25442else
25443  echo "$as_me: failed program was:" >&5
25444sed 's/^/| /' conftest.$ac_ext >&5
25445
25446  ac_header_preproc=no
25447fi
25448
25449rm -f conftest.err conftest.$ac_ext
25450{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25451echo "${ECHO_T}$ac_header_preproc" >&6; }
25452
25453# So?  What about this header?
25454case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25455  yes:no: )
25456    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25457echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25458    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25459echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25460    ac_header_preproc=yes
25461    ;;
25462  no:yes:* )
25463    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25464echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25465    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
25466echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
25467    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25468echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25469    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
25470echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
25471    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25472echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25473    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25474echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25475
25476    ;;
25477esac
25478{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25479echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25480if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25481  echo $ECHO_N "(cached) $ECHO_C" >&6
25482else
25483  eval "$as_ac_Header=\$ac_header_preproc"
25484fi
25485ac_res=`eval echo '${'$as_ac_Header'}'`
25486	       { echo "$as_me:$LINENO: result: $ac_res" >&5
25487echo "${ECHO_T}$ac_res" >&6; }
25488
25489fi
25490if test `eval echo '${'$as_ac_Header'}'` = yes; then
25491  cat >>confdefs.h <<_ACEOF
25492#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25493_ACEOF
25494
25495fi
25496
25497done
25498
25499
25500for ac_header in dlfcn.h
25501do
25502as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25503if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25504  { echo "$as_me:$LINENO: checking for $ac_header" >&5
25505echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25506if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25507  echo $ECHO_N "(cached) $ECHO_C" >&6
25508fi
25509ac_res=`eval echo '${'$as_ac_Header'}'`
25510	       { echo "$as_me:$LINENO: result: $ac_res" >&5
25511echo "${ECHO_T}$ac_res" >&6; }
25512else
25513  # Is the header compilable?
25514{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
25515echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25516cat >conftest.$ac_ext <<_ACEOF
25517/* confdefs.h.  */
25518_ACEOF
25519cat confdefs.h >>conftest.$ac_ext
25520cat >>conftest.$ac_ext <<_ACEOF
25521/* end confdefs.h.  */
25522$ac_includes_default
25523#include <$ac_header>
25524_ACEOF
25525rm -f conftest.$ac_objext
25526if { (ac_try="$ac_compile"
25527case "(($ac_try" in
25528  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25529  *) ac_try_echo=$ac_try;;
25530esac
25531eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25532  (eval "$ac_compile") 2>conftest.er1
25533  ac_status=$?
25534  grep -v '^ *+' conftest.er1 >conftest.err
25535  rm -f conftest.er1
25536  cat conftest.err >&5
25537  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538  (exit $ac_status); } && {
25539	 test -z "$ac_c_werror_flag" ||
25540	 test ! -s conftest.err
25541       } && test -s conftest.$ac_objext; then
25542  ac_header_compiler=yes
25543else
25544  echo "$as_me: failed program was:" >&5
25545sed 's/^/| /' conftest.$ac_ext >&5
25546
25547	ac_header_compiler=no
25548fi
25549
25550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25551{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25552echo "${ECHO_T}$ac_header_compiler" >&6; }
25553
25554# Is the header present?
25555{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
25556echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25557cat >conftest.$ac_ext <<_ACEOF
25558/* confdefs.h.  */
25559_ACEOF
25560cat confdefs.h >>conftest.$ac_ext
25561cat >>conftest.$ac_ext <<_ACEOF
25562/* end confdefs.h.  */
25563#include <$ac_header>
25564_ACEOF
25565if { (ac_try="$ac_cpp conftest.$ac_ext"
25566case "(($ac_try" in
25567  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25568  *) ac_try_echo=$ac_try;;
25569esac
25570eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25571  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25572  ac_status=$?
25573  grep -v '^ *+' conftest.er1 >conftest.err
25574  rm -f conftest.er1
25575  cat conftest.err >&5
25576  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577  (exit $ac_status); } >/dev/null && {
25578	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25579	 test ! -s conftest.err
25580       }; then
25581  ac_header_preproc=yes
25582else
25583  echo "$as_me: failed program was:" >&5
25584sed 's/^/| /' conftest.$ac_ext >&5
25585
25586  ac_header_preproc=no
25587fi
25588
25589rm -f conftest.err conftest.$ac_ext
25590{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25591echo "${ECHO_T}$ac_header_preproc" >&6; }
25592
25593# So?  What about this header?
25594case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25595  yes:no: )
25596    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25597echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25598    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25599echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25600    ac_header_preproc=yes
25601    ;;
25602  no:yes:* )
25603    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25604echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25605    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
25606echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
25607    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25608echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25609    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
25610echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
25611    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25612echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25613    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25614echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25615
25616    ;;
25617esac
25618{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25619echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25620if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25621  echo $ECHO_N "(cached) $ECHO_C" >&6
25622else
25623  eval "$as_ac_Header=\$ac_header_preproc"
25624fi
25625ac_res=`eval echo '${'$as_ac_Header'}'`
25626	       { echo "$as_me:$LINENO: result: $ac_res" >&5
25627echo "${ECHO_T}$ac_res" >&6; }
25628
25629fi
25630if test `eval echo '${'$as_ac_Header'}'` = yes; then
25631  cat >>confdefs.h <<_ACEOF
25632#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25633_ACEOF
25634
25635fi
25636
25637done
25638
25639
25640
25641echo Checking libraries
25642
25643
25644for ac_func in strftime
25645do
25646as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25647{ echo "$as_me:$LINENO: checking for $ac_func" >&5
25648echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25649if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25650  echo $ECHO_N "(cached) $ECHO_C" >&6
25651else
25652  cat >conftest.$ac_ext <<_ACEOF
25653/* confdefs.h.  */
25654_ACEOF
25655cat confdefs.h >>conftest.$ac_ext
25656cat >>conftest.$ac_ext <<_ACEOF
25657/* end confdefs.h.  */
25658/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25659   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25660#define $ac_func innocuous_$ac_func
25661
25662/* System header to define __stub macros and hopefully few prototypes,
25663    which can conflict with char $ac_func (); below.
25664    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25665    <limits.h> exists even on freestanding compilers.  */
25666
25667#ifdef __STDC__
25668# include <limits.h>
25669#else
25670# include <assert.h>
25671#endif
25672
25673#undef $ac_func
25674
25675/* Override any GCC internal prototype to avoid an error.
25676   Use char because int might match the return type of a GCC
25677   builtin and then its argument prototype would still apply.  */
25678#ifdef __cplusplus
25679extern "C"
25680#endif
25681char $ac_func ();
25682/* The GNU C library defines this for functions which it implements
25683    to always fail with ENOSYS.  Some functions are actually named
25684    something starting with __ and the normal name is an alias.  */
25685#if defined __stub_$ac_func || defined __stub___$ac_func
25686choke me
25687#endif
25688
25689int
25690main ()
25691{
25692return $ac_func ();
25693  ;
25694  return 0;
25695}
25696_ACEOF
25697rm -f conftest.$ac_objext conftest$ac_exeext
25698if { (ac_try="$ac_link"
25699case "(($ac_try" in
25700  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25701  *) ac_try_echo=$ac_try;;
25702esac
25703eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25704  (eval "$ac_link") 2>conftest.er1
25705  ac_status=$?
25706  grep -v '^ *+' conftest.er1 >conftest.err
25707  rm -f conftest.er1
25708  cat conftest.err >&5
25709  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710  (exit $ac_status); } && {
25711	 test -z "$ac_c_werror_flag" ||
25712	 test ! -s conftest.err
25713       } && test -s conftest$ac_exeext &&
25714       $as_test_x conftest$ac_exeext; then
25715  eval "$as_ac_var=yes"
25716else
25717  echo "$as_me: failed program was:" >&5
25718sed 's/^/| /' conftest.$ac_ext >&5
25719
25720	eval "$as_ac_var=no"
25721fi
25722
25723rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25724      conftest$ac_exeext conftest.$ac_ext
25725fi
25726ac_res=`eval echo '${'$as_ac_var'}'`
25727	       { echo "$as_me:$LINENO: result: $ac_res" >&5
25728echo "${ECHO_T}$ac_res" >&6; }
25729if test `eval echo '${'$as_ac_var'}'` = yes; then
25730  cat >>confdefs.h <<_ACEOF
25731#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25732_ACEOF
25733
25734else
25735  # strftime is in -lintl on SCO UNIX.
25736{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
25737echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
25738if test "${ac_cv_lib_intl_strftime+set}" = set; then
25739  echo $ECHO_N "(cached) $ECHO_C" >&6
25740else
25741  ac_check_lib_save_LIBS=$LIBS
25742LIBS="-lintl  $LIBS"
25743cat >conftest.$ac_ext <<_ACEOF
25744/* confdefs.h.  */
25745_ACEOF
25746cat confdefs.h >>conftest.$ac_ext
25747cat >>conftest.$ac_ext <<_ACEOF
25748/* end confdefs.h.  */
25749
25750/* Override any GCC internal prototype to avoid an error.
25751   Use char because int might match the return type of a GCC
25752   builtin and then its argument prototype would still apply.  */
25753#ifdef __cplusplus
25754extern "C"
25755#endif
25756char strftime ();
25757int
25758main ()
25759{
25760return strftime ();
25761  ;
25762  return 0;
25763}
25764_ACEOF
25765rm -f conftest.$ac_objext conftest$ac_exeext
25766if { (ac_try="$ac_link"
25767case "(($ac_try" in
25768  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25769  *) ac_try_echo=$ac_try;;
25770esac
25771eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25772  (eval "$ac_link") 2>conftest.er1
25773  ac_status=$?
25774  grep -v '^ *+' conftest.er1 >conftest.err
25775  rm -f conftest.er1
25776  cat conftest.err >&5
25777  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25778  (exit $ac_status); } && {
25779	 test -z "$ac_c_werror_flag" ||
25780	 test ! -s conftest.err
25781       } && test -s conftest$ac_exeext &&
25782       $as_test_x conftest$ac_exeext; then
25783  ac_cv_lib_intl_strftime=yes
25784else
25785  echo "$as_me: failed program was:" >&5
25786sed 's/^/| /' conftest.$ac_ext >&5
25787
25788	ac_cv_lib_intl_strftime=no
25789fi
25790
25791rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25792      conftest$ac_exeext conftest.$ac_ext
25793LIBS=$ac_check_lib_save_LIBS
25794fi
25795{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
25796echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
25797if test $ac_cv_lib_intl_strftime = yes; then
25798  cat >>confdefs.h <<\_ACEOF
25799#define HAVE_STRFTIME 1
25800_ACEOF
25801
25802LIBS="-lintl $LIBS"
25803fi
25804
25805fi
25806done
25807
25808
25809
25810
25811for ac_func in strdup strndup strerror
25812do
25813as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25814{ echo "$as_me:$LINENO: checking for $ac_func" >&5
25815echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25816if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25817  echo $ECHO_N "(cached) $ECHO_C" >&6
25818else
25819  cat >conftest.$ac_ext <<_ACEOF
25820/* confdefs.h.  */
25821_ACEOF
25822cat confdefs.h >>conftest.$ac_ext
25823cat >>conftest.$ac_ext <<_ACEOF
25824/* end confdefs.h.  */
25825/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25826   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25827#define $ac_func innocuous_$ac_func
25828
25829/* System header to define __stub macros and hopefully few prototypes,
25830    which can conflict with char $ac_func (); below.
25831    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25832    <limits.h> exists even on freestanding compilers.  */
25833
25834#ifdef __STDC__
25835# include <limits.h>
25836#else
25837# include <assert.h>
25838#endif
25839
25840#undef $ac_func
25841
25842/* Override any GCC internal prototype to avoid an error.
25843   Use char because int might match the return type of a GCC
25844   builtin and then its argument prototype would still apply.  */
25845#ifdef __cplusplus
25846extern "C"
25847#endif
25848char $ac_func ();
25849/* The GNU C library defines this for functions which it implements
25850    to always fail with ENOSYS.  Some functions are actually named
25851    something starting with __ and the normal name is an alias.  */
25852#if defined __stub_$ac_func || defined __stub___$ac_func
25853choke me
25854#endif
25855
25856int
25857main ()
25858{
25859return $ac_func ();
25860  ;
25861  return 0;
25862}
25863_ACEOF
25864rm -f conftest.$ac_objext conftest$ac_exeext
25865if { (ac_try="$ac_link"
25866case "(($ac_try" in
25867  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25868  *) ac_try_echo=$ac_try;;
25869esac
25870eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25871  (eval "$ac_link") 2>conftest.er1
25872  ac_status=$?
25873  grep -v '^ *+' conftest.er1 >conftest.err
25874  rm -f conftest.er1
25875  cat conftest.err >&5
25876  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877  (exit $ac_status); } && {
25878	 test -z "$ac_c_werror_flag" ||
25879	 test ! -s conftest.err
25880       } && test -s conftest$ac_exeext &&
25881       $as_test_x conftest$ac_exeext; then
25882  eval "$as_ac_var=yes"
25883else
25884  echo "$as_me: failed program was:" >&5
25885sed 's/^/| /' conftest.$ac_ext >&5
25886
25887	eval "$as_ac_var=no"
25888fi
25889
25890rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25891      conftest$ac_exeext conftest.$ac_ext
25892fi
25893ac_res=`eval echo '${'$as_ac_var'}'`
25894	       { echo "$as_me:$LINENO: result: $ac_res" >&5
25895echo "${ECHO_T}$ac_res" >&6; }
25896if test `eval echo '${'$as_ac_var'}'` = yes; then
25897  cat >>confdefs.h <<_ACEOF
25898#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25899_ACEOF
25900
25901fi
25902done
25903
25904
25905
25906
25907
25908
25909for ac_func in finite isnand fp_class class fpclass
25910do
25911as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25912{ echo "$as_me:$LINENO: checking for $ac_func" >&5
25913echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25914if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25915  echo $ECHO_N "(cached) $ECHO_C" >&6
25916else
25917  cat >conftest.$ac_ext <<_ACEOF
25918/* confdefs.h.  */
25919_ACEOF
25920cat confdefs.h >>conftest.$ac_ext
25921cat >>conftest.$ac_ext <<_ACEOF
25922/* end confdefs.h.  */
25923/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25924   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25925#define $ac_func innocuous_$ac_func
25926
25927/* System header to define __stub macros and hopefully few prototypes,
25928    which can conflict with char $ac_func (); below.
25929    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25930    <limits.h> exists even on freestanding compilers.  */
25931
25932#ifdef __STDC__
25933# include <limits.h>
25934#else
25935# include <assert.h>
25936#endif
25937
25938#undef $ac_func
25939
25940/* Override any GCC internal prototype to avoid an error.
25941   Use char because int might match the return type of a GCC
25942   builtin and then its argument prototype would still apply.  */
25943#ifdef __cplusplus
25944extern "C"
25945#endif
25946char $ac_func ();
25947/* The GNU C library defines this for functions which it implements
25948    to always fail with ENOSYS.  Some functions are actually named
25949    something starting with __ and the normal name is an alias.  */
25950#if defined __stub_$ac_func || defined __stub___$ac_func
25951choke me
25952#endif
25953
25954int
25955main ()
25956{
25957return $ac_func ();
25958  ;
25959  return 0;
25960}
25961_ACEOF
25962rm -f conftest.$ac_objext conftest$ac_exeext
25963if { (ac_try="$ac_link"
25964case "(($ac_try" in
25965  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25966  *) ac_try_echo=$ac_try;;
25967esac
25968eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25969  (eval "$ac_link") 2>conftest.er1
25970  ac_status=$?
25971  grep -v '^ *+' conftest.er1 >conftest.err
25972  rm -f conftest.er1
25973  cat conftest.err >&5
25974  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25975  (exit $ac_status); } && {
25976	 test -z "$ac_c_werror_flag" ||
25977	 test ! -s conftest.err
25978       } && test -s conftest$ac_exeext &&
25979       $as_test_x conftest$ac_exeext; then
25980  eval "$as_ac_var=yes"
25981else
25982  echo "$as_me: failed program was:" >&5
25983sed 's/^/| /' conftest.$ac_ext >&5
25984
25985	eval "$as_ac_var=no"
25986fi
25987
25988rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25989      conftest$ac_exeext conftest.$ac_ext
25990fi
25991ac_res=`eval echo '${'$as_ac_var'}'`
25992	       { echo "$as_me:$LINENO: result: $ac_res" >&5
25993echo "${ECHO_T}$ac_res" >&6; }
25994if test `eval echo '${'$as_ac_var'}'` = yes; then
25995  cat >>confdefs.h <<_ACEOF
25996#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25997_ACEOF
25998
25999fi
26000done
26001
26002
26003
26004
26005
26006for ac_func in strftime localtime gettimeofday ftime
26007do
26008as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26009{ echo "$as_me:$LINENO: checking for $ac_func" >&5
26010echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26011if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26012  echo $ECHO_N "(cached) $ECHO_C" >&6
26013else
26014  cat >conftest.$ac_ext <<_ACEOF
26015/* confdefs.h.  */
26016_ACEOF
26017cat confdefs.h >>conftest.$ac_ext
26018cat >>conftest.$ac_ext <<_ACEOF
26019/* end confdefs.h.  */
26020/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26021   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26022#define $ac_func innocuous_$ac_func
26023
26024/* System header to define __stub macros and hopefully few prototypes,
26025    which can conflict with char $ac_func (); below.
26026    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26027    <limits.h> exists even on freestanding compilers.  */
26028
26029#ifdef __STDC__
26030# include <limits.h>
26031#else
26032# include <assert.h>
26033#endif
26034
26035#undef $ac_func
26036
26037/* Override any GCC internal prototype to avoid an error.
26038   Use char because int might match the return type of a GCC
26039   builtin and then its argument prototype would still apply.  */
26040#ifdef __cplusplus
26041extern "C"
26042#endif
26043char $ac_func ();
26044/* The GNU C library defines this for functions which it implements
26045    to always fail with ENOSYS.  Some functions are actually named
26046    something starting with __ and the normal name is an alias.  */
26047#if defined __stub_$ac_func || defined __stub___$ac_func
26048choke me
26049#endif
26050
26051int
26052main ()
26053{
26054return $ac_func ();
26055  ;
26056  return 0;
26057}
26058_ACEOF
26059rm -f conftest.$ac_objext conftest$ac_exeext
26060if { (ac_try="$ac_link"
26061case "(($ac_try" in
26062  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26063  *) ac_try_echo=$ac_try;;
26064esac
26065eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26066  (eval "$ac_link") 2>conftest.er1
26067  ac_status=$?
26068  grep -v '^ *+' conftest.er1 >conftest.err
26069  rm -f conftest.er1
26070  cat conftest.err >&5
26071  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072  (exit $ac_status); } && {
26073	 test -z "$ac_c_werror_flag" ||
26074	 test ! -s conftest.err
26075       } && test -s conftest$ac_exeext &&
26076       $as_test_x conftest$ac_exeext; then
26077  eval "$as_ac_var=yes"
26078else
26079  echo "$as_me: failed program was:" >&5
26080sed 's/^/| /' conftest.$ac_ext >&5
26081
26082	eval "$as_ac_var=no"
26083fi
26084
26085rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26086      conftest$ac_exeext conftest.$ac_ext
26087fi
26088ac_res=`eval echo '${'$as_ac_var'}'`
26089	       { echo "$as_me:$LINENO: result: $ac_res" >&5
26090echo "${ECHO_T}$ac_res" >&6; }
26091if test `eval echo '${'$as_ac_var'}'` = yes; then
26092  cat >>confdefs.h <<_ACEOF
26093#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26094_ACEOF
26095
26096fi
26097done
26098
26099
26100
26101
26102for ac_func in stat _stat signal
26103do
26104as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26105{ echo "$as_me:$LINENO: checking for $ac_func" >&5
26106echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26107if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26108  echo $ECHO_N "(cached) $ECHO_C" >&6
26109else
26110  cat >conftest.$ac_ext <<_ACEOF
26111/* confdefs.h.  */
26112_ACEOF
26113cat confdefs.h >>conftest.$ac_ext
26114cat >>conftest.$ac_ext <<_ACEOF
26115/* end confdefs.h.  */
26116/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26117   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26118#define $ac_func innocuous_$ac_func
26119
26120/* System header to define __stub macros and hopefully few prototypes,
26121    which can conflict with char $ac_func (); below.
26122    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26123    <limits.h> exists even on freestanding compilers.  */
26124
26125#ifdef __STDC__
26126# include <limits.h>
26127#else
26128# include <assert.h>
26129#endif
26130
26131#undef $ac_func
26132
26133/* Override any GCC internal prototype to avoid an error.
26134   Use char because int might match the return type of a GCC
26135   builtin and then its argument prototype would still apply.  */
26136#ifdef __cplusplus
26137extern "C"
26138#endif
26139char $ac_func ();
26140/* The GNU C library defines this for functions which it implements
26141    to always fail with ENOSYS.  Some functions are actually named
26142    something starting with __ and the normal name is an alias.  */
26143#if defined __stub_$ac_func || defined __stub___$ac_func
26144choke me
26145#endif
26146
26147int
26148main ()
26149{
26150return $ac_func ();
26151  ;
26152  return 0;
26153}
26154_ACEOF
26155rm -f conftest.$ac_objext conftest$ac_exeext
26156if { (ac_try="$ac_link"
26157case "(($ac_try" in
26158  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26159  *) ac_try_echo=$ac_try;;
26160esac
26161eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26162  (eval "$ac_link") 2>conftest.er1
26163  ac_status=$?
26164  grep -v '^ *+' conftest.er1 >conftest.err
26165  rm -f conftest.er1
26166  cat conftest.err >&5
26167  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26168  (exit $ac_status); } && {
26169	 test -z "$ac_c_werror_flag" ||
26170	 test ! -s conftest.err
26171       } && test -s conftest$ac_exeext &&
26172       $as_test_x conftest$ac_exeext; then
26173  eval "$as_ac_var=yes"
26174else
26175  echo "$as_me: failed program was:" >&5
26176sed 's/^/| /' conftest.$ac_ext >&5
26177
26178	eval "$as_ac_var=no"
26179fi
26180
26181rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26182      conftest$ac_exeext conftest.$ac_ext
26183fi
26184ac_res=`eval echo '${'$as_ac_var'}'`
26185	       { echo "$as_me:$LINENO: result: $ac_res" >&5
26186echo "${ECHO_T}$ac_res" >&6; }
26187if test `eval echo '${'$as_ac_var'}'` = yes; then
26188  cat >>confdefs.h <<_ACEOF
26189#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26190_ACEOF
26191
26192fi
26193done
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
26205do
26206as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26207{ echo "$as_me:$LINENO: checking for $ac_func" >&5
26208echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26209if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26210  echo $ECHO_N "(cached) $ECHO_C" >&6
26211else
26212  cat >conftest.$ac_ext <<_ACEOF
26213/* confdefs.h.  */
26214_ACEOF
26215cat confdefs.h >>conftest.$ac_ext
26216cat >>conftest.$ac_ext <<_ACEOF
26217/* end confdefs.h.  */
26218/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26219   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26220#define $ac_func innocuous_$ac_func
26221
26222/* System header to define __stub macros and hopefully few prototypes,
26223    which can conflict with char $ac_func (); below.
26224    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26225    <limits.h> exists even on freestanding compilers.  */
26226
26227#ifdef __STDC__
26228# include <limits.h>
26229#else
26230# include <assert.h>
26231#endif
26232
26233#undef $ac_func
26234
26235/* Override any GCC internal prototype to avoid an error.
26236   Use char because int might match the return type of a GCC
26237   builtin and then its argument prototype would still apply.  */
26238#ifdef __cplusplus
26239extern "C"
26240#endif
26241char $ac_func ();
26242/* The GNU C library defines this for functions which it implements
26243    to always fail with ENOSYS.  Some functions are actually named
26244    something starting with __ and the normal name is an alias.  */
26245#if defined __stub_$ac_func || defined __stub___$ac_func
26246choke me
26247#endif
26248
26249int
26250main ()
26251{
26252return $ac_func ();
26253  ;
26254  return 0;
26255}
26256_ACEOF
26257rm -f conftest.$ac_objext conftest$ac_exeext
26258if { (ac_try="$ac_link"
26259case "(($ac_try" in
26260  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26261  *) ac_try_echo=$ac_try;;
26262esac
26263eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26264  (eval "$ac_link") 2>conftest.er1
26265  ac_status=$?
26266  grep -v '^ *+' conftest.er1 >conftest.err
26267  rm -f conftest.er1
26268  cat conftest.err >&5
26269  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270  (exit $ac_status); } && {
26271	 test -z "$ac_c_werror_flag" ||
26272	 test ! -s conftest.err
26273       } && test -s conftest$ac_exeext &&
26274       $as_test_x conftest$ac_exeext; then
26275  eval "$as_ac_var=yes"
26276else
26277  echo "$as_me: failed program was:" >&5
26278sed 's/^/| /' conftest.$ac_ext >&5
26279
26280	eval "$as_ac_var=no"
26281fi
26282
26283rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26284      conftest$ac_exeext conftest.$ac_ext
26285fi
26286ac_res=`eval echo '${'$as_ac_var'}'`
26287	       { echo "$as_me:$LINENO: result: $ac_res" >&5
26288echo "${ECHO_T}$ac_res" >&6; }
26289if test `eval echo '${'$as_ac_var'}'` = yes; then
26290  cat >>confdefs.h <<_ACEOF
26291#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26292_ACEOF
26293
26294else
26295  NEED_TRIO=1
26296fi
26297done
26298
26299
26300{ echo "$as_me:$LINENO: checking for va_copy" >&5
26301echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
26302cat >conftest.$ac_ext <<_ACEOF
26303/* confdefs.h.  */
26304_ACEOF
26305cat confdefs.h >>conftest.$ac_ext
26306cat >>conftest.$ac_ext <<_ACEOF
26307/* end confdefs.h.  */
26308#include <stdarg.h>
26309va_list ap1,ap2;
26310int
26311main ()
26312{
26313va_copy(ap1,ap2);
26314  ;
26315  return 0;
26316}
26317_ACEOF
26318rm -f conftest.$ac_objext conftest$ac_exeext
26319if { (ac_try="$ac_link"
26320case "(($ac_try" in
26321  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26322  *) ac_try_echo=$ac_try;;
26323esac
26324eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26325  (eval "$ac_link") 2>conftest.er1
26326  ac_status=$?
26327  grep -v '^ *+' conftest.er1 >conftest.err
26328  rm -f conftest.er1
26329  cat conftest.err >&5
26330  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331  (exit $ac_status); } && {
26332	 test -z "$ac_c_werror_flag" ||
26333	 test ! -s conftest.err
26334       } && test -s conftest$ac_exeext &&
26335       $as_test_x conftest$ac_exeext; then
26336  have_va_copy=yes
26337else
26338  echo "$as_me: failed program was:" >&5
26339sed 's/^/| /' conftest.$ac_ext >&5
26340
26341	have_va_copy=no
26342fi
26343
26344rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26345      conftest$ac_exeext conftest.$ac_ext
26346{ echo "$as_me:$LINENO: result: $have_va_copy" >&5
26347echo "${ECHO_T}$have_va_copy" >&6; }
26348if test x"$have_va_copy" = x"yes"; then
26349
26350cat >>confdefs.h <<\_ACEOF
26351#define HAVE_VA_COPY 1
26352_ACEOF
26353
26354else
26355    { echo "$as_me:$LINENO: checking for __va_copy" >&5
26356echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
26357    cat >conftest.$ac_ext <<_ACEOF
26358/* confdefs.h.  */
26359_ACEOF
26360cat confdefs.h >>conftest.$ac_ext
26361cat >>conftest.$ac_ext <<_ACEOF
26362/* end confdefs.h.  */
26363#include <stdarg.h>
26364    va_list ap1,ap2;
26365int
26366main ()
26367{
26368__va_copy(ap1,ap2);
26369  ;
26370  return 0;
26371}
26372_ACEOF
26373rm -f conftest.$ac_objext conftest$ac_exeext
26374if { (ac_try="$ac_link"
26375case "(($ac_try" in
26376  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26377  *) ac_try_echo=$ac_try;;
26378esac
26379eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26380  (eval "$ac_link") 2>conftest.er1
26381  ac_status=$?
26382  grep -v '^ *+' conftest.er1 >conftest.err
26383  rm -f conftest.er1
26384  cat conftest.err >&5
26385  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386  (exit $ac_status); } && {
26387	 test -z "$ac_c_werror_flag" ||
26388	 test ! -s conftest.err
26389       } && test -s conftest$ac_exeext &&
26390       $as_test_x conftest$ac_exeext; then
26391  have___va_copy=yes
26392else
26393  echo "$as_me: failed program was:" >&5
26394sed 's/^/| /' conftest.$ac_ext >&5
26395
26396	have___va_copy=no
26397fi
26398
26399rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26400      conftest$ac_exeext conftest.$ac_ext
26401    { echo "$as_me:$LINENO: result: $have___va_copy" >&5
26402echo "${ECHO_T}$have___va_copy" >&6; }
26403    if test x"$have___va_copy" = x"yes"; then
26404
26405cat >>confdefs.h <<\_ACEOF
26406#define HAVE___VA_COPY 1
26407_ACEOF
26408
26409    fi
26410fi
26411
26412{ echo "$as_me:$LINENO: checking for library containing gethostent" >&5
26413echo $ECHO_N "checking for library containing gethostent... $ECHO_C" >&6; }
26414if test "${ac_cv_search_gethostent+set}" = set; then
26415  echo $ECHO_N "(cached) $ECHO_C" >&6
26416else
26417  ac_func_search_save_LIBS=$LIBS
26418cat >conftest.$ac_ext <<_ACEOF
26419/* confdefs.h.  */
26420_ACEOF
26421cat confdefs.h >>conftest.$ac_ext
26422cat >>conftest.$ac_ext <<_ACEOF
26423/* end confdefs.h.  */
26424
26425/* Override any GCC internal prototype to avoid an error.
26426   Use char because int might match the return type of a GCC
26427   builtin and then its argument prototype would still apply.  */
26428#ifdef __cplusplus
26429extern "C"
26430#endif
26431char gethostent ();
26432int
26433main ()
26434{
26435return gethostent ();
26436  ;
26437  return 0;
26438}
26439_ACEOF
26440for ac_lib in '' nsl; do
26441  if test -z "$ac_lib"; then
26442    ac_res="none required"
26443  else
26444    ac_res=-l$ac_lib
26445    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
26446  fi
26447  rm -f conftest.$ac_objext conftest$ac_exeext
26448if { (ac_try="$ac_link"
26449case "(($ac_try" in
26450  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26451  *) ac_try_echo=$ac_try;;
26452esac
26453eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26454  (eval "$ac_link") 2>conftest.er1
26455  ac_status=$?
26456  grep -v '^ *+' conftest.er1 >conftest.err
26457  rm -f conftest.er1
26458  cat conftest.err >&5
26459  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460  (exit $ac_status); } && {
26461	 test -z "$ac_c_werror_flag" ||
26462	 test ! -s conftest.err
26463       } && test -s conftest$ac_exeext &&
26464       $as_test_x conftest$ac_exeext; then
26465  ac_cv_search_gethostent=$ac_res
26466else
26467  echo "$as_me: failed program was:" >&5
26468sed 's/^/| /' conftest.$ac_ext >&5
26469
26470
26471fi
26472
26473rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26474      conftest$ac_exeext
26475  if test "${ac_cv_search_gethostent+set}" = set; then
26476  break
26477fi
26478done
26479if test "${ac_cv_search_gethostent+set}" = set; then
26480  :
26481else
26482  ac_cv_search_gethostent=no
26483fi
26484rm conftest.$ac_ext
26485LIBS=$ac_func_search_save_LIBS
26486fi
26487{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostent" >&5
26488echo "${ECHO_T}$ac_cv_search_gethostent" >&6; }
26489ac_res=$ac_cv_search_gethostent
26490if test "$ac_res" != no; then
26491  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
26492
26493fi
26494
26495{ echo "$as_me:$LINENO: checking for library containing setsockopt" >&5
26496echo $ECHO_N "checking for library containing setsockopt... $ECHO_C" >&6; }
26497if test "${ac_cv_search_setsockopt+set}" = set; then
26498  echo $ECHO_N "(cached) $ECHO_C" >&6
26499else
26500  ac_func_search_save_LIBS=$LIBS
26501cat >conftest.$ac_ext <<_ACEOF
26502/* confdefs.h.  */
26503_ACEOF
26504cat confdefs.h >>conftest.$ac_ext
26505cat >>conftest.$ac_ext <<_ACEOF
26506/* end confdefs.h.  */
26507
26508/* Override any GCC internal prototype to avoid an error.
26509   Use char because int might match the return type of a GCC
26510   builtin and then its argument prototype would still apply.  */
26511#ifdef __cplusplus
26512extern "C"
26513#endif
26514char setsockopt ();
26515int
26516main ()
26517{
26518return setsockopt ();
26519  ;
26520  return 0;
26521}
26522_ACEOF
26523for ac_lib in '' socket net; do
26524  if test -z "$ac_lib"; then
26525    ac_res="none required"
26526  else
26527    ac_res=-l$ac_lib
26528    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
26529  fi
26530  rm -f conftest.$ac_objext conftest$ac_exeext
26531if { (ac_try="$ac_link"
26532case "(($ac_try" in
26533  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26534  *) ac_try_echo=$ac_try;;
26535esac
26536eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26537  (eval "$ac_link") 2>conftest.er1
26538  ac_status=$?
26539  grep -v '^ *+' conftest.er1 >conftest.err
26540  rm -f conftest.er1
26541  cat conftest.err >&5
26542  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543  (exit $ac_status); } && {
26544	 test -z "$ac_c_werror_flag" ||
26545	 test ! -s conftest.err
26546       } && test -s conftest$ac_exeext &&
26547       $as_test_x conftest$ac_exeext; then
26548  ac_cv_search_setsockopt=$ac_res
26549else
26550  echo "$as_me: failed program was:" >&5
26551sed 's/^/| /' conftest.$ac_ext >&5
26552
26553
26554fi
26555
26556rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26557      conftest$ac_exeext
26558  if test "${ac_cv_search_setsockopt+set}" = set; then
26559  break
26560fi
26561done
26562if test "${ac_cv_search_setsockopt+set}" = set; then
26563  :
26564else
26565  ac_cv_search_setsockopt=no
26566fi
26567rm conftest.$ac_ext
26568LIBS=$ac_func_search_save_LIBS
26569fi
26570{ echo "$as_me:$LINENO: result: $ac_cv_search_setsockopt" >&5
26571echo "${ECHO_T}$ac_cv_search_setsockopt" >&6; }
26572ac_res=$ac_cv_search_setsockopt
26573if test "$ac_res" != no; then
26574  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
26575
26576fi
26577
26578{ echo "$as_me:$LINENO: checking for library containing connect" >&5
26579echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
26580if test "${ac_cv_search_connect+set}" = set; then
26581  echo $ECHO_N "(cached) $ECHO_C" >&6
26582else
26583  ac_func_search_save_LIBS=$LIBS
26584cat >conftest.$ac_ext <<_ACEOF
26585/* confdefs.h.  */
26586_ACEOF
26587cat confdefs.h >>conftest.$ac_ext
26588cat >>conftest.$ac_ext <<_ACEOF
26589/* end confdefs.h.  */
26590
26591/* Override any GCC internal prototype to avoid an error.
26592   Use char because int might match the return type of a GCC
26593   builtin and then its argument prototype would still apply.  */
26594#ifdef __cplusplus
26595extern "C"
26596#endif
26597char connect ();
26598int
26599main ()
26600{
26601return connect ();
26602  ;
26603  return 0;
26604}
26605_ACEOF
26606for ac_lib in '' inet; do
26607  if test -z "$ac_lib"; then
26608    ac_res="none required"
26609  else
26610    ac_res=-l$ac_lib
26611    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
26612  fi
26613  rm -f conftest.$ac_objext conftest$ac_exeext
26614if { (ac_try="$ac_link"
26615case "(($ac_try" in
26616  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26617  *) ac_try_echo=$ac_try;;
26618esac
26619eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26620  (eval "$ac_link") 2>conftest.er1
26621  ac_status=$?
26622  grep -v '^ *+' conftest.er1 >conftest.err
26623  rm -f conftest.er1
26624  cat conftest.err >&5
26625  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626  (exit $ac_status); } && {
26627	 test -z "$ac_c_werror_flag" ||
26628	 test ! -s conftest.err
26629       } && test -s conftest$ac_exeext &&
26630       $as_test_x conftest$ac_exeext; then
26631  ac_cv_search_connect=$ac_res
26632else
26633  echo "$as_me: failed program was:" >&5
26634sed 's/^/| /' conftest.$ac_ext >&5
26635
26636
26637fi
26638
26639rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26640      conftest$ac_exeext
26641  if test "${ac_cv_search_connect+set}" = set; then
26642  break
26643fi
26644done
26645if test "${ac_cv_search_connect+set}" = set; then
26646  :
26647else
26648  ac_cv_search_connect=no
26649fi
26650rm conftest.$ac_ext
26651LIBS=$ac_func_search_save_LIBS
26652fi
26653{ echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
26654echo "${ECHO_T}$ac_cv_search_connect" >&6; }
26655ac_res=$ac_cv_search_connect
26656if test "$ac_res" != no; then
26657  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
26658
26659fi
26660
26661
26662{ echo "$as_me:$LINENO: checking for type of socket length (socklen_t)" >&5
26663echo $ECHO_N "checking for type of socket length (socklen_t)... $ECHO_C" >&6; }
26664cat > conftest.$ac_ext <<EOF
26665#line 26665 "configure"
26666#include "confdefs.h"
26667
26668#include <stddef.h>
26669#include <sys/types.h>
26670#include <sys/socket.h>
26671int main(void) {
26672
26673(void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
26674; return 0; }
26675EOF
26676if { (eval echo configure:26676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
26677  rm -rf conftest*
26678
26679  { echo "$as_me:$LINENO: result: socklen_t *" >&5
26680echo "${ECHO_T}socklen_t *" >&6; }
26681  XML_SOCKLEN_T=socklen_t
26682else
26683  echo "configure: failed program was:" >&5
26684  cat conftest.$ac_ext >&5
26685  rm -rf conftest*
26686
26687  cat > conftest.$ac_ext <<EOF
26688#line 26688 "configure"
26689#include "confdefs.h"
26690
26691#include <stddef.h>
26692#include <sys/types.h>
26693#include <sys/socket.h>
26694int main(void) {
26695
26696(void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
26697; return 0; }
26698EOF
26699if { (eval echo configure:26699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
26700  rm -rf conftest*
26701
26702    { echo "$as_me:$LINENO: result: size_t *" >&5
26703echo "${ECHO_T}size_t *" >&6; }
26704    XML_SOCKLEN_T=size_t
26705else
26706  echo "configure: failed program was:" >&5
26707  cat conftest.$ac_ext >&5
26708  rm -rf conftest*
26709
26710    cat > conftest.$ac_ext <<EOF
26711#line 26711 "configure"
26712#include "confdefs.h"
26713
26714#include <stddef.h>
26715#include <sys/types.h>
26716#include <sys/socket.h>
26717int main(void) {
26718
26719(void)getsockopt (1, 1, 1, NULL, (int *)NULL)
26720; return 0; }
26721EOF
26722if { (eval echo configure:26722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
26723  rm -rf conftest*
26724
26725      { echo "$as_me:$LINENO: result: int *" >&5
26726echo "${ECHO_T}int *" >&6; }
26727      XML_SOCKLEN_T=int
26728else
26729  echo "configure: failed program was:" >&5
26730  cat conftest.$ac_ext >&5
26731  rm -rf conftest*
26732
26733      { echo "$as_me:$LINENO: WARNING: could not determine" >&5
26734echo "$as_me: WARNING: could not determine" >&2;}
26735      XML_SOCKLEN_T="int"
26736fi
26737rm -f conftest*
26738fi
26739rm -f conftest*
26740fi
26741rm -f conftest*
26742
26743cat >>confdefs.h <<_ACEOF
26744#define XML_SOCKLEN_T $XML_SOCKLEN_T
26745_ACEOF
26746
26747
26748
26749{ echo "$as_me:$LINENO: checking whether to enable IPv6" >&5
26750echo $ECHO_N "checking whether to enable IPv6... $ECHO_C" >&6; }
26751# Check whether --enable-ipv6 was given.
26752if test "${enable_ipv6+set}" = set; then
26753  enableval=$enable_ipv6;
26754else
26755  enable_ipv6=yes
26756fi
26757
26758if test "$with_minimum" = "yes"
26759then
26760    enable_ipv6=no
26761fi
26762if test $enable_ipv6 = yes; then
26763  have_ipv6=no
26764  cat >conftest.$ac_ext <<_ACEOF
26765/* confdefs.h.  */
26766_ACEOF
26767cat confdefs.h >>conftest.$ac_ext
26768cat >>conftest.$ac_ext <<_ACEOF
26769/* end confdefs.h.  */
26770
26771    #include <sys/types.h>
26772    #include <sys/socket.h>
26773
26774int
26775main ()
26776{
26777
26778    struct sockaddr_storage ss;
26779    socket(AF_INET6, SOCK_STREAM, 0)
26780
26781  ;
26782  return 0;
26783}
26784_ACEOF
26785rm -f conftest.$ac_objext
26786if { (ac_try="$ac_compile"
26787case "(($ac_try" in
26788  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26789  *) ac_try_echo=$ac_try;;
26790esac
26791eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26792  (eval "$ac_compile") 2>conftest.er1
26793  ac_status=$?
26794  grep -v '^ *+' conftest.er1 >conftest.err
26795  rm -f conftest.er1
26796  cat conftest.err >&5
26797  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798  (exit $ac_status); } && {
26799	 test -z "$ac_c_werror_flag" ||
26800	 test ! -s conftest.err
26801       } && test -s conftest.$ac_objext; then
26802  have_ipv6=yes
26803else
26804  echo "$as_me: failed program was:" >&5
26805sed 's/^/| /' conftest.$ac_ext >&5
26806
26807	have_ipv6=no
26808
26809fi
26810
26811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26812  { echo "$as_me:$LINENO: result: $have_ipv6" >&5
26813echo "${ECHO_T}$have_ipv6" >&6; }
26814
26815  if test $have_ipv6 = yes; then
26816
26817cat >>confdefs.h <<\_ACEOF
26818#define SUPPORT_IP6
26819_ACEOF
26820
26821    have_broken_ss_family=no
26822
26823                                { echo "$as_me:$LINENO: checking struct sockaddr::ss_family" >&5
26824echo $ECHO_N "checking struct sockaddr::ss_family... $ECHO_C" >&6; }
26825    cat >conftest.$ac_ext <<_ACEOF
26826/* confdefs.h.  */
26827_ACEOF
26828cat confdefs.h >>conftest.$ac_ext
26829cat >>conftest.$ac_ext <<_ACEOF
26830/* end confdefs.h.  */
26831
26832      #include <sys/types.h>
26833      #include <sys/socket.h>
26834
26835int
26836main ()
26837{
26838
26839      struct sockaddr_storage ss ;
26840      ss.ss_family = 0 ;
26841
26842  ;
26843  return 0;
26844}
26845_ACEOF
26846rm -f conftest.$ac_objext
26847if { (ac_try="$ac_compile"
26848case "(($ac_try" in
26849  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26850  *) ac_try_echo=$ac_try;;
26851esac
26852eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26853  (eval "$ac_compile") 2>conftest.er1
26854  ac_status=$?
26855  grep -v '^ *+' conftest.er1 >conftest.err
26856  rm -f conftest.er1
26857  cat conftest.err >&5
26858  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859  (exit $ac_status); } && {
26860	 test -z "$ac_c_werror_flag" ||
26861	 test ! -s conftest.err
26862       } && test -s conftest.$ac_objext; then
26863  have_ss_family=yes
26864else
26865  echo "$as_me: failed program was:" >&5
26866sed 's/^/| /' conftest.$ac_ext >&5
26867
26868	have_ss_family=no
26869
26870fi
26871
26872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26873    { echo "$as_me:$LINENO: result: $have_ss_family" >&5
26874echo "${ECHO_T}$have_ss_family" >&6; }
26875    if test x$have_ss_family = xno ; then
26876      { echo "$as_me:$LINENO: checking broken struct sockaddr::ss_family" >&5
26877echo $ECHO_N "checking broken struct sockaddr::ss_family... $ECHO_C" >&6; }
26878      cat >conftest.$ac_ext <<_ACEOF
26879/* confdefs.h.  */
26880_ACEOF
26881cat confdefs.h >>conftest.$ac_ext
26882cat >>conftest.$ac_ext <<_ACEOF
26883/* end confdefs.h.  */
26884
26885        #include <sys/types.h>
26886        #include <sys/socket.h>
26887
26888int
26889main ()
26890{
26891
26892        struct sockaddr_storage ss ;
26893        ss.__ss_family = 0 ;
26894
26895  ;
26896  return 0;
26897}
26898_ACEOF
26899rm -f conftest.$ac_objext
26900if { (ac_try="$ac_compile"
26901case "(($ac_try" in
26902  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26903  *) ac_try_echo=$ac_try;;
26904esac
26905eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26906  (eval "$ac_compile") 2>conftest.er1
26907  ac_status=$?
26908  grep -v '^ *+' conftest.er1 >conftest.err
26909  rm -f conftest.er1
26910  cat conftest.err >&5
26911  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912  (exit $ac_status); } && {
26913	 test -z "$ac_c_werror_flag" ||
26914	 test ! -s conftest.err
26915       } && test -s conftest.$ac_objext; then
26916  have_broken_ss_family=yes
26917else
26918  echo "$as_me: failed program was:" >&5
26919sed 's/^/| /' conftest.$ac_ext >&5
26920
26921	have_broken_ss_family=no
26922
26923fi
26924
26925rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26926      { echo "$as_me:$LINENO: result: $have_broken_ss_family" >&5
26927echo "${ECHO_T}$have_broken_ss_family" >&6; }
26928      if test x$have_broken_ss_family = xyes ; then
26929
26930cat >>confdefs.h <<\_ACEOF
26931#define HAVE_BROKEN_SS_FAMILY
26932_ACEOF
26933
26934
26935cat >>confdefs.h <<\_ACEOF
26936#define ss_family __ss_family
26937_ACEOF
26938
26939      else
26940        { echo "$as_me:$LINENO: WARNING: ss_family and __ss_family not found" >&5
26941echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;}
26942      fi
26943    fi
26944
26945    have_getaddrinfo=no
26946    { echo "$as_me:$LINENO: checking for getaddrinfo" >&5
26947echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
26948if test "${ac_cv_func_getaddrinfo+set}" = set; then
26949  echo $ECHO_N "(cached) $ECHO_C" >&6
26950else
26951  cat >conftest.$ac_ext <<_ACEOF
26952/* confdefs.h.  */
26953_ACEOF
26954cat confdefs.h >>conftest.$ac_ext
26955cat >>conftest.$ac_ext <<_ACEOF
26956/* end confdefs.h.  */
26957/* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
26958   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26959#define getaddrinfo innocuous_getaddrinfo
26960
26961/* System header to define __stub macros and hopefully few prototypes,
26962    which can conflict with char getaddrinfo (); below.
26963    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26964    <limits.h> exists even on freestanding compilers.  */
26965
26966#ifdef __STDC__
26967# include <limits.h>
26968#else
26969# include <assert.h>
26970#endif
26971
26972#undef getaddrinfo
26973
26974/* Override any GCC internal prototype to avoid an error.
26975   Use char because int might match the return type of a GCC
26976   builtin and then its argument prototype would still apply.  */
26977#ifdef __cplusplus
26978extern "C"
26979#endif
26980char getaddrinfo ();
26981/* The GNU C library defines this for functions which it implements
26982    to always fail with ENOSYS.  Some functions are actually named
26983    something starting with __ and the normal name is an alias.  */
26984#if defined __stub_getaddrinfo || defined __stub___getaddrinfo
26985choke me
26986#endif
26987
26988int
26989main ()
26990{
26991return getaddrinfo ();
26992  ;
26993  return 0;
26994}
26995_ACEOF
26996rm -f conftest.$ac_objext conftest$ac_exeext
26997if { (ac_try="$ac_link"
26998case "(($ac_try" in
26999  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27000  *) ac_try_echo=$ac_try;;
27001esac
27002eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27003  (eval "$ac_link") 2>conftest.er1
27004  ac_status=$?
27005  grep -v '^ *+' conftest.er1 >conftest.err
27006  rm -f conftest.er1
27007  cat conftest.err >&5
27008  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009  (exit $ac_status); } && {
27010	 test -z "$ac_c_werror_flag" ||
27011	 test ! -s conftest.err
27012       } && test -s conftest$ac_exeext &&
27013       $as_test_x conftest$ac_exeext; then
27014  ac_cv_func_getaddrinfo=yes
27015else
27016  echo "$as_me: failed program was:" >&5
27017sed 's/^/| /' conftest.$ac_ext >&5
27018
27019	ac_cv_func_getaddrinfo=no
27020fi
27021
27022rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27023      conftest$ac_exeext conftest.$ac_ext
27024fi
27025{ echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
27026echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
27027if test $ac_cv_func_getaddrinfo = yes; then
27028  have_getaddrinfo=yes
27029fi
27030
27031    if test $have_getaddrinfo != yes; then
27032      for lib in bsd socket inet; do
27033        as_ac_Lib=`echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
27034{ echo "$as_me:$LINENO: checking for getaddrinfo in -l$lib" >&5
27035echo $ECHO_N "checking for getaddrinfo in -l$lib... $ECHO_C" >&6; }
27036if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
27037  echo $ECHO_N "(cached) $ECHO_C" >&6
27038else
27039  ac_check_lib_save_LIBS=$LIBS
27040LIBS="-l$lib  $LIBS"
27041cat >conftest.$ac_ext <<_ACEOF
27042/* confdefs.h.  */
27043_ACEOF
27044cat confdefs.h >>conftest.$ac_ext
27045cat >>conftest.$ac_ext <<_ACEOF
27046/* end confdefs.h.  */
27047
27048/* Override any GCC internal prototype to avoid an error.
27049   Use char because int might match the return type of a GCC
27050   builtin and then its argument prototype would still apply.  */
27051#ifdef __cplusplus
27052extern "C"
27053#endif
27054char getaddrinfo ();
27055int
27056main ()
27057{
27058return getaddrinfo ();
27059  ;
27060  return 0;
27061}
27062_ACEOF
27063rm -f conftest.$ac_objext conftest$ac_exeext
27064if { (ac_try="$ac_link"
27065case "(($ac_try" in
27066  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27067  *) ac_try_echo=$ac_try;;
27068esac
27069eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27070  (eval "$ac_link") 2>conftest.er1
27071  ac_status=$?
27072  grep -v '^ *+' conftest.er1 >conftest.err
27073  rm -f conftest.er1
27074  cat conftest.err >&5
27075  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076  (exit $ac_status); } && {
27077	 test -z "$ac_c_werror_flag" ||
27078	 test ! -s conftest.err
27079       } && test -s conftest$ac_exeext &&
27080       $as_test_x conftest$ac_exeext; then
27081  eval "$as_ac_Lib=yes"
27082else
27083  echo "$as_me: failed program was:" >&5
27084sed 's/^/| /' conftest.$ac_ext >&5
27085
27086	eval "$as_ac_Lib=no"
27087fi
27088
27089rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27090      conftest$ac_exeext conftest.$ac_ext
27091LIBS=$ac_check_lib_save_LIBS
27092fi
27093ac_res=`eval echo '${'$as_ac_Lib'}'`
27094	       { echo "$as_me:$LINENO: result: $ac_res" >&5
27095echo "${ECHO_T}$ac_res" >&6; }
27096if test `eval echo '${'$as_ac_Lib'}'` = yes; then
27097  LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break
27098fi
27099
27100      done
27101    fi
27102
27103    if test $have_getaddrinfo = yes; then
27104
27105cat >>confdefs.h <<\_ACEOF
27106#define HAVE_GETADDRINFO
27107_ACEOF
27108
27109    fi
27110  fi
27111fi
27112
27113
27114{ echo "$as_me:$LINENO: checking for isnan" >&5
27115echo $ECHO_N "checking for isnan... $ECHO_C" >&6; }
27116if test "${ac_cv_func_isnan+set}" = set; then
27117  echo $ECHO_N "(cached) $ECHO_C" >&6
27118else
27119  cat >conftest.$ac_ext <<_ACEOF
27120/* confdefs.h.  */
27121_ACEOF
27122cat confdefs.h >>conftest.$ac_ext
27123cat >>conftest.$ac_ext <<_ACEOF
27124/* end confdefs.h.  */
27125/* Define isnan to an innocuous variant, in case <limits.h> declares isnan.
27126   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27127#define isnan innocuous_isnan
27128
27129/* System header to define __stub macros and hopefully few prototypes,
27130    which can conflict with char isnan (); below.
27131    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27132    <limits.h> exists even on freestanding compilers.  */
27133
27134#ifdef __STDC__
27135# include <limits.h>
27136#else
27137# include <assert.h>
27138#endif
27139
27140#undef isnan
27141
27142/* Override any GCC internal prototype to avoid an error.
27143   Use char because int might match the return type of a GCC
27144   builtin and then its argument prototype would still apply.  */
27145#ifdef __cplusplus
27146extern "C"
27147#endif
27148char isnan ();
27149/* The GNU C library defines this for functions which it implements
27150    to always fail with ENOSYS.  Some functions are actually named
27151    something starting with __ and the normal name is an alias.  */
27152#if defined __stub_isnan || defined __stub___isnan
27153choke me
27154#endif
27155
27156int
27157main ()
27158{
27159return isnan ();
27160  ;
27161  return 0;
27162}
27163_ACEOF
27164rm -f conftest.$ac_objext conftest$ac_exeext
27165if { (ac_try="$ac_link"
27166case "(($ac_try" in
27167  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27168  *) ac_try_echo=$ac_try;;
27169esac
27170eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27171  (eval "$ac_link") 2>conftest.er1
27172  ac_status=$?
27173  grep -v '^ *+' conftest.er1 >conftest.err
27174  rm -f conftest.er1
27175  cat conftest.err >&5
27176  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177  (exit $ac_status); } && {
27178	 test -z "$ac_c_werror_flag" ||
27179	 test ! -s conftest.err
27180       } && test -s conftest$ac_exeext &&
27181       $as_test_x conftest$ac_exeext; then
27182  ac_cv_func_isnan=yes
27183else
27184  echo "$as_me: failed program was:" >&5
27185sed 's/^/| /' conftest.$ac_ext >&5
27186
27187	ac_cv_func_isnan=no
27188fi
27189
27190rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27191      conftest$ac_exeext conftest.$ac_ext
27192fi
27193{ echo "$as_me:$LINENO: result: $ac_cv_func_isnan" >&5
27194echo "${ECHO_T}$ac_cv_func_isnan" >&6; }
27195if test $ac_cv_func_isnan = yes; then
27196
27197cat >>confdefs.h <<\_ACEOF
27198#define HAVE_ISNAN
27199_ACEOF
27200
27201else
27202  { echo "$as_me:$LINENO: checking for isnan in -lm" >&5
27203echo $ECHO_N "checking for isnan in -lm... $ECHO_C" >&6; }
27204if test "${ac_cv_lib_m_isnan+set}" = set; then
27205  echo $ECHO_N "(cached) $ECHO_C" >&6
27206else
27207  ac_check_lib_save_LIBS=$LIBS
27208LIBS="-lm  $LIBS"
27209cat >conftest.$ac_ext <<_ACEOF
27210/* confdefs.h.  */
27211_ACEOF
27212cat confdefs.h >>conftest.$ac_ext
27213cat >>conftest.$ac_ext <<_ACEOF
27214/* end confdefs.h.  */
27215
27216/* Override any GCC internal prototype to avoid an error.
27217   Use char because int might match the return type of a GCC
27218   builtin and then its argument prototype would still apply.  */
27219#ifdef __cplusplus
27220extern "C"
27221#endif
27222char isnan ();
27223int
27224main ()
27225{
27226return isnan ();
27227  ;
27228  return 0;
27229}
27230_ACEOF
27231rm -f conftest.$ac_objext conftest$ac_exeext
27232if { (ac_try="$ac_link"
27233case "(($ac_try" in
27234  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27235  *) ac_try_echo=$ac_try;;
27236esac
27237eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27238  (eval "$ac_link") 2>conftest.er1
27239  ac_status=$?
27240  grep -v '^ *+' conftest.er1 >conftest.err
27241  rm -f conftest.er1
27242  cat conftest.err >&5
27243  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27244  (exit $ac_status); } && {
27245	 test -z "$ac_c_werror_flag" ||
27246	 test ! -s conftest.err
27247       } && test -s conftest$ac_exeext &&
27248       $as_test_x conftest$ac_exeext; then
27249  ac_cv_lib_m_isnan=yes
27250else
27251  echo "$as_me: failed program was:" >&5
27252sed 's/^/| /' conftest.$ac_ext >&5
27253
27254	ac_cv_lib_m_isnan=no
27255fi
27256
27257rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27258      conftest$ac_exeext conftest.$ac_ext
27259LIBS=$ac_check_lib_save_LIBS
27260fi
27261{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_isnan" >&5
27262echo "${ECHO_T}$ac_cv_lib_m_isnan" >&6; }
27263if test $ac_cv_lib_m_isnan = yes; then
27264
27265cat >>confdefs.h <<\_ACEOF
27266#define HAVE_ISNAN
27267_ACEOF
27268
27269fi
27270
27271fi
27272
27273
27274{ echo "$as_me:$LINENO: checking for isinf" >&5
27275echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
27276if test "${ac_cv_func_isinf+set}" = set; then
27277  echo $ECHO_N "(cached) $ECHO_C" >&6
27278else
27279  cat >conftest.$ac_ext <<_ACEOF
27280/* confdefs.h.  */
27281_ACEOF
27282cat confdefs.h >>conftest.$ac_ext
27283cat >>conftest.$ac_ext <<_ACEOF
27284/* end confdefs.h.  */
27285/* Define isinf to an innocuous variant, in case <limits.h> declares isinf.
27286   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27287#define isinf innocuous_isinf
27288
27289/* System header to define __stub macros and hopefully few prototypes,
27290    which can conflict with char isinf (); below.
27291    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27292    <limits.h> exists even on freestanding compilers.  */
27293
27294#ifdef __STDC__
27295# include <limits.h>
27296#else
27297# include <assert.h>
27298#endif
27299
27300#undef isinf
27301
27302/* Override any GCC internal prototype to avoid an error.
27303   Use char because int might match the return type of a GCC
27304   builtin and then its argument prototype would still apply.  */
27305#ifdef __cplusplus
27306extern "C"
27307#endif
27308char isinf ();
27309/* The GNU C library defines this for functions which it implements
27310    to always fail with ENOSYS.  Some functions are actually named
27311    something starting with __ and the normal name is an alias.  */
27312#if defined __stub_isinf || defined __stub___isinf
27313choke me
27314#endif
27315
27316int
27317main ()
27318{
27319return isinf ();
27320  ;
27321  return 0;
27322}
27323_ACEOF
27324rm -f conftest.$ac_objext conftest$ac_exeext
27325if { (ac_try="$ac_link"
27326case "(($ac_try" in
27327  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27328  *) ac_try_echo=$ac_try;;
27329esac
27330eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27331  (eval "$ac_link") 2>conftest.er1
27332  ac_status=$?
27333  grep -v '^ *+' conftest.er1 >conftest.err
27334  rm -f conftest.er1
27335  cat conftest.err >&5
27336  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27337  (exit $ac_status); } && {
27338	 test -z "$ac_c_werror_flag" ||
27339	 test ! -s conftest.err
27340       } && test -s conftest$ac_exeext &&
27341       $as_test_x conftest$ac_exeext; then
27342  ac_cv_func_isinf=yes
27343else
27344  echo "$as_me: failed program was:" >&5
27345sed 's/^/| /' conftest.$ac_ext >&5
27346
27347	ac_cv_func_isinf=no
27348fi
27349
27350rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27351      conftest$ac_exeext conftest.$ac_ext
27352fi
27353{ echo "$as_me:$LINENO: result: $ac_cv_func_isinf" >&5
27354echo "${ECHO_T}$ac_cv_func_isinf" >&6; }
27355if test $ac_cv_func_isinf = yes; then
27356
27357cat >>confdefs.h <<\_ACEOF
27358#define HAVE_ISINF
27359_ACEOF
27360
27361else
27362  { echo "$as_me:$LINENO: checking for isinf in -lm" >&5
27363echo $ECHO_N "checking for isinf in -lm... $ECHO_C" >&6; }
27364if test "${ac_cv_lib_m_isinf+set}" = set; then
27365  echo $ECHO_N "(cached) $ECHO_C" >&6
27366else
27367  ac_check_lib_save_LIBS=$LIBS
27368LIBS="-lm  $LIBS"
27369cat >conftest.$ac_ext <<_ACEOF
27370/* confdefs.h.  */
27371_ACEOF
27372cat confdefs.h >>conftest.$ac_ext
27373cat >>conftest.$ac_ext <<_ACEOF
27374/* end confdefs.h.  */
27375
27376/* Override any GCC internal prototype to avoid an error.
27377   Use char because int might match the return type of a GCC
27378   builtin and then its argument prototype would still apply.  */
27379#ifdef __cplusplus
27380extern "C"
27381#endif
27382char isinf ();
27383int
27384main ()
27385{
27386return isinf ();
27387  ;
27388  return 0;
27389}
27390_ACEOF
27391rm -f conftest.$ac_objext conftest$ac_exeext
27392if { (ac_try="$ac_link"
27393case "(($ac_try" in
27394  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27395  *) ac_try_echo=$ac_try;;
27396esac
27397eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27398  (eval "$ac_link") 2>conftest.er1
27399  ac_status=$?
27400  grep -v '^ *+' conftest.er1 >conftest.err
27401  rm -f conftest.er1
27402  cat conftest.err >&5
27403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404  (exit $ac_status); } && {
27405	 test -z "$ac_c_werror_flag" ||
27406	 test ! -s conftest.err
27407       } && test -s conftest$ac_exeext &&
27408       $as_test_x conftest$ac_exeext; then
27409  ac_cv_lib_m_isinf=yes
27410else
27411  echo "$as_me: failed program was:" >&5
27412sed 's/^/| /' conftest.$ac_ext >&5
27413
27414	ac_cv_lib_m_isinf=no
27415fi
27416
27417rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27418      conftest$ac_exeext conftest.$ac_ext
27419LIBS=$ac_check_lib_save_LIBS
27420fi
27421{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_isinf" >&5
27422echo "${ECHO_T}$ac_cv_lib_m_isinf" >&6; }
27423if test $ac_cv_lib_m_isinf = yes; then
27424
27425cat >>confdefs.h <<\_ACEOF
27426#define HAVE_ISINF
27427_ACEOF
27428
27429fi
27430
27431fi
27432
27433
27434XML_LIBDIR='-L${libdir}'
27435XML_INCLUDEDIR='-I${includedir}/libxml2'
27436
27437XML_CFLAGS=""
27438RDL_LIBS=""
27439
27440if test "${GCC}" != "yes" ; then
27441    case "${host}" in
27442          hppa*-*-hpux* )
27443	       CFLAGS="${CFLAGS} -Wp,-H30000"
27444	       ;;
27445          *-dec-osf* )
27446               CFLAGS="${CFLAGS} -ieee"
27447               ;;
27448	  alpha*-*-linux* )
27449	       CFLAGS="${CFLAGS} -ieee"
27450	       ;;
27451    esac
27452else
27453    if test "$with_fexceptions" = "yes"
27454    then
27455        #
27456	# Not activated by default because this inflates the code size
27457	# Used to allow propagation of C++ exceptions through the library
27458	#
27459	CFLAGS="${CFLAGS} -fexceptions"
27460    fi
27461
27462    CFLAGS="${CFLAGS} -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls"
27463    case "${host}" in
27464          alpha*-*-linux* )
27465	       CFLAGS="${CFLAGS} -mieee"
27466	       ;;
27467	  alpha*-*-osf* )
27468	       CFLAGS="${CFLAGS} -mieee"
27469	       ;;
27470    esac
27471fi
27472case ${host} in
27473    *-*-solaris*)
27474        XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
27475        ;;
27476    hppa*-hp-mpeix)
27477        NEED_TRIO=1
27478	;;
27479    *-*-mingw* | *-*-cygwin* | *-*-msvc* )
27480        # If the host is Windows, and shared libraries are disabled, we
27481        # need to add -DLIBXML_STATIC to CFLAGS in order for linking to
27482        # work properly (without it, xmlexports.h would force the use of
27483        # DLL imports, which obviously aren't present in a static
27484        # library).
27485        if test "x$enable_shared" = "xno"; then
27486            XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
27487            CFLAGS="$CFLAGS -DLIBXML_STATIC"
27488        fi
27489        ;;
27490esac
27491
27492
27493
27494PYTHON_VERSION=
27495PYTHON_INCLUDES=
27496PYTHON_SITE_PACKAGES=
27497PYTHON_TESTS=
27498pythondir=
27499if test "$with_python" != "no" ; then
27500    if test -x "$with_python/bin/python"
27501    then
27502        echo Found python in $with_python/bin/python
27503        PYTHON="$with_python/bin/python"
27504    else
27505	if test -x "$with_python"
27506	then
27507	    echo Found python in $with_python
27508	    PYTHON="$with_python"
27509	else
27510	    if test -x "$PYTHON"
27511	    then
27512	        echo Found python in environment PYTHON=$PYTHON
27513		with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
27514	    else
27515		# Extract the first word of "python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
27516set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
27517{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27518echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27519if test "${ac_cv_path_PYTHON+set}" = set; then
27520  echo $ECHO_N "(cached) $ECHO_C" >&6
27521else
27522  case $PYTHON in
27523  [\\/]* | ?:[\\/]*)
27524  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
27525  ;;
27526  *)
27527  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27528for as_dir in $PATH
27529do
27530  IFS=$as_save_IFS
27531  test -z "$as_dir" && as_dir=.
27532  for ac_exec_ext in '' $ac_executable_extensions; do
27533  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27534    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
27535    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27536    break 2
27537  fi
27538done
27539done
27540IFS=$as_save_IFS
27541
27542  ;;
27543esac
27544fi
27545PYTHON=$ac_cv_path_PYTHON
27546if test -n "$PYTHON"; then
27547  { echo "$as_me:$LINENO: result: $PYTHON" >&5
27548echo "${ECHO_T}$PYTHON" >&6; }
27549else
27550  { echo "$as_me:$LINENO: result: no" >&5
27551echo "${ECHO_T}no" >&6; }
27552fi
27553
27554
27555	    fi
27556	fi
27557    fi
27558    if test "$PYTHON" != ""
27559    then
27560        PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"`
27561	echo Found Python version $PYTHON_VERSION
27562    fi
27563    if test "$PYTHON_VERSION" != ""
27564    then
27565	if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
27566	   -d $with_python/lib/python$PYTHON_VERSION/site-packages
27567	then
27568	    PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
27569	    PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
27570	else
27571	    if test -r $prefix/include/python$PYTHON_VERSION/Python.h
27572	    then
27573	        PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
27574	        PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
27575	    else
27576		if test -r /usr/include/python$PYTHON_VERSION/Python.h
27577		then
27578		    PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
27579	            PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
27580		else
27581		    echo could not find python$PYTHON_VERSION/Python.h
27582		fi
27583	    fi
27584	    if test ! -d "$PYTHON_SITE_PACKAGES"
27585	    then
27586		    PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
27587	    fi
27588	fi
27589    fi
27590    if test "$with_python" != ""
27591    then
27592        pythondir='$(PYTHON_SITE_PACKAGES)'
27593    else
27594        pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
27595    fi
27596else
27597    PYTHON=
27598fi
27599 if test "$PYTHON_INCLUDES" != ""; then
27600  WITH_PYTHON_TRUE=
27601  WITH_PYTHON_FALSE='#'
27602else
27603  WITH_PYTHON_TRUE='#'
27604  WITH_PYTHON_FALSE=
27605fi
27606
27607if test "$PYTHON_INCLUDES" != ""
27608then
27609    PYTHON_SUBDIR=python
27610else
27611    PYTHON_SUBDIR=
27612fi
27613
27614
27615
27616WITH_MODULES=0
27617TEST_MODULES=
27618
27619if test "$with_modules" != "no" ; then
27620 case "$host" in
27621  *-*-cygwin*)
27622  MODULE_EXTENSION=".dll"
27623  { echo "$as_me:$LINENO: checking for dlopen in -lcygwin" >&5
27624echo $ECHO_N "checking for dlopen in -lcygwin... $ECHO_C" >&6; }
27625if test "${ac_cv_lib_cygwin_dlopen+set}" = set; then
27626  echo $ECHO_N "(cached) $ECHO_C" >&6
27627else
27628  ac_check_lib_save_LIBS=$LIBS
27629LIBS="-lcygwin  $LIBS"
27630cat >conftest.$ac_ext <<_ACEOF
27631/* confdefs.h.  */
27632_ACEOF
27633cat confdefs.h >>conftest.$ac_ext
27634cat >>conftest.$ac_ext <<_ACEOF
27635/* end confdefs.h.  */
27636
27637/* Override any GCC internal prototype to avoid an error.
27638   Use char because int might match the return type of a GCC
27639   builtin and then its argument prototype would still apply.  */
27640#ifdef __cplusplus
27641extern "C"
27642#endif
27643char dlopen ();
27644int
27645main ()
27646{
27647return dlopen ();
27648  ;
27649  return 0;
27650}
27651_ACEOF
27652rm -f conftest.$ac_objext conftest$ac_exeext
27653if { (ac_try="$ac_link"
27654case "(($ac_try" in
27655  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27656  *) ac_try_echo=$ac_try;;
27657esac
27658eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27659  (eval "$ac_link") 2>conftest.er1
27660  ac_status=$?
27661  grep -v '^ *+' conftest.er1 >conftest.err
27662  rm -f conftest.er1
27663  cat conftest.err >&5
27664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27665  (exit $ac_status); } && {
27666	 test -z "$ac_c_werror_flag" ||
27667	 test ! -s conftest.err
27668       } && test -s conftest$ac_exeext &&
27669       $as_test_x conftest$ac_exeext; then
27670  ac_cv_lib_cygwin_dlopen=yes
27671else
27672  echo "$as_me: failed program was:" >&5
27673sed 's/^/| /' conftest.$ac_ext >&5
27674
27675	ac_cv_lib_cygwin_dlopen=no
27676fi
27677
27678rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27679      conftest$ac_exeext conftest.$ac_ext
27680LIBS=$ac_check_lib_save_LIBS
27681fi
27682{ echo "$as_me:$LINENO: result: $ac_cv_lib_cygwin_dlopen" >&5
27683echo "${ECHO_T}$ac_cv_lib_cygwin_dlopen" >&6; }
27684if test $ac_cv_lib_cygwin_dlopen = yes; then
27685
27686    WITH_MODULES=1
27687    MODULE_PLATFORM_LIBS=
27688
27689cat >>confdefs.h <<\_ACEOF
27690#define HAVE_DLOPEN
27691_ACEOF
27692
27693
27694fi
27695
27696  ;;
27697  *)
27698  { echo "$as_me:$LINENO: checking for shl_load" >&5
27699echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
27700if test "${ac_cv_func_shl_load+set}" = set; then
27701  echo $ECHO_N "(cached) $ECHO_C" >&6
27702else
27703  cat >conftest.$ac_ext <<_ACEOF
27704/* confdefs.h.  */
27705_ACEOF
27706cat confdefs.h >>conftest.$ac_ext
27707cat >>conftest.$ac_ext <<_ACEOF
27708/* end confdefs.h.  */
27709/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
27710   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27711#define shl_load innocuous_shl_load
27712
27713/* System header to define __stub macros and hopefully few prototypes,
27714    which can conflict with char shl_load (); below.
27715    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27716    <limits.h> exists even on freestanding compilers.  */
27717
27718#ifdef __STDC__
27719# include <limits.h>
27720#else
27721# include <assert.h>
27722#endif
27723
27724#undef shl_load
27725
27726/* Override any GCC internal prototype to avoid an error.
27727   Use char because int might match the return type of a GCC
27728   builtin and then its argument prototype would still apply.  */
27729#ifdef __cplusplus
27730extern "C"
27731#endif
27732char shl_load ();
27733/* The GNU C library defines this for functions which it implements
27734    to always fail with ENOSYS.  Some functions are actually named
27735    something starting with __ and the normal name is an alias.  */
27736#if defined __stub_shl_load || defined __stub___shl_load
27737choke me
27738#endif
27739
27740int
27741main ()
27742{
27743return shl_load ();
27744  ;
27745  return 0;
27746}
27747_ACEOF
27748rm -f conftest.$ac_objext conftest$ac_exeext
27749if { (ac_try="$ac_link"
27750case "(($ac_try" in
27751  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27752  *) ac_try_echo=$ac_try;;
27753esac
27754eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27755  (eval "$ac_link") 2>conftest.er1
27756  ac_status=$?
27757  grep -v '^ *+' conftest.er1 >conftest.err
27758  rm -f conftest.er1
27759  cat conftest.err >&5
27760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27761  (exit $ac_status); } && {
27762	 test -z "$ac_c_werror_flag" ||
27763	 test ! -s conftest.err
27764       } && test -s conftest$ac_exeext &&
27765       $as_test_x conftest$ac_exeext; then
27766  ac_cv_func_shl_load=yes
27767else
27768  echo "$as_me: failed program was:" >&5
27769sed 's/^/| /' conftest.$ac_ext >&5
27770
27771	ac_cv_func_shl_load=no
27772fi
27773
27774rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27775      conftest$ac_exeext conftest.$ac_ext
27776fi
27777{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
27778echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
27779if test $ac_cv_func_shl_load = yes; then
27780  libxml_have_shl_load=yes
27781else
27782
27783    { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
27784echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
27785if test "${ac_cv_lib_dld_shl_load+set}" = set; then
27786  echo $ECHO_N "(cached) $ECHO_C" >&6
27787else
27788  ac_check_lib_save_LIBS=$LIBS
27789LIBS="-ldld  $LIBS"
27790cat >conftest.$ac_ext <<_ACEOF
27791/* confdefs.h.  */
27792_ACEOF
27793cat confdefs.h >>conftest.$ac_ext
27794cat >>conftest.$ac_ext <<_ACEOF
27795/* end confdefs.h.  */
27796
27797/* Override any GCC internal prototype to avoid an error.
27798   Use char because int might match the return type of a GCC
27799   builtin and then its argument prototype would still apply.  */
27800#ifdef __cplusplus
27801extern "C"
27802#endif
27803char shl_load ();
27804int
27805main ()
27806{
27807return shl_load ();
27808  ;
27809  return 0;
27810}
27811_ACEOF
27812rm -f conftest.$ac_objext conftest$ac_exeext
27813if { (ac_try="$ac_link"
27814case "(($ac_try" in
27815  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27816  *) ac_try_echo=$ac_try;;
27817esac
27818eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27819  (eval "$ac_link") 2>conftest.er1
27820  ac_status=$?
27821  grep -v '^ *+' conftest.er1 >conftest.err
27822  rm -f conftest.er1
27823  cat conftest.err >&5
27824  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27825  (exit $ac_status); } && {
27826	 test -z "$ac_c_werror_flag" ||
27827	 test ! -s conftest.err
27828       } && test -s conftest$ac_exeext &&
27829       $as_test_x conftest$ac_exeext; then
27830  ac_cv_lib_dld_shl_load=yes
27831else
27832  echo "$as_me: failed program was:" >&5
27833sed 's/^/| /' conftest.$ac_ext >&5
27834
27835	ac_cv_lib_dld_shl_load=no
27836fi
27837
27838rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27839      conftest$ac_exeext conftest.$ac_ext
27840LIBS=$ac_check_lib_save_LIBS
27841fi
27842{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
27843echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
27844if test $ac_cv_lib_dld_shl_load = yes; then
27845
27846      MODULE_PLATFORM_LIBS="-ldld"
27847      libxml_have_shl_load=yes
27848else
27849
27850      { echo "$as_me:$LINENO: checking for dlopen" >&5
27851echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
27852if test "${ac_cv_func_dlopen+set}" = set; then
27853  echo $ECHO_N "(cached) $ECHO_C" >&6
27854else
27855  cat >conftest.$ac_ext <<_ACEOF
27856/* confdefs.h.  */
27857_ACEOF
27858cat confdefs.h >>conftest.$ac_ext
27859cat >>conftest.$ac_ext <<_ACEOF
27860/* end confdefs.h.  */
27861/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
27862   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27863#define dlopen innocuous_dlopen
27864
27865/* System header to define __stub macros and hopefully few prototypes,
27866    which can conflict with char dlopen (); below.
27867    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27868    <limits.h> exists even on freestanding compilers.  */
27869
27870#ifdef __STDC__
27871# include <limits.h>
27872#else
27873# include <assert.h>
27874#endif
27875
27876#undef dlopen
27877
27878/* Override any GCC internal prototype to avoid an error.
27879   Use char because int might match the return type of a GCC
27880   builtin and then its argument prototype would still apply.  */
27881#ifdef __cplusplus
27882extern "C"
27883#endif
27884char dlopen ();
27885/* The GNU C library defines this for functions which it implements
27886    to always fail with ENOSYS.  Some functions are actually named
27887    something starting with __ and the normal name is an alias.  */
27888#if defined __stub_dlopen || defined __stub___dlopen
27889choke me
27890#endif
27891
27892int
27893main ()
27894{
27895return dlopen ();
27896  ;
27897  return 0;
27898}
27899_ACEOF
27900rm -f conftest.$ac_objext conftest$ac_exeext
27901if { (ac_try="$ac_link"
27902case "(($ac_try" in
27903  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27904  *) ac_try_echo=$ac_try;;
27905esac
27906eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27907  (eval "$ac_link") 2>conftest.er1
27908  ac_status=$?
27909  grep -v '^ *+' conftest.er1 >conftest.err
27910  rm -f conftest.er1
27911  cat conftest.err >&5
27912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913  (exit $ac_status); } && {
27914	 test -z "$ac_c_werror_flag" ||
27915	 test ! -s conftest.err
27916       } && test -s conftest$ac_exeext &&
27917       $as_test_x conftest$ac_exeext; then
27918  ac_cv_func_dlopen=yes
27919else
27920  echo "$as_me: failed program was:" >&5
27921sed 's/^/| /' conftest.$ac_ext >&5
27922
27923	ac_cv_func_dlopen=no
27924fi
27925
27926rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27927      conftest$ac_exeext conftest.$ac_ext
27928fi
27929{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
27930echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
27931if test $ac_cv_func_dlopen = yes; then
27932  libxml_have_dlopen=yes
27933else
27934
27935        { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27936echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
27937if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27938  echo $ECHO_N "(cached) $ECHO_C" >&6
27939else
27940  ac_check_lib_save_LIBS=$LIBS
27941LIBS="-ldl  $LIBS"
27942cat >conftest.$ac_ext <<_ACEOF
27943/* confdefs.h.  */
27944_ACEOF
27945cat confdefs.h >>conftest.$ac_ext
27946cat >>conftest.$ac_ext <<_ACEOF
27947/* end confdefs.h.  */
27948
27949/* Override any GCC internal prototype to avoid an error.
27950   Use char because int might match the return type of a GCC
27951   builtin and then its argument prototype would still apply.  */
27952#ifdef __cplusplus
27953extern "C"
27954#endif
27955char dlopen ();
27956int
27957main ()
27958{
27959return dlopen ();
27960  ;
27961  return 0;
27962}
27963_ACEOF
27964rm -f conftest.$ac_objext conftest$ac_exeext
27965if { (ac_try="$ac_link"
27966case "(($ac_try" in
27967  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27968  *) ac_try_echo=$ac_try;;
27969esac
27970eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27971  (eval "$ac_link") 2>conftest.er1
27972  ac_status=$?
27973  grep -v '^ *+' conftest.er1 >conftest.err
27974  rm -f conftest.er1
27975  cat conftest.err >&5
27976  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27977  (exit $ac_status); } && {
27978	 test -z "$ac_c_werror_flag" ||
27979	 test ! -s conftest.err
27980       } && test -s conftest$ac_exeext &&
27981       $as_test_x conftest$ac_exeext; then
27982  ac_cv_lib_dl_dlopen=yes
27983else
27984  echo "$as_me: failed program was:" >&5
27985sed 's/^/| /' conftest.$ac_ext >&5
27986
27987	ac_cv_lib_dl_dlopen=no
27988fi
27989
27990rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27991      conftest$ac_exeext conftest.$ac_ext
27992LIBS=$ac_check_lib_save_LIBS
27993fi
27994{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27995echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
27996if test $ac_cv_lib_dl_dlopen = yes; then
27997
27998          MODULE_PLATFORM_LIBS="-ldl"
27999          libxml_have_dlopen=yes
28000fi
28001
28002fi
28003
28004fi
28005
28006fi
28007
28008
28009  if test "${libxml_have_shl_load}" = "yes"; then
28010    MODULE_EXTENSION=".sl"
28011    WITH_MODULES=1
28012
28013cat >>confdefs.h <<\_ACEOF
28014#define HAVE_SHLLOAD
28015_ACEOF
28016
28017  fi
28018
28019  if test "${libxml_have_dlopen}" = "yes"; then
28020    case "${host}" in
28021      *-*-hpux* )
28022	MODULE_EXTENSION=".sl"
28023	;;
28024      * )
28025	MODULE_EXTENSION=".so"
28026	;;
28027    esac
28028
28029    WITH_MODULES=1
28030
28031cat >>confdefs.h <<\_ACEOF
28032#define HAVE_DLOPEN
28033_ACEOF
28034
28035  fi
28036 ;;
28037 esac
28038fi
28039
28040if test "${WITH_MODULES}" = "1"; then
28041  TEST_MODULES="ModuleTests"
28042fi
28043
28044
28045
28046
28047
28048
28049
28050if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \
28051   [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \
28052   [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]
28053   then
28054    if test "$with_minimum" != "yes"
28055    then
28056	if test "${with_mem_debug}" = "" ; then
28057	    echo Activating memory debugging
28058	    with_mem_debug="yes"
28059	    with_run_debug="yes"
28060	fi
28061	if test "${with_docbook}" = "" ; then
28062	    with_docbook="yes"
28063	fi
28064    fi
28065    if test "${GCC}" = "yes" ; then
28066    CFLAGS="-g -O -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wall"
28067    fi
28068    STATIC_BINARIES="-static"
28069else
28070    STATIC_BINARIES=
28071fi
28072
28073
28074
28075if test "${NEED_TRIO}" = "1" ; then
28076    echo Adding trio library for string functions
28077    WITH_TRIO=1
28078else
28079    WITH_TRIO=0
28080fi
28081 if test "${NEED_TRIO}" = "1"; then
28082  WITH_TRIO_SOURCES_TRUE=
28083  WITH_TRIO_SOURCES_FALSE='#'
28084else
28085  WITH_TRIO_SOURCES_TRUE='#'
28086  WITH_TRIO_SOURCES_FALSE=
28087fi
28088
28089
28090
28091echo Checking configuration requirements
28092
28093THREAD_LIBS=""
28094BASE_THREAD_LIBS=""
28095WITH_THREADS=0
28096THREAD_CFLAGS=""
28097TEST_THREADS=""
28098THREADS_W32=""
28099
28100if test "$with_threads" = "no" ; then
28101    echo Disabling multithreaded support
28102else
28103    echo Enabling multithreaded support
28104
28105    if test "${ac_cv_header_pthread_h+set}" = set; then
28106  { echo "$as_me:$LINENO: checking for pthread.h" >&5
28107echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
28108if test "${ac_cv_header_pthread_h+set}" = set; then
28109  echo $ECHO_N "(cached) $ECHO_C" >&6
28110fi
28111{ echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
28112echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
28113else
28114  # Is the header compilable?
28115{ echo "$as_me:$LINENO: checking pthread.h usability" >&5
28116echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
28117cat >conftest.$ac_ext <<_ACEOF
28118/* confdefs.h.  */
28119_ACEOF
28120cat confdefs.h >>conftest.$ac_ext
28121cat >>conftest.$ac_ext <<_ACEOF
28122/* end confdefs.h.  */
28123$ac_includes_default
28124#include <pthread.h>
28125_ACEOF
28126rm -f conftest.$ac_objext
28127if { (ac_try="$ac_compile"
28128case "(($ac_try" in
28129  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28130  *) ac_try_echo=$ac_try;;
28131esac
28132eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28133  (eval "$ac_compile") 2>conftest.er1
28134  ac_status=$?
28135  grep -v '^ *+' conftest.er1 >conftest.err
28136  rm -f conftest.er1
28137  cat conftest.err >&5
28138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139  (exit $ac_status); } && {
28140	 test -z "$ac_c_werror_flag" ||
28141	 test ! -s conftest.err
28142       } && test -s conftest.$ac_objext; then
28143  ac_header_compiler=yes
28144else
28145  echo "$as_me: failed program was:" >&5
28146sed 's/^/| /' conftest.$ac_ext >&5
28147
28148	ac_header_compiler=no
28149fi
28150
28151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28152{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28153echo "${ECHO_T}$ac_header_compiler" >&6; }
28154
28155# Is the header present?
28156{ echo "$as_me:$LINENO: checking pthread.h presence" >&5
28157echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
28158cat >conftest.$ac_ext <<_ACEOF
28159/* confdefs.h.  */
28160_ACEOF
28161cat confdefs.h >>conftest.$ac_ext
28162cat >>conftest.$ac_ext <<_ACEOF
28163/* end confdefs.h.  */
28164#include <pthread.h>
28165_ACEOF
28166if { (ac_try="$ac_cpp conftest.$ac_ext"
28167case "(($ac_try" in
28168  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28169  *) ac_try_echo=$ac_try;;
28170esac
28171eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28172  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28173  ac_status=$?
28174  grep -v '^ *+' conftest.er1 >conftest.err
28175  rm -f conftest.er1
28176  cat conftest.err >&5
28177  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178  (exit $ac_status); } >/dev/null && {
28179	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28180	 test ! -s conftest.err
28181       }; then
28182  ac_header_preproc=yes
28183else
28184  echo "$as_me: failed program was:" >&5
28185sed 's/^/| /' conftest.$ac_ext >&5
28186
28187  ac_header_preproc=no
28188fi
28189
28190rm -f conftest.err conftest.$ac_ext
28191{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28192echo "${ECHO_T}$ac_header_preproc" >&6; }
28193
28194# So?  What about this header?
28195case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28196  yes:no: )
28197    { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
28198echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28199    { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
28200echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
28201    ac_header_preproc=yes
28202    ;;
28203  no:yes:* )
28204    { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
28205echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
28206    { echo "$as_me:$LINENO: WARNING: pthread.h:     check for missing prerequisite headers?" >&5
28207echo "$as_me: WARNING: pthread.h:     check for missing prerequisite headers?" >&2;}
28208    { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
28209echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
28210    { echo "$as_me:$LINENO: WARNING: pthread.h:     section \"Present But Cannot Be Compiled\"" >&5
28211echo "$as_me: WARNING: pthread.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28212    { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
28213echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
28214    { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
28215echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
28216
28217    ;;
28218esac
28219{ echo "$as_me:$LINENO: checking for pthread.h" >&5
28220echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
28221if test "${ac_cv_header_pthread_h+set}" = set; then
28222  echo $ECHO_N "(cached) $ECHO_C" >&6
28223else
28224  ac_cv_header_pthread_h=$ac_header_preproc
28225fi
28226{ echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
28227echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
28228
28229fi
28230if test $ac_cv_header_pthread_h = yes; then
28231  { echo "$as_me:$LINENO: checking for pthread_join in -lpthread" >&5
28232echo $ECHO_N "checking for pthread_join in -lpthread... $ECHO_C" >&6; }
28233if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then
28234  echo $ECHO_N "(cached) $ECHO_C" >&6
28235else
28236  ac_check_lib_save_LIBS=$LIBS
28237LIBS="-lpthread  $LIBS"
28238cat >conftest.$ac_ext <<_ACEOF
28239/* confdefs.h.  */
28240_ACEOF
28241cat confdefs.h >>conftest.$ac_ext
28242cat >>conftest.$ac_ext <<_ACEOF
28243/* end confdefs.h.  */
28244
28245/* Override any GCC internal prototype to avoid an error.
28246   Use char because int might match the return type of a GCC
28247   builtin and then its argument prototype would still apply.  */
28248#ifdef __cplusplus
28249extern "C"
28250#endif
28251char pthread_join ();
28252int
28253main ()
28254{
28255return pthread_join ();
28256  ;
28257  return 0;
28258}
28259_ACEOF
28260rm -f conftest.$ac_objext conftest$ac_exeext
28261if { (ac_try="$ac_link"
28262case "(($ac_try" in
28263  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28264  *) ac_try_echo=$ac_try;;
28265esac
28266eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28267  (eval "$ac_link") 2>conftest.er1
28268  ac_status=$?
28269  grep -v '^ *+' conftest.er1 >conftest.err
28270  rm -f conftest.er1
28271  cat conftest.err >&5
28272  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273  (exit $ac_status); } && {
28274	 test -z "$ac_c_werror_flag" ||
28275	 test ! -s conftest.err
28276       } && test -s conftest$ac_exeext &&
28277       $as_test_x conftest$ac_exeext; then
28278  ac_cv_lib_pthread_pthread_join=yes
28279else
28280  echo "$as_me: failed program was:" >&5
28281sed 's/^/| /' conftest.$ac_ext >&5
28282
28283	ac_cv_lib_pthread_pthread_join=no
28284fi
28285
28286rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28287      conftest$ac_exeext conftest.$ac_ext
28288LIBS=$ac_check_lib_save_LIBS
28289fi
28290{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_join" >&5
28291echo "${ECHO_T}$ac_cv_lib_pthread_pthread_join" >&6; }
28292if test $ac_cv_lib_pthread_pthread_join = yes; then
28293
28294	   THREAD_LIBS="-lpthread"
28295
28296cat >>confdefs.h <<\_ACEOF
28297#define HAVE_LIBPTHREAD
28298_ACEOF
28299
28300
28301cat >>confdefs.h <<\_ACEOF
28302#define HAVE_PTHREAD_H
28303_ACEOF
28304
28305	   WITH_THREADS="1"
28306fi
28307
28308fi
28309
28310
28311    case $host_os in
28312       *mingw32*) WITH_THREADS="1"
28313           THREADS_W32="Win32"
28314	   THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
28315       ;;
28316       *cygwin*) THREAD_LIBS=""
28317       ;;
28318       *beos*) WITH_THREADS="1"
28319	   THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
28320       ;;
28321       *linux*)
28322           if test "${GCC}" = "yes" ; then
28323	       GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
28324	       GCC_MAJOR=`echo ${GCC_VERSION} | sed 's+\..*++'`
28325	       GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..*++'`
28326	       if test "${THREAD_LIBS}" = "-lpthread" ; then
28327	           if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null
28328		   then
28329		       THREAD_LIBS=""
28330		       BASE_THREAD_LIBS="-lpthread"
28331		   else
28332		   if expr ${GCC_MAJOR} \> 3 > /dev/null
28333		   then
28334		       THREAD_LIBS=""
28335		       BASE_THREAD_LIBS="-lpthread"
28336		   else
28337		       echo old GCC disabling weak symbols for pthread
28338		   fi
28339		   fi
28340	       fi
28341	   fi
28342       ;;
28343    esac
28344    if test "$WITH_THREADS" = "1" ; then
28345	THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
28346	TEST_THREADS="Threadtests"
28347    fi
28348fi
28349if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
28350    THREAD_CFLAGS="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED"
28351fi
28352
28353
28354
28355
28356
28357
28358
28359
28360if test "$with_history" = "yes" ; then
28361    echo Enabling xmllint shell history
28362            unset tcap
28363    for termlib in ncurses curses termcap terminfo termlib; do
28364	as_ac_Lib=`echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
28365{ echo "$as_me:$LINENO: checking for tputs in -l${termlib}" >&5
28366echo $ECHO_N "checking for tputs in -l${termlib}... $ECHO_C" >&6; }
28367if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
28368  echo $ECHO_N "(cached) $ECHO_C" >&6
28369else
28370  ac_check_lib_save_LIBS=$LIBS
28371LIBS="-l${termlib}  $LIBS"
28372cat >conftest.$ac_ext <<_ACEOF
28373/* confdefs.h.  */
28374_ACEOF
28375cat confdefs.h >>conftest.$ac_ext
28376cat >>conftest.$ac_ext <<_ACEOF
28377/* end confdefs.h.  */
28378
28379/* Override any GCC internal prototype to avoid an error.
28380   Use char because int might match the return type of a GCC
28381   builtin and then its argument prototype would still apply.  */
28382#ifdef __cplusplus
28383extern "C"
28384#endif
28385char tputs ();
28386int
28387main ()
28388{
28389return tputs ();
28390  ;
28391  return 0;
28392}
28393_ACEOF
28394rm -f conftest.$ac_objext conftest$ac_exeext
28395if { (ac_try="$ac_link"
28396case "(($ac_try" in
28397  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28398  *) ac_try_echo=$ac_try;;
28399esac
28400eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28401  (eval "$ac_link") 2>conftest.er1
28402  ac_status=$?
28403  grep -v '^ *+' conftest.er1 >conftest.err
28404  rm -f conftest.er1
28405  cat conftest.err >&5
28406  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407  (exit $ac_status); } && {
28408	 test -z "$ac_c_werror_flag" ||
28409	 test ! -s conftest.err
28410       } && test -s conftest$ac_exeext &&
28411       $as_test_x conftest$ac_exeext; then
28412  eval "$as_ac_Lib=yes"
28413else
28414  echo "$as_me: failed program was:" >&5
28415sed 's/^/| /' conftest.$ac_ext >&5
28416
28417	eval "$as_ac_Lib=no"
28418fi
28419
28420rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28421      conftest$ac_exeext conftest.$ac_ext
28422LIBS=$ac_check_lib_save_LIBS
28423fi
28424ac_res=`eval echo '${'$as_ac_Lib'}'`
28425	       { echo "$as_me:$LINENO: result: $ac_res" >&5
28426echo "${ECHO_T}$ac_res" >&6; }
28427if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28428  tcap="-l$termlib"
28429fi
28430
28431	test -n "$tcap" && break
28432    done
28433
28434    if test "${ac_cv_header_readline_history_h+set}" = set; then
28435  { echo "$as_me:$LINENO: checking for readline/history.h" >&5
28436echo $ECHO_N "checking for readline/history.h... $ECHO_C" >&6; }
28437if test "${ac_cv_header_readline_history_h+set}" = set; then
28438  echo $ECHO_N "(cached) $ECHO_C" >&6
28439fi
28440{ echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
28441echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6; }
28442else
28443  # Is the header compilable?
28444{ echo "$as_me:$LINENO: checking readline/history.h usability" >&5
28445echo $ECHO_N "checking readline/history.h usability... $ECHO_C" >&6; }
28446cat >conftest.$ac_ext <<_ACEOF
28447/* confdefs.h.  */
28448_ACEOF
28449cat confdefs.h >>conftest.$ac_ext
28450cat >>conftest.$ac_ext <<_ACEOF
28451/* end confdefs.h.  */
28452$ac_includes_default
28453#include <readline/history.h>
28454_ACEOF
28455rm -f conftest.$ac_objext
28456if { (ac_try="$ac_compile"
28457case "(($ac_try" in
28458  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28459  *) ac_try_echo=$ac_try;;
28460esac
28461eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28462  (eval "$ac_compile") 2>conftest.er1
28463  ac_status=$?
28464  grep -v '^ *+' conftest.er1 >conftest.err
28465  rm -f conftest.er1
28466  cat conftest.err >&5
28467  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468  (exit $ac_status); } && {
28469	 test -z "$ac_c_werror_flag" ||
28470	 test ! -s conftest.err
28471       } && test -s conftest.$ac_objext; then
28472  ac_header_compiler=yes
28473else
28474  echo "$as_me: failed program was:" >&5
28475sed 's/^/| /' conftest.$ac_ext >&5
28476
28477	ac_header_compiler=no
28478fi
28479
28480rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28481{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28482echo "${ECHO_T}$ac_header_compiler" >&6; }
28483
28484# Is the header present?
28485{ echo "$as_me:$LINENO: checking readline/history.h presence" >&5
28486echo $ECHO_N "checking readline/history.h presence... $ECHO_C" >&6; }
28487cat >conftest.$ac_ext <<_ACEOF
28488/* confdefs.h.  */
28489_ACEOF
28490cat confdefs.h >>conftest.$ac_ext
28491cat >>conftest.$ac_ext <<_ACEOF
28492/* end confdefs.h.  */
28493#include <readline/history.h>
28494_ACEOF
28495if { (ac_try="$ac_cpp conftest.$ac_ext"
28496case "(($ac_try" in
28497  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28498  *) ac_try_echo=$ac_try;;
28499esac
28500eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28501  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28502  ac_status=$?
28503  grep -v '^ *+' conftest.er1 >conftest.err
28504  rm -f conftest.er1
28505  cat conftest.err >&5
28506  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507  (exit $ac_status); } >/dev/null && {
28508	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28509	 test ! -s conftest.err
28510       }; then
28511  ac_header_preproc=yes
28512else
28513  echo "$as_me: failed program was:" >&5
28514sed 's/^/| /' conftest.$ac_ext >&5
28515
28516  ac_header_preproc=no
28517fi
28518
28519rm -f conftest.err conftest.$ac_ext
28520{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28521echo "${ECHO_T}$ac_header_preproc" >&6; }
28522
28523# So?  What about this header?
28524case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28525  yes:no: )
28526    { echo "$as_me:$LINENO: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&5
28527echo "$as_me: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28528    { echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the compiler's result" >&5
28529echo "$as_me: WARNING: readline/history.h: proceeding with the compiler's result" >&2;}
28530    ac_header_preproc=yes
28531    ;;
28532  no:yes:* )
28533    { echo "$as_me:$LINENO: WARNING: readline/history.h: present but cannot be compiled" >&5
28534echo "$as_me: WARNING: readline/history.h: present but cannot be compiled" >&2;}
28535    { echo "$as_me:$LINENO: WARNING: readline/history.h:     check for missing prerequisite headers?" >&5
28536echo "$as_me: WARNING: readline/history.h:     check for missing prerequisite headers?" >&2;}
28537    { echo "$as_me:$LINENO: WARNING: readline/history.h: see the Autoconf documentation" >&5
28538echo "$as_me: WARNING: readline/history.h: see the Autoconf documentation" >&2;}
28539    { echo "$as_me:$LINENO: WARNING: readline/history.h:     section \"Present But Cannot Be Compiled\"" >&5
28540echo "$as_me: WARNING: readline/history.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28541    { echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5
28542echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;}
28543    { echo "$as_me:$LINENO: WARNING: readline/history.h: in the future, the compiler will take precedence" >&5
28544echo "$as_me: WARNING: readline/history.h: in the future, the compiler will take precedence" >&2;}
28545
28546    ;;
28547esac
28548{ echo "$as_me:$LINENO: checking for readline/history.h" >&5
28549echo $ECHO_N "checking for readline/history.h... $ECHO_C" >&6; }
28550if test "${ac_cv_header_readline_history_h+set}" = set; then
28551  echo $ECHO_N "(cached) $ECHO_C" >&6
28552else
28553  ac_cv_header_readline_history_h=$ac_header_preproc
28554fi
28555{ echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
28556echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6; }
28557
28558fi
28559if test $ac_cv_header_readline_history_h = yes; then
28560  { echo "$as_me:$LINENO: checking for append_history in -lhistory" >&5
28561echo $ECHO_N "checking for append_history in -lhistory... $ECHO_C" >&6; }
28562if test "${ac_cv_lib_history_append_history+set}" = set; then
28563  echo $ECHO_N "(cached) $ECHO_C" >&6
28564else
28565  ac_check_lib_save_LIBS=$LIBS
28566LIBS="-lhistory  $LIBS"
28567cat >conftest.$ac_ext <<_ACEOF
28568/* confdefs.h.  */
28569_ACEOF
28570cat confdefs.h >>conftest.$ac_ext
28571cat >>conftest.$ac_ext <<_ACEOF
28572/* end confdefs.h.  */
28573
28574/* Override any GCC internal prototype to avoid an error.
28575   Use char because int might match the return type of a GCC
28576   builtin and then its argument prototype would still apply.  */
28577#ifdef __cplusplus
28578extern "C"
28579#endif
28580char append_history ();
28581int
28582main ()
28583{
28584return append_history ();
28585  ;
28586  return 0;
28587}
28588_ACEOF
28589rm -f conftest.$ac_objext conftest$ac_exeext
28590if { (ac_try="$ac_link"
28591case "(($ac_try" in
28592  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28593  *) ac_try_echo=$ac_try;;
28594esac
28595eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28596  (eval "$ac_link") 2>conftest.er1
28597  ac_status=$?
28598  grep -v '^ *+' conftest.er1 >conftest.err
28599  rm -f conftest.er1
28600  cat conftest.err >&5
28601  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602  (exit $ac_status); } && {
28603	 test -z "$ac_c_werror_flag" ||
28604	 test ! -s conftest.err
28605       } && test -s conftest$ac_exeext &&
28606       $as_test_x conftest$ac_exeext; then
28607  ac_cv_lib_history_append_history=yes
28608else
28609  echo "$as_me: failed program was:" >&5
28610sed 's/^/| /' conftest.$ac_ext >&5
28611
28612	ac_cv_lib_history_append_history=no
28613fi
28614
28615rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28616      conftest$ac_exeext conftest.$ac_ext
28617LIBS=$ac_check_lib_save_LIBS
28618fi
28619{ echo "$as_me:$LINENO: result: $ac_cv_lib_history_append_history" >&5
28620echo "${ECHO_T}$ac_cv_lib_history_append_history" >&6; }
28621if test $ac_cv_lib_history_append_history = yes; then
28622
28623	   RDL_LIBS="-lhistory"
28624
28625cat >>confdefs.h <<\_ACEOF
28626#define HAVE_LIBHISTORY
28627_ACEOF
28628
28629fi
28630
28631fi
28632
28633
28634    if test "${ac_cv_header_readline_readline_h+set}" = set; then
28635  { echo "$as_me:$LINENO: checking for readline/readline.h" >&5
28636echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6; }
28637if test "${ac_cv_header_readline_readline_h+set}" = set; then
28638  echo $ECHO_N "(cached) $ECHO_C" >&6
28639fi
28640{ echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
28641echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6; }
28642else
28643  # Is the header compilable?
28644{ echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
28645echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6; }
28646cat >conftest.$ac_ext <<_ACEOF
28647/* confdefs.h.  */
28648_ACEOF
28649cat confdefs.h >>conftest.$ac_ext
28650cat >>conftest.$ac_ext <<_ACEOF
28651/* end confdefs.h.  */
28652$ac_includes_default
28653#include <readline/readline.h>
28654_ACEOF
28655rm -f conftest.$ac_objext
28656if { (ac_try="$ac_compile"
28657case "(($ac_try" in
28658  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28659  *) ac_try_echo=$ac_try;;
28660esac
28661eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28662  (eval "$ac_compile") 2>conftest.er1
28663  ac_status=$?
28664  grep -v '^ *+' conftest.er1 >conftest.err
28665  rm -f conftest.er1
28666  cat conftest.err >&5
28667  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668  (exit $ac_status); } && {
28669	 test -z "$ac_c_werror_flag" ||
28670	 test ! -s conftest.err
28671       } && test -s conftest.$ac_objext; then
28672  ac_header_compiler=yes
28673else
28674  echo "$as_me: failed program was:" >&5
28675sed 's/^/| /' conftest.$ac_ext >&5
28676
28677	ac_header_compiler=no
28678fi
28679
28680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28681{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28682echo "${ECHO_T}$ac_header_compiler" >&6; }
28683
28684# Is the header present?
28685{ echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
28686echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6; }
28687cat >conftest.$ac_ext <<_ACEOF
28688/* confdefs.h.  */
28689_ACEOF
28690cat confdefs.h >>conftest.$ac_ext
28691cat >>conftest.$ac_ext <<_ACEOF
28692/* end confdefs.h.  */
28693#include <readline/readline.h>
28694_ACEOF
28695if { (ac_try="$ac_cpp conftest.$ac_ext"
28696case "(($ac_try" in
28697  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28698  *) ac_try_echo=$ac_try;;
28699esac
28700eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28701  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28702  ac_status=$?
28703  grep -v '^ *+' conftest.er1 >conftest.err
28704  rm -f conftest.er1
28705  cat conftest.err >&5
28706  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707  (exit $ac_status); } >/dev/null && {
28708	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28709	 test ! -s conftest.err
28710       }; then
28711  ac_header_preproc=yes
28712else
28713  echo "$as_me: failed program was:" >&5
28714sed 's/^/| /' conftest.$ac_ext >&5
28715
28716  ac_header_preproc=no
28717fi
28718
28719rm -f conftest.err conftest.$ac_ext
28720{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28721echo "${ECHO_T}$ac_header_preproc" >&6; }
28722
28723# So?  What about this header?
28724case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28725  yes:no: )
28726    { echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
28727echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28728    { echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the compiler's result" >&5
28729echo "$as_me: WARNING: readline/readline.h: proceeding with the compiler's result" >&2;}
28730    ac_header_preproc=yes
28731    ;;
28732  no:yes:* )
28733    { echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5
28734echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;}
28735    { echo "$as_me:$LINENO: WARNING: readline/readline.h:     check for missing prerequisite headers?" >&5
28736echo "$as_me: WARNING: readline/readline.h:     check for missing prerequisite headers?" >&2;}
28737    { echo "$as_me:$LINENO: WARNING: readline/readline.h: see the Autoconf documentation" >&5
28738echo "$as_me: WARNING: readline/readline.h: see the Autoconf documentation" >&2;}
28739    { echo "$as_me:$LINENO: WARNING: readline/readline.h:     section \"Present But Cannot Be Compiled\"" >&5
28740echo "$as_me: WARNING: readline/readline.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28741    { echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5
28742echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;}
28743    { echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5
28744echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;}
28745
28746    ;;
28747esac
28748{ echo "$as_me:$LINENO: checking for readline/readline.h" >&5
28749echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6; }
28750if test "${ac_cv_header_readline_readline_h+set}" = set; then
28751  echo $ECHO_N "(cached) $ECHO_C" >&6
28752else
28753  ac_cv_header_readline_readline_h=$ac_header_preproc
28754fi
28755{ echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
28756echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6; }
28757
28758fi
28759if test $ac_cv_header_readline_readline_h = yes; then
28760  { echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
28761echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; }
28762if test "${ac_cv_lib_readline_readline+set}" = set; then
28763  echo $ECHO_N "(cached) $ECHO_C" >&6
28764else
28765  ac_check_lib_save_LIBS=$LIBS
28766LIBS="-lreadline $tcap $LIBS"
28767cat >conftest.$ac_ext <<_ACEOF
28768/* confdefs.h.  */
28769_ACEOF
28770cat confdefs.h >>conftest.$ac_ext
28771cat >>conftest.$ac_ext <<_ACEOF
28772/* end confdefs.h.  */
28773
28774/* Override any GCC internal prototype to avoid an error.
28775   Use char because int might match the return type of a GCC
28776   builtin and then its argument prototype would still apply.  */
28777#ifdef __cplusplus
28778extern "C"
28779#endif
28780char readline ();
28781int
28782main ()
28783{
28784return readline ();
28785  ;
28786  return 0;
28787}
28788_ACEOF
28789rm -f conftest.$ac_objext conftest$ac_exeext
28790if { (ac_try="$ac_link"
28791case "(($ac_try" in
28792  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28793  *) ac_try_echo=$ac_try;;
28794esac
28795eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28796  (eval "$ac_link") 2>conftest.er1
28797  ac_status=$?
28798  grep -v '^ *+' conftest.er1 >conftest.err
28799  rm -f conftest.er1
28800  cat conftest.err >&5
28801  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28802  (exit $ac_status); } && {
28803	 test -z "$ac_c_werror_flag" ||
28804	 test ! -s conftest.err
28805       } && test -s conftest$ac_exeext &&
28806       $as_test_x conftest$ac_exeext; then
28807  ac_cv_lib_readline_readline=yes
28808else
28809  echo "$as_me: failed program was:" >&5
28810sed 's/^/| /' conftest.$ac_ext >&5
28811
28812	ac_cv_lib_readline_readline=no
28813fi
28814
28815rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28816      conftest$ac_exeext conftest.$ac_ext
28817LIBS=$ac_check_lib_save_LIBS
28818fi
28819{ echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
28820echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; }
28821if test $ac_cv_lib_readline_readline = yes; then
28822
28823	   RDL_LIBS="-lreadline $RDL_LIBS $tcap"
28824
28825cat >>confdefs.h <<\_ACEOF
28826#define HAVE_LIBREADLINE
28827_ACEOF
28828
28829fi
28830
28831fi
28832
28833
28834    if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
28835	CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include"
28836	RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS"
28837    fi
28838fi
28839
28840if test "$with_tree" = "no" ; then
28841    echo Disabling DOM like tree manipulation APIs
28842    WITH_TREE=0
28843else
28844    WITH_TREE=1
28845fi
28846
28847
28848if test "$with_ftp" = "no" ; then
28849    echo Disabling FTP support
28850    WITH_FTP=0
28851    FTP_OBJ=
28852else
28853    WITH_FTP=1
28854    FTP_OBJ=nanoftp.o
28855fi
28856
28857
28858
28859if test "$with_http" = "no" ; then
28860    echo Disabling HTTP support
28861    WITH_HTTP=0
28862    HTTP_OBJ=
28863else
28864    WITH_HTTP=1
28865    HTTP_OBJ=nanohttp.o
28866fi
28867
28868
28869
28870if test "$with_legacy" = "no" ; then
28871    echo Disabling deprecated APIs
28872    WITH_LEGACY=0
28873else
28874    WITH_LEGACY=1
28875fi
28876
28877
28878if test "$with_reader" = "no" ; then
28879    echo Disabling the xmlReader parsing interface
28880    WITH_READER=0
28881    READER_TEST=
28882else
28883    WITH_READER=1
28884    READER_TEST=Readertests
28885    if test "$with_push" = "no" ; then
28886        echo xmlReader requires Push interface - enabling it
28887	with_push=yes
28888    fi
28889fi
28890
28891
28892
28893if test "$with_writer" = "no" ; then
28894    echo Disabling the xmlWriter saving interface
28895    WITH_WRITER=0
28896#    WRITER_TEST=
28897else
28898    WITH_WRITER=1
28899#    WRITER_TEST=Writertests
28900    if test "$with_push" = "no" ; then
28901        echo xmlWriter requires Push interface - enabling it
28902	with_push=yes
28903    fi
28904    if test "$with_output" = "no" ; then
28905        echo xmlWriter requires Output interface - enabling it
28906	with_output=yes
28907    fi
28908fi
28909
28910#AC_SUBST(WRITER_TEST)
28911
28912if test "$with_pattern" = "no" ; then
28913    echo Disabling the xmlPattern parsing interface
28914    WITH_PATTERN=0
28915    TEST_PATTERN=
28916else
28917    WITH_PATTERN=1
28918    TEST_PATTERN=Patterntests
28919fi
28920
28921
28922
28923if test "$with_sax1" = "no" ; then
28924    echo Disabling the older SAX1 interface
28925    WITH_SAX1=0
28926    TEST_SAX=
28927else
28928    WITH_SAX1=1
28929    TEST_SAX=SAXtests
28930fi
28931
28932
28933
28934if test "$with_push" = "no" ; then
28935    echo Disabling the PUSH parser interfaces
28936    WITH_PUSH=0
28937    TEST_PUSH=
28938else
28939    WITH_PUSH=1
28940    TEST_PUSH="XMLPushtests"
28941fi
28942
28943
28944
28945if test "$with_html" = "no" ; then
28946    echo Disabling HTML support
28947    WITH_HTML=0
28948    HTML_OBJ=
28949    TEST_HTML=
28950else
28951    WITH_HTML=1
28952    HTML_OBJ="HTMLparser.o HTMLtree.o"
28953    TEST_HTML=HTMLtests
28954    if test "$with_push" != "no" ; then
28955        TEST_PHTML=HTMLPushtests
28956    else
28957        TEST_PHTML=
28958    fi
28959fi
28960
28961
28962
28963
28964
28965if test "$with_valid" = "no" ; then
28966    echo Disabling DTD validation support
28967    WITH_VALID=0
28968    TEST_VALID=
28969    TEST_VTIME=
28970else
28971    WITH_VALID=1
28972    TEST_VALID=Validtests
28973    TEST_VTIME=VTimingtests
28974fi
28975
28976
28977
28978
28979if test "$with_catalog" = "no" ; then
28980    echo Disabling Catalog support
28981    WITH_CATALOG=0
28982    CATALOG_OBJ=
28983    TEST_CATALOG=
28984else
28985    WITH_CATALOG=1
28986    CATALOG_OBJ="catalog.o"
28987    TEST_CATALOG=Catatests
28988fi
28989
28990
28991
28992
28993if test "$with_docbook" = "no" ; then
28994    echo Disabling Docbook support
28995    WITH_DOCB=0
28996    DOCB_OBJ=
28997else
28998    WITH_DOCB=1
28999    DOCB_OBJ="DOCBparser.o"
29000fi
29001
29002
29003
29004
29005if test "$with_xptr" = "no" ; then
29006    echo Disabling XPointer support
29007    WITH_XPTR=0
29008    XPTR_OBJ=
29009    TEST_XPTR=
29010else
29011    WITH_XPTR=1
29012    XPTR_OBJ=xpointer.o
29013    TEST_XPTR=XPtrtests
29014    if test "$with_xpath" = "no" ; then
29015        echo XPointer requires XPath support - enabling it
29016	with_xpath=yes
29017    fi
29018fi
29019
29020
29021
29022
29023if test "$with_c14n" = "no" ; then
29024    echo Disabling C14N support
29025    WITH_C14N=0
29026    C14N_OBJ=
29027    TEST_C14N=
29028else
29029    WITH_C14N=1
29030    C14N_OBJ="c14n.c"
29031    TEST_C14N=C14Ntests
29032    if test "$with_xpath" = "no" ; then
29033        echo C14N requires XPath support - enabling it
29034	with_xpath=yes
29035    fi
29036fi
29037
29038
29039
29040
29041if test "$with_xinclude" = "no" ; then
29042    echo Disabling XInclude support
29043    WITH_XINCLUDE=0
29044    XINCLUDE_OBJ=
29045    with_xinclude="no"
29046    TEST_XINCLUDE=
29047else
29048    WITH_XINCLUDE=1
29049    XINCLUDE_OBJ=xinclude.o
29050    TEST_XINCLUDE=XIncludetests
29051    if test "$with_xpath" = "no" ; then
29052        echo XInclude requires XPath support - enabling it
29053	with_xpath=yes
29054    fi
29055fi
29056
29057
29058
29059
29060if test "$with_xpath" = "no" ; then
29061    echo Disabling XPATH support
29062    WITH_XPATH=0
29063    XPATH_OBJ=
29064    TEST_XPATH=
29065else
29066    WITH_XPATH=1
29067    XPATH_OBJ=xpath.o
29068    TEST_XPATH=XPathtests
29069fi
29070
29071
29072
29073
29074if test "$with_output" = "no" ; then
29075    echo Disabling serialization/saving support
29076    WITH_OUTPUT=0
29077else
29078    WITH_OUTPUT=1
29079fi
29080
29081
29082WITH_ICONV=0
29083if test "$with_iconv" = "no" ; then
29084    echo Disabling ICONV support
29085else
29086    if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
29087	CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
29088	# Export this since our headers include iconv.h
29089	XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
29090	ICONV_LIBS="-L$with_iconv/lib"
29091    fi
29092
29093    if test "${ac_cv_header_iconv_h+set}" = set; then
29094  { echo "$as_me:$LINENO: checking for iconv.h" >&5
29095echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6; }
29096if test "${ac_cv_header_iconv_h+set}" = set; then
29097  echo $ECHO_N "(cached) $ECHO_C" >&6
29098fi
29099{ echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
29100echo "${ECHO_T}$ac_cv_header_iconv_h" >&6; }
29101else
29102  # Is the header compilable?
29103{ echo "$as_me:$LINENO: checking iconv.h usability" >&5
29104echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6; }
29105cat >conftest.$ac_ext <<_ACEOF
29106/* confdefs.h.  */
29107_ACEOF
29108cat confdefs.h >>conftest.$ac_ext
29109cat >>conftest.$ac_ext <<_ACEOF
29110/* end confdefs.h.  */
29111$ac_includes_default
29112#include <iconv.h>
29113_ACEOF
29114rm -f conftest.$ac_objext
29115if { (ac_try="$ac_compile"
29116case "(($ac_try" in
29117  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29118  *) ac_try_echo=$ac_try;;
29119esac
29120eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29121  (eval "$ac_compile") 2>conftest.er1
29122  ac_status=$?
29123  grep -v '^ *+' conftest.er1 >conftest.err
29124  rm -f conftest.er1
29125  cat conftest.err >&5
29126  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29127  (exit $ac_status); } && {
29128	 test -z "$ac_c_werror_flag" ||
29129	 test ! -s conftest.err
29130       } && test -s conftest.$ac_objext; then
29131  ac_header_compiler=yes
29132else
29133  echo "$as_me: failed program was:" >&5
29134sed 's/^/| /' conftest.$ac_ext >&5
29135
29136	ac_header_compiler=no
29137fi
29138
29139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29140{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29141echo "${ECHO_T}$ac_header_compiler" >&6; }
29142
29143# Is the header present?
29144{ echo "$as_me:$LINENO: checking iconv.h presence" >&5
29145echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6; }
29146cat >conftest.$ac_ext <<_ACEOF
29147/* confdefs.h.  */
29148_ACEOF
29149cat confdefs.h >>conftest.$ac_ext
29150cat >>conftest.$ac_ext <<_ACEOF
29151/* end confdefs.h.  */
29152#include <iconv.h>
29153_ACEOF
29154if { (ac_try="$ac_cpp conftest.$ac_ext"
29155case "(($ac_try" in
29156  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29157  *) ac_try_echo=$ac_try;;
29158esac
29159eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29160  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29161  ac_status=$?
29162  grep -v '^ *+' conftest.er1 >conftest.err
29163  rm -f conftest.er1
29164  cat conftest.err >&5
29165  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29166  (exit $ac_status); } >/dev/null && {
29167	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29168	 test ! -s conftest.err
29169       }; then
29170  ac_header_preproc=yes
29171else
29172  echo "$as_me: failed program was:" >&5
29173sed 's/^/| /' conftest.$ac_ext >&5
29174
29175  ac_header_preproc=no
29176fi
29177
29178rm -f conftest.err conftest.$ac_ext
29179{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29180echo "${ECHO_T}$ac_header_preproc" >&6; }
29181
29182# So?  What about this header?
29183case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29184  yes:no: )
29185    { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
29186echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29187    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
29188echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
29189    ac_header_preproc=yes
29190    ;;
29191  no:yes:* )
29192    { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
29193echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
29194    { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
29195echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
29196    { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
29197echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
29198    { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
29199echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
29200    { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
29201echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
29202    { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
29203echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
29204
29205    ;;
29206esac
29207{ echo "$as_me:$LINENO: checking for iconv.h" >&5
29208echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6; }
29209if test "${ac_cv_header_iconv_h+set}" = set; then
29210  echo $ECHO_N "(cached) $ECHO_C" >&6
29211else
29212  ac_cv_header_iconv_h=$ac_header_preproc
29213fi
29214{ echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
29215echo "${ECHO_T}$ac_cv_header_iconv_h" >&6; }
29216
29217fi
29218if test $ac_cv_header_iconv_h = yes; then
29219  { echo "$as_me:$LINENO: checking for iconv" >&5
29220echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
29221	cat >conftest.$ac_ext <<_ACEOF
29222/* confdefs.h.  */
29223_ACEOF
29224cat confdefs.h >>conftest.$ac_ext
29225cat >>conftest.$ac_ext <<_ACEOF
29226/* end confdefs.h.  */
29227#include <stdlib.h>
29228#include <iconv.h>
29229int
29230main ()
29231{
29232
29233iconv_t cd = iconv_open ("","");
29234iconv (cd, NULL, NULL, NULL, NULL);
29235  ;
29236  return 0;
29237}
29238_ACEOF
29239rm -f conftest.$ac_objext conftest$ac_exeext
29240if { (ac_try="$ac_link"
29241case "(($ac_try" in
29242  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29243  *) ac_try_echo=$ac_try;;
29244esac
29245eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29246  (eval "$ac_link") 2>conftest.er1
29247  ac_status=$?
29248  grep -v '^ *+' conftest.er1 >conftest.err
29249  rm -f conftest.er1
29250  cat conftest.err >&5
29251  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29252  (exit $ac_status); } && {
29253	 test -z "$ac_c_werror_flag" ||
29254	 test ! -s conftest.err
29255       } && test -s conftest$ac_exeext &&
29256       $as_test_x conftest$ac_exeext; then
29257
29258	    { echo "$as_me:$LINENO: result: yes" >&5
29259echo "${ECHO_T}yes" >&6; }
29260	    WITH_ICONV=1
29261else
29262  echo "$as_me: failed program was:" >&5
29263sed 's/^/| /' conftest.$ac_ext >&5
29264
29265
29266	    { echo "$as_me:$LINENO: result: no" >&5
29267echo "${ECHO_T}no" >&6; }
29268	    { echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
29269echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6; }
29270
29271	    _ldflags="${LDFLAGS}"
29272	    _libs="${LIBS}"
29273	    LDFLAGS="${LDFLAGS} ${ICONV_LIBS}"
29274	    LIBS="${LIBS} -liconv"
29275
29276	    cat >conftest.$ac_ext <<_ACEOF
29277/* confdefs.h.  */
29278_ACEOF
29279cat confdefs.h >>conftest.$ac_ext
29280cat >>conftest.$ac_ext <<_ACEOF
29281/* end confdefs.h.  */
29282#include <stdlib.h>
29283#include <iconv.h>
29284int
29285main ()
29286{
29287
29288iconv_t cd = iconv_open ("","");
29289iconv (cd, NULL, NULL, NULL, NULL);
29290  ;
29291  return 0;
29292}
29293_ACEOF
29294rm -f conftest.$ac_objext conftest$ac_exeext
29295if { (ac_try="$ac_link"
29296case "(($ac_try" in
29297  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29298  *) ac_try_echo=$ac_try;;
29299esac
29300eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29301  (eval "$ac_link") 2>conftest.er1
29302  ac_status=$?
29303  grep -v '^ *+' conftest.er1 >conftest.err
29304  rm -f conftest.er1
29305  cat conftest.err >&5
29306  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29307  (exit $ac_status); } && {
29308	 test -z "$ac_c_werror_flag" ||
29309	 test ! -s conftest.err
29310       } && test -s conftest$ac_exeext &&
29311       $as_test_x conftest$ac_exeext; then
29312
29313		{ echo "$as_me:$LINENO: result: yes" >&5
29314echo "${ECHO_T}yes" >&6; }
29315		WITH_ICONV=1
29316		ICONV_LIBS="${ICONV_LIBS} -liconv"
29317		LIBS="${_libs}"
29318		LDFLAGS="${_ldflags}"
29319else
29320  echo "$as_me: failed program was:" >&5
29321sed 's/^/| /' conftest.$ac_ext >&5
29322
29323
29324		{ echo "$as_me:$LINENO: result: no" >&5
29325echo "${ECHO_T}no" >&6; }
29326		LIBS="${_libs}"
29327		LDFLAGS="${_ldflags}"
29328fi
29329
29330rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29331      conftest$ac_exeext conftest.$ac_ext
29332fi
29333
29334rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29335      conftest$ac_exeext conftest.$ac_ext
29336fi
29337
29338
29339
29340	if test "$WITH_ICONV" = "1" ; then
29341		{ echo "$as_me:$LINENO: checking for iconv declaration" >&5
29342echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
29343		if test "${xml_cv_iconv_arg2+set}" = set; then
29344  echo $ECHO_N "(cached) $ECHO_C" >&6
29345else
29346
29347			cat >conftest.$ac_ext <<_ACEOF
29348/* confdefs.h.  */
29349_ACEOF
29350cat confdefs.h >>conftest.$ac_ext
29351cat >>conftest.$ac_ext <<_ACEOF
29352/* end confdefs.h.  */
29353#include <stdlib.h>
29354#include <iconv.h>
29355extern
29356#ifdef __cplusplus
29357"C"
29358#endif
29359#if defined(__STDC__) || defined(__cplusplus)
29360size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29361#else
29362size_t iconv();
29363#endif
29364
29365int
29366main ()
29367{
29368
29369  ;
29370  return 0;
29371}
29372_ACEOF
29373rm -f conftest.$ac_objext
29374if { (ac_try="$ac_compile"
29375case "(($ac_try" in
29376  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29377  *) ac_try_echo=$ac_try;;
29378esac
29379eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29380  (eval "$ac_compile") 2>conftest.er1
29381  ac_status=$?
29382  grep -v '^ *+' conftest.er1 >conftest.err
29383  rm -f conftest.er1
29384  cat conftest.err >&5
29385  echo "$as_me:$LINENO: \$? = $ac_status" >&5
29386  (exit $ac_status); } && {
29387	 test -z "$ac_c_werror_flag" ||
29388	 test ! -s conftest.err
29389       } && test -s conftest.$ac_objext; then
29390  xml_cv_iconv_arg2=""
29391else
29392  echo "$as_me: failed program was:" >&5
29393sed 's/^/| /' conftest.$ac_ext >&5
29394
29395	xml_cv_iconv_arg2="const"
29396fi
29397
29398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29399fi
29400
29401
29402		xml_cv_iconv_decl="extern size_t iconv (iconv_t cd, $xml_cv_iconv_arg2 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
29403		{ echo "$as_me:$LINENO: result: ${xml_xxx:-
29404	}$xml_cv_iconv_decl" >&5
29405echo "${ECHO_T}${xml_xxx:-
29406	}$xml_cv_iconv_decl" >&6; }
29407
29408cat >>confdefs.h <<_ACEOF
29409#define ICONV_CONST $xml_cv_iconv_arg2
29410_ACEOF
29411
29412	fi
29413fi
29414case "$host" in
29415	*mingw*) M_LIBS=""
29416	;;
29417	*beos*) M_LIBS=""
29418	;;
29419	*) M_LIBS="-lm"
29420	;;
29421esac
29422XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
29423XML_LIBTOOLLIBS="libxml2.la"
29424
29425
29426WITH_ISO8859X=1
29427if test "$WITH_ICONV" != "1" ; then
29428if test "$with_iso8859x" = "no" ; then
29429    echo Disabling ISO8859X support
29430    WITH_ISO8859X=0
29431fi
29432fi
29433
29434
29435if test "$with_schematron" = "no" ; then
29436    echo "Disabling Schematron support"
29437    WITH_SCHEMATRON=0
29438    TEST_SCHEMATRON=
29439else
29440    echo "Enabled Schematron support"
29441    WITH_SCHEMATRON=1
29442    TEST_SCHEMATRON="Schematrontests"
29443    with_xpath=yes
29444    with_pattern=yes
29445fi
29446
29447
29448
29449if test "$with_schemas" = "no" ; then
29450    echo "Disabling Schemas/Relax-NG support"
29451    WITH_SCHEMAS=0
29452    TEST_SCHEMAS=
29453else
29454    echo "Enabled Schemas/Relax-NG support"
29455    WITH_SCHEMAS=1
29456    TEST_SCHEMAS="Schemastests Relaxtests"
29457    if test "$PYTHON_INCLUDES" != "" ; then
29458        PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
29459    fi
29460    with_regexps=yes
29461fi
29462
29463
29464
29465if test "$with_regexps" = "no" ; then
29466    echo Disabling Regexps support
29467    WITH_REGEXPS=0
29468    TEST_REGEXPS=
29469else
29470    WITH_REGEXPS=1
29471    TEST_REGEXPS="Regexptests Automatatests"
29472fi
29473
29474
29475
29476if test "$with_debug" = "no" ; then
29477    echo Disabling DEBUG support
29478    WITH_DEBUG=0
29479    DEBUG_OBJ=
29480    TEST_DEBUG=
29481else
29482    WITH_DEBUG=1
29483    DEBUG_OBJ=debugXML.o
29484    TEST_DEBUG=Scripttests
29485fi
29486
29487
29488
29489
29490if test "$with_mem_debug" = "yes" ; then
29491    if test "$with_thread_alloc" = "yes" ; then
29492        echo Disabling memory debug - cannot use mem-debug with thread-alloc!
29493	WITH_MEM_DEBUG=0
29494    else
29495        echo Enabling memory debug support
29496        WITH_MEM_DEBUG=1
29497    fi
29498else
29499    WITH_MEM_DEBUG=0
29500fi
29501
29502
29503if test "$with_run_debug" = "yes" ; then
29504    echo Enabling runtime debug support
29505    WITH_RUN_DEBUG=1
29506else
29507    WITH_RUN_DEBUG=0
29508fi
29509
29510
29511WIN32_EXTRA_LIBADD=
29512WIN32_EXTRA_LDFLAGS=
29513CYGWIN_EXTRA_LDFLAGS=
29514CYGWIN_EXTRA_PYTHON_LIBADD=
29515case "$host" in
29516 *-*-mingw*)
29517 CPPFLAGS="$CPPFLAGS -DWIN32"
29518 WIN32_EXTRA_LIBADD="-lws2_32"
29519 WIN32_EXTRA_LDFLAGS="-no-undefined"
29520
29521cat >>confdefs.h <<\_ACEOF
29522#define _WINSOCKAPI_ 1
29523_ACEOF
29524
29525
29526cat >>confdefs.h <<\_ACEOF
29527#define snprintf _snprintf
29528_ACEOF
29529
29530
29531cat >>confdefs.h <<\_ACEOF
29532#define vsnprintf _vsnprintf
29533_ACEOF
29534
29535 ;;
29536 *-*-cygwin*)
29537 CYGWIN_EXTRA_LDFLAGS="-no-undefined"
29538 if test "${PYTHON}" != ""
29539 then
29540   CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
29541 fi
29542 ;;
29543esac
29544
29545
29546
29547
29548
29549if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
29550then
29551    echo Enabling code coverage for GCC
29552    CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
29553    LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
29554else
29555    echo Disabling code coverage for GCC
29556fi
29557
29558
29559
29560
29561
29562
29563
29564
29565
29566
29567
29568
29569
29570
29571
29572
29573
29574
29575
29576
29577
29578
29579RELDATE=`date +'%a %b %e %Y'`
29580
29581
29582
29583rm -f COPYING.LIB COPYING
29584ln -s Copyright COPYING
29585
29586# keep on one line for cygwin c.f. #130896
29587ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/Makefile include/libxml/Makefile doc/Makefile doc/examples/Makefile doc/devhelp/Makefile example/Makefile python/Makefile python/tests/Makefile xstc/Makefile include/libxml/xmlversion.h xml2-config libxml-2.0.pc libxml-2.0-uninstalled.pc python/setup.py"
29588
29589cat >confcache <<\_ACEOF
29590# This file is a shell script that caches the results of configure
29591# tests run on this system so they can be shared between configure
29592# scripts and configure runs, see configure's option --config-cache.
29593# It is not useful on other systems.  If it contains results you don't
29594# want to keep, you may remove or edit it.
29595#
29596# config.status only pays attention to the cache file if you give it
29597# the --recheck option to rerun configure.
29598#
29599# `ac_cv_env_foo' variables (set or unset) will be overridden when
29600# loading this file, other *unset* `ac_cv_foo' will be assigned the
29601# following values.
29602
29603_ACEOF
29604
29605# The following way of writing the cache mishandles newlines in values,
29606# but we know of no workaround that is simple, portable, and efficient.
29607# So, we kill variables containing newlines.
29608# Ultrix sh set writes to stderr and can't be redirected directly,
29609# and sets the high bit in the cache file unless we assign to the vars.
29610(
29611  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
29612    eval ac_val=\$$ac_var
29613    case $ac_val in #(
29614    *${as_nl}*)
29615      case $ac_var in #(
29616      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
29617echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
29618      esac
29619      case $ac_var in #(
29620      _ | IFS | as_nl) ;; #(
29621      *) $as_unset $ac_var ;;
29622      esac ;;
29623    esac
29624  done
29625
29626  (set) 2>&1 |
29627    case $as_nl`(ac_space=' '; set) 2>&1` in #(
29628    *${as_nl}ac_space=\ *)
29629      # `set' does not quote correctly, so add quotes (double-quote
29630      # substitution turns \\\\ into \\, and sed turns \\ into \).
29631      sed -n \
29632	"s/'/'\\\\''/g;
29633	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29634      ;; #(
29635    *)
29636      # `set' quotes correctly as required by POSIX, so do not add quotes.
29637      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29638      ;;
29639    esac |
29640    sort
29641) |
29642  sed '
29643     /^ac_cv_env_/b end
29644     t clear
29645     :clear
29646     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29647     t end
29648     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29649     :end' >>confcache
29650if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29651  if test -w "$cache_file"; then
29652    test "x$cache_file" != "x/dev/null" &&
29653      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
29654echo "$as_me: updating cache $cache_file" >&6;}
29655    cat confcache >$cache_file
29656  else
29657    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
29658echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29659  fi
29660fi
29661rm -f confcache
29662
29663test "x$prefix" = xNONE && prefix=$ac_default_prefix
29664# Let make expand exec_prefix.
29665test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29666
29667DEFS=-DHAVE_CONFIG_H
29668
29669ac_libobjs=
29670ac_ltlibobjs=
29671for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29672  # 1. Remove the extension, and $U if already installed.
29673  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
29674  ac_i=`echo "$ac_i" | sed "$ac_script"`
29675  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
29676  #    will be set to the directory where LIBOBJS objects are built.
29677  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
29678  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
29679done
29680LIBOBJS=$ac_libobjs
29681
29682LTLIBOBJS=$ac_ltlibobjs
29683
29684
29685if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29686  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29687Usually this means the macro was only invoked conditionally." >&5
29688echo "$as_me: error: conditional \"AMDEP\" was never defined.
29689Usually this means the macro was only invoked conditionally." >&2;}
29690   { (exit 1); exit 1; }; }
29691fi
29692if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29693  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29694Usually this means the macro was only invoked conditionally." >&5
29695echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29696Usually this means the macro was only invoked conditionally." >&2;}
29697   { (exit 1); exit 1; }; }
29698fi
29699if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29700  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29701Usually this means the macro was only invoked conditionally." >&5
29702echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29703Usually this means the macro was only invoked conditionally." >&2;}
29704   { (exit 1); exit 1; }; }
29705fi
29706if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
29707  { { echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON\" was never defined.
29708Usually this means the macro was only invoked conditionally." >&5
29709echo "$as_me: error: conditional \"WITH_PYTHON\" was never defined.
29710Usually this means the macro was only invoked conditionally." >&2;}
29711   { (exit 1); exit 1; }; }
29712fi
29713if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then
29714  { { echo "$as_me:$LINENO: error: conditional \"WITH_TRIO_SOURCES\" was never defined.
29715Usually this means the macro was only invoked conditionally." >&5
29716echo "$as_me: error: conditional \"WITH_TRIO_SOURCES\" was never defined.
29717Usually this means the macro was only invoked conditionally." >&2;}
29718   { (exit 1); exit 1; }; }
29719fi
29720
29721: ${CONFIG_STATUS=./config.status}
29722ac_clean_files_save=$ac_clean_files
29723ac_clean_files="$ac_clean_files $CONFIG_STATUS"
29724{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29725echo "$as_me: creating $CONFIG_STATUS" >&6;}
29726cat >$CONFIG_STATUS <<_ACEOF
29727#! $SHELL
29728# Generated by $as_me.
29729# Run this file to recreate the current configuration.
29730# Compiler output produced by configure, useful for debugging
29731# configure, is in config.log if it exists.
29732
29733debug=false
29734ac_cs_recheck=false
29735ac_cs_silent=false
29736SHELL=\${CONFIG_SHELL-$SHELL}
29737_ACEOF
29738
29739cat >>$CONFIG_STATUS <<\_ACEOF
29740## --------------------- ##
29741## M4sh Initialization.  ##
29742## --------------------- ##
29743
29744# Be more Bourne compatible
29745DUALCASE=1; export DUALCASE # for MKS sh
29746if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29747  emulate sh
29748  NULLCMD=:
29749  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29750  # is contrary to our usage.  Disable this feature.
29751  alias -g '${1+"$@"}'='"$@"'
29752  setopt NO_GLOB_SUBST
29753else
29754  case `(set -o) 2>/dev/null` in
29755  *posix*) set -o posix ;;
29756esac
29757
29758fi
29759
29760
29761
29762
29763# PATH needs CR
29764# Avoid depending upon Character Ranges.
29765as_cr_letters='abcdefghijklmnopqrstuvwxyz'
29766as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29767as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29768as_cr_digits='0123456789'
29769as_cr_alnum=$as_cr_Letters$as_cr_digits
29770
29771# The user is always right.
29772if test "${PATH_SEPARATOR+set}" != set; then
29773  echo "#! /bin/sh" >conf$$.sh
29774  echo  "exit 0"   >>conf$$.sh
29775  chmod +x conf$$.sh
29776  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29777    PATH_SEPARATOR=';'
29778  else
29779    PATH_SEPARATOR=:
29780  fi
29781  rm -f conf$$.sh
29782fi
29783
29784# Support unset when possible.
29785if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29786  as_unset=unset
29787else
29788  as_unset=false
29789fi
29790
29791
29792# IFS
29793# We need space, tab and new line, in precisely that order.  Quoting is
29794# there to prevent editors from complaining about space-tab.
29795# (If _AS_PATH_WALK were called with IFS unset, it would disable word
29796# splitting by setting IFS to empty value.)
29797as_nl='
29798'
29799IFS=" ""	$as_nl"
29800
29801# Find who we are.  Look in the path if we contain no directory separator.
29802case $0 in
29803  *[\\/]* ) as_myself=$0 ;;
29804  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29805for as_dir in $PATH
29806do
29807  IFS=$as_save_IFS
29808  test -z "$as_dir" && as_dir=.
29809  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29810done
29811IFS=$as_save_IFS
29812
29813     ;;
29814esac
29815# We did not find ourselves, most probably we were run as `sh COMMAND'
29816# in which case we are not to be found in the path.
29817if test "x$as_myself" = x; then
29818  as_myself=$0
29819fi
29820if test ! -f "$as_myself"; then
29821  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
29822  { (exit 1); exit 1; }
29823fi
29824
29825# Work around bugs in pre-3.0 UWIN ksh.
29826for as_var in ENV MAIL MAILPATH
29827do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
29828done
29829PS1='$ '
29830PS2='> '
29831PS4='+ '
29832
29833# NLS nuisances.
29834for as_var in \
29835  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
29836  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
29837  LC_TELEPHONE LC_TIME
29838do
29839  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
29840    eval $as_var=C; export $as_var
29841  else
29842    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
29843  fi
29844done
29845
29846# Required to use basename.
29847if expr a : '\(a\)' >/dev/null 2>&1 &&
29848   test "X`expr 00001 : '.*\(...\)'`" = X001; then
29849  as_expr=expr
29850else
29851  as_expr=false
29852fi
29853
29854if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
29855  as_basename=basename
29856else
29857  as_basename=false
29858fi
29859
29860
29861# Name of the executable.
29862as_me=`$as_basename -- "$0" ||
29863$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29864	 X"$0" : 'X\(//\)$' \| \
29865	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29866echo X/"$0" |
29867    sed '/^.*\/\([^/][^/]*\)\/*$/{
29868	    s//\1/
29869	    q
29870	  }
29871	  /^X\/\(\/\/\)$/{
29872	    s//\1/
29873	    q
29874	  }
29875	  /^X\/\(\/\).*/{
29876	    s//\1/
29877	    q
29878	  }
29879	  s/.*/./; q'`
29880
29881# CDPATH.
29882$as_unset CDPATH
29883
29884
29885
29886  as_lineno_1=$LINENO
29887  as_lineno_2=$LINENO
29888  test "x$as_lineno_1" != "x$as_lineno_2" &&
29889  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
29890
29891  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29892  # uniformly replaced by the line number.  The first 'sed' inserts a
29893  # line-number line after each line using $LINENO; the second 'sed'
29894  # does the real work.  The second script uses 'N' to pair each
29895  # line-number line with the line containing $LINENO, and appends
29896  # trailing '-' during substitution so that $LINENO is not a special
29897  # case at line end.
29898  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29899  # scripts with optimization help from Paolo Bonzini.  Blame Lee
29900  # E. McMahon (1931-1989) for sed's syntax.  :-)
29901  sed -n '
29902    p
29903    /[$]LINENO/=
29904  ' <$as_myself |
29905    sed '
29906      s/[$]LINENO.*/&-/
29907      t lineno
29908      b
29909      :lineno
29910      N
29911      :loop
29912      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
29913      t loop
29914      s/-\n.*//
29915    ' >$as_me.lineno &&
29916  chmod +x "$as_me.lineno" ||
29917    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
29918   { (exit 1); exit 1; }; }
29919
29920  # Don't try to exec as it changes $[0], causing all sort of problems
29921  # (the dirname of $[0] is not the place where we might find the
29922  # original and so on.  Autoconf is especially sensitive to this).
29923  . "./$as_me.lineno"
29924  # Exit status is that of the last command.
29925  exit
29926}
29927
29928
29929if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
29930  as_dirname=dirname
29931else
29932  as_dirname=false
29933fi
29934
29935ECHO_C= ECHO_N= ECHO_T=
29936case `echo -n x` in
29937-n*)
29938  case `echo 'x\c'` in
29939  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
29940  *)   ECHO_C='\c';;
29941  esac;;
29942*)
29943  ECHO_N='-n';;
29944esac
29945
29946if expr a : '\(a\)' >/dev/null 2>&1 &&
29947   test "X`expr 00001 : '.*\(...\)'`" = X001; then
29948  as_expr=expr
29949else
29950  as_expr=false
29951fi
29952
29953rm -f conf$$ conf$$.exe conf$$.file
29954if test -d conf$$.dir; then
29955  rm -f conf$$.dir/conf$$.file
29956else
29957  rm -f conf$$.dir
29958  mkdir conf$$.dir
29959fi
29960echo >conf$$.file
29961if ln -s conf$$.file conf$$ 2>/dev/null; then
29962  as_ln_s='ln -s'
29963  # ... but there are two gotchas:
29964  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29965  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29966  # In both cases, we have to default to `cp -p'.
29967  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29968    as_ln_s='cp -p'
29969elif ln conf$$.file conf$$ 2>/dev/null; then
29970  as_ln_s=ln
29971else
29972  as_ln_s='cp -p'
29973fi
29974rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
29975rmdir conf$$.dir 2>/dev/null
29976
29977if mkdir -p . 2>/dev/null; then
29978  as_mkdir_p=:
29979else
29980  test -d ./-p && rmdir ./-p
29981  as_mkdir_p=false
29982fi
29983
29984if test -x / >/dev/null 2>&1; then
29985  as_test_x='test -x'
29986else
29987  if ls -dL / >/dev/null 2>&1; then
29988    as_ls_L_option=L
29989  else
29990    as_ls_L_option=
29991  fi
29992  as_test_x='
29993    eval sh -c '\''
29994      if test -d "$1"; then
29995        test -d "$1/.";
29996      else
29997	case $1 in
29998        -*)set "./$1";;
29999	esac;
30000	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
30001	???[sx]*):;;*)false;;esac;fi
30002    '\'' sh
30003  '
30004fi
30005as_executable_p=$as_test_x
30006
30007# Sed expression to map a string onto a valid CPP name.
30008as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30009
30010# Sed expression to map a string onto a valid variable name.
30011as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30012
30013
30014exec 6>&1
30015
30016# Save the log message, to keep $[0] and so on meaningful, and to
30017# report actual input values of CONFIG_FILES etc. instead of their
30018# values after options handling.
30019ac_log="
30020This file was extended by $as_me, which was
30021generated by GNU Autoconf 2.61.  Invocation command line was
30022
30023  CONFIG_FILES    = $CONFIG_FILES
30024  CONFIG_HEADERS  = $CONFIG_HEADERS
30025  CONFIG_LINKS    = $CONFIG_LINKS
30026  CONFIG_COMMANDS = $CONFIG_COMMANDS
30027  $ $0 $@
30028
30029on `(hostname || uname -n) 2>/dev/null | sed 1q`
30030"
30031
30032_ACEOF
30033
30034cat >>$CONFIG_STATUS <<_ACEOF
30035# Files that config.status was made for.
30036config_files="$ac_config_files"
30037config_headers="$ac_config_headers"
30038config_commands="$ac_config_commands"
30039
30040_ACEOF
30041
30042cat >>$CONFIG_STATUS <<\_ACEOF
30043ac_cs_usage="\
30044\`$as_me' instantiates files from templates according to the
30045current configuration.
30046
30047Usage: $0 [OPTIONS] [FILE]...
30048
30049  -h, --help       print this help, then exit
30050  -V, --version    print version number and configuration settings, then exit
30051  -q, --quiet      do not print progress messages
30052  -d, --debug      don't remove temporary files
30053      --recheck    update $as_me by reconfiguring in the same conditions
30054  --file=FILE[:TEMPLATE]
30055		   instantiate the configuration file FILE
30056  --header=FILE[:TEMPLATE]
30057		   instantiate the configuration header FILE
30058
30059Configuration files:
30060$config_files
30061
30062Configuration headers:
30063$config_headers
30064
30065Configuration commands:
30066$config_commands
30067
30068Report bugs to <bug-autoconf@gnu.org>."
30069
30070_ACEOF
30071cat >>$CONFIG_STATUS <<_ACEOF
30072ac_cs_version="\\
30073config.status
30074configured by $0, generated by GNU Autoconf 2.61,
30075  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
30076
30077Copyright (C) 2006 Free Software Foundation, Inc.
30078This config.status script is free software; the Free Software Foundation
30079gives unlimited permission to copy, distribute and modify it."
30080
30081ac_pwd='$ac_pwd'
30082srcdir='$srcdir'
30083INSTALL='$INSTALL'
30084MKDIR_P='$MKDIR_P'
30085_ACEOF
30086
30087cat >>$CONFIG_STATUS <<\_ACEOF
30088# If no file are specified by the user, then we need to provide default
30089# value.  By we need to know if files were specified by the user.
30090ac_need_defaults=:
30091while test $# != 0
30092do
30093  case $1 in
30094  --*=*)
30095    ac_option=`expr "X$1" : 'X\([^=]*\)='`
30096    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
30097    ac_shift=:
30098    ;;
30099  *)
30100    ac_option=$1
30101    ac_optarg=$2
30102    ac_shift=shift
30103    ;;
30104  esac
30105
30106  case $ac_option in
30107  # Handling of the options.
30108  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
30109    ac_cs_recheck=: ;;
30110  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
30111    echo "$ac_cs_version"; exit ;;
30112  --debug | --debu | --deb | --de | --d | -d )
30113    debug=: ;;
30114  --file | --fil | --fi | --f )
30115    $ac_shift
30116    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
30117    ac_need_defaults=false;;
30118  --header | --heade | --head | --hea )
30119    $ac_shift
30120    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
30121    ac_need_defaults=false;;
30122  --he | --h)
30123    # Conflict between --help and --header
30124    { echo "$as_me: error: ambiguous option: $1
30125Try \`$0 --help' for more information." >&2
30126   { (exit 1); exit 1; }; };;
30127  --help | --hel | -h )
30128    echo "$ac_cs_usage"; exit ;;
30129  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
30130  | -silent | --silent | --silen | --sile | --sil | --si | --s)
30131    ac_cs_silent=: ;;
30132
30133  # This is an error.
30134  -*) { echo "$as_me: error: unrecognized option: $1
30135Try \`$0 --help' for more information." >&2
30136   { (exit 1); exit 1; }; } ;;
30137
30138  *) ac_config_targets="$ac_config_targets $1"
30139     ac_need_defaults=false ;;
30140
30141  esac
30142  shift
30143done
30144
30145ac_configure_extra_args=
30146
30147if $ac_cs_silent; then
30148  exec 6>/dev/null
30149  ac_configure_extra_args="$ac_configure_extra_args --silent"
30150fi
30151
30152_ACEOF
30153cat >>$CONFIG_STATUS <<_ACEOF
30154if \$ac_cs_recheck; then
30155  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
30156  CONFIG_SHELL=$SHELL
30157  export CONFIG_SHELL
30158  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30159fi
30160
30161_ACEOF
30162cat >>$CONFIG_STATUS <<\_ACEOF
30163exec 5>>config.log
30164{
30165  echo
30166  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30167## Running $as_me. ##
30168_ASBOX
30169  echo "$ac_log"
30170} >&5
30171
30172_ACEOF
30173cat >>$CONFIG_STATUS <<_ACEOF
30174#
30175# INIT-COMMANDS
30176#
30177AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
30178
30179_ACEOF
30180
30181cat >>$CONFIG_STATUS <<\_ACEOF
30182
30183# Handling of arguments.
30184for ac_config_target in $ac_config_targets
30185do
30186  case $ac_config_target in
30187    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
30188    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30189    "libxml2.spec") CONFIG_FILES="$CONFIG_FILES libxml2.spec:libxml.spec.in" ;;
30190    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30191    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
30192    "include/libxml/Makefile") CONFIG_FILES="$CONFIG_FILES include/libxml/Makefile" ;;
30193    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
30194    "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;;
30195    "doc/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES doc/devhelp/Makefile" ;;
30196    "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
30197    "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
30198    "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;;
30199    "xstc/Makefile") CONFIG_FILES="$CONFIG_FILES xstc/Makefile" ;;
30200    "include/libxml/xmlversion.h") CONFIG_FILES="$CONFIG_FILES include/libxml/xmlversion.h" ;;
30201    "xml2-config") CONFIG_FILES="$CONFIG_FILES xml2-config" ;;
30202    "libxml-2.0.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0.pc" ;;
30203    "libxml-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0-uninstalled.pc" ;;
30204    "python/setup.py") CONFIG_FILES="$CONFIG_FILES python/setup.py" ;;
30205
30206  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30207echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30208   { (exit 1); exit 1; }; };;
30209  esac
30210done
30211
30212
30213# If the user did not use the arguments to specify the items to instantiate,
30214# then the envvar interface is used.  Set only those that are not.
30215# We use the long form for the default assignment because of an extremely
30216# bizarre bug on SunOS 4.1.3.
30217if $ac_need_defaults; then
30218  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
30219  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
30220  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
30221fi
30222
30223# Have a temporary directory for convenience.  Make it in the build tree
30224# simply because there is no reason against having it here, and in addition,
30225# creating and moving files from /tmp can sometimes cause problems.
30226# Hook for its removal unless debugging.
30227# Note that there is a small window in which the directory will not be cleaned:
30228# after its creation but before its name has been assigned to `$tmp'.
30229$debug ||
30230{
30231  tmp=
30232  trap 'exit_status=$?
30233  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
30234' 0
30235  trap '{ (exit 1); exit 1; }' 1 2 13 15
30236}
30237# Create a (secure) tmp directory for tmp files.
30238
30239{
30240  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
30241  test -n "$tmp" && test -d "$tmp"
30242}  ||
30243{
30244  tmp=./conf$$-$RANDOM
30245  (umask 077 && mkdir "$tmp")
30246} ||
30247{
30248   echo "$me: cannot create a temporary directory in ." >&2
30249   { (exit 1); exit 1; }
30250}
30251
30252#
30253# Set up the sed scripts for CONFIG_FILES section.
30254#
30255
30256# No need to generate the scripts if there are no CONFIG_FILES.
30257# This happens for instance when ./config.status config.h
30258if test -n "$CONFIG_FILES"; then
30259
30260_ACEOF
30261
30262
30263
30264ac_delim='%!_!# '
30265for ac_last_try in false false false false false :; do
30266  cat >conf$$subs.sed <<_ACEOF
30267SHELL!$SHELL$ac_delim
30268PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
30269PACKAGE_NAME!$PACKAGE_NAME$ac_delim
30270PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
30271PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
30272PACKAGE_STRING!$PACKAGE_STRING$ac_delim
30273PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
30274exec_prefix!$exec_prefix$ac_delim
30275prefix!$prefix$ac_delim
30276program_transform_name!$program_transform_name$ac_delim
30277bindir!$bindir$ac_delim
30278sbindir!$sbindir$ac_delim
30279libexecdir!$libexecdir$ac_delim
30280datarootdir!$datarootdir$ac_delim
30281datadir!$datadir$ac_delim
30282sysconfdir!$sysconfdir$ac_delim
30283sharedstatedir!$sharedstatedir$ac_delim
30284localstatedir!$localstatedir$ac_delim
30285includedir!$includedir$ac_delim
30286oldincludedir!$oldincludedir$ac_delim
30287docdir!$docdir$ac_delim
30288infodir!$infodir$ac_delim
30289htmldir!$htmldir$ac_delim
30290dvidir!$dvidir$ac_delim
30291pdfdir!$pdfdir$ac_delim
30292psdir!$psdir$ac_delim
30293libdir!$libdir$ac_delim
30294localedir!$localedir$ac_delim
30295mandir!$mandir$ac_delim
30296DEFS!$DEFS$ac_delim
30297ECHO_C!$ECHO_C$ac_delim
30298ECHO_N!$ECHO_N$ac_delim
30299ECHO_T!$ECHO_T$ac_delim
30300LIBS!$LIBS$ac_delim
30301build_alias!$build_alias$ac_delim
30302host_alias!$host_alias$ac_delim
30303target_alias!$target_alias$ac_delim
30304build!$build$ac_delim
30305build_cpu!$build_cpu$ac_delim
30306build_vendor!$build_vendor$ac_delim
30307build_os!$build_os$ac_delim
30308host!$host$ac_delim
30309host_cpu!$host_cpu$ac_delim
30310host_vendor!$host_vendor$ac_delim
30311host_os!$host_os$ac_delim
30312LIBXML_MAJOR_VERSION!$LIBXML_MAJOR_VERSION$ac_delim
30313LIBXML_MINOR_VERSION!$LIBXML_MINOR_VERSION$ac_delim
30314LIBXML_MICRO_VERSION!$LIBXML_MICRO_VERSION$ac_delim
30315LIBXML_VERSION!$LIBXML_VERSION$ac_delim
30316LIBXML_VERSION_INFO!$LIBXML_VERSION_INFO$ac_delim
30317LIBXML_VERSION_NUMBER!$LIBXML_VERSION_NUMBER$ac_delim
30318LIBXML_VERSION_EXTRA!$LIBXML_VERSION_EXTRA$ac_delim
30319INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
30320INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
30321INSTALL_DATA!$INSTALL_DATA$ac_delim
30322am__isrc!$am__isrc$ac_delim
30323CYGPATH_W!$CYGPATH_W$ac_delim
30324PACKAGE!$PACKAGE$ac_delim
30325VERSION!$VERSION$ac_delim
30326ACLOCAL!$ACLOCAL$ac_delim
30327AUTOCONF!$AUTOCONF$ac_delim
30328AUTOMAKE!$AUTOMAKE$ac_delim
30329AUTOHEADER!$AUTOHEADER$ac_delim
30330MAKEINFO!$MAKEINFO$ac_delim
30331install_sh!$install_sh$ac_delim
30332STRIP!$STRIP$ac_delim
30333INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
30334mkdir_p!$mkdir_p$ac_delim
30335AWK!$AWK$ac_delim
30336SET_MAKE!$SET_MAKE$ac_delim
30337am__leading_dot!$am__leading_dot$ac_delim
30338AMTAR!$AMTAR$ac_delim
30339am__tar!$am__tar$ac_delim
30340am__untar!$am__untar$ac_delim
30341CC!$CC$ac_delim
30342CFLAGS!$CFLAGS$ac_delim
30343LDFLAGS!$LDFLAGS$ac_delim
30344CPPFLAGS!$CPPFLAGS$ac_delim
30345ac_ct_CC!$ac_ct_CC$ac_delim
30346EXEEXT!$EXEEXT$ac_delim
30347OBJEXT!$OBJEXT$ac_delim
30348DEPDIR!$DEPDIR$ac_delim
30349am__include!$am__include$ac_delim
30350am__quote!$am__quote$ac_delim
30351AMDEP_TRUE!$AMDEP_TRUE$ac_delim
30352AMDEP_FALSE!$AMDEP_FALSE$ac_delim
30353AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
30354CCDEPMODE!$CCDEPMODE$ac_delim
30355am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
30356am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
30357CPP!$CPP$ac_delim
30358RM!$RM$ac_delim
30359MV!$MV$ac_delim
30360TAR!$TAR$ac_delim
30361PERL!$PERL$ac_delim
30362WGET!$WGET$ac_delim
30363XMLLINT!$XMLLINT$ac_delim
30364_ACEOF
30365
30366  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30367    break
30368  elif $ac_last_try; then
30369    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30370echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30371   { (exit 1); exit 1; }; }
30372  else
30373    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30374  fi
30375done
30376
30377ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30378if test -n "$ac_eof"; then
30379  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
30380  ac_eof=`expr $ac_eof + 1`
30381fi
30382
30383cat >>$CONFIG_STATUS <<_ACEOF
30384cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
30385/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30386_ACEOF
30387sed '
30388s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30389s/^/s,@/; s/!/@,|#_!!_#|/
30390:n
30391t n
30392s/'"$ac_delim"'$/,g/; t
30393s/$/\\/; p
30394N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30395' >>$CONFIG_STATUS <conf$$subs.sed
30396rm -f conf$$subs.sed
30397cat >>$CONFIG_STATUS <<_ACEOF
30398CEOF$ac_eof
30399_ACEOF
30400
30401
30402ac_delim='%!_!# '
30403for ac_last_try in false false false false false :; do
30404  cat >conf$$subs.sed <<_ACEOF
30405XSLTPROC!$XSLTPROC$ac_delim
30406GREP!$GREP$ac_delim
30407EGREP!$EGREP$ac_delim
30408U!$U$ac_delim
30409ANSI2KNR!$ANSI2KNR$ac_delim
30410SED!$SED$ac_delim
30411LN_S!$LN_S$ac_delim
30412ECHO!$ECHO$ac_delim
30413AR!$AR$ac_delim
30414RANLIB!$RANLIB$ac_delim
30415DLLTOOL!$DLLTOOL$ac_delim
30416AS!$AS$ac_delim
30417OBJDUMP!$OBJDUMP$ac_delim
30418CXX!$CXX$ac_delim
30419CXXFLAGS!$CXXFLAGS$ac_delim
30420ac_ct_CXX!$ac_ct_CXX$ac_delim
30421CXXDEPMODE!$CXXDEPMODE$ac_delim
30422am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
30423am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
30424CXXCPP!$CXXCPP$ac_delim
30425F77!$F77$ac_delim
30426FFLAGS!$FFLAGS$ac_delim
30427ac_ct_F77!$ac_ct_F77$ac_delim
30428LIBTOOL!$LIBTOOL$ac_delim
30429HTML_DIR!$HTML_DIR$ac_delim
30430Z_CFLAGS!$Z_CFLAGS$ac_delim
30431Z_LIBS!$Z_LIBS$ac_delim
30432WITH_ZLIB!$WITH_ZLIB$ac_delim
30433PYTHON!$PYTHON$ac_delim
30434WITH_PYTHON_TRUE!$WITH_PYTHON_TRUE$ac_delim
30435WITH_PYTHON_FALSE!$WITH_PYTHON_FALSE$ac_delim
30436pythondir!$pythondir$ac_delim
30437PYTHON_SUBDIR!$PYTHON_SUBDIR$ac_delim
30438WITH_MODULES!$WITH_MODULES$ac_delim
30439MODULE_PLATFORM_LIBS!$MODULE_PLATFORM_LIBS$ac_delim
30440MODULE_EXTENSION!$MODULE_EXTENSION$ac_delim
30441TEST_MODULES!$TEST_MODULES$ac_delim
30442STATIC_BINARIES!$STATIC_BINARIES$ac_delim
30443WITH_TRIO_SOURCES_TRUE!$WITH_TRIO_SOURCES_TRUE$ac_delim
30444WITH_TRIO_SOURCES_FALSE!$WITH_TRIO_SOURCES_FALSE$ac_delim
30445WITH_TRIO!$WITH_TRIO$ac_delim
30446THREAD_LIBS!$THREAD_LIBS$ac_delim
30447BASE_THREAD_LIBS!$BASE_THREAD_LIBS$ac_delim
30448WITH_THREADS!$WITH_THREADS$ac_delim
30449THREAD_CFLAGS!$THREAD_CFLAGS$ac_delim
30450TEST_THREADS!$TEST_THREADS$ac_delim
30451THREADS_W32!$THREADS_W32$ac_delim
30452WITH_TREE!$WITH_TREE$ac_delim
30453WITH_FTP!$WITH_FTP$ac_delim
30454FTP_OBJ!$FTP_OBJ$ac_delim
30455WITH_HTTP!$WITH_HTTP$ac_delim
30456HTTP_OBJ!$HTTP_OBJ$ac_delim
30457WITH_LEGACY!$WITH_LEGACY$ac_delim
30458WITH_READER!$WITH_READER$ac_delim
30459READER_TEST!$READER_TEST$ac_delim
30460WITH_WRITER!$WITH_WRITER$ac_delim
30461WITH_PATTERN!$WITH_PATTERN$ac_delim
30462TEST_PATTERN!$TEST_PATTERN$ac_delim
30463WITH_SAX1!$WITH_SAX1$ac_delim
30464TEST_SAX!$TEST_SAX$ac_delim
30465WITH_PUSH!$WITH_PUSH$ac_delim
30466TEST_PUSH!$TEST_PUSH$ac_delim
30467WITH_HTML!$WITH_HTML$ac_delim
30468HTML_OBJ!$HTML_OBJ$ac_delim
30469TEST_HTML!$TEST_HTML$ac_delim
30470TEST_PHTML!$TEST_PHTML$ac_delim
30471WITH_VALID!$WITH_VALID$ac_delim
30472TEST_VALID!$TEST_VALID$ac_delim
30473TEST_VTIME!$TEST_VTIME$ac_delim
30474WITH_CATALOG!$WITH_CATALOG$ac_delim
30475CATALOG_OBJ!$CATALOG_OBJ$ac_delim
30476TEST_CATALOG!$TEST_CATALOG$ac_delim
30477WITH_DOCB!$WITH_DOCB$ac_delim
30478DOCB_OBJ!$DOCB_OBJ$ac_delim
30479WITH_XPTR!$WITH_XPTR$ac_delim
30480XPTR_OBJ!$XPTR_OBJ$ac_delim
30481TEST_XPTR!$TEST_XPTR$ac_delim
30482WITH_C14N!$WITH_C14N$ac_delim
30483C14N_OBJ!$C14N_OBJ$ac_delim
30484TEST_C14N!$TEST_C14N$ac_delim
30485WITH_XINCLUDE!$WITH_XINCLUDE$ac_delim
30486XINCLUDE_OBJ!$XINCLUDE_OBJ$ac_delim
30487TEST_XINCLUDE!$TEST_XINCLUDE$ac_delim
30488WITH_XPATH!$WITH_XPATH$ac_delim
30489XPATH_OBJ!$XPATH_OBJ$ac_delim
30490TEST_XPATH!$TEST_XPATH$ac_delim
30491WITH_OUTPUT!$WITH_OUTPUT$ac_delim
30492WITH_ICONV!$WITH_ICONV$ac_delim
30493WITH_ISO8859X!$WITH_ISO8859X$ac_delim
30494WITH_SCHEMATRON!$WITH_SCHEMATRON$ac_delim
30495TEST_SCHEMATRON!$TEST_SCHEMATRON$ac_delim
30496WITH_SCHEMAS!$WITH_SCHEMAS$ac_delim
30497TEST_SCHEMAS!$TEST_SCHEMAS$ac_delim
30498WITH_REGEXPS!$WITH_REGEXPS$ac_delim
30499TEST_REGEXPS!$TEST_REGEXPS$ac_delim
30500WITH_DEBUG!$WITH_DEBUG$ac_delim
30501DEBUG_OBJ!$DEBUG_OBJ$ac_delim
30502_ACEOF
30503
30504  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30505    break
30506  elif $ac_last_try; then
30507    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30508echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30509   { (exit 1); exit 1; }; }
30510  else
30511    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30512  fi
30513done
30514
30515ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30516if test -n "$ac_eof"; then
30517  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
30518  ac_eof=`expr $ac_eof + 1`
30519fi
30520
30521cat >>$CONFIG_STATUS <<_ACEOF
30522cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
30523/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30524_ACEOF
30525sed '
30526s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30527s/^/s,@/; s/!/@,|#_!!_#|/
30528:n
30529t n
30530s/'"$ac_delim"'$/,g/; t
30531s/$/\\/; p
30532N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30533' >>$CONFIG_STATUS <conf$$subs.sed
30534rm -f conf$$subs.sed
30535cat >>$CONFIG_STATUS <<_ACEOF
30536CEOF$ac_eof
30537_ACEOF
30538
30539
30540ac_delim='%!_!# '
30541for ac_last_try in false false false false false :; do
30542  cat >conf$$subs.sed <<_ACEOF
30543TEST_DEBUG!$TEST_DEBUG$ac_delim
30544WITH_MEM_DEBUG!$WITH_MEM_DEBUG$ac_delim
30545WITH_RUN_DEBUG!$WITH_RUN_DEBUG$ac_delim
30546WIN32_EXTRA_LIBADD!$WIN32_EXTRA_LIBADD$ac_delim
30547WIN32_EXTRA_LDFLAGS!$WIN32_EXTRA_LDFLAGS$ac_delim
30548CYGWIN_EXTRA_LDFLAGS!$CYGWIN_EXTRA_LDFLAGS$ac_delim
30549CYGWIN_EXTRA_PYTHON_LIBADD!$CYGWIN_EXTRA_PYTHON_LIBADD$ac_delim
30550XML_CFLAGS!$XML_CFLAGS$ac_delim
30551XML_LIBDIR!$XML_LIBDIR$ac_delim
30552XML_LIBS!$XML_LIBS$ac_delim
30553XML_LIBTOOLLIBS!$XML_LIBTOOLLIBS$ac_delim
30554ICONV_LIBS!$ICONV_LIBS$ac_delim
30555XML_INCLUDEDIR!$XML_INCLUDEDIR$ac_delim
30556HAVE_ISNAN!$HAVE_ISNAN$ac_delim
30557HAVE_ISINF!$HAVE_ISINF$ac_delim
30558PYTHON_VERSION!$PYTHON_VERSION$ac_delim
30559PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim
30560PYTHON_SITE_PACKAGES!$PYTHON_SITE_PACKAGES$ac_delim
30561M_LIBS!$M_LIBS$ac_delim
30562RDL_LIBS!$RDL_LIBS$ac_delim
30563RELDATE!$RELDATE$ac_delim
30564PYTHON_TESTS!$PYTHON_TESTS$ac_delim
30565LIBOBJS!$LIBOBJS$ac_delim
30566LTLIBOBJS!$LTLIBOBJS$ac_delim
30567_ACEOF
30568
30569  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
30570    break
30571  elif $ac_last_try; then
30572    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30573echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30574   { (exit 1); exit 1; }; }
30575  else
30576    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30577  fi
30578done
30579
30580ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30581if test -n "$ac_eof"; then
30582  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
30583  ac_eof=`expr $ac_eof + 1`
30584fi
30585
30586cat >>$CONFIG_STATUS <<_ACEOF
30587cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
30588/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
30589_ACEOF
30590sed '
30591s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30592s/^/s,@/; s/!/@,|#_!!_#|/
30593:n
30594t n
30595s/'"$ac_delim"'$/,g/; t
30596s/$/\\/; p
30597N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30598' >>$CONFIG_STATUS <conf$$subs.sed
30599rm -f conf$$subs.sed
30600cat >>$CONFIG_STATUS <<_ACEOF
30601:end
30602s/|#_!!_#|//g
30603CEOF$ac_eof
30604_ACEOF
30605
30606
30607# VPATH may cause trouble with some makes, so we remove $(srcdir),
30608# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
30609# trailing colons and then remove the whole line if VPATH becomes empty
30610# (actually we leave an empty line to preserve line numbers).
30611if test "x$srcdir" = x.; then
30612  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
30613s/:*\$(srcdir):*/:/
30614s/:*\${srcdir}:*/:/
30615s/:*@srcdir@:*/:/
30616s/^\([^=]*=[	 ]*\):*/\1/
30617s/:*$//
30618s/^[^=]*=[	 ]*$//
30619}'
30620fi
30621
30622cat >>$CONFIG_STATUS <<\_ACEOF
30623fi # test -n "$CONFIG_FILES"
30624
30625
30626for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
30627do
30628  case $ac_tag in
30629  :[FHLC]) ac_mode=$ac_tag; continue;;
30630  esac
30631  case $ac_mode$ac_tag in
30632  :[FHL]*:*);;
30633  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
30634echo "$as_me: error: Invalid tag $ac_tag." >&2;}
30635   { (exit 1); exit 1; }; };;
30636  :[FH]-) ac_tag=-:-;;
30637  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
30638  esac
30639  ac_save_IFS=$IFS
30640  IFS=:
30641  set x $ac_tag
30642  IFS=$ac_save_IFS
30643  shift
30644  ac_file=$1
30645  shift
30646
30647  case $ac_mode in
30648  :L) ac_source=$1;;
30649  :[FH])
30650    ac_file_inputs=
30651    for ac_f
30652    do
30653      case $ac_f in
30654      -) ac_f="$tmp/stdin";;
30655      *) # Look for the file first in the build tree, then in the source tree
30656	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
30657	 # because $ac_f cannot contain `:'.
30658	 test -f "$ac_f" ||
30659	   case $ac_f in
30660	   [\\/$]*) false;;
30661	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
30662	   esac ||
30663	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
30664echo "$as_me: error: cannot find input file: $ac_f" >&2;}
30665   { (exit 1); exit 1; }; };;
30666      esac
30667      ac_file_inputs="$ac_file_inputs $ac_f"
30668    done
30669
30670    # Let's still pretend it is `configure' which instantiates (i.e., don't
30671    # use $as_me), people would be surprised to read:
30672    #    /* config.h.  Generated by config.status.  */
30673    configure_input="Generated from "`IFS=:
30674	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
30675    if test x"$ac_file" != x-; then
30676      configure_input="$ac_file.  $configure_input"
30677      { echo "$as_me:$LINENO: creating $ac_file" >&5
30678echo "$as_me: creating $ac_file" >&6;}
30679    fi
30680
30681    case $ac_tag in
30682    *:-:* | *:-) cat >"$tmp/stdin";;
30683    esac
30684    ;;
30685  esac
30686
30687  ac_dir=`$as_dirname -- "$ac_file" ||
30688$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30689	 X"$ac_file" : 'X\(//\)[^/]' \| \
30690	 X"$ac_file" : 'X\(//\)$' \| \
30691	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
30692echo X"$ac_file" |
30693    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30694	    s//\1/
30695	    q
30696	  }
30697	  /^X\(\/\/\)[^/].*/{
30698	    s//\1/
30699	    q
30700	  }
30701	  /^X\(\/\/\)$/{
30702	    s//\1/
30703	    q
30704	  }
30705	  /^X\(\/\).*/{
30706	    s//\1/
30707	    q
30708	  }
30709	  s/.*/./; q'`
30710  { as_dir="$ac_dir"
30711  case $as_dir in #(
30712  -*) as_dir=./$as_dir;;
30713  esac
30714  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30715    as_dirs=
30716    while :; do
30717      case $as_dir in #(
30718      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30719      *) as_qdir=$as_dir;;
30720      esac
30721      as_dirs="'$as_qdir' $as_dirs"
30722      as_dir=`$as_dirname -- "$as_dir" ||
30723$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30724	 X"$as_dir" : 'X\(//\)[^/]' \| \
30725	 X"$as_dir" : 'X\(//\)$' \| \
30726	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30727echo X"$as_dir" |
30728    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30729	    s//\1/
30730	    q
30731	  }
30732	  /^X\(\/\/\)[^/].*/{
30733	    s//\1/
30734	    q
30735	  }
30736	  /^X\(\/\/\)$/{
30737	    s//\1/
30738	    q
30739	  }
30740	  /^X\(\/\).*/{
30741	    s//\1/
30742	    q
30743	  }
30744	  s/.*/./; q'`
30745      test -d "$as_dir" && break
30746    done
30747    test -z "$as_dirs" || eval "mkdir $as_dirs"
30748  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30749echo "$as_me: error: cannot create directory $as_dir" >&2;}
30750   { (exit 1); exit 1; }; }; }
30751  ac_builddir=.
30752
30753case "$ac_dir" in
30754.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
30755*)
30756  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30757  # A ".." for each directory in $ac_dir_suffix.
30758  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
30759  case $ac_top_builddir_sub in
30760  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
30761  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
30762  esac ;;
30763esac
30764ac_abs_top_builddir=$ac_pwd
30765ac_abs_builddir=$ac_pwd$ac_dir_suffix
30766# for backward compatibility:
30767ac_top_builddir=$ac_top_build_prefix
30768
30769case $srcdir in
30770  .)  # We are building in place.
30771    ac_srcdir=.
30772    ac_top_srcdir=$ac_top_builddir_sub
30773    ac_abs_top_srcdir=$ac_pwd ;;
30774  [\\/]* | ?:[\\/]* )  # Absolute name.
30775    ac_srcdir=$srcdir$ac_dir_suffix;
30776    ac_top_srcdir=$srcdir
30777    ac_abs_top_srcdir=$srcdir ;;
30778  *) # Relative name.
30779    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
30780    ac_top_srcdir=$ac_top_build_prefix$srcdir
30781    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
30782esac
30783ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
30784
30785
30786  case $ac_mode in
30787  :F)
30788  #
30789  # CONFIG_FILE
30790  #
30791
30792  case $INSTALL in
30793  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
30794  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
30795  esac
30796  ac_MKDIR_P=$MKDIR_P
30797  case $MKDIR_P in
30798  [\\/$]* | ?:[\\/]* ) ;;
30799  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
30800  esac
30801_ACEOF
30802
30803cat >>$CONFIG_STATUS <<\_ACEOF
30804# If the template does not know about datarootdir, expand it.
30805# FIXME: This hack should be removed a few years after 2.60.
30806ac_datarootdir_hack=; ac_datarootdir_seen=
30807
30808case `sed -n '/datarootdir/ {
30809  p
30810  q
30811}
30812/@datadir@/p
30813/@docdir@/p
30814/@infodir@/p
30815/@localedir@/p
30816/@mandir@/p
30817' $ac_file_inputs` in
30818*datarootdir*) ac_datarootdir_seen=yes;;
30819*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
30820  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30821echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30822_ACEOF
30823cat >>$CONFIG_STATUS <<_ACEOF
30824  ac_datarootdir_hack='
30825  s&@datadir@&$datadir&g
30826  s&@docdir@&$docdir&g
30827  s&@infodir@&$infodir&g
30828  s&@localedir@&$localedir&g
30829  s&@mandir@&$mandir&g
30830    s&\\\${datarootdir}&$datarootdir&g' ;;
30831esac
30832_ACEOF
30833
30834# Neutralize VPATH when `$srcdir' = `.'.
30835# Shell code in configure.ac might set extrasub.
30836# FIXME: do we really want to maintain this feature?
30837cat >>$CONFIG_STATUS <<_ACEOF
30838  sed "$ac_vpsub
30839$extrasub
30840_ACEOF
30841cat >>$CONFIG_STATUS <<\_ACEOF
30842:t
30843/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30844s&@configure_input@&$configure_input&;t t
30845s&@top_builddir@&$ac_top_builddir_sub&;t t
30846s&@srcdir@&$ac_srcdir&;t t
30847s&@abs_srcdir@&$ac_abs_srcdir&;t t
30848s&@top_srcdir@&$ac_top_srcdir&;t t
30849s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
30850s&@builddir@&$ac_builddir&;t t
30851s&@abs_builddir@&$ac_abs_builddir&;t t
30852s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
30853s&@INSTALL@&$ac_INSTALL&;t t
30854s&@MKDIR_P@&$ac_MKDIR_P&;t t
30855$ac_datarootdir_hack
30856" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
30857
30858test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30859  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
30860  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
30861  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30862which seems to be undefined.  Please make sure it is defined." >&5
30863echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30864which seems to be undefined.  Please make sure it is defined." >&2;}
30865
30866  rm -f "$tmp/stdin"
30867  case $ac_file in
30868  -) cat "$tmp/out"; rm -f "$tmp/out";;
30869  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
30870  esac
30871 ;;
30872  :H)
30873  #
30874  # CONFIG_HEADER
30875  #
30876_ACEOF
30877
30878# Transform confdefs.h into a sed script `conftest.defines', that
30879# substitutes the proper values into config.h.in to produce config.h.
30880rm -f conftest.defines conftest.tail
30881# First, append a space to every undef/define line, to ease matching.
30882echo 's/$/ /' >conftest.defines
30883# Then, protect against being on the right side of a sed subst, or in
30884# an unquoted here document, in config.status.  If some macros were
30885# called several times there might be several #defines for the same
30886# symbol, which is useless.  But do not sort them, since the last
30887# AC_DEFINE must be honored.
30888ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
30889# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
30890# NAME is the cpp macro being defined, VALUE is the value it is being given.
30891# PARAMS is the parameter list in the macro definition--in most cases, it's
30892# just an empty string.
30893ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
30894ac_dB='\\)[	 (].*,\\1define\\2'
30895ac_dC=' '
30896ac_dD=' ,'
30897
30898uniq confdefs.h |
30899  sed -n '
30900	t rset
30901	:rset
30902	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
30903	t ok
30904	d
30905	:ok
30906	s/[\\&,]/\\&/g
30907	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
30908	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
30909  ' >>conftest.defines
30910
30911# Remove the space that was appended to ease matching.
30912# Then replace #undef with comments.  This is necessary, for
30913# example, in the case of _POSIX_SOURCE, which is predefined and required
30914# on some systems where configure will not decide to define it.
30915# (The regexp can be short, since the line contains either #define or #undef.)
30916echo 's/ $//
30917s,^[	 #]*u.*,/* & */,' >>conftest.defines
30918
30919# Break up conftest.defines:
30920ac_max_sed_lines=50
30921
30922# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
30923# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
30924# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
30925# et cetera.
30926ac_in='$ac_file_inputs'
30927ac_out='"$tmp/out1"'
30928ac_nxt='"$tmp/out2"'
30929
30930while :
30931do
30932  # Write a here document:
30933    cat >>$CONFIG_STATUS <<_ACEOF
30934    # First, check the format of the line:
30935    cat >"\$tmp/defines.sed" <<\\CEOF
30936/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
30937/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
30938b
30939:def
30940_ACEOF
30941  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
30942  echo 'CEOF
30943    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
30944  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
30945  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
30946  grep . conftest.tail >/dev/null || break
30947  rm -f conftest.defines
30948  mv conftest.tail conftest.defines
30949done
30950rm -f conftest.defines conftest.tail
30951
30952echo "ac_result=$ac_in" >>$CONFIG_STATUS
30953cat >>$CONFIG_STATUS <<\_ACEOF
30954  if test x"$ac_file" != x-; then
30955    echo "/* $configure_input  */" >"$tmp/config.h"
30956    cat "$ac_result" >>"$tmp/config.h"
30957    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
30958      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30959echo "$as_me: $ac_file is unchanged" >&6;}
30960    else
30961      rm -f $ac_file
30962      mv "$tmp/config.h" $ac_file
30963    fi
30964  else
30965    echo "/* $configure_input  */"
30966    cat "$ac_result"
30967  fi
30968  rm -f "$tmp/out12"
30969# Compute $ac_file's index in $config_headers.
30970_am_arg=$ac_file
30971_am_stamp_count=1
30972for _am_header in $config_headers :; do
30973  case $_am_header in
30974    $_am_arg | $_am_arg:* )
30975      break ;;
30976    * )
30977      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
30978  esac
30979done
30980echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
30981$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30982	 X"$_am_arg" : 'X\(//\)[^/]' \| \
30983	 X"$_am_arg" : 'X\(//\)$' \| \
30984	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
30985echo X"$_am_arg" |
30986    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30987	    s//\1/
30988	    q
30989	  }
30990	  /^X\(\/\/\)[^/].*/{
30991	    s//\1/
30992	    q
30993	  }
30994	  /^X\(\/\/\)$/{
30995	    s//\1/
30996	    q
30997	  }
30998	  /^X\(\/\).*/{
30999	    s//\1/
31000	    q
31001	  }
31002	  s/.*/./; q'`/stamp-h$_am_stamp_count
31003 ;;
31004
31005  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
31006echo "$as_me: executing $ac_file commands" >&6;}
31007 ;;
31008  esac
31009
31010
31011  case $ac_file$ac_mode in
31012    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
31013  # Strip MF so we end up with the name of the file.
31014  mf=`echo "$mf" | sed -e 's/:.*$//'`
31015  # Check whether this is an Automake generated Makefile or not.
31016  # We used to match only the files named `Makefile.in', but
31017  # some people rename them; so instead we look at the file content.
31018  # Grep'ing the first line is not enough: some people post-process
31019  # each Makefile.in and add a new line on top of each file to say so.
31020  # Grep'ing the whole file is not good either: AIX grep has a line
31021  # limit of 2048, but all sed's we know have understand at least 4000.
31022  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
31023    dirpart=`$as_dirname -- "$mf" ||
31024$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31025	 X"$mf" : 'X\(//\)[^/]' \| \
31026	 X"$mf" : 'X\(//\)$' \| \
31027	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
31028echo X"$mf" |
31029    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31030	    s//\1/
31031	    q
31032	  }
31033	  /^X\(\/\/\)[^/].*/{
31034	    s//\1/
31035	    q
31036	  }
31037	  /^X\(\/\/\)$/{
31038	    s//\1/
31039	    q
31040	  }
31041	  /^X\(\/\).*/{
31042	    s//\1/
31043	    q
31044	  }
31045	  s/.*/./; q'`
31046  else
31047    continue
31048  fi
31049  # Extract the definition of DEPDIR, am__include, and am__quote
31050  # from the Makefile without running `make'.
31051  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
31052  test -z "$DEPDIR" && continue
31053  am__include=`sed -n 's/^am__include = //p' < "$mf"`
31054  test -z "am__include" && continue
31055  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
31056  # When using ansi2knr, U may be empty or an underscore; expand it
31057  U=`sed -n 's/^U = //p' < "$mf"`
31058  # Find all dependency output files, they are included files with
31059  # $(DEPDIR) in their names.  We invoke sed twice because it is the
31060  # simplest approach to changing $(DEPDIR) to its actual value in the
31061  # expansion.
31062  for file in `sed -n "
31063    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
31064       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
31065    # Make sure the directory exists.
31066    test -f "$dirpart/$file" && continue
31067    fdir=`$as_dirname -- "$file" ||
31068$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31069	 X"$file" : 'X\(//\)[^/]' \| \
31070	 X"$file" : 'X\(//\)$' \| \
31071	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
31072echo X"$file" |
31073    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31074	    s//\1/
31075	    q
31076	  }
31077	  /^X\(\/\/\)[^/].*/{
31078	    s//\1/
31079	    q
31080	  }
31081	  /^X\(\/\/\)$/{
31082	    s//\1/
31083	    q
31084	  }
31085	  /^X\(\/\).*/{
31086	    s//\1/
31087	    q
31088	  }
31089	  s/.*/./; q'`
31090    { as_dir=$dirpart/$fdir
31091  case $as_dir in #(
31092  -*) as_dir=./$as_dir;;
31093  esac
31094  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
31095    as_dirs=
31096    while :; do
31097      case $as_dir in #(
31098      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
31099      *) as_qdir=$as_dir;;
31100      esac
31101      as_dirs="'$as_qdir' $as_dirs"
31102      as_dir=`$as_dirname -- "$as_dir" ||
31103$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31104	 X"$as_dir" : 'X\(//\)[^/]' \| \
31105	 X"$as_dir" : 'X\(//\)$' \| \
31106	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31107echo X"$as_dir" |
31108    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31109	    s//\1/
31110	    q
31111	  }
31112	  /^X\(\/\/\)[^/].*/{
31113	    s//\1/
31114	    q
31115	  }
31116	  /^X\(\/\/\)$/{
31117	    s//\1/
31118	    q
31119	  }
31120	  /^X\(\/\).*/{
31121	    s//\1/
31122	    q
31123	  }
31124	  s/.*/./; q'`
31125      test -d "$as_dir" && break
31126    done
31127    test -z "$as_dirs" || eval "mkdir $as_dirs"
31128  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
31129echo "$as_me: error: cannot create directory $as_dir" >&2;}
31130   { (exit 1); exit 1; }; }; }
31131    # echo "creating $dirpart/$file"
31132    echo '# dummy' > "$dirpart/$file"
31133  done
31134done
31135 ;;
31136
31137  esac
31138done # for ac_tag
31139
31140
31141{ (exit 0); exit 0; }
31142_ACEOF
31143chmod +x $CONFIG_STATUS
31144ac_clean_files=$ac_clean_files_save
31145
31146
31147# configure is writing to config.log, and then calls config.status.
31148# config.status does its own redirection, appending to config.log.
31149# Unfortunately, on DOS this fails, as config.log is still kept open
31150# by configure, so config.status won't be able to write to it; its
31151# output is simply discarded.  So we exec the FD to /dev/null,
31152# effectively closing config.log, so it can be properly (re)opened and
31153# appended to by config.status.  When coming back to configure, we
31154# need to make the FD available again.
31155if test "$no_create" != yes; then
31156  ac_cs_success=:
31157  ac_config_status_args=
31158  test "$silent" = yes &&
31159    ac_config_status_args="$ac_config_status_args --quiet"
31160  exec 5>/dev/null
31161  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
31162  exec 5>>config.log
31163  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31164  # would make configure fail if this is the last instruction.
31165  $ac_cs_success || { (exit 1); exit 1; }
31166fi
31167
31168
31169chmod +x xml2-config python/setup.py
31170echo Done configuring
31171