1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59.
4#
5# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ##
9## M4sh Initialization.  ##
10## --------------------- ##
11
12# Be Bourne compatible
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14  emulate sh
15  NULLCMD=:
16  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17  # is contrary to our usage.  Disable this feature.
18  alias -g '${1+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20  set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26  as_unset=unset
27else
28  as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42  LC_TELEPHONE LC_TIME
43do
44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45    eval $as_var=C; export $as_var
46  else
47    $as_unset $as_var
48  fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53  as_expr=expr
54else
55  as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59  as_basename=basename
60else
61  as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68	 X"$0" : 'X\(//\)$' \| \
69	 X"$0" : 'X\(/\)$' \| \
70	 .     : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
74  	  /^X\/\(\/\).*/{ s//\1/; q; }
75  	  s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if test "${PATH_SEPARATOR+set}" != set; then
88  echo "#! /bin/sh" >conf$$.sh
89  echo  "exit 0"   >>conf$$.sh
90  chmod +x conf$$.sh
91  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92    PATH_SEPARATOR=';'
93  else
94    PATH_SEPARATOR=:
95  fi
96  rm -f conf$$.sh
97fi
98
99
100  as_lineno_1=$LINENO
101  as_lineno_2=$LINENO
102  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103  test "x$as_lineno_1" != "x$as_lineno_2" &&
104  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105  # Find who we are.  Look in the path if we contain no path at all
106  # relative or not.
107  case $0 in
108    *[\\/]* ) as_myself=$0 ;;
109    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112  IFS=$as_save_IFS
113  test -z "$as_dir" && as_dir=.
114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117       ;;
118  esac
119  # We did not find ourselves, most probably we were run as `sh COMMAND'
120  # in which case we are not to be found in the path.
121  if test "x$as_myself" = x; then
122    as_myself=$0
123  fi
124  if test ! -f "$as_myself"; then
125    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126   { (exit 1); exit 1; }; }
127  fi
128  case $CONFIG_SHELL in
129  '')
130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133  IFS=$as_save_IFS
134  test -z "$as_dir" && as_dir=.
135  for as_base in sh bash ksh sh5; do
136	 case $as_dir in
137	 /*)
138	   if ("$as_dir/$as_base" -c '
139  as_lineno_1=$LINENO
140  as_lineno_2=$LINENO
141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142  test "x$as_lineno_1" != "x$as_lineno_2" &&
143  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146	     CONFIG_SHELL=$as_dir/$as_base
147	     export CONFIG_SHELL
148	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149	   fi;;
150	 esac
151       done
152done
153;;
154  esac
155
156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157  # uniformly replaced by the line number.  The first 'sed' inserts a
158  # line-number line before each line; the second 'sed' does the real
159  # work.  The second script uses 'N' to pair each line-number line
160  # with the numbered line, and appends trailing '-' during
161  # substitution so that $LINENO is not a special case at line end.
162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164  sed '=' <$as_myself |
165    sed '
166      N
167      s,$,-,
168      : loop
169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170      t loop
171      s,-$,,
172      s,^['$as_cr_digits']*\n,,
173    ' >$as_me.lineno &&
174  chmod +x $as_me.lineno ||
175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176   { (exit 1); exit 1; }; }
177
178  # Don't try to exec as it changes $[0], causing all sort of problems
179  # (the dirname of $[0] is not the place where we might find the
180  # original and so on.  Autoconf is especially sensible to this).
181  . ./$as_me.lineno
182  # Exit status is that of the last command.
183  exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188  *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T='	' ;;
190  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195  as_expr=expr
196else
197  as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if ln -s conf$$.file conf$$ 2>/dev/null; then
203  # We could just check for DJGPP; but this test a) works b) is more generic
204  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205  if test -f conf$$.exe; then
206    # Don't use ln at all; we don't have any links
207    as_ln_s='cp -p'
208  else
209    as_ln_s='ln -s'
210  fi
211elif ln conf$$.file conf$$ 2>/dev/null; then
212  as_ln_s=ln
213else
214  as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219  as_mkdir_p=:
220else
221  test -d ./-p && rmdir ./-p
222  as_mkdir_p=false
223fi
224
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230# Sed expression to map a string onto a valid variable name.
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS=" 	$as_nl"
239
240# CDPATH.
241$as_unset CDPATH
242
243
244
245# Check that we are running under the correct shell.
246SHELL=${CONFIG_SHELL-/bin/sh}
247
248case X$lt_ECHO in
249X*--fallback-echo)
250  # Remove one level of quotation (which was required for Make).
251  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252  ;;
253esac
254
255ECHO=${lt_ECHO-echo}
256if test "X$1" = X--no-reexec; then
257  # Discard the --no-reexec flag, and continue.
258  shift
259elif test "X$1" = X--fallback-echo; then
260  # Avoid inline document here, it may be left over
261  :
262elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263  # Yippee, $ECHO works!
264  :
265else
266  # Restart under the correct shell.
267  exec $SHELL "$0" --no-reexec ${1+"$@"}
268fi
269
270if test "X$1" = X--fallback-echo; then
271  # used as fallback echo
272  shift
273  cat <<_LT_EOF
274$*
275_LT_EOF
276  exit 0
277fi
278
279# The HP-UX ksh and POSIX shell print the target directory to stdout
280# if CDPATH is set.
281(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
283if test -z "$lt_ECHO"; then
284  if test "X${echo_test_string+set}" != Xset; then
285    # find a string as large as possible, as long as the shell can cope with it
286    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290      then
291        break
292      fi
293    done
294  fi
295
296  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298     test "X$echo_testing_string" = "X$echo_test_string"; then
299    :
300  else
301    # The Solaris, AIX, and Digital Unix default echo programs unquote
302    # backslashes.  This makes it impossible to quote backslashes using
303    #   echo "$something" | sed 's/\\/\\\\/g'
304    #
305    # So, first we look for a working echo in the user's PATH.
306
307    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308    for dir in $PATH /usr/ucb; do
309      IFS="$lt_save_ifs"
310      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313         test "X$echo_testing_string" = "X$echo_test_string"; then
314        ECHO="$dir/echo"
315        break
316      fi
317    done
318    IFS="$lt_save_ifs"
319
320    if test "X$ECHO" = Xecho; then
321      # We didn't find a better echo, so look for alternatives.
322      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324         test "X$echo_testing_string" = "X$echo_test_string"; then
325        # This shell has a builtin print -r that does the trick.
326        ECHO='print -r'
327      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328	   test "X$CONFIG_SHELL" != X/bin/ksh; then
329        # If we have ksh, try running configure again with it.
330        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331        export ORIGINAL_CONFIG_SHELL
332        CONFIG_SHELL=/bin/ksh
333        export CONFIG_SHELL
334        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335      else
336        # Try using printf.
337        ECHO='printf %s\n'
338        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340	   test "X$echo_testing_string" = "X$echo_test_string"; then
341	  # Cool, printf works
342	  :
343        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344	     test "X$echo_testing_string" = 'X\t' &&
345	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346	     test "X$echo_testing_string" = "X$echo_test_string"; then
347	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348	  export CONFIG_SHELL
349	  SHELL="$CONFIG_SHELL"
350	  export SHELL
351	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
352        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353	     test "X$echo_testing_string" = 'X\t' &&
354	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355	     test "X$echo_testing_string" = "X$echo_test_string"; then
356	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
357        else
358	  # maybe with a smaller string...
359	  prev=:
360
361	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363	    then
364	      break
365	    fi
366	    prev="$cmd"
367	  done
368
369	  if test "$prev" != 'sed 50q "$0"'; then
370	    echo_test_string=`eval $prev`
371	    export echo_test_string
372	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373	  else
374	    # Oops.  We lost completely, so just stick with echo.
375	    ECHO=echo
376	  fi
377        fi
378      fi
379    fi
380  fi
381fi
382
383# Copy echo and quote the copy suitably for passing to libtool from
384# the Makefile, instead of quoting the original, which is used later.
385lt_ECHO=$ECHO
386if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388fi
389
390
391
392
393# Name of the host.
394# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395# so uname gets run too.
396ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
397
398exec 6>&1
399
400#
401# Initializations.
402#
403ac_default_prefix=/usr/local
404ac_config_libobj_dir=.
405cross_compiling=no
406subdirs=
407MFLAGS=
408MAKEFLAGS=
409SHELL=${CONFIG_SHELL-/bin/sh}
410
411# Maximum number of lines to put in a shell here document.
412# This variable seems obsolete.  It should probably be removed, and
413# only ac_max_sed_lines should be used.
414: ${ac_max_here_lines=38}
415
416# Identity of this package.
417PACKAGE_NAME=
418PACKAGE_TARNAME=
419PACKAGE_VERSION=
420PACKAGE_STRING=
421PACKAGE_BUGREPORT=
422
423ac_unique_file="gprof.c"
424# Factoring default headers for most tests.
425ac_includes_default="\
426#include <stdio.h>
427#if HAVE_SYS_TYPES_H
428# include <sys/types.h>
429#endif
430#if HAVE_SYS_STAT_H
431# include <sys/stat.h>
432#endif
433#if STDC_HEADERS
434# include <stdlib.h>
435# include <stddef.h>
436#else
437# if HAVE_STDLIB_H
438#  include <stdlib.h>
439# endif
440#endif
441#if HAVE_STRING_H
442# if !STDC_HEADERS && HAVE_MEMORY_H
443#  include <memory.h>
444# endif
445# include <string.h>
446#endif
447#if HAVE_STRINGS_H
448# include <strings.h>
449#endif
450#if HAVE_INTTYPES_H
451# include <inttypes.h>
452#else
453# if HAVE_STDINT_H
454#  include <stdint.h>
455# endif
456#endif
457#if HAVE_UNISTD_H
458# include <unistd.h>
459#endif"
460
461ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE WARN_CFLAGS NO_WERROR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
462ac_subst_files=''
463ac_pwd=`pwd`
464
465# Initialize some variables set by options.
466ac_init_help=
467ac_init_version=false
468# The variables have the same names as the options, with
469# dashes changed to underlines.
470cache_file=/dev/null
471exec_prefix=NONE
472no_create=
473no_recursion=
474prefix=NONE
475program_prefix=NONE
476program_suffix=NONE
477program_transform_name=s,x,x,
478silent=
479site=
480srcdir=
481verbose=
482x_includes=NONE
483x_libraries=NONE
484
485# Installation directory options.
486# These are left unexpanded so users can "make install exec_prefix=/foo"
487# and all the variables that are supposed to be based on exec_prefix
488# by default will actually change.
489# Use braces instead of parens because sh, perl, etc. also accept them.
490bindir='${exec_prefix}/bin'
491sbindir='${exec_prefix}/sbin'
492libexecdir='${exec_prefix}/libexec'
493datadir='${prefix}/share'
494sysconfdir='${prefix}/etc'
495sharedstatedir='${prefix}/com'
496localstatedir='${prefix}/var'
497libdir='${exec_prefix}/lib'
498includedir='${prefix}/include'
499oldincludedir='/usr/include'
500infodir='${prefix}/info'
501mandir='${prefix}/man'
502
503ac_prev=
504for ac_option
505do
506  # If the previous option needs an argument, assign it.
507  if test -n "$ac_prev"; then
508    eval "$ac_prev=\$ac_option"
509    ac_prev=
510    continue
511  fi
512
513  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514
515  # Accept the important Cygnus configure options, so we can diagnose typos.
516
517  case $ac_option in
518
519  -bindir | --bindir | --bindi | --bind | --bin | --bi)
520    ac_prev=bindir ;;
521  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
522    bindir=$ac_optarg ;;
523
524  -build | --build | --buil | --bui | --bu)
525    ac_prev=build_alias ;;
526  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527    build_alias=$ac_optarg ;;
528
529  -cache-file | --cache-file | --cache-fil | --cache-fi \
530  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531    ac_prev=cache_file ;;
532  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534    cache_file=$ac_optarg ;;
535
536  --config-cache | -C)
537    cache_file=config.cache ;;
538
539  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540    ac_prev=datadir ;;
541  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542  | --da=*)
543    datadir=$ac_optarg ;;
544
545  -disable-* | --disable-*)
546    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547    # Reject names that are not valid shell variable names.
548    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550   { (exit 1); exit 1; }; }
551    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552    eval "enable_$ac_feature=no" ;;
553
554  -enable-* | --enable-*)
555    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556    # Reject names that are not valid shell variable names.
557    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559   { (exit 1); exit 1; }; }
560    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561    case $ac_option in
562      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563      *) ac_optarg=yes ;;
564    esac
565    eval "enable_$ac_feature='$ac_optarg'" ;;
566
567  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569  | --exec | --exe | --ex)
570    ac_prev=exec_prefix ;;
571  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573  | --exec=* | --exe=* | --ex=*)
574    exec_prefix=$ac_optarg ;;
575
576  -gas | --gas | --ga | --g)
577    # Obsolete; use --with-gas.
578    with_gas=yes ;;
579
580  -help | --help | --hel | --he | -h)
581    ac_init_help=long ;;
582  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583    ac_init_help=recursive ;;
584  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585    ac_init_help=short ;;
586
587  -host | --host | --hos | --ho)
588    ac_prev=host_alias ;;
589  -host=* | --host=* | --hos=* | --ho=*)
590    host_alias=$ac_optarg ;;
591
592  -includedir | --includedir | --includedi | --included | --include \
593  | --includ | --inclu | --incl | --inc)
594    ac_prev=includedir ;;
595  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596  | --includ=* | --inclu=* | --incl=* | --inc=*)
597    includedir=$ac_optarg ;;
598
599  -infodir | --infodir | --infodi | --infod | --info | --inf)
600    ac_prev=infodir ;;
601  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602    infodir=$ac_optarg ;;
603
604  -libdir | --libdir | --libdi | --libd)
605    ac_prev=libdir ;;
606  -libdir=* | --libdir=* | --libdi=* | --libd=*)
607    libdir=$ac_optarg ;;
608
609  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610  | --libexe | --libex | --libe)
611    ac_prev=libexecdir ;;
612  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613  | --libexe=* | --libex=* | --libe=*)
614    libexecdir=$ac_optarg ;;
615
616  -localstatedir | --localstatedir | --localstatedi | --localstated \
617  | --localstate | --localstat | --localsta | --localst \
618  | --locals | --local | --loca | --loc | --lo)
619    ac_prev=localstatedir ;;
620  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623    localstatedir=$ac_optarg ;;
624
625  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626    ac_prev=mandir ;;
627  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
628    mandir=$ac_optarg ;;
629
630  -nfp | --nfp | --nf)
631    # Obsolete; use --without-fp.
632    with_fp=no ;;
633
634  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635  | --no-cr | --no-c | -n)
636    no_create=yes ;;
637
638  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
640    no_recursion=yes ;;
641
642  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644  | --oldin | --oldi | --old | --ol | --o)
645    ac_prev=oldincludedir ;;
646  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649    oldincludedir=$ac_optarg ;;
650
651  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652    ac_prev=prefix ;;
653  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
654    prefix=$ac_optarg ;;
655
656  -program-prefix | --program-prefix | --program-prefi | --program-pref \
657  | --program-pre | --program-pr | --program-p)
658    ac_prev=program_prefix ;;
659  -program-prefix=* | --program-prefix=* | --program-prefi=* \
660  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661    program_prefix=$ac_optarg ;;
662
663  -program-suffix | --program-suffix | --program-suffi | --program-suff \
664  | --program-suf | --program-su | --program-s)
665    ac_prev=program_suffix ;;
666  -program-suffix=* | --program-suffix=* | --program-suffi=* \
667  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668    program_suffix=$ac_optarg ;;
669
670  -program-transform-name | --program-transform-name \
671  | --program-transform-nam | --program-transform-na \
672  | --program-transform-n | --program-transform- \
673  | --program-transform | --program-transfor \
674  | --program-transfo | --program-transf \
675  | --program-trans | --program-tran \
676  | --progr-tra | --program-tr | --program-t)
677    ac_prev=program_transform_name ;;
678  -program-transform-name=* | --program-transform-name=* \
679  | --program-transform-nam=* | --program-transform-na=* \
680  | --program-transform-n=* | --program-transform-=* \
681  | --program-transform=* | --program-transfor=* \
682  | --program-transfo=* | --program-transf=* \
683  | --program-trans=* | --program-tran=* \
684  | --progr-tra=* | --program-tr=* | --program-t=*)
685    program_transform_name=$ac_optarg ;;
686
687  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688  | -silent | --silent | --silen | --sile | --sil)
689    silent=yes ;;
690
691  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692    ac_prev=sbindir ;;
693  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694  | --sbi=* | --sb=*)
695    sbindir=$ac_optarg ;;
696
697  -sharedstatedir | --sharedstatedir | --sharedstatedi \
698  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699  | --sharedst | --shareds | --shared | --share | --shar \
700  | --sha | --sh)
701    ac_prev=sharedstatedir ;;
702  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705  | --sha=* | --sh=*)
706    sharedstatedir=$ac_optarg ;;
707
708  -site | --site | --sit)
709    ac_prev=site ;;
710  -site=* | --site=* | --sit=*)
711    site=$ac_optarg ;;
712
713  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714    ac_prev=srcdir ;;
715  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
716    srcdir=$ac_optarg ;;
717
718  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719  | --syscon | --sysco | --sysc | --sys | --sy)
720    ac_prev=sysconfdir ;;
721  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723    sysconfdir=$ac_optarg ;;
724
725  -target | --target | --targe | --targ | --tar | --ta | --t)
726    ac_prev=target_alias ;;
727  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728    target_alias=$ac_optarg ;;
729
730  -v | -verbose | --verbose | --verbos | --verbo | --verb)
731    verbose=yes ;;
732
733  -version | --version | --versio | --versi | --vers | -V)
734    ac_init_version=: ;;
735
736  -with-* | --with-*)
737    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738    # Reject names that are not valid shell variable names.
739    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740      { echo "$as_me: error: invalid package name: $ac_package" >&2
741   { (exit 1); exit 1; }; }
742    ac_package=`echo $ac_package| sed 's/-/_/g'`
743    case $ac_option in
744      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
745      *) ac_optarg=yes ;;
746    esac
747    eval "with_$ac_package='$ac_optarg'" ;;
748
749  -without-* | --without-*)
750    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751    # Reject names that are not valid shell variable names.
752    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753      { echo "$as_me: error: invalid package name: $ac_package" >&2
754   { (exit 1); exit 1; }; }
755    ac_package=`echo $ac_package | sed 's/-/_/g'`
756    eval "with_$ac_package=no" ;;
757
758  --x)
759    # Obsolete; use --with-x.
760    with_x=yes ;;
761
762  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763  | --x-incl | --x-inc | --x-in | --x-i)
764    ac_prev=x_includes ;;
765  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767    x_includes=$ac_optarg ;;
768
769  -x-libraries | --x-libraries | --x-librarie | --x-librari \
770  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771    ac_prev=x_libraries ;;
772  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774    x_libraries=$ac_optarg ;;
775
776  -*) { echo "$as_me: error: unrecognized option: $ac_option
777Try \`$0 --help' for more information." >&2
778   { (exit 1); exit 1; }; }
779    ;;
780
781  *=*)
782    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783    # Reject names that are not valid shell variable names.
784    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786   { (exit 1); exit 1; }; }
787    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788    eval "$ac_envvar='$ac_optarg'"
789    export $ac_envvar ;;
790
791  *)
792    # FIXME: should be removed in autoconf 3.0.
793    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
797    ;;
798
799  esac
800done
801
802if test -n "$ac_prev"; then
803  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804  { echo "$as_me: error: missing argument to $ac_option" >&2
805   { (exit 1); exit 1; }; }
806fi
807
808# Be sure to have absolute paths.
809for ac_var in exec_prefix prefix
810do
811  eval ac_val=$`echo $ac_var`
812  case $ac_val in
813    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815   { (exit 1); exit 1; }; };;
816  esac
817done
818
819# Be sure to have absolute paths.
820for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821	      localstatedir libdir includedir oldincludedir infodir mandir
822do
823  eval ac_val=$`echo $ac_var`
824  case $ac_val in
825    [\\/$]* | ?:[\\/]* ) ;;
826    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827   { (exit 1); exit 1; }; };;
828  esac
829done
830
831# There might be people who depend on the old broken behavior: `$host'
832# used to hold the argument of --host etc.
833# FIXME: To remove some day.
834build=$build_alias
835host=$host_alias
836target=$target_alias
837
838# FIXME: To remove some day.
839if test "x$host_alias" != x; then
840  if test "x$build_alias" = x; then
841    cross_compiling=maybe
842    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843    If a cross compiler is detected then cross compile mode will be used." >&2
844  elif test "x$build_alias" != "x$host_alias"; then
845    cross_compiling=yes
846  fi
847fi
848
849ac_tool_prefix=
850test -n "$host_alias" && ac_tool_prefix=$host_alias-
851
852test "$silent" = yes && exec 6>/dev/null
853
854
855# Find the source files, if location was not specified.
856if test -z "$srcdir"; then
857  ac_srcdir_defaulted=yes
858  # Try the directory containing this script, then its parent.
859  ac_confdir=`(dirname "$0") 2>/dev/null ||
860$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861	 X"$0" : 'X\(//\)[^/]' \| \
862	 X"$0" : 'X\(//\)$' \| \
863	 X"$0" : 'X\(/\)' \| \
864	 .     : '\(.\)' 2>/dev/null ||
865echo X"$0" |
866    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868  	  /^X\(\/\/\)$/{ s//\1/; q; }
869  	  /^X\(\/\).*/{ s//\1/; q; }
870  	  s/.*/./; q'`
871  srcdir=$ac_confdir
872  if test ! -r $srcdir/$ac_unique_file; then
873    srcdir=..
874  fi
875else
876  ac_srcdir_defaulted=no
877fi
878if test ! -r $srcdir/$ac_unique_file; then
879  if test "$ac_srcdir_defaulted" = yes; then
880    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881   { (exit 1); exit 1; }; }
882  else
883    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884   { (exit 1); exit 1; }; }
885  fi
886fi
887(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889   { (exit 1); exit 1; }; }
890srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891ac_env_build_alias_set=${build_alias+set}
892ac_env_build_alias_value=$build_alias
893ac_cv_env_build_alias_set=${build_alias+set}
894ac_cv_env_build_alias_value=$build_alias
895ac_env_host_alias_set=${host_alias+set}
896ac_env_host_alias_value=$host_alias
897ac_cv_env_host_alias_set=${host_alias+set}
898ac_cv_env_host_alias_value=$host_alias
899ac_env_target_alias_set=${target_alias+set}
900ac_env_target_alias_value=$target_alias
901ac_cv_env_target_alias_set=${target_alias+set}
902ac_cv_env_target_alias_value=$target_alias
903ac_env_CC_set=${CC+set}
904ac_env_CC_value=$CC
905ac_cv_env_CC_set=${CC+set}
906ac_cv_env_CC_value=$CC
907ac_env_CFLAGS_set=${CFLAGS+set}
908ac_env_CFLAGS_value=$CFLAGS
909ac_cv_env_CFLAGS_set=${CFLAGS+set}
910ac_cv_env_CFLAGS_value=$CFLAGS
911ac_env_LDFLAGS_set=${LDFLAGS+set}
912ac_env_LDFLAGS_value=$LDFLAGS
913ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
914ac_cv_env_LDFLAGS_value=$LDFLAGS
915ac_env_CPPFLAGS_set=${CPPFLAGS+set}
916ac_env_CPPFLAGS_value=$CPPFLAGS
917ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
918ac_cv_env_CPPFLAGS_value=$CPPFLAGS
919ac_env_CPP_set=${CPP+set}
920ac_env_CPP_value=$CPP
921ac_cv_env_CPP_set=${CPP+set}
922ac_cv_env_CPP_value=$CPP
923
924#
925# Report the --help message.
926#
927if test "$ac_init_help" = "long"; then
928  # Omit some internal or obsolete options to make the list less imposing.
929  # This message is too long to be a string in the A/UX 3.1 sh.
930  cat <<_ACEOF
931\`configure' configures this package to adapt to many kinds of systems.
932
933Usage: $0 [OPTION]... [VAR=VALUE]...
934
935To assign environment variables (e.g., CC, CFLAGS...), specify them as
936VAR=VALUE.  See below for descriptions of some of the useful variables.
937
938Defaults for the options are specified in brackets.
939
940Configuration:
941  -h, --help              display this help and exit
942      --help=short        display options specific to this package
943      --help=recursive    display the short help of all the included packages
944  -V, --version           display version information and exit
945  -q, --quiet, --silent   do not print \`checking...' messages
946      --cache-file=FILE   cache test results in FILE [disabled]
947  -C, --config-cache      alias for \`--cache-file=config.cache'
948  -n, --no-create         do not create output files
949      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
950
951_ACEOF
952
953  cat <<_ACEOF
954Installation directories:
955  --prefix=PREFIX         install architecture-independent files in PREFIX
956			  [$ac_default_prefix]
957  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
958			  [PREFIX]
959
960By default, \`make install' will install all the files in
961\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
962an installation prefix other than \`$ac_default_prefix' using \`--prefix',
963for instance \`--prefix=\$HOME'.
964
965For better control, use the options below.
966
967Fine tuning of the installation directories:
968  --bindir=DIR           user executables [EPREFIX/bin]
969  --sbindir=DIR          system admin executables [EPREFIX/sbin]
970  --libexecdir=DIR       program executables [EPREFIX/libexec]
971  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
972  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
973  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
974  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
975  --libdir=DIR           object code libraries [EPREFIX/lib]
976  --includedir=DIR       C header files [PREFIX/include]
977  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
978  --infodir=DIR          info documentation [PREFIX/info]
979  --mandir=DIR           man documentation [PREFIX/man]
980_ACEOF
981
982  cat <<\_ACEOF
983
984Program names:
985  --program-prefix=PREFIX            prepend PREFIX to installed program names
986  --program-suffix=SUFFIX            append SUFFIX to installed program names
987  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
988
989System types:
990  --build=BUILD     configure for building on BUILD [guessed]
991  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
992  --target=TARGET   configure for building compilers for TARGET [HOST]
993_ACEOF
994fi
995
996if test -n "$ac_init_help"; then
997
998  cat <<\_ACEOF
999
1000Optional Features:
1001  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1002  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1003  --disable-dependency-tracking  speeds up one-time build
1004  --enable-dependency-tracking   do not reject slow dependency extractors
1005  --enable-shared[=PKGS]
1006                          build shared libraries [default=yes]
1007  --enable-static[=PKGS]
1008                          build static libraries [default=yes]
1009  --enable-fast-install[=PKGS]
1010                          optimize for fast installation [default=yes]
1011  --disable-libtool-lock  avoid locking (might break parallel builds)
1012  --disable-nls           do not use Native Language Support
1013  --enable-maintainer-mode  enable make rules and dependencies not useful
1014			  (and sometimes confusing) to the casual installer
1015  --enable-werror         treat compile warnings as errors
1016  --enable-build-warnings enable build-time compiler warnings
1017
1018Optional Packages:
1019  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1020  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1021  --with-pic              try to use only PIC/non-PIC objects [default=use
1022                          both]
1023  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1024
1025Some influential environment variables:
1026  CC          C compiler command
1027  CFLAGS      C compiler flags
1028  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1029              nonstandard directory <lib dir>
1030  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1031              headers in a nonstandard directory <include dir>
1032  CPP         C preprocessor
1033
1034Use these variables to override the choices made by `configure' or to help
1035it to find libraries and programs with nonstandard names/locations.
1036
1037_ACEOF
1038fi
1039
1040if test "$ac_init_help" = "recursive"; then
1041  # If there are subdirs, report their specific --help.
1042  ac_popdir=`pwd`
1043  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1044    test -d $ac_dir || continue
1045    ac_builddir=.
1046
1047if test "$ac_dir" != .; then
1048  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1049  # A "../" for each directory in $ac_dir_suffix.
1050  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1051else
1052  ac_dir_suffix= ac_top_builddir=
1053fi
1054
1055case $srcdir in
1056  .)  # No --srcdir option.  We are building in place.
1057    ac_srcdir=.
1058    if test -z "$ac_top_builddir"; then
1059       ac_top_srcdir=.
1060    else
1061       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1062    fi ;;
1063  [\\/]* | ?:[\\/]* )  # Absolute path.
1064    ac_srcdir=$srcdir$ac_dir_suffix;
1065    ac_top_srcdir=$srcdir ;;
1066  *) # Relative path.
1067    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1068    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1069esac
1070
1071# Do not use `cd foo && pwd` to compute absolute paths, because
1072# the directories may not exist.
1073case `pwd` in
1074.) ac_abs_builddir="$ac_dir";;
1075*)
1076  case "$ac_dir" in
1077  .) ac_abs_builddir=`pwd`;;
1078  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1079  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1080  esac;;
1081esac
1082case $ac_abs_builddir in
1083.) ac_abs_top_builddir=${ac_top_builddir}.;;
1084*)
1085  case ${ac_top_builddir}. in
1086  .) ac_abs_top_builddir=$ac_abs_builddir;;
1087  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1088  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1089  esac;;
1090esac
1091case $ac_abs_builddir in
1092.) ac_abs_srcdir=$ac_srcdir;;
1093*)
1094  case $ac_srcdir in
1095  .) ac_abs_srcdir=$ac_abs_builddir;;
1096  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1097  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1098  esac;;
1099esac
1100case $ac_abs_builddir in
1101.) ac_abs_top_srcdir=$ac_top_srcdir;;
1102*)
1103  case $ac_top_srcdir in
1104  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1105  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1106  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1107  esac;;
1108esac
1109
1110    cd $ac_dir
1111    # Check for guested configure; otherwise get Cygnus style configure.
1112    if test -f $ac_srcdir/configure.gnu; then
1113      echo
1114      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1115    elif test -f $ac_srcdir/configure; then
1116      echo
1117      $SHELL $ac_srcdir/configure  --help=recursive
1118    elif test -f $ac_srcdir/configure.ac ||
1119	   test -f $ac_srcdir/configure.in; then
1120      echo
1121      $ac_configure --help
1122    else
1123      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1124    fi
1125    cd $ac_popdir
1126  done
1127fi
1128
1129test -n "$ac_init_help" && exit 0
1130if $ac_init_version; then
1131  cat <<\_ACEOF
1132
1133Copyright (C) 2003 Free Software Foundation, Inc.
1134This configure script is free software; the Free Software Foundation
1135gives unlimited permission to copy, distribute and modify it.
1136_ACEOF
1137  exit 0
1138fi
1139exec 5>config.log
1140cat >&5 <<_ACEOF
1141This file contains any messages produced by compilers while
1142running configure, to aid debugging if configure makes a mistake.
1143
1144It was created by $as_me, which was
1145generated by GNU Autoconf 2.59.  Invocation command line was
1146
1147  $ $0 $@
1148
1149_ACEOF
1150{
1151cat <<_ASUNAME
1152## --------- ##
1153## Platform. ##
1154## --------- ##
1155
1156hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1157uname -m = `(uname -m) 2>/dev/null || echo unknown`
1158uname -r = `(uname -r) 2>/dev/null || echo unknown`
1159uname -s = `(uname -s) 2>/dev/null || echo unknown`
1160uname -v = `(uname -v) 2>/dev/null || echo unknown`
1161
1162/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1163/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1164
1165/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1166/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1167/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1168hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1169/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1170/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1171/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1172
1173_ASUNAME
1174
1175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1176for as_dir in $PATH
1177do
1178  IFS=$as_save_IFS
1179  test -z "$as_dir" && as_dir=.
1180  echo "PATH: $as_dir"
1181done
1182
1183} >&5
1184
1185cat >&5 <<_ACEOF
1186
1187
1188## ----------- ##
1189## Core tests. ##
1190## ----------- ##
1191
1192_ACEOF
1193
1194
1195# Keep a trace of the command line.
1196# Strip out --no-create and --no-recursion so they do not pile up.
1197# Strip out --silent because we don't want to record it for future runs.
1198# Also quote any args containing shell meta-characters.
1199# Make two passes to allow for proper duplicate-argument suppression.
1200ac_configure_args=
1201ac_configure_args0=
1202ac_configure_args1=
1203ac_sep=
1204ac_must_keep_next=false
1205for ac_pass in 1 2
1206do
1207  for ac_arg
1208  do
1209    case $ac_arg in
1210    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1211    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1212    | -silent | --silent | --silen | --sile | --sil)
1213      continue ;;
1214    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1215      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1216    esac
1217    case $ac_pass in
1218    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1219    2)
1220      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1221      if test $ac_must_keep_next = true; then
1222	ac_must_keep_next=false # Got value, back to normal.
1223      else
1224	case $ac_arg in
1225	  *=* | --config-cache | -C | -disable-* | --disable-* \
1226	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1227	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1228	  | -with-* | --with-* | -without-* | --without-* | --x)
1229	    case "$ac_configure_args0 " in
1230	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1231	    esac
1232	    ;;
1233	  -* ) ac_must_keep_next=true ;;
1234	esac
1235      fi
1236      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1237      # Get rid of the leading space.
1238      ac_sep=" "
1239      ;;
1240    esac
1241  done
1242done
1243$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1244$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1245
1246# When interrupted or exit'd, cleanup temporary files, and complete
1247# config.log.  We remove comments because anyway the quotes in there
1248# would cause problems or look ugly.
1249# WARNING: Be sure not to use single quotes in there, as some shells,
1250# such as our DU 5.0 friend, will then `close' the trap.
1251trap 'exit_status=$?
1252  # Save into config.log some information that might help in debugging.
1253  {
1254    echo
1255
1256    cat <<\_ASBOX
1257## ---------------- ##
1258## Cache variables. ##
1259## ---------------- ##
1260_ASBOX
1261    echo
1262    # The following way of writing the cache mishandles newlines in values,
1263{
1264  (set) 2>&1 |
1265    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1266    *ac_space=\ *)
1267      sed -n \
1268	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1269	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1270      ;;
1271    *)
1272      sed -n \
1273	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1274      ;;
1275    esac;
1276}
1277    echo
1278
1279    cat <<\_ASBOX
1280## ----------------- ##
1281## Output variables. ##
1282## ----------------- ##
1283_ASBOX
1284    echo
1285    for ac_var in $ac_subst_vars
1286    do
1287      eval ac_val=$`echo $ac_var`
1288      echo "$ac_var='"'"'$ac_val'"'"'"
1289    done | sort
1290    echo
1291
1292    if test -n "$ac_subst_files"; then
1293      cat <<\_ASBOX
1294## ------------- ##
1295## Output files. ##
1296## ------------- ##
1297_ASBOX
1298      echo
1299      for ac_var in $ac_subst_files
1300      do
1301	eval ac_val=$`echo $ac_var`
1302	echo "$ac_var='"'"'$ac_val'"'"'"
1303      done | sort
1304      echo
1305    fi
1306
1307    if test -s confdefs.h; then
1308      cat <<\_ASBOX
1309## ----------- ##
1310## confdefs.h. ##
1311## ----------- ##
1312_ASBOX
1313      echo
1314      sed "/^$/d" confdefs.h | sort
1315      echo
1316    fi
1317    test "$ac_signal" != 0 &&
1318      echo "$as_me: caught signal $ac_signal"
1319    echo "$as_me: exit $exit_status"
1320  } >&5
1321  rm -f core *.core &&
1322  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1323    exit $exit_status
1324     ' 0
1325for ac_signal in 1 2 13 15; do
1326  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1327done
1328ac_signal=0
1329
1330# confdefs.h avoids OS command line length limits that DEFS can exceed.
1331rm -rf conftest* confdefs.h
1332# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1333echo >confdefs.h
1334
1335# Predefined preprocessor variables.
1336
1337cat >>confdefs.h <<_ACEOF
1338#define PACKAGE_NAME "$PACKAGE_NAME"
1339_ACEOF
1340
1341
1342cat >>confdefs.h <<_ACEOF
1343#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1344_ACEOF
1345
1346
1347cat >>confdefs.h <<_ACEOF
1348#define PACKAGE_VERSION "$PACKAGE_VERSION"
1349_ACEOF
1350
1351
1352cat >>confdefs.h <<_ACEOF
1353#define PACKAGE_STRING "$PACKAGE_STRING"
1354_ACEOF
1355
1356
1357cat >>confdefs.h <<_ACEOF
1358#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1359_ACEOF
1360
1361
1362# Let the site file select an alternate cache file if it wants to.
1363# Prefer explicitly selected file to automatically selected ones.
1364if test -z "$CONFIG_SITE"; then
1365  if test "x$prefix" != xNONE; then
1366    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1367  else
1368    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1369  fi
1370fi
1371for ac_site_file in $CONFIG_SITE; do
1372  if test -r "$ac_site_file"; then
1373    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1374echo "$as_me: loading site script $ac_site_file" >&6;}
1375    sed 's/^/| /' "$ac_site_file" >&5
1376    . "$ac_site_file"
1377  fi
1378done
1379
1380if test -r "$cache_file"; then
1381  # Some versions of bash will fail to source /dev/null (special
1382  # files actually), so we avoid doing that.
1383  if test -f "$cache_file"; then
1384    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1385echo "$as_me: loading cache $cache_file" >&6;}
1386    case $cache_file in
1387      [\\/]* | ?:[\\/]* ) . $cache_file;;
1388      *)                      . ./$cache_file;;
1389    esac
1390  fi
1391else
1392  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1393echo "$as_me: creating cache $cache_file" >&6;}
1394  >$cache_file
1395fi
1396
1397# Check that the precious variables saved in the cache have kept the same
1398# value.
1399ac_cache_corrupted=false
1400for ac_var in `(set) 2>&1 |
1401	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1402  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1403  eval ac_new_set=\$ac_env_${ac_var}_set
1404  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1405  eval ac_new_val="\$ac_env_${ac_var}_value"
1406  case $ac_old_set,$ac_new_set in
1407    set,)
1408      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1409echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1410      ac_cache_corrupted=: ;;
1411    ,set)
1412      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1413echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1414      ac_cache_corrupted=: ;;
1415    ,);;
1416    *)
1417      if test "x$ac_old_val" != "x$ac_new_val"; then
1418        # differences in whitespace do not lead to failure.
1419        ac_old_val_w=`echo x $ac_old_val`
1420        ac_new_val_w=`echo x $ac_new_val`
1421        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1422          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1423echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1424          ac_cache_corrupted=:
1425        else
1426          { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1427echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1428          eval $ac_var=\$ac_old_val
1429        fi
1430        { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1431echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1432        { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1433echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1434      fi;;
1435  esac
1436  # Pass precious variables to config.status.
1437  if test "$ac_new_set" = set; then
1438    case $ac_new_val in
1439    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1440      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1441    *) ac_arg=$ac_var=$ac_new_val ;;
1442    esac
1443    case " $ac_configure_args " in
1444      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1445      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1446    esac
1447  fi
1448done
1449if $ac_cache_corrupted; then
1450  { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1451echo "$as_me: error: in \`$ac_pwd':" >&2;}
1452  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1453echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1454  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1455echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1456   { (exit 1); exit 1; }; }
1457fi
1458
1459ac_ext=c
1460ac_cpp='$CPP $CPPFLAGS'
1461ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1462ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1463ac_compiler_gnu=$ac_cv_c_compiler_gnu
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488ac_aux_dir=
1489for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1490  if test -f $ac_dir/install-sh; then
1491    ac_aux_dir=$ac_dir
1492    ac_install_sh="$ac_aux_dir/install-sh -c"
1493    break
1494  elif test -f $ac_dir/install.sh; then
1495    ac_aux_dir=$ac_dir
1496    ac_install_sh="$ac_aux_dir/install.sh -c"
1497    break
1498  elif test -f $ac_dir/shtool; then
1499    ac_aux_dir=$ac_dir
1500    ac_install_sh="$ac_aux_dir/shtool install -c"
1501    break
1502  fi
1503done
1504if test -z "$ac_aux_dir"; then
1505  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1506echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1507   { (exit 1); exit 1; }; }
1508fi
1509ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512
1513# Make sure we can run config.sub.
1514$ac_config_sub sun4 >/dev/null 2>&1 ||
1515  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1516echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1517   { (exit 1); exit 1; }; }
1518
1519echo "$as_me:$LINENO: checking build system type" >&5
1520echo $ECHO_N "checking build system type... $ECHO_C" >&6
1521if test "${ac_cv_build+set}" = set; then
1522  echo $ECHO_N "(cached) $ECHO_C" >&6
1523else
1524  ac_cv_build_alias=$build_alias
1525test -z "$ac_cv_build_alias" &&
1526  ac_cv_build_alias=`$ac_config_guess`
1527test -z "$ac_cv_build_alias" &&
1528  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1529echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1530   { (exit 1); exit 1; }; }
1531ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1532  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1533echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1534   { (exit 1); exit 1; }; }
1535
1536fi
1537echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1538echo "${ECHO_T}$ac_cv_build" >&6
1539build=$ac_cv_build
1540build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1541build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1542build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1543
1544
1545echo "$as_me:$LINENO: checking host system type" >&5
1546echo $ECHO_N "checking host system type... $ECHO_C" >&6
1547if test "${ac_cv_host+set}" = set; then
1548  echo $ECHO_N "(cached) $ECHO_C" >&6
1549else
1550  ac_cv_host_alias=$host_alias
1551test -z "$ac_cv_host_alias" &&
1552  ac_cv_host_alias=$ac_cv_build_alias
1553ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1554  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1555echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1556   { (exit 1); exit 1; }; }
1557
1558fi
1559echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1560echo "${ECHO_T}$ac_cv_host" >&6
1561host=$ac_cv_host
1562host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1563host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1564host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1565
1566
1567echo "$as_me:$LINENO: checking target system type" >&5
1568echo $ECHO_N "checking target system type... $ECHO_C" >&6
1569if test "${ac_cv_target+set}" = set; then
1570  echo $ECHO_N "(cached) $ECHO_C" >&6
1571else
1572  ac_cv_target_alias=$target_alias
1573test "x$ac_cv_target_alias" = "x" &&
1574  ac_cv_target_alias=$ac_cv_host_alias
1575ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1576  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1577echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1578   { (exit 1); exit 1; }; }
1579
1580fi
1581echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1582echo "${ECHO_T}$ac_cv_target" >&6
1583target=$ac_cv_target
1584target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1587
1588
1589# The aliases save the names the user supplied, while $host etc.
1590# will get canonicalized.
1591test -n "$target_alias" &&
1592  test "$program_prefix$program_suffix$program_transform_name" = \
1593    NONENONEs,x,x, &&
1594  program_prefix=${target_alias}-
1595ac_ext=c
1596ac_cpp='$CPP $CPPFLAGS'
1597ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1598ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1599ac_compiler_gnu=$ac_cv_c_compiler_gnu
1600if test -n "$ac_tool_prefix"; then
1601  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1602set dummy ${ac_tool_prefix}gcc; ac_word=$2
1603echo "$as_me:$LINENO: checking for $ac_word" >&5
1604echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1605if test "${ac_cv_prog_CC+set}" = set; then
1606  echo $ECHO_N "(cached) $ECHO_C" >&6
1607else
1608  if test -n "$CC"; then
1609  ac_cv_prog_CC="$CC" # Let the user override the test.
1610else
1611as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1612for as_dir in $PATH
1613do
1614  IFS=$as_save_IFS
1615  test -z "$as_dir" && as_dir=.
1616  for ac_exec_ext in '' $ac_executable_extensions; do
1617  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1618    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1619    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1620    break 2
1621  fi
1622done
1623done
1624
1625fi
1626fi
1627CC=$ac_cv_prog_CC
1628if test -n "$CC"; then
1629  echo "$as_me:$LINENO: result: $CC" >&5
1630echo "${ECHO_T}$CC" >&6
1631else
1632  echo "$as_me:$LINENO: result: no" >&5
1633echo "${ECHO_T}no" >&6
1634fi
1635
1636fi
1637if test -z "$ac_cv_prog_CC"; then
1638  ac_ct_CC=$CC
1639  # Extract the first word of "gcc", so it can be a program name with args.
1640set dummy gcc; ac_word=$2
1641echo "$as_me:$LINENO: checking for $ac_word" >&5
1642echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1643if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1644  echo $ECHO_N "(cached) $ECHO_C" >&6
1645else
1646  if test -n "$ac_ct_CC"; then
1647  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1648else
1649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1650for as_dir in $PATH
1651do
1652  IFS=$as_save_IFS
1653  test -z "$as_dir" && as_dir=.
1654  for ac_exec_ext in '' $ac_executable_extensions; do
1655  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1656    ac_cv_prog_ac_ct_CC="gcc"
1657    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1658    break 2
1659  fi
1660done
1661done
1662
1663fi
1664fi
1665ac_ct_CC=$ac_cv_prog_ac_ct_CC
1666if test -n "$ac_ct_CC"; then
1667  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1668echo "${ECHO_T}$ac_ct_CC" >&6
1669else
1670  echo "$as_me:$LINENO: result: no" >&5
1671echo "${ECHO_T}no" >&6
1672fi
1673
1674  CC=$ac_ct_CC
1675else
1676  CC="$ac_cv_prog_CC"
1677fi
1678
1679if test -z "$CC"; then
1680  if test -n "$ac_tool_prefix"; then
1681  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1682set dummy ${ac_tool_prefix}cc; ac_word=$2
1683echo "$as_me:$LINENO: checking for $ac_word" >&5
1684echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1685if test "${ac_cv_prog_CC+set}" = set; then
1686  echo $ECHO_N "(cached) $ECHO_C" >&6
1687else
1688  if test -n "$CC"; then
1689  ac_cv_prog_CC="$CC" # Let the user override the test.
1690else
1691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692for as_dir in $PATH
1693do
1694  IFS=$as_save_IFS
1695  test -z "$as_dir" && as_dir=.
1696  for ac_exec_ext in '' $ac_executable_extensions; do
1697  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1698    ac_cv_prog_CC="${ac_tool_prefix}cc"
1699    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1700    break 2
1701  fi
1702done
1703done
1704
1705fi
1706fi
1707CC=$ac_cv_prog_CC
1708if test -n "$CC"; then
1709  echo "$as_me:$LINENO: result: $CC" >&5
1710echo "${ECHO_T}$CC" >&6
1711else
1712  echo "$as_me:$LINENO: result: no" >&5
1713echo "${ECHO_T}no" >&6
1714fi
1715
1716fi
1717if test -z "$ac_cv_prog_CC"; then
1718  ac_ct_CC=$CC
1719  # Extract the first word of "cc", so it can be a program name with args.
1720set dummy cc; ac_word=$2
1721echo "$as_me:$LINENO: checking for $ac_word" >&5
1722echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1723if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1724  echo $ECHO_N "(cached) $ECHO_C" >&6
1725else
1726  if test -n "$ac_ct_CC"; then
1727  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1728else
1729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1730for as_dir in $PATH
1731do
1732  IFS=$as_save_IFS
1733  test -z "$as_dir" && as_dir=.
1734  for ac_exec_ext in '' $ac_executable_extensions; do
1735  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1736    ac_cv_prog_ac_ct_CC="cc"
1737    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1738    break 2
1739  fi
1740done
1741done
1742
1743fi
1744fi
1745ac_ct_CC=$ac_cv_prog_ac_ct_CC
1746if test -n "$ac_ct_CC"; then
1747  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1748echo "${ECHO_T}$ac_ct_CC" >&6
1749else
1750  echo "$as_me:$LINENO: result: no" >&5
1751echo "${ECHO_T}no" >&6
1752fi
1753
1754  CC=$ac_ct_CC
1755else
1756  CC="$ac_cv_prog_CC"
1757fi
1758
1759fi
1760if test -z "$CC"; then
1761  # Extract the first word of "cc", so it can be a program name with args.
1762set dummy cc; ac_word=$2
1763echo "$as_me:$LINENO: checking for $ac_word" >&5
1764echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1765if test "${ac_cv_prog_CC+set}" = set; then
1766  echo $ECHO_N "(cached) $ECHO_C" >&6
1767else
1768  if test -n "$CC"; then
1769  ac_cv_prog_CC="$CC" # Let the user override the test.
1770else
1771  ac_prog_rejected=no
1772as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1773for as_dir in $PATH
1774do
1775  IFS=$as_save_IFS
1776  test -z "$as_dir" && as_dir=.
1777  for ac_exec_ext in '' $ac_executable_extensions; do
1778  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1779    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1780       ac_prog_rejected=yes
1781       continue
1782     fi
1783    ac_cv_prog_CC="cc"
1784    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1785    break 2
1786  fi
1787done
1788done
1789
1790if test $ac_prog_rejected = yes; then
1791  # We found a bogon in the path, so make sure we never use it.
1792  set dummy $ac_cv_prog_CC
1793  shift
1794  if test $# != 0; then
1795    # We chose a different compiler from the bogus one.
1796    # However, it has the same basename, so the bogon will be chosen
1797    # first if we set CC to just the basename; use the full file name.
1798    shift
1799    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1800  fi
1801fi
1802fi
1803fi
1804CC=$ac_cv_prog_CC
1805if test -n "$CC"; then
1806  echo "$as_me:$LINENO: result: $CC" >&5
1807echo "${ECHO_T}$CC" >&6
1808else
1809  echo "$as_me:$LINENO: result: no" >&5
1810echo "${ECHO_T}no" >&6
1811fi
1812
1813fi
1814if test -z "$CC"; then
1815  if test -n "$ac_tool_prefix"; then
1816  for ac_prog in cl
1817  do
1818    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1819set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1820echo "$as_me:$LINENO: checking for $ac_word" >&5
1821echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1822if test "${ac_cv_prog_CC+set}" = set; then
1823  echo $ECHO_N "(cached) $ECHO_C" >&6
1824else
1825  if test -n "$CC"; then
1826  ac_cv_prog_CC="$CC" # Let the user override the test.
1827else
1828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1829for as_dir in $PATH
1830do
1831  IFS=$as_save_IFS
1832  test -z "$as_dir" && as_dir=.
1833  for ac_exec_ext in '' $ac_executable_extensions; do
1834  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1835    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1836    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1837    break 2
1838  fi
1839done
1840done
1841
1842fi
1843fi
1844CC=$ac_cv_prog_CC
1845if test -n "$CC"; then
1846  echo "$as_me:$LINENO: result: $CC" >&5
1847echo "${ECHO_T}$CC" >&6
1848else
1849  echo "$as_me:$LINENO: result: no" >&5
1850echo "${ECHO_T}no" >&6
1851fi
1852
1853    test -n "$CC" && break
1854  done
1855fi
1856if test -z "$CC"; then
1857  ac_ct_CC=$CC
1858  for ac_prog in cl
1859do
1860  # Extract the first word of "$ac_prog", so it can be a program name with args.
1861set dummy $ac_prog; ac_word=$2
1862echo "$as_me:$LINENO: checking for $ac_word" >&5
1863echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1864if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1865  echo $ECHO_N "(cached) $ECHO_C" >&6
1866else
1867  if test -n "$ac_ct_CC"; then
1868  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1869else
1870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871for as_dir in $PATH
1872do
1873  IFS=$as_save_IFS
1874  test -z "$as_dir" && as_dir=.
1875  for ac_exec_ext in '' $ac_executable_extensions; do
1876  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1877    ac_cv_prog_ac_ct_CC="$ac_prog"
1878    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1879    break 2
1880  fi
1881done
1882done
1883
1884fi
1885fi
1886ac_ct_CC=$ac_cv_prog_ac_ct_CC
1887if test -n "$ac_ct_CC"; then
1888  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1889echo "${ECHO_T}$ac_ct_CC" >&6
1890else
1891  echo "$as_me:$LINENO: result: no" >&5
1892echo "${ECHO_T}no" >&6
1893fi
1894
1895  test -n "$ac_ct_CC" && break
1896done
1897
1898  CC=$ac_ct_CC
1899fi
1900
1901fi
1902
1903
1904test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1905echo "$as_me: error: in \`$ac_pwd':" >&2;}
1906{ { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1907See \`config.log' for more details." >&5
1908echo "$as_me: error: no acceptable C compiler found in \$PATH
1909See \`config.log' for more details." >&2;}
1910   { (exit 1); exit 1; }; }; }
1911
1912# Provide some information about the compiler.
1913echo "$as_me:$LINENO:" \
1914     "checking for C compiler version" >&5
1915ac_compiler=`set X $ac_compile; echo $2`
1916{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1917  (eval $ac_compiler --version </dev/null >&5) 2>&5
1918  ac_status=$?
1919  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1920  (exit $ac_status); }
1921{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1922  (eval $ac_compiler -v </dev/null >&5) 2>&5
1923  ac_status=$?
1924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1925  (exit $ac_status); }
1926{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1927  (eval $ac_compiler -V </dev/null >&5) 2>&5
1928  ac_status=$?
1929  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1930  (exit $ac_status); }
1931
1932cat >conftest.$ac_ext <<_ACEOF
1933/* confdefs.h.  */
1934_ACEOF
1935cat confdefs.h >>conftest.$ac_ext
1936cat >>conftest.$ac_ext <<_ACEOF
1937/* end confdefs.h.  */
1938
1939int
1940main ()
1941{
1942
1943  ;
1944  return 0;
1945}
1946_ACEOF
1947ac_clean_files_save=$ac_clean_files
1948ac_clean_files="$ac_clean_files a.out a.exe b.out"
1949# Try to create an executable without -o first, disregard a.out.
1950# It will help us diagnose broken compilers, and finding out an intuition
1951# of exeext.
1952echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1953echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1954ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1955if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1956  (eval $ac_link_default) 2>&5
1957  ac_status=$?
1958  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1959  (exit $ac_status); }; then
1960  # Find the output, starting from the most likely.  This scheme is
1961# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1962# resort.
1963
1964# Be careful to initialize this variable, since it used to be cached.
1965# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1966ac_cv_exeext=
1967# b.out is created by i960 compilers.
1968for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1969do
1970  test -f "$ac_file" || continue
1971  case $ac_file in
1972    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1973	;;
1974    conftest.$ac_ext )
1975	# This is the source file.
1976	;;
1977    [ab].out )
1978	# We found the default executable, but exeext='' is most
1979	# certainly right.
1980	break;;
1981    *.* )
1982	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1983	# FIXME: I believe we export ac_cv_exeext for Libtool,
1984	# but it would be cool to find out if it's true.  Does anybody
1985	# maintain Libtool? --akim.
1986	export ac_cv_exeext
1987	break;;
1988    * )
1989	break;;
1990  esac
1991done
1992else
1993  echo "$as_me: failed program was:" >&5
1994sed 's/^/| /' conftest.$ac_ext >&5
1995
1996{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1997echo "$as_me: error: in \`$ac_pwd':" >&2;}
1998{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1999See \`config.log' for more details." >&5
2000echo "$as_me: error: C compiler cannot create executables
2001See \`config.log' for more details." >&2;}
2002   { (exit 77); exit 77; }; }; }
2003fi
2004
2005ac_exeext=$ac_cv_exeext
2006echo "$as_me:$LINENO: result: $ac_file" >&5
2007echo "${ECHO_T}$ac_file" >&6
2008
2009# Check the compiler produces executables we can run.  If not, either
2010# the compiler is broken, or we cross compile.
2011echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2012echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2013# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2014# If not cross compiling, check that we can run a simple program.
2015if test "$cross_compiling" != yes; then
2016  if { ac_try='./$ac_file'
2017  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2018  (eval $ac_try) 2>&5
2019  ac_status=$?
2020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021  (exit $ac_status); }; }; then
2022    cross_compiling=no
2023  else
2024    if test "$cross_compiling" = maybe; then
2025	cross_compiling=yes
2026    else
2027	{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2028echo "$as_me: error: in \`$ac_pwd':" >&2;}
2029{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2030If you meant to cross compile, use \`--host'.
2031See \`config.log' for more details." >&5
2032echo "$as_me: error: cannot run C compiled programs.
2033If you meant to cross compile, use \`--host'.
2034See \`config.log' for more details." >&2;}
2035   { (exit 1); exit 1; }; }; }
2036    fi
2037  fi
2038fi
2039echo "$as_me:$LINENO: result: yes" >&5
2040echo "${ECHO_T}yes" >&6
2041
2042rm -f a.out a.exe conftest$ac_cv_exeext b.out
2043ac_clean_files=$ac_clean_files_save
2044# Check the compiler produces executables we can run.  If not, either
2045# the compiler is broken, or we cross compile.
2046echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2047echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2048echo "$as_me:$LINENO: result: $cross_compiling" >&5
2049echo "${ECHO_T}$cross_compiling" >&6
2050
2051echo "$as_me:$LINENO: checking for suffix of executables" >&5
2052echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2053if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2054  (eval $ac_link) 2>&5
2055  ac_status=$?
2056  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057  (exit $ac_status); }; then
2058  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2059# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2060# work properly (i.e., refer to `conftest.exe'), while it won't with
2061# `rm'.
2062for ac_file in conftest.exe conftest conftest.*; do
2063  test -f "$ac_file" || continue
2064  case $ac_file in
2065    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2066    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2067	  export ac_cv_exeext
2068	  break;;
2069    * ) break;;
2070  esac
2071done
2072else
2073  { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2074echo "$as_me: error: in \`$ac_pwd':" >&2;}
2075{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2076See \`config.log' for more details." >&5
2077echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2078See \`config.log' for more details." >&2;}
2079   { (exit 1); exit 1; }; }; }
2080fi
2081
2082rm -f conftest$ac_cv_exeext
2083echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2084echo "${ECHO_T}$ac_cv_exeext" >&6
2085
2086rm -f conftest.$ac_ext
2087EXEEXT=$ac_cv_exeext
2088ac_exeext=$EXEEXT
2089echo "$as_me:$LINENO: checking for suffix of object files" >&5
2090echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2091if test "${ac_cv_objext+set}" = set; then
2092  echo $ECHO_N "(cached) $ECHO_C" >&6
2093else
2094  cat >conftest.$ac_ext <<_ACEOF
2095/* confdefs.h.  */
2096_ACEOF
2097cat confdefs.h >>conftest.$ac_ext
2098cat >>conftest.$ac_ext <<_ACEOF
2099/* end confdefs.h.  */
2100
2101int
2102main ()
2103{
2104
2105  ;
2106  return 0;
2107}
2108_ACEOF
2109rm -f conftest.o conftest.obj
2110if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2111  (eval $ac_compile) 2>&5
2112  ac_status=$?
2113  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114  (exit $ac_status); }; then
2115  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2116  case $ac_file in
2117    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2118    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2119       break;;
2120  esac
2121done
2122else
2123  echo "$as_me: failed program was:" >&5
2124sed 's/^/| /' conftest.$ac_ext >&5
2125
2126{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2127echo "$as_me: error: in \`$ac_pwd':" >&2;}
2128{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2129See \`config.log' for more details." >&5
2130echo "$as_me: error: cannot compute suffix of object files: cannot compile
2131See \`config.log' for more details." >&2;}
2132   { (exit 1); exit 1; }; }; }
2133fi
2134
2135rm -f conftest.$ac_cv_objext conftest.$ac_ext
2136fi
2137echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2138echo "${ECHO_T}$ac_cv_objext" >&6
2139OBJEXT=$ac_cv_objext
2140ac_objext=$OBJEXT
2141echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2142echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2143if test "${ac_cv_c_compiler_gnu+set}" = set; then
2144  echo $ECHO_N "(cached) $ECHO_C" >&6
2145else
2146  cat >conftest.$ac_ext <<_ACEOF
2147/* confdefs.h.  */
2148_ACEOF
2149cat confdefs.h >>conftest.$ac_ext
2150cat >>conftest.$ac_ext <<_ACEOF
2151/* end confdefs.h.  */
2152
2153int
2154main ()
2155{
2156#ifndef __GNUC__
2157       choke me
2158#endif
2159
2160  ;
2161  return 0;
2162}
2163_ACEOF
2164rm -f conftest.$ac_objext
2165if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2166  (eval $ac_compile) 2>conftest.er1
2167  ac_status=$?
2168  grep -v '^ *+' conftest.er1 >conftest.err
2169  rm -f conftest.er1
2170  cat conftest.err >&5
2171  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172  (exit $ac_status); } &&
2173	 { ac_try='test -z "$ac_c_werror_flag"
2174			 || test ! -s conftest.err'
2175  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2176  (eval $ac_try) 2>&5
2177  ac_status=$?
2178  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179  (exit $ac_status); }; } &&
2180	 { ac_try='test -s conftest.$ac_objext'
2181  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182  (eval $ac_try) 2>&5
2183  ac_status=$?
2184  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185  (exit $ac_status); }; }; then
2186  ac_compiler_gnu=yes
2187else
2188  echo "$as_me: failed program was:" >&5
2189sed 's/^/| /' conftest.$ac_ext >&5
2190
2191ac_compiler_gnu=no
2192fi
2193rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2194ac_cv_c_compiler_gnu=$ac_compiler_gnu
2195
2196fi
2197echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2198echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2199GCC=`test $ac_compiler_gnu = yes && echo yes`
2200ac_test_CFLAGS=${CFLAGS+set}
2201ac_save_CFLAGS=$CFLAGS
2202CFLAGS="-g"
2203echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2204echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2205if test "${ac_cv_prog_cc_g+set}" = set; then
2206  echo $ECHO_N "(cached) $ECHO_C" >&6
2207else
2208  cat >conftest.$ac_ext <<_ACEOF
2209/* confdefs.h.  */
2210_ACEOF
2211cat confdefs.h >>conftest.$ac_ext
2212cat >>conftest.$ac_ext <<_ACEOF
2213/* end confdefs.h.  */
2214
2215int
2216main ()
2217{
2218
2219  ;
2220  return 0;
2221}
2222_ACEOF
2223rm -f conftest.$ac_objext
2224if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2225  (eval $ac_compile) 2>conftest.er1
2226  ac_status=$?
2227  grep -v '^ *+' conftest.er1 >conftest.err
2228  rm -f conftest.er1
2229  cat conftest.err >&5
2230  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231  (exit $ac_status); } &&
2232	 { ac_try='test -z "$ac_c_werror_flag"
2233			 || test ! -s conftest.err'
2234  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2235  (eval $ac_try) 2>&5
2236  ac_status=$?
2237  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238  (exit $ac_status); }; } &&
2239	 { ac_try='test -s conftest.$ac_objext'
2240  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2241  (eval $ac_try) 2>&5
2242  ac_status=$?
2243  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244  (exit $ac_status); }; }; then
2245  ac_cv_prog_cc_g=yes
2246else
2247  echo "$as_me: failed program was:" >&5
2248sed 's/^/| /' conftest.$ac_ext >&5
2249
2250ac_cv_prog_cc_g=no
2251fi
2252rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2253fi
2254echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2255echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2256if test "$ac_test_CFLAGS" = set; then
2257  CFLAGS=$ac_save_CFLAGS
2258elif test $ac_cv_prog_cc_g = yes; then
2259  if test "$GCC" = yes; then
2260    CFLAGS="-g -O2"
2261  else
2262    CFLAGS="-g"
2263  fi
2264else
2265  if test "$GCC" = yes; then
2266    CFLAGS="-O2"
2267  else
2268    CFLAGS=
2269  fi
2270fi
2271echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2272echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2273if test "${ac_cv_prog_cc_stdc+set}" = set; then
2274  echo $ECHO_N "(cached) $ECHO_C" >&6
2275else
2276  ac_cv_prog_cc_stdc=no
2277ac_save_CC=$CC
2278cat >conftest.$ac_ext <<_ACEOF
2279/* confdefs.h.  */
2280_ACEOF
2281cat confdefs.h >>conftest.$ac_ext
2282cat >>conftest.$ac_ext <<_ACEOF
2283/* end confdefs.h.  */
2284#include <stdarg.h>
2285#include <stdio.h>
2286#include <sys/types.h>
2287#include <sys/stat.h>
2288/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2289struct buf { int x; };
2290FILE * (*rcsopen) (struct buf *, struct stat *, int);
2291static char *e (p, i)
2292     char **p;
2293     int i;
2294{
2295  return p[i];
2296}
2297static char *f (char * (*g) (char **, int), char **p, ...)
2298{
2299  char *s;
2300  va_list v;
2301  va_start (v,p);
2302  s = g (p, va_arg (v,int));
2303  va_end (v);
2304  return s;
2305}
2306
2307/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2308   function prototypes and stuff, but not '\xHH' hex character constants.
2309   These don't provoke an error unfortunately, instead are silently treated
2310   as 'x'.  The following induces an error, until -std1 is added to get
2311   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2312   array size at least.  It's necessary to write '\x00'==0 to get something
2313   that's true only with -std1.  */
2314int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2315
2316int test (int i, double x);
2317struct s1 {int (*f) (int a);};
2318struct s2 {int (*f) (double a);};
2319int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2320int argc;
2321char **argv;
2322int
2323main ()
2324{
2325return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2326  ;
2327  return 0;
2328}
2329_ACEOF
2330# Don't try gcc -ansi; that turns off useful extensions and
2331# breaks some systems' header files.
2332# AIX			-qlanglvl=ansi
2333# Ultrix and OSF/1	-std1
2334# HP-UX 10.20 and later	-Ae
2335# HP-UX older versions	-Aa -D_HPUX_SOURCE
2336# SVR4			-Xc -D__EXTENSIONS__
2337for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2338do
2339  CC="$ac_save_CC $ac_arg"
2340  rm -f conftest.$ac_objext
2341if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2342  (eval $ac_compile) 2>conftest.er1
2343  ac_status=$?
2344  grep -v '^ *+' conftest.er1 >conftest.err
2345  rm -f conftest.er1
2346  cat conftest.err >&5
2347  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348  (exit $ac_status); } &&
2349	 { ac_try='test -z "$ac_c_werror_flag"
2350			 || test ! -s conftest.err'
2351  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2352  (eval $ac_try) 2>&5
2353  ac_status=$?
2354  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355  (exit $ac_status); }; } &&
2356	 { ac_try='test -s conftest.$ac_objext'
2357  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2358  (eval $ac_try) 2>&5
2359  ac_status=$?
2360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361  (exit $ac_status); }; }; then
2362  ac_cv_prog_cc_stdc=$ac_arg
2363break
2364else
2365  echo "$as_me: failed program was:" >&5
2366sed 's/^/| /' conftest.$ac_ext >&5
2367
2368fi
2369rm -f conftest.err conftest.$ac_objext
2370done
2371rm -f conftest.$ac_ext conftest.$ac_objext
2372CC=$ac_save_CC
2373
2374fi
2375
2376case "x$ac_cv_prog_cc_stdc" in
2377  x|xno)
2378    echo "$as_me:$LINENO: result: none needed" >&5
2379echo "${ECHO_T}none needed" >&6 ;;
2380  *)
2381    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2382echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2383    CC="$CC $ac_cv_prog_cc_stdc" ;;
2384esac
2385
2386# Some people use a C++ compiler to compile C.  Since we use `exit',
2387# in C++ we need to declare it.  In case someone uses the same compiler
2388# for both compiling C and C++ we need to have the C++ compiler decide
2389# the declaration of exit, since it's the most demanding environment.
2390cat >conftest.$ac_ext <<_ACEOF
2391#ifndef __cplusplus
2392  choke me
2393#endif
2394_ACEOF
2395rm -f conftest.$ac_objext
2396if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2397  (eval $ac_compile) 2>conftest.er1
2398  ac_status=$?
2399  grep -v '^ *+' conftest.er1 >conftest.err
2400  rm -f conftest.er1
2401  cat conftest.err >&5
2402  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403  (exit $ac_status); } &&
2404	 { ac_try='test -z "$ac_c_werror_flag"
2405			 || test ! -s conftest.err'
2406  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2407  (eval $ac_try) 2>&5
2408  ac_status=$?
2409  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410  (exit $ac_status); }; } &&
2411	 { ac_try='test -s conftest.$ac_objext'
2412  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413  (eval $ac_try) 2>&5
2414  ac_status=$?
2415  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416  (exit $ac_status); }; }; then
2417  for ac_declaration in \
2418   '' \
2419   'extern "C" void std::exit (int) throw (); using std::exit;' \
2420   'extern "C" void std::exit (int); using std::exit;' \
2421   'extern "C" void exit (int) throw ();' \
2422   'extern "C" void exit (int);' \
2423   'void exit (int);'
2424do
2425  cat >conftest.$ac_ext <<_ACEOF
2426/* confdefs.h.  */
2427_ACEOF
2428cat confdefs.h >>conftest.$ac_ext
2429cat >>conftest.$ac_ext <<_ACEOF
2430/* end confdefs.h.  */
2431$ac_declaration
2432#include <stdlib.h>
2433int
2434main ()
2435{
2436exit (42);
2437  ;
2438  return 0;
2439}
2440_ACEOF
2441rm -f conftest.$ac_objext
2442if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2443  (eval $ac_compile) 2>conftest.er1
2444  ac_status=$?
2445  grep -v '^ *+' conftest.er1 >conftest.err
2446  rm -f conftest.er1
2447  cat conftest.err >&5
2448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449  (exit $ac_status); } &&
2450	 { ac_try='test -z "$ac_c_werror_flag"
2451			 || test ! -s conftest.err'
2452  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2453  (eval $ac_try) 2>&5
2454  ac_status=$?
2455  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456  (exit $ac_status); }; } &&
2457	 { ac_try='test -s conftest.$ac_objext'
2458  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2459  (eval $ac_try) 2>&5
2460  ac_status=$?
2461  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462  (exit $ac_status); }; }; then
2463  :
2464else
2465  echo "$as_me: failed program was:" >&5
2466sed 's/^/| /' conftest.$ac_ext >&5
2467
2468continue
2469fi
2470rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2471  cat >conftest.$ac_ext <<_ACEOF
2472/* confdefs.h.  */
2473_ACEOF
2474cat confdefs.h >>conftest.$ac_ext
2475cat >>conftest.$ac_ext <<_ACEOF
2476/* end confdefs.h.  */
2477$ac_declaration
2478int
2479main ()
2480{
2481exit (42);
2482  ;
2483  return 0;
2484}
2485_ACEOF
2486rm -f conftest.$ac_objext
2487if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2488  (eval $ac_compile) 2>conftest.er1
2489  ac_status=$?
2490  grep -v '^ *+' conftest.er1 >conftest.err
2491  rm -f conftest.er1
2492  cat conftest.err >&5
2493  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494  (exit $ac_status); } &&
2495	 { ac_try='test -z "$ac_c_werror_flag"
2496			 || test ! -s conftest.err'
2497  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2498  (eval $ac_try) 2>&5
2499  ac_status=$?
2500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501  (exit $ac_status); }; } &&
2502	 { ac_try='test -s conftest.$ac_objext'
2503  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2504  (eval $ac_try) 2>&5
2505  ac_status=$?
2506  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507  (exit $ac_status); }; }; then
2508  break
2509else
2510  echo "$as_me: failed program was:" >&5
2511sed 's/^/| /' conftest.$ac_ext >&5
2512
2513fi
2514rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2515done
2516rm -f conftest*
2517if test -n "$ac_declaration"; then
2518  echo '#ifdef __cplusplus' >>confdefs.h
2519  echo $ac_declaration      >>confdefs.h
2520  echo '#endif'             >>confdefs.h
2521fi
2522
2523else
2524  echo "$as_me: failed program was:" >&5
2525sed 's/^/| /' conftest.$ac_ext >&5
2526
2527fi
2528rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2529ac_ext=c
2530ac_cpp='$CPP $CPPFLAGS'
2531ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2532ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2533ac_compiler_gnu=$ac_cv_c_compiler_gnu
2534
2535
2536echo "$as_me:$LINENO: checking for library containing strerror" >&5
2537echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2538if test "${ac_cv_search_strerror+set}" = set; then
2539  echo $ECHO_N "(cached) $ECHO_C" >&6
2540else
2541  ac_func_search_save_LIBS=$LIBS
2542ac_cv_search_strerror=no
2543cat >conftest.$ac_ext <<_ACEOF
2544/* confdefs.h.  */
2545_ACEOF
2546cat confdefs.h >>conftest.$ac_ext
2547cat >>conftest.$ac_ext <<_ACEOF
2548/* end confdefs.h.  */
2549
2550/* Override any gcc2 internal prototype to avoid an error.  */
2551#ifdef __cplusplus
2552extern "C"
2553#endif
2554/* We use char because int might match the return type of a gcc2
2555   builtin and then its argument prototype would still apply.  */
2556char strerror ();
2557int
2558main ()
2559{
2560strerror ();
2561  ;
2562  return 0;
2563}
2564_ACEOF
2565rm -f conftest.$ac_objext conftest$ac_exeext
2566if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2567  (eval $ac_link) 2>conftest.er1
2568  ac_status=$?
2569  grep -v '^ *+' conftest.er1 >conftest.err
2570  rm -f conftest.er1
2571  cat conftest.err >&5
2572  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573  (exit $ac_status); } &&
2574	 { ac_try='test -z "$ac_c_werror_flag"
2575			 || test ! -s conftest.err'
2576  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577  (eval $ac_try) 2>&5
2578  ac_status=$?
2579  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580  (exit $ac_status); }; } &&
2581	 { ac_try='test -s conftest$ac_exeext'
2582  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583  (eval $ac_try) 2>&5
2584  ac_status=$?
2585  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586  (exit $ac_status); }; }; then
2587  ac_cv_search_strerror="none required"
2588else
2589  echo "$as_me: failed program was:" >&5
2590sed 's/^/| /' conftest.$ac_ext >&5
2591
2592fi
2593rm -f conftest.err conftest.$ac_objext \
2594      conftest$ac_exeext conftest.$ac_ext
2595if test "$ac_cv_search_strerror" = no; then
2596  for ac_lib in cposix; do
2597    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
2598    cat >conftest.$ac_ext <<_ACEOF
2599/* confdefs.h.  */
2600_ACEOF
2601cat confdefs.h >>conftest.$ac_ext
2602cat >>conftest.$ac_ext <<_ACEOF
2603/* end confdefs.h.  */
2604
2605/* Override any gcc2 internal prototype to avoid an error.  */
2606#ifdef __cplusplus
2607extern "C"
2608#endif
2609/* We use char because int might match the return type of a gcc2
2610   builtin and then its argument prototype would still apply.  */
2611char strerror ();
2612int
2613main ()
2614{
2615strerror ();
2616  ;
2617  return 0;
2618}
2619_ACEOF
2620rm -f conftest.$ac_objext conftest$ac_exeext
2621if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2622  (eval $ac_link) 2>conftest.er1
2623  ac_status=$?
2624  grep -v '^ *+' conftest.er1 >conftest.err
2625  rm -f conftest.er1
2626  cat conftest.err >&5
2627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628  (exit $ac_status); } &&
2629	 { ac_try='test -z "$ac_c_werror_flag"
2630			 || test ! -s conftest.err'
2631  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632  (eval $ac_try) 2>&5
2633  ac_status=$?
2634  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635  (exit $ac_status); }; } &&
2636	 { ac_try='test -s conftest$ac_exeext'
2637  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638  (eval $ac_try) 2>&5
2639  ac_status=$?
2640  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641  (exit $ac_status); }; }; then
2642  ac_cv_search_strerror="-l$ac_lib"
2643break
2644else
2645  echo "$as_me: failed program was:" >&5
2646sed 's/^/| /' conftest.$ac_ext >&5
2647
2648fi
2649rm -f conftest.err conftest.$ac_objext \
2650      conftest$ac_exeext conftest.$ac_ext
2651  done
2652fi
2653LIBS=$ac_func_search_save_LIBS
2654fi
2655echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2656echo "${ECHO_T}$ac_cv_search_strerror" >&6
2657if test "$ac_cv_search_strerror" != no; then
2658  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2659
2660fi
2661
2662
2663BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ 	]*\([^ 	]*\)[ 	]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2664am__api_version="1.9"
2665# Find a good install program.  We prefer a C program (faster),
2666# so one script is as good as another.  But avoid the broken or
2667# incompatible versions:
2668# SysV /etc/install, /usr/sbin/install
2669# SunOS /usr/etc/install
2670# IRIX /sbin/install
2671# AIX /bin/install
2672# AmigaOS /C/install, which installs bootblocks on floppy discs
2673# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2674# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2675# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2676# OS/2's system install, which has a completely different semantic
2677# ./install, which can be erroneously created by make from ./install.sh.
2678# Reject install programs that cannot install multiple files.
2679echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2680echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2681if test -z "$INSTALL"; then
2682if test "${ac_cv_path_install+set}" = set; then
2683  echo $ECHO_N "(cached) $ECHO_C" >&6
2684else
2685  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686for as_dir in $PATH
2687do
2688  IFS=$as_save_IFS
2689  test -z "$as_dir" && as_dir=.
2690  # Account for people who put trailing slashes in PATH elements.
2691case $as_dir/ in
2692  ./ | .// | /cC/* | \
2693  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2694  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2695  /usr/ucb/* ) ;;
2696  *)
2697    # OSF1 and SCO ODT 3.0 have their own names for install.
2698    # Don't use installbsd from OSF since it installs stuff as root
2699    # by default.
2700    for ac_prog in ginstall scoinst install; do
2701      for ac_exec_ext in '' $ac_executable_extensions; do
2702	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2703	  if test $ac_prog = install &&
2704	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2705	    # AIX install.  It has an incompatible calling convention.
2706	    :
2707	  elif test $ac_prog = install &&
2708	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2709	    # program-specific install script used by HP pwplus--don't use.
2710	    :
2711	  else
2712	    rm -rf conftest.one conftest.two conftest.dir
2713	    echo one > conftest.one
2714	    echo two > conftest.two
2715	    mkdir conftest.dir
2716	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2717	      test -s conftest.one && test -s conftest.two &&
2718	      test -s conftest.dir/conftest.one &&
2719	      test -s conftest.dir/conftest.two
2720	    then
2721	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2722	      break 3
2723	    fi
2724	  fi
2725	fi
2726      done
2727    done
2728    ;;
2729esac
2730done
2731
2732rm -rf conftest.one conftest.two conftest.dir
2733
2734fi
2735  if test "${ac_cv_path_install+set}" = set; then
2736    INSTALL=$ac_cv_path_install
2737  else
2738    # As a last resort, use the slow shell script.  Don't cache a
2739    # value for INSTALL within a source directory, because that will
2740    # break other packages using the cache if that directory is
2741    # removed, or if the value is a relative name.
2742    INSTALL=$ac_install_sh
2743  fi
2744fi
2745echo "$as_me:$LINENO: result: $INSTALL" >&5
2746echo "${ECHO_T}$INSTALL" >&6
2747
2748# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2749# It thinks the first close brace ends the variable substitution.
2750test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2751
2752test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2753
2754test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2755
2756echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2757echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2758# Just in case
2759sleep 1
2760echo timestamp > conftest.file
2761# Do `set' in a subshell so we don't clobber the current shell's
2762# arguments.  Must try -L first in case configure is actually a
2763# symlink; some systems play weird games with the mod time of symlinks
2764# (eg FreeBSD returns the mod time of the symlink's containing
2765# directory).
2766if (
2767   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2768   if test "$*" = "X"; then
2769      # -L didn't work.
2770      set X `ls -t $srcdir/configure conftest.file`
2771   fi
2772   rm -f conftest.file
2773   if test "$*" != "X $srcdir/configure conftest.file" \
2774      && test "$*" != "X conftest.file $srcdir/configure"; then
2775
2776      # If neither matched, then we have a broken ls.  This can happen
2777      # if, for instance, CONFIG_SHELL is bash and it inherits a
2778      # broken ls alias from the environment.  This has actually
2779      # happened.  Such a system could not be considered "sane".
2780      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2781alias in your environment" >&5
2782echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2783alias in your environment" >&2;}
2784   { (exit 1); exit 1; }; }
2785   fi
2786
2787   test "$2" = conftest.file
2788   )
2789then
2790   # Ok.
2791   :
2792else
2793   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2794Check your system clock" >&5
2795echo "$as_me: error: newly created file is older than distributed files!
2796Check your system clock" >&2;}
2797   { (exit 1); exit 1; }; }
2798fi
2799echo "$as_me:$LINENO: result: yes" >&5
2800echo "${ECHO_T}yes" >&6
2801test "$program_prefix" != NONE &&
2802  program_transform_name="s,^,$program_prefix,;$program_transform_name"
2803# Use a double $ so make ignores it.
2804test "$program_suffix" != NONE &&
2805  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2806# Double any \ or $.  echo might interpret backslashes.
2807# By default was `s,x,x', remove it if useless.
2808cat <<\_ACEOF >conftest.sed
2809s/[\\$]/&&/g;s/;s,x,x,$//
2810_ACEOF
2811program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2812rm conftest.sed
2813
2814# expand $ac_aux_dir to an absolute path
2815am_aux_dir=`cd $ac_aux_dir && pwd`
2816
2817test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2818# Use eval to expand $SHELL
2819if eval "$MISSING --run true"; then
2820  am_missing_run="$MISSING --run "
2821else
2822  am_missing_run=
2823  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2824echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2825fi
2826
2827if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2828  # We used to keeping the `.' as first argument, in order to
2829  # allow $(mkdir_p) to be used without argument.  As in
2830  #   $(mkdir_p) $(somedir)
2831  # where $(somedir) is conditionally defined.  However this is wrong
2832  # for two reasons:
2833  #  1. if the package is installed by a user who cannot write `.'
2834  #     make install will fail,
2835  #  2. the above comment should most certainly read
2836  #     $(mkdir_p) $(DESTDIR)$(somedir)
2837  #     so it does not work when $(somedir) is undefined and
2838  #     $(DESTDIR) is not.
2839  #  To support the latter case, we have to write
2840  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2841  #  so the `.' trick is pointless.
2842  mkdir_p='mkdir -p --'
2843else
2844  # On NextStep and OpenStep, the `mkdir' command does not
2845  # recognize any option.  It will interpret all options as
2846  # directories to create, and then abort because `.' already
2847  # exists.
2848  for d in ./-p ./--version;
2849  do
2850    test -d $d && rmdir $d
2851  done
2852  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2853  if test -f "$ac_aux_dir/mkinstalldirs"; then
2854    mkdir_p='$(mkinstalldirs)'
2855  else
2856    mkdir_p='$(install_sh) -d'
2857  fi
2858fi
2859
2860for ac_prog in gawk mawk nawk awk
2861do
2862  # Extract the first word of "$ac_prog", so it can be a program name with args.
2863set dummy $ac_prog; ac_word=$2
2864echo "$as_me:$LINENO: checking for $ac_word" >&5
2865echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2866if test "${ac_cv_prog_AWK+set}" = set; then
2867  echo $ECHO_N "(cached) $ECHO_C" >&6
2868else
2869  if test -n "$AWK"; then
2870  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2871else
2872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2873for as_dir in $PATH
2874do
2875  IFS=$as_save_IFS
2876  test -z "$as_dir" && as_dir=.
2877  for ac_exec_ext in '' $ac_executable_extensions; do
2878  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2879    ac_cv_prog_AWK="$ac_prog"
2880    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2881    break 2
2882  fi
2883done
2884done
2885
2886fi
2887fi
2888AWK=$ac_cv_prog_AWK
2889if test -n "$AWK"; then
2890  echo "$as_me:$LINENO: result: $AWK" >&5
2891echo "${ECHO_T}$AWK" >&6
2892else
2893  echo "$as_me:$LINENO: result: no" >&5
2894echo "${ECHO_T}no" >&6
2895fi
2896
2897  test -n "$AWK" && break
2898done
2899
2900echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2901echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2902set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2903if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2904  echo $ECHO_N "(cached) $ECHO_C" >&6
2905else
2906  cat >conftest.make <<\_ACEOF
2907all:
2908	@echo 'ac_maketemp="$(MAKE)"'
2909_ACEOF
2910# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2911eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2912if test -n "$ac_maketemp"; then
2913  eval ac_cv_prog_make_${ac_make}_set=yes
2914else
2915  eval ac_cv_prog_make_${ac_make}_set=no
2916fi
2917rm -f conftest.make
2918fi
2919if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2920  echo "$as_me:$LINENO: result: yes" >&5
2921echo "${ECHO_T}yes" >&6
2922  SET_MAKE=
2923else
2924  echo "$as_me:$LINENO: result: no" >&5
2925echo "${ECHO_T}no" >&6
2926  SET_MAKE="MAKE=${MAKE-make}"
2927fi
2928
2929rm -rf .tst 2>/dev/null
2930mkdir .tst 2>/dev/null
2931if test -d .tst; then
2932  am__leading_dot=.
2933else
2934  am__leading_dot=_
2935fi
2936rmdir .tst 2>/dev/null
2937
2938DEPDIR="${am__leading_dot}deps"
2939
2940          ac_config_commands="$ac_config_commands depfiles"
2941
2942
2943am_make=${MAKE-make}
2944cat > confinc << 'END'
2945am__doit:
2946	@echo done
2947.PHONY: am__doit
2948END
2949# If we don't find an include directive, just comment out the code.
2950echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2951echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2952am__include="#"
2953am__quote=
2954_am_result=none
2955# First try GNU make style include.
2956echo "include confinc" > confmf
2957# We grep out `Entering directory' and `Leaving directory'
2958# messages which can occur if `w' ends up in MAKEFLAGS.
2959# In particular we don't look at `^make:' because GNU make might
2960# be invoked under some other name (usually "gmake"), in which
2961# case it prints its new name instead of `make'.
2962if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2963   am__include=include
2964   am__quote=
2965   _am_result=GNU
2966fi
2967# Now try BSD make style include.
2968if test "$am__include" = "#"; then
2969   echo '.include "confinc"' > confmf
2970   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2971      am__include=.include
2972      am__quote="\""
2973      _am_result=BSD
2974   fi
2975fi
2976
2977
2978echo "$as_me:$LINENO: result: $_am_result" >&5
2979echo "${ECHO_T}$_am_result" >&6
2980rm -f confinc confmf
2981
2982# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2983if test "${enable_dependency_tracking+set}" = set; then
2984  enableval="$enable_dependency_tracking"
2985
2986fi;
2987if test "x$enable_dependency_tracking" != xno; then
2988  am_depcomp="$ac_aux_dir/depcomp"
2989  AMDEPBACKSLASH='\'
2990fi
2991
2992
2993if test "x$enable_dependency_tracking" != xno; then
2994  AMDEP_TRUE=
2995  AMDEP_FALSE='#'
2996else
2997  AMDEP_TRUE='#'
2998  AMDEP_FALSE=
2999fi
3000
3001
3002
3003# test to see if srcdir already configured
3004if test "`cd $srcdir && pwd`" != "`pwd`" &&
3005   test -f $srcdir/config.status; then
3006  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3007echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3008   { (exit 1); exit 1; }; }
3009fi
3010
3011# test whether we have cygpath
3012if test -z "$CYGPATH_W"; then
3013  if (cygpath --version) >/dev/null 2>/dev/null; then
3014    CYGPATH_W='cygpath -w'
3015  else
3016    CYGPATH_W=echo
3017  fi
3018fi
3019
3020
3021# Define the identity of the package.
3022 PACKAGE=gprof
3023 VERSION=${BFD_VERSION}
3024
3025
3026cat >>confdefs.h <<_ACEOF
3027#define PACKAGE "$PACKAGE"
3028_ACEOF
3029
3030
3031cat >>confdefs.h <<_ACEOF
3032#define VERSION "$VERSION"
3033_ACEOF
3034
3035# Some tools Automake needs.
3036
3037ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3038
3039
3040AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3041
3042
3043AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3044
3045
3046AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3047
3048
3049MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3050
3051install_sh=${install_sh-"$am_aux_dir/install-sh"}
3052
3053# Installed binaries are usually stripped using `strip' when the user
3054# run `make install-strip'.  However `strip' might not be the right
3055# tool to use in cross-compilation environments, therefore Automake
3056# will honor the `STRIP' environment variable to overrule this program.
3057if test "$cross_compiling" != no; then
3058  if test -n "$ac_tool_prefix"; then
3059  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3060set dummy ${ac_tool_prefix}strip; ac_word=$2
3061echo "$as_me:$LINENO: checking for $ac_word" >&5
3062echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3063if test "${ac_cv_prog_STRIP+set}" = set; then
3064  echo $ECHO_N "(cached) $ECHO_C" >&6
3065else
3066  if test -n "$STRIP"; then
3067  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3068else
3069as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070for as_dir in $PATH
3071do
3072  IFS=$as_save_IFS
3073  test -z "$as_dir" && as_dir=.
3074  for ac_exec_ext in '' $ac_executable_extensions; do
3075  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3077    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3078    break 2
3079  fi
3080done
3081done
3082
3083fi
3084fi
3085STRIP=$ac_cv_prog_STRIP
3086if test -n "$STRIP"; then
3087  echo "$as_me:$LINENO: result: $STRIP" >&5
3088echo "${ECHO_T}$STRIP" >&6
3089else
3090  echo "$as_me:$LINENO: result: no" >&5
3091echo "${ECHO_T}no" >&6
3092fi
3093
3094fi
3095if test -z "$ac_cv_prog_STRIP"; then
3096  ac_ct_STRIP=$STRIP
3097  # Extract the first word of "strip", so it can be a program name with args.
3098set dummy strip; ac_word=$2
3099echo "$as_me:$LINENO: checking for $ac_word" >&5
3100echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3101if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3102  echo $ECHO_N "(cached) $ECHO_C" >&6
3103else
3104  if test -n "$ac_ct_STRIP"; then
3105  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3106else
3107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108for as_dir in $PATH
3109do
3110  IFS=$as_save_IFS
3111  test -z "$as_dir" && as_dir=.
3112  for ac_exec_ext in '' $ac_executable_extensions; do
3113  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3114    ac_cv_prog_ac_ct_STRIP="strip"
3115    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3116    break 2
3117  fi
3118done
3119done
3120
3121  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3122fi
3123fi
3124ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3125if test -n "$ac_ct_STRIP"; then
3126  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3127echo "${ECHO_T}$ac_ct_STRIP" >&6
3128else
3129  echo "$as_me:$LINENO: result: no" >&5
3130echo "${ECHO_T}no" >&6
3131fi
3132
3133  STRIP=$ac_ct_STRIP
3134else
3135  STRIP="$ac_cv_prog_STRIP"
3136fi
3137
3138fi
3139INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3140
3141# We need awk for the "check" target.  The system "awk" is bad on
3142# some platforms.
3143# Always define AMTAR for backward compatibility.
3144
3145AMTAR=${AMTAR-"${am_missing_run}tar"}
3146
3147am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3148
3149
3150
3151
3152depcc="$CC"   am_compiler_list=
3153
3154echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3155echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3156if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3157  echo $ECHO_N "(cached) $ECHO_C" >&6
3158else
3159  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3160  # We make a subdir and do the tests there.  Otherwise we can end up
3161  # making bogus files that we don't know about and never remove.  For
3162  # instance it was reported that on HP-UX the gcc test will end up
3163  # making a dummy file named `D' -- because `-MD' means `put the output
3164  # in D'.
3165  mkdir conftest.dir
3166  # Copy depcomp to subdir because otherwise we won't find it if we're
3167  # using a relative directory.
3168  cp "$am_depcomp" conftest.dir
3169  cd conftest.dir
3170  # We will build objects and dependencies in a subdirectory because
3171  # it helps to detect inapplicable dependency modes.  For instance
3172  # both Tru64's cc and ICC support -MD to output dependencies as a
3173  # side effect of compilation, but ICC will put the dependencies in
3174  # the current directory while Tru64 will put them in the object
3175  # directory.
3176  mkdir sub
3177
3178  am_cv_CC_dependencies_compiler_type=none
3179  if test "$am_compiler_list" = ""; then
3180     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3181  fi
3182  for depmode in $am_compiler_list; do
3183    # Setup a source with many dependencies, because some compilers
3184    # like to wrap large dependency lists on column 80 (with \), and
3185    # we should not choose a depcomp mode which is confused by this.
3186    #
3187    # We need to recreate these files for each test, as the compiler may
3188    # overwrite some of them when testing with obscure command lines.
3189    # This happens at least with the AIX C compiler.
3190    : > sub/conftest.c
3191    for i in 1 2 3 4 5 6; do
3192      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3193      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3194      # Solaris 8's {/usr,}/bin/sh.
3195      touch sub/conftst$i.h
3196    done
3197    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3198
3199    case $depmode in
3200    nosideeffect)
3201      # after this tag, mechanisms are not by side-effect, so they'll
3202      # only be used when explicitly requested
3203      if test "x$enable_dependency_tracking" = xyes; then
3204	continue
3205      else
3206	break
3207      fi
3208      ;;
3209    none) break ;;
3210    esac
3211    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3212    # mode.  It turns out that the SunPro C++ compiler does not properly
3213    # handle `-M -o', and we need to detect this.
3214    if depmode=$depmode \
3215       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3216       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3217       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3218         >/dev/null 2>conftest.err &&
3219       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3220       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3221       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3222      # icc doesn't choke on unknown options, it will just issue warnings
3223      # or remarks (even with -Werror).  So we grep stderr for any message
3224      # that says an option was ignored or not supported.
3225      # When given -MP, icc 7.0 and 7.1 complain thusly:
3226      #   icc: Command line warning: ignoring option '-M'; no argument required
3227      # The diagnosis changed in icc 8.0:
3228      #   icc: Command line remark: option '-MP' not supported
3229      if (grep 'ignoring option' conftest.err ||
3230          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3231        am_cv_CC_dependencies_compiler_type=$depmode
3232        break
3233      fi
3234    fi
3235  done
3236
3237  cd ..
3238  rm -rf conftest.dir
3239else
3240  am_cv_CC_dependencies_compiler_type=none
3241fi
3242
3243fi
3244echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3245echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3246CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3247
3248
3249
3250if
3251  test "x$enable_dependency_tracking" != xno \
3252  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3253  am__fastdepCC_TRUE=
3254  am__fastdepCC_FALSE='#'
3255else
3256  am__fastdepCC_TRUE='#'
3257  am__fastdepCC_FALSE=
3258fi
3259
3260
3261
3262
3263          ac_config_headers="$ac_config_headers gconfig.h:gconfig.in"
3264
3265
3266ac_ext=c
3267ac_cpp='$CPP $CPPFLAGS'
3268ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3269ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3270ac_compiler_gnu=$ac_cv_c_compiler_gnu
3271if test -n "$ac_tool_prefix"; then
3272  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3273set dummy ${ac_tool_prefix}gcc; ac_word=$2
3274echo "$as_me:$LINENO: checking for $ac_word" >&5
3275echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3276if test "${ac_cv_prog_CC+set}" = set; then
3277  echo $ECHO_N "(cached) $ECHO_C" >&6
3278else
3279  if test -n "$CC"; then
3280  ac_cv_prog_CC="$CC" # Let the user override the test.
3281else
3282as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3283for as_dir in $PATH
3284do
3285  IFS=$as_save_IFS
3286  test -z "$as_dir" && as_dir=.
3287  for ac_exec_ext in '' $ac_executable_extensions; do
3288  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3289    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3290    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3291    break 2
3292  fi
3293done
3294done
3295
3296fi
3297fi
3298CC=$ac_cv_prog_CC
3299if test -n "$CC"; then
3300  echo "$as_me:$LINENO: result: $CC" >&5
3301echo "${ECHO_T}$CC" >&6
3302else
3303  echo "$as_me:$LINENO: result: no" >&5
3304echo "${ECHO_T}no" >&6
3305fi
3306
3307fi
3308if test -z "$ac_cv_prog_CC"; then
3309  ac_ct_CC=$CC
3310  # Extract the first word of "gcc", so it can be a program name with args.
3311set dummy gcc; ac_word=$2
3312echo "$as_me:$LINENO: checking for $ac_word" >&5
3313echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3314if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3315  echo $ECHO_N "(cached) $ECHO_C" >&6
3316else
3317  if test -n "$ac_ct_CC"; then
3318  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3319else
3320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321for as_dir in $PATH
3322do
3323  IFS=$as_save_IFS
3324  test -z "$as_dir" && as_dir=.
3325  for ac_exec_ext in '' $ac_executable_extensions; do
3326  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3327    ac_cv_prog_ac_ct_CC="gcc"
3328    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3329    break 2
3330  fi
3331done
3332done
3333
3334fi
3335fi
3336ac_ct_CC=$ac_cv_prog_ac_ct_CC
3337if test -n "$ac_ct_CC"; then
3338  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3339echo "${ECHO_T}$ac_ct_CC" >&6
3340else
3341  echo "$as_me:$LINENO: result: no" >&5
3342echo "${ECHO_T}no" >&6
3343fi
3344
3345  CC=$ac_ct_CC
3346else
3347  CC="$ac_cv_prog_CC"
3348fi
3349
3350if test -z "$CC"; then
3351  if test -n "$ac_tool_prefix"; then
3352  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3353set dummy ${ac_tool_prefix}cc; ac_word=$2
3354echo "$as_me:$LINENO: checking for $ac_word" >&5
3355echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3356if test "${ac_cv_prog_CC+set}" = set; then
3357  echo $ECHO_N "(cached) $ECHO_C" >&6
3358else
3359  if test -n "$CC"; then
3360  ac_cv_prog_CC="$CC" # Let the user override the test.
3361else
3362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363for as_dir in $PATH
3364do
3365  IFS=$as_save_IFS
3366  test -z "$as_dir" && as_dir=.
3367  for ac_exec_ext in '' $ac_executable_extensions; do
3368  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3369    ac_cv_prog_CC="${ac_tool_prefix}cc"
3370    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3371    break 2
3372  fi
3373done
3374done
3375
3376fi
3377fi
3378CC=$ac_cv_prog_CC
3379if test -n "$CC"; then
3380  echo "$as_me:$LINENO: result: $CC" >&5
3381echo "${ECHO_T}$CC" >&6
3382else
3383  echo "$as_me:$LINENO: result: no" >&5
3384echo "${ECHO_T}no" >&6
3385fi
3386
3387fi
3388if test -z "$ac_cv_prog_CC"; then
3389  ac_ct_CC=$CC
3390  # Extract the first word of "cc", so it can be a program name with args.
3391set dummy cc; ac_word=$2
3392echo "$as_me:$LINENO: checking for $ac_word" >&5
3393echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3394if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3395  echo $ECHO_N "(cached) $ECHO_C" >&6
3396else
3397  if test -n "$ac_ct_CC"; then
3398  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3399else
3400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3401for as_dir in $PATH
3402do
3403  IFS=$as_save_IFS
3404  test -z "$as_dir" && as_dir=.
3405  for ac_exec_ext in '' $ac_executable_extensions; do
3406  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3407    ac_cv_prog_ac_ct_CC="cc"
3408    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3409    break 2
3410  fi
3411done
3412done
3413
3414fi
3415fi
3416ac_ct_CC=$ac_cv_prog_ac_ct_CC
3417if test -n "$ac_ct_CC"; then
3418  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3419echo "${ECHO_T}$ac_ct_CC" >&6
3420else
3421  echo "$as_me:$LINENO: result: no" >&5
3422echo "${ECHO_T}no" >&6
3423fi
3424
3425  CC=$ac_ct_CC
3426else
3427  CC="$ac_cv_prog_CC"
3428fi
3429
3430fi
3431if test -z "$CC"; then
3432  # Extract the first word of "cc", so it can be a program name with args.
3433set dummy cc; ac_word=$2
3434echo "$as_me:$LINENO: checking for $ac_word" >&5
3435echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3436if test "${ac_cv_prog_CC+set}" = set; then
3437  echo $ECHO_N "(cached) $ECHO_C" >&6
3438else
3439  if test -n "$CC"; then
3440  ac_cv_prog_CC="$CC" # Let the user override the test.
3441else
3442  ac_prog_rejected=no
3443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444for as_dir in $PATH
3445do
3446  IFS=$as_save_IFS
3447  test -z "$as_dir" && as_dir=.
3448  for ac_exec_ext in '' $ac_executable_extensions; do
3449  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3450    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3451       ac_prog_rejected=yes
3452       continue
3453     fi
3454    ac_cv_prog_CC="cc"
3455    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3456    break 2
3457  fi
3458done
3459done
3460
3461if test $ac_prog_rejected = yes; then
3462  # We found a bogon in the path, so make sure we never use it.
3463  set dummy $ac_cv_prog_CC
3464  shift
3465  if test $# != 0; then
3466    # We chose a different compiler from the bogus one.
3467    # However, it has the same basename, so the bogon will be chosen
3468    # first if we set CC to just the basename; use the full file name.
3469    shift
3470    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3471  fi
3472fi
3473fi
3474fi
3475CC=$ac_cv_prog_CC
3476if test -n "$CC"; then
3477  echo "$as_me:$LINENO: result: $CC" >&5
3478echo "${ECHO_T}$CC" >&6
3479else
3480  echo "$as_me:$LINENO: result: no" >&5
3481echo "${ECHO_T}no" >&6
3482fi
3483
3484fi
3485if test -z "$CC"; then
3486  if test -n "$ac_tool_prefix"; then
3487  for ac_prog in cl
3488  do
3489    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3490set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3491echo "$as_me:$LINENO: checking for $ac_word" >&5
3492echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3493if test "${ac_cv_prog_CC+set}" = set; then
3494  echo $ECHO_N "(cached) $ECHO_C" >&6
3495else
3496  if test -n "$CC"; then
3497  ac_cv_prog_CC="$CC" # Let the user override the test.
3498else
3499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500for as_dir in $PATH
3501do
3502  IFS=$as_save_IFS
3503  test -z "$as_dir" && as_dir=.
3504  for ac_exec_ext in '' $ac_executable_extensions; do
3505  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3506    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3507    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3508    break 2
3509  fi
3510done
3511done
3512
3513fi
3514fi
3515CC=$ac_cv_prog_CC
3516if test -n "$CC"; then
3517  echo "$as_me:$LINENO: result: $CC" >&5
3518echo "${ECHO_T}$CC" >&6
3519else
3520  echo "$as_me:$LINENO: result: no" >&5
3521echo "${ECHO_T}no" >&6
3522fi
3523
3524    test -n "$CC" && break
3525  done
3526fi
3527if test -z "$CC"; then
3528  ac_ct_CC=$CC
3529  for ac_prog in cl
3530do
3531  # Extract the first word of "$ac_prog", so it can be a program name with args.
3532set dummy $ac_prog; ac_word=$2
3533echo "$as_me:$LINENO: checking for $ac_word" >&5
3534echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3535if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3536  echo $ECHO_N "(cached) $ECHO_C" >&6
3537else
3538  if test -n "$ac_ct_CC"; then
3539  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3540else
3541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3542for as_dir in $PATH
3543do
3544  IFS=$as_save_IFS
3545  test -z "$as_dir" && as_dir=.
3546  for ac_exec_ext in '' $ac_executable_extensions; do
3547  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3548    ac_cv_prog_ac_ct_CC="$ac_prog"
3549    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3550    break 2
3551  fi
3552done
3553done
3554
3555fi
3556fi
3557ac_ct_CC=$ac_cv_prog_ac_ct_CC
3558if test -n "$ac_ct_CC"; then
3559  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3560echo "${ECHO_T}$ac_ct_CC" >&6
3561else
3562  echo "$as_me:$LINENO: result: no" >&5
3563echo "${ECHO_T}no" >&6
3564fi
3565
3566  test -n "$ac_ct_CC" && break
3567done
3568
3569  CC=$ac_ct_CC
3570fi
3571
3572fi
3573
3574
3575test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3576echo "$as_me: error: in \`$ac_pwd':" >&2;}
3577{ { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3578See \`config.log' for more details." >&5
3579echo "$as_me: error: no acceptable C compiler found in \$PATH
3580See \`config.log' for more details." >&2;}
3581   { (exit 1); exit 1; }; }; }
3582
3583# Provide some information about the compiler.
3584echo "$as_me:$LINENO:" \
3585     "checking for C compiler version" >&5
3586ac_compiler=`set X $ac_compile; echo $2`
3587{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3588  (eval $ac_compiler --version </dev/null >&5) 2>&5
3589  ac_status=$?
3590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591  (exit $ac_status); }
3592{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3593  (eval $ac_compiler -v </dev/null >&5) 2>&5
3594  ac_status=$?
3595  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596  (exit $ac_status); }
3597{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3598  (eval $ac_compiler -V </dev/null >&5) 2>&5
3599  ac_status=$?
3600  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601  (exit $ac_status); }
3602
3603echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3604echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3605if test "${ac_cv_c_compiler_gnu+set}" = set; then
3606  echo $ECHO_N "(cached) $ECHO_C" >&6
3607else
3608  cat >conftest.$ac_ext <<_ACEOF
3609/* confdefs.h.  */
3610_ACEOF
3611cat confdefs.h >>conftest.$ac_ext
3612cat >>conftest.$ac_ext <<_ACEOF
3613/* end confdefs.h.  */
3614
3615int
3616main ()
3617{
3618#ifndef __GNUC__
3619       choke me
3620#endif
3621
3622  ;
3623  return 0;
3624}
3625_ACEOF
3626rm -f conftest.$ac_objext
3627if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3628  (eval $ac_compile) 2>conftest.er1
3629  ac_status=$?
3630  grep -v '^ *+' conftest.er1 >conftest.err
3631  rm -f conftest.er1
3632  cat conftest.err >&5
3633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634  (exit $ac_status); } &&
3635	 { ac_try='test -z "$ac_c_werror_flag"
3636			 || test ! -s conftest.err'
3637  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638  (eval $ac_try) 2>&5
3639  ac_status=$?
3640  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641  (exit $ac_status); }; } &&
3642	 { ac_try='test -s conftest.$ac_objext'
3643  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644  (eval $ac_try) 2>&5
3645  ac_status=$?
3646  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647  (exit $ac_status); }; }; then
3648  ac_compiler_gnu=yes
3649else
3650  echo "$as_me: failed program was:" >&5
3651sed 's/^/| /' conftest.$ac_ext >&5
3652
3653ac_compiler_gnu=no
3654fi
3655rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3656ac_cv_c_compiler_gnu=$ac_compiler_gnu
3657
3658fi
3659echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3660echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3661GCC=`test $ac_compiler_gnu = yes && echo yes`
3662ac_test_CFLAGS=${CFLAGS+set}
3663ac_save_CFLAGS=$CFLAGS
3664CFLAGS="-g"
3665echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3666echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3667if test "${ac_cv_prog_cc_g+set}" = set; then
3668  echo $ECHO_N "(cached) $ECHO_C" >&6
3669else
3670  cat >conftest.$ac_ext <<_ACEOF
3671/* confdefs.h.  */
3672_ACEOF
3673cat confdefs.h >>conftest.$ac_ext
3674cat >>conftest.$ac_ext <<_ACEOF
3675/* end confdefs.h.  */
3676
3677int
3678main ()
3679{
3680
3681  ;
3682  return 0;
3683}
3684_ACEOF
3685rm -f conftest.$ac_objext
3686if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3687  (eval $ac_compile) 2>conftest.er1
3688  ac_status=$?
3689  grep -v '^ *+' conftest.er1 >conftest.err
3690  rm -f conftest.er1
3691  cat conftest.err >&5
3692  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693  (exit $ac_status); } &&
3694	 { ac_try='test -z "$ac_c_werror_flag"
3695			 || test ! -s conftest.err'
3696  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697  (eval $ac_try) 2>&5
3698  ac_status=$?
3699  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700  (exit $ac_status); }; } &&
3701	 { ac_try='test -s conftest.$ac_objext'
3702  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703  (eval $ac_try) 2>&5
3704  ac_status=$?
3705  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706  (exit $ac_status); }; }; then
3707  ac_cv_prog_cc_g=yes
3708else
3709  echo "$as_me: failed program was:" >&5
3710sed 's/^/| /' conftest.$ac_ext >&5
3711
3712ac_cv_prog_cc_g=no
3713fi
3714rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3715fi
3716echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3717echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3718if test "$ac_test_CFLAGS" = set; then
3719  CFLAGS=$ac_save_CFLAGS
3720elif test $ac_cv_prog_cc_g = yes; then
3721  if test "$GCC" = yes; then
3722    CFLAGS="-g -O2"
3723  else
3724    CFLAGS="-g"
3725  fi
3726else
3727  if test "$GCC" = yes; then
3728    CFLAGS="-O2"
3729  else
3730    CFLAGS=
3731  fi
3732fi
3733echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3734echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3735if test "${ac_cv_prog_cc_stdc+set}" = set; then
3736  echo $ECHO_N "(cached) $ECHO_C" >&6
3737else
3738  ac_cv_prog_cc_stdc=no
3739ac_save_CC=$CC
3740cat >conftest.$ac_ext <<_ACEOF
3741/* confdefs.h.  */
3742_ACEOF
3743cat confdefs.h >>conftest.$ac_ext
3744cat >>conftest.$ac_ext <<_ACEOF
3745/* end confdefs.h.  */
3746#include <stdarg.h>
3747#include <stdio.h>
3748#include <sys/types.h>
3749#include <sys/stat.h>
3750/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3751struct buf { int x; };
3752FILE * (*rcsopen) (struct buf *, struct stat *, int);
3753static char *e (p, i)
3754     char **p;
3755     int i;
3756{
3757  return p[i];
3758}
3759static char *f (char * (*g) (char **, int), char **p, ...)
3760{
3761  char *s;
3762  va_list v;
3763  va_start (v,p);
3764  s = g (p, va_arg (v,int));
3765  va_end (v);
3766  return s;
3767}
3768
3769/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3770   function prototypes and stuff, but not '\xHH' hex character constants.
3771   These don't provoke an error unfortunately, instead are silently treated
3772   as 'x'.  The following induces an error, until -std1 is added to get
3773   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3774   array size at least.  It's necessary to write '\x00'==0 to get something
3775   that's true only with -std1.  */
3776int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3777
3778int test (int i, double x);
3779struct s1 {int (*f) (int a);};
3780struct s2 {int (*f) (double a);};
3781int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3782int argc;
3783char **argv;
3784int
3785main ()
3786{
3787return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3788  ;
3789  return 0;
3790}
3791_ACEOF
3792# Don't try gcc -ansi; that turns off useful extensions and
3793# breaks some systems' header files.
3794# AIX			-qlanglvl=ansi
3795# Ultrix and OSF/1	-std1
3796# HP-UX 10.20 and later	-Ae
3797# HP-UX older versions	-Aa -D_HPUX_SOURCE
3798# SVR4			-Xc -D__EXTENSIONS__
3799for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3800do
3801  CC="$ac_save_CC $ac_arg"
3802  rm -f conftest.$ac_objext
3803if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3804  (eval $ac_compile) 2>conftest.er1
3805  ac_status=$?
3806  grep -v '^ *+' conftest.er1 >conftest.err
3807  rm -f conftest.er1
3808  cat conftest.err >&5
3809  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810  (exit $ac_status); } &&
3811	 { ac_try='test -z "$ac_c_werror_flag"
3812			 || test ! -s conftest.err'
3813  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814  (eval $ac_try) 2>&5
3815  ac_status=$?
3816  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817  (exit $ac_status); }; } &&
3818	 { ac_try='test -s conftest.$ac_objext'
3819  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820  (eval $ac_try) 2>&5
3821  ac_status=$?
3822  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823  (exit $ac_status); }; }; then
3824  ac_cv_prog_cc_stdc=$ac_arg
3825break
3826else
3827  echo "$as_me: failed program was:" >&5
3828sed 's/^/| /' conftest.$ac_ext >&5
3829
3830fi
3831rm -f conftest.err conftest.$ac_objext
3832done
3833rm -f conftest.$ac_ext conftest.$ac_objext
3834CC=$ac_save_CC
3835
3836fi
3837
3838case "x$ac_cv_prog_cc_stdc" in
3839  x|xno)
3840    echo "$as_me:$LINENO: result: none needed" >&5
3841echo "${ECHO_T}none needed" >&6 ;;
3842  *)
3843    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3844echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3845    CC="$CC $ac_cv_prog_cc_stdc" ;;
3846esac
3847
3848# Some people use a C++ compiler to compile C.  Since we use `exit',
3849# in C++ we need to declare it.  In case someone uses the same compiler
3850# for both compiling C and C++ we need to have the C++ compiler decide
3851# the declaration of exit, since it's the most demanding environment.
3852cat >conftest.$ac_ext <<_ACEOF
3853#ifndef __cplusplus
3854  choke me
3855#endif
3856_ACEOF
3857rm -f conftest.$ac_objext
3858if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3859  (eval $ac_compile) 2>conftest.er1
3860  ac_status=$?
3861  grep -v '^ *+' conftest.er1 >conftest.err
3862  rm -f conftest.er1
3863  cat conftest.err >&5
3864  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865  (exit $ac_status); } &&
3866	 { ac_try='test -z "$ac_c_werror_flag"
3867			 || test ! -s conftest.err'
3868  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3869  (eval $ac_try) 2>&5
3870  ac_status=$?
3871  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872  (exit $ac_status); }; } &&
3873	 { ac_try='test -s conftest.$ac_objext'
3874  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3875  (eval $ac_try) 2>&5
3876  ac_status=$?
3877  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878  (exit $ac_status); }; }; then
3879  for ac_declaration in \
3880   '' \
3881   'extern "C" void std::exit (int) throw (); using std::exit;' \
3882   'extern "C" void std::exit (int); using std::exit;' \
3883   'extern "C" void exit (int) throw ();' \
3884   'extern "C" void exit (int);' \
3885   'void exit (int);'
3886do
3887  cat >conftest.$ac_ext <<_ACEOF
3888/* confdefs.h.  */
3889_ACEOF
3890cat confdefs.h >>conftest.$ac_ext
3891cat >>conftest.$ac_ext <<_ACEOF
3892/* end confdefs.h.  */
3893$ac_declaration
3894#include <stdlib.h>
3895int
3896main ()
3897{
3898exit (42);
3899  ;
3900  return 0;
3901}
3902_ACEOF
3903rm -f conftest.$ac_objext
3904if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3905  (eval $ac_compile) 2>conftest.er1
3906  ac_status=$?
3907  grep -v '^ *+' conftest.er1 >conftest.err
3908  rm -f conftest.er1
3909  cat conftest.err >&5
3910  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911  (exit $ac_status); } &&
3912	 { ac_try='test -z "$ac_c_werror_flag"
3913			 || test ! -s conftest.err'
3914  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3915  (eval $ac_try) 2>&5
3916  ac_status=$?
3917  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918  (exit $ac_status); }; } &&
3919	 { ac_try='test -s conftest.$ac_objext'
3920  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3921  (eval $ac_try) 2>&5
3922  ac_status=$?
3923  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924  (exit $ac_status); }; }; then
3925  :
3926else
3927  echo "$as_me: failed program was:" >&5
3928sed 's/^/| /' conftest.$ac_ext >&5
3929
3930continue
3931fi
3932rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3933  cat >conftest.$ac_ext <<_ACEOF
3934/* confdefs.h.  */
3935_ACEOF
3936cat confdefs.h >>conftest.$ac_ext
3937cat >>conftest.$ac_ext <<_ACEOF
3938/* end confdefs.h.  */
3939$ac_declaration
3940int
3941main ()
3942{
3943exit (42);
3944  ;
3945  return 0;
3946}
3947_ACEOF
3948rm -f conftest.$ac_objext
3949if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3950  (eval $ac_compile) 2>conftest.er1
3951  ac_status=$?
3952  grep -v '^ *+' conftest.er1 >conftest.err
3953  rm -f conftest.er1
3954  cat conftest.err >&5
3955  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956  (exit $ac_status); } &&
3957	 { ac_try='test -z "$ac_c_werror_flag"
3958			 || test ! -s conftest.err'
3959  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960  (eval $ac_try) 2>&5
3961  ac_status=$?
3962  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963  (exit $ac_status); }; } &&
3964	 { ac_try='test -s conftest.$ac_objext'
3965  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3966  (eval $ac_try) 2>&5
3967  ac_status=$?
3968  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969  (exit $ac_status); }; }; then
3970  break
3971else
3972  echo "$as_me: failed program was:" >&5
3973sed 's/^/| /' conftest.$ac_ext >&5
3974
3975fi
3976rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3977done
3978rm -f conftest*
3979if test -n "$ac_declaration"; then
3980  echo '#ifdef __cplusplus' >>confdefs.h
3981  echo $ac_declaration      >>confdefs.h
3982  echo '#endif'             >>confdefs.h
3983fi
3984
3985else
3986  echo "$as_me: failed program was:" >&5
3987sed 's/^/| /' conftest.$ac_ext >&5
3988
3989fi
3990rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3991ac_ext=c
3992ac_cpp='$CPP $CPPFLAGS'
3993ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3994ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3995ac_compiler_gnu=$ac_cv_c_compiler_gnu
3996
3997
3998cat >>confdefs.h <<\_ACEOF
3999#define _GNU_SOURCE 1
4000_ACEOF
4001
4002
4003ac_ext=c
4004ac_cpp='$CPP $CPPFLAGS'
4005ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4006ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4007ac_compiler_gnu=$ac_cv_c_compiler_gnu
4008echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4009echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4010# On Suns, sometimes $CPP names a directory.
4011if test -n "$CPP" && test -d "$CPP"; then
4012  CPP=
4013fi
4014if test -z "$CPP"; then
4015  if test "${ac_cv_prog_CPP+set}" = set; then
4016  echo $ECHO_N "(cached) $ECHO_C" >&6
4017else
4018      # Double quotes because CPP needs to be expanded
4019    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4020    do
4021      ac_preproc_ok=false
4022for ac_c_preproc_warn_flag in '' yes
4023do
4024  # Use a header file that comes with gcc, so configuring glibc
4025  # with a fresh cross-compiler works.
4026  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4027  # <limits.h> exists even on freestanding compilers.
4028  # On the NeXT, cc -E runs the code through the compiler's parser,
4029  # not just through cpp. "Syntax error" is here to catch this case.
4030  cat >conftest.$ac_ext <<_ACEOF
4031/* confdefs.h.  */
4032_ACEOF
4033cat confdefs.h >>conftest.$ac_ext
4034cat >>conftest.$ac_ext <<_ACEOF
4035/* end confdefs.h.  */
4036#ifdef __STDC__
4037# include <limits.h>
4038#else
4039# include <assert.h>
4040#endif
4041		     Syntax error
4042_ACEOF
4043if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4044  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4045  ac_status=$?
4046  grep -v '^ *+' conftest.er1 >conftest.err
4047  rm -f conftest.er1
4048  cat conftest.err >&5
4049  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050  (exit $ac_status); } >/dev/null; then
4051  if test -s conftest.err; then
4052    ac_cpp_err=$ac_c_preproc_warn_flag
4053    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4054  else
4055    ac_cpp_err=
4056  fi
4057else
4058  ac_cpp_err=yes
4059fi
4060if test -z "$ac_cpp_err"; then
4061  :
4062else
4063  echo "$as_me: failed program was:" >&5
4064sed 's/^/| /' conftest.$ac_ext >&5
4065
4066  # Broken: fails on valid input.
4067continue
4068fi
4069rm -f conftest.err conftest.$ac_ext
4070
4071  # OK, works on sane cases.  Now check whether non-existent headers
4072  # can be detected and how.
4073  cat >conftest.$ac_ext <<_ACEOF
4074/* confdefs.h.  */
4075_ACEOF
4076cat confdefs.h >>conftest.$ac_ext
4077cat >>conftest.$ac_ext <<_ACEOF
4078/* end confdefs.h.  */
4079#include <ac_nonexistent.h>
4080_ACEOF
4081if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4082  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4083  ac_status=$?
4084  grep -v '^ *+' conftest.er1 >conftest.err
4085  rm -f conftest.er1
4086  cat conftest.err >&5
4087  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088  (exit $ac_status); } >/dev/null; then
4089  if test -s conftest.err; then
4090    ac_cpp_err=$ac_c_preproc_warn_flag
4091    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4092  else
4093    ac_cpp_err=
4094  fi
4095else
4096  ac_cpp_err=yes
4097fi
4098if test -z "$ac_cpp_err"; then
4099  # Broken: success on invalid input.
4100continue
4101else
4102  echo "$as_me: failed program was:" >&5
4103sed 's/^/| /' conftest.$ac_ext >&5
4104
4105  # Passes both tests.
4106ac_preproc_ok=:
4107break
4108fi
4109rm -f conftest.err conftest.$ac_ext
4110
4111done
4112# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4113rm -f conftest.err conftest.$ac_ext
4114if $ac_preproc_ok; then
4115  break
4116fi
4117
4118    done
4119    ac_cv_prog_CPP=$CPP
4120
4121fi
4122  CPP=$ac_cv_prog_CPP
4123else
4124  ac_cv_prog_CPP=$CPP
4125fi
4126echo "$as_me:$LINENO: result: $CPP" >&5
4127echo "${ECHO_T}$CPP" >&6
4128ac_preproc_ok=false
4129for ac_c_preproc_warn_flag in '' yes
4130do
4131  # Use a header file that comes with gcc, so configuring glibc
4132  # with a fresh cross-compiler works.
4133  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4134  # <limits.h> exists even on freestanding compilers.
4135  # On the NeXT, cc -E runs the code through the compiler's parser,
4136  # not just through cpp. "Syntax error" is here to catch this case.
4137  cat >conftest.$ac_ext <<_ACEOF
4138/* confdefs.h.  */
4139_ACEOF
4140cat confdefs.h >>conftest.$ac_ext
4141cat >>conftest.$ac_ext <<_ACEOF
4142/* end confdefs.h.  */
4143#ifdef __STDC__
4144# include <limits.h>
4145#else
4146# include <assert.h>
4147#endif
4148		     Syntax error
4149_ACEOF
4150if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4151  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4152  ac_status=$?
4153  grep -v '^ *+' conftest.er1 >conftest.err
4154  rm -f conftest.er1
4155  cat conftest.err >&5
4156  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157  (exit $ac_status); } >/dev/null; then
4158  if test -s conftest.err; then
4159    ac_cpp_err=$ac_c_preproc_warn_flag
4160    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4161  else
4162    ac_cpp_err=
4163  fi
4164else
4165  ac_cpp_err=yes
4166fi
4167if test -z "$ac_cpp_err"; then
4168  :
4169else
4170  echo "$as_me: failed program was:" >&5
4171sed 's/^/| /' conftest.$ac_ext >&5
4172
4173  # Broken: fails on valid input.
4174continue
4175fi
4176rm -f conftest.err conftest.$ac_ext
4177
4178  # OK, works on sane cases.  Now check whether non-existent headers
4179  # can be detected and how.
4180  cat >conftest.$ac_ext <<_ACEOF
4181/* confdefs.h.  */
4182_ACEOF
4183cat confdefs.h >>conftest.$ac_ext
4184cat >>conftest.$ac_ext <<_ACEOF
4185/* end confdefs.h.  */
4186#include <ac_nonexistent.h>
4187_ACEOF
4188if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4189  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4190  ac_status=$?
4191  grep -v '^ *+' conftest.er1 >conftest.err
4192  rm -f conftest.er1
4193  cat conftest.err >&5
4194  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195  (exit $ac_status); } >/dev/null; then
4196  if test -s conftest.err; then
4197    ac_cpp_err=$ac_c_preproc_warn_flag
4198    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4199  else
4200    ac_cpp_err=
4201  fi
4202else
4203  ac_cpp_err=yes
4204fi
4205if test -z "$ac_cpp_err"; then
4206  # Broken: success on invalid input.
4207continue
4208else
4209  echo "$as_me: failed program was:" >&5
4210sed 's/^/| /' conftest.$ac_ext >&5
4211
4212  # Passes both tests.
4213ac_preproc_ok=:
4214break
4215fi
4216rm -f conftest.err conftest.$ac_ext
4217
4218done
4219# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4220rm -f conftest.err conftest.$ac_ext
4221if $ac_preproc_ok; then
4222  :
4223else
4224  { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4225echo "$as_me: error: in \`$ac_pwd':" >&2;}
4226{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4227See \`config.log' for more details." >&5
4228echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4229See \`config.log' for more details." >&2;}
4230   { (exit 1); exit 1; }; }; }
4231fi
4232
4233ac_ext=c
4234ac_cpp='$CPP $CPPFLAGS'
4235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4237ac_compiler_gnu=$ac_cv_c_compiler_gnu
4238
4239
4240echo "$as_me:$LINENO: checking for egrep" >&5
4241echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4242if test "${ac_cv_prog_egrep+set}" = set; then
4243  echo $ECHO_N "(cached) $ECHO_C" >&6
4244else
4245  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4246    then ac_cv_prog_egrep='grep -E'
4247    else ac_cv_prog_egrep='egrep'
4248    fi
4249fi
4250echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4251echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4252 EGREP=$ac_cv_prog_egrep
4253
4254
4255echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4256echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4257if test "${ac_cv_header_stdc+set}" = set; then
4258  echo $ECHO_N "(cached) $ECHO_C" >&6
4259else
4260  cat >conftest.$ac_ext <<_ACEOF
4261/* confdefs.h.  */
4262_ACEOF
4263cat confdefs.h >>conftest.$ac_ext
4264cat >>conftest.$ac_ext <<_ACEOF
4265/* end confdefs.h.  */
4266#include <stdlib.h>
4267#include <stdarg.h>
4268#include <string.h>
4269#include <float.h>
4270
4271int
4272main ()
4273{
4274
4275  ;
4276  return 0;
4277}
4278_ACEOF
4279rm -f conftest.$ac_objext
4280if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4281  (eval $ac_compile) 2>conftest.er1
4282  ac_status=$?
4283  grep -v '^ *+' conftest.er1 >conftest.err
4284  rm -f conftest.er1
4285  cat conftest.err >&5
4286  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287  (exit $ac_status); } &&
4288	 { ac_try='test -z "$ac_c_werror_flag"
4289			 || test ! -s conftest.err'
4290  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4291  (eval $ac_try) 2>&5
4292  ac_status=$?
4293  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294  (exit $ac_status); }; } &&
4295	 { ac_try='test -s conftest.$ac_objext'
4296  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4297  (eval $ac_try) 2>&5
4298  ac_status=$?
4299  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300  (exit $ac_status); }; }; then
4301  ac_cv_header_stdc=yes
4302else
4303  echo "$as_me: failed program was:" >&5
4304sed 's/^/| /' conftest.$ac_ext >&5
4305
4306ac_cv_header_stdc=no
4307fi
4308rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4309
4310if test $ac_cv_header_stdc = yes; then
4311  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4312  cat >conftest.$ac_ext <<_ACEOF
4313/* confdefs.h.  */
4314_ACEOF
4315cat confdefs.h >>conftest.$ac_ext
4316cat >>conftest.$ac_ext <<_ACEOF
4317/* end confdefs.h.  */
4318#include <string.h>
4319
4320_ACEOF
4321if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4322  $EGREP "memchr" >/dev/null 2>&1; then
4323  :
4324else
4325  ac_cv_header_stdc=no
4326fi
4327rm -f conftest*
4328
4329fi
4330
4331if test $ac_cv_header_stdc = yes; then
4332  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4333  cat >conftest.$ac_ext <<_ACEOF
4334/* confdefs.h.  */
4335_ACEOF
4336cat confdefs.h >>conftest.$ac_ext
4337cat >>conftest.$ac_ext <<_ACEOF
4338/* end confdefs.h.  */
4339#include <stdlib.h>
4340
4341_ACEOF
4342if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4343  $EGREP "free" >/dev/null 2>&1; then
4344  :
4345else
4346  ac_cv_header_stdc=no
4347fi
4348rm -f conftest*
4349
4350fi
4351
4352if test $ac_cv_header_stdc = yes; then
4353  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4354  if test "$cross_compiling" = yes; then
4355  :
4356else
4357  cat >conftest.$ac_ext <<_ACEOF
4358/* confdefs.h.  */
4359_ACEOF
4360cat confdefs.h >>conftest.$ac_ext
4361cat >>conftest.$ac_ext <<_ACEOF
4362/* end confdefs.h.  */
4363#include <ctype.h>
4364#if ((' ' & 0x0FF) == 0x020)
4365# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4366# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4367#else
4368# define ISLOWER(c) \
4369		   (('a' <= (c) && (c) <= 'i') \
4370		     || ('j' <= (c) && (c) <= 'r') \
4371		     || ('s' <= (c) && (c) <= 'z'))
4372# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4373#endif
4374
4375#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4376int
4377main ()
4378{
4379  int i;
4380  for (i = 0; i < 256; i++)
4381    if (XOR (islower (i), ISLOWER (i))
4382	|| toupper (i) != TOUPPER (i))
4383      exit(2);
4384  exit (0);
4385}
4386_ACEOF
4387rm -f conftest$ac_exeext
4388if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4389  (eval $ac_link) 2>&5
4390  ac_status=$?
4391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4393  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4394  (eval $ac_try) 2>&5
4395  ac_status=$?
4396  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397  (exit $ac_status); }; }; then
4398  :
4399else
4400  echo "$as_me: program exited with status $ac_status" >&5
4401echo "$as_me: failed program was:" >&5
4402sed 's/^/| /' conftest.$ac_ext >&5
4403
4404( exit $ac_status )
4405ac_cv_header_stdc=no
4406fi
4407rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4408fi
4409fi
4410fi
4411echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4412echo "${ECHO_T}$ac_cv_header_stdc" >&6
4413if test $ac_cv_header_stdc = yes; then
4414
4415cat >>confdefs.h <<\_ACEOF
4416#define STDC_HEADERS 1
4417_ACEOF
4418
4419fi
4420
4421# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4432		  inttypes.h stdint.h unistd.h
4433do
4434as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4435echo "$as_me:$LINENO: checking for $ac_header" >&5
4436echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4437if eval "test \"\${$as_ac_Header+set}\" = set"; then
4438  echo $ECHO_N "(cached) $ECHO_C" >&6
4439else
4440  cat >conftest.$ac_ext <<_ACEOF
4441/* confdefs.h.  */
4442_ACEOF
4443cat confdefs.h >>conftest.$ac_ext
4444cat >>conftest.$ac_ext <<_ACEOF
4445/* end confdefs.h.  */
4446$ac_includes_default
4447
4448#include <$ac_header>
4449_ACEOF
4450rm -f conftest.$ac_objext
4451if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4452  (eval $ac_compile) 2>conftest.er1
4453  ac_status=$?
4454  grep -v '^ *+' conftest.er1 >conftest.err
4455  rm -f conftest.er1
4456  cat conftest.err >&5
4457  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458  (exit $ac_status); } &&
4459	 { ac_try='test -z "$ac_c_werror_flag"
4460			 || test ! -s conftest.err'
4461  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4462  (eval $ac_try) 2>&5
4463  ac_status=$?
4464  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465  (exit $ac_status); }; } &&
4466	 { ac_try='test -s conftest.$ac_objext'
4467  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4468  (eval $ac_try) 2>&5
4469  ac_status=$?
4470  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471  (exit $ac_status); }; }; then
4472  eval "$as_ac_Header=yes"
4473else
4474  echo "$as_me: failed program was:" >&5
4475sed 's/^/| /' conftest.$ac_ext >&5
4476
4477eval "$as_ac_Header=no"
4478fi
4479rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4480fi
4481echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4482echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4483if test `eval echo '${'$as_ac_Header'}'` = yes; then
4484  cat >>confdefs.h <<_ACEOF
4485#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4486_ACEOF
4487
4488fi
4489
4490done
4491
4492
4493
4494  if test "${ac_cv_header_minix_config_h+set}" = set; then
4495  echo "$as_me:$LINENO: checking for minix/config.h" >&5
4496echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4497if test "${ac_cv_header_minix_config_h+set}" = set; then
4498  echo $ECHO_N "(cached) $ECHO_C" >&6
4499fi
4500echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4501echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4502else
4503  # Is the header compilable?
4504echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4505echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
4506cat >conftest.$ac_ext <<_ACEOF
4507/* confdefs.h.  */
4508_ACEOF
4509cat confdefs.h >>conftest.$ac_ext
4510cat >>conftest.$ac_ext <<_ACEOF
4511/* end confdefs.h.  */
4512$ac_includes_default
4513#include <minix/config.h>
4514_ACEOF
4515rm -f conftest.$ac_objext
4516if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4517  (eval $ac_compile) 2>conftest.er1
4518  ac_status=$?
4519  grep -v '^ *+' conftest.er1 >conftest.err
4520  rm -f conftest.er1
4521  cat conftest.err >&5
4522  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523  (exit $ac_status); } &&
4524	 { ac_try='test -z "$ac_c_werror_flag"
4525			 || test ! -s conftest.err'
4526  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527  (eval $ac_try) 2>&5
4528  ac_status=$?
4529  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530  (exit $ac_status); }; } &&
4531	 { ac_try='test -s conftest.$ac_objext'
4532  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533  (eval $ac_try) 2>&5
4534  ac_status=$?
4535  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536  (exit $ac_status); }; }; then
4537  ac_header_compiler=yes
4538else
4539  echo "$as_me: failed program was:" >&5
4540sed 's/^/| /' conftest.$ac_ext >&5
4541
4542ac_header_compiler=no
4543fi
4544rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4545echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4546echo "${ECHO_T}$ac_header_compiler" >&6
4547
4548# Is the header present?
4549echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4550echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
4551cat >conftest.$ac_ext <<_ACEOF
4552/* confdefs.h.  */
4553_ACEOF
4554cat confdefs.h >>conftest.$ac_ext
4555cat >>conftest.$ac_ext <<_ACEOF
4556/* end confdefs.h.  */
4557#include <minix/config.h>
4558_ACEOF
4559if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4560  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4561  ac_status=$?
4562  grep -v '^ *+' conftest.er1 >conftest.err
4563  rm -f conftest.er1
4564  cat conftest.err >&5
4565  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566  (exit $ac_status); } >/dev/null; then
4567  if test -s conftest.err; then
4568    ac_cpp_err=$ac_c_preproc_warn_flag
4569    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4570  else
4571    ac_cpp_err=
4572  fi
4573else
4574  ac_cpp_err=yes
4575fi
4576if test -z "$ac_cpp_err"; then
4577  ac_header_preproc=yes
4578else
4579  echo "$as_me: failed program was:" >&5
4580sed 's/^/| /' conftest.$ac_ext >&5
4581
4582  ac_header_preproc=no
4583fi
4584rm -f conftest.err conftest.$ac_ext
4585echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4586echo "${ECHO_T}$ac_header_preproc" >&6
4587
4588# So?  What about this header?
4589case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4590  yes:no: )
4591    { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4592echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4593    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4594echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4595    ac_header_preproc=yes
4596    ;;
4597  no:yes:* )
4598    { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4599echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4600    { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
4601echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
4602    { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4603echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4604    { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
4605echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
4606    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4607echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4608    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4609echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4610    (
4611      cat <<\_ASBOX
4612## ------------------------------------------ ##
4613## Report this to the AC_PACKAGE_NAME lists.  ##
4614## ------------------------------------------ ##
4615_ASBOX
4616    ) |
4617      sed "s/^/$as_me: WARNING:     /" >&2
4618    ;;
4619esac
4620echo "$as_me:$LINENO: checking for minix/config.h" >&5
4621echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4622if test "${ac_cv_header_minix_config_h+set}" = set; then
4623  echo $ECHO_N "(cached) $ECHO_C" >&6
4624else
4625  ac_cv_header_minix_config_h=$ac_header_preproc
4626fi
4627echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4628echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4629
4630fi
4631if test $ac_cv_header_minix_config_h = yes; then
4632  MINIX=yes
4633else
4634  MINIX=
4635fi
4636
4637
4638  if test "$MINIX" = yes; then
4639
4640cat >>confdefs.h <<\_ACEOF
4641#define _POSIX_SOURCE 1
4642_ACEOF
4643
4644
4645cat >>confdefs.h <<\_ACEOF
4646#define _POSIX_1_SOURCE 2
4647_ACEOF
4648
4649
4650cat >>confdefs.h <<\_ACEOF
4651#define _MINIX 1
4652_ACEOF
4653
4654  fi
4655
4656
4657
4658  echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4659echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
4660if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4661  echo $ECHO_N "(cached) $ECHO_C" >&6
4662else
4663  cat >conftest.$ac_ext <<_ACEOF
4664/* confdefs.h.  */
4665_ACEOF
4666cat confdefs.h >>conftest.$ac_ext
4667cat >>conftest.$ac_ext <<_ACEOF
4668/* end confdefs.h.  */
4669
4670#	  define __EXTENSIONS__ 1
4671	  $ac_includes_default
4672int
4673main ()
4674{
4675
4676  ;
4677  return 0;
4678}
4679_ACEOF
4680rm -f conftest.$ac_objext
4681if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4682  (eval $ac_compile) 2>conftest.er1
4683  ac_status=$?
4684  grep -v '^ *+' conftest.er1 >conftest.err
4685  rm -f conftest.er1
4686  cat conftest.err >&5
4687  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688  (exit $ac_status); } &&
4689	 { ac_try='test -z "$ac_c_werror_flag"
4690			 || test ! -s conftest.err'
4691  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4692  (eval $ac_try) 2>&5
4693  ac_status=$?
4694  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695  (exit $ac_status); }; } &&
4696	 { ac_try='test -s conftest.$ac_objext'
4697  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4698  (eval $ac_try) 2>&5
4699  ac_status=$?
4700  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701  (exit $ac_status); }; }; then
4702  ac_cv_safe_to_define___extensions__=yes
4703else
4704  echo "$as_me: failed program was:" >&5
4705sed 's/^/| /' conftest.$ac_ext >&5
4706
4707ac_cv_safe_to_define___extensions__=no
4708fi
4709rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4710fi
4711echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4712echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
4713  test $ac_cv_safe_to_define___extensions__ = yes &&
4714    cat >>confdefs.h <<\_ACEOF
4715#define __EXTENSIONS__ 1
4716_ACEOF
4717
4718  cat >>confdefs.h <<\_ACEOF
4719#define _ALL_SOURCE 1
4720_ACEOF
4721
4722  cat >>confdefs.h <<\_ACEOF
4723#define _GNU_SOURCE 1
4724_ACEOF
4725
4726  cat >>confdefs.h <<\_ACEOF
4727#define _POSIX_PTHREAD_SEMANTICS 1
4728_ACEOF
4729
4730  cat >>confdefs.h <<\_ACEOF
4731#define _TANDEM_SOURCE 1
4732_ACEOF
4733
4734
4735# Find a good install program.  We prefer a C program (faster),
4736# so one script is as good as another.  But avoid the broken or
4737# incompatible versions:
4738# SysV /etc/install, /usr/sbin/install
4739# SunOS /usr/etc/install
4740# IRIX /sbin/install
4741# AIX /bin/install
4742# AmigaOS /C/install, which installs bootblocks on floppy discs
4743# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4744# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4745# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4746# OS/2's system install, which has a completely different semantic
4747# ./install, which can be erroneously created by make from ./install.sh.
4748# Reject install programs that cannot install multiple files.
4749echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4750echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4751if test -z "$INSTALL"; then
4752if test "${ac_cv_path_install+set}" = set; then
4753  echo $ECHO_N "(cached) $ECHO_C" >&6
4754else
4755  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756for as_dir in $PATH
4757do
4758  IFS=$as_save_IFS
4759  test -z "$as_dir" && as_dir=.
4760  # Account for people who put trailing slashes in PATH elements.
4761case $as_dir/ in
4762  ./ | .// | /cC/* | \
4763  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4764  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4765  /usr/ucb/* ) ;;
4766  *)
4767    # OSF1 and SCO ODT 3.0 have their own names for install.
4768    # Don't use installbsd from OSF since it installs stuff as root
4769    # by default.
4770    for ac_prog in ginstall scoinst install; do
4771      for ac_exec_ext in '' $ac_executable_extensions; do
4772	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4773	  if test $ac_prog = install &&
4774	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4775	    # AIX install.  It has an incompatible calling convention.
4776	    :
4777	  elif test $ac_prog = install &&
4778	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4779	    # program-specific install script used by HP pwplus--don't use.
4780	    :
4781	  else
4782	    rm -rf conftest.one conftest.two conftest.dir
4783	    echo one > conftest.one
4784	    echo two > conftest.two
4785	    mkdir conftest.dir
4786	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4787	      test -s conftest.one && test -s conftest.two &&
4788	      test -s conftest.dir/conftest.one &&
4789	      test -s conftest.dir/conftest.two
4790	    then
4791	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4792	      break 3
4793	    fi
4794	  fi
4795	fi
4796      done
4797    done
4798    ;;
4799esac
4800done
4801
4802rm -rf conftest.one conftest.two conftest.dir
4803
4804fi
4805  if test "${ac_cv_path_install+set}" = set; then
4806    INSTALL=$ac_cv_path_install
4807  else
4808    # As a last resort, use the slow shell script.  Don't cache a
4809    # value for INSTALL within a source directory, because that will
4810    # break other packages using the cache if that directory is
4811    # removed, or if the value is a relative name.
4812    INSTALL=$ac_install_sh
4813  fi
4814fi
4815echo "$as_me:$LINENO: result: $INSTALL" >&5
4816echo "${ECHO_T}$INSTALL" >&6
4817
4818# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4819# It thinks the first close brace ends the variable substitution.
4820test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4821
4822test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4823
4824test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4825
4826
4827
4828
4829macro_version='2.1a'
4830macro_revision='1.2435'
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843ltmain="$ac_aux_dir/ltmain.sh"
4844
4845# Set options
4846
4847enable_dlopen=no
4848
4849
4850enable_win32_dll=no
4851
4852
4853# Check whether --enable-shared or --disable-shared was given.
4854if test "${enable_shared+set}" = set; then
4855  enableval="$enable_shared"
4856  p=${PACKAGE-default}
4857    case $enableval in
4858    yes) enable_shared=yes ;;
4859    no) enable_shared=no ;;
4860    *)
4861      enable_shared=no
4862      # Look at the argument we got.  We use all the common list separators.
4863      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4864      for pkg in $enableval; do
4865	IFS="$lt_save_ifs"
4866	if test "X$pkg" = "X$p"; then
4867	  enable_shared=yes
4868	fi
4869      done
4870      IFS="$lt_save_ifs"
4871      ;;
4872    esac
4873else
4874  enable_shared=yes
4875fi;
4876
4877
4878
4879
4880
4881
4882
4883
4884# Check whether --enable-static or --disable-static was given.
4885if test "${enable_static+set}" = set; then
4886  enableval="$enable_static"
4887  p=${PACKAGE-default}
4888    case $enableval in
4889    yes) enable_static=yes ;;
4890    no) enable_static=no ;;
4891    *)
4892     enable_static=no
4893      # Look at the argument we got.  We use all the common list separators.
4894      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4895      for pkg in $enableval; do
4896	IFS="$lt_save_ifs"
4897	if test "X$pkg" = "X$p"; then
4898	  enable_static=yes
4899	fi
4900      done
4901      IFS="$lt_save_ifs"
4902      ;;
4903    esac
4904else
4905  enable_static=yes
4906fi;
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916# Check whether --with-pic or --without-pic was given.
4917if test "${with_pic+set}" = set; then
4918  withval="$with_pic"
4919  pic_mode="$withval"
4920else
4921  pic_mode=default
4922fi;
4923
4924test -z "$pic_mode" && pic_mode=default
4925
4926
4927
4928
4929
4930
4931
4932# Check whether --enable-fast-install or --disable-fast-install was given.
4933if test "${enable_fast_install+set}" = set; then
4934  enableval="$enable_fast_install"
4935  p=${PACKAGE-default}
4936    case $enableval in
4937    yes) enable_fast_install=yes ;;
4938    no) enable_fast_install=no ;;
4939    *)
4940      enable_fast_install=no
4941      # Look at the argument we got.  We use all the common list separators.
4942      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4943      for pkg in $enableval; do
4944	IFS="$lt_save_ifs"
4945	if test "X$pkg" = "X$p"; then
4946	  enable_fast_install=yes
4947	fi
4948      done
4949      IFS="$lt_save_ifs"
4950      ;;
4951    esac
4952else
4953  enable_fast_install=yes
4954fi;
4955
4956
4957
4958
4959
4960
4961
4962
4963echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4964echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4965if test "${lt_cv_path_SED+set}" = set; then
4966  echo $ECHO_N "(cached) $ECHO_C" >&6
4967else
4968  # Loop through the user's path and test for sed and gsed.
4969# Then use that list of sed's as ones to test for truncation.
4970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971for as_dir in $PATH
4972do
4973  IFS=$as_save_IFS
4974  test -z "$as_dir" && as_dir=.
4975  for lt_ac_prog in sed gsed; do
4976    for ac_exec_ext in '' $ac_executable_extensions; do
4977      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4978        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4979      fi
4980    done
4981  done
4982done
4983IFS=$as_save_IFS
4984lt_ac_max=0
4985lt_ac_count=0
4986# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4987# along with /bin/sed that truncates output.
4988for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4989  test ! -f $lt_ac_sed && continue
4990  cat /dev/null > conftest.in
4991  lt_ac_count=0
4992  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4993  # Check for GNU sed and select it if it is found.
4994  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4995    lt_cv_path_SED=$lt_ac_sed
4996    break
4997  fi
4998  while true; do
4999    cat conftest.in conftest.in >conftest.tmp
5000    mv conftest.tmp conftest.in
5001    cp conftest.in conftest.nl
5002    echo >>conftest.nl
5003    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5004    cmp -s conftest.out conftest.nl || break
5005    # 10000 chars as input seems more than enough
5006    test $lt_ac_count -gt 10 && break
5007    lt_ac_count=`expr $lt_ac_count + 1`
5008    if test $lt_ac_count -gt $lt_ac_max; then
5009      lt_ac_max=$lt_ac_count
5010      lt_cv_path_SED=$lt_ac_sed
5011    fi
5012  done
5013done
5014
5015fi
5016
5017SED=$lt_cv_path_SED
5018
5019echo "$as_me:$LINENO: result: $SED" >&5
5020echo "${ECHO_T}$SED" >&6
5021
5022test -z "$SED" && SED=sed
5023Xsed="$SED -e 1s/^X//"
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035echo "$as_me:$LINENO: checking for fgrep" >&5
5036echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5037if test "${ac_cv_prog_fgrep+set}" = set; then
5038  echo $ECHO_N "(cached) $ECHO_C" >&6
5039else
5040  if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
5041    then ac_cv_prog_fgrep='grep -F'
5042    else ac_cv_prog_fgrep='fgrep'
5043    fi
5044fi
5045echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5046echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5047 FGREP=$ac_cv_prog_fgrep
5048
5049
5050test -z "$GREP" && GREP=grep
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070# Check whether --with-gnu-ld or --without-gnu-ld was given.
5071if test "${with_gnu_ld+set}" = set; then
5072  withval="$with_gnu_ld"
5073  test "$withval" = no || with_gnu_ld=yes
5074else
5075  with_gnu_ld=no
5076fi;
5077ac_prog=ld
5078if test "$GCC" = yes; then
5079  # Check if gcc -print-prog-name=ld gives a path.
5080  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5081echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5082  case $host in
5083  *-*-mingw*)
5084    # gcc leaves a trailing carriage return which upsets mingw
5085    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5086  *)
5087    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5088  esac
5089  case $ac_prog in
5090    # Accept absolute paths.
5091    [\\/]* | ?:[\\/]*)
5092      re_direlt='/[^/][^/]*/\.\./'
5093      # Canonicalize the pathname of ld
5094      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5095      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5096	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5097      done
5098      test -z "$LD" && LD="$ac_prog"
5099      ;;
5100  "")
5101    # If it fails, then pretend we aren't using GCC.
5102    ac_prog=ld
5103    ;;
5104  *)
5105    # If it is relative, then search for the first ld in PATH.
5106    with_gnu_ld=unknown
5107    ;;
5108  esac
5109elif test "$with_gnu_ld" = yes; then
5110  echo "$as_me:$LINENO: checking for GNU ld" >&5
5111echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5112else
5113  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5114echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5115fi
5116if test "${lt_cv_path_LD+set}" = set; then
5117  echo $ECHO_N "(cached) $ECHO_C" >&6
5118else
5119  if test -z "$LD"; then
5120  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5121  for ac_dir in $PATH; do
5122    IFS="$lt_save_ifs"
5123    test -z "$ac_dir" && ac_dir=.
5124    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5125      lt_cv_path_LD="$ac_dir/$ac_prog"
5126      # Check to see if the program is GNU ld.  I'd rather use --version,
5127      # but apparently some variants of GNU ld only accept -v.
5128      # Break only if it was the GNU/non-GNU ld that we prefer.
5129      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5130      *GNU* | *'with BFD'*)
5131	test "$with_gnu_ld" != no && break
5132	;;
5133      *)
5134	test "$with_gnu_ld" != yes && break
5135	;;
5136      esac
5137    fi
5138  done
5139  IFS="$lt_save_ifs"
5140else
5141  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5142fi
5143fi
5144
5145LD="$lt_cv_path_LD"
5146if test -n "$LD"; then
5147  echo "$as_me:$LINENO: result: $LD" >&5
5148echo "${ECHO_T}$LD" >&6
5149else
5150  echo "$as_me:$LINENO: result: no" >&5
5151echo "${ECHO_T}no" >&6
5152fi
5153test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5154echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5155   { (exit 1); exit 1; }; }
5156echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5157echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5158if test "${lt_cv_prog_gnu_ld+set}" = set; then
5159  echo $ECHO_N "(cached) $ECHO_C" >&6
5160else
5161  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5162case `$LD -v 2>&1 </dev/null` in
5163*GNU* | *'with BFD'*)
5164  lt_cv_prog_gnu_ld=yes
5165  ;;
5166*)
5167  lt_cv_prog_gnu_ld=no
5168  ;;
5169esac
5170fi
5171echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5172echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5173with_gnu_ld=$lt_cv_prog_gnu_ld
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5185echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5186if test "${lt_cv_path_NM+set}" = set; then
5187  echo $ECHO_N "(cached) $ECHO_C" >&6
5188else
5189  if test -n "$NM"; then
5190  # Let the user override the test.
5191  lt_cv_path_NM="$NM"
5192else
5193  lt_nm_to_check="${ac_tool_prefix}nm"
5194  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5195    lt_nm_to_check="$lt_nm_to_check nm"
5196  fi
5197  for lt_tmp_nm in $lt_nm_to_check; do
5198    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5199    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5200      IFS="$lt_save_ifs"
5201      test -z "$ac_dir" && ac_dir=.
5202      tmp_nm="$ac_dir/$lt_tmp_nm"
5203      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5204	# Check to see if the nm accepts a BSD-compat flag.
5205	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5206	#   nm: unknown option "B" ignored
5207	# Tru64's nm complains that /dev/null is an invalid object file
5208	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5209	*/dev/null* | *'Invalid file or object type'*)
5210	  lt_cv_path_NM="$tmp_nm -B"
5211	  break
5212	  ;;
5213	*)
5214	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5215	  */dev/null*)
5216	    lt_cv_path_NM="$tmp_nm -p"
5217	    break
5218	    ;;
5219	  *)
5220	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5221	    continue # so that we can try to find one that supports BSD flags
5222	    ;;
5223	  esac
5224	  ;;
5225	esac
5226      fi
5227    done
5228    IFS="$lt_save_ifs"
5229  done
5230  : ${lt_cv_path_NM=no}
5231fi
5232fi
5233echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5234echo "${ECHO_T}$lt_cv_path_NM" >&6
5235if test "$lt_cv_path_NM" != "no"; then
5236  NM="$lt_cv_path_NM"
5237else
5238  # Didn't find any BSD compatible name lister, look for dumpbin.
5239  if test -n "$ac_tool_prefix"; then
5240  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5241  do
5242    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5243set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5244echo "$as_me:$LINENO: checking for $ac_word" >&5
5245echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5246if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5247  echo $ECHO_N "(cached) $ECHO_C" >&6
5248else
5249  if test -n "$DUMPBIN"; then
5250  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5251else
5252as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253for as_dir in $PATH
5254do
5255  IFS=$as_save_IFS
5256  test -z "$as_dir" && as_dir=.
5257  for ac_exec_ext in '' $ac_executable_extensions; do
5258  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5259    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5260    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5261    break 2
5262  fi
5263done
5264done
5265
5266fi
5267fi
5268DUMPBIN=$ac_cv_prog_DUMPBIN
5269if test -n "$DUMPBIN"; then
5270  echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5271echo "${ECHO_T}$DUMPBIN" >&6
5272else
5273  echo "$as_me:$LINENO: result: no" >&5
5274echo "${ECHO_T}no" >&6
5275fi
5276
5277    test -n "$DUMPBIN" && break
5278  done
5279fi
5280if test -z "$DUMPBIN"; then
5281  ac_ct_DUMPBIN=$DUMPBIN
5282  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5283do
5284  # Extract the first word of "$ac_prog", so it can be a program name with args.
5285set dummy $ac_prog; ac_word=$2
5286echo "$as_me:$LINENO: checking for $ac_word" >&5
5287echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5288if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5289  echo $ECHO_N "(cached) $ECHO_C" >&6
5290else
5291  if test -n "$ac_ct_DUMPBIN"; then
5292  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5293else
5294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5295for as_dir in $PATH
5296do
5297  IFS=$as_save_IFS
5298  test -z "$as_dir" && as_dir=.
5299  for ac_exec_ext in '' $ac_executable_extensions; do
5300  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5301    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5302    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5303    break 2
5304  fi
5305done
5306done
5307
5308fi
5309fi
5310ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5311if test -n "$ac_ct_DUMPBIN"; then
5312  echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5313echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5314else
5315  echo "$as_me:$LINENO: result: no" >&5
5316echo "${ECHO_T}no" >&6
5317fi
5318
5319  test -n "$ac_ct_DUMPBIN" && break
5320done
5321test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
5322
5323  DUMPBIN=$ac_ct_DUMPBIN
5324fi
5325
5326
5327  if test "$DUMPBIN" != ":"; then
5328    NM="$DUMPBIN"
5329  fi
5330fi
5331test -z "$NM" && NM=nm
5332
5333
5334
5335
5336
5337
5338echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5339echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5340if test "${lt_cv_nm_interface+set}" = set; then
5341  echo $ECHO_N "(cached) $ECHO_C" >&6
5342else
5343  lt_cv_nm_interface="BSD nm"
5344  echo "int some_variable = 0;" > conftest.$ac_ext
5345  (eval echo "\"\$as_me:5345: $ac_compile\"" >&5)
5346  (eval "$ac_compile" 2>conftest.err)
5347  cat conftest.err >&5
5348  (eval echo "\"\$as_me:5348: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5349  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5350  cat conftest.err >&5
5351  (eval echo "\"\$as_me:5351: output\"" >&5)
5352  cat conftest.out >&5
5353  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5354    lt_cv_nm_interface="MS dumpbin"
5355  fi
5356  rm -f conftest*
5357fi
5358echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5359echo "${ECHO_T}$lt_cv_nm_interface" >&6
5360
5361echo "$as_me:$LINENO: checking whether ln -s works" >&5
5362echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5363LN_S=$as_ln_s
5364if test "$LN_S" = "ln -s"; then
5365  echo "$as_me:$LINENO: result: yes" >&5
5366echo "${ECHO_T}yes" >&6
5367else
5368  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5369echo "${ECHO_T}no, using $LN_S" >&6
5370fi
5371
5372# find the maximum length of command line arguments
5373echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5374echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5375if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5376  echo $ECHO_N "(cached) $ECHO_C" >&6
5377else
5378    i=0
5379  teststring="ABCD"
5380
5381  case $build_os in
5382  msdosdjgpp*)
5383    # On DJGPP, this test can blow up pretty badly due to problems in libc
5384    # (any single argument exceeding 2000 bytes causes a buffer overrun
5385    # during glob expansion).  Even if it were fixed, the result of this
5386    # check would be larger than it should be.
5387    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5388    ;;
5389
5390  gnu*)
5391    # Under GNU Hurd, this test is not required because there is
5392    # no limit to the length of command line arguments.
5393    # Libtool will interpret -1 as no limit whatsoever
5394    lt_cv_sys_max_cmd_len=-1;
5395    ;;
5396
5397  cygwin* | mingw*)
5398    # On Win9x/ME, this test blows up -- it succeeds, but takes
5399    # about 5 minutes as the teststring grows exponentially.
5400    # Worse, since 9x/ME are not pre-emptively multitasking,
5401    # you end up with a "frozen" computer, even though with patience
5402    # the test eventually succeeds (with a max line length of 256k).
5403    # Instead, let's just punt: use the minimum linelength reported by
5404    # all of the supported platforms: 8192 (on NT/2K/XP).
5405    lt_cv_sys_max_cmd_len=8192;
5406    ;;
5407
5408  amigaos*)
5409    # On AmigaOS with pdksh, this test takes hours, literally.
5410    # So we just punt and use a minimum line length of 8192.
5411    lt_cv_sys_max_cmd_len=8192;
5412    ;;
5413
5414  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5415    # This has been around since 386BSD, at least.  Likely further.
5416    if test -x /sbin/sysctl; then
5417      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5418    elif test -x /usr/sbin/sysctl; then
5419      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5420    else
5421      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5422    fi
5423    # And add a safety zone
5424    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5425    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5426    ;;
5427
5428  interix*)
5429    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5430    lt_cv_sys_max_cmd_len=196608
5431    ;;
5432
5433  osf*)
5434    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5435    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5436    # nice to cause kernel panics so lets avoid the loop below.
5437    # First set a reasonable default.
5438    lt_cv_sys_max_cmd_len=16384
5439    #
5440    if test -x /sbin/sysconfig; then
5441      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5442        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5443      esac
5444    fi
5445    ;;
5446  sco3.2v5*)
5447    lt_cv_sys_max_cmd_len=102400
5448    ;;
5449  sysv5* | sco5v6* | sysv4.2uw2*)
5450    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5451    if test -n "$kargmax"; then
5452      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5453    else
5454      lt_cv_sys_max_cmd_len=32768
5455    fi
5456    ;;
5457  *)
5458    lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
5459    if test -n $lt_cv_sys_max_cmd_len; then
5460      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5461      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5462    else
5463      # Make teststring a little bigger before we do anything with it.
5464      # a 1K string should be a reasonable start.
5465      for i in 1 2 3 4 5 6 7 8 ; do
5466        teststring=$teststring$teststring
5467      done
5468      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5469      # If test is not a shell built-in, we'll probably end up computing a
5470      # maximum length that is only half of the actual maximum length, but
5471      # we can't tell.
5472      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5473	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5474	      test $i != 17 # 1/2 MB should be enough
5475      do
5476        i=`expr $i + 1`
5477        teststring=$teststring$teststring
5478      done
5479      # Only check the string length outside the loop.
5480      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5481      teststring=
5482      # Add a significant safety factor because C++ compilers can tack on
5483      # massive amounts of additional arguments before passing them to the
5484      # linker.  It appears as though 1/2 is a usable value.
5485      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5486    fi
5487    ;;
5488  esac
5489
5490fi
5491
5492if test -n $lt_cv_sys_max_cmd_len ; then
5493  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5494echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5495else
5496  echo "$as_me:$LINENO: result: none" >&5
5497echo "${ECHO_T}none" >&6
5498fi
5499max_cmd_len=$lt_cv_sys_max_cmd_len
5500
5501
5502
5503
5504
5505
5506
5507: ${CP="cp -f"}
5508: ${MV="mv -f"}
5509: ${RM="rm -f"}
5510
5511echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5512echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5513# Try some XSI features
5514xsi_shell=no
5515( _lt_dummy="a/b/c"
5516  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5517      = c,a/b,, ) >/dev/null 2>&1 \
5518  && xsi_shell=yes
5519echo "$as_me:$LINENO: result: $xsi_shell" >&5
5520echo "${ECHO_T}$xsi_shell" >&6
5521
5522
5523echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5524echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
5525lt_shell_append=no
5526( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5527    >/dev/null 2>&1 \
5528  && lt_shell_append=yes
5529echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5530echo "${ECHO_T}$lt_shell_append" >&6
5531
5532
5533if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5534  lt_unset=unset
5535else
5536  lt_unset=false
5537fi
5538
5539
5540
5541
5542
5543# test EBCDIC or ASCII
5544case `echo X|tr X '\101'` in
5545 A) # ASCII based system
5546    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5547  lt_SP2NL='tr \040 \012'
5548  lt_NL2SP='tr \015\012 \040\040'
5549  ;;
5550 *) # EBCDIC based system
5551  lt_SP2NL='tr \100 \n'
5552  lt_NL2SP='tr \r\n \100\100'
5553  ;;
5554esac
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5565echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5566if test "${lt_cv_ld_reload_flag+set}" = set; then
5567  echo $ECHO_N "(cached) $ECHO_C" >&6
5568else
5569  lt_cv_ld_reload_flag='-r'
5570fi
5571echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5572echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5573reload_flag=$lt_cv_ld_reload_flag
5574case $reload_flag in
5575"" | " "*) ;;
5576*) reload_flag=" $reload_flag" ;;
5577esac
5578reload_cmds='$LD$reload_flag -o $output$reload_objs'
5579case $host_os in
5580  darwin*)
5581    if test "$GCC" = yes; then
5582      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5583    else
5584      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5585    fi
5586    ;;
5587esac
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5599echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
5600if test "${lt_cv_deplibs_check_method+set}" = set; then
5601  echo $ECHO_N "(cached) $ECHO_C" >&6
5602else
5603  lt_cv_file_magic_cmd='$MAGIC_CMD'
5604lt_cv_file_magic_test_file=
5605lt_cv_deplibs_check_method='unknown'
5606# Need to set the preceding variable on all platforms that support
5607# interlibrary dependencies.
5608# 'none' -- dependencies not supported.
5609# `unknown' -- same as none, but documents that we really don't know.
5610# 'pass_all' -- all dependencies passed with no checks.
5611# 'test_compile' -- check by making test program.
5612# 'file_magic [[regex]]' -- check by looking for files in library path
5613# which responds to the $file_magic_cmd with a given extended regex.
5614# If you have `file' or equivalent on your system and you're not sure
5615# whether `pass_all' will *always* work, you probably want this one.
5616
5617case $host_os in
5618aix[4-9]*)
5619  lt_cv_deplibs_check_method=pass_all
5620  ;;
5621
5622beos*)
5623  lt_cv_deplibs_check_method=pass_all
5624  ;;
5625
5626bsdi[45]*)
5627  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5628  lt_cv_file_magic_cmd='/usr/bin/file -L'
5629  lt_cv_file_magic_test_file=/shlib/libc.so
5630  ;;
5631
5632cygwin*)
5633  # func_win32_libid is a shell function defined in ltmain.sh
5634  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5635  lt_cv_file_magic_cmd='func_win32_libid'
5636  ;;
5637
5638mingw* | pw32*)
5639  # Base MSYS/MinGW do not provide the 'file' command needed by
5640  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5641  # unless we find 'file', for example because we are cross-compiling.
5642  if ( file / ) >/dev/null 2>&1; then
5643    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5644    lt_cv_file_magic_cmd='func_win32_libid'
5645  else
5646    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5647    lt_cv_file_magic_cmd='$OBJDUMP -f'
5648  fi
5649  ;;
5650
5651darwin* | rhapsody*)
5652  lt_cv_deplibs_check_method=pass_all
5653  ;;
5654
5655freebsd* | dragonfly*)
5656  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5657    case $host_cpu in
5658    i*86 )
5659      # Not sure whether the presence of OpenBSD here was a mistake.
5660      # Let's accept both of them until this is cleared up.
5661      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5662      lt_cv_file_magic_cmd=/usr/bin/file
5663      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5664      ;;
5665    esac
5666  else
5667    lt_cv_deplibs_check_method=pass_all
5668  fi
5669  ;;
5670
5671gnu*)
5672  lt_cv_deplibs_check_method=pass_all
5673  ;;
5674
5675hpux10.20* | hpux11*)
5676  lt_cv_file_magic_cmd=/usr/bin/file
5677  case $host_cpu in
5678  ia64*)
5679    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5680    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5681    ;;
5682  hppa*64*)
5683    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]'
5684    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5685    ;;
5686  *)
5687    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5688    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5689    ;;
5690  esac
5691  ;;
5692
5693interix[3-9]*)
5694  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5695  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5696  ;;
5697
5698irix5* | irix6* | nonstopux*)
5699  case $LD in
5700  *-32|*"-32 ") libmagic=32-bit;;
5701  *-n32|*"-n32 ") libmagic=N32;;
5702  *-64|*"-64 ") libmagic=64-bit;;
5703  *) libmagic=never-match;;
5704  esac
5705  lt_cv_deplibs_check_method=pass_all
5706  ;;
5707
5708# This must be Linux ELF.
5709linux* | k*bsd*-gnu)
5710  lt_cv_deplibs_check_method=pass_all
5711  ;;
5712
5713netbsd*)
5714  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5715    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5716  else
5717    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5718  fi
5719  ;;
5720
5721newos6*)
5722  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5723  lt_cv_file_magic_cmd=/usr/bin/file
5724  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5725  ;;
5726
5727*nto* | *qnx*)
5728  lt_cv_deplibs_check_method=pass_all
5729  ;;
5730
5731openbsd*)
5732  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5733    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5734  else
5735    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5736  fi
5737  ;;
5738
5739osf3* | osf4* | osf5*)
5740  lt_cv_deplibs_check_method=pass_all
5741  ;;
5742
5743rdos*)
5744  lt_cv_deplibs_check_method=pass_all
5745  ;;
5746
5747solaris*)
5748  lt_cv_deplibs_check_method=pass_all
5749  ;;
5750
5751sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5752  lt_cv_deplibs_check_method=pass_all
5753  ;;
5754
5755sysv4 | sysv4.3*)
5756  case $host_vendor in
5757  motorola)
5758    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]'
5759    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5760    ;;
5761  ncr)
5762    lt_cv_deplibs_check_method=pass_all
5763    ;;
5764  sequent)
5765    lt_cv_file_magic_cmd='/bin/file'
5766    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5767    ;;
5768  sni)
5769    lt_cv_file_magic_cmd='/bin/file'
5770    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5771    lt_cv_file_magic_test_file=/lib/libc.so
5772    ;;
5773  siemens)
5774    lt_cv_deplibs_check_method=pass_all
5775    ;;
5776  pc)
5777    lt_cv_deplibs_check_method=pass_all
5778    ;;
5779  esac
5780  ;;
5781
5782tpf*)
5783  lt_cv_deplibs_check_method=pass_all
5784  ;;
5785esac
5786
5787fi
5788echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5789echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5790file_magic_cmd=$lt_cv_file_magic_cmd
5791deplibs_check_method=$lt_cv_deplibs_check_method
5792test -z "$deplibs_check_method" && deplibs_check_method=unknown
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805if test -n "$ac_tool_prefix"; then
5806  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5807set dummy ${ac_tool_prefix}ar; ac_word=$2
5808echo "$as_me:$LINENO: checking for $ac_word" >&5
5809echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5810if test "${ac_cv_prog_AR+set}" = set; then
5811  echo $ECHO_N "(cached) $ECHO_C" >&6
5812else
5813  if test -n "$AR"; then
5814  ac_cv_prog_AR="$AR" # Let the user override the test.
5815else
5816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817for as_dir in $PATH
5818do
5819  IFS=$as_save_IFS
5820  test -z "$as_dir" && as_dir=.
5821  for ac_exec_ext in '' $ac_executable_extensions; do
5822  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823    ac_cv_prog_AR="${ac_tool_prefix}ar"
5824    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5825    break 2
5826  fi
5827done
5828done
5829
5830fi
5831fi
5832AR=$ac_cv_prog_AR
5833if test -n "$AR"; then
5834  echo "$as_me:$LINENO: result: $AR" >&5
5835echo "${ECHO_T}$AR" >&6
5836else
5837  echo "$as_me:$LINENO: result: no" >&5
5838echo "${ECHO_T}no" >&6
5839fi
5840
5841fi
5842if test -z "$ac_cv_prog_AR"; then
5843  ac_ct_AR=$AR
5844  # Extract the first word of "ar", so it can be a program name with args.
5845set dummy ar; ac_word=$2
5846echo "$as_me:$LINENO: checking for $ac_word" >&5
5847echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5848if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5849  echo $ECHO_N "(cached) $ECHO_C" >&6
5850else
5851  if test -n "$ac_ct_AR"; then
5852  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5853else
5854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5855for as_dir in $PATH
5856do
5857  IFS=$as_save_IFS
5858  test -z "$as_dir" && as_dir=.
5859  for ac_exec_ext in '' $ac_executable_extensions; do
5860  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5861    ac_cv_prog_ac_ct_AR="ar"
5862    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5863    break 2
5864  fi
5865done
5866done
5867
5868  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5869fi
5870fi
5871ac_ct_AR=$ac_cv_prog_ac_ct_AR
5872if test -n "$ac_ct_AR"; then
5873  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5874echo "${ECHO_T}$ac_ct_AR" >&6
5875else
5876  echo "$as_me:$LINENO: result: no" >&5
5877echo "${ECHO_T}no" >&6
5878fi
5879
5880  AR=$ac_ct_AR
5881else
5882  AR="$ac_cv_prog_AR"
5883fi
5884
5885test -z "$AR" && AR=ar
5886test -z "$AR_FLAGS" && AR_FLAGS=cru
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898if test -n "$ac_tool_prefix"; then
5899  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5900set dummy ${ac_tool_prefix}strip; ac_word=$2
5901echo "$as_me:$LINENO: checking for $ac_word" >&5
5902echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5903if test "${ac_cv_prog_STRIP+set}" = set; then
5904  echo $ECHO_N "(cached) $ECHO_C" >&6
5905else
5906  if test -n "$STRIP"; then
5907  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5908else
5909as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910for as_dir in $PATH
5911do
5912  IFS=$as_save_IFS
5913  test -z "$as_dir" && as_dir=.
5914  for ac_exec_ext in '' $ac_executable_extensions; do
5915  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5917    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5918    break 2
5919  fi
5920done
5921done
5922
5923fi
5924fi
5925STRIP=$ac_cv_prog_STRIP
5926if test -n "$STRIP"; then
5927  echo "$as_me:$LINENO: result: $STRIP" >&5
5928echo "${ECHO_T}$STRIP" >&6
5929else
5930  echo "$as_me:$LINENO: result: no" >&5
5931echo "${ECHO_T}no" >&6
5932fi
5933
5934fi
5935if test -z "$ac_cv_prog_STRIP"; then
5936  ac_ct_STRIP=$STRIP
5937  # Extract the first word of "strip", so it can be a program name with args.
5938set dummy strip; ac_word=$2
5939echo "$as_me:$LINENO: checking for $ac_word" >&5
5940echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5941if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5942  echo $ECHO_N "(cached) $ECHO_C" >&6
5943else
5944  if test -n "$ac_ct_STRIP"; then
5945  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5946else
5947as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948for as_dir in $PATH
5949do
5950  IFS=$as_save_IFS
5951  test -z "$as_dir" && as_dir=.
5952  for ac_exec_ext in '' $ac_executable_extensions; do
5953  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5954    ac_cv_prog_ac_ct_STRIP="strip"
5955    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5956    break 2
5957  fi
5958done
5959done
5960
5961  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5962fi
5963fi
5964ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5965if test -n "$ac_ct_STRIP"; then
5966  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5967echo "${ECHO_T}$ac_ct_STRIP" >&6
5968else
5969  echo "$as_me:$LINENO: result: no" >&5
5970echo "${ECHO_T}no" >&6
5971fi
5972
5973  STRIP=$ac_ct_STRIP
5974else
5975  STRIP="$ac_cv_prog_STRIP"
5976fi
5977
5978test -z "$STRIP" && STRIP=:
5979
5980
5981
5982
5983
5984
5985if test -n "$ac_tool_prefix"; then
5986  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5987set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5988echo "$as_me:$LINENO: checking for $ac_word" >&5
5989echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5990if test "${ac_cv_prog_RANLIB+set}" = set; then
5991  echo $ECHO_N "(cached) $ECHO_C" >&6
5992else
5993  if test -n "$RANLIB"; then
5994  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5995else
5996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997for as_dir in $PATH
5998do
5999  IFS=$as_save_IFS
6000  test -z "$as_dir" && as_dir=.
6001  for ac_exec_ext in '' $ac_executable_extensions; do
6002  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6003    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6004    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6005    break 2
6006  fi
6007done
6008done
6009
6010fi
6011fi
6012RANLIB=$ac_cv_prog_RANLIB
6013if test -n "$RANLIB"; then
6014  echo "$as_me:$LINENO: result: $RANLIB" >&5
6015echo "${ECHO_T}$RANLIB" >&6
6016else
6017  echo "$as_me:$LINENO: result: no" >&5
6018echo "${ECHO_T}no" >&6
6019fi
6020
6021fi
6022if test -z "$ac_cv_prog_RANLIB"; then
6023  ac_ct_RANLIB=$RANLIB
6024  # Extract the first word of "ranlib", so it can be a program name with args.
6025set dummy ranlib; ac_word=$2
6026echo "$as_me:$LINENO: checking for $ac_word" >&5
6027echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6028if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6029  echo $ECHO_N "(cached) $ECHO_C" >&6
6030else
6031  if test -n "$ac_ct_RANLIB"; then
6032  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6033else
6034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6035for as_dir in $PATH
6036do
6037  IFS=$as_save_IFS
6038  test -z "$as_dir" && as_dir=.
6039  for ac_exec_ext in '' $ac_executable_extensions; do
6040  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6041    ac_cv_prog_ac_ct_RANLIB="ranlib"
6042    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6043    break 2
6044  fi
6045done
6046done
6047
6048  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6049fi
6050fi
6051ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6052if test -n "$ac_ct_RANLIB"; then
6053  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6054echo "${ECHO_T}$ac_ct_RANLIB" >&6
6055else
6056  echo "$as_me:$LINENO: result: no" >&5
6057echo "${ECHO_T}no" >&6
6058fi
6059
6060  RANLIB=$ac_ct_RANLIB
6061else
6062  RANLIB="$ac_cv_prog_RANLIB"
6063fi
6064
6065test -z "$RANLIB" && RANLIB=:
6066
6067
6068
6069
6070
6071
6072# Determine commands to create old-style static archives.
6073old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6074old_postinstall_cmds='chmod 644 $oldlib'
6075old_postuninstall_cmds=
6076
6077if test -n "$RANLIB"; then
6078  case $host_os in
6079  openbsd*)
6080    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6081    ;;
6082  *)
6083    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6084    ;;
6085  esac
6086  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6087fi
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122# If no C compiler was specified, use CC.
6123LTCC=${LTCC-"$CC"}
6124
6125# If no C compiler flags were specified, use CFLAGS.
6126LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6127
6128# Allow CC to be a program name with arguments.
6129compiler=$CC
6130
6131
6132# Check for command to grab the raw symbol name followed by C symbol from nm.
6133echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6134echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6135if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6136  echo $ECHO_N "(cached) $ECHO_C" >&6
6137else
6138
6139# These are sane defaults that work on at least a few old systems.
6140# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6141
6142# Character class describing NM global symbol codes.
6143symcode='[BCDEGRST]'
6144
6145# Regexp to match symbols that can be accessed directly from C.
6146sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6147
6148# Define system-specific variables.
6149case $host_os in
6150aix*)
6151  symcode='[BCDT]'
6152  ;;
6153cygwin* | mingw* | pw32*)
6154  symcode='[ABCDGISTW]'
6155  ;;
6156hpux*)
6157  if test "$host_cpu" = ia64; then
6158    symcode='[ABCDEGRST]'
6159  fi
6160  ;;
6161irix* | nonstopux*)
6162  symcode='[BCDEGRST]'
6163  ;;
6164osf*)
6165  symcode='[BCDEGQRST]'
6166  ;;
6167solaris*)
6168  symcode='[BDRT]'
6169  ;;
6170sco3.2v5*)
6171  symcode='[DT]'
6172  ;;
6173sysv4.2uw2*)
6174  symcode='[DT]'
6175  ;;
6176sysv5* | sco5v6* | unixware* | OpenUNIX*)
6177  symcode='[ABDT]'
6178  ;;
6179sysv4)
6180  symcode='[DFNSTU]'
6181  ;;
6182esac
6183
6184# If we're using GNU nm, then use its standard symbol codes.
6185case `$NM -V 2>&1` in
6186*GNU* | *'with BFD'*)
6187  symcode='[ABCDGIRSTW]' ;;
6188esac
6189
6190# Transform an extracted symbol line into a proper C declaration.
6191# Some systems (esp. on ia64) link data and code symbols differently,
6192# so use this general approach.
6193lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6194
6195# Transform an extracted symbol line into symbol name and symbol address
6196lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6197
6198# Handle CRLF in mingw tool chain
6199opt_cr=
6200case $build_os in
6201mingw*)
6202  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6203  ;;
6204esac
6205
6206# Try without a prefix underscore, then with it.
6207for ac_symprfx in "" "_"; do
6208
6209  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6210  symxfrm="\\1 $ac_symprfx\\2 \\2"
6211
6212  # Write the raw and C identifiers.
6213  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6214    # Fake it for dumpbin and say T for any non-static function
6215    # and D for any global variable.
6216    # Also find C++ and __fastcall symbols from MSVC++,
6217    # which start with @ or ?.
6218    lt_cv_sys_global_symbol_pipe="$AWK '"\
6219"     {last_section=section; section=\$ 3};"\
6220"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6221"     \$ 0!~/External *\|/{next};"\
6222"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6223"     {if(hide[section]) next};"\
6224"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6225"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6226"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6227"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6228"     ' prfx=^$ac_symprfx"
6229  else
6230    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6231  fi
6232
6233  # Check to see that the pipe works correctly.
6234  pipe_works=no
6235
6236  rm -f conftest*
6237  cat > conftest.$ac_ext <<_LT_EOF
6238#ifdef __cplusplus
6239extern "C" {
6240#endif
6241char nm_test_var;
6242void nm_test_func(void);
6243void nm_test_func(void){}
6244#ifdef __cplusplus
6245}
6246#endif
6247int main(){nm_test_var='a';nm_test_func();return(0);}
6248_LT_EOF
6249
6250  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6251  (eval $ac_compile) 2>&5
6252  ac_status=$?
6253  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254  (exit $ac_status); }; then
6255    # Now try to grab the symbols.
6256    nlist=conftest.nm
6257    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6258  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6259  ac_status=$?
6260  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261  (exit $ac_status); } && test -s "$nlist"; then
6262      # Try sorting and uniquifying the output.
6263      if sort "$nlist" | uniq > "$nlist"T; then
6264	mv -f "$nlist"T "$nlist"
6265      else
6266	rm -f "$nlist"T
6267      fi
6268
6269      # Make sure that we snagged all the symbols we need.
6270      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6271	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6272	  cat <<_LT_EOF > conftest.$ac_ext
6273#ifdef __cplusplus
6274extern "C" {
6275#endif
6276
6277_LT_EOF
6278	  # Now generate the symbol file.
6279	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6280
6281	  cat <<_LT_EOF >> conftest.$ac_ext
6282
6283/* The mapping between symbol names and symbols.  */
6284const struct {
6285  const char *name;
6286  void       *address;
6287}
6288lt__PROGRAM__LTX_preloaded_symbols[] =
6289{
6290  { "@PROGRAM@", (void *) 0 },
6291_LT_EOF
6292	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6293	  cat <<\_LT_EOF >> conftest.$ac_ext
6294  {0, (void *) 0}
6295};
6296
6297/* This works around a problem in FreeBSD linker */
6298#ifdef FREEBSD_WORKAROUND
6299static const void *lt_preloaded_setup() {
6300  return lt__PROGRAM__LTX_preloaded_symbols;
6301}
6302#endif
6303
6304#ifdef __cplusplus
6305}
6306#endif
6307_LT_EOF
6308	  # Now try linking the two files.
6309	  mv conftest.$ac_objext conftstm.$ac_objext
6310	  lt_save_LIBS="$LIBS"
6311	  lt_save_CFLAGS="$CFLAGS"
6312	  LIBS="conftstm.$ac_objext"
6313	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6314	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6315  (eval $ac_link) 2>&5
6316  ac_status=$?
6317  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6319	    pipe_works=yes
6320	  fi
6321	  LIBS="$lt_save_LIBS"
6322	  CFLAGS="$lt_save_CFLAGS"
6323	else
6324	  echo "cannot find nm_test_func in $nlist" >&5
6325	fi
6326      else
6327	echo "cannot find nm_test_var in $nlist" >&5
6328      fi
6329    else
6330      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6331    fi
6332  else
6333    echo "$progname: failed program was:" >&5
6334    cat conftest.$ac_ext >&5
6335  fi
6336  rm -f conftest* conftst*
6337
6338  # Do not use the global_symbol_pipe unless it works.
6339  if test "$pipe_works" = yes; then
6340    break
6341  else
6342    lt_cv_sys_global_symbol_pipe=
6343  fi
6344done
6345
6346fi
6347
6348if test -z "$lt_cv_sys_global_symbol_pipe"; then
6349  lt_cv_sys_global_symbol_to_cdecl=
6350fi
6351if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6352  echo "$as_me:$LINENO: result: failed" >&5
6353echo "${ECHO_T}failed" >&6
6354else
6355  echo "$as_me:$LINENO: result: ok" >&5
6356echo "${ECHO_T}ok" >&6
6357fi
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6376if test "${enable_libtool_lock+set}" = set; then
6377  enableval="$enable_libtool_lock"
6378
6379fi;
6380test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6381
6382# Some flags need to be propagated to the compiler or linker for good
6383# libtool support.
6384case $host in
6385ia64-*-hpux*)
6386  # Find out which ABI we are using.
6387  echo 'int i;' > conftest.$ac_ext
6388  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6389  (eval $ac_compile) 2>&5
6390  ac_status=$?
6391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392  (exit $ac_status); }; then
6393    case `/usr/bin/file conftest.$ac_objext` in
6394      *ELF-32*)
6395	HPUX_IA64_MODE="32"
6396	;;
6397      *ELF-64*)
6398	HPUX_IA64_MODE="64"
6399	;;
6400    esac
6401  fi
6402  rm -rf conftest*
6403  ;;
6404*-*-irix6*)
6405  # Find out which ABI we are using.
6406  echo '#line 6406 "configure"' > conftest.$ac_ext
6407  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6408  (eval $ac_compile) 2>&5
6409  ac_status=$?
6410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411  (exit $ac_status); }; then
6412    if test "$lt_cv_prog_gnu_ld" = yes; then
6413      case `/usr/bin/file conftest.$ac_objext` in
6414	*32-bit*)
6415	  LD="${LD-ld} -melf32bsmip"
6416	  ;;
6417	*N32*)
6418	  LD="${LD-ld} -melf32bmipn32"
6419	  ;;
6420	*64-bit*)
6421	  LD="${LD-ld} -melf64bmip"
6422	;;
6423      esac
6424    else
6425      case `/usr/bin/file conftest.$ac_objext` in
6426	*32-bit*)
6427	  LD="${LD-ld} -32"
6428	  ;;
6429	*N32*)
6430	  LD="${LD-ld} -n32"
6431	  ;;
6432	*64-bit*)
6433	  LD="${LD-ld} -64"
6434	  ;;
6435      esac
6436    fi
6437  fi
6438  rm -rf conftest*
6439  ;;
6440
6441x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6442s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6443  # Find out which ABI we are using.
6444  echo 'int i;' > conftest.$ac_ext
6445  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6446  (eval $ac_compile) 2>&5
6447  ac_status=$?
6448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449  (exit $ac_status); }; then
6450    case `/usr/bin/file conftest.o` in
6451      *32-bit*)
6452	case $host in
6453	  x86_64-*kfreebsd*-gnu)
6454	    LD="${LD-ld} -m elf_i386_fbsd"
6455	    ;;
6456	  x86_64-*linux*)
6457	    LD="${LD-ld} -m elf_i386"
6458	    ;;
6459	  ppc64-*linux*|powerpc64-*linux*)
6460	    LD="${LD-ld} -m elf32ppclinux"
6461	    ;;
6462	  s390x-*linux*)
6463	    LD="${LD-ld} -m elf_s390"
6464	    ;;
6465	  sparc64-*linux*)
6466	    LD="${LD-ld} -m elf32_sparc"
6467	    ;;
6468	esac
6469	;;
6470      *64-bit*)
6471	case $host in
6472	  x86_64-*kfreebsd*-gnu)
6473	    LD="${LD-ld} -m elf_x86_64_fbsd"
6474	    ;;
6475	  x86_64-*linux*)
6476	    LD="${LD-ld} -m elf_x86_64"
6477	    ;;
6478	  ppc*-*linux*|powerpc*-*linux*)
6479	    LD="${LD-ld} -m elf64ppc"
6480	    ;;
6481	  s390*-*linux*|s390*-*tpf*)
6482	    LD="${LD-ld} -m elf64_s390"
6483	    ;;
6484	  sparc*-*linux*)
6485	    LD="${LD-ld} -m elf64_sparc"
6486	    ;;
6487	esac
6488	;;
6489    esac
6490  fi
6491  rm -rf conftest*
6492  ;;
6493
6494*-*-sco3.2v5*)
6495  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6496  SAVE_CFLAGS="$CFLAGS"
6497  CFLAGS="$CFLAGS -belf"
6498  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6499echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6500if test "${lt_cv_cc_needs_belf+set}" = set; then
6501  echo $ECHO_N "(cached) $ECHO_C" >&6
6502else
6503  ac_ext=c
6504ac_cpp='$CPP $CPPFLAGS'
6505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6507ac_compiler_gnu=$ac_cv_c_compiler_gnu
6508
6509     cat >conftest.$ac_ext <<_ACEOF
6510/* confdefs.h.  */
6511_ACEOF
6512cat confdefs.h >>conftest.$ac_ext
6513cat >>conftest.$ac_ext <<_ACEOF
6514/* end confdefs.h.  */
6515
6516int
6517main ()
6518{
6519
6520  ;
6521  return 0;
6522}
6523_ACEOF
6524rm -f conftest.$ac_objext conftest$ac_exeext
6525if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6526  (eval $ac_link) 2>conftest.er1
6527  ac_status=$?
6528  grep -v '^ *+' conftest.er1 >conftest.err
6529  rm -f conftest.er1
6530  cat conftest.err >&5
6531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532  (exit $ac_status); } &&
6533	 { ac_try='test -z "$ac_c_werror_flag"
6534			 || test ! -s conftest.err'
6535  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6536  (eval $ac_try) 2>&5
6537  ac_status=$?
6538  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539  (exit $ac_status); }; } &&
6540	 { ac_try='test -s conftest$ac_exeext'
6541  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6542  (eval $ac_try) 2>&5
6543  ac_status=$?
6544  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545  (exit $ac_status); }; }; then
6546  lt_cv_cc_needs_belf=yes
6547else
6548  echo "$as_me: failed program was:" >&5
6549sed 's/^/| /' conftest.$ac_ext >&5
6550
6551lt_cv_cc_needs_belf=no
6552fi
6553rm -f conftest.err conftest.$ac_objext \
6554      conftest$ac_exeext conftest.$ac_ext
6555     ac_ext=c
6556ac_cpp='$CPP $CPPFLAGS'
6557ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6558ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6559ac_compiler_gnu=$ac_cv_c_compiler_gnu
6560
6561fi
6562echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6563echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6564  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6565    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6566    CFLAGS="$SAVE_CFLAGS"
6567  fi
6568  ;;
6569sparc*-*solaris*)
6570  # Find out which ABI we are using.
6571  echo 'int i;' > conftest.$ac_ext
6572  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6573  (eval $ac_compile) 2>&5
6574  ac_status=$?
6575  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576  (exit $ac_status); }; then
6577    case `/usr/bin/file conftest.o` in
6578    *64-bit*)
6579      case $lt_cv_prog_gnu_ld in
6580      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6581      *)    LD="${LD-ld} -64" ;;
6582      esac
6583      ;;
6584    esac
6585  fi
6586  rm -rf conftest*
6587  ;;
6588esac
6589
6590need_locks="$enable_libtool_lock"
6591
6592
6593for ac_header in dlfcn.h
6594do
6595as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6596echo "$as_me:$LINENO: checking for $ac_header" >&5
6597echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6598if eval "test \"\${$as_ac_Header+set}\" = set"; then
6599  echo $ECHO_N "(cached) $ECHO_C" >&6
6600else
6601  cat >conftest.$ac_ext <<_ACEOF
6602/* confdefs.h.  */
6603_ACEOF
6604cat confdefs.h >>conftest.$ac_ext
6605cat >>conftest.$ac_ext <<_ACEOF
6606/* end confdefs.h.  */
6607$ac_includes_default
6608
6609#include <$ac_header>
6610_ACEOF
6611rm -f conftest.$ac_objext
6612if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6613  (eval $ac_compile) 2>conftest.er1
6614  ac_status=$?
6615  grep -v '^ *+' conftest.er1 >conftest.err
6616  rm -f conftest.er1
6617  cat conftest.err >&5
6618  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619  (exit $ac_status); } &&
6620	 { ac_try='test -z "$ac_c_werror_flag"
6621			 || test ! -s conftest.err'
6622  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6623  (eval $ac_try) 2>&5
6624  ac_status=$?
6625  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626  (exit $ac_status); }; } &&
6627	 { ac_try='test -s conftest.$ac_objext'
6628  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6629  (eval $ac_try) 2>&5
6630  ac_status=$?
6631  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632  (exit $ac_status); }; }; then
6633  eval "$as_ac_Header=yes"
6634else
6635  echo "$as_me: failed program was:" >&5
6636sed 's/^/| /' conftest.$ac_ext >&5
6637
6638eval "$as_ac_Header=no"
6639fi
6640rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6641fi
6642echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6643echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6644if test `eval echo '${'$as_ac_Header'}'` = yes; then
6645  cat >>confdefs.h <<_ACEOF
6646#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6647_ACEOF
6648
6649fi
6650
6651done
6652
6653
6654
6655# This can be used to rebuild libtool when needed
6656LIBTOOL_DEPS="$ltmain"
6657
6658# Always use our own libtool.
6659LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685test -z "$LN_S" && LN_S="ln -s"
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700if test -n "${ZSH_VERSION+set}" ; then
6701   setopt NO_GLOB_SUBST
6702fi
6703
6704echo "$as_me:$LINENO: checking for objdir" >&5
6705echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6706if test "${lt_cv_objdir+set}" = set; then
6707  echo $ECHO_N "(cached) $ECHO_C" >&6
6708else
6709  rm -f .libs 2>/dev/null
6710mkdir .libs 2>/dev/null
6711if test -d .libs; then
6712  lt_cv_objdir=.libs
6713else
6714  # MS-DOS does not allow filenames that begin with a dot.
6715  lt_cv_objdir=_libs
6716fi
6717rmdir .libs 2>/dev/null
6718fi
6719echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6720echo "${ECHO_T}$lt_cv_objdir" >&6
6721objdir=$lt_cv_objdir
6722
6723
6724
6725
6726
6727cat >>confdefs.h <<_ACEOF
6728#define LT_OBJDIR "$lt_cv_objdir/"
6729_ACEOF
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747case $host_os in
6748aix3*)
6749  # AIX sometimes has problems with the GCC collect2 program.  For some
6750  # reason, if we set the COLLECT_NAMES environment variable, the problems
6751  # vanish in a puff of smoke.
6752  if test "X${COLLECT_NAMES+set}" != Xset; then
6753    COLLECT_NAMES=
6754    export COLLECT_NAMES
6755  fi
6756  ;;
6757esac
6758
6759# Sed substitution that helps us do robust quoting.  It backslashifies
6760# metacharacters that are still active within double-quoted strings.
6761sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6762
6763# Same as above, but do not quote variable references.
6764double_quote_subst='s/\(["`\\]\)/\\\1/g'
6765
6766# Sed substitution to delay expansion of an escaped shell variable in a
6767# double_quote_subst'ed string.
6768delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6769
6770# Sed substitution to delay expansion of an escaped single quote.
6771delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6772
6773# Sed substitution to avoid accidental globbing in evaled expressions
6774no_glob_subst='s/\*/\\\*/g'
6775
6776# Global variables:
6777ofile=libtool
6778can_build_shared=yes
6779
6780# All known linkers require a `.a' archive for static linking (except MSVC,
6781# which needs '.lib').
6782libext=a
6783
6784with_gnu_ld="$lt_cv_prog_gnu_ld"
6785
6786old_CC="$CC"
6787old_CFLAGS="$CFLAGS"
6788
6789# Set sane defaults for various variables
6790test -z "$CC" && CC=cc
6791test -z "$LTCC" && LTCC=$CC
6792test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6793test -z "$LD" && LD=ld
6794test -z "$ac_objext" && ac_objext=o
6795
6796for cc_temp in $compiler""; do
6797  case $cc_temp in
6798    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6799    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6800    \-*) ;;
6801    *) break;;
6802  esac
6803done
6804cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6805
6806
6807# Only perform the check for file, if the check method requires it
6808test -z "$MAGIC_CMD" && MAGIC_CMD=file
6809case $deplibs_check_method in
6810file_magic*)
6811  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6812    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6813echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6814if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6815  echo $ECHO_N "(cached) $ECHO_C" >&6
6816else
6817  case $MAGIC_CMD in
6818[\\/*] |  ?:[\\/]*)
6819  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6820  ;;
6821*)
6822  lt_save_MAGIC_CMD="$MAGIC_CMD"
6823  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6824  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6825  for ac_dir in $ac_dummy; do
6826    IFS="$lt_save_ifs"
6827    test -z "$ac_dir" && ac_dir=.
6828    if test -f $ac_dir/${ac_tool_prefix}file; then
6829      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6830      if test -n "$file_magic_test_file"; then
6831	case $deplibs_check_method in
6832	"file_magic "*)
6833	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6834	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6835	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6836	    $EGREP "$file_magic_regex" > /dev/null; then
6837	    :
6838	  else
6839	    cat <<_LT_EOF 1>&2
6840
6841*** Warning: the command libtool uses to detect shared libraries,
6842*** $file_magic_cmd, produces output that libtool cannot recognize.
6843*** The result is that libtool may fail to recognize shared libraries
6844*** as such.  This will affect the creation of libtool libraries that
6845*** depend on shared libraries, but programs linked with such libtool
6846*** libraries will work regardless of this problem.  Nevertheless, you
6847*** may want to report the problem to your system manager and/or to
6848*** bug-libtool@gnu.org
6849
6850_LT_EOF
6851	  fi ;;
6852	esac
6853      fi
6854      break
6855    fi
6856  done
6857  IFS="$lt_save_ifs"
6858  MAGIC_CMD="$lt_save_MAGIC_CMD"
6859  ;;
6860esac
6861fi
6862
6863MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6864if test -n "$MAGIC_CMD"; then
6865  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6866echo "${ECHO_T}$MAGIC_CMD" >&6
6867else
6868  echo "$as_me:$LINENO: result: no" >&5
6869echo "${ECHO_T}no" >&6
6870fi
6871
6872
6873
6874
6875
6876if test -z "$lt_cv_path_MAGIC_CMD"; then
6877  if test -n "$ac_tool_prefix"; then
6878    echo "$as_me:$LINENO: checking for file" >&5
6879echo $ECHO_N "checking for file... $ECHO_C" >&6
6880if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6881  echo $ECHO_N "(cached) $ECHO_C" >&6
6882else
6883  case $MAGIC_CMD in
6884[\\/*] |  ?:[\\/]*)
6885  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6886  ;;
6887*)
6888  lt_save_MAGIC_CMD="$MAGIC_CMD"
6889  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6890  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6891  for ac_dir in $ac_dummy; do
6892    IFS="$lt_save_ifs"
6893    test -z "$ac_dir" && ac_dir=.
6894    if test -f $ac_dir/file; then
6895      lt_cv_path_MAGIC_CMD="$ac_dir/file"
6896      if test -n "$file_magic_test_file"; then
6897	case $deplibs_check_method in
6898	"file_magic "*)
6899	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6900	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6901	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6902	    $EGREP "$file_magic_regex" > /dev/null; then
6903	    :
6904	  else
6905	    cat <<_LT_EOF 1>&2
6906
6907*** Warning: the command libtool uses to detect shared libraries,
6908*** $file_magic_cmd, produces output that libtool cannot recognize.
6909*** The result is that libtool may fail to recognize shared libraries
6910*** as such.  This will affect the creation of libtool libraries that
6911*** depend on shared libraries, but programs linked with such libtool
6912*** libraries will work regardless of this problem.  Nevertheless, you
6913*** may want to report the problem to your system manager and/or to
6914*** bug-libtool@gnu.org
6915
6916_LT_EOF
6917	  fi ;;
6918	esac
6919      fi
6920      break
6921    fi
6922  done
6923  IFS="$lt_save_ifs"
6924  MAGIC_CMD="$lt_save_MAGIC_CMD"
6925  ;;
6926esac
6927fi
6928
6929MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6930if test -n "$MAGIC_CMD"; then
6931  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6932echo "${ECHO_T}$MAGIC_CMD" >&6
6933else
6934  echo "$as_me:$LINENO: result: no" >&5
6935echo "${ECHO_T}no" >&6
6936fi
6937
6938
6939  else
6940    MAGIC_CMD=:
6941  fi
6942fi
6943
6944  fi
6945  ;;
6946esac
6947
6948# Use C for the default configuration in the libtool script
6949
6950lt_save_CC="$CC"
6951ac_ext=c
6952ac_cpp='$CPP $CPPFLAGS'
6953ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6954ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6955ac_compiler_gnu=$ac_cv_c_compiler_gnu
6956
6957
6958# Source file extension for C test sources.
6959ac_ext=c
6960
6961# Object file extension for compiled C test sources.
6962objext=o
6963objext=$objext
6964
6965# Code to be used in simple compile tests
6966lt_simple_compile_test_code="int some_variable = 0;"
6967
6968# Code to be used in simple link tests
6969lt_simple_link_test_code='int main(){return(0);}'
6970
6971
6972
6973
6974
6975
6976
6977# If no C compiler was specified, use CC.
6978LTCC=${LTCC-"$CC"}
6979
6980# If no C compiler flags were specified, use CFLAGS.
6981LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6982
6983# Allow CC to be a program name with arguments.
6984compiler=$CC
6985
6986# Save the default compiler, since it gets overwritten when the other
6987# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6988compiler_DEFAULT=$CC
6989
6990# save warnings/boilerplate of simple test code
6991ac_outfile=conftest.$ac_objext
6992echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6993eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6994_lt_compiler_boilerplate=`cat conftest.err`
6995$RM conftest*
6996
6997ac_outfile=conftest.$ac_objext
6998echo "$lt_simple_link_test_code" >conftest.$ac_ext
6999eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7000_lt_linker_boilerplate=`cat conftest.err`
7001$RM conftest*
7002
7003
7004## CAVEAT EMPTOR:
7005## There is no encapsulation within the following macros, do not change
7006## the running order or otherwise move them around unless you know exactly
7007## what you are doing...
7008if test -n "$compiler"; then
7009
7010lt_prog_compiler_no_builtin_flag=
7011
7012if test "$GCC" = yes; then
7013  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7014
7015  echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7016echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7017if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7018  echo $ECHO_N "(cached) $ECHO_C" >&6
7019else
7020  lt_cv_prog_compiler_rtti_exceptions=no
7021   ac_outfile=conftest.$ac_objext
7022   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7023   lt_compiler_flag="-fno-rtti -fno-exceptions"
7024   # Insert the option either (1) after the last *FLAGS variable, or
7025   # (2) before a word containing "conftest.", or (3) at the end.
7026   # Note that $ac_compile itself does not contain backslashes and begins
7027   # with a dollar sign (not a hyphen), so the echo should work correctly.
7028   # The option is referenced via a variable to avoid confusing sed.
7029   lt_compile=`echo "$ac_compile" | $SED \
7030   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7031   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7032   -e 's:$: $lt_compiler_flag:'`
7033   (eval echo "\"\$as_me:7033: $lt_compile\"" >&5)
7034   (eval "$lt_compile" 2>conftest.err)
7035   ac_status=$?
7036   cat conftest.err >&5
7037   echo "$as_me:7037: \$? = $ac_status" >&5
7038   if (exit $ac_status) && test -s "$ac_outfile"; then
7039     # The compiler can only warn and ignore the option if not recognized
7040     # So say no if there are warnings other than the usual output.
7041     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7042     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7043     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7044       lt_cv_prog_compiler_rtti_exceptions=yes
7045     fi
7046   fi
7047   $RM conftest*
7048
7049fi
7050echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7051echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7052
7053if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7054    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7055else
7056    :
7057fi
7058
7059fi
7060
7061
7062
7063
7064
7065
7066  lt_prog_compiler_wl=
7067lt_prog_compiler_pic=
7068lt_prog_compiler_static=
7069
7070echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7071echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7072
7073  if test "$GCC" = yes; then
7074    lt_prog_compiler_wl='-Wl,'
7075    lt_prog_compiler_static='-static'
7076
7077    case $host_os in
7078      aix*)
7079      # All AIX code is PIC.
7080      if test "$host_cpu" = ia64; then
7081	# AIX 5 now supports IA64 processor
7082	lt_prog_compiler_static='-Bstatic'
7083      fi
7084      ;;
7085
7086    amigaos*)
7087      if test "$host_cpu" = m68k; then
7088        # FIXME: we need at least 68020 code to build shared libraries, but
7089        # adding the `-m68020' flag to GCC prevents building anything better,
7090        # like `-m68040'.
7091        lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7092      fi
7093      ;;
7094
7095    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7096      # PIC is the default for these OSes.
7097      ;;
7098
7099    mingw* | cygwin* | pw32* | os2*)
7100      # This hack is so that the source file can tell whether it is being
7101      # built for inclusion in a dll (and should export symbols for example).
7102      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7103      # (--disable-auto-import) libraries
7104      lt_prog_compiler_pic='-DDLL_EXPORT'
7105      ;;
7106
7107    darwin* | rhapsody*)
7108      # PIC is the default on this platform
7109      # Common symbols not allowed in MH_DYLIB files
7110      lt_prog_compiler_pic='-fno-common'
7111      ;;
7112
7113    hpux*)
7114      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7115      # not for PA HP-UX.
7116      case $host_cpu in
7117      hppa*64*|ia64*)
7118	# +Z the default
7119	;;
7120      *)
7121	lt_prog_compiler_pic='-fPIC'
7122	;;
7123      esac
7124      ;;
7125
7126    interix[3-9]*)
7127      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7128      # Instead, we relocate shared libraries at runtime.
7129      ;;
7130
7131    msdosdjgpp*)
7132      # Just because we use GCC doesn't mean we suddenly get shared libraries
7133      # on systems that don't support them.
7134      lt_prog_compiler_can_build_shared=no
7135      enable_shared=no
7136      ;;
7137
7138    *nto* | *qnx*)
7139      # QNX uses GNU C++, but need to define -shared option too, otherwise
7140      # it will coredump.
7141      lt_prog_compiler_pic='-fPIC -shared'
7142      ;;
7143
7144    sysv4*MP*)
7145      if test -d /usr/nec; then
7146	lt_prog_compiler_pic=-Kconform_pic
7147      fi
7148      ;;
7149
7150    *)
7151      lt_prog_compiler_pic='-fPIC'
7152      ;;
7153    esac
7154  else
7155    # PORTME Check for flag to pass linker flags through the system compiler.
7156    case $host_os in
7157    aix*)
7158      lt_prog_compiler_wl='-Wl,'
7159      if test "$host_cpu" = ia64; then
7160	# AIX 5 now supports IA64 processor
7161	lt_prog_compiler_static='-Bstatic'
7162      else
7163	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7164      fi
7165      ;;
7166    darwin*)
7167      # PIC is the default on this platform
7168      # Common symbols not allowed in MH_DYLIB files
7169      case $cc_basename in
7170      xlc*)
7171        lt_prog_compiler_pic='-qnocommon'
7172        lt_prog_compiler_wl='-Wl,'
7173        ;;
7174      esac
7175      ;;
7176
7177    mingw* | cygwin* | pw32* | os2*)
7178      # This hack is so that the source file can tell whether it is being
7179      # built for inclusion in a dll (and should export symbols for example).
7180      lt_prog_compiler_pic='-DDLL_EXPORT'
7181      ;;
7182
7183    hpux9* | hpux10* | hpux11*)
7184      lt_prog_compiler_wl='-Wl,'
7185      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7186      # not for PA HP-UX.
7187      case $host_cpu in
7188      hppa*64*|ia64*)
7189	# +Z the default
7190	;;
7191      *)
7192	lt_prog_compiler_pic='+Z'
7193	;;
7194      esac
7195      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7196      lt_prog_compiler_static='${wl}-a ${wl}archive'
7197      ;;
7198
7199    irix5* | irix6* | nonstopux*)
7200      lt_prog_compiler_wl='-Wl,'
7201      # PIC (with -KPIC) is the default.
7202      lt_prog_compiler_static='-non_shared'
7203      ;;
7204
7205    linux* | k*bsd*-gnu)
7206      case $cc_basename in
7207      icc* | ecc*)
7208	lt_prog_compiler_wl='-Wl,'
7209	lt_prog_compiler_pic='-KPIC'
7210	lt_prog_compiler_static='-static'
7211        ;;
7212      pgcc* | pgf77* | pgf90* | pgf95*)
7213        # Portland Group compilers (*not* the Pentium gcc compiler,
7214	# which looks to be a dead project)
7215	lt_prog_compiler_wl='-Wl,'
7216	lt_prog_compiler_pic='-fpic'
7217	lt_prog_compiler_static='-Bstatic'
7218        ;;
7219      ccc*)
7220        lt_prog_compiler_wl='-Wl,'
7221        # All Alpha code is PIC.
7222        lt_prog_compiler_static='-non_shared'
7223        ;;
7224      *)
7225	case `$CC -V 2>&1 | sed 5q` in
7226	*Sun\ C*)
7227	  # Sun C 5.9
7228	  lt_prog_compiler_pic='-KPIC'
7229	  lt_prog_compiler_static='-Bstatic'
7230	  lt_prog_compiler_wl='-Wl,'
7231	  ;;
7232	*Sun\ F*)
7233	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7234	  lt_prog_compiler_pic='-KPIC'
7235	  lt_prog_compiler_static='-Bstatic'
7236	  lt_prog_compiler_wl=''
7237	  ;;
7238	esac
7239	;;
7240      esac
7241      ;;
7242
7243    newsos6)
7244      lt_prog_compiler_pic='-KPIC'
7245      lt_prog_compiler_static='-Bstatic'
7246      ;;
7247
7248    *nto* | *qnx*)
7249      # QNX uses GNU C++, but need to define -shared option too, otherwise
7250      # it will coredump.
7251      lt_prog_compiler_pic='-fPIC -shared'
7252      ;;
7253
7254    osf3* | osf4* | osf5*)
7255      lt_prog_compiler_wl='-Wl,'
7256      # All OSF/1 code is PIC.
7257      lt_prog_compiler_static='-non_shared'
7258      ;;
7259
7260    rdos*)
7261      lt_prog_compiler_static='-non_shared'
7262      ;;
7263
7264    solaris*)
7265      lt_prog_compiler_pic='-KPIC'
7266      lt_prog_compiler_static='-Bstatic'
7267      case $cc_basename in
7268      f77* | f90* | f95*)
7269	lt_prog_compiler_wl='-Qoption ld ';;
7270      *)
7271	lt_prog_compiler_wl='-Wl,';;
7272      esac
7273      ;;
7274
7275    sunos4*)
7276      lt_prog_compiler_wl='-Qoption ld '
7277      lt_prog_compiler_pic='-PIC'
7278      lt_prog_compiler_static='-Bstatic'
7279      ;;
7280
7281    sysv4 | sysv4.2uw2* | sysv4.3*)
7282      lt_prog_compiler_wl='-Wl,'
7283      lt_prog_compiler_pic='-KPIC'
7284      lt_prog_compiler_static='-Bstatic'
7285      ;;
7286
7287    sysv4*MP*)
7288      if test -d /usr/nec ;then
7289	lt_prog_compiler_pic='-Kconform_pic'
7290	lt_prog_compiler_static='-Bstatic'
7291      fi
7292      ;;
7293
7294    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7295      lt_prog_compiler_wl='-Wl,'
7296      lt_prog_compiler_pic='-KPIC'
7297      lt_prog_compiler_static='-Bstatic'
7298      ;;
7299
7300    unicos*)
7301      lt_prog_compiler_wl='-Wl,'
7302      lt_prog_compiler_can_build_shared=no
7303      ;;
7304
7305    uts4*)
7306      lt_prog_compiler_pic='-pic'
7307      lt_prog_compiler_static='-Bstatic'
7308      ;;
7309
7310    *)
7311      lt_prog_compiler_can_build_shared=no
7312      ;;
7313    esac
7314  fi
7315
7316case $host_os in
7317  # For platforms which do not support PIC, -DPIC is meaningless:
7318  *djgpp*)
7319    lt_prog_compiler_pic=
7320    ;;
7321  *)
7322    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7323    ;;
7324esac
7325echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7326echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7327
7328
7329
7330
7331
7332
7333#
7334# Check to make sure the PIC flag actually works.
7335#
7336if test -n "$lt_prog_compiler_pic"; then
7337  echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7338echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7339if test "${lt_prog_compiler_pic_works+set}" = set; then
7340  echo $ECHO_N "(cached) $ECHO_C" >&6
7341else
7342  lt_prog_compiler_pic_works=no
7343   ac_outfile=conftest.$ac_objext
7344   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7345   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7346   # Insert the option either (1) after the last *FLAGS variable, or
7347   # (2) before a word containing "conftest.", or (3) at the end.
7348   # Note that $ac_compile itself does not contain backslashes and begins
7349   # with a dollar sign (not a hyphen), so the echo should work correctly.
7350   # The option is referenced via a variable to avoid confusing sed.
7351   lt_compile=`echo "$ac_compile" | $SED \
7352   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7353   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7354   -e 's:$: $lt_compiler_flag:'`
7355   (eval echo "\"\$as_me:7355: $lt_compile\"" >&5)
7356   (eval "$lt_compile" 2>conftest.err)
7357   ac_status=$?
7358   cat conftest.err >&5
7359   echo "$as_me:7359: \$? = $ac_status" >&5
7360   if (exit $ac_status) && test -s "$ac_outfile"; then
7361     # The compiler can only warn and ignore the option if not recognized
7362     # So say no if there are warnings other than the usual output.
7363     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7364     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7365     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7366       lt_prog_compiler_pic_works=yes
7367     fi
7368   fi
7369   $RM conftest*
7370
7371fi
7372echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7373echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7374
7375if test x"$lt_prog_compiler_pic_works" = xyes; then
7376    case $lt_prog_compiler_pic in
7377     "" | " "*) ;;
7378     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7379     esac
7380else
7381    lt_prog_compiler_pic=
7382     lt_prog_compiler_can_build_shared=no
7383fi
7384
7385fi
7386
7387
7388
7389
7390
7391
7392#
7393# Check to make sure the static flag actually works.
7394#
7395wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7396echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7397echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7398if test "${lt_prog_compiler_static_works+set}" = set; then
7399  echo $ECHO_N "(cached) $ECHO_C" >&6
7400else
7401  lt_prog_compiler_static_works=no
7402   save_LDFLAGS="$LDFLAGS"
7403   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7404   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7405   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7406     # The linker can only warn and ignore the option if not recognized
7407     # So say no if there are warnings
7408     if test -s conftest.err; then
7409       # Append any errors to the config.log.
7410       cat conftest.err 1>&5
7411       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7412       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7413       if diff conftest.exp conftest.er2 >/dev/null; then
7414         lt_prog_compiler_static_works=yes
7415       fi
7416     else
7417       lt_prog_compiler_static_works=yes
7418     fi
7419   fi
7420   $RM conftest*
7421   LDFLAGS="$save_LDFLAGS"
7422
7423fi
7424echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7425echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7426
7427if test x"$lt_prog_compiler_static_works" = xyes; then
7428    :
7429else
7430    lt_prog_compiler_static=
7431fi
7432
7433
7434
7435
7436
7437
7438
7439  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7440echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7441if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7442  echo $ECHO_N "(cached) $ECHO_C" >&6
7443else
7444  lt_cv_prog_compiler_c_o=no
7445   $RM -r conftest 2>/dev/null
7446   mkdir conftest
7447   cd conftest
7448   mkdir out
7449   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7450
7451   lt_compiler_flag="-o out/conftest2.$ac_objext"
7452   # Insert the option either (1) after the last *FLAGS variable, or
7453   # (2) before a word containing "conftest.", or (3) at the end.
7454   # Note that $ac_compile itself does not contain backslashes and begins
7455   # with a dollar sign (not a hyphen), so the echo should work correctly.
7456   lt_compile=`echo "$ac_compile" | $SED \
7457   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7458   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7459   -e 's:$: $lt_compiler_flag:'`
7460   (eval echo "\"\$as_me:7460: $lt_compile\"" >&5)
7461   (eval "$lt_compile" 2>out/conftest.err)
7462   ac_status=$?
7463   cat out/conftest.err >&5
7464   echo "$as_me:7464: \$? = $ac_status" >&5
7465   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7466   then
7467     # The compiler can only warn and ignore the option if not recognized
7468     # So say no if there are warnings
7469     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7470     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7471     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7472       lt_cv_prog_compiler_c_o=yes
7473     fi
7474   fi
7475   chmod u+w . 2>&5
7476   $RM conftest*
7477   # SGI C++ compiler will create directory out/ii_files/ for
7478   # template instantiation
7479   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7480   $RM out/* && rmdir out
7481   cd ..
7482   $RM -r conftest
7483   $RM conftest*
7484
7485fi
7486echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7487echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7488
7489
7490
7491
7492
7493
7494  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7495echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7496if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7497  echo $ECHO_N "(cached) $ECHO_C" >&6
7498else
7499  lt_cv_prog_compiler_c_o=no
7500   $RM -r conftest 2>/dev/null
7501   mkdir conftest
7502   cd conftest
7503   mkdir out
7504   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7505
7506   lt_compiler_flag="-o out/conftest2.$ac_objext"
7507   # Insert the option either (1) after the last *FLAGS variable, or
7508   # (2) before a word containing "conftest.", or (3) at the end.
7509   # Note that $ac_compile itself does not contain backslashes and begins
7510   # with a dollar sign (not a hyphen), so the echo should work correctly.
7511   lt_compile=`echo "$ac_compile" | $SED \
7512   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7513   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7514   -e 's:$: $lt_compiler_flag:'`
7515   (eval echo "\"\$as_me:7515: $lt_compile\"" >&5)
7516   (eval "$lt_compile" 2>out/conftest.err)
7517   ac_status=$?
7518   cat out/conftest.err >&5
7519   echo "$as_me:7519: \$? = $ac_status" >&5
7520   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7521   then
7522     # The compiler can only warn and ignore the option if not recognized
7523     # So say no if there are warnings
7524     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7525     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7526     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7527       lt_cv_prog_compiler_c_o=yes
7528     fi
7529   fi
7530   chmod u+w . 2>&5
7531   $RM conftest*
7532   # SGI C++ compiler will create directory out/ii_files/ for
7533   # template instantiation
7534   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7535   $RM out/* && rmdir out
7536   cd ..
7537   $RM -r conftest
7538   $RM conftest*
7539
7540fi
7541echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7542echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7543
7544
7545
7546
7547hard_links="nottested"
7548if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7549  # do not overwrite the value of need_locks provided by the user
7550  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7551echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7552  hard_links=yes
7553  $RM conftest*
7554  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7555  touch conftest.a
7556  ln conftest.a conftest.b 2>&5 || hard_links=no
7557  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7558  echo "$as_me:$LINENO: result: $hard_links" >&5
7559echo "${ECHO_T}$hard_links" >&6
7560  if test "$hard_links" = no; then
7561    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7562echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7563    need_locks=warn
7564  fi
7565else
7566  need_locks=no
7567fi
7568
7569
7570
7571
7572
7573
7574  echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7575echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7576
7577  runpath_var=
7578  allow_undefined_flag=
7579  always_export_symbols=no
7580  archive_cmds=
7581  archive_expsym_cmds=
7582  compiler_needs_object=no
7583  enable_shared_with_static_runtimes=no
7584  export_dynamic_flag_spec=
7585  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7586  hardcode_automatic=no
7587  hardcode_direct=no
7588  hardcode_direct_absolute=no
7589  hardcode_libdir_flag_spec=
7590  hardcode_libdir_flag_spec_ld=
7591  hardcode_libdir_separator=
7592  hardcode_minus_L=no
7593  hardcode_shlibpath_var=unsupported
7594  inherit_rpath=no
7595  link_all_deplibs=unknown
7596  module_cmds=
7597  module_expsym_cmds=
7598  old_archive_from_new_cmds=
7599  old_archive_from_expsyms_cmds=
7600  thread_safe_flag_spec=
7601  whole_archive_flag_spec=
7602  # include_expsyms should be a list of space-separated symbols to be *always*
7603  # included in the symbol list
7604  include_expsyms=
7605  # exclude_expsyms can be an extended regexp of symbols to exclude
7606  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7607  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7608  # as well as any symbol that contains `d'.
7609  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7610  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7611  # platforms (ab)use it in PIC code, but their linkers get confused if
7612  # the symbol is explicitly referenced.  Since portable code cannot
7613  # rely on this symbol name, it's probably fine to never include it in
7614  # preloaded symbol tables.
7615  extract_expsyms_cmds=
7616
7617  case $host_os in
7618  cygwin* | mingw* | pw32*)
7619    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7620    # When not using gcc, we currently assume that we are using
7621    # Microsoft Visual C++.
7622    if test "$GCC" != yes; then
7623      with_gnu_ld=no
7624    fi
7625    ;;
7626  interix*)
7627    # we just hope/assume this is gcc and not c89 (= MSVC++)
7628    with_gnu_ld=yes
7629    ;;
7630  openbsd*)
7631    with_gnu_ld=no
7632    ;;
7633  esac
7634
7635  ld_shlibs=yes
7636  if test "$with_gnu_ld" = yes; then
7637    # If archive_cmds runs LD, not CC, wlarc should be empty
7638    wlarc='${wl}'
7639
7640    # Set some defaults for GNU ld with shared library support. These
7641    # are reset later if shared libraries are not supported. Putting them
7642    # here allows them to be overridden if necessary.
7643    runpath_var=LD_RUN_PATH
7644    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7645    export_dynamic_flag_spec='${wl}--export-dynamic'
7646    # ancient GNU ld didn't support --whole-archive et. al.
7647    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7648      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7649    else
7650      whole_archive_flag_spec=
7651    fi
7652    supports_anon_versioning=no
7653    case `$LD -v 2>&1` in
7654      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7655      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7656      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7657      *\ 2.11.*) ;; # other 2.11 versions
7658      *) supports_anon_versioning=yes ;;
7659    esac
7660
7661    # See if GNU ld supports shared libraries.
7662    case $host_os in
7663    aix[3-9]*)
7664      # On AIX/PPC, the GNU linker is very broken
7665      if test "$host_cpu" != ia64; then
7666	ld_shlibs=no
7667	cat <<_LT_EOF 1>&2
7668
7669*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7670*** to be unable to reliably create shared libraries on AIX.
7671*** Therefore, libtool is disabling shared libraries support.  If you
7672*** really care for shared libraries, you may want to modify your PATH
7673*** so that a non-GNU linker is found, and then restart.
7674
7675_LT_EOF
7676      fi
7677      ;;
7678
7679    amigaos*)
7680      if test "$host_cpu" = m68k; then
7681        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)'
7682        hardcode_libdir_flag_spec='-L$libdir'
7683        hardcode_minus_L=yes
7684      fi
7685
7686      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7687      # that the semantics of dynamic libraries on AmigaOS, at least up
7688      # to version 4, is to share data among multiple programs linked
7689      # with the same dynamic library.  Since this doesn't match the
7690      # behavior of shared libraries on other platforms, we can't use
7691      # them.
7692      ld_shlibs=no
7693      ;;
7694
7695    beos*)
7696      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7697	allow_undefined_flag=unsupported
7698	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7699	# support --undefined.  This deserves some investigation.  FIXME
7700	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7701      else
7702	ld_shlibs=no
7703      fi
7704      ;;
7705
7706    cygwin* | mingw* | pw32*)
7707      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7708      # as there is no search path for DLLs.
7709      hardcode_libdir_flag_spec='-L$libdir'
7710      allow_undefined_flag=unsupported
7711      always_export_symbols=no
7712      enable_shared_with_static_runtimes=yes
7713      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7714
7715      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7716        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7717	# If the export-symbols file already is a .def file (1st line
7718	# is EXPORTS), use it as is; otherwise, prepend...
7719	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7720	  cp $export_symbols $output_objdir/$soname.def;
7721	else
7722	  echo EXPORTS > $output_objdir/$soname.def;
7723	  cat $export_symbols >> $output_objdir/$soname.def;
7724	fi~
7725	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7726      else
7727	ld_shlibs=no
7728      fi
7729      ;;
7730
7731    interix[3-9]*)
7732      hardcode_direct=no
7733      hardcode_shlibpath_var=no
7734      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7735      export_dynamic_flag_spec='${wl}-E'
7736      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7737      # Instead, shared libraries are loaded at an image base (0x10000000 by
7738      # default) and relocated if they conflict, which is a slow very memory
7739      # consuming and fragmenting process.  To avoid this, we pick a random,
7740      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7741      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7742      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7743      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'
7744      ;;
7745
7746    gnu* | linux* | tpf* | k*bsd*-gnu)
7747      tmp_diet=no
7748      if test "$host_os" = linux-dietlibc; then
7749	case $cc_basename in
7750	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
7751	esac
7752      fi
7753      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7754	 && test "$tmp_diet" = no
7755      then
7756	tmp_addflag=
7757	case $cc_basename,$host_cpu in
7758        pgcc*)				# Portland Group C compiler
7759	  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'
7760	  tmp_addflag=' $pic_flag'
7761	  ;;
7762	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
7763	  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'
7764	  tmp_addflag=' $pic_flag -Mnomain' ;;
7765	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
7766	  tmp_addflag=' -i_dynamic' ;;
7767	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
7768	  tmp_addflag=' -i_dynamic -nofor_main' ;;
7769	ifc* | ifort*)			# Intel Fortran compiler
7770	  tmp_addflag=' -nofor_main' ;;
7771	esac
7772	case `$CC -V 2>&1 | sed 5q` in
7773	*Sun\ C*)			# Sun C 5.9
7774	  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'
7775	  compiler_needs_object=yes
7776	  tmp_sharedflag='-G' ;;
7777	*Sun\ F*)			# Sun Fortran 8.3
7778	  tmp_sharedflag='-G' ;;
7779	*)
7780	  tmp_sharedflag='-shared' ;;
7781	esac
7782	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7783
7784        if test "x$supports_anon_versioning" = xyes; then
7785          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7786	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7787	    echo "local: *; };" >> $output_objdir/$libname.ver~
7788	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7789        fi
7790      else
7791        ld_shlibs=no
7792      fi
7793      ;;
7794
7795    netbsd*)
7796      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7797	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7798	wlarc=
7799      else
7800	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7801	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7802      fi
7803      ;;
7804
7805    solaris*)
7806      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7807	ld_shlibs=no
7808	cat <<_LT_EOF 1>&2
7809
7810*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7811*** create shared libraries on Solaris systems.  Therefore, libtool
7812*** is disabling shared libraries support.  We urge you to upgrade GNU
7813*** binutils to release 2.9.1 or newer.  Another option is to modify
7814*** your PATH or compiler configuration so that the native linker is
7815*** used, and then restart.
7816
7817_LT_EOF
7818      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7819	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7820	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7821      else
7822	ld_shlibs=no
7823      fi
7824      ;;
7825
7826    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7827      case `$LD -v 2>&1` in
7828        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7829	ld_shlibs=no
7830	cat <<_LT_EOF 1>&2
7831
7832*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7833*** reliably create shared libraries on SCO systems.  Therefore, libtool
7834*** is disabling shared libraries support.  We urge you to upgrade GNU
7835*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7836*** your PATH or compiler configuration so that the native linker is
7837*** used, and then restart.
7838
7839_LT_EOF
7840	;;
7841	*)
7842	  # For security reasons, it is highly recommended that you always
7843	  # use absolute paths for naming shared libraries, and exclude the
7844	  # DT_RUNPATH tag from executables and libraries.  But doing so
7845	  # requires that you compile everything twice, which is a pain.
7846	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7847	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7848	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7849	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7850	  else
7851	    ld_shlibs=no
7852	  fi
7853	;;
7854      esac
7855      ;;
7856
7857    sunos4*)
7858      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7859      wlarc=
7860      hardcode_direct=yes
7861      hardcode_shlibpath_var=no
7862      ;;
7863
7864    *)
7865      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7866	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7867	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7868      else
7869	ld_shlibs=no
7870      fi
7871      ;;
7872    esac
7873
7874    if test "$ld_shlibs" = no; then
7875      runpath_var=
7876      hardcode_libdir_flag_spec=
7877      export_dynamic_flag_spec=
7878      whole_archive_flag_spec=
7879    fi
7880  else
7881    # PORTME fill in a description of your system's linker (not GNU ld)
7882    case $host_os in
7883    aix3*)
7884      allow_undefined_flag=unsupported
7885      always_export_symbols=yes
7886      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'
7887      # Note: this linker hardcodes the directories in LIBPATH if there
7888      # are no directories specified by -L.
7889      hardcode_minus_L=yes
7890      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7891	# Neither direct hardcoding nor static linking is supported with a
7892	# broken collect2.
7893	hardcode_direct=unsupported
7894      fi
7895      ;;
7896
7897    aix[4-9]*)
7898      if test "$host_cpu" = ia64; then
7899	# On IA64, the linker does run time linking by default, so we don't
7900	# have to do anything special.
7901	aix_use_runtimelinking=no
7902	exp_sym_flag='-Bexport'
7903	no_entry_flag=""
7904      else
7905	# If we're using GNU nm, then we don't want the "-C" option.
7906	# -C means demangle to AIX nm, but means don't demangle with GNU nm
7907	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7908	  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'
7909	else
7910	  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'
7911	fi
7912	aix_use_runtimelinking=no
7913
7914	# Test if we are trying to use run time linking or normal
7915	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
7916	# need to do runtime linking.
7917	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7918	  for ld_flag in $LDFLAGS; do
7919	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7920	    aix_use_runtimelinking=yes
7921	    break
7922	  fi
7923	  done
7924	  ;;
7925	esac
7926
7927	exp_sym_flag='-bexport'
7928	no_entry_flag='-bnoentry'
7929      fi
7930
7931      # When large executables or shared objects are built, AIX ld can
7932      # have problems creating the table of contents.  If linking a library
7933      # or program results in "error TOC overflow" add -mminimal-toc to
7934      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7935      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7936
7937      archive_cmds=''
7938      hardcode_direct=yes
7939      hardcode_direct_absolute=yes
7940      hardcode_libdir_separator=':'
7941      link_all_deplibs=yes
7942      file_list_spec='${wl}-f,'
7943
7944      if test "$GCC" = yes; then
7945	case $host_os in aix4.[012]|aix4.[012].*)
7946	# We only want to do this on AIX 4.2 and lower, the check
7947	# below for broken collect2 doesn't work under 4.3+
7948	  collect2name=`${CC} -print-prog-name=collect2`
7949	  if test -f "$collect2name" &&
7950	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7951	  then
7952	  # We have reworked collect2
7953	  :
7954	  else
7955	  # We have old collect2
7956	  hardcode_direct=unsupported
7957	  # It fails to find uninstalled libraries when the uninstalled
7958	  # path is not listed in the libpath.  Setting hardcode_minus_L
7959	  # to unsupported forces relinking
7960	  hardcode_minus_L=yes
7961	  hardcode_libdir_flag_spec='-L$libdir'
7962	  hardcode_libdir_separator=
7963	  fi
7964	  ;;
7965	esac
7966	shared_flag='-shared'
7967	if test "$aix_use_runtimelinking" = yes; then
7968	  shared_flag="$shared_flag "'${wl}-G'
7969	fi
7970      else
7971	# not using gcc
7972	if test "$host_cpu" = ia64; then
7973	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7974	# chokes on -Wl,-G. The following line is correct:
7975	  shared_flag='-G'
7976	else
7977	  if test "$aix_use_runtimelinking" = yes; then
7978	    shared_flag='${wl}-G'
7979	  else
7980	    shared_flag='${wl}-bM:SRE'
7981	  fi
7982	fi
7983      fi
7984
7985      # It seems that -bexpall does not export symbols beginning with
7986      # underscore (_), so it is better to generate a list of symbols to export.
7987      always_export_symbols=yes
7988      if test "$aix_use_runtimelinking" = yes; then
7989	# Warning - without using the other runtime loading flags (-brtl),
7990	# -berok will link without error, but may produce a broken library.
7991	allow_undefined_flag='-berok'
7992        # Determine the default libpath from the value encoded in an
7993        # empty executable.
7994        cat >conftest.$ac_ext <<_ACEOF
7995/* confdefs.h.  */
7996_ACEOF
7997cat confdefs.h >>conftest.$ac_ext
7998cat >>conftest.$ac_ext <<_ACEOF
7999/* end confdefs.h.  */
8000
8001int
8002main ()
8003{
8004
8005  ;
8006  return 0;
8007}
8008_ACEOF
8009rm -f conftest.$ac_objext conftest$ac_exeext
8010if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8011  (eval $ac_link) 2>conftest.er1
8012  ac_status=$?
8013  grep -v '^ *+' conftest.er1 >conftest.err
8014  rm -f conftest.er1
8015  cat conftest.err >&5
8016  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017  (exit $ac_status); } &&
8018	 { ac_try='test -z "$ac_c_werror_flag"
8019			 || test ! -s conftest.err'
8020  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8021  (eval $ac_try) 2>&5
8022  ac_status=$?
8023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024  (exit $ac_status); }; } &&
8025	 { ac_try='test -s conftest$ac_exeext'
8026  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8027  (eval $ac_try) 2>&5
8028  ac_status=$?
8029  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030  (exit $ac_status); }; }; then
8031
8032lt_aix_libpath_sed='
8033    /Import File Strings/,/^$/ {
8034	/^0/ {
8035	    s/^0  *\(.*\)$/\1/
8036	    p
8037	}
8038    }'
8039aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8040# Check for a 64-bit object if we didn't find anything.
8041if test -z "$aix_libpath"; then
8042  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8043fi
8044else
8045  echo "$as_me: failed program was:" >&5
8046sed 's/^/| /' conftest.$ac_ext >&5
8047
8048fi
8049rm -f conftest.err conftest.$ac_objext \
8050      conftest$ac_exeext conftest.$ac_ext
8051if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8052
8053        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8054        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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8055      else
8056	if test "$host_cpu" = ia64; then
8057	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8058	  allow_undefined_flag="-z nodefs"
8059	  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"
8060	else
8061	 # Determine the default libpath from the value encoded in an
8062	 # empty executable.
8063	 cat >conftest.$ac_ext <<_ACEOF
8064/* confdefs.h.  */
8065_ACEOF
8066cat confdefs.h >>conftest.$ac_ext
8067cat >>conftest.$ac_ext <<_ACEOF
8068/* end confdefs.h.  */
8069
8070int
8071main ()
8072{
8073
8074  ;
8075  return 0;
8076}
8077_ACEOF
8078rm -f conftest.$ac_objext conftest$ac_exeext
8079if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8080  (eval $ac_link) 2>conftest.er1
8081  ac_status=$?
8082  grep -v '^ *+' conftest.er1 >conftest.err
8083  rm -f conftest.er1
8084  cat conftest.err >&5
8085  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086  (exit $ac_status); } &&
8087	 { ac_try='test -z "$ac_c_werror_flag"
8088			 || test ! -s conftest.err'
8089  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8090  (eval $ac_try) 2>&5
8091  ac_status=$?
8092  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093  (exit $ac_status); }; } &&
8094	 { ac_try='test -s conftest$ac_exeext'
8095  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8096  (eval $ac_try) 2>&5
8097  ac_status=$?
8098  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099  (exit $ac_status); }; }; then
8100
8101lt_aix_libpath_sed='
8102    /Import File Strings/,/^$/ {
8103	/^0/ {
8104	    s/^0  *\(.*\)$/\1/
8105	    p
8106	}
8107    }'
8108aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8109# Check for a 64-bit object if we didn't find anything.
8110if test -z "$aix_libpath"; then
8111  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8112fi
8113else
8114  echo "$as_me: failed program was:" >&5
8115sed 's/^/| /' conftest.$ac_ext >&5
8116
8117fi
8118rm -f conftest.err conftest.$ac_objext \
8119      conftest$ac_exeext conftest.$ac_ext
8120if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8121
8122	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8123	  # Warning - without using the other run time loading flags,
8124	  # -berok will link without error, but may produce a broken library.
8125	  no_undefined_flag=' ${wl}-bernotok'
8126	  allow_undefined_flag=' ${wl}-berok'
8127	  # Exported symbols can be pulled into shared objects from archives
8128	  whole_archive_flag_spec='$convenience'
8129	  archive_cmds_need_lc=yes
8130	  # This is similar to how AIX traditionally builds its shared libraries.
8131	  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'
8132	fi
8133      fi
8134      ;;
8135
8136    amigaos*)
8137      if test "$host_cpu" = m68k; then
8138        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)'
8139        hardcode_libdir_flag_spec='-L$libdir'
8140        hardcode_minus_L=yes
8141      fi
8142      # see comment about different semantics on the GNU ld section
8143      ld_shlibs=no
8144      ;;
8145
8146    bsdi[45]*)
8147      export_dynamic_flag_spec=-rdynamic
8148      ;;
8149
8150    cygwin* | mingw* | pw32*)
8151      # When not using gcc, we currently assume that we are using
8152      # Microsoft Visual C++.
8153      # hardcode_libdir_flag_spec is actually meaningless, as there is
8154      # no search path for DLLs.
8155      hardcode_libdir_flag_spec=' '
8156      allow_undefined_flag=unsupported
8157      # Tell ltmain to make .lib files, not .a files.
8158      libext=lib
8159      # Tell ltmain to make .dll files, not .so files.
8160      shrext_cmds=".dll"
8161      # FIXME: Setting linknames here is a bad hack.
8162      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8163      # The linker will automatically build a .lib file if we build a DLL.
8164      old_archive_from_new_cmds='true'
8165      # FIXME: Should let the user specify the lib program.
8166      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8167      fix_srcfile_path='`cygpath -w "$srcfile"`'
8168      enable_shared_with_static_runtimes=yes
8169      ;;
8170
8171    darwin* | rhapsody*)
8172      case $host_os in
8173      rhapsody* | darwin1.[012])
8174	allow_undefined_flag='${wl}-undefined ${wl}suppress'
8175	;;
8176      *) # Darwin 1.3 on
8177	case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8178	10.[012])
8179	  allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8180	  ;;
8181	10.*)
8182	  allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8183	  ;;
8184	esac
8185	;;
8186      esac
8187      archive_cmds_need_lc=no
8188      hardcode_direct=no
8189      hardcode_automatic=yes
8190      hardcode_shlibpath_var=unsupported
8191      whole_archive_flag_spec=''
8192      link_all_deplibs=yes
8193      if test "$GCC" = yes ; then
8194	if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8195  echo $ECHO_N "(cached) $ECHO_C" >&6
8196else
8197  lt_cv_apple_cc_single_mod=no
8198	if test -z "${LT_MULTI_MODULE}"; then
8199	  # By default we will add the -single_module flag. You can override
8200	  # by either setting the environment variable LT_MULTI_MODULE
8201	  # non-empty at configure time, or by adding -multi-module to the
8202	  # link flags.
8203	  echo "int foo(void){return 1;}" > conftest.c
8204	  $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8205	      -dynamiclib ${wl}-single_module conftest.c
8206	  if test -f libconftest.dylib; then
8207	      lt_cv_apple_cc_single_mod=yes
8208	      rm libconftest.dylib
8209	  fi
8210	  rm conftest.$ac_ext
8211	fi
8212fi
8213
8214	output_verbose_link_cmd=echo
8215	if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8216	  archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8217	  archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8218	else
8219	  archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8220	  archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8221	fi
8222	module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8223	module_expsym_cmds='sed -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}'
8224      else
8225	case $cc_basename in
8226	xlc*)
8227	  output_verbose_link_cmd=echo
8228	  archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8229	  module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8230	  # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8231	  archive_expsym_cmds='sed "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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8232	  module_expsym_cmds='sed "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}'
8233	  ;;
8234	*)
8235	  ld_shlibs=no
8236	  ;;
8237	esac
8238      fi
8239      ;;
8240
8241    dgux*)
8242      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8243      hardcode_libdir_flag_spec='-L$libdir'
8244      hardcode_shlibpath_var=no
8245      ;;
8246
8247    freebsd1*)
8248      ld_shlibs=no
8249      ;;
8250
8251    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8252    # support.  Future versions do this automatically, but an explicit c++rt0.o
8253    # does not break anything, and helps significantly (at the cost of a little
8254    # extra space).
8255    freebsd2.2*)
8256      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8257      hardcode_libdir_flag_spec='-R$libdir'
8258      hardcode_direct=yes
8259      hardcode_shlibpath_var=no
8260      ;;
8261
8262    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8263    freebsd2*)
8264      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8265      hardcode_direct=yes
8266      hardcode_minus_L=yes
8267      hardcode_shlibpath_var=no
8268      ;;
8269
8270    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8271    freebsd* | dragonfly*)
8272      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8273      hardcode_libdir_flag_spec='-R$libdir'
8274      hardcode_direct=yes
8275      hardcode_shlibpath_var=no
8276      ;;
8277
8278    hpux9*)
8279      if test "$GCC" = yes; then
8280	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'
8281      else
8282	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'
8283      fi
8284      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8285      hardcode_libdir_separator=:
8286      hardcode_direct=yes
8287
8288      # hardcode_minus_L: Not really in the search PATH,
8289      # but as the default location of the library.
8290      hardcode_minus_L=yes
8291      export_dynamic_flag_spec='${wl}-E'
8292      ;;
8293
8294    hpux10*)
8295      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8296	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8297      else
8298	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8299      fi
8300      if test "$with_gnu_ld" = no; then
8301	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8302	hardcode_libdir_flag_spec_ld='+b $libdir'
8303	hardcode_libdir_separator=:
8304	hardcode_direct=yes
8305	hardcode_direct_absolute=yes
8306	export_dynamic_flag_spec='${wl}-E'
8307	# hardcode_minus_L: Not really in the search PATH,
8308	# but as the default location of the library.
8309	hardcode_minus_L=yes
8310      fi
8311      ;;
8312
8313    hpux11*)
8314      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8315	case $host_cpu in
8316	hppa*64*)
8317	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8318	  ;;
8319	ia64*)
8320	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8321	  ;;
8322	*)
8323	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8324	  ;;
8325	esac
8326      else
8327	case $host_cpu in
8328	hppa*64*)
8329	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8330	  ;;
8331	ia64*)
8332	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8333	  ;;
8334	*)
8335	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8336	  ;;
8337	esac
8338      fi
8339      if test "$with_gnu_ld" = no; then
8340	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8341	hardcode_libdir_separator=:
8342
8343	case $host_cpu in
8344	hppa*64*|ia64*)
8345	  hardcode_direct=no
8346	  hardcode_shlibpath_var=no
8347	  ;;
8348	*)
8349	  hardcode_direct=yes
8350	  hardcode_direct_absolute=yes
8351	  export_dynamic_flag_spec='${wl}-E'
8352
8353	  # hardcode_minus_L: Not really in the search PATH,
8354	  # but as the default location of the library.
8355	  hardcode_minus_L=yes
8356	  ;;
8357	esac
8358      fi
8359      ;;
8360
8361    irix5* | irix6* | nonstopux*)
8362      if test "$GCC" = yes; then
8363	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8364	# Try to use the -exported_symbol ld option, if it does not
8365	# work, assume that -exports_file does not work either and
8366	# implicitly export all symbols.
8367        save_LDFLAGS="$LDFLAGS"
8368        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8369        cat >conftest.$ac_ext <<_ACEOF
8370int foo(void) {}
8371_ACEOF
8372rm -f conftest.$ac_objext conftest$ac_exeext
8373if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8374  (eval $ac_link) 2>conftest.er1
8375  ac_status=$?
8376  grep -v '^ *+' conftest.er1 >conftest.err
8377  rm -f conftest.er1
8378  cat conftest.err >&5
8379  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380  (exit $ac_status); } &&
8381	 { ac_try='test -z "$ac_c_werror_flag"
8382			 || test ! -s conftest.err'
8383  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8384  (eval $ac_try) 2>&5
8385  ac_status=$?
8386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387  (exit $ac_status); }; } &&
8388	 { ac_try='test -s conftest$ac_exeext'
8389  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8390  (eval $ac_try) 2>&5
8391  ac_status=$?
8392  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393  (exit $ac_status); }; }; then
8394  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8395
8396else
8397  echo "$as_me: failed program was:" >&5
8398sed 's/^/| /' conftest.$ac_ext >&5
8399
8400fi
8401rm -f conftest.err conftest.$ac_objext \
8402      conftest$ac_exeext conftest.$ac_ext
8403        LDFLAGS="$save_LDFLAGS"
8404      else
8405	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8406	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8407      fi
8408      archive_cmds_need_lc='no'
8409      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8410      hardcode_libdir_separator=:
8411      inherit_rpath=yes
8412      link_all_deplibs=yes
8413      ;;
8414
8415    netbsd*)
8416      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8417	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8418      else
8419	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8420      fi
8421      hardcode_libdir_flag_spec='-R$libdir'
8422      hardcode_direct=yes
8423      hardcode_shlibpath_var=no
8424      ;;
8425
8426    newsos6)
8427      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8428      hardcode_direct=yes
8429      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8430      hardcode_libdir_separator=:
8431      hardcode_shlibpath_var=no
8432      ;;
8433
8434    *nto* | *qnx*)
8435      ;;
8436
8437    openbsd*)
8438      hardcode_direct=yes
8439      hardcode_shlibpath_var=no
8440      hardcode_direct_absolute=yes
8441      if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8442	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8443	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8444	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8445	export_dynamic_flag_spec='${wl}-E'
8446      else
8447        case $host_os in
8448	openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8449	  archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8450	  hardcode_libdir_flag_spec='-R$libdir'
8451	  ;;
8452	*)
8453	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8454	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8455	  ;;
8456        esac
8457      fi
8458      ;;
8459
8460    os2*)
8461      hardcode_libdir_flag_spec='-L$libdir'
8462      hardcode_minus_L=yes
8463      allow_undefined_flag=unsupported
8464      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'
8465      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8466      ;;
8467
8468    osf3*)
8469      if test "$GCC" = yes; then
8470	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8471	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8472      else
8473	allow_undefined_flag=' -expect_unresolved \*'
8474	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8475      fi
8476      archive_cmds_need_lc='no'
8477      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8478      hardcode_libdir_separator=:
8479      ;;
8480
8481    osf4* | osf5*)	# as osf3* with the addition of -msym flag
8482      if test "$GCC" = yes; then
8483	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8484	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8485	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8486      else
8487	allow_undefined_flag=' -expect_unresolved \*'
8488	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8489	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8490	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8491
8492	# Both c and cxx compiler support -rpath directly
8493	hardcode_libdir_flag_spec='-rpath $libdir'
8494      fi
8495      archive_cmds_need_lc='no'
8496      hardcode_libdir_separator=:
8497      ;;
8498
8499    solaris*)
8500      no_undefined_flag=' -z defs'
8501      if test "$GCC" = yes; then
8502	wlarc='${wl}'
8503	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8504	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8505	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8506      else
8507	case `$CC -V 2>&1` in
8508	*"Compilers 5.0"*)
8509	  wlarc=''
8510	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8511	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8512	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8513	  ;;
8514	*)
8515	  wlarc='${wl}'
8516	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8517	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8518	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8519	  ;;
8520	esac
8521      fi
8522      hardcode_libdir_flag_spec='-R$libdir'
8523      hardcode_shlibpath_var=no
8524      case $host_os in
8525      solaris2.[0-5] | solaris2.[0-5].*) ;;
8526      *)
8527	# The compiler driver will combine and reorder linker options,
8528	# but understands `-z linker_flag'.  GCC discards it without `$wl',
8529	# but is careful enough not to reorder.
8530	# Supported since Solaris 2.6 (maybe 2.5.1?)
8531	if test "$GCC" = yes; then
8532	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8533	else
8534	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8535	fi
8536	;;
8537      esac
8538      link_all_deplibs=yes
8539      ;;
8540
8541    sunos4*)
8542      if test "x$host_vendor" = xsequent; then
8543	# Use $CC to link under sequent, because it throws in some extra .o
8544	# files that make .init and .fini sections work.
8545	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8546      else
8547	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8548      fi
8549      hardcode_libdir_flag_spec='-L$libdir'
8550      hardcode_direct=yes
8551      hardcode_minus_L=yes
8552      hardcode_shlibpath_var=no
8553      ;;
8554
8555    sysv4)
8556      case $host_vendor in
8557	sni)
8558	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8559	  hardcode_direct=yes # is this really true???
8560	;;
8561	siemens)
8562	  ## LD is ld it makes a PLAMLIB
8563	  ## CC just makes a GrossModule.
8564	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8565	  reload_cmds='$CC -r -o $output$reload_objs'
8566	  hardcode_direct=no
8567        ;;
8568	motorola)
8569	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8570	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8571	;;
8572      esac
8573      runpath_var='LD_RUN_PATH'
8574      hardcode_shlibpath_var=no
8575      ;;
8576
8577    sysv4.3*)
8578      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8579      hardcode_shlibpath_var=no
8580      export_dynamic_flag_spec='-Bexport'
8581      ;;
8582
8583    sysv4*MP*)
8584      if test -d /usr/nec; then
8585	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8586	hardcode_shlibpath_var=no
8587	runpath_var=LD_RUN_PATH
8588	hardcode_runpath_var=yes
8589	ld_shlibs=yes
8590      fi
8591      ;;
8592
8593    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8594      no_undefined_flag='${wl}-z,text'
8595      archive_cmds_need_lc=no
8596      hardcode_shlibpath_var=no
8597      runpath_var='LD_RUN_PATH'
8598
8599      if test "$GCC" = yes; then
8600	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8601	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8602      else
8603	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8604	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8605      fi
8606      ;;
8607
8608    sysv5* | sco3.2v5* | sco5v6*)
8609      # Note: We can NOT use -z defs as we might desire, because we do not
8610      # link with -lc, and that would cause any symbols used from libc to
8611      # always be unresolved, which means just about no library would
8612      # ever link correctly.  If we're not using GNU ld we use -z text
8613      # though, which does catch some bad symbols but isn't as heavy-handed
8614      # as -z defs.
8615      no_undefined_flag='${wl}-z,text'
8616      allow_undefined_flag='${wl}-z,nodefs'
8617      archive_cmds_need_lc=no
8618      hardcode_shlibpath_var=no
8619      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8620      hardcode_libdir_separator=':'
8621      link_all_deplibs=yes
8622      export_dynamic_flag_spec='${wl}-Bexport'
8623      runpath_var='LD_RUN_PATH'
8624
8625      if test "$GCC" = yes; then
8626	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8627	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8628      else
8629	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8630	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8631      fi
8632      ;;
8633
8634    uts4*)
8635      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8636      hardcode_libdir_flag_spec='-L$libdir'
8637      hardcode_shlibpath_var=no
8638      ;;
8639
8640    *)
8641      ld_shlibs=no
8642      ;;
8643    esac
8644
8645    if test x$host_vendor = xsni; then
8646      case $host in
8647      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8648	export_dynamic_flag_spec='${wl}-Blargedynsym'
8649	;;
8650      esac
8651    fi
8652  fi
8653
8654echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8655echo "${ECHO_T}$ld_shlibs" >&6
8656test "$ld_shlibs" = no && can_build_shared=no
8657
8658with_gnu_ld=$with_gnu_ld
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674#
8675# Do we need to explicitly link libc?
8676#
8677case "x$archive_cmds_need_lc" in
8678x|xyes)
8679  # Assume -lc should be added
8680  archive_cmds_need_lc=yes
8681
8682  if test "$enable_shared" = yes && test "$GCC" = yes; then
8683    case $archive_cmds in
8684    *'~'*)
8685      # FIXME: we may have to deal with multi-command sequences.
8686      ;;
8687    '$CC '*)
8688      # Test whether the compiler implicitly links with -lc since on some
8689      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8690      # to ld, don't add -lc before -lgcc.
8691      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8692echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8693      $RM conftest*
8694      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8695
8696      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8697  (eval $ac_compile) 2>&5
8698  ac_status=$?
8699  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700  (exit $ac_status); } 2>conftest.err; then
8701        soname=conftest
8702        lib=conftest
8703        libobjs=conftest.$ac_objext
8704        deplibs=
8705        wl=$lt_prog_compiler_wl
8706	pic_flag=$lt_prog_compiler_pic
8707        compiler_flags=-v
8708        linker_flags=-v
8709        verstring=
8710        output_objdir=.
8711        libname=conftest
8712        lt_save_allow_undefined_flag=$allow_undefined_flag
8713        allow_undefined_flag=
8714        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8715  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8716  ac_status=$?
8717  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718  (exit $ac_status); }
8719        then
8720	  archive_cmds_need_lc=no
8721        else
8722	  archive_cmds_need_lc=yes
8723        fi
8724        allow_undefined_flag=$lt_save_allow_undefined_flag
8725      else
8726        cat conftest.err 1>&5
8727      fi
8728      $RM conftest*
8729      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8730echo "${ECHO_T}$archive_cmds_need_lc" >&6
8731      ;;
8732    esac
8733  fi
8734  ;;
8735esac
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893  echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8894echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8895withGCC=$GCC
8896if test "$withGCC" = yes; then
8897  case $host_os in
8898    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8899    *) lt_awk_arg="/^libraries:/" ;;
8900  esac
8901  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8902  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8903    # if the path contains ";" then we assume it to be the separator
8904    # otherwise default to the standard path separator (i.e. ":") - it is
8905    # assumed that no part of a normal pathname contains ";" but that should
8906    # okay in the real world where ";" in dirpaths is itself problematic.
8907    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8908  else
8909    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8910  fi
8911  # Ok, now we have the path, separated by spaces, we can step through it
8912  # and add multilib dir if necessary.
8913  lt_tmp_lt_search_path_spec=
8914  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8915  for lt_sys_path in $lt_search_path_spec; do
8916    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8917      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8918    else
8919      test -d "$lt_sys_path" && \
8920	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8921    fi
8922  done
8923  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8924BEGIN {RS=" "; FS="/|\n";} {
8925  lt_foo="";
8926  lt_count=0;
8927  for (lt_i = NF; lt_i > 0; lt_i--) {
8928    if ($lt_i != "" && $lt_i != ".") {
8929      if ($lt_i == "..") {
8930        lt_count++;
8931      } else {
8932        if (lt_count == 0) {
8933          lt_foo="/" $lt_i lt_foo;
8934        } else {
8935          lt_count--;
8936        }
8937      }
8938    }
8939  }
8940  if (lt_foo != "") { lt_freq[lt_foo]++; }
8941  if (lt_freq[lt_foo] == 1) { print lt_foo; }
8942}'`
8943  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8944else
8945  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8946fi
8947library_names_spec=
8948libname_spec='lib$name'
8949soname_spec=
8950shrext_cmds=".so"
8951postinstall_cmds=
8952postuninstall_cmds=
8953finish_cmds=
8954finish_eval=
8955shlibpath_var=
8956shlibpath_overrides_runpath=unknown
8957version_type=none
8958dynamic_linker="$host_os ld.so"
8959sys_lib_dlsearch_path_spec="/lib /usr/lib"
8960need_lib_prefix=unknown
8961hardcode_into_libs=no
8962
8963# when you set need_version to no, make sure it does not cause -set_version
8964# flags to be left without arguments
8965need_version=unknown
8966
8967case $host_os in
8968aix3*)
8969  version_type=linux
8970  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8971  shlibpath_var=LIBPATH
8972
8973  # AIX 3 has no versioning support, so we append a major version to the name.
8974  soname_spec='${libname}${release}${shared_ext}$major'
8975  ;;
8976
8977aix[4-9]*)
8978  version_type=linux
8979  need_lib_prefix=no
8980  need_version=no
8981  hardcode_into_libs=yes
8982  if test "$host_cpu" = ia64; then
8983    # AIX 5 supports IA64
8984    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8985    shlibpath_var=LD_LIBRARY_PATH
8986  else
8987    # With GCC up to 2.95.x, collect2 would create an import file
8988    # for dependence libraries.  The import file would start with
8989    # the line `#! .'.  This would cause the generated library to
8990    # depend on `.', always an invalid library.  This was fixed in
8991    # development snapshots of GCC prior to 3.0.
8992    case $host_os in
8993      aix4 | aix4.[01] | aix4.[01].*)
8994      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8995	   echo ' yes '
8996	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8997	:
8998      else
8999	can_build_shared=no
9000      fi
9001      ;;
9002    esac
9003    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9004    # soname into executable. Probably we can add versioning support to
9005    # collect2, so additional links can be useful in future.
9006    if test "$aix_use_runtimelinking" = yes; then
9007      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9008      # instead of lib<name>.a to let people know that these are not
9009      # typical AIX shared libraries.
9010      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9011    else
9012      # We preserve .a as extension for shared libraries through AIX4.2
9013      # and later when we are not doing run time linking.
9014      library_names_spec='${libname}${release}.a $libname.a'
9015      soname_spec='${libname}${release}${shared_ext}$major'
9016    fi
9017    shlibpath_var=LIBPATH
9018  fi
9019  ;;
9020
9021amigaos*)
9022  if test "$host_cpu" = m68k; then
9023    library_names_spec='$libname.ixlibrary $libname.a'
9024    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9025    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'
9026  else
9027    dynamic_linker=no
9028  fi
9029  ;;
9030
9031beos*)
9032  library_names_spec='${libname}${shared_ext}'
9033  dynamic_linker="$host_os ld.so"
9034  shlibpath_var=LIBRARY_PATH
9035  ;;
9036
9037bsdi[45]*)
9038  version_type=linux
9039  need_version=no
9040  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9041  soname_spec='${libname}${release}${shared_ext}$major'
9042  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9043  shlibpath_var=LD_LIBRARY_PATH
9044  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9045  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9046  # the default ld.so.conf also contains /usr/contrib/lib and
9047  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9048  # libtool to hard-code these into programs
9049  ;;
9050
9051cygwin* | mingw* | pw32*)
9052  version_type=windows
9053  shrext_cmds=".dll"
9054  need_version=no
9055  need_lib_prefix=no
9056
9057  case $withGCC,$host_os in
9058  yes,cygwin* | yes,mingw* | yes,pw32*)
9059    library_names_spec='$libname.dll.a'
9060    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9061    postinstall_cmds='base_file=`basename \${file}`~
9062      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9063      dldir=$destdir/`dirname \$dlpath`~
9064      test -d \$dldir || mkdir -p \$dldir~
9065      $install_prog $dir/$dlname \$dldir/$dlname~
9066      chmod a+x \$dldir/$dlname~
9067      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9068        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9069      fi'
9070    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9071      dlpath=$dir/\$dldll~
9072       $RM \$dlpath'
9073    shlibpath_overrides_runpath=yes
9074
9075    case $host_os in
9076    cygwin*)
9077      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9078      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9079      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9080      ;;
9081    mingw*)
9082      # MinGW DLLs use traditional 'lib' prefix
9083      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9084      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9085      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9086        # It is most probably a Windows format PATH printed by
9087        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9088        # path with ; separators, and with drive letters. We can handle the
9089        # drive letters (cygwin fileutils understands them), so leave them,
9090        # especially as we might pass files found there to a mingw objdump,
9091        # which wouldn't understand a cygwinified path. Ahh.
9092        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9093      else
9094        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9095      fi
9096      ;;
9097    pw32*)
9098      # pw32 DLLs use 'pw' prefix rather than 'lib'
9099      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9100      ;;
9101    esac
9102    ;;
9103
9104  *)
9105    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9106    ;;
9107  esac
9108  dynamic_linker='Win32 ld.exe'
9109  # FIXME: first we should search . and the directory the executable is in
9110  shlibpath_var=PATH
9111  ;;
9112
9113darwin* | rhapsody*)
9114  dynamic_linker="$host_os dyld"
9115  version_type=darwin
9116  need_lib_prefix=no
9117  need_version=no
9118  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9119  soname_spec='${libname}${release}${major}$shared_ext'
9120  shlibpath_overrides_runpath=yes
9121  shlibpath_var=DYLD_LIBRARY_PATH
9122  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9123
9124  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9125  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9126  ;;
9127
9128dgux*)
9129  version_type=linux
9130  need_lib_prefix=no
9131  need_version=no
9132  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9133  soname_spec='${libname}${release}${shared_ext}$major'
9134  shlibpath_var=LD_LIBRARY_PATH
9135  ;;
9136
9137freebsd1*)
9138  dynamic_linker=no
9139  ;;
9140
9141freebsd* | dragonfly*)
9142  # DragonFly does not have aout.  When/if they implement a new
9143  # versioning mechanism, adjust this.
9144  if test -x /usr/bin/objformat; then
9145    objformat=`/usr/bin/objformat`
9146  else
9147    case $host_os in
9148    freebsd[123]*) objformat=aout ;;
9149    *) objformat=elf ;;
9150    esac
9151  fi
9152  version_type=freebsd-$objformat
9153  case $version_type in
9154    freebsd-elf*)
9155      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9156      need_version=no
9157      need_lib_prefix=no
9158      ;;
9159    freebsd-*)
9160      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9161      need_version=yes
9162      ;;
9163  esac
9164  shlibpath_var=LD_LIBRARY_PATH
9165  case $host_os in
9166  freebsd2*)
9167    shlibpath_overrides_runpath=yes
9168    ;;
9169  freebsd3.[01]* | freebsdelf3.[01]*)
9170    shlibpath_overrides_runpath=yes
9171    hardcode_into_libs=yes
9172    ;;
9173  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9174  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9175    shlibpath_overrides_runpath=no
9176    hardcode_into_libs=yes
9177    ;;
9178  *) # from 4.6 on, and DragonFly
9179    shlibpath_overrides_runpath=yes
9180    hardcode_into_libs=yes
9181    ;;
9182  esac
9183  ;;
9184
9185gnu*)
9186  version_type=linux
9187  need_lib_prefix=no
9188  need_version=no
9189  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9190  soname_spec='${libname}${release}${shared_ext}$major'
9191  shlibpath_var=LD_LIBRARY_PATH
9192  hardcode_into_libs=yes
9193  ;;
9194
9195hpux9* | hpux10* | hpux11*)
9196  # Give a soname corresponding to the major version so that dld.sl refuses to
9197  # link against other versions.
9198  version_type=sunos
9199  need_lib_prefix=no
9200  need_version=no
9201  case $host_cpu in
9202  ia64*)
9203    shrext_cmds='.so'
9204    hardcode_into_libs=yes
9205    dynamic_linker="$host_os dld.so"
9206    shlibpath_var=LD_LIBRARY_PATH
9207    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9208    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9209    soname_spec='${libname}${release}${shared_ext}$major'
9210    if test "X$HPUX_IA64_MODE" = X32; then
9211      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9212    else
9213      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9214    fi
9215    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9216    ;;
9217  hppa*64*)
9218    shrext_cmds='.sl'
9219    hardcode_into_libs=yes
9220    dynamic_linker="$host_os dld.sl"
9221    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9222    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9223    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9224    soname_spec='${libname}${release}${shared_ext}$major'
9225    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9226    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9227    ;;
9228  *)
9229    shrext_cmds='.sl'
9230    dynamic_linker="$host_os dld.sl"
9231    shlibpath_var=SHLIB_PATH
9232    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9233    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9234    soname_spec='${libname}${release}${shared_ext}$major'
9235    ;;
9236  esac
9237  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9238  postinstall_cmds='chmod 555 $lib'
9239  ;;
9240
9241interix[3-9]*)
9242  version_type=linux
9243  need_lib_prefix=no
9244  need_version=no
9245  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9246  soname_spec='${libname}${release}${shared_ext}$major'
9247  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9248  shlibpath_var=LD_LIBRARY_PATH
9249  shlibpath_overrides_runpath=no
9250  hardcode_into_libs=yes
9251  ;;
9252
9253irix5* | irix6* | nonstopux*)
9254  case $host_os in
9255    nonstopux*) version_type=nonstopux ;;
9256    *)
9257	if test "$lt_cv_prog_gnu_ld" = yes; then
9258		version_type=linux
9259	else
9260		version_type=irix
9261	fi ;;
9262  esac
9263  need_lib_prefix=no
9264  need_version=no
9265  soname_spec='${libname}${release}${shared_ext}$major'
9266  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9267  case $host_os in
9268  irix5* | nonstopux*)
9269    libsuff= shlibsuff=
9270    ;;
9271  *)
9272    case $LD in # libtool.m4 will add one of these switches to LD
9273    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9274      libsuff= shlibsuff= libmagic=32-bit;;
9275    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9276      libsuff=32 shlibsuff=N32 libmagic=N32;;
9277    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9278      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9279    *) libsuff= shlibsuff= libmagic=never-match;;
9280    esac
9281    ;;
9282  esac
9283  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9284  shlibpath_overrides_runpath=no
9285  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9286  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9287  hardcode_into_libs=yes
9288  ;;
9289
9290# No shared lib support for Linux oldld, aout, or coff.
9291linux*oldld* | linux*aout* | linux*coff*)
9292  dynamic_linker=no
9293  ;;
9294
9295# This must be Linux ELF.
9296linux* | k*bsd*-gnu)
9297  version_type=linux
9298  need_lib_prefix=no
9299  need_version=no
9300  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9301  soname_spec='${libname}${release}${shared_ext}$major'
9302  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9303  shlibpath_var=LD_LIBRARY_PATH
9304  shlibpath_overrides_runpath=no
9305  # Some binutils ld are patched to set DT_RUNPATH
9306  save_LDFLAGS=$LDFLAGS
9307  save_libdir=$libdir
9308  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9309       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9310  cat >conftest.$ac_ext <<_ACEOF
9311/* confdefs.h.  */
9312_ACEOF
9313cat confdefs.h >>conftest.$ac_ext
9314cat >>conftest.$ac_ext <<_ACEOF
9315/* end confdefs.h.  */
9316
9317int
9318main ()
9319{
9320
9321  ;
9322  return 0;
9323}
9324_ACEOF
9325rm -f conftest.$ac_objext conftest$ac_exeext
9326if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9327  (eval $ac_link) 2>conftest.er1
9328  ac_status=$?
9329  grep -v '^ *+' conftest.er1 >conftest.err
9330  rm -f conftest.er1
9331  cat conftest.err >&5
9332  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333  (exit $ac_status); } &&
9334	 { ac_try='test -z "$ac_c_werror_flag"
9335			 || test ! -s conftest.err'
9336  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9337  (eval $ac_try) 2>&5
9338  ac_status=$?
9339  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340  (exit $ac_status); }; } &&
9341	 { ac_try='test -s conftest$ac_exeext'
9342  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9343  (eval $ac_try) 2>&5
9344  ac_status=$?
9345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346  (exit $ac_status); }; }; then
9347  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9348  shlibpath_overrides_runpath=yes
9349fi
9350
9351else
9352  echo "$as_me: failed program was:" >&5
9353sed 's/^/| /' conftest.$ac_ext >&5
9354
9355fi
9356rm -f conftest.err conftest.$ac_objext \
9357      conftest$ac_exeext conftest.$ac_ext
9358  LDFLAGS=$save_LDFLAGS
9359  libdir=$save_libdir
9360
9361  # This implies no fast_install, which is unacceptable.
9362  # Some rework will be needed to allow for fast_install
9363  # before this can be enabled.
9364  hardcode_into_libs=yes
9365
9366  # Append ld.so.conf contents to the search path
9367  if test -f /etc/ld.so.conf; then
9368    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/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9369    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9370  fi
9371
9372  # We used to test for /lib/ld.so.1 and disable shared libraries on
9373  # powerpc, because MkLinux only supported shared libraries with the
9374  # GNU dynamic linker.  Since this was broken with cross compilers,
9375  # most powerpc-linux boxes support dynamic linking these days and
9376  # people can always --disable-shared, the test was removed, and we
9377  # assume the GNU/Linux dynamic linker is in use.
9378  dynamic_linker='GNU/Linux ld.so'
9379  ;;
9380
9381netbsd*)
9382  version_type=sunos
9383  need_lib_prefix=no
9384  need_version=no
9385  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9386    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9387    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9388    dynamic_linker='NetBSD (a.out) ld.so'
9389  else
9390    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9391    soname_spec='${libname}${release}${shared_ext}$major'
9392    dynamic_linker='NetBSD ld.elf_so'
9393  fi
9394  shlibpath_var=LD_LIBRARY_PATH
9395  shlibpath_overrides_runpath=yes
9396  hardcode_into_libs=yes
9397  ;;
9398
9399newsos6)
9400  version_type=linux
9401  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9402  shlibpath_var=LD_LIBRARY_PATH
9403  shlibpath_overrides_runpath=yes
9404  ;;
9405
9406*nto* | *qnx*)
9407  version_type=qnx
9408  need_lib_prefix=no
9409  need_version=no
9410  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9411  soname_spec='${libname}${release}${shared_ext}$major'
9412  shlibpath_var=LD_LIBRARY_PATH
9413  shlibpath_overrides_runpath=no
9414  hardcode_into_libs=yes
9415  dynamic_linker='ldqnx.so'
9416  ;;
9417
9418openbsd*)
9419  version_type=sunos
9420  sys_lib_dlsearch_path_spec="/usr/lib"
9421  need_lib_prefix=no
9422  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9423  case $host_os in
9424    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
9425    *)				need_version=no  ;;
9426  esac
9427  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9428  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9429  shlibpath_var=LD_LIBRARY_PATH
9430  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9431    case $host_os in
9432      openbsd2.[89] | openbsd2.[89].*)
9433	shlibpath_overrides_runpath=no
9434	;;
9435      *)
9436	shlibpath_overrides_runpath=yes
9437	;;
9438      esac
9439  else
9440    shlibpath_overrides_runpath=yes
9441  fi
9442  ;;
9443
9444os2*)
9445  libname_spec='$name'
9446  shrext_cmds=".dll"
9447  need_lib_prefix=no
9448  library_names_spec='$libname${shared_ext} $libname.a'
9449  dynamic_linker='OS/2 ld.exe'
9450  shlibpath_var=LIBPATH
9451  ;;
9452
9453osf3* | osf4* | osf5*)
9454  version_type=osf
9455  need_lib_prefix=no
9456  need_version=no
9457  soname_spec='${libname}${release}${shared_ext}$major'
9458  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9459  shlibpath_var=LD_LIBRARY_PATH
9460  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9461  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9462  ;;
9463
9464rdos*)
9465  dynamic_linker=no
9466  ;;
9467
9468solaris*)
9469  version_type=linux
9470  need_lib_prefix=no
9471  need_version=no
9472  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9473  soname_spec='${libname}${release}${shared_ext}$major'
9474  shlibpath_var=LD_LIBRARY_PATH
9475  shlibpath_overrides_runpath=yes
9476  hardcode_into_libs=yes
9477  # ldd complains unless libraries are executable
9478  postinstall_cmds='chmod +x $lib'
9479  ;;
9480
9481sunos4*)
9482  version_type=sunos
9483  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9484  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9485  shlibpath_var=LD_LIBRARY_PATH
9486  shlibpath_overrides_runpath=yes
9487  if test "$with_gnu_ld" = yes; then
9488    need_lib_prefix=no
9489  fi
9490  need_version=yes
9491  ;;
9492
9493sysv4 | sysv4.3*)
9494  version_type=linux
9495  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9496  soname_spec='${libname}${release}${shared_ext}$major'
9497  shlibpath_var=LD_LIBRARY_PATH
9498  case $host_vendor in
9499    sni)
9500      shlibpath_overrides_runpath=no
9501      need_lib_prefix=no
9502      runpath_var=LD_RUN_PATH
9503      ;;
9504    siemens)
9505      need_lib_prefix=no
9506      ;;
9507    motorola)
9508      need_lib_prefix=no
9509      need_version=no
9510      shlibpath_overrides_runpath=no
9511      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9512      ;;
9513  esac
9514  ;;
9515
9516sysv4*MP*)
9517  if test -d /usr/nec ;then
9518    version_type=linux
9519    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9520    soname_spec='$libname${shared_ext}.$major'
9521    shlibpath_var=LD_LIBRARY_PATH
9522  fi
9523  ;;
9524
9525sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9526  version_type=freebsd-elf
9527  need_lib_prefix=no
9528  need_version=no
9529  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9530  soname_spec='${libname}${release}${shared_ext}$major'
9531  shlibpath_var=LD_LIBRARY_PATH
9532  shlibpath_overrides_runpath=yes
9533  hardcode_into_libs=yes
9534  if test "$with_gnu_ld" = yes; then
9535    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9536  else
9537    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9538    case $host_os in
9539      sco3.2v5*)
9540        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9541	;;
9542    esac
9543  fi
9544  sys_lib_dlsearch_path_spec='/usr/lib'
9545  ;;
9546
9547tpf*)
9548  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9549  version_type=linux
9550  need_lib_prefix=no
9551  need_version=no
9552  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9553  shlibpath_var=LD_LIBRARY_PATH
9554  shlibpath_overrides_runpath=no
9555  hardcode_into_libs=yes
9556  ;;
9557
9558uts4*)
9559  version_type=linux
9560  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9561  soname_spec='${libname}${release}${shared_ext}$major'
9562  shlibpath_var=LD_LIBRARY_PATH
9563  ;;
9564
9565*)
9566  dynamic_linker=no
9567  ;;
9568esac
9569echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9570echo "${ECHO_T}$dynamic_linker" >&6
9571test "$dynamic_linker" = no && can_build_shared=no
9572
9573variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9574if test "$GCC" = yes; then
9575  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9576fi
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664  echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9665echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9666hardcode_action=
9667if test -n "$hardcode_libdir_flag_spec" ||
9668   test -n "$runpath_var" ||
9669   test "X$hardcode_automatic" = "Xyes" ; then
9670
9671  # We can hardcode non-existent directories.
9672  if test "$hardcode_direct" != no &&
9673     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9674     # have to relink, otherwise we might link with an installed library
9675     # when we should be linking with a yet-to-be-installed one
9676     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9677     test "$hardcode_minus_L" != no; then
9678    # Linking always hardcodes the temporary library directory.
9679    hardcode_action=relink
9680  else
9681    # We can link without hardcoding, and we can hardcode nonexisting dirs.
9682    hardcode_action=immediate
9683  fi
9684else
9685  # We cannot hardcode anything, or else we can only hardcode existing
9686  # directories.
9687  hardcode_action=unsupported
9688fi
9689echo "$as_me:$LINENO: result: $hardcode_action" >&5
9690echo "${ECHO_T}$hardcode_action" >&6
9691
9692if test "$hardcode_action" = relink ||
9693   test "$inherit_rpath" = yes; then
9694  # Fast installation is not supported
9695  enable_fast_install=no
9696elif test "$shlibpath_overrides_runpath" = yes ||
9697     test "$enable_shared" = no; then
9698  # Fast installation is not necessary
9699  enable_fast_install=needless
9700fi
9701
9702
9703
9704
9705
9706
9707  if test "x$enable_dlopen" != xyes; then
9708  enable_dlopen=unknown
9709  enable_dlopen_self=unknown
9710  enable_dlopen_self_static=unknown
9711else
9712  lt_cv_dlopen=no
9713  lt_cv_dlopen_libs=
9714
9715  case $host_os in
9716  beos*)
9717    lt_cv_dlopen="load_add_on"
9718    lt_cv_dlopen_libs=
9719    lt_cv_dlopen_self=yes
9720    ;;
9721
9722  mingw* | pw32*)
9723    lt_cv_dlopen="LoadLibrary"
9724    lt_cv_dlopen_libs=
9725    ;;
9726
9727  cygwin*)
9728    lt_cv_dlopen="dlopen"
9729    lt_cv_dlopen_libs=
9730    ;;
9731
9732  darwin*)
9733  # if libdl is installed we need to link against it
9734    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9735echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9736if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9737  echo $ECHO_N "(cached) $ECHO_C" >&6
9738else
9739  ac_check_lib_save_LIBS=$LIBS
9740LIBS="-ldl  $LIBS"
9741cat >conftest.$ac_ext <<_ACEOF
9742/* confdefs.h.  */
9743_ACEOF
9744cat confdefs.h >>conftest.$ac_ext
9745cat >>conftest.$ac_ext <<_ACEOF
9746/* end confdefs.h.  */
9747
9748/* Override any gcc2 internal prototype to avoid an error.  */
9749#ifdef __cplusplus
9750extern "C"
9751#endif
9752/* We use char because int might match the return type of a gcc2
9753   builtin and then its argument prototype would still apply.  */
9754char dlopen ();
9755int
9756main ()
9757{
9758dlopen ();
9759  ;
9760  return 0;
9761}
9762_ACEOF
9763rm -f conftest.$ac_objext conftest$ac_exeext
9764if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9765  (eval $ac_link) 2>conftest.er1
9766  ac_status=$?
9767  grep -v '^ *+' conftest.er1 >conftest.err
9768  rm -f conftest.er1
9769  cat conftest.err >&5
9770  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771  (exit $ac_status); } &&
9772	 { ac_try='test -z "$ac_c_werror_flag"
9773			 || test ! -s conftest.err'
9774  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9775  (eval $ac_try) 2>&5
9776  ac_status=$?
9777  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778  (exit $ac_status); }; } &&
9779	 { ac_try='test -s conftest$ac_exeext'
9780  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9781  (eval $ac_try) 2>&5
9782  ac_status=$?
9783  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784  (exit $ac_status); }; }; then
9785  ac_cv_lib_dl_dlopen=yes
9786else
9787  echo "$as_me: failed program was:" >&5
9788sed 's/^/| /' conftest.$ac_ext >&5
9789
9790ac_cv_lib_dl_dlopen=no
9791fi
9792rm -f conftest.err conftest.$ac_objext \
9793      conftest$ac_exeext conftest.$ac_ext
9794LIBS=$ac_check_lib_save_LIBS
9795fi
9796echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9797echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9798if test $ac_cv_lib_dl_dlopen = yes; then
9799  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9800else
9801
9802    lt_cv_dlopen="dyld"
9803    lt_cv_dlopen_libs=
9804    lt_cv_dlopen_self=yes
9805
9806fi
9807
9808    ;;
9809
9810  *)
9811    echo "$as_me:$LINENO: checking for shl_load" >&5
9812echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9813if test "${ac_cv_func_shl_load+set}" = set; then
9814  echo $ECHO_N "(cached) $ECHO_C" >&6
9815else
9816  cat >conftest.$ac_ext <<_ACEOF
9817/* confdefs.h.  */
9818_ACEOF
9819cat confdefs.h >>conftest.$ac_ext
9820cat >>conftest.$ac_ext <<_ACEOF
9821/* end confdefs.h.  */
9822/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9823   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9824#define shl_load innocuous_shl_load
9825
9826/* System header to define __stub macros and hopefully few prototypes,
9827    which can conflict with char shl_load (); below.
9828    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9829    <limits.h> exists even on freestanding compilers.  */
9830
9831#ifdef __STDC__
9832# include <limits.h>
9833#else
9834# include <assert.h>
9835#endif
9836
9837#undef shl_load
9838
9839/* Override any gcc2 internal prototype to avoid an error.  */
9840#ifdef __cplusplus
9841extern "C"
9842{
9843#endif
9844/* We use char because int might match the return type of a gcc2
9845   builtin and then its argument prototype would still apply.  */
9846char shl_load ();
9847/* The GNU C library defines this for functions which it implements
9848    to always fail with ENOSYS.  Some functions are actually named
9849    something starting with __ and the normal name is an alias.  */
9850#if defined (__stub_shl_load) || defined (__stub___shl_load)
9851choke me
9852#else
9853char (*f) () = shl_load;
9854#endif
9855#ifdef __cplusplus
9856}
9857#endif
9858
9859int
9860main ()
9861{
9862return f != shl_load;
9863  ;
9864  return 0;
9865}
9866_ACEOF
9867rm -f conftest.$ac_objext conftest$ac_exeext
9868if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9869  (eval $ac_link) 2>conftest.er1
9870  ac_status=$?
9871  grep -v '^ *+' conftest.er1 >conftest.err
9872  rm -f conftest.er1
9873  cat conftest.err >&5
9874  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875  (exit $ac_status); } &&
9876	 { ac_try='test -z "$ac_c_werror_flag"
9877			 || test ! -s conftest.err'
9878  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9879  (eval $ac_try) 2>&5
9880  ac_status=$?
9881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9882  (exit $ac_status); }; } &&
9883	 { ac_try='test -s conftest$ac_exeext'
9884  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9885  (eval $ac_try) 2>&5
9886  ac_status=$?
9887  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888  (exit $ac_status); }; }; then
9889  ac_cv_func_shl_load=yes
9890else
9891  echo "$as_me: failed program was:" >&5
9892sed 's/^/| /' conftest.$ac_ext >&5
9893
9894ac_cv_func_shl_load=no
9895fi
9896rm -f conftest.err conftest.$ac_objext \
9897      conftest$ac_exeext conftest.$ac_ext
9898fi
9899echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9900echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9901if test $ac_cv_func_shl_load = yes; then
9902  lt_cv_dlopen="shl_load"
9903else
9904  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9905echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9906if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9907  echo $ECHO_N "(cached) $ECHO_C" >&6
9908else
9909  ac_check_lib_save_LIBS=$LIBS
9910LIBS="-ldld  $LIBS"
9911cat >conftest.$ac_ext <<_ACEOF
9912/* confdefs.h.  */
9913_ACEOF
9914cat confdefs.h >>conftest.$ac_ext
9915cat >>conftest.$ac_ext <<_ACEOF
9916/* end confdefs.h.  */
9917
9918/* Override any gcc2 internal prototype to avoid an error.  */
9919#ifdef __cplusplus
9920extern "C"
9921#endif
9922/* We use char because int might match the return type of a gcc2
9923   builtin and then its argument prototype would still apply.  */
9924char shl_load ();
9925int
9926main ()
9927{
9928shl_load ();
9929  ;
9930  return 0;
9931}
9932_ACEOF
9933rm -f conftest.$ac_objext conftest$ac_exeext
9934if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9935  (eval $ac_link) 2>conftest.er1
9936  ac_status=$?
9937  grep -v '^ *+' conftest.er1 >conftest.err
9938  rm -f conftest.er1
9939  cat conftest.err >&5
9940  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9941  (exit $ac_status); } &&
9942	 { ac_try='test -z "$ac_c_werror_flag"
9943			 || test ! -s conftest.err'
9944  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9945  (eval $ac_try) 2>&5
9946  ac_status=$?
9947  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948  (exit $ac_status); }; } &&
9949	 { ac_try='test -s conftest$ac_exeext'
9950  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9951  (eval $ac_try) 2>&5
9952  ac_status=$?
9953  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9954  (exit $ac_status); }; }; then
9955  ac_cv_lib_dld_shl_load=yes
9956else
9957  echo "$as_me: failed program was:" >&5
9958sed 's/^/| /' conftest.$ac_ext >&5
9959
9960ac_cv_lib_dld_shl_load=no
9961fi
9962rm -f conftest.err conftest.$ac_objext \
9963      conftest$ac_exeext conftest.$ac_ext
9964LIBS=$ac_check_lib_save_LIBS
9965fi
9966echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9967echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9968if test $ac_cv_lib_dld_shl_load = yes; then
9969  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9970else
9971  echo "$as_me:$LINENO: checking for dlopen" >&5
9972echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9973if test "${ac_cv_func_dlopen+set}" = set; then
9974  echo $ECHO_N "(cached) $ECHO_C" >&6
9975else
9976  cat >conftest.$ac_ext <<_ACEOF
9977/* confdefs.h.  */
9978_ACEOF
9979cat confdefs.h >>conftest.$ac_ext
9980cat >>conftest.$ac_ext <<_ACEOF
9981/* end confdefs.h.  */
9982/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9983   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9984#define dlopen innocuous_dlopen
9985
9986/* System header to define __stub macros and hopefully few prototypes,
9987    which can conflict with char dlopen (); below.
9988    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9989    <limits.h> exists even on freestanding compilers.  */
9990
9991#ifdef __STDC__
9992# include <limits.h>
9993#else
9994# include <assert.h>
9995#endif
9996
9997#undef dlopen
9998
9999/* Override any gcc2 internal prototype to avoid an error.  */
10000#ifdef __cplusplus
10001extern "C"
10002{
10003#endif
10004/* We use char because int might match the return type of a gcc2
10005   builtin and then its argument prototype would still apply.  */
10006char dlopen ();
10007/* The GNU C library defines this for functions which it implements
10008    to always fail with ENOSYS.  Some functions are actually named
10009    something starting with __ and the normal name is an alias.  */
10010#if defined (__stub_dlopen) || defined (__stub___dlopen)
10011choke me
10012#else
10013char (*f) () = dlopen;
10014#endif
10015#ifdef __cplusplus
10016}
10017#endif
10018
10019int
10020main ()
10021{
10022return f != dlopen;
10023  ;
10024  return 0;
10025}
10026_ACEOF
10027rm -f conftest.$ac_objext conftest$ac_exeext
10028if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10029  (eval $ac_link) 2>conftest.er1
10030  ac_status=$?
10031  grep -v '^ *+' conftest.er1 >conftest.err
10032  rm -f conftest.er1
10033  cat conftest.err >&5
10034  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035  (exit $ac_status); } &&
10036	 { ac_try='test -z "$ac_c_werror_flag"
10037			 || test ! -s conftest.err'
10038  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10039  (eval $ac_try) 2>&5
10040  ac_status=$?
10041  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042  (exit $ac_status); }; } &&
10043	 { ac_try='test -s conftest$ac_exeext'
10044  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045  (eval $ac_try) 2>&5
10046  ac_status=$?
10047  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048  (exit $ac_status); }; }; then
10049  ac_cv_func_dlopen=yes
10050else
10051  echo "$as_me: failed program was:" >&5
10052sed 's/^/| /' conftest.$ac_ext >&5
10053
10054ac_cv_func_dlopen=no
10055fi
10056rm -f conftest.err conftest.$ac_objext \
10057      conftest$ac_exeext conftest.$ac_ext
10058fi
10059echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10060echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10061if test $ac_cv_func_dlopen = yes; then
10062  lt_cv_dlopen="dlopen"
10063else
10064  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10065echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10066if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10067  echo $ECHO_N "(cached) $ECHO_C" >&6
10068else
10069  ac_check_lib_save_LIBS=$LIBS
10070LIBS="-ldl  $LIBS"
10071cat >conftest.$ac_ext <<_ACEOF
10072/* confdefs.h.  */
10073_ACEOF
10074cat confdefs.h >>conftest.$ac_ext
10075cat >>conftest.$ac_ext <<_ACEOF
10076/* end confdefs.h.  */
10077
10078/* Override any gcc2 internal prototype to avoid an error.  */
10079#ifdef __cplusplus
10080extern "C"
10081#endif
10082/* We use char because int might match the return type of a gcc2
10083   builtin and then its argument prototype would still apply.  */
10084char dlopen ();
10085int
10086main ()
10087{
10088dlopen ();
10089  ;
10090  return 0;
10091}
10092_ACEOF
10093rm -f conftest.$ac_objext conftest$ac_exeext
10094if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10095  (eval $ac_link) 2>conftest.er1
10096  ac_status=$?
10097  grep -v '^ *+' conftest.er1 >conftest.err
10098  rm -f conftest.er1
10099  cat conftest.err >&5
10100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101  (exit $ac_status); } &&
10102	 { ac_try='test -z "$ac_c_werror_flag"
10103			 || test ! -s conftest.err'
10104  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10105  (eval $ac_try) 2>&5
10106  ac_status=$?
10107  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108  (exit $ac_status); }; } &&
10109	 { ac_try='test -s conftest$ac_exeext'
10110  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111  (eval $ac_try) 2>&5
10112  ac_status=$?
10113  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114  (exit $ac_status); }; }; then
10115  ac_cv_lib_dl_dlopen=yes
10116else
10117  echo "$as_me: failed program was:" >&5
10118sed 's/^/| /' conftest.$ac_ext >&5
10119
10120ac_cv_lib_dl_dlopen=no
10121fi
10122rm -f conftest.err conftest.$ac_objext \
10123      conftest$ac_exeext conftest.$ac_ext
10124LIBS=$ac_check_lib_save_LIBS
10125fi
10126echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10127echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10128if test $ac_cv_lib_dl_dlopen = yes; then
10129  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10130else
10131  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10132echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10133if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10134  echo $ECHO_N "(cached) $ECHO_C" >&6
10135else
10136  ac_check_lib_save_LIBS=$LIBS
10137LIBS="-lsvld  $LIBS"
10138cat >conftest.$ac_ext <<_ACEOF
10139/* confdefs.h.  */
10140_ACEOF
10141cat confdefs.h >>conftest.$ac_ext
10142cat >>conftest.$ac_ext <<_ACEOF
10143/* end confdefs.h.  */
10144
10145/* Override any gcc2 internal prototype to avoid an error.  */
10146#ifdef __cplusplus
10147extern "C"
10148#endif
10149/* We use char because int might match the return type of a gcc2
10150   builtin and then its argument prototype would still apply.  */
10151char dlopen ();
10152int
10153main ()
10154{
10155dlopen ();
10156  ;
10157  return 0;
10158}
10159_ACEOF
10160rm -f conftest.$ac_objext conftest$ac_exeext
10161if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10162  (eval $ac_link) 2>conftest.er1
10163  ac_status=$?
10164  grep -v '^ *+' conftest.er1 >conftest.err
10165  rm -f conftest.er1
10166  cat conftest.err >&5
10167  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10168  (exit $ac_status); } &&
10169	 { ac_try='test -z "$ac_c_werror_flag"
10170			 || test ! -s conftest.err'
10171  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10172  (eval $ac_try) 2>&5
10173  ac_status=$?
10174  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175  (exit $ac_status); }; } &&
10176	 { ac_try='test -s conftest$ac_exeext'
10177  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10178  (eval $ac_try) 2>&5
10179  ac_status=$?
10180  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181  (exit $ac_status); }; }; then
10182  ac_cv_lib_svld_dlopen=yes
10183else
10184  echo "$as_me: failed program was:" >&5
10185sed 's/^/| /' conftest.$ac_ext >&5
10186
10187ac_cv_lib_svld_dlopen=no
10188fi
10189rm -f conftest.err conftest.$ac_objext \
10190      conftest$ac_exeext conftest.$ac_ext
10191LIBS=$ac_check_lib_save_LIBS
10192fi
10193echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10194echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10195if test $ac_cv_lib_svld_dlopen = yes; then
10196  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10197else
10198  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10199echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10200if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10201  echo $ECHO_N "(cached) $ECHO_C" >&6
10202else
10203  ac_check_lib_save_LIBS=$LIBS
10204LIBS="-ldld  $LIBS"
10205cat >conftest.$ac_ext <<_ACEOF
10206/* confdefs.h.  */
10207_ACEOF
10208cat confdefs.h >>conftest.$ac_ext
10209cat >>conftest.$ac_ext <<_ACEOF
10210/* end confdefs.h.  */
10211
10212/* Override any gcc2 internal prototype to avoid an error.  */
10213#ifdef __cplusplus
10214extern "C"
10215#endif
10216/* We use char because int might match the return type of a gcc2
10217   builtin and then its argument prototype would still apply.  */
10218char dld_link ();
10219int
10220main ()
10221{
10222dld_link ();
10223  ;
10224  return 0;
10225}
10226_ACEOF
10227rm -f conftest.$ac_objext conftest$ac_exeext
10228if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10229  (eval $ac_link) 2>conftest.er1
10230  ac_status=$?
10231  grep -v '^ *+' conftest.er1 >conftest.err
10232  rm -f conftest.er1
10233  cat conftest.err >&5
10234  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10235  (exit $ac_status); } &&
10236	 { ac_try='test -z "$ac_c_werror_flag"
10237			 || test ! -s conftest.err'
10238  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10239  (eval $ac_try) 2>&5
10240  ac_status=$?
10241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10242  (exit $ac_status); }; } &&
10243	 { ac_try='test -s conftest$ac_exeext'
10244  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10245  (eval $ac_try) 2>&5
10246  ac_status=$?
10247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248  (exit $ac_status); }; }; then
10249  ac_cv_lib_dld_dld_link=yes
10250else
10251  echo "$as_me: failed program was:" >&5
10252sed 's/^/| /' conftest.$ac_ext >&5
10253
10254ac_cv_lib_dld_dld_link=no
10255fi
10256rm -f conftest.err conftest.$ac_objext \
10257      conftest$ac_exeext conftest.$ac_ext
10258LIBS=$ac_check_lib_save_LIBS
10259fi
10260echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10261echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10262if test $ac_cv_lib_dld_dld_link = yes; then
10263  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10264fi
10265
10266
10267fi
10268
10269
10270fi
10271
10272
10273fi
10274
10275
10276fi
10277
10278
10279fi
10280
10281    ;;
10282  esac
10283
10284  if test "x$lt_cv_dlopen" != xno; then
10285    enable_dlopen=yes
10286  else
10287    enable_dlopen=no
10288  fi
10289
10290  case $lt_cv_dlopen in
10291  dlopen)
10292    save_CPPFLAGS="$CPPFLAGS"
10293    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10294
10295    save_LDFLAGS="$LDFLAGS"
10296    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10297
10298    save_LIBS="$LIBS"
10299    LIBS="$lt_cv_dlopen_libs $LIBS"
10300
10301    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10302echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10303if test "${lt_cv_dlopen_self+set}" = set; then
10304  echo $ECHO_N "(cached) $ECHO_C" >&6
10305else
10306  	  if test "$cross_compiling" = yes; then :
10307  lt_cv_dlopen_self=cross
10308else
10309  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10310  lt_status=$lt_dlunknown
10311  cat > conftest.$ac_ext <<_LT_EOF
10312#line 10312 "configure"
10313#include "confdefs.h"
10314
10315#if HAVE_DLFCN_H
10316#include <dlfcn.h>
10317#endif
10318
10319#include <stdio.h>
10320
10321#ifdef RTLD_GLOBAL
10322#  define LT_DLGLOBAL		RTLD_GLOBAL
10323#else
10324#  ifdef DL_GLOBAL
10325#    define LT_DLGLOBAL		DL_GLOBAL
10326#  else
10327#    define LT_DLGLOBAL		0
10328#  endif
10329#endif
10330
10331/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10332   find out it does not work in some platform. */
10333#ifndef LT_DLLAZY_OR_NOW
10334#  ifdef RTLD_LAZY
10335#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10336#  else
10337#    ifdef DL_LAZY
10338#      define LT_DLLAZY_OR_NOW		DL_LAZY
10339#    else
10340#      ifdef RTLD_NOW
10341#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10342#      else
10343#        ifdef DL_NOW
10344#          define LT_DLLAZY_OR_NOW	DL_NOW
10345#        else
10346#          define LT_DLLAZY_OR_NOW	0
10347#        endif
10348#      endif
10349#    endif
10350#  endif
10351#endif
10352
10353#ifdef __cplusplus
10354extern "C" void exit (int);
10355#endif
10356
10357void fnord() { int i=42;}
10358int main ()
10359{
10360  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10361  int status = $lt_dlunknown;
10362
10363  if (self)
10364    {
10365      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10366      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10367      /* dlclose (self); */
10368    }
10369  else
10370    puts (dlerror ());
10371
10372    exit (status);
10373}
10374_LT_EOF
10375  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10376  (eval $ac_link) 2>&5
10377  ac_status=$?
10378  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10380    (./conftest; exit; ) >&5 2>/dev/null
10381    lt_status=$?
10382    case x$lt_status in
10383      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10384      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10385      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10386    esac
10387  else :
10388    # compilation failed
10389    lt_cv_dlopen_self=no
10390  fi
10391fi
10392rm -fr conftest*
10393
10394
10395fi
10396echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10397echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10398
10399    if test "x$lt_cv_dlopen_self" = xyes; then
10400      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10401      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10402echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10403if test "${lt_cv_dlopen_self_static+set}" = set; then
10404  echo $ECHO_N "(cached) $ECHO_C" >&6
10405else
10406  	  if test "$cross_compiling" = yes; then :
10407  lt_cv_dlopen_self_static=cross
10408else
10409  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10410  lt_status=$lt_dlunknown
10411  cat > conftest.$ac_ext <<_LT_EOF
10412#line 10412 "configure"
10413#include "confdefs.h"
10414
10415#if HAVE_DLFCN_H
10416#include <dlfcn.h>
10417#endif
10418
10419#include <stdio.h>
10420
10421#ifdef RTLD_GLOBAL
10422#  define LT_DLGLOBAL		RTLD_GLOBAL
10423#else
10424#  ifdef DL_GLOBAL
10425#    define LT_DLGLOBAL		DL_GLOBAL
10426#  else
10427#    define LT_DLGLOBAL		0
10428#  endif
10429#endif
10430
10431/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10432   find out it does not work in some platform. */
10433#ifndef LT_DLLAZY_OR_NOW
10434#  ifdef RTLD_LAZY
10435#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10436#  else
10437#    ifdef DL_LAZY
10438#      define LT_DLLAZY_OR_NOW		DL_LAZY
10439#    else
10440#      ifdef RTLD_NOW
10441#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10442#      else
10443#        ifdef DL_NOW
10444#          define LT_DLLAZY_OR_NOW	DL_NOW
10445#        else
10446#          define LT_DLLAZY_OR_NOW	0
10447#        endif
10448#      endif
10449#    endif
10450#  endif
10451#endif
10452
10453#ifdef __cplusplus
10454extern "C" void exit (int);
10455#endif
10456
10457void fnord() { int i=42;}
10458int main ()
10459{
10460  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10461  int status = $lt_dlunknown;
10462
10463  if (self)
10464    {
10465      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10466      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10467      /* dlclose (self); */
10468    }
10469  else
10470    puts (dlerror ());
10471
10472    exit (status);
10473}
10474_LT_EOF
10475  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10476  (eval $ac_link) 2>&5
10477  ac_status=$?
10478  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10480    (./conftest; exit; ) >&5 2>/dev/null
10481    lt_status=$?
10482    case x$lt_status in
10483      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10484      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10485      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10486    esac
10487  else :
10488    # compilation failed
10489    lt_cv_dlopen_self_static=no
10490  fi
10491fi
10492rm -fr conftest*
10493
10494
10495fi
10496echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10497echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10498    fi
10499
10500    CPPFLAGS="$save_CPPFLAGS"
10501    LDFLAGS="$save_LDFLAGS"
10502    LIBS="$save_LIBS"
10503    ;;
10504  esac
10505
10506  case $lt_cv_dlopen_self in
10507  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10508  *) enable_dlopen_self=unknown ;;
10509  esac
10510
10511  case $lt_cv_dlopen_self_static in
10512  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10513  *) enable_dlopen_self_static=unknown ;;
10514  esac
10515fi
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533striplib=
10534old_striplib=
10535echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10536echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10537if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10538  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10539  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10540  echo "$as_me:$LINENO: result: yes" >&5
10541echo "${ECHO_T}yes" >&6
10542else
10543# FIXME - insert some real tests, host_os isn't really good enough
10544  case $host_os in
10545  darwin*)
10546    if test -n "$STRIP" ; then
10547      striplib="$STRIP -x"
10548      old_striplib="$STRIP -S"
10549      echo "$as_me:$LINENO: result: yes" >&5
10550echo "${ECHO_T}yes" >&6
10551    else
10552      echo "$as_me:$LINENO: result: no" >&5
10553echo "${ECHO_T}no" >&6
10554    fi
10555    ;;
10556  *)
10557    echo "$as_me:$LINENO: result: no" >&5
10558echo "${ECHO_T}no" >&6
10559    ;;
10560  esac
10561fi
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574  # Report which library types will actually be built
10575  echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10576echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10577  echo "$as_me:$LINENO: result: $can_build_shared" >&5
10578echo "${ECHO_T}$can_build_shared" >&6
10579
10580  echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10581echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10582  test "$can_build_shared" = "no" && enable_shared=no
10583
10584  # On AIX, shared libraries and static libraries use the same namespace, and
10585  # are all built from PIC.
10586  case $host_os in
10587  aix3*)
10588    test "$enable_shared" = yes && enable_static=no
10589    if test -n "$RANLIB"; then
10590      archive_cmds="$archive_cmds~\$RANLIB \$lib"
10591      postinstall_cmds='$RANLIB $lib'
10592    fi
10593    ;;
10594
10595  aix[4-9]*)
10596    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10597      test "$enable_shared" = yes && enable_static=no
10598    fi
10599    ;;
10600  esac
10601  echo "$as_me:$LINENO: result: $enable_shared" >&5
10602echo "${ECHO_T}$enable_shared" >&6
10603
10604  echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10605echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10606  # Make sure either enable_shared or enable_static is yes.
10607  test "$enable_shared" = yes || enable_static=yes
10608  echo "$as_me:$LINENO: result: $enable_static" >&5
10609echo "${ECHO_T}$enable_static" >&6
10610
10611
10612
10613
10614fi
10615ac_ext=c
10616ac_cpp='$CPP $CPPFLAGS'
10617ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10618ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10619ac_compiler_gnu=$ac_cv_c_compiler_gnu
10620
10621CC="$lt_save_CC"
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635                  ac_config_commands="$ac_config_commands libtool"
10636
10637
10638
10639
10640# Only expand once:
10641
10642
10643
10644
10645for ac_func in setmode
10646do
10647as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10648echo "$as_me:$LINENO: checking for $ac_func" >&5
10649echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10650if eval "test \"\${$as_ac_var+set}\" = set"; then
10651  echo $ECHO_N "(cached) $ECHO_C" >&6
10652else
10653  cat >conftest.$ac_ext <<_ACEOF
10654/* confdefs.h.  */
10655_ACEOF
10656cat confdefs.h >>conftest.$ac_ext
10657cat >>conftest.$ac_ext <<_ACEOF
10658/* end confdefs.h.  */
10659/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10660   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10661#define $ac_func innocuous_$ac_func
10662
10663/* System header to define __stub macros and hopefully few prototypes,
10664    which can conflict with char $ac_func (); below.
10665    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10666    <limits.h> exists even on freestanding compilers.  */
10667
10668#ifdef __STDC__
10669# include <limits.h>
10670#else
10671# include <assert.h>
10672#endif
10673
10674#undef $ac_func
10675
10676/* Override any gcc2 internal prototype to avoid an error.  */
10677#ifdef __cplusplus
10678extern "C"
10679{
10680#endif
10681/* We use char because int might match the return type of a gcc2
10682   builtin and then its argument prototype would still apply.  */
10683char $ac_func ();
10684/* The GNU C library defines this for functions which it implements
10685    to always fail with ENOSYS.  Some functions are actually named
10686    something starting with __ and the normal name is an alias.  */
10687#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10688choke me
10689#else
10690char (*f) () = $ac_func;
10691#endif
10692#ifdef __cplusplus
10693}
10694#endif
10695
10696int
10697main ()
10698{
10699return f != $ac_func;
10700  ;
10701  return 0;
10702}
10703_ACEOF
10704rm -f conftest.$ac_objext conftest$ac_exeext
10705if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10706  (eval $ac_link) 2>conftest.er1
10707  ac_status=$?
10708  grep -v '^ *+' conftest.er1 >conftest.err
10709  rm -f conftest.er1
10710  cat conftest.err >&5
10711  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712  (exit $ac_status); } &&
10713	 { ac_try='test -z "$ac_c_werror_flag"
10714			 || test ! -s conftest.err'
10715  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716  (eval $ac_try) 2>&5
10717  ac_status=$?
10718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719  (exit $ac_status); }; } &&
10720	 { ac_try='test -s conftest$ac_exeext'
10721  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10722  (eval $ac_try) 2>&5
10723  ac_status=$?
10724  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10725  (exit $ac_status); }; }; then
10726  eval "$as_ac_var=yes"
10727else
10728  echo "$as_me: failed program was:" >&5
10729sed 's/^/| /' conftest.$ac_ext >&5
10730
10731eval "$as_ac_var=no"
10732fi
10733rm -f conftest.err conftest.$ac_objext \
10734      conftest$ac_exeext conftest.$ac_ext
10735fi
10736echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10737echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10738if test `eval echo '${'$as_ac_var'}'` = yes; then
10739  cat >>confdefs.h <<_ACEOF
10740#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10741_ACEOF
10742
10743fi
10744done
10745
10746
10747ALL_LINGUAS="fr tr sv es id da pt_BR de vi rw ga ms fi nl"
10748# If we haven't got the data from the intl directory,
10749# assume NLS is disabled.
10750USE_NLS=no
10751LIBINTL=
10752LIBINTL_DEP=
10753INCINTL=
10754XGETTEXT=
10755GMSGFMT=
10756POSUB=
10757
10758if test -f  ../intl/config.intl; then
10759  .  ../intl/config.intl
10760fi
10761echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10762echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10763if test x"$USE_NLS" != xyes; then
10764  echo "$as_me:$LINENO: result: no" >&5
10765echo "${ECHO_T}no" >&6
10766else
10767  echo "$as_me:$LINENO: result: yes" >&5
10768echo "${ECHO_T}yes" >&6
10769
10770cat >>confdefs.h <<\_ACEOF
10771#define ENABLE_NLS 1
10772_ACEOF
10773
10774
10775  echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10776echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
10777  # Look for .po and .gmo files in the source directory.
10778  CATALOGS=
10779  XLINGUAS=
10780  for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
10781    # If there aren't any .gmo files the shell will give us the
10782    # literal string "../path/to/srcdir/po/*.gmo" which has to be
10783    # weeded out.
10784    case "$cat" in *\**)
10785      continue;;
10786    esac
10787    # The quadruple backslash is collapsed to a double backslash
10788    # by the backticks, then collapsed again by the double quotes,
10789    # leaving us with one backslash in the sed expression (right
10790    # before the dot that mustn't act as a wildcard).
10791    cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
10792    lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
10793    # The user is allowed to set LINGUAS to a list of languages to
10794    # install catalogs for.  If it's empty that means "all of them."
10795    if test "x$LINGUAS" = x; then
10796      CATALOGS="$CATALOGS $cat"
10797      XLINGUAS="$XLINGUAS $lang"
10798    else
10799      case "$LINGUAS" in *$lang*)
10800        CATALOGS="$CATALOGS $cat"
10801        XLINGUAS="$XLINGUAS $lang"
10802        ;;
10803      esac
10804    fi
10805  done
10806  LINGUAS="$XLINGUAS"
10807  echo "$as_me:$LINENO: result: $LINGUAS" >&5
10808echo "${ECHO_T}$LINGUAS" >&6
10809
10810
10811    DATADIRNAME=share
10812
10813  INSTOBJEXT=.mo
10814
10815  GENCAT=gencat
10816
10817  CATOBJEXT=.gmo
10818
10819fi
10820
10821        MKINSTALLDIRS=
10822  if test -n "$ac_aux_dir"; then
10823    case "$ac_aux_dir" in
10824      /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
10825      *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
10826    esac
10827  fi
10828  if test -z "$MKINSTALLDIRS"; then
10829    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
10830  fi
10831
10832
10833
10834  echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10835echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10836    # Check whether --enable-nls or --disable-nls was given.
10837if test "${enable_nls+set}" = set; then
10838  enableval="$enable_nls"
10839  USE_NLS=$enableval
10840else
10841  USE_NLS=yes
10842fi;
10843  echo "$as_me:$LINENO: result: $USE_NLS" >&5
10844echo "${ECHO_T}$USE_NLS" >&6
10845
10846
10847
10848
10849
10850
10851# Prepare PATH_SEPARATOR.
10852# The user is always right.
10853if test "${PATH_SEPARATOR+set}" != set; then
10854  echo "#! /bin/sh" >conf$$.sh
10855  echo  "exit 0"   >>conf$$.sh
10856  chmod +x conf$$.sh
10857  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10858    PATH_SEPARATOR=';'
10859  else
10860    PATH_SEPARATOR=:
10861  fi
10862  rm -f conf$$.sh
10863fi
10864
10865# Find out how to test for executable files. Don't use a zero-byte file,
10866# as systems may use methods other than mode bits to determine executability.
10867cat >conf$$.file <<_ASEOF
10868#! /bin/sh
10869exit 0
10870_ASEOF
10871chmod +x conf$$.file
10872if test -x conf$$.file >/dev/null 2>&1; then
10873  ac_executable_p="test -x"
10874else
10875  ac_executable_p="test -f"
10876fi
10877rm -f conf$$.file
10878
10879# Extract the first word of "msgfmt", so it can be a program name with args.
10880set dummy msgfmt; ac_word=$2
10881echo "$as_me:$LINENO: checking for $ac_word" >&5
10882echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10883if test "${ac_cv_path_MSGFMT+set}" = set; then
10884  echo $ECHO_N "(cached) $ECHO_C" >&6
10885else
10886  case "$MSGFMT" in
10887  [\\/]* | ?:[\\/]*)
10888    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10889    ;;
10890  *)
10891    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
10892    for ac_dir in $PATH; do
10893      IFS="$ac_save_IFS"
10894      test -z "$ac_dir" && ac_dir=.
10895      for ac_exec_ext in '' $ac_executable_extensions; do
10896        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10897          if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
10898     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
10899            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
10900            break 2
10901          fi
10902        fi
10903      done
10904    done
10905    IFS="$ac_save_IFS"
10906  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
10907    ;;
10908esac
10909fi
10910MSGFMT="$ac_cv_path_MSGFMT"
10911if test "$MSGFMT" != ":"; then
10912  echo "$as_me:$LINENO: result: $MSGFMT" >&5
10913echo "${ECHO_T}$MSGFMT" >&6
10914else
10915  echo "$as_me:$LINENO: result: no" >&5
10916echo "${ECHO_T}no" >&6
10917fi
10918
10919  # Extract the first word of "gmsgfmt", so it can be a program name with args.
10920set dummy gmsgfmt; ac_word=$2
10921echo "$as_me:$LINENO: checking for $ac_word" >&5
10922echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10923if test "${ac_cv_path_GMSGFMT+set}" = set; then
10924  echo $ECHO_N "(cached) $ECHO_C" >&6
10925else
10926  case $GMSGFMT in
10927  [\\/]* | ?:[\\/]*)
10928  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
10929  ;;
10930  *)
10931  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10932for as_dir in $PATH
10933do
10934  IFS=$as_save_IFS
10935  test -z "$as_dir" && as_dir=.
10936  for ac_exec_ext in '' $ac_executable_extensions; do
10937  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10938    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
10939    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10940    break 2
10941  fi
10942done
10943done
10944
10945  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
10946  ;;
10947esac
10948fi
10949GMSGFMT=$ac_cv_path_GMSGFMT
10950
10951if test -n "$GMSGFMT"; then
10952  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
10953echo "${ECHO_T}$GMSGFMT" >&6
10954else
10955  echo "$as_me:$LINENO: result: no" >&5
10956echo "${ECHO_T}no" >&6
10957fi
10958
10959
10960
10961# Prepare PATH_SEPARATOR.
10962# The user is always right.
10963if test "${PATH_SEPARATOR+set}" != set; then
10964  echo "#! /bin/sh" >conf$$.sh
10965  echo  "exit 0"   >>conf$$.sh
10966  chmod +x conf$$.sh
10967  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10968    PATH_SEPARATOR=';'
10969  else
10970    PATH_SEPARATOR=:
10971  fi
10972  rm -f conf$$.sh
10973fi
10974
10975# Find out how to test for executable files. Don't use a zero-byte file,
10976# as systems may use methods other than mode bits to determine executability.
10977cat >conf$$.file <<_ASEOF
10978#! /bin/sh
10979exit 0
10980_ASEOF
10981chmod +x conf$$.file
10982if test -x conf$$.file >/dev/null 2>&1; then
10983  ac_executable_p="test -x"
10984else
10985  ac_executable_p="test -f"
10986fi
10987rm -f conf$$.file
10988
10989# Extract the first word of "xgettext", so it can be a program name with args.
10990set dummy xgettext; ac_word=$2
10991echo "$as_me:$LINENO: checking for $ac_word" >&5
10992echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10993if test "${ac_cv_path_XGETTEXT+set}" = set; then
10994  echo $ECHO_N "(cached) $ECHO_C" >&6
10995else
10996  case "$XGETTEXT" in
10997  [\\/]* | ?:[\\/]*)
10998    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
10999    ;;
11000  *)
11001    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11002    for ac_dir in $PATH; do
11003      IFS="$ac_save_IFS"
11004      test -z "$ac_dir" && ac_dir=.
11005      for ac_exec_ext in '' $ac_executable_extensions; do
11006        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11007          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11008     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11009            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11010            break 2
11011          fi
11012        fi
11013      done
11014    done
11015    IFS="$ac_save_IFS"
11016  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11017    ;;
11018esac
11019fi
11020XGETTEXT="$ac_cv_path_XGETTEXT"
11021if test "$XGETTEXT" != ":"; then
11022  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11023echo "${ECHO_T}$XGETTEXT" >&6
11024else
11025  echo "$as_me:$LINENO: result: no" >&5
11026echo "${ECHO_T}no" >&6
11027fi
11028
11029    rm -f messages.po
11030
11031
11032# Prepare PATH_SEPARATOR.
11033# The user is always right.
11034if test "${PATH_SEPARATOR+set}" != set; then
11035  echo "#! /bin/sh" >conf$$.sh
11036  echo  "exit 0"   >>conf$$.sh
11037  chmod +x conf$$.sh
11038  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11039    PATH_SEPARATOR=';'
11040  else
11041    PATH_SEPARATOR=:
11042  fi
11043  rm -f conf$$.sh
11044fi
11045
11046# Find out how to test for executable files. Don't use a zero-byte file,
11047# as systems may use methods other than mode bits to determine executability.
11048cat >conf$$.file <<_ASEOF
11049#! /bin/sh
11050exit 0
11051_ASEOF
11052chmod +x conf$$.file
11053if test -x conf$$.file >/dev/null 2>&1; then
11054  ac_executable_p="test -x"
11055else
11056  ac_executable_p="test -f"
11057fi
11058rm -f conf$$.file
11059
11060# Extract the first word of "msgmerge", so it can be a program name with args.
11061set dummy msgmerge; ac_word=$2
11062echo "$as_me:$LINENO: checking for $ac_word" >&5
11063echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11064if test "${ac_cv_path_MSGMERGE+set}" = set; then
11065  echo $ECHO_N "(cached) $ECHO_C" >&6
11066else
11067  case "$MSGMERGE" in
11068  [\\/]* | ?:[\\/]*)
11069    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11070    ;;
11071  *)
11072    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11073    for ac_dir in $PATH; do
11074      IFS="$ac_save_IFS"
11075      test -z "$ac_dir" && ac_dir=.
11076      for ac_exec_ext in '' $ac_executable_extensions; do
11077        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11078          if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
11079            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11080            break 2
11081          fi
11082        fi
11083      done
11084    done
11085    IFS="$ac_save_IFS"
11086  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11087    ;;
11088esac
11089fi
11090MSGMERGE="$ac_cv_path_MSGMERGE"
11091if test "$MSGMERGE" != ":"; then
11092  echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11093echo "${ECHO_T}$MSGMERGE" >&6
11094else
11095  echo "$as_me:$LINENO: result: no" >&5
11096echo "${ECHO_T}no" >&6
11097fi
11098
11099
11100      if test "$GMSGFMT" != ":"; then
11101            if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
11102       (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11103      : ;
11104    else
11105      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11106      echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11107echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11108      GMSGFMT=":"
11109    fi
11110  fi
11111
11112      if test "$XGETTEXT" != ":"; then
11113            if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11114       (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11115      : ;
11116    else
11117      echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11118echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11119      XGETTEXT=":"
11120    fi
11121        rm -f messages.po
11122  fi
11123
11124            ac_config_commands="$ac_config_commands default-1"
11125
11126
11127
11128echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
11129echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
11130    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11131if test "${enable_maintainer_mode+set}" = set; then
11132  enableval="$enable_maintainer_mode"
11133  USE_MAINTAINER_MODE=$enableval
11134else
11135  USE_MAINTAINER_MODE=no
11136fi;
11137  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
11138echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11139
11140
11141if test $USE_MAINTAINER_MODE = yes; then
11142  MAINTAINER_MODE_TRUE=
11143  MAINTAINER_MODE_FALSE='#'
11144else
11145  MAINTAINER_MODE_TRUE='#'
11146  MAINTAINER_MODE_FALSE=
11147fi
11148
11149  MAINT=$MAINTAINER_MODE_TRUE
11150
11151
11152
11153
11154if false; then
11155  GENINSRC_NEVER_TRUE=
11156  GENINSRC_NEVER_FALSE='#'
11157else
11158  GENINSRC_NEVER_TRUE='#'
11159  GENINSRC_NEVER_FALSE=
11160fi
11161
11162
11163
11164
11165for ac_header in sys/gmon_out.h
11166do
11167as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11168if eval "test \"\${$as_ac_Header+set}\" = set"; then
11169  echo "$as_me:$LINENO: checking for $ac_header" >&5
11170echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11171if eval "test \"\${$as_ac_Header+set}\" = set"; then
11172  echo $ECHO_N "(cached) $ECHO_C" >&6
11173fi
11174echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11175echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11176else
11177  # Is the header compilable?
11178echo "$as_me:$LINENO: checking $ac_header usability" >&5
11179echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11180cat >conftest.$ac_ext <<_ACEOF
11181/* confdefs.h.  */
11182_ACEOF
11183cat confdefs.h >>conftest.$ac_ext
11184cat >>conftest.$ac_ext <<_ACEOF
11185/* end confdefs.h.  */
11186$ac_includes_default
11187#include <$ac_header>
11188_ACEOF
11189rm -f conftest.$ac_objext
11190if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11191  (eval $ac_compile) 2>conftest.er1
11192  ac_status=$?
11193  grep -v '^ *+' conftest.er1 >conftest.err
11194  rm -f conftest.er1
11195  cat conftest.err >&5
11196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197  (exit $ac_status); } &&
11198	 { ac_try='test -z "$ac_c_werror_flag"
11199			 || test ! -s conftest.err'
11200  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11201  (eval $ac_try) 2>&5
11202  ac_status=$?
11203  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204  (exit $ac_status); }; } &&
11205	 { ac_try='test -s conftest.$ac_objext'
11206  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11207  (eval $ac_try) 2>&5
11208  ac_status=$?
11209  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11210  (exit $ac_status); }; }; then
11211  ac_header_compiler=yes
11212else
11213  echo "$as_me: failed program was:" >&5
11214sed 's/^/| /' conftest.$ac_ext >&5
11215
11216ac_header_compiler=no
11217fi
11218rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11219echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11220echo "${ECHO_T}$ac_header_compiler" >&6
11221
11222# Is the header present?
11223echo "$as_me:$LINENO: checking $ac_header presence" >&5
11224echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11225cat >conftest.$ac_ext <<_ACEOF
11226/* confdefs.h.  */
11227_ACEOF
11228cat confdefs.h >>conftest.$ac_ext
11229cat >>conftest.$ac_ext <<_ACEOF
11230/* end confdefs.h.  */
11231#include <$ac_header>
11232_ACEOF
11233if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11234  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11235  ac_status=$?
11236  grep -v '^ *+' conftest.er1 >conftest.err
11237  rm -f conftest.er1
11238  cat conftest.err >&5
11239  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240  (exit $ac_status); } >/dev/null; then
11241  if test -s conftest.err; then
11242    ac_cpp_err=$ac_c_preproc_warn_flag
11243    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11244  else
11245    ac_cpp_err=
11246  fi
11247else
11248  ac_cpp_err=yes
11249fi
11250if test -z "$ac_cpp_err"; then
11251  ac_header_preproc=yes
11252else
11253  echo "$as_me: failed program was:" >&5
11254sed 's/^/| /' conftest.$ac_ext >&5
11255
11256  ac_header_preproc=no
11257fi
11258rm -f conftest.err conftest.$ac_ext
11259echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11260echo "${ECHO_T}$ac_header_preproc" >&6
11261
11262# So?  What about this header?
11263case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11264  yes:no: )
11265    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11266echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11267    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11268echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11269    ac_header_preproc=yes
11270    ;;
11271  no:yes:* )
11272    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11273echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11274    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11275echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11276    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11277echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11278    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11279echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11280    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11281echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11282    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11283echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11284    (
11285      cat <<\_ASBOX
11286## ------------------------------------------ ##
11287## Report this to the AC_PACKAGE_NAME lists.  ##
11288## ------------------------------------------ ##
11289_ASBOX
11290    ) |
11291      sed "s/^/$as_me: WARNING:     /" >&2
11292    ;;
11293esac
11294echo "$as_me:$LINENO: checking for $ac_header" >&5
11295echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11296if eval "test \"\${$as_ac_Header+set}\" = set"; then
11297  echo $ECHO_N "(cached) $ECHO_C" >&6
11298else
11299  eval "$as_ac_Header=\$ac_header_preproc"
11300fi
11301echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11302echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11303
11304fi
11305if test `eval echo '${'$as_ac_Header'}'` = yes; then
11306  cat >>confdefs.h <<_ACEOF
11307#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11308_ACEOF
11309
11310fi
11311
11312done
11313
11314
11315echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
11316echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
11317if test "${gprof_cv_decl_getopt_unistd_h+set}" = set; then
11318  echo $ECHO_N "(cached) $ECHO_C" >&6
11319else
11320  cat >conftest.$ac_ext <<_ACEOF
11321/* confdefs.h.  */
11322_ACEOF
11323cat confdefs.h >>conftest.$ac_ext
11324cat >>conftest.$ac_ext <<_ACEOF
11325/* end confdefs.h.  */
11326#include <unistd.h>
11327int
11328main ()
11329{
11330extern int getopt (int, char *const*, const char *);
11331  ;
11332  return 0;
11333}
11334_ACEOF
11335rm -f conftest.$ac_objext
11336if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11337  (eval $ac_compile) 2>conftest.er1
11338  ac_status=$?
11339  grep -v '^ *+' conftest.er1 >conftest.err
11340  rm -f conftest.er1
11341  cat conftest.err >&5
11342  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343  (exit $ac_status); } &&
11344	 { ac_try='test -z "$ac_c_werror_flag"
11345			 || test ! -s conftest.err'
11346  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11347  (eval $ac_try) 2>&5
11348  ac_status=$?
11349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350  (exit $ac_status); }; } &&
11351	 { ac_try='test -s conftest.$ac_objext'
11352  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11353  (eval $ac_try) 2>&5
11354  ac_status=$?
11355  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11356  (exit $ac_status); }; }; then
11357  gprof_cv_decl_getopt_unistd_h=yes
11358else
11359  echo "$as_me: failed program was:" >&5
11360sed 's/^/| /' conftest.$ac_ext >&5
11361
11362gprof_cv_decl_getopt_unistd_h=no
11363fi
11364rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11365fi
11366
11367echo "$as_me:$LINENO: result: $gprof_cv_decl_getopt_unistd_h" >&5
11368echo "${ECHO_T}$gprof_cv_decl_getopt_unistd_h" >&6
11369if test $gprof_cv_decl_getopt_unistd_h = yes; then
11370
11371cat >>confdefs.h <<\_ACEOF
11372#define HAVE_DECL_GETOPT 1
11373_ACEOF
11374
11375fi
11376
11377# Some systems have fabs only in -lm, not in -lc.
11378echo "$as_me:$LINENO: checking for library containing fabs" >&5
11379echo $ECHO_N "checking for library containing fabs... $ECHO_C" >&6
11380if test "${ac_cv_search_fabs+set}" = set; then
11381  echo $ECHO_N "(cached) $ECHO_C" >&6
11382else
11383  ac_func_search_save_LIBS=$LIBS
11384ac_cv_search_fabs=no
11385cat >conftest.$ac_ext <<_ACEOF
11386/* confdefs.h.  */
11387_ACEOF
11388cat confdefs.h >>conftest.$ac_ext
11389cat >>conftest.$ac_ext <<_ACEOF
11390/* end confdefs.h.  */
11391
11392/* Override any gcc2 internal prototype to avoid an error.  */
11393#ifdef __cplusplus
11394extern "C"
11395#endif
11396/* We use char because int might match the return type of a gcc2
11397   builtin and then its argument prototype would still apply.  */
11398char fabs ();
11399int
11400main ()
11401{
11402fabs ();
11403  ;
11404  return 0;
11405}
11406_ACEOF
11407rm -f conftest.$ac_objext conftest$ac_exeext
11408if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11409  (eval $ac_link) 2>conftest.er1
11410  ac_status=$?
11411  grep -v '^ *+' conftest.er1 >conftest.err
11412  rm -f conftest.er1
11413  cat conftest.err >&5
11414  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11415  (exit $ac_status); } &&
11416	 { ac_try='test -z "$ac_c_werror_flag"
11417			 || test ! -s conftest.err'
11418  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11419  (eval $ac_try) 2>&5
11420  ac_status=$?
11421  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422  (exit $ac_status); }; } &&
11423	 { ac_try='test -s conftest$ac_exeext'
11424  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11425  (eval $ac_try) 2>&5
11426  ac_status=$?
11427  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11428  (exit $ac_status); }; }; then
11429  ac_cv_search_fabs="none required"
11430else
11431  echo "$as_me: failed program was:" >&5
11432sed 's/^/| /' conftest.$ac_ext >&5
11433
11434fi
11435rm -f conftest.err conftest.$ac_objext \
11436      conftest$ac_exeext conftest.$ac_ext
11437if test "$ac_cv_search_fabs" = no; then
11438  for ac_lib in m; do
11439    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11440    cat >conftest.$ac_ext <<_ACEOF
11441/* confdefs.h.  */
11442_ACEOF
11443cat confdefs.h >>conftest.$ac_ext
11444cat >>conftest.$ac_ext <<_ACEOF
11445/* end confdefs.h.  */
11446
11447/* Override any gcc2 internal prototype to avoid an error.  */
11448#ifdef __cplusplus
11449extern "C"
11450#endif
11451/* We use char because int might match the return type of a gcc2
11452   builtin and then its argument prototype would still apply.  */
11453char fabs ();
11454int
11455main ()
11456{
11457fabs ();
11458  ;
11459  return 0;
11460}
11461_ACEOF
11462rm -f conftest.$ac_objext conftest$ac_exeext
11463if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11464  (eval $ac_link) 2>conftest.er1
11465  ac_status=$?
11466  grep -v '^ *+' conftest.er1 >conftest.err
11467  rm -f conftest.er1
11468  cat conftest.err >&5
11469  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470  (exit $ac_status); } &&
11471	 { ac_try='test -z "$ac_c_werror_flag"
11472			 || test ! -s conftest.err'
11473  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11474  (eval $ac_try) 2>&5
11475  ac_status=$?
11476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477  (exit $ac_status); }; } &&
11478	 { ac_try='test -s conftest$ac_exeext'
11479  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11480  (eval $ac_try) 2>&5
11481  ac_status=$?
11482  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483  (exit $ac_status); }; }; then
11484  ac_cv_search_fabs="-l$ac_lib"
11485break
11486else
11487  echo "$as_me: failed program was:" >&5
11488sed 's/^/| /' conftest.$ac_ext >&5
11489
11490fi
11491rm -f conftest.err conftest.$ac_objext \
11492      conftest$ac_exeext conftest.$ac_ext
11493  done
11494fi
11495LIBS=$ac_func_search_save_LIBS
11496fi
11497echo "$as_me:$LINENO: result: $ac_cv_search_fabs" >&5
11498echo "${ECHO_T}$ac_cv_search_fabs" >&6
11499if test "$ac_cv_search_fabs" != no; then
11500  test "$ac_cv_search_fabs" = "none required" || LIBS="$ac_cv_search_fabs $LIBS"
11501
11502fi
11503
11504
11505
11506GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11507
11508# Check whether --enable-werror or --disable-werror was given.
11509if test "${enable_werror+set}" = set; then
11510  enableval="$enable_werror"
11511  case "${enableval}" in
11512     yes | y) ERROR_ON_WARNING="yes" ;;
11513     no | n)  ERROR_ON_WARNING="no" ;;
11514     *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
11515echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
11516   { (exit 1); exit 1; }; } ;;
11517   esac
11518fi;
11519
11520# Enable -Wno-format by default when using gcc on mingw
11521case "${host}" in
11522  *-*-mingw32*)
11523    if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11524      GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
11525    fi
11526    ;;
11527  *) ;;
11528esac
11529
11530# Enable -Werror by default when using gcc
11531if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11532    ERROR_ON_WARNING=yes
11533fi
11534
11535NO_WERROR=
11536if test "${ERROR_ON_WARNING}" = yes ; then
11537    GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
11538    NO_WERROR="-Wno-error"
11539fi
11540
11541if test "${GCC}" = yes ; then
11542  WARN_CFLAGS="${GCC_WARN_CFLAGS}"
11543fi
11544
11545# Check whether --enable-build-warnings or --disable-build-warnings was given.
11546if test "${enable_build_warnings+set}" = set; then
11547  enableval="$enable_build_warnings"
11548  case "${enableval}" in
11549  yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
11550  no)	if test "${GCC}" = yes ; then
11551	  WARN_CFLAGS="-w"
11552	fi;;
11553  ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
11554        WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
11555  *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
11556        WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
11557  *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11558esac
11559fi;
11560
11561if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
11562  echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11563fi
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573                    ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
11574
11575cat >confcache <<\_ACEOF
11576# This file is a shell script that caches the results of configure
11577# tests run on this system so they can be shared between configure
11578# scripts and configure runs, see configure's option --config-cache.
11579# It is not useful on other systems.  If it contains results you don't
11580# want to keep, you may remove or edit it.
11581#
11582# config.status only pays attention to the cache file if you give it
11583# the --recheck option to rerun configure.
11584#
11585# `ac_cv_env_foo' variables (set or unset) will be overridden when
11586# loading this file, other *unset* `ac_cv_foo' will be assigned the
11587# following values.
11588
11589_ACEOF
11590
11591# The following way of writing the cache mishandles newlines in values,
11592# but we know of no workaround that is simple, portable, and efficient.
11593# So, don't put newlines in cache variables' values.
11594# Ultrix sh set writes to stderr and can't be redirected directly,
11595# and sets the high bit in the cache file unless we assign to the vars.
11596{
11597  (set) 2>&1 |
11598    case `(ac_space=' '; set | grep ac_space) 2>&1` in
11599    *ac_space=\ *)
11600      # `set' does not quote correctly, so add quotes (double-quote
11601      # substitution turns \\\\ into \\, and sed turns \\ into \).
11602      sed -n \
11603	"s/'/'\\\\''/g;
11604	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11605      ;;
11606    *)
11607      # `set' quotes correctly as required by POSIX, so do not add quotes.
11608      sed -n \
11609	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11610      ;;
11611    esac;
11612} |
11613  sed '
11614     t clear
11615     : clear
11616     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11617     t end
11618     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11619     : end' >>confcache
11620if diff $cache_file confcache >/dev/null 2>&1; then :; else
11621  if test -w $cache_file; then
11622    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11623    cat confcache >$cache_file
11624  else
11625    echo "not updating unwritable cache $cache_file"
11626  fi
11627fi
11628rm -f confcache
11629
11630test "x$prefix" = xNONE && prefix=$ac_default_prefix
11631# Let make expand exec_prefix.
11632test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11633
11634# VPATH may cause trouble with some makes, so we remove $(srcdir),
11635# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11636# trailing colons and then remove the whole line if VPATH becomes empty
11637# (actually we leave an empty line to preserve line numbers).
11638if test "x$srcdir" = x.; then
11639  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
11640s/:*\$(srcdir):*/:/;
11641s/:*\${srcdir}:*/:/;
11642s/:*@srcdir@:*/:/;
11643s/^\([^=]*=[	 ]*\):*/\1/;
11644s/:*$//;
11645s/^[^=]*=[	 ]*$//;
11646}'
11647fi
11648
11649DEFS=-DHAVE_CONFIG_H
11650
11651ac_libobjs=
11652ac_ltlibobjs=
11653for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11654  # 1. Remove the extension, and $U if already installed.
11655  ac_i=`echo "$ac_i" |
11656	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11657  # 2. Add them.
11658  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11659  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11660done
11661LIBOBJS=$ac_libobjs
11662
11663LTLIBOBJS=$ac_ltlibobjs
11664
11665
11666if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11667  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11668Usually this means the macro was only invoked conditionally." >&5
11669echo "$as_me: error: conditional \"AMDEP\" was never defined.
11670Usually this means the macro was only invoked conditionally." >&2;}
11671   { (exit 1); exit 1; }; }
11672fi
11673if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11674  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11675Usually this means the macro was only invoked conditionally." >&5
11676echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11677Usually this means the macro was only invoked conditionally." >&2;}
11678   { (exit 1); exit 1; }; }
11679fi
11680if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11681  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11682Usually this means the macro was only invoked conditionally." >&5
11683echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11684Usually this means the macro was only invoked conditionally." >&2;}
11685   { (exit 1); exit 1; }; }
11686fi
11687if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
11688  { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
11689Usually this means the macro was only invoked conditionally." >&5
11690echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
11691Usually this means the macro was only invoked conditionally." >&2;}
11692   { (exit 1); exit 1; }; }
11693fi
11694
11695: ${CONFIG_STATUS=./config.status}
11696ac_clean_files_save=$ac_clean_files
11697ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11698{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11699echo "$as_me: creating $CONFIG_STATUS" >&6;}
11700cat >$CONFIG_STATUS <<_ACEOF
11701#! $SHELL
11702# Generated by $as_me.
11703# Run this file to recreate the current configuration.
11704# Compiler output produced by configure, useful for debugging
11705# configure, is in config.log if it exists.
11706
11707debug=false
11708ac_cs_recheck=false
11709ac_cs_silent=false
11710SHELL=\${CONFIG_SHELL-$SHELL}
11711_ACEOF
11712
11713cat >>$CONFIG_STATUS <<\_ACEOF
11714## --------------------- ##
11715## M4sh Initialization.  ##
11716## --------------------- ##
11717
11718# Be Bourne compatible
11719if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11720  emulate sh
11721  NULLCMD=:
11722  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11723  # is contrary to our usage.  Disable this feature.
11724  alias -g '${1+"$@"}'='"$@"'
11725elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11726  set -o posix
11727fi
11728DUALCASE=1; export DUALCASE # for MKS sh
11729
11730# Support unset when possible.
11731if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11732  as_unset=unset
11733else
11734  as_unset=false
11735fi
11736
11737
11738# Work around bugs in pre-3.0 UWIN ksh.
11739$as_unset ENV MAIL MAILPATH
11740PS1='$ '
11741PS2='> '
11742PS4='+ '
11743
11744# NLS nuisances.
11745for as_var in \
11746  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11747  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11748  LC_TELEPHONE LC_TIME
11749do
11750  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11751    eval $as_var=C; export $as_var
11752  else
11753    $as_unset $as_var
11754  fi
11755done
11756
11757# Required to use basename.
11758if expr a : '\(a\)' >/dev/null 2>&1; then
11759  as_expr=expr
11760else
11761  as_expr=false
11762fi
11763
11764if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11765  as_basename=basename
11766else
11767  as_basename=false
11768fi
11769
11770
11771# Name of the executable.
11772as_me=`$as_basename "$0" ||
11773$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11774	 X"$0" : 'X\(//\)$' \| \
11775	 X"$0" : 'X\(/\)$' \| \
11776	 .     : '\(.\)' 2>/dev/null ||
11777echo X/"$0" |
11778    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11779  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
11780  	  /^X\/\(\/\).*/{ s//\1/; q; }
11781  	  s/.*/./; q'`
11782
11783
11784# PATH needs CR, and LINENO needs CR and PATH.
11785# Avoid depending upon Character Ranges.
11786as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11787as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11788as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11789as_cr_digits='0123456789'
11790as_cr_alnum=$as_cr_Letters$as_cr_digits
11791
11792# The user is always right.
11793if test "${PATH_SEPARATOR+set}" != set; then
11794  echo "#! /bin/sh" >conf$$.sh
11795  echo  "exit 0"   >>conf$$.sh
11796  chmod +x conf$$.sh
11797  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11798    PATH_SEPARATOR=';'
11799  else
11800    PATH_SEPARATOR=:
11801  fi
11802  rm -f conf$$.sh
11803fi
11804
11805
11806  as_lineno_1=$LINENO
11807  as_lineno_2=$LINENO
11808  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11809  test "x$as_lineno_1" != "x$as_lineno_2" &&
11810  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
11811  # Find who we are.  Look in the path if we contain no path at all
11812  # relative or not.
11813  case $0 in
11814    *[\\/]* ) as_myself=$0 ;;
11815    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11816for as_dir in $PATH
11817do
11818  IFS=$as_save_IFS
11819  test -z "$as_dir" && as_dir=.
11820  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11821done
11822
11823       ;;
11824  esac
11825  # We did not find ourselves, most probably we were run as `sh COMMAND'
11826  # in which case we are not to be found in the path.
11827  if test "x$as_myself" = x; then
11828    as_myself=$0
11829  fi
11830  if test ! -f "$as_myself"; then
11831    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11832echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11833   { (exit 1); exit 1; }; }
11834  fi
11835  case $CONFIG_SHELL in
11836  '')
11837    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11838for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11839do
11840  IFS=$as_save_IFS
11841  test -z "$as_dir" && as_dir=.
11842  for as_base in sh bash ksh sh5; do
11843	 case $as_dir in
11844	 /*)
11845	   if ("$as_dir/$as_base" -c '
11846  as_lineno_1=$LINENO
11847  as_lineno_2=$LINENO
11848  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11849  test "x$as_lineno_1" != "x$as_lineno_2" &&
11850  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
11851	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11852	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11853	     CONFIG_SHELL=$as_dir/$as_base
11854	     export CONFIG_SHELL
11855	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11856	   fi;;
11857	 esac
11858       done
11859done
11860;;
11861  esac
11862
11863  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11864  # uniformly replaced by the line number.  The first 'sed' inserts a
11865  # line-number line before each line; the second 'sed' does the real
11866  # work.  The second script uses 'N' to pair each line-number line
11867  # with the numbered line, and appends trailing '-' during
11868  # substitution so that $LINENO is not a special case at line end.
11869  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11870  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
11871  sed '=' <$as_myself |
11872    sed '
11873      N
11874      s,$,-,
11875      : loop
11876      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11877      t loop
11878      s,-$,,
11879      s,^['$as_cr_digits']*\n,,
11880    ' >$as_me.lineno &&
11881  chmod +x $as_me.lineno ||
11882    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11883echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11884   { (exit 1); exit 1; }; }
11885
11886  # Don't try to exec as it changes $[0], causing all sort of problems
11887  # (the dirname of $[0] is not the place where we might find the
11888  # original and so on.  Autoconf is especially sensible to this).
11889  . ./$as_me.lineno
11890  # Exit status is that of the last command.
11891  exit
11892}
11893
11894
11895case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11896  *c*,-n*) ECHO_N= ECHO_C='
11897' ECHO_T='	' ;;
11898  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11899  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
11900esac
11901
11902if expr a : '\(a\)' >/dev/null 2>&1; then
11903  as_expr=expr
11904else
11905  as_expr=false
11906fi
11907
11908rm -f conf$$ conf$$.exe conf$$.file
11909echo >conf$$.file
11910if ln -s conf$$.file conf$$ 2>/dev/null; then
11911  # We could just check for DJGPP; but this test a) works b) is more generic
11912  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11913  if test -f conf$$.exe; then
11914    # Don't use ln at all; we don't have any links
11915    as_ln_s='cp -p'
11916  else
11917    as_ln_s='ln -s'
11918  fi
11919elif ln conf$$.file conf$$ 2>/dev/null; then
11920  as_ln_s=ln
11921else
11922  as_ln_s='cp -p'
11923fi
11924rm -f conf$$ conf$$.exe conf$$.file
11925
11926if mkdir -p . 2>/dev/null; then
11927  as_mkdir_p=:
11928else
11929  test -d ./-p && rmdir ./-p
11930  as_mkdir_p=false
11931fi
11932
11933as_executable_p="test -f"
11934
11935# Sed expression to map a string onto a valid CPP name.
11936as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11937
11938# Sed expression to map a string onto a valid variable name.
11939as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11940
11941
11942# IFS
11943# We need space, tab and new line, in precisely that order.
11944as_nl='
11945'
11946IFS=" 	$as_nl"
11947
11948# CDPATH.
11949$as_unset CDPATH
11950
11951exec 6>&1
11952
11953# Open the log real soon, to keep \$[0] and so on meaningful, and to
11954# report actual input values of CONFIG_FILES etc. instead of their
11955# values after options handling.  Logging --version etc. is OK.
11956exec 5>>config.log
11957{
11958  echo
11959  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11960## Running $as_me. ##
11961_ASBOX
11962} >&5
11963cat >&5 <<_CSEOF
11964
11965This file was extended by $as_me, which was
11966generated by GNU Autoconf 2.59.  Invocation command line was
11967
11968  CONFIG_FILES    = $CONFIG_FILES
11969  CONFIG_HEADERS  = $CONFIG_HEADERS
11970  CONFIG_LINKS    = $CONFIG_LINKS
11971  CONFIG_COMMANDS = $CONFIG_COMMANDS
11972  $ $0 $@
11973
11974_CSEOF
11975echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11976echo >&5
11977_ACEOF
11978
11979# Files that config.status was made for.
11980if test -n "$ac_config_files"; then
11981  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11982fi
11983
11984if test -n "$ac_config_headers"; then
11985  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11986fi
11987
11988if test -n "$ac_config_links"; then
11989  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11990fi
11991
11992if test -n "$ac_config_commands"; then
11993  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11994fi
11995
11996cat >>$CONFIG_STATUS <<\_ACEOF
11997
11998ac_cs_usage="\
11999\`$as_me' instantiates files from templates according to the
12000current configuration.
12001
12002Usage: $0 [OPTIONS] [FILE]...
12003
12004  -h, --help       print this help, then exit
12005  -V, --version    print version number, then exit
12006  -q, --quiet      do not print progress messages
12007  -d, --debug      don't remove temporary files
12008      --recheck    update $as_me by reconfiguring in the same conditions
12009  --file=FILE[:TEMPLATE]
12010		   instantiate the configuration file FILE
12011  --header=FILE[:TEMPLATE]
12012		   instantiate the configuration header FILE
12013
12014Configuration files:
12015$config_files
12016
12017Configuration headers:
12018$config_headers
12019
12020Configuration commands:
12021$config_commands
12022
12023Report bugs to <bug-autoconf@gnu.org>."
12024_ACEOF
12025
12026cat >>$CONFIG_STATUS <<_ACEOF
12027ac_cs_version="\\
12028config.status
12029configured by $0, generated by GNU Autoconf 2.59,
12030  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12031
12032Copyright (C) 2003 Free Software Foundation, Inc.
12033This config.status script is free software; the Free Software Foundation
12034gives unlimited permission to copy, distribute and modify it."
12035srcdir=$srcdir
12036INSTALL="$INSTALL"
12037_ACEOF
12038
12039cat >>$CONFIG_STATUS <<\_ACEOF
12040# If no file are specified by the user, then we need to provide default
12041# value.  By we need to know if files were specified by the user.
12042ac_need_defaults=:
12043while test $# != 0
12044do
12045  case $1 in
12046  --*=*)
12047    ac_option=`expr "x$1" : 'x\([^=]*\)='`
12048    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12049    ac_shift=:
12050    ;;
12051  -*)
12052    ac_option=$1
12053    ac_optarg=$2
12054    ac_shift=shift
12055    ;;
12056  *) # This is not an option, so the user has probably given explicit
12057     # arguments.
12058     ac_option=$1
12059     ac_need_defaults=false;;
12060  esac
12061
12062  case $ac_option in
12063  # Handling of the options.
12064_ACEOF
12065cat >>$CONFIG_STATUS <<\_ACEOF
12066  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12067    ac_cs_recheck=: ;;
12068  --version | --vers* | -V )
12069    echo "$ac_cs_version"; exit 0 ;;
12070  --he | --h)
12071    # Conflict between --help and --header
12072    { { echo "$as_me:$LINENO: error: ambiguous option: $1
12073Try \`$0 --help' for more information." >&5
12074echo "$as_me: error: ambiguous option: $1
12075Try \`$0 --help' for more information." >&2;}
12076   { (exit 1); exit 1; }; };;
12077  --help | --hel | -h )
12078    echo "$ac_cs_usage"; exit 0 ;;
12079  --debug | --d* | -d )
12080    debug=: ;;
12081  --file | --fil | --fi | --f )
12082    $ac_shift
12083    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12084    ac_need_defaults=false;;
12085  --header | --heade | --head | --hea )
12086    $ac_shift
12087    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12088    ac_need_defaults=false;;
12089  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12090  | -silent | --silent | --silen | --sile | --sil | --si | --s)
12091    ac_cs_silent=: ;;
12092
12093  # This is an error.
12094  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12095Try \`$0 --help' for more information." >&5
12096echo "$as_me: error: unrecognized option: $1
12097Try \`$0 --help' for more information." >&2;}
12098   { (exit 1); exit 1; }; } ;;
12099
12100  *) ac_config_targets="$ac_config_targets $1" ;;
12101
12102  esac
12103  shift
12104done
12105
12106ac_configure_extra_args=
12107
12108if $ac_cs_silent; then
12109  exec 6>/dev/null
12110  ac_configure_extra_args="$ac_configure_extra_args --silent"
12111fi
12112
12113_ACEOF
12114cat >>$CONFIG_STATUS <<_ACEOF
12115if \$ac_cs_recheck; then
12116  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12117  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12118fi
12119
12120_ACEOF
12121
12122cat >>$CONFIG_STATUS <<_ACEOF
12123#
12124# INIT-COMMANDS section.
12125#
12126
12127AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12128
12129
12130# The HP-UX ksh and POSIX shell print the target directory to stdout
12131# if CDPATH is set.
12132(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12133
12134sed_quote_subst='$sed_quote_subst'
12135double_quote_subst='$double_quote_subst'
12136delay_variable_subst='$delay_variable_subst'
12137macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12138macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12139enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12140enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12141pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12142enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12143host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12144host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12145host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12146build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12147build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12148build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12149SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12150Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12151GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12152EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12153FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12154LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12155NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12156LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12157max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12158ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12159exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12160lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12161lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12162lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12163reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12164reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12165deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12166file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12167AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12168AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12169STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12170RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12171old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12172old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12173old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12174CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12175CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12176compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12177GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12178lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12179lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12180lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12181objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12182SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12183ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12184MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12185lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12186lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12187lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12188lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12189lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12190need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12191libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12192shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12193extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12194archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12195enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12196export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12197whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12198compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12199old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12200old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12201archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12202archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12203module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12204module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12205with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12206allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12207no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12208hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12209hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12210hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12211hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12212hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12213hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12214hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12215hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12216inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12217link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12218fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12219always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12220export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12221exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12222include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12223prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12224file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12225variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12226need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12227need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12228version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12229runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12230shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12231shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12232libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12233library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12234soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12235postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12236postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12237finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12238finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12239hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12240sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12241sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12242hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12243enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12244enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12245enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12246old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12247striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12248
12249LTCC='$LTCC'
12250LTCFLAGS='$LTCFLAGS'
12251compiler='$compiler_DEFAULT'
12252
12253# Quote evaled strings.
12254for var in SED \
12255GREP \
12256EGREP \
12257FGREP \
12258LD \
12259NM \
12260LN_S \
12261lt_SP2NL \
12262lt_NL2SP \
12263reload_flag \
12264deplibs_check_method \
12265file_magic_cmd \
12266AR \
12267AR_FLAGS \
12268STRIP \
12269RANLIB \
12270CC \
12271CFLAGS \
12272compiler \
12273lt_cv_sys_global_symbol_pipe \
12274lt_cv_sys_global_symbol_to_cdecl \
12275lt_cv_sys_global_symbol_to_c_name_address \
12276SHELL \
12277ECHO \
12278lt_prog_compiler_no_builtin_flag \
12279lt_prog_compiler_wl \
12280lt_prog_compiler_pic \
12281lt_prog_compiler_static \
12282lt_cv_prog_compiler_c_o \
12283need_locks \
12284shrext_cmds \
12285export_dynamic_flag_spec \
12286whole_archive_flag_spec \
12287compiler_needs_object \
12288with_gnu_ld \
12289allow_undefined_flag \
12290no_undefined_flag \
12291hardcode_libdir_flag_spec \
12292hardcode_libdir_flag_spec_ld \
12293hardcode_libdir_separator \
12294fix_srcfile_path \
12295exclude_expsyms \
12296include_expsyms \
12297file_list_spec \
12298variables_saved_for_relink \
12299libname_spec \
12300library_names_spec \
12301soname_spec \
12302finish_eval \
12303old_striplib \
12304striplib; do
12305    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12306    *[\\\\\\\`\\"\\\$]*)
12307      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12308      ;;
12309    *)
12310      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12311      ;;
12312    esac
12313done
12314
12315# Double-quote double-evaled strings.
12316for var in reload_cmds \
12317old_postinstall_cmds \
12318old_postuninstall_cmds \
12319old_archive_cmds \
12320extract_expsyms_cmds \
12321old_archive_from_new_cmds \
12322old_archive_from_expsyms_cmds \
12323archive_cmds \
12324archive_expsym_cmds \
12325module_cmds \
12326module_expsym_cmds \
12327export_symbols_cmds \
12328prelink_cmds \
12329postinstall_cmds \
12330postuninstall_cmds \
12331finish_cmds \
12332sys_lib_search_path_spec \
12333sys_lib_dlsearch_path_spec; do
12334    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12335    *[\\\\\\\`\\"\\\$]*)
12336      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12337      ;;
12338    *)
12339      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12340      ;;
12341    esac
12342done
12343
12344# Fix-up fallback echo if it was mangled by the above quoting rules.
12345case \$lt_ECHO in
12346*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12347  ;;
12348esac
12349
12350ac_aux_dir='$ac_aux_dir'
12351xsi_shell='$xsi_shell'
12352lt_shell_append='$lt_shell_append'
12353
12354# See if we are running on zsh, and set the options which allow our
12355# commands through without removal of \ escapes INIT.
12356if test -n "\${ZSH_VERSION+set}" ; then
12357   setopt NO_GLOB_SUBST
12358fi
12359
12360
12361    PACKAGE='$PACKAGE'
12362    VERSION='$VERSION'
12363    TIMESTAMP='$TIMESTAMP'
12364    RM='$RM'
12365    ofile='$ofile'
12366
12367
12368
12369# Capture the value of obsolete ALL_LINGUAS because we need it to compute
12370    # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12371    # from automake.
12372    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12373    # Capture the value of LINGUAS because we need it to compute CATALOGS.
12374    LINGUAS="${LINGUAS-%UNSET%}"
12375
12376
12377_ACEOF
12378
12379
12380
12381cat >>$CONFIG_STATUS <<\_ACEOF
12382for ac_config_target in $ac_config_targets
12383do
12384  case "$ac_config_target" in
12385  # Handling of arguments.
12386  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12387  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
12388  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12389  "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12390  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12391  "gconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
12392  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12393echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12394   { (exit 1); exit 1; }; };;
12395  esac
12396done
12397
12398# If the user did not use the arguments to specify the items to instantiate,
12399# then the envvar interface is used.  Set only those that are not.
12400# We use the long form for the default assignment because of an extremely
12401# bizarre bug on SunOS 4.1.3.
12402if $ac_need_defaults; then
12403  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12404  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12405  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12406fi
12407
12408# Have a temporary directory for convenience.  Make it in the build tree
12409# simply because there is no reason to put it here, and in addition,
12410# creating and moving files from /tmp can sometimes cause problems.
12411# Create a temporary directory, and hook for its removal unless debugging.
12412$debug ||
12413{
12414  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12415  trap '{ (exit 1); exit 1; }' 1 2 13 15
12416}
12417
12418# Create a (secure) tmp directory for tmp files.
12419
12420{
12421  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12422  test -n "$tmp" && test -d "$tmp"
12423}  ||
12424{
12425  tmp=./confstat$$-$RANDOM
12426  (umask 077 && mkdir $tmp)
12427} ||
12428{
12429   echo "$me: cannot create a temporary directory in ." >&2
12430   { (exit 1); exit 1; }
12431}
12432
12433_ACEOF
12434
12435cat >>$CONFIG_STATUS <<_ACEOF
12436
12437#
12438# CONFIG_FILES section.
12439#
12440
12441# No need to generate the scripts if there are no CONFIG_FILES.
12442# This happens for instance when ./config.status config.h
12443if test -n "\$CONFIG_FILES"; then
12444  # Protect against being on the right side of a sed subst in config.status.
12445  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12446   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12447s,@SHELL@,$SHELL,;t t
12448s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12449s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12450s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12451s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12452s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12453s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12454s,@exec_prefix@,$exec_prefix,;t t
12455s,@prefix@,$prefix,;t t
12456s,@program_transform_name@,$program_transform_name,;t t
12457s,@bindir@,$bindir,;t t
12458s,@sbindir@,$sbindir,;t t
12459s,@libexecdir@,$libexecdir,;t t
12460s,@datadir@,$datadir,;t t
12461s,@sysconfdir@,$sysconfdir,;t t
12462s,@sharedstatedir@,$sharedstatedir,;t t
12463s,@localstatedir@,$localstatedir,;t t
12464s,@libdir@,$libdir,;t t
12465s,@includedir@,$includedir,;t t
12466s,@oldincludedir@,$oldincludedir,;t t
12467s,@infodir@,$infodir,;t t
12468s,@mandir@,$mandir,;t t
12469s,@build_alias@,$build_alias,;t t
12470s,@host_alias@,$host_alias,;t t
12471s,@target_alias@,$target_alias,;t t
12472s,@DEFS@,$DEFS,;t t
12473s,@ECHO_C@,$ECHO_C,;t t
12474s,@ECHO_N@,$ECHO_N,;t t
12475s,@ECHO_T@,$ECHO_T,;t t
12476s,@LIBS@,$LIBS,;t t
12477s,@build@,$build,;t t
12478s,@build_cpu@,$build_cpu,;t t
12479s,@build_vendor@,$build_vendor,;t t
12480s,@build_os@,$build_os,;t t
12481s,@host@,$host,;t t
12482s,@host_cpu@,$host_cpu,;t t
12483s,@host_vendor@,$host_vendor,;t t
12484s,@host_os@,$host_os,;t t
12485s,@target@,$target,;t t
12486s,@target_cpu@,$target_cpu,;t t
12487s,@target_vendor@,$target_vendor,;t t
12488s,@target_os@,$target_os,;t t
12489s,@CC@,$CC,;t t
12490s,@CFLAGS@,$CFLAGS,;t t
12491s,@LDFLAGS@,$LDFLAGS,;t t
12492s,@CPPFLAGS@,$CPPFLAGS,;t t
12493s,@ac_ct_CC@,$ac_ct_CC,;t t
12494s,@EXEEXT@,$EXEEXT,;t t
12495s,@OBJEXT@,$OBJEXT,;t t
12496s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12497s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12498s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12499s,@CYGPATH_W@,$CYGPATH_W,;t t
12500s,@PACKAGE@,$PACKAGE,;t t
12501s,@VERSION@,$VERSION,;t t
12502s,@ACLOCAL@,$ACLOCAL,;t t
12503s,@AUTOCONF@,$AUTOCONF,;t t
12504s,@AUTOMAKE@,$AUTOMAKE,;t t
12505s,@AUTOHEADER@,$AUTOHEADER,;t t
12506s,@MAKEINFO@,$MAKEINFO,;t t
12507s,@install_sh@,$install_sh,;t t
12508s,@STRIP@,$STRIP,;t t
12509s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12510s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12511s,@mkdir_p@,$mkdir_p,;t t
12512s,@AWK@,$AWK,;t t
12513s,@SET_MAKE@,$SET_MAKE,;t t
12514s,@am__leading_dot@,$am__leading_dot,;t t
12515s,@AMTAR@,$AMTAR,;t t
12516s,@am__tar@,$am__tar,;t t
12517s,@am__untar@,$am__untar,;t t
12518s,@DEPDIR@,$DEPDIR,;t t
12519s,@am__include@,$am__include,;t t
12520s,@am__quote@,$am__quote,;t t
12521s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12522s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12523s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12524s,@CCDEPMODE@,$CCDEPMODE,;t t
12525s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
12526s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
12527s,@CPP@,$CPP,;t t
12528s,@EGREP@,$EGREP,;t t
12529s,@LIBTOOL@,$LIBTOOL,;t t
12530s,@SED@,$SED,;t t
12531s,@FGREP@,$FGREP,;t t
12532s,@GREP@,$GREP,;t t
12533s,@LD@,$LD,;t t
12534s,@DUMPBIN@,$DUMPBIN,;t t
12535s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
12536s,@NM@,$NM,;t t
12537s,@LN_S@,$LN_S,;t t
12538s,@AR@,$AR,;t t
12539s,@ac_ct_AR@,$ac_ct_AR,;t t
12540s,@RANLIB@,$RANLIB,;t t
12541s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12542s,@lt_ECHO@,$lt_ECHO,;t t
12543s,@USE_NLS@,$USE_NLS,;t t
12544s,@LIBINTL@,$LIBINTL,;t t
12545s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
12546s,@INCINTL@,$INCINTL,;t t
12547s,@XGETTEXT@,$XGETTEXT,;t t
12548s,@GMSGFMT@,$GMSGFMT,;t t
12549s,@POSUB@,$POSUB,;t t
12550s,@CATALOGS@,$CATALOGS,;t t
12551s,@DATADIRNAME@,$DATADIRNAME,;t t
12552s,@INSTOBJEXT@,$INSTOBJEXT,;t t
12553s,@GENCAT@,$GENCAT,;t t
12554s,@CATOBJEXT@,$CATOBJEXT,;t t
12555s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
12556s,@MSGFMT@,$MSGFMT,;t t
12557s,@MSGMERGE@,$MSGMERGE,;t t
12558s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12559s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12560s,@MAINT@,$MAINT,;t t
12561s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
12562s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
12563s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
12564s,@NO_WERROR@,$NO_WERROR,;t t
12565s,@datarootdir@,$datarootdir,;t t
12566s,@docdir@,$docdir,;t t
12567s,@htmldir@,$htmldir,;t t
12568s,@LIBOBJS@,$LIBOBJS,;t t
12569s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12570CEOF
12571
12572_ACEOF
12573
12574  cat >>$CONFIG_STATUS <<\_ACEOF
12575  # Split the substitutions into bite-sized pieces for seds with
12576  # small command number limits, like on Digital OSF/1 and HP-UX.
12577  ac_max_sed_lines=48
12578  ac_sed_frag=1 # Number of current file.
12579  ac_beg=1 # First line for current file.
12580  ac_end=$ac_max_sed_lines # Line after last line for current file.
12581  ac_more_lines=:
12582  ac_sed_cmds=
12583  while $ac_more_lines; do
12584    if test $ac_beg -gt 1; then
12585      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12586    else
12587      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12588    fi
12589    if test ! -s $tmp/subs.frag; then
12590      ac_more_lines=false
12591    else
12592      # The purpose of the label and of the branching condition is to
12593      # speed up the sed processing (if there are no `@' at all, there
12594      # is no need to browse any of the substitutions).
12595      # These are the two extra sed commands mentioned above.
12596      (echo ':t
12597  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12598      if test -z "$ac_sed_cmds"; then
12599	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12600      else
12601	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12602      fi
12603      ac_sed_frag=`expr $ac_sed_frag + 1`
12604      ac_beg=$ac_end
12605      ac_end=`expr $ac_end + $ac_max_sed_lines`
12606    fi
12607  done
12608  if test -z "$ac_sed_cmds"; then
12609    ac_sed_cmds=cat
12610  fi
12611fi # test -n "$CONFIG_FILES"
12612
12613_ACEOF
12614cat >>$CONFIG_STATUS <<\_ACEOF
12615for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12616  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12617  case $ac_file in
12618  - | *:- | *:-:* ) # input from stdin
12619	cat >$tmp/stdin
12620	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12621	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12622  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12623	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12624  * )   ac_file_in=$ac_file.in ;;
12625  esac
12626
12627  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12628  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12629$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12630	 X"$ac_file" : 'X\(//\)[^/]' \| \
12631	 X"$ac_file" : 'X\(//\)$' \| \
12632	 X"$ac_file" : 'X\(/\)' \| \
12633	 .     : '\(.\)' 2>/dev/null ||
12634echo X"$ac_file" |
12635    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12636  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12637  	  /^X\(\/\/\)$/{ s//\1/; q; }
12638  	  /^X\(\/\).*/{ s//\1/; q; }
12639  	  s/.*/./; q'`
12640  { if $as_mkdir_p; then
12641    mkdir -p "$ac_dir"
12642  else
12643    as_dir="$ac_dir"
12644    as_dirs=
12645    while test ! -d "$as_dir"; do
12646      as_dirs="$as_dir $as_dirs"
12647      as_dir=`(dirname "$as_dir") 2>/dev/null ||
12648$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12649	 X"$as_dir" : 'X\(//\)[^/]' \| \
12650	 X"$as_dir" : 'X\(//\)$' \| \
12651	 X"$as_dir" : 'X\(/\)' \| \
12652	 .     : '\(.\)' 2>/dev/null ||
12653echo X"$as_dir" |
12654    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12655  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12656  	  /^X\(\/\/\)$/{ s//\1/; q; }
12657  	  /^X\(\/\).*/{ s//\1/; q; }
12658  	  s/.*/./; q'`
12659    done
12660    test ! -n "$as_dirs" || mkdir $as_dirs
12661  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12662echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12663   { (exit 1); exit 1; }; }; }
12664
12665  ac_builddir=.
12666
12667if test "$ac_dir" != .; then
12668  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12669  # A "../" for each directory in $ac_dir_suffix.
12670  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12671else
12672  ac_dir_suffix= ac_top_builddir=
12673fi
12674
12675case $srcdir in
12676  .)  # No --srcdir option.  We are building in place.
12677    ac_srcdir=.
12678    if test -z "$ac_top_builddir"; then
12679       ac_top_srcdir=.
12680    else
12681       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12682    fi ;;
12683  [\\/]* | ?:[\\/]* )  # Absolute path.
12684    ac_srcdir=$srcdir$ac_dir_suffix;
12685    ac_top_srcdir=$srcdir ;;
12686  *) # Relative path.
12687    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12688    ac_top_srcdir=$ac_top_builddir$srcdir ;;
12689esac
12690
12691# Do not use `cd foo && pwd` to compute absolute paths, because
12692# the directories may not exist.
12693case `pwd` in
12694.) ac_abs_builddir="$ac_dir";;
12695*)
12696  case "$ac_dir" in
12697  .) ac_abs_builddir=`pwd`;;
12698  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12699  *) ac_abs_builddir=`pwd`/"$ac_dir";;
12700  esac;;
12701esac
12702case $ac_abs_builddir in
12703.) ac_abs_top_builddir=${ac_top_builddir}.;;
12704*)
12705  case ${ac_top_builddir}. in
12706  .) ac_abs_top_builddir=$ac_abs_builddir;;
12707  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12708  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12709  esac;;
12710esac
12711case $ac_abs_builddir in
12712.) ac_abs_srcdir=$ac_srcdir;;
12713*)
12714  case $ac_srcdir in
12715  .) ac_abs_srcdir=$ac_abs_builddir;;
12716  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12717  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12718  esac;;
12719esac
12720case $ac_abs_builddir in
12721.) ac_abs_top_srcdir=$ac_top_srcdir;;
12722*)
12723  case $ac_top_srcdir in
12724  .) ac_abs_top_srcdir=$ac_abs_builddir;;
12725  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12726  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12727  esac;;
12728esac
12729
12730
12731  case $INSTALL in
12732  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12733  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12734  esac
12735
12736  if test x"$ac_file" != x-; then
12737    { echo "$as_me:$LINENO: creating $ac_file" >&5
12738echo "$as_me: creating $ac_file" >&6;}
12739    rm -f "$ac_file"
12740  fi
12741  # Let's still pretend it is `configure' which instantiates (i.e., don't
12742  # use $as_me), people would be surprised to read:
12743  #    /* config.h.  Generated by config.status.  */
12744  if test x"$ac_file" = x-; then
12745    configure_input=
12746  else
12747    configure_input="$ac_file.  "
12748  fi
12749  configure_input=$configure_input"Generated from `echo $ac_file_in |
12750				     sed 's,.*/,,'` by configure."
12751
12752  # First look for the input files in the build tree, otherwise in the
12753  # src tree.
12754  ac_file_inputs=`IFS=:
12755    for f in $ac_file_in; do
12756      case $f in
12757      -) echo $tmp/stdin ;;
12758      [\\/$]*)
12759	 # Absolute (can't be DOS-style, as IFS=:)
12760	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12761echo "$as_me: error: cannot find input file: $f" >&2;}
12762   { (exit 1); exit 1; }; }
12763	 echo "$f";;
12764      *) # Relative
12765	 if test -f "$f"; then
12766	   # Build tree
12767	   echo "$f"
12768	 elif test -f "$srcdir/$f"; then
12769	   # Source tree
12770	   echo "$srcdir/$f"
12771	 else
12772	   # /dev/null tree
12773	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12774echo "$as_me: error: cannot find input file: $f" >&2;}
12775   { (exit 1); exit 1; }; }
12776	 fi;;
12777      esac
12778    done` || { (exit 1); exit 1; }
12779_ACEOF
12780cat >>$CONFIG_STATUS <<_ACEOF
12781  sed "$ac_vpsub
12782$extrasub
12783_ACEOF
12784cat >>$CONFIG_STATUS <<\_ACEOF
12785:t
12786/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12787s,@configure_input@,$configure_input,;t t
12788s,@srcdir@,$ac_srcdir,;t t
12789s,@abs_srcdir@,$ac_abs_srcdir,;t t
12790s,@top_srcdir@,$ac_top_srcdir,;t t
12791s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12792s,@builddir@,$ac_builddir,;t t
12793s,@abs_builddir@,$ac_abs_builddir,;t t
12794s,@top_builddir@,$ac_top_builddir,;t t
12795s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12796s,@INSTALL@,$ac_INSTALL,;t t
12797" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12798  rm -f $tmp/stdin
12799  if test x"$ac_file" != x-; then
12800    mv $tmp/out $ac_file
12801  else
12802    cat $tmp/out
12803    rm -f $tmp/out
12804  fi
12805
12806done
12807_ACEOF
12808cat >>$CONFIG_STATUS <<\_ACEOF
12809
12810#
12811# CONFIG_HEADER section.
12812#
12813
12814# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12815# NAME is the cpp macro being defined and VALUE is the value it is being given.
12816#
12817# ac_d sets the value in "#define NAME VALUE" lines.
12818ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
12819ac_dB='[	 ].*$,\1#\2'
12820ac_dC=' '
12821ac_dD=',;t'
12822# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12823ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
12824ac_uB='$,\1#\2define\3'
12825ac_uC=' '
12826ac_uD=',;t'
12827
12828for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12829  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12830  case $ac_file in
12831  - | *:- | *:-:* ) # input from stdin
12832	cat >$tmp/stdin
12833	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12834	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12835  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12836	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12837  * )   ac_file_in=$ac_file.in ;;
12838  esac
12839
12840  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12841echo "$as_me: creating $ac_file" >&6;}
12842
12843  # First look for the input files in the build tree, otherwise in the
12844  # src tree.
12845  ac_file_inputs=`IFS=:
12846    for f in $ac_file_in; do
12847      case $f in
12848      -) echo $tmp/stdin ;;
12849      [\\/$]*)
12850	 # Absolute (can't be DOS-style, as IFS=:)
12851	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12852echo "$as_me: error: cannot find input file: $f" >&2;}
12853   { (exit 1); exit 1; }; }
12854	 # Do quote $f, to prevent DOS paths from being IFS'd.
12855	 echo "$f";;
12856      *) # Relative
12857	 if test -f "$f"; then
12858	   # Build tree
12859	   echo "$f"
12860	 elif test -f "$srcdir/$f"; then
12861	   # Source tree
12862	   echo "$srcdir/$f"
12863	 else
12864	   # /dev/null tree
12865	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12866echo "$as_me: error: cannot find input file: $f" >&2;}
12867   { (exit 1); exit 1; }; }
12868	 fi;;
12869      esac
12870    done` || { (exit 1); exit 1; }
12871  # Remove the trailing spaces.
12872  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
12873
12874_ACEOF
12875
12876# Transform confdefs.h into two sed scripts, `conftest.defines' and
12877# `conftest.undefs', that substitutes the proper values into
12878# config.h.in to produce config.h.  The first handles `#define'
12879# templates, and the second `#undef' templates.
12880# And first: Protect against being on the right side of a sed subst in
12881# config.status.  Protect against being in an unquoted here document
12882# in config.status.
12883rm -f conftest.defines conftest.undefs
12884# Using a here document instead of a string reduces the quoting nightmare.
12885# Putting comments in sed scripts is not portable.
12886#
12887# `end' is used to avoid that the second main sed command (meant for
12888# 0-ary CPP macros) applies to n-ary macro definitions.
12889# See the Autoconf documentation for `clear'.
12890cat >confdef2sed.sed <<\_ACEOF
12891s/[\\&,]/\\&/g
12892s,[\\$`],\\&,g
12893t clear
12894: clear
12895s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12896t end
12897s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12898: end
12899_ACEOF
12900# If some macros were called several times there might be several times
12901# the same #defines, which is useless.  Nevertheless, we may not want to
12902# sort them, since we want the *last* AC-DEFINE to be honored.
12903uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12904sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12905rm -f confdef2sed.sed
12906
12907# This sed command replaces #undef with comments.  This is necessary, for
12908# example, in the case of _POSIX_SOURCE, which is predefined and required
12909# on some systems where configure will not decide to define it.
12910cat >>conftest.undefs <<\_ACEOF
12911s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12912_ACEOF
12913
12914# Break up conftest.defines because some shells have a limit on the size
12915# of here documents, and old seds have small limits too (100 cmds).
12916echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12917echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12918echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12919echo '  :' >>$CONFIG_STATUS
12920rm -f conftest.tail
12921while grep . conftest.defines >/dev/null
12922do
12923  # Write a limited-size here document to $tmp/defines.sed.
12924  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12925  # Speed up: don't consider the non `#define' lines.
12926  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
12927  # Work around the forget-to-reset-the-flag bug.
12928  echo 't clr' >>$CONFIG_STATUS
12929  echo ': clr' >>$CONFIG_STATUS
12930  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12931  echo 'CEOF
12932  sed -f $tmp/defines.sed $tmp/in >$tmp/out
12933  rm -f $tmp/in
12934  mv $tmp/out $tmp/in
12935' >>$CONFIG_STATUS
12936  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12937  rm -f conftest.defines
12938  mv conftest.tail conftest.defines
12939done
12940rm -f conftest.defines
12941echo '  fi # grep' >>$CONFIG_STATUS
12942echo >>$CONFIG_STATUS
12943
12944# Break up conftest.undefs because some shells have a limit on the size
12945# of here documents, and old seds have small limits too (100 cmds).
12946echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
12947rm -f conftest.tail
12948while grep . conftest.undefs >/dev/null
12949do
12950  # Write a limited-size here document to $tmp/undefs.sed.
12951  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12952  # Speed up: don't consider the non `#undef'
12953  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
12954  # Work around the forget-to-reset-the-flag bug.
12955  echo 't clr' >>$CONFIG_STATUS
12956  echo ': clr' >>$CONFIG_STATUS
12957  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12958  echo 'CEOF
12959  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12960  rm -f $tmp/in
12961  mv $tmp/out $tmp/in
12962' >>$CONFIG_STATUS
12963  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12964  rm -f conftest.undefs
12965  mv conftest.tail conftest.undefs
12966done
12967rm -f conftest.undefs
12968
12969cat >>$CONFIG_STATUS <<\_ACEOF
12970  # Let's still pretend it is `configure' which instantiates (i.e., don't
12971  # use $as_me), people would be surprised to read:
12972  #    /* config.h.  Generated by config.status.  */
12973  if test x"$ac_file" = x-; then
12974    echo "/* Generated by configure.  */" >$tmp/config.h
12975  else
12976    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
12977  fi
12978  cat $tmp/in >>$tmp/config.h
12979  rm -f $tmp/in
12980  if test x"$ac_file" != x-; then
12981    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12982      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12983echo "$as_me: $ac_file is unchanged" >&6;}
12984    else
12985      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12986$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12987	 X"$ac_file" : 'X\(//\)[^/]' \| \
12988	 X"$ac_file" : 'X\(//\)$' \| \
12989	 X"$ac_file" : 'X\(/\)' \| \
12990	 .     : '\(.\)' 2>/dev/null ||
12991echo X"$ac_file" |
12992    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12993  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12994  	  /^X\(\/\/\)$/{ s//\1/; q; }
12995  	  /^X\(\/\).*/{ s//\1/; q; }
12996  	  s/.*/./; q'`
12997      { if $as_mkdir_p; then
12998    mkdir -p "$ac_dir"
12999  else
13000    as_dir="$ac_dir"
13001    as_dirs=
13002    while test ! -d "$as_dir"; do
13003      as_dirs="$as_dir $as_dirs"
13004      as_dir=`(dirname "$as_dir") 2>/dev/null ||
13005$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13006	 X"$as_dir" : 'X\(//\)[^/]' \| \
13007	 X"$as_dir" : 'X\(//\)$' \| \
13008	 X"$as_dir" : 'X\(/\)' \| \
13009	 .     : '\(.\)' 2>/dev/null ||
13010echo X"$as_dir" |
13011    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13012  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13013  	  /^X\(\/\/\)$/{ s//\1/; q; }
13014  	  /^X\(\/\).*/{ s//\1/; q; }
13015  	  s/.*/./; q'`
13016    done
13017    test ! -n "$as_dirs" || mkdir $as_dirs
13018  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13019echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13020   { (exit 1); exit 1; }; }; }
13021
13022      rm -f $ac_file
13023      mv $tmp/config.h $ac_file
13024    fi
13025  else
13026    cat $tmp/config.h
13027    rm -f $tmp/config.h
13028  fi
13029# Compute $ac_file's index in $config_headers.
13030_am_stamp_count=1
13031for _am_header in $config_headers :; do
13032  case $_am_header in
13033    $ac_file | $ac_file:* )
13034      break ;;
13035    * )
13036      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13037  esac
13038done
13039echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13040$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13041	 X$ac_file : 'X\(//\)[^/]' \| \
13042	 X$ac_file : 'X\(//\)$' \| \
13043	 X$ac_file : 'X\(/\)' \| \
13044	 .     : '\(.\)' 2>/dev/null ||
13045echo X$ac_file |
13046    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13047  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13048  	  /^X\(\/\/\)$/{ s//\1/; q; }
13049  	  /^X\(\/\).*/{ s//\1/; q; }
13050  	  s/.*/./; q'`/stamp-h$_am_stamp_count
13051done
13052_ACEOF
13053cat >>$CONFIG_STATUS <<\_ACEOF
13054
13055#
13056# CONFIG_COMMANDS section.
13057#
13058for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13059  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13060  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13061  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
13062$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13063	 X"$ac_dest" : 'X\(//\)[^/]' \| \
13064	 X"$ac_dest" : 'X\(//\)$' \| \
13065	 X"$ac_dest" : 'X\(/\)' \| \
13066	 .     : '\(.\)' 2>/dev/null ||
13067echo X"$ac_dest" |
13068    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13069  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13070  	  /^X\(\/\/\)$/{ s//\1/; q; }
13071  	  /^X\(\/\).*/{ s//\1/; q; }
13072  	  s/.*/./; q'`
13073  { if $as_mkdir_p; then
13074    mkdir -p "$ac_dir"
13075  else
13076    as_dir="$ac_dir"
13077    as_dirs=
13078    while test ! -d "$as_dir"; do
13079      as_dirs="$as_dir $as_dirs"
13080      as_dir=`(dirname "$as_dir") 2>/dev/null ||
13081$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13082	 X"$as_dir" : 'X\(//\)[^/]' \| \
13083	 X"$as_dir" : 'X\(//\)$' \| \
13084	 X"$as_dir" : 'X\(/\)' \| \
13085	 .     : '\(.\)' 2>/dev/null ||
13086echo X"$as_dir" |
13087    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13088  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13089  	  /^X\(\/\/\)$/{ s//\1/; q; }
13090  	  /^X\(\/\).*/{ s//\1/; q; }
13091  	  s/.*/./; q'`
13092    done
13093    test ! -n "$as_dirs" || mkdir $as_dirs
13094  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13095echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13096   { (exit 1); exit 1; }; }; }
13097
13098  ac_builddir=.
13099
13100if test "$ac_dir" != .; then
13101  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13102  # A "../" for each directory in $ac_dir_suffix.
13103  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13104else
13105  ac_dir_suffix= ac_top_builddir=
13106fi
13107
13108case $srcdir in
13109  .)  # No --srcdir option.  We are building in place.
13110    ac_srcdir=.
13111    if test -z "$ac_top_builddir"; then
13112       ac_top_srcdir=.
13113    else
13114       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13115    fi ;;
13116  [\\/]* | ?:[\\/]* )  # Absolute path.
13117    ac_srcdir=$srcdir$ac_dir_suffix;
13118    ac_top_srcdir=$srcdir ;;
13119  *) # Relative path.
13120    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13121    ac_top_srcdir=$ac_top_builddir$srcdir ;;
13122esac
13123
13124# Do not use `cd foo && pwd` to compute absolute paths, because
13125# the directories may not exist.
13126case `pwd` in
13127.) ac_abs_builddir="$ac_dir";;
13128*)
13129  case "$ac_dir" in
13130  .) ac_abs_builddir=`pwd`;;
13131  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13132  *) ac_abs_builddir=`pwd`/"$ac_dir";;
13133  esac;;
13134esac
13135case $ac_abs_builddir in
13136.) ac_abs_top_builddir=${ac_top_builddir}.;;
13137*)
13138  case ${ac_top_builddir}. in
13139  .) ac_abs_top_builddir=$ac_abs_builddir;;
13140  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13141  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13142  esac;;
13143esac
13144case $ac_abs_builddir in
13145.) ac_abs_srcdir=$ac_srcdir;;
13146*)
13147  case $ac_srcdir in
13148  .) ac_abs_srcdir=$ac_abs_builddir;;
13149  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13150  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13151  esac;;
13152esac
13153case $ac_abs_builddir in
13154.) ac_abs_top_srcdir=$ac_top_srcdir;;
13155*)
13156  case $ac_top_srcdir in
13157  .) ac_abs_top_srcdir=$ac_abs_builddir;;
13158  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13159  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13160  esac;;
13161esac
13162
13163
13164  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13165echo "$as_me: executing $ac_dest commands" >&6;}
13166  case $ac_dest in
13167    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
13168  # Strip MF so we end up with the name of the file.
13169  mf=`echo "$mf" | sed -e 's/:.*$//'`
13170  # Check whether this is an Automake generated Makefile or not.
13171  # We used to match only the files named `Makefile.in', but
13172  # some people rename them; so instead we look at the file content.
13173  # Grep'ing the first line is not enough: some people post-process
13174  # each Makefile.in and add a new line on top of each file to say so.
13175  # So let's grep whole file.
13176  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
13177    dirpart=`(dirname "$mf") 2>/dev/null ||
13178$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13179	 X"$mf" : 'X\(//\)[^/]' \| \
13180	 X"$mf" : 'X\(//\)$' \| \
13181	 X"$mf" : 'X\(/\)' \| \
13182	 .     : '\(.\)' 2>/dev/null ||
13183echo X"$mf" |
13184    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13185  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13186  	  /^X\(\/\/\)$/{ s//\1/; q; }
13187  	  /^X\(\/\).*/{ s//\1/; q; }
13188  	  s/.*/./; q'`
13189  else
13190    continue
13191  fi
13192  # Extract the definition of DEPDIR, am__include, and am__quote
13193  # from the Makefile without running `make'.
13194  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13195  test -z "$DEPDIR" && continue
13196  am__include=`sed -n 's/^am__include = //p' < "$mf"`
13197  test -z "am__include" && continue
13198  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13199  # When using ansi2knr, U may be empty or an underscore; expand it
13200  U=`sed -n 's/^U = //p' < "$mf"`
13201  # Find all dependency output files, they are included files with
13202  # $(DEPDIR) in their names.  We invoke sed twice because it is the
13203  # simplest approach to changing $(DEPDIR) to its actual value in the
13204  # expansion.
13205  for file in `sed -n "
13206    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13207       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13208    # Make sure the directory exists.
13209    test -f "$dirpart/$file" && continue
13210    fdir=`(dirname "$file") 2>/dev/null ||
13211$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13212	 X"$file" : 'X\(//\)[^/]' \| \
13213	 X"$file" : 'X\(//\)$' \| \
13214	 X"$file" : 'X\(/\)' \| \
13215	 .     : '\(.\)' 2>/dev/null ||
13216echo X"$file" |
13217    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13218  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13219  	  /^X\(\/\/\)$/{ s//\1/; q; }
13220  	  /^X\(\/\).*/{ s//\1/; q; }
13221  	  s/.*/./; q'`
13222    { if $as_mkdir_p; then
13223    mkdir -p $dirpart/$fdir
13224  else
13225    as_dir=$dirpart/$fdir
13226    as_dirs=
13227    while test ! -d "$as_dir"; do
13228      as_dirs="$as_dir $as_dirs"
13229      as_dir=`(dirname "$as_dir") 2>/dev/null ||
13230$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13231	 X"$as_dir" : 'X\(//\)[^/]' \| \
13232	 X"$as_dir" : 'X\(//\)$' \| \
13233	 X"$as_dir" : 'X\(/\)' \| \
13234	 .     : '\(.\)' 2>/dev/null ||
13235echo X"$as_dir" |
13236    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13237  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13238  	  /^X\(\/\/\)$/{ s//\1/; q; }
13239  	  /^X\(\/\).*/{ s//\1/; q; }
13240  	  s/.*/./; q'`
13241    done
13242    test ! -n "$as_dirs" || mkdir $as_dirs
13243  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13244echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13245   { (exit 1); exit 1; }; }; }
13246
13247    # echo "creating $dirpart/$file"
13248    echo '# dummy' > "$dirpart/$file"
13249  done
13250done
13251 ;;
13252    libtool )
13253
13254    # See if we are running on zsh, and set the options which allow our
13255    # commands through without removal of \ escapes.
13256    if test -n "${ZSH_VERSION+set}" ; then
13257      setopt NO_GLOB_SUBST
13258    fi
13259
13260    cfgfile="${ofile}T"
13261    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13262    $RM "$cfgfile"
13263
13264    cat <<_LT_EOF >> "$cfgfile"
13265#! $SHELL
13266
13267# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13268# Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
13269# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13270# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13271#
13272# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13273# 2006, 2007 Free Software Foundation, Inc.
13274#
13275# This file is part of GNU Libtool:
13276# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
13277#
13278# This program is free software; you can redistribute it and/or modify
13279# it under the terms of the GNU General Public License as published by
13280# the Free Software Foundation; either version 2 of the License, or
13281# (at your option) any later version.
13282#
13283# This program is distributed in the hope that it will be useful, but
13284# WITHOUT ANY WARRANTY; without even the implied warranty of
13285# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13286# General Public License for more details.
13287#
13288# You should have received a copy of the GNU General Public License
13289# along with this program; if not, a copy can be downloaded from
13290# http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
13291# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
13292# MA 02110-1301, USA.
13293#
13294# As a special exception to the GNU General Public License, if you
13295# distribute this file as part of a program that contains a
13296# configuration script generated by Autoconf, you may include it under
13297# the same distribution terms that you use for the rest of that program.
13298
13299
13300# The names of the tagged configurations supported by this script.
13301available_tags=""
13302
13303# ### BEGIN LIBTOOL CONFIG
13304
13305# Which release of libtool.m4 was used?
13306macro_version=$macro_version
13307macro_revision=$macro_revision
13308
13309# Whether or not to build shared libraries.
13310build_libtool_libs=$enable_shared
13311
13312# Whether or not to build static libraries.
13313build_old_libs=$enable_static
13314
13315# What type of objects to build.
13316pic_mode=$pic_mode
13317
13318# Whether or not to optimize for fast installation.
13319fast_install=$enable_fast_install
13320
13321# The host system.
13322host_alias=$host_alias
13323host=$host
13324host_os=$host_os
13325
13326# The build system.
13327build_alias=$build_alias
13328build=$build
13329build_os=$build_os
13330
13331# A sed program that does not truncate output.
13332SED=$lt_SED
13333
13334# Sed that helps us avoid accidentally triggering echo(1) options like -n.
13335Xsed="\$SED -e 1s/^X//"
13336
13337# A grep program that handles long lines.
13338GREP=$lt_GREP
13339
13340# An ERE matcher.
13341EGREP=$lt_EGREP
13342
13343# A literal string matcher.
13344FGREP=$lt_FGREP
13345
13346# A BSD- or MS-compatible name lister.
13347NM=$lt_NM
13348
13349# Whether we need soft or hard links.
13350LN_S=$lt_LN_S
13351
13352# What is the maximum length of a command?
13353max_cmd_len=$max_cmd_len
13354
13355# Object file suffix (normally "o").
13356objext=$ac_objext
13357
13358# Executable file suffix (normally "").
13359exeext=$exeext
13360
13361# whether the shell understands "unset".
13362lt_unset=$lt_unset
13363
13364# turn spaces into newlines.
13365SP2NL=$lt_lt_SP2NL
13366
13367# turn newlines into spaces.
13368NL2SP=$lt_lt_NL2SP
13369
13370# How to create reloadable object files.
13371reload_flag=$lt_reload_flag
13372reload_cmds=$lt_reload_cmds
13373
13374# Method to check whether dependent libraries are shared objects.
13375deplibs_check_method=$lt_deplibs_check_method
13376
13377# Command to use when deplibs_check_method == "file_magic".
13378file_magic_cmd=$lt_file_magic_cmd
13379
13380# The archiver.
13381AR=$lt_AR
13382AR_FLAGS=$lt_AR_FLAGS
13383
13384# A symbol stripping program.
13385STRIP=$lt_STRIP
13386
13387# Commands used to install an old-style archive.
13388RANLIB=$lt_RANLIB
13389old_postinstall_cmds=$lt_old_postinstall_cmds
13390old_postuninstall_cmds=$lt_old_postuninstall_cmds
13391
13392# A C compiler.
13393LTCC=$lt_CC
13394
13395# LTCC compiler flags.
13396LTCFLAGS=$lt_CFLAGS
13397
13398# Take the output of nm and produce a listing of raw symbols and C names.
13399global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13400
13401# Transform the output of nm in a proper C declaration.
13402global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13403
13404# Transform the output of nm in a C name address pair.
13405global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13406
13407# The name of the directory that contains temporary libtool files.
13408objdir=$objdir
13409
13410# Shell to use when invoking shell scripts.
13411SHELL=$lt_SHELL
13412
13413# An echo program that does not interpret backslashes.
13414ECHO=$lt_ECHO
13415
13416# Used to examine libraries when file_magic_cmd begins with "file".
13417MAGIC_CMD=$MAGIC_CMD
13418
13419# Must we lock files when doing compilation?
13420need_locks=$lt_need_locks
13421
13422# Old archive suffix (normally "a").
13423libext=$libext
13424
13425# Shared library suffix (normally ".so").
13426shrext_cmds=$lt_shrext_cmds
13427
13428# The commands to extract the exported symbol list from a shared archive.
13429extract_expsyms_cmds=$lt_extract_expsyms_cmds
13430
13431# Variables whose values should be saved in libtool wrapper scripts and
13432# restored at link time.
13433variables_saved_for_relink=$lt_variables_saved_for_relink
13434
13435# Do we need the "lib" prefix for modules?
13436need_lib_prefix=$need_lib_prefix
13437
13438# Do we need a version for libraries?
13439need_version=$need_version
13440
13441# Library versioning type.
13442version_type=$version_type
13443
13444# Shared library runtime path variable.
13445runpath_var=$runpath_var
13446
13447# Shared library path variable.
13448shlibpath_var=$shlibpath_var
13449
13450# Is shlibpath searched before the hard-coded library search path?
13451shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13452
13453# Format of library name prefix.
13454libname_spec=$lt_libname_spec
13455
13456# List of archive names.  First name is the real one, the rest are links.
13457# The last name is the one that the linker finds with -lNAME
13458library_names_spec=$lt_library_names_spec
13459
13460# The coded name of the library, if different from the real name.
13461soname_spec=$lt_soname_spec
13462
13463# Command to use after installation of a shared archive.
13464postinstall_cmds=$lt_postinstall_cmds
13465
13466# Command to use after uninstallation of a shared archive.
13467postuninstall_cmds=$lt_postuninstall_cmds
13468
13469# Commands used to finish a libtool library installation in a directory.
13470finish_cmds=$lt_finish_cmds
13471
13472# As "finish_cmds", except a single script fragment to be evaled but
13473# not shown.
13474finish_eval=$lt_finish_eval
13475
13476# Whether we should hardcode library paths into libraries.
13477hardcode_into_libs=$hardcode_into_libs
13478
13479# Compile-time system search path for libraries.
13480sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13481
13482# Run-time system search path for libraries.
13483sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13484
13485# Whether dlopen is supported.
13486dlopen_support=$enable_dlopen
13487
13488# Whether dlopen of programs is supported.
13489dlopen_self=$enable_dlopen_self
13490
13491# Whether dlopen of statically linked programs is supported.
13492dlopen_self_static=$enable_dlopen_self_static
13493
13494# Commands to strip libraries.
13495old_striplib=$lt_old_striplib
13496striplib=$lt_striplib
13497
13498
13499# The linker used to build libraries.
13500LD=$lt_LD
13501
13502# Commands used to build an old-style archive.
13503old_archive_cmds=$lt_old_archive_cmds
13504
13505# A language specific compiler.
13506CC=$lt_compiler
13507
13508# Is the compiler the GNU compiler?
13509with_gcc=$GCC
13510
13511# Compiler flag to turn off builtin functions.
13512no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13513
13514# How to pass a linker flag through the compiler.
13515wl=$lt_lt_prog_compiler_wl
13516
13517# Additional compiler flags for building library objects.
13518pic_flag=$lt_lt_prog_compiler_pic
13519
13520# Compiler flag to prevent dynamic linking.
13521link_static_flag=$lt_lt_prog_compiler_static
13522
13523# Does compiler simultaneously support -c and -o options?
13524compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13525
13526# Whether or not to add -lc for building shared libraries.
13527build_libtool_need_lc=$archive_cmds_need_lc
13528
13529# Whether or not to disallow shared libs when runtime libs are static.
13530allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13531
13532# Compiler flag to allow reflexive dlopens.
13533export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13534
13535# Compiler flag to generate shared objects directly from archives.
13536whole_archive_flag_spec=$lt_whole_archive_flag_spec
13537
13538# Whether the compiler copes with passing no objects directly.
13539compiler_needs_object=$lt_compiler_needs_object
13540
13541# Create an old-style archive from a shared archive.
13542old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13543
13544# Create a temporary old-style archive to link instead of a shared archive.
13545old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13546
13547# Commands used to build a shared archive.
13548archive_cmds=$lt_archive_cmds
13549archive_expsym_cmds=$lt_archive_expsym_cmds
13550
13551# Commands used to build a loadable module if different from building
13552# a shared archive.
13553module_cmds=$lt_module_cmds
13554module_expsym_cmds=$lt_module_expsym_cmds
13555
13556# Whether we are building with GNU ld or not.
13557with_gnu_ld=$lt_with_gnu_ld
13558
13559# Flag that allows shared libraries with undefined symbols to be built.
13560allow_undefined_flag=$lt_allow_undefined_flag
13561
13562# Flag that enforces no undefined symbols.
13563no_undefined_flag=$lt_no_undefined_flag
13564
13565# Flag to hardcode \$libdir into a binary during linking.
13566# This must work even if \$libdir does not exist
13567hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13568
13569# If ld is used when linking, flag to hardcode \$libdir into a binary
13570# during linking.  This must work even if \$libdir does not exist.
13571hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13572
13573# Whether we need a single "-rpath" flag with a separated argument.
13574hardcode_libdir_separator=$lt_hardcode_libdir_separator
13575
13576# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13577# DIR into the resulting binary.
13578hardcode_direct=$hardcode_direct
13579
13580# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13581# DIR into the resulting binary and the resulting library dependency is
13582# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13583# library is relocated.
13584hardcode_direct_absolute=$hardcode_direct_absolute
13585
13586# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13587# into the resulting binary.
13588hardcode_minus_L=$hardcode_minus_L
13589
13590# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13591# into the resulting binary.
13592hardcode_shlibpath_var=$hardcode_shlibpath_var
13593
13594# Set to "yes" if building a shared library automatically hardcodes DIR
13595# into the library and all subsequent libraries and executables linked
13596# against it.
13597hardcode_automatic=$hardcode_automatic
13598
13599# Set to yes if linker adds runtime paths of dependent libraries
13600# to runtime path list.
13601inherit_rpath=$inherit_rpath
13602
13603# Whether libtool must link a program against all its dependency libraries.
13604link_all_deplibs=$link_all_deplibs
13605
13606# Fix the shell variable \$srcfile for the compiler.
13607fix_srcfile_path=$lt_fix_srcfile_path
13608
13609# Set to "yes" if exported symbols are required.
13610always_export_symbols=$always_export_symbols
13611
13612# The commands to list exported symbols.
13613export_symbols_cmds=$lt_export_symbols_cmds
13614
13615# Symbols that should not be listed in the preloaded symbols.
13616exclude_expsyms=$lt_exclude_expsyms
13617
13618# Symbols that must always be exported.
13619include_expsyms=$lt_include_expsyms
13620
13621# Commands necessary for linking programs (against libraries) with templates.
13622prelink_cmds=$lt_prelink_cmds
13623
13624# Specify filename containing input files.
13625file_list_spec=$lt_file_list_spec
13626
13627# How to hardcode a shared library path into an executable.
13628hardcode_action=$hardcode_action
13629
13630# ### END LIBTOOL CONFIG
13631
13632_LT_EOF
13633
13634  case $host_os in
13635  aix3*)
13636    cat <<\_LT_EOF >> "$cfgfile"
13637# AIX sometimes has problems with the GCC collect2 program.  For some
13638# reason, if we set the COLLECT_NAMES environment variable, the problems
13639# vanish in a puff of smoke.
13640if test "X${COLLECT_NAMES+set}" != Xset; then
13641  COLLECT_NAMES=
13642  export COLLECT_NAMES
13643fi
13644_LT_EOF
13645    ;;
13646  esac
13647
13648
13649ltmain="$ac_aux_dir/ltmain.sh"
13650
13651
13652  # We use sed instead of cat because bash on DJGPP gets confused if
13653  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13654  # text mode, it properly converts lines to CR/LF.  This bash problem
13655  # is reportedly fixed, but why not run on old versions too?
13656  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13657    || (rm -f "$cfgfile"; exit 1)
13658
13659  case $xsi_shell in
13660  yes)
13661    cat << \_LT_EOF >> "$cfgfile"
13662# func_dirname file append nondir_replacement
13663# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13664# otherwise set result to NONDIR_REPLACEMENT.
13665func_dirname ()
13666{
13667  case ${1} in
13668    */*) func_dirname_result="${1%/*}${2}" ;;
13669    *  ) func_dirname_result="${3}" ;;
13670  esac
13671}
13672
13673# func_basename file
13674func_basename ()
13675{
13676  func_basename_result="${1##*/}"
13677}
13678
13679# func_stripname prefix suffix name
13680# strip PREFIX and SUFFIX off of NAME.
13681# PREFIX and SUFFIX must not contain globbing or regex special
13682# characters, hashes, percent signs, but SUFFIX may contain a leading
13683# dot (in which case that matches only a dot).
13684func_stripname ()
13685{
13686  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13687  # positional parameters, so assign one to ordinary parameter first.
13688  func_stripname_result=${3}
13689  func_stripname_result=${func_stripname_result#"${1}"}
13690  func_stripname_result=${func_stripname_result%"${2}"}
13691}
13692
13693# func_opt_split
13694func_opt_split ()
13695{
13696  func_opt_split_opt=${1%%=*}
13697  func_opt_split_arg=${1#*=}
13698}
13699
13700# func_lo2o object
13701func_lo2o ()
13702{
13703  case ${1} in
13704    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13705    *)    func_lo2o_result=${1} ;;
13706  esac
13707}
13708_LT_EOF
13709    ;;
13710  *) # Bourne compatible functions.
13711    cat << \_LT_EOF >> "$cfgfile"
13712# func_dirname file append nondir_replacement
13713# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13714# otherwise set result to NONDIR_REPLACEMENT.
13715func_dirname ()
13716{
13717  # Extract subdirectory from the argument.
13718  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13719  if test "X$func_dirname_result" = "X${1}"; then
13720    func_dirname_result="${3}"
13721  else
13722    func_dirname_result="$func_dirname_result${2}"
13723  fi
13724}
13725
13726# func_basename file
13727func_basename ()
13728{
13729  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13730}
13731
13732# func_stripname prefix suffix name
13733# strip PREFIX and SUFFIX off of NAME.
13734# PREFIX and SUFFIX must not contain globbing or regex special
13735# characters, hashes, percent signs, but SUFFIX may contain a leading
13736# dot (in which case that matches only a dot).
13737# func_strip_suffix prefix name
13738func_stripname ()
13739{
13740  case ${2} in
13741    .*) func_stripname_result=`$ECHO "X${3}" \
13742           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13743    *)  func_stripname_result=`$ECHO "X${3}" \
13744           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13745  esac
13746}
13747
13748# sed scripts:
13749my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13750my_sed_long_arg='1s/^-[^=]*=//'
13751
13752# func_opt_split
13753func_opt_split ()
13754{
13755  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13756  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13757}
13758
13759# func_lo2o object
13760func_lo2o ()
13761{
13762  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13763}
13764_LT_EOF
13765esac
13766
13767case $lt_shell_append in
13768  yes)
13769    cat << \_LT_EOF >> "$cfgfile"
13770
13771# func_append var value
13772# Append VALUE to the end of shell variable VAR.
13773func_append ()
13774{
13775  eval "$1+=\$2"
13776}
13777_LT_EOF
13778    ;;
13779  *)
13780    cat << \_LT_EOF >> "$cfgfile"
13781
13782# func_append var value
13783# Append VALUE to the end of shell variable VAR.
13784func_append ()
13785{
13786  eval "$1=\$$1\$2"
13787}
13788_LT_EOF
13789    ;;
13790  esac
13791
13792
13793  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13794    || (rm -f "$cfgfile"; exit 1)
13795
13796  mv -f "$cfgfile" "$ofile" ||
13797    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13798  chmod +x "$ofile"
13799
13800 ;;
13801    default-1 )
13802    for ac_file in $CONFIG_FILES; do
13803      # Support "outfile[:infile[:infile...]]"
13804      case "$ac_file" in
13805        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
13806      esac
13807      # PO directories have a Makefile.in generated from Makefile.in.in.
13808      case "$ac_file" in */Makefile.in)
13809        # Adjust a relative srcdir.
13810        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13811        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
13812        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13813        # In autoconf-2.13 it is called $ac_given_srcdir.
13814        # In autoconf-2.50 it is called $srcdir.
13815        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
13816        case "$ac_given_srcdir" in
13817          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
13818          /*) top_srcdir="$ac_given_srcdir" ;;
13819          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
13820        esac
13821        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13822          rm -f "$ac_dir/POTFILES"
13823          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
13824          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
13825          POMAKEFILEDEPS="POTFILES.in"
13826          # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
13827          # on $ac_dir but don't depend on user-specified configuration
13828          # parameters.
13829          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13830            # The LINGUAS file contains the set of available languages.
13831            if test -n "$OBSOLETE_ALL_LINGUAS"; then
13832              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
13833            fi
13834            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13835            # Hide the ALL_LINGUAS assigment from automake.
13836            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13837            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
13838          else
13839            # The set of available languages was given in configure.in.
13840            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13841          fi
13842          case "$ac_given_srcdir" in
13843            .) srcdirpre= ;;
13844            *) srcdirpre='$(srcdir)/' ;;
13845          esac
13846          POFILES=
13847          GMOFILES=
13848          UPDATEPOFILES=
13849          DUMMYPOFILES=
13850          for lang in $ALL_LINGUAS; do
13851            POFILES="$POFILES $srcdirpre$lang.po"
13852            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
13853            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
13854            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
13855          done
13856          # CATALOGS depends on both $ac_dir and the user's LINGUAS
13857          # environment variable.
13858          INST_LINGUAS=
13859          if test -n "$ALL_LINGUAS"; then
13860            for presentlang in $ALL_LINGUAS; do
13861              useit=no
13862              if test "%UNSET%" != "$LINGUAS"; then
13863                desiredlanguages="$LINGUAS"
13864              else
13865                desiredlanguages="$ALL_LINGUAS"
13866              fi
13867              for desiredlang in $desiredlanguages; do
13868                # Use the presentlang catalog if desiredlang is
13869                #   a. equal to presentlang, or
13870                #   b. a variant of presentlang (because in this case,
13871                #      presentlang can be used as a fallback for messages
13872                #      which are not translated in the desiredlang catalog).
13873                case "$desiredlang" in
13874                  "$presentlang"*) useit=yes;;
13875                esac
13876              done
13877              if test $useit = yes; then
13878                INST_LINGUAS="$INST_LINGUAS $presentlang"
13879              fi
13880            done
13881          fi
13882          CATALOGS=
13883          if test -n "$INST_LINGUAS"; then
13884            for lang in $INST_LINGUAS; do
13885              CATALOGS="$CATALOGS $lang.gmo"
13886            done
13887          fi
13888          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
13889          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
13890          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
13891            if test -f "$f"; then
13892              case "$f" in
13893                *.orig | *.bak | *~) ;;
13894                *) cat "$f" >> "$ac_dir/Makefile" ;;
13895              esac
13896            fi
13897          done
13898        fi
13899        ;;
13900      esac
13901    done ;;
13902  esac
13903done
13904_ACEOF
13905
13906cat >>$CONFIG_STATUS <<\_ACEOF
13907
13908{ (exit 0); exit 0; }
13909_ACEOF
13910chmod +x $CONFIG_STATUS
13911ac_clean_files=$ac_clean_files_save
13912
13913
13914# configure is writing to config.log, and then calls config.status.
13915# config.status does its own redirection, appending to config.log.
13916# Unfortunately, on DOS this fails, as config.log is still kept open
13917# by configure, so config.status won't be able to write to it; its
13918# output is simply discarded.  So we exec the FD to /dev/null,
13919# effectively closing config.log, so it can be properly (re)opened and
13920# appended to by config.status.  When coming back to configure, we
13921# need to make the FD available again.
13922if test "$no_create" != yes; then
13923  ac_cs_success=:
13924  ac_config_status_args=
13925  test "$silent" = yes &&
13926    ac_config_status_args="$ac_config_status_args --quiet"
13927  exec 5>/dev/null
13928  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13929  exec 5>>config.log
13930  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13931  # would make configure fail if this is the last instruction.
13932  $ac_cs_success || { (exit 1); exit 1; }
13933fi
13934
13935