1@%:@! /bin/sh
2@%:@ Guess values for system-dependent variables and create Makefiles.
3@%:@ Generated by GNU Autoconf 2.63 for unico 1.0.2.
4@%:@
5@%:@ Report bugs to <https://bugs.launchpad.net/unico>.
6@%:@
7@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9@%:@ This configure script is free software; the Free Software Foundation
10@%:@ gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85  as_unset=unset
86else
87  as_unset=false
88fi
89
90
91# IFS
92# We need space, tab and new line, in precisely that order.  Quoting is
93# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.)
96IFS=" ""	$as_nl"
97
98# Find who we are.  Look in the path if we contain no directory separator.
99case $0 in
100  *[\\/]* ) as_myself=$0 ;;
101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104  IFS=$as_save_IFS
105  test -z "$as_dir" && as_dir=.
106  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110     ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115  as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119  { (exit 1); exit 1; }
120fi
121
122# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139  as_expr=expr
140else
141  as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145  as_basename=basename
146else
147  as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154	 X"$0" : 'X\(//\)$' \| \
155	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157    sed '/^.*\/\([^/][^/]*\)\/*$/{
158	    s//\1/
159	    q
160	  }
161	  /^X\/\(\/\/\)$/{
162	    s//\1/
163	    q
164	  }
165	  /^X\/\(\/\).*/{
166	    s//\1/
167	    q
168	  }
169	  s/.*/./; q'`
170
171# CDPATH.
172$as_unset CDPATH
173
174
175if test "x$CONFIG_SHELL" = x; then
176  if (eval ":") 2>/dev/null; then
177  as_have_required=yes
178else
179  as_have_required=no
180fi
181
182  if test $as_have_required = yes &&	 (eval ":
183(as_func_return () {
184  (exit \$1)
185}
186as_func_success () {
187  as_func_return 0
188}
189as_func_failure () {
190  as_func_return 1
191}
192as_func_ret_success () {
193  return 0
194}
195as_func_ret_failure () {
196  return 1
197}
198
199exitcode=0
200if as_func_success; then
201  :
202else
203  exitcode=1
204  echo as_func_success failed.
205fi
206
207if as_func_failure; then
208  exitcode=1
209  echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213  :
214else
215  exitcode=1
216  echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220  exitcode=1
221  echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225  :
226else
227  exitcode=1
228  echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234  as_lineno_1=\$LINENO
235  as_lineno_2=\$LINENO
236  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
239(
240  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
241    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
242    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
243    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
244    PATH=/empty FPATH=/empty; export PATH FPATH
245    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
246      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" )) || { (exit 1); exit 1; }
247") 2> /dev/null; then
248  :
249else
250  as_candidate_shells=
251    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
252for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
253do
254  IFS=$as_save_IFS
255  test -z "$as_dir" && as_dir=.
256  case $as_dir in
257	 /*)
258	   for as_base in sh bash ksh sh5; do
259	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
260	   done;;
261       esac
262done
263IFS=$as_save_IFS
264
265
266      for as_shell in $as_candidate_shells $SHELL; do
267	 # Try only shells that exist, to save several forks.
268	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
269		{ ("$as_shell") 2> /dev/null <<\_ASEOF
270if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
271  emulate sh
272  NULLCMD=:
273  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
274  # is contrary to our usage.  Disable this feature.
275  alias -g '${1+"$@"}'='"$@"'
276  setopt NO_GLOB_SUBST
277else
278  case `(set -o) 2>/dev/null` in
279  *posix*) set -o posix ;;
280esac
281
282fi
283
284
285:
286_ASEOF
287}; then
288  CONFIG_SHELL=$as_shell
289	       as_have_required=yes
290	       if { "$as_shell" 2> /dev/null <<\_ASEOF
291if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
292  emulate sh
293  NULLCMD=:
294  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
295  # is contrary to our usage.  Disable this feature.
296  alias -g '${1+"$@"}'='"$@"'
297  setopt NO_GLOB_SUBST
298else
299  case `(set -o) 2>/dev/null` in
300  *posix*) set -o posix ;;
301esac
302
303fi
304
305
306:
307(as_func_return () {
308  (exit $1)
309}
310as_func_success () {
311  as_func_return 0
312}
313as_func_failure () {
314  as_func_return 1
315}
316as_func_ret_success () {
317  return 0
318}
319as_func_ret_failure () {
320  return 1
321}
322
323exitcode=0
324if as_func_success; then
325  :
326else
327  exitcode=1
328  echo as_func_success failed.
329fi
330
331if as_func_failure; then
332  exitcode=1
333  echo as_func_failure succeeded.
334fi
335
336if as_func_ret_success; then
337  :
338else
339  exitcode=1
340  echo as_func_ret_success failed.
341fi
342
343if as_func_ret_failure; then
344  exitcode=1
345  echo as_func_ret_failure succeeded.
346fi
347
348if ( set x; as_func_ret_success y && test x = "$1" ); then
349  :
350else
351  exitcode=1
352  echo positional parameters were not saved.
353fi
354
355test $exitcode = 0) || { (exit 1); exit 1; }
356
357(
358  as_lineno_1=$LINENO
359  as_lineno_2=$LINENO
360  test "x$as_lineno_1" != "x$as_lineno_2" &&
361  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
362
363(
364  test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
365    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
366    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
367    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
368    PATH=/empty FPATH=/empty; export PATH FPATH
369    test "X`printf %s $ECHO`" = "X$ECHO" \
370      || test "X`print -r -- $ECHO`" = "X$ECHO" )) || { (exit 1); exit 1; }
371
372_ASEOF
373}; then
374  break
375fi
376
377fi
378
379      done
380
381      if test "x$CONFIG_SHELL" != x; then
382  for as_var in BASH_ENV ENV
383	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
384	done
385	export CONFIG_SHELL
386	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
387fi
388
389
390    if test $as_have_required = no; then
391  echo This script requires a shell more modern than all the
392      echo shells that I found on your system.  Please install a
393      echo modern shell, or manually run the script under such a
394      echo shell if you do have one.
395      { (exit 1); exit 1; }
396fi
397
398
399fi
400
401fi
402
403
404
405(eval "as_func_return () {
406  (exit \$1)
407}
408as_func_success () {
409  as_func_return 0
410}
411as_func_failure () {
412  as_func_return 1
413}
414as_func_ret_success () {
415  return 0
416}
417as_func_ret_failure () {
418  return 1
419}
420
421exitcode=0
422if as_func_success; then
423  :
424else
425  exitcode=1
426  echo as_func_success failed.
427fi
428
429if as_func_failure; then
430  exitcode=1
431  echo as_func_failure succeeded.
432fi
433
434if as_func_ret_success; then
435  :
436else
437  exitcode=1
438  echo as_func_ret_success failed.
439fi
440
441if as_func_ret_failure; then
442  exitcode=1
443  echo as_func_ret_failure succeeded.
444fi
445
446if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
447  :
448else
449  exitcode=1
450  echo positional parameters were not saved.
451fi
452
453test \$exitcode = 0") || {
454  echo No shell found that supports shell functions.
455  echo Please tell bug-autoconf@gnu.org about your system,
456  echo including any error possibly output before this message.
457  echo This can help us improve future autoconf versions.
458  echo Configuration will now proceed without shell functions.
459}
460
461
462
463  as_lineno_1=$LINENO
464  as_lineno_2=$LINENO
465  test "x$as_lineno_1" != "x$as_lineno_2" &&
466  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
467
468  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
469  # uniformly replaced by the line number.  The first 'sed' inserts a
470  # line-number line after each line using $LINENO; the second 'sed'
471  # does the real work.  The second script uses 'N' to pair each
472  # line-number line with the line containing $LINENO, and appends
473  # trailing '-' during substitution so that $LINENO is not a special
474  # case at line end.
475  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
476  # scripts with optimization help from Paolo Bonzini.  Blame Lee
477  # E. McMahon (1931-1989) for sed's syntax.  :-)
478  sed -n '
479    p
480    /[$]LINENO/=
481  ' <$as_myself |
482    sed '
483      s/[$]LINENO.*/&-/
484      t lineno
485      b
486      :lineno
487      N
488      :loop
489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490      t loop
491      s/-\n.*//
492    ' >$as_me.lineno &&
493  chmod +x "$as_me.lineno" ||
494    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
495   { (exit 1); exit 1; }; }
496
497  # Don't try to exec as it changes $[0], causing all sort of problems
498  # (the dirname of $[0] is not the place where we might find the
499  # original and so on.  Autoconf is especially sensitive to this).
500  . "./$as_me.lineno"
501  # Exit status is that of the last command.
502  exit
503}
504
505
506if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
507  as_dirname=dirname
508else
509  as_dirname=false
510fi
511
512ECHO_C= ECHO_N= ECHO_T=
513case `echo -n x` in
514-n*)
515  case `echo 'x\c'` in
516  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
517  *)   ECHO_C='\c';;
518  esac;;
519*)
520  ECHO_N='-n';;
521esac
522if expr a : '\(a\)' >/dev/null 2>&1 &&
523   test "X`expr 00001 : '.*\(...\)'`" = X001; then
524  as_expr=expr
525else
526  as_expr=false
527fi
528
529rm -f conf$$ conf$$.exe conf$$.file
530if test -d conf$$.dir; then
531  rm -f conf$$.dir/conf$$.file
532else
533  rm -f conf$$.dir
534  mkdir conf$$.dir 2>/dev/null
535fi
536if (echo >conf$$.file) 2>/dev/null; then
537  if ln -s conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s='ln -s'
539    # ... but there are two gotchas:
540    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
541    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
542    # In both cases, we have to default to `cp -p'.
543    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
544      as_ln_s='cp -p'
545  elif ln conf$$.file conf$$ 2>/dev/null; then
546    as_ln_s=ln
547  else
548    as_ln_s='cp -p'
549  fi
550else
551  as_ln_s='cp -p'
552fi
553rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
554rmdir conf$$.dir 2>/dev/null
555
556if mkdir -p . 2>/dev/null; then
557  as_mkdir_p=:
558else
559  test -d ./-p && rmdir ./-p
560  as_mkdir_p=false
561fi
562
563if test -x / >/dev/null 2>&1; then
564  as_test_x='test -x'
565else
566  if ls -dL / >/dev/null 2>&1; then
567    as_ls_L_option=L
568  else
569    as_ls_L_option=
570  fi
571  as_test_x='
572    eval sh -c '\''
573      if test -d "$1"; then
574	test -d "$1/.";
575      else
576	case $1 in
577	-*)set "./$1";;
578	esac;
579	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
580	???[sx]*):;;*)false;;esac;fi
581    '\'' sh
582  '
583fi
584as_executable_p=$as_test_x
585
586# Sed expression to map a string onto a valid CPP name.
587as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
588
589# Sed expression to map a string onto a valid variable name.
590as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591
592
593SHELL=${CONFIG_SHELL-/bin/sh}
594
595
596exec 7<&0 </dev/null 6>&1
597
598# Name of the host.
599# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
600# so uname gets run too.
601ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
602
603#
604# Initializations.
605#
606ac_default_prefix=/usr/local
607ac_clean_files=
608ac_config_libobj_dir=.
609LIB@&t@OBJS=
610cross_compiling=no
611subdirs=
612MFLAGS=
613MAKEFLAGS=
614SHELL=${CONFIG_SHELL-/bin/sh}
615
616# Identity of this package.
617PACKAGE_NAME='unico'
618PACKAGE_TARNAME='unico'
619PACKAGE_VERSION='1.0.2'
620PACKAGE_STRING='unico 1.0.2'
621PACKAGE_BUGREPORT='https://bugs.launchpad.net/unico'
622
623ac_unique_file="unico/unico.h"
624# Factoring default headers for most tests.
625ac_includes_default="\
626#include <stdio.h>
627#ifdef HAVE_SYS_TYPES_H
628# include <sys/types.h>
629#endif
630#ifdef HAVE_SYS_STAT_H
631# include <sys/stat.h>
632#endif
633#ifdef STDC_HEADERS
634# include <stdlib.h>
635# include <stddef.h>
636#else
637# ifdef HAVE_STDLIB_H
638#  include <stdlib.h>
639# endif
640#endif
641#ifdef HAVE_STRING_H
642# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
643#  include <memory.h>
644# endif
645# include <string.h>
646#endif
647#ifdef HAVE_STRINGS_H
648# include <strings.h>
649#endif
650#ifdef HAVE_INTTYPES_H
651# include <inttypes.h>
652#endif
653#ifdef HAVE_STDINT_H
654# include <stdint.h>
655#endif
656#ifdef HAVE_UNISTD_H
657# include <unistd.h>
658#endif"
659
660ac_subst_vars='LTLIBOBJS
661LIB@&t@OBJS
662GTK_VERSION
663UNICO_LDFLAGS
664UNICO_CFLAGS
665UNICO_LIBADD
666MAINTAINER_CFLAGS
667DEFAULT_MAINTAINER_FLAGS
668DEBUG_CFLAGS
669DEFAULT_DEBUG
670DEPS_LIBS
671DEPS_CFLAGS
672cairo_req
673gtk_req
674glib_req
675PKG_CONFIG
676GLIB_GENMARSHAL
677GLIB_MKENUMS
678OTOOL64
679OTOOL
680LIPO
681NMEDIT
682DSYMUTIL
683MANIFEST_TOOL
684RANLIB
685ac_ct_AR
686AR
687DLLTOOL
688OBJDUMP
689LN_S
690NM
691ac_ct_DUMPBIN
692DUMPBIN
693LD
694FGREP
695SED
696host_os
697host_vendor
698host_cpu
699host
700build_os
701build_vendor
702build_cpu
703build
704LIBTOOL
705EGREP
706GREP
707CPP
708am__fastdepCC_FALSE
709am__fastdepCC_TRUE
710CCDEPMODE
711AMDEPBACKSLASH
712AMDEP_FALSE
713AMDEP_TRUE
714am__quote
715am__include
716DEPDIR
717OBJEXT
718EXEEXT
719ac_ct_CC
720CPPFLAGS
721LDFLAGS
722CFLAGS
723CC
724PACKAGE_VERSION_NANO
725UNICO_TRUNK
726am__untar
727am__tar
728AMTAR
729am__leading_dot
730SET_MAKE
731AWK
732mkdir_p
733INSTALL_STRIP_PROGRAM
734STRIP
735install_sh
736MAKEINFO
737AUTOHEADER
738AUTOMAKE
739AUTOCONF
740ACLOCAL
741VERSION
742PACKAGE
743CYGPATH_W
744INSTALL_DATA
745INSTALL_SCRIPT
746INSTALL_PROGRAM
747target_alias
748host_alias
749build_alias
750LIBS
751ECHO_T
752ECHO_N
753ECHO_C
754DEFS
755mandir
756localedir
757libdir
758psdir
759pdfdir
760dvidir
761htmldir
762infodir
763docdir
764oldincludedir
765includedir
766localstatedir
767sharedstatedir
768sysconfdir
769datadir
770datarootdir
771libexecdir
772sbindir
773bindir
774program_transform_name
775prefix
776exec_prefix
777PACKAGE_BUGREPORT
778PACKAGE_STRING
779PACKAGE_VERSION
780PACKAGE_TARNAME
781PACKAGE_NAME
782PATH_SEPARATOR
783SHELL'
784ac_subst_files=''
785ac_user_opts='
786enable_option_checking
787enable_dependency_tracking
788enable_shared
789enable_static
790with_pic
791enable_fast_install
792with_gnu_ld
793with_sysroot
794enable_libtool_lock
795enable_debug
796enable_maintainer_flags
797'
798      ac_precious_vars='build_alias
799host_alias
800target_alias
801CC
802CFLAGS
803LDFLAGS
804LIBS
805CPPFLAGS
806CPP
807PKG_CONFIG
808DEPS_CFLAGS
809DEPS_LIBS'
810
811
812# Initialize some variables set by options.
813ac_init_help=
814ac_init_version=false
815ac_unrecognized_opts=
816ac_unrecognized_sep=
817# The variables have the same names as the options, with
818# dashes changed to underlines.
819cache_file=/dev/null
820exec_prefix=NONE
821no_create=
822no_recursion=
823prefix=NONE
824program_prefix=NONE
825program_suffix=NONE
826program_transform_name=s,x,x,
827silent=
828site=
829srcdir=
830verbose=
831x_includes=NONE
832x_libraries=NONE
833
834# Installation directory options.
835# These are left unexpanded so users can "make install exec_prefix=/foo"
836# and all the variables that are supposed to be based on exec_prefix
837# by default will actually change.
838# Use braces instead of parens because sh, perl, etc. also accept them.
839# (The list follows the same order as the GNU Coding Standards.)
840bindir='${exec_prefix}/bin'
841sbindir='${exec_prefix}/sbin'
842libexecdir='${exec_prefix}/libexec'
843datarootdir='${prefix}/share'
844datadir='${datarootdir}'
845sysconfdir='${prefix}/etc'
846sharedstatedir='${prefix}/com'
847localstatedir='${prefix}/var'
848includedir='${prefix}/include'
849oldincludedir='/usr/include'
850docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
851infodir='${datarootdir}/info'
852htmldir='${docdir}'
853dvidir='${docdir}'
854pdfdir='${docdir}'
855psdir='${docdir}'
856libdir='${exec_prefix}/lib'
857localedir='${datarootdir}/locale'
858mandir='${datarootdir}/man'
859
860ac_prev=
861ac_dashdash=
862for ac_option
863do
864  # If the previous option needs an argument, assign it.
865  if test -n "$ac_prev"; then
866    eval $ac_prev=\$ac_option
867    ac_prev=
868    continue
869  fi
870
871  case $ac_option in
872  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
873  *)	ac_optarg=yes ;;
874  esac
875
876  # Accept the important Cygnus configure options, so we can diagnose typos.
877
878  case $ac_dashdash$ac_option in
879  --)
880    ac_dashdash=yes ;;
881
882  -bindir | --bindir | --bindi | --bind | --bin | --bi)
883    ac_prev=bindir ;;
884  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
885    bindir=$ac_optarg ;;
886
887  -build | --build | --buil | --bui | --bu)
888    ac_prev=build_alias ;;
889  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
890    build_alias=$ac_optarg ;;
891
892  -cache-file | --cache-file | --cache-fil | --cache-fi \
893  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
894    ac_prev=cache_file ;;
895  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
896  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
897    cache_file=$ac_optarg ;;
898
899  --config-cache | -C)
900    cache_file=config.cache ;;
901
902  -datadir | --datadir | --datadi | --datad)
903    ac_prev=datadir ;;
904  -datadir=* | --datadir=* | --datadi=* | --datad=*)
905    datadir=$ac_optarg ;;
906
907  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
908  | --dataroo | --dataro | --datar)
909    ac_prev=datarootdir ;;
910  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
911  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
912    datarootdir=$ac_optarg ;;
913
914  -disable-* | --disable-*)
915    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
916    # Reject names that are not valid shell variable names.
917    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
918      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
919   { (exit 1); exit 1; }; }
920    ac_useropt_orig=$ac_useropt
921    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922    case $ac_user_opts in
923      *"
924"enable_$ac_useropt"
925"*) ;;
926      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
927	 ac_unrecognized_sep=', ';;
928    esac
929    eval enable_$ac_useropt=no ;;
930
931  -docdir | --docdir | --docdi | --doc | --do)
932    ac_prev=docdir ;;
933  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
934    docdir=$ac_optarg ;;
935
936  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
937    ac_prev=dvidir ;;
938  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
939    dvidir=$ac_optarg ;;
940
941  -enable-* | --enable-*)
942    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
943    # Reject names that are not valid shell variable names.
944    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
945      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
946   { (exit 1); exit 1; }; }
947    ac_useropt_orig=$ac_useropt
948    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949    case $ac_user_opts in
950      *"
951"enable_$ac_useropt"
952"*) ;;
953      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
954	 ac_unrecognized_sep=', ';;
955    esac
956    eval enable_$ac_useropt=\$ac_optarg ;;
957
958  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
959  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
960  | --exec | --exe | --ex)
961    ac_prev=exec_prefix ;;
962  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
963  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
964  | --exec=* | --exe=* | --ex=*)
965    exec_prefix=$ac_optarg ;;
966
967  -gas | --gas | --ga | --g)
968    # Obsolete; use --with-gas.
969    with_gas=yes ;;
970
971  -help | --help | --hel | --he | -h)
972    ac_init_help=long ;;
973  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
974    ac_init_help=recursive ;;
975  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
976    ac_init_help=short ;;
977
978  -host | --host | --hos | --ho)
979    ac_prev=host_alias ;;
980  -host=* | --host=* | --hos=* | --ho=*)
981    host_alias=$ac_optarg ;;
982
983  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
984    ac_prev=htmldir ;;
985  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
986  | --ht=*)
987    htmldir=$ac_optarg ;;
988
989  -includedir | --includedir | --includedi | --included | --include \
990  | --includ | --inclu | --incl | --inc)
991    ac_prev=includedir ;;
992  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
993  | --includ=* | --inclu=* | --incl=* | --inc=*)
994    includedir=$ac_optarg ;;
995
996  -infodir | --infodir | --infodi | --infod | --info | --inf)
997    ac_prev=infodir ;;
998  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
999    infodir=$ac_optarg ;;
1000
1001  -libdir | --libdir | --libdi | --libd)
1002    ac_prev=libdir ;;
1003  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1004    libdir=$ac_optarg ;;
1005
1006  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1007  | --libexe | --libex | --libe)
1008    ac_prev=libexecdir ;;
1009  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1010  | --libexe=* | --libex=* | --libe=*)
1011    libexecdir=$ac_optarg ;;
1012
1013  -localedir | --localedir | --localedi | --localed | --locale)
1014    ac_prev=localedir ;;
1015  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1016    localedir=$ac_optarg ;;
1017
1018  -localstatedir | --localstatedir | --localstatedi | --localstated \
1019  | --localstate | --localstat | --localsta | --localst | --locals)
1020    ac_prev=localstatedir ;;
1021  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1022  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1023    localstatedir=$ac_optarg ;;
1024
1025  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1026    ac_prev=mandir ;;
1027  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1028    mandir=$ac_optarg ;;
1029
1030  -nfp | --nfp | --nf)
1031    # Obsolete; use --without-fp.
1032    with_fp=no ;;
1033
1034  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1035  | --no-cr | --no-c | -n)
1036    no_create=yes ;;
1037
1038  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1039  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1040    no_recursion=yes ;;
1041
1042  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1043  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1044  | --oldin | --oldi | --old | --ol | --o)
1045    ac_prev=oldincludedir ;;
1046  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1047  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1048  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1049    oldincludedir=$ac_optarg ;;
1050
1051  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1052    ac_prev=prefix ;;
1053  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1054    prefix=$ac_optarg ;;
1055
1056  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1057  | --program-pre | --program-pr | --program-p)
1058    ac_prev=program_prefix ;;
1059  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1060  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1061    program_prefix=$ac_optarg ;;
1062
1063  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1064  | --program-suf | --program-su | --program-s)
1065    ac_prev=program_suffix ;;
1066  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1067  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1068    program_suffix=$ac_optarg ;;
1069
1070  -program-transform-name | --program-transform-name \
1071  | --program-transform-nam | --program-transform-na \
1072  | --program-transform-n | --program-transform- \
1073  | --program-transform | --program-transfor \
1074  | --program-transfo | --program-transf \
1075  | --program-trans | --program-tran \
1076  | --progr-tra | --program-tr | --program-t)
1077    ac_prev=program_transform_name ;;
1078  -program-transform-name=* | --program-transform-name=* \
1079  | --program-transform-nam=* | --program-transform-na=* \
1080  | --program-transform-n=* | --program-transform-=* \
1081  | --program-transform=* | --program-transfor=* \
1082  | --program-transfo=* | --program-transf=* \
1083  | --program-trans=* | --program-tran=* \
1084  | --progr-tra=* | --program-tr=* | --program-t=*)
1085    program_transform_name=$ac_optarg ;;
1086
1087  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1088    ac_prev=pdfdir ;;
1089  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1090    pdfdir=$ac_optarg ;;
1091
1092  -psdir | --psdir | --psdi | --psd | --ps)
1093    ac_prev=psdir ;;
1094  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1095    psdir=$ac_optarg ;;
1096
1097  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1098  | -silent | --silent | --silen | --sile | --sil)
1099    silent=yes ;;
1100
1101  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1102    ac_prev=sbindir ;;
1103  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1104  | --sbi=* | --sb=*)
1105    sbindir=$ac_optarg ;;
1106
1107  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1108  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1109  | --sharedst | --shareds | --shared | --share | --shar \
1110  | --sha | --sh)
1111    ac_prev=sharedstatedir ;;
1112  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1113  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1114  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1115  | --sha=* | --sh=*)
1116    sharedstatedir=$ac_optarg ;;
1117
1118  -site | --site | --sit)
1119    ac_prev=site ;;
1120  -site=* | --site=* | --sit=*)
1121    site=$ac_optarg ;;
1122
1123  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1124    ac_prev=srcdir ;;
1125  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1126    srcdir=$ac_optarg ;;
1127
1128  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1129  | --syscon | --sysco | --sysc | --sys | --sy)
1130    ac_prev=sysconfdir ;;
1131  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1132  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1133    sysconfdir=$ac_optarg ;;
1134
1135  -target | --target | --targe | --targ | --tar | --ta | --t)
1136    ac_prev=target_alias ;;
1137  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1138    target_alias=$ac_optarg ;;
1139
1140  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1141    verbose=yes ;;
1142
1143  -version | --version | --versio | --versi | --vers | -V)
1144    ac_init_version=: ;;
1145
1146  -with-* | --with-*)
1147    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1148    # Reject names that are not valid shell variable names.
1149    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1150      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1151   { (exit 1); exit 1; }; }
1152    ac_useropt_orig=$ac_useropt
1153    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154    case $ac_user_opts in
1155      *"
1156"with_$ac_useropt"
1157"*) ;;
1158      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1159	 ac_unrecognized_sep=', ';;
1160    esac
1161    eval with_$ac_useropt=\$ac_optarg ;;
1162
1163  -without-* | --without-*)
1164    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1165    # Reject names that are not valid shell variable names.
1166    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1168   { (exit 1); exit 1; }; }
1169    ac_useropt_orig=$ac_useropt
1170    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171    case $ac_user_opts in
1172      *"
1173"with_$ac_useropt"
1174"*) ;;
1175      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1176	 ac_unrecognized_sep=', ';;
1177    esac
1178    eval with_$ac_useropt=no ;;
1179
1180  --x)
1181    # Obsolete; use --with-x.
1182    with_x=yes ;;
1183
1184  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1185  | --x-incl | --x-inc | --x-in | --x-i)
1186    ac_prev=x_includes ;;
1187  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1188  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1189    x_includes=$ac_optarg ;;
1190
1191  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1192  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1193    ac_prev=x_libraries ;;
1194  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1195  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1196    x_libraries=$ac_optarg ;;
1197
1198  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1199Try \`$0 --help' for more information." >&2
1200   { (exit 1); exit 1; }; }
1201    ;;
1202
1203  *=*)
1204    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1205    # Reject names that are not valid shell variable names.
1206    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1207      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1208   { (exit 1); exit 1; }; }
1209    eval $ac_envvar=\$ac_optarg
1210    export $ac_envvar ;;
1211
1212  *)
1213    # FIXME: should be removed in autoconf 3.0.
1214    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1215    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1216      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1217    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1218    ;;
1219
1220  esac
1221done
1222
1223if test -n "$ac_prev"; then
1224  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1225  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1226   { (exit 1); exit 1; }; }
1227fi
1228
1229if test -n "$ac_unrecognized_opts"; then
1230  case $enable_option_checking in
1231    no) ;;
1232    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1233   { (exit 1); exit 1; }; } ;;
1234    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1235  esac
1236fi
1237
1238# Check all directory arguments for consistency.
1239for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1240		datadir sysconfdir sharedstatedir localstatedir includedir \
1241		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1242		libdir localedir mandir
1243do
1244  eval ac_val=\$$ac_var
1245  # Remove trailing slashes.
1246  case $ac_val in
1247    */ )
1248      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1249      eval $ac_var=\$ac_val;;
1250  esac
1251  # Be sure to have absolute directory names.
1252  case $ac_val in
1253    [\\/$]* | ?:[\\/]* )  continue;;
1254    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1255  esac
1256  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1257   { (exit 1); exit 1; }; }
1258done
1259
1260# There might be people who depend on the old broken behavior: `$host'
1261# used to hold the argument of --host etc.
1262# FIXME: To remove some day.
1263build=$build_alias
1264host=$host_alias
1265target=$target_alias
1266
1267# FIXME: To remove some day.
1268if test "x$host_alias" != x; then
1269  if test "x$build_alias" = x; then
1270    cross_compiling=maybe
1271    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1272    If a cross compiler is detected then cross compile mode will be used." >&2
1273  elif test "x$build_alias" != "x$host_alias"; then
1274    cross_compiling=yes
1275  fi
1276fi
1277
1278ac_tool_prefix=
1279test -n "$host_alias" && ac_tool_prefix=$host_alias-
1280
1281test "$silent" = yes && exec 6>/dev/null
1282
1283
1284ac_pwd=`pwd` && test -n "$ac_pwd" &&
1285ac_ls_di=`ls -di .` &&
1286ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1287  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1288   { (exit 1); exit 1; }; }
1289test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1290  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1291   { (exit 1); exit 1; }; }
1292
1293
1294# Find the source files, if location was not specified.
1295if test -z "$srcdir"; then
1296  ac_srcdir_defaulted=yes
1297  # Try the directory containing this script, then the parent directory.
1298  ac_confdir=`$as_dirname -- "$as_myself" ||
1299$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1300	 X"$as_myself" : 'X\(//\)[^/]' \| \
1301	 X"$as_myself" : 'X\(//\)$' \| \
1302	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1303$as_echo X"$as_myself" |
1304    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1305	    s//\1/
1306	    q
1307	  }
1308	  /^X\(\/\/\)[^/].*/{
1309	    s//\1/
1310	    q
1311	  }
1312	  /^X\(\/\/\)$/{
1313	    s//\1/
1314	    q
1315	  }
1316	  /^X\(\/\).*/{
1317	    s//\1/
1318	    q
1319	  }
1320	  s/.*/./; q'`
1321  srcdir=$ac_confdir
1322  if test ! -r "$srcdir/$ac_unique_file"; then
1323    srcdir=..
1324  fi
1325else
1326  ac_srcdir_defaulted=no
1327fi
1328if test ! -r "$srcdir/$ac_unique_file"; then
1329  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1330  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1331   { (exit 1); exit 1; }; }
1332fi
1333ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1334ac_abs_confdir=`(
1335	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1336   { (exit 1); exit 1; }; }
1337	pwd)`
1338# When building in place, set srcdir=.
1339if test "$ac_abs_confdir" = "$ac_pwd"; then
1340  srcdir=.
1341fi
1342# Remove unnecessary trailing slashes from srcdir.
1343# Double slashes in file names in object file debugging info
1344# mess up M-x gdb in Emacs.
1345case $srcdir in
1346*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1347esac
1348for ac_var in $ac_precious_vars; do
1349  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1350  eval ac_env_${ac_var}_value=\$${ac_var}
1351  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1352  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1353done
1354
1355#
1356# Report the --help message.
1357#
1358if test "$ac_init_help" = "long"; then
1359  # Omit some internal or obsolete options to make the list less imposing.
1360  # This message is too long to be a string in the A/UX 3.1 sh.
1361  cat <<_ACEOF
1362\`configure' configures unico 1.0.2 to adapt to many kinds of systems.
1363
1364Usage: $0 [OPTION]... [VAR=VALUE]...
1365
1366To assign environment variables (e.g., CC, CFLAGS...), specify them as
1367VAR=VALUE.  See below for descriptions of some of the useful variables.
1368
1369Defaults for the options are specified in brackets.
1370
1371Configuration:
1372  -h, --help              display this help and exit
1373      --help=short        display options specific to this package
1374      --help=recursive    display the short help of all the included packages
1375  -V, --version           display version information and exit
1376  -q, --quiet, --silent   do not print \`checking...' messages
1377      --cache-file=FILE   cache test results in FILE [disabled]
1378  -C, --config-cache      alias for \`--cache-file=config.cache'
1379  -n, --no-create         do not create output files
1380      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1381
1382Installation directories:
1383  --prefix=PREFIX         install architecture-independent files in PREFIX
1384                          [$ac_default_prefix]
1385  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1386                          [PREFIX]
1387
1388By default, \`make install' will install all the files in
1389\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1390an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1391for instance \`--prefix=\$HOME'.
1392
1393For better control, use the options below.
1394
1395Fine tuning of the installation directories:
1396  --bindir=DIR            user executables [EPREFIX/bin]
1397  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1398  --libexecdir=DIR        program executables [EPREFIX/libexec]
1399  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1400  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1401  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1402  --libdir=DIR            object code libraries [EPREFIX/lib]
1403  --includedir=DIR        C header files [PREFIX/include]
1404  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1405  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1406  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1407  --infodir=DIR           info documentation [DATAROOTDIR/info]
1408  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1409  --mandir=DIR            man documentation [DATAROOTDIR/man]
1410  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/unico@:>@
1411  --htmldir=DIR           html documentation [DOCDIR]
1412  --dvidir=DIR            dvi documentation [DOCDIR]
1413  --pdfdir=DIR            pdf documentation [DOCDIR]
1414  --psdir=DIR             ps documentation [DOCDIR]
1415_ACEOF
1416
1417  cat <<\_ACEOF
1418
1419Program names:
1420  --program-prefix=PREFIX            prepend PREFIX to installed program names
1421  --program-suffix=SUFFIX            append SUFFIX to installed program names
1422  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1423
1424System types:
1425  --build=BUILD     configure for building on BUILD [guessed]
1426  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1427_ACEOF
1428fi
1429
1430if test -n "$ac_init_help"; then
1431  case $ac_init_help in
1432     short | recursive ) echo "Configuration of unico 1.0.2:";;
1433   esac
1434  cat <<\_ACEOF
1435
1436Optional Features:
1437  --disable-option-checking  ignore unrecognized --enable/--with options
1438  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1439  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1440  --disable-dependency-tracking  speeds up one-time build
1441  --enable-dependency-tracking   do not reject slow dependency extractors
1442  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1443  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1444  --enable-fast-install@<:@=PKGS@:>@
1445                          optimize for fast installation @<:@default=yes@:>@
1446  --disable-libtool-lock  avoid locking (might break parallel builds)
1447  --enable-debug=@<:@no/yes/full@:>@
1448                          Control debug level @<:@default=debug_default@:>@
1449  --enable-maintainer-flags=@<:@no/yes@:>@
1450                          Use strict compiler flags
1451                          @<:@default=maintainer_flags_default@:>@
1452
1453Optional Packages:
1454  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1455  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1456  --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
1457                          both@:>@
1458  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1459  --with-sysroot=DIR Search for dependent libraries within DIR
1460                        (or the compiler's sysroot if not specified).
1461
1462Some influential environment variables:
1463  CC          C compiler command
1464  CFLAGS      C compiler flags
1465  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1466              nonstandard directory <lib dir>
1467  LIBS        libraries to pass to the linker, e.g. -l<library>
1468  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1469              you have headers in a nonstandard directory <include dir>
1470  CPP         C preprocessor
1471  PKG_CONFIG  path to pkg-config utility
1472  DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
1473  DEPS_LIBS   linker flags for DEPS, overriding pkg-config
1474
1475Use these variables to override the choices made by `configure' or to help
1476it to find libraries and programs with nonstandard names/locations.
1477
1478Report bugs to <https://bugs.launchpad.net/unico>.
1479_ACEOF
1480ac_status=$?
1481fi
1482
1483if test "$ac_init_help" = "recursive"; then
1484  # If there are subdirs, report their specific --help.
1485  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1486    test -d "$ac_dir" ||
1487      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1488      continue
1489    ac_builddir=.
1490
1491case "$ac_dir" in
1492.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1493*)
1494  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1495  # A ".." for each directory in $ac_dir_suffix.
1496  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1497  case $ac_top_builddir_sub in
1498  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1499  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1500  esac ;;
1501esac
1502ac_abs_top_builddir=$ac_pwd
1503ac_abs_builddir=$ac_pwd$ac_dir_suffix
1504# for backward compatibility:
1505ac_top_builddir=$ac_top_build_prefix
1506
1507case $srcdir in
1508  .)  # We are building in place.
1509    ac_srcdir=.
1510    ac_top_srcdir=$ac_top_builddir_sub
1511    ac_abs_top_srcdir=$ac_pwd ;;
1512  [\\/]* | ?:[\\/]* )  # Absolute name.
1513    ac_srcdir=$srcdir$ac_dir_suffix;
1514    ac_top_srcdir=$srcdir
1515    ac_abs_top_srcdir=$srcdir ;;
1516  *) # Relative name.
1517    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1518    ac_top_srcdir=$ac_top_build_prefix$srcdir
1519    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1520esac
1521ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1522
1523    cd "$ac_dir" || { ac_status=$?; continue; }
1524    # Check for guested configure.
1525    if test -f "$ac_srcdir/configure.gnu"; then
1526      echo &&
1527      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1528    elif test -f "$ac_srcdir/configure"; then
1529      echo &&
1530      $SHELL "$ac_srcdir/configure" --help=recursive
1531    else
1532      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1533    fi || ac_status=$?
1534    cd "$ac_pwd" || { ac_status=$?; break; }
1535  done
1536fi
1537
1538test -n "$ac_init_help" && exit $ac_status
1539if $ac_init_version; then
1540  cat <<\_ACEOF
1541unico configure 1.0.2
1542generated by GNU Autoconf 2.63
1543
1544Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
15452002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1546This configure script is free software; the Free Software Foundation
1547gives unlimited permission to copy, distribute and modify it.
1548_ACEOF
1549  exit
1550fi
1551cat >config.log <<_ACEOF
1552This file contains any messages produced by compilers while
1553running configure, to aid debugging if configure makes a mistake.
1554
1555It was created by unico $as_me 1.0.2, which was
1556generated by GNU Autoconf 2.63.  Invocation command line was
1557
1558  $ $0 $@
1559
1560_ACEOF
1561exec 5>>config.log
1562{
1563cat <<_ASUNAME
1564@%:@@%:@ --------- @%:@@%:@
1565@%:@@%:@ Platform. @%:@@%:@
1566@%:@@%:@ --------- @%:@@%:@
1567
1568hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1569uname -m = `(uname -m) 2>/dev/null || echo unknown`
1570uname -r = `(uname -r) 2>/dev/null || echo unknown`
1571uname -s = `(uname -s) 2>/dev/null || echo unknown`
1572uname -v = `(uname -v) 2>/dev/null || echo unknown`
1573
1574/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1575/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1576
1577/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1578/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1579/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1580/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1581/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1582/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1583/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1584
1585_ASUNAME
1586
1587as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1588for as_dir in $PATH
1589do
1590  IFS=$as_save_IFS
1591  test -z "$as_dir" && as_dir=.
1592  $as_echo "PATH: $as_dir"
1593done
1594IFS=$as_save_IFS
1595
1596} >&5
1597
1598cat >&5 <<_ACEOF
1599
1600
1601@%:@@%:@ ----------- @%:@@%:@
1602@%:@@%:@ Core tests. @%:@@%:@
1603@%:@@%:@ ----------- @%:@@%:@
1604
1605_ACEOF
1606
1607
1608# Keep a trace of the command line.
1609# Strip out --no-create and --no-recursion so they do not pile up.
1610# Strip out --silent because we don't want to record it for future runs.
1611# Also quote any args containing shell meta-characters.
1612# Make two passes to allow for proper duplicate-argument suppression.
1613ac_configure_args=
1614ac_configure_args0=
1615ac_configure_args1=
1616ac_must_keep_next=false
1617for ac_pass in 1 2
1618do
1619  for ac_arg
1620  do
1621    case $ac_arg in
1622    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1623    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1624    | -silent | --silent | --silen | --sile | --sil)
1625      continue ;;
1626    *\'*)
1627      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1628    esac
1629    case $ac_pass in
1630    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1631    2)
1632      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1633      if test $ac_must_keep_next = true; then
1634	ac_must_keep_next=false # Got value, back to normal.
1635      else
1636	case $ac_arg in
1637	  *=* | --config-cache | -C | -disable-* | --disable-* \
1638	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1639	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1640	  | -with-* | --with-* | -without-* | --without-* | --x)
1641	    case "$ac_configure_args0 " in
1642	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1643	    esac
1644	    ;;
1645	  -* ) ac_must_keep_next=true ;;
1646	esac
1647      fi
1648      ac_configure_args="$ac_configure_args '$ac_arg'"
1649      ;;
1650    esac
1651  done
1652done
1653$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1654$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1655
1656# When interrupted or exit'd, cleanup temporary files, and complete
1657# config.log.  We remove comments because anyway the quotes in there
1658# would cause problems or look ugly.
1659# WARNING: Use '\'' to represent an apostrophe within the trap.
1660# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1661trap 'exit_status=$?
1662  # Save into config.log some information that might help in debugging.
1663  {
1664    echo
1665
1666    cat <<\_ASBOX
1667@%:@@%:@ ---------------- @%:@@%:@
1668@%:@@%:@ Cache variables. @%:@@%:@
1669@%:@@%:@ ---------------- @%:@@%:@
1670_ASBOX
1671    echo
1672    # The following way of writing the cache mishandles newlines in values,
1673(
1674  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1675    eval ac_val=\$$ac_var
1676    case $ac_val in #(
1677    *${as_nl}*)
1678      case $ac_var in #(
1679      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1680$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1681      esac
1682      case $ac_var in #(
1683      _ | IFS | as_nl) ;; #(
1684      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1685      *) $as_unset $ac_var ;;
1686      esac ;;
1687    esac
1688  done
1689  (set) 2>&1 |
1690    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1691    *${as_nl}ac_space=\ *)
1692      sed -n \
1693	"s/'\''/'\''\\\\'\'''\''/g;
1694	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1695      ;; #(
1696    *)
1697      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1698      ;;
1699    esac |
1700    sort
1701)
1702    echo
1703
1704    cat <<\_ASBOX
1705@%:@@%:@ ----------------- @%:@@%:@
1706@%:@@%:@ Output variables. @%:@@%:@
1707@%:@@%:@ ----------------- @%:@@%:@
1708_ASBOX
1709    echo
1710    for ac_var in $ac_subst_vars
1711    do
1712      eval ac_val=\$$ac_var
1713      case $ac_val in
1714      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1715      esac
1716      $as_echo "$ac_var='\''$ac_val'\''"
1717    done | sort
1718    echo
1719
1720    if test -n "$ac_subst_files"; then
1721      cat <<\_ASBOX
1722@%:@@%:@ ------------------- @%:@@%:@
1723@%:@@%:@ File substitutions. @%:@@%:@
1724@%:@@%:@ ------------------- @%:@@%:@
1725_ASBOX
1726      echo
1727      for ac_var in $ac_subst_files
1728      do
1729	eval ac_val=\$$ac_var
1730	case $ac_val in
1731	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1732	esac
1733	$as_echo "$ac_var='\''$ac_val'\''"
1734      done | sort
1735      echo
1736    fi
1737
1738    if test -s confdefs.h; then
1739      cat <<\_ASBOX
1740@%:@@%:@ ----------- @%:@@%:@
1741@%:@@%:@ confdefs.h. @%:@@%:@
1742@%:@@%:@ ----------- @%:@@%:@
1743_ASBOX
1744      echo
1745      cat confdefs.h
1746      echo
1747    fi
1748    test "$ac_signal" != 0 &&
1749      $as_echo "$as_me: caught signal $ac_signal"
1750    $as_echo "$as_me: exit $exit_status"
1751  } >&5
1752  rm -f core *.core core.conftest.* &&
1753    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1754    exit $exit_status
1755' 0
1756for ac_signal in 1 2 13 15; do
1757  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1758done
1759ac_signal=0
1760
1761# confdefs.h avoids OS command line length limits that DEFS can exceed.
1762rm -f -r conftest* confdefs.h
1763
1764# Predefined preprocessor variables.
1765
1766cat >>confdefs.h <<_ACEOF
1767@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1768_ACEOF
1769
1770
1771cat >>confdefs.h <<_ACEOF
1772@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1773_ACEOF
1774
1775
1776cat >>confdefs.h <<_ACEOF
1777@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1778_ACEOF
1779
1780
1781cat >>confdefs.h <<_ACEOF
1782@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1783_ACEOF
1784
1785
1786cat >>confdefs.h <<_ACEOF
1787@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1788_ACEOF
1789
1790
1791# Let the site file select an alternate cache file if it wants to.
1792# Prefer an explicitly selected file to automatically selected ones.
1793ac_site_file1=NONE
1794ac_site_file2=NONE
1795if test -n "$CONFIG_SITE"; then
1796  ac_site_file1=$CONFIG_SITE
1797elif test "x$prefix" != xNONE; then
1798  ac_site_file1=$prefix/share/config.site
1799  ac_site_file2=$prefix/etc/config.site
1800else
1801  ac_site_file1=$ac_default_prefix/share/config.site
1802  ac_site_file2=$ac_default_prefix/etc/config.site
1803fi
1804for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1805do
1806  test "x$ac_site_file" = xNONE && continue
1807  if test -r "$ac_site_file"; then
1808    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1809$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1810    sed 's/^/| /' "$ac_site_file" >&5
1811    . "$ac_site_file"
1812  fi
1813done
1814
1815if test -r "$cache_file"; then
1816  # Some versions of bash will fail to source /dev/null (special
1817  # files actually), so we avoid doing that.
1818  if test -f "$cache_file"; then
1819    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1820$as_echo "$as_me: loading cache $cache_file" >&6;}
1821    case $cache_file in
1822      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1823      *)                      . "./$cache_file";;
1824    esac
1825  fi
1826else
1827  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1828$as_echo "$as_me: creating cache $cache_file" >&6;}
1829  >$cache_file
1830fi
1831
1832# Check that the precious variables saved in the cache have kept the same
1833# value.
1834ac_cache_corrupted=false
1835for ac_var in $ac_precious_vars; do
1836  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1837  eval ac_new_set=\$ac_env_${ac_var}_set
1838  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1839  eval ac_new_val=\$ac_env_${ac_var}_value
1840  case $ac_old_set,$ac_new_set in
1841    set,)
1842      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1843$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1844      ac_cache_corrupted=: ;;
1845    ,set)
1846      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1847$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1848      ac_cache_corrupted=: ;;
1849    ,);;
1850    *)
1851      if test "x$ac_old_val" != "x$ac_new_val"; then
1852	# differences in whitespace do not lead to failure.
1853	ac_old_val_w=`echo x $ac_old_val`
1854	ac_new_val_w=`echo x $ac_new_val`
1855	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1856	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1857$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1858	  ac_cache_corrupted=:
1859	else
1860	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1861$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1862	  eval $ac_var=\$ac_old_val
1863	fi
1864	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1865$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1866	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1867$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1868      fi;;
1869  esac
1870  # Pass precious variables to config.status.
1871  if test "$ac_new_set" = set; then
1872    case $ac_new_val in
1873    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1874    *) ac_arg=$ac_var=$ac_new_val ;;
1875    esac
1876    case " $ac_configure_args " in
1877      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1878      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1879    esac
1880  fi
1881done
1882if $ac_cache_corrupted; then
1883  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1884$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1885  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1886$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1887  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1888$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1889   { (exit 1); exit 1; }; }
1890fi
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916ac_ext=c
1917ac_cpp='$CPP $CPPFLAGS'
1918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1920ac_compiler_gnu=$ac_cv_c_compiler_gnu
1921
1922
1923
1924
1925ac_aux_dir=
1926for ac_dir in build "$srcdir"/build; do
1927  if test -f "$ac_dir/install-sh"; then
1928    ac_aux_dir=$ac_dir
1929    ac_install_sh="$ac_aux_dir/install-sh -c"
1930    break
1931  elif test -f "$ac_dir/install.sh"; then
1932    ac_aux_dir=$ac_dir
1933    ac_install_sh="$ac_aux_dir/install.sh -c"
1934    break
1935  elif test -f "$ac_dir/shtool"; then
1936    ac_aux_dir=$ac_dir
1937    ac_install_sh="$ac_aux_dir/shtool install -c"
1938    break
1939  fi
1940done
1941if test -z "$ac_aux_dir"; then
1942  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build \"$srcdir\"/build" >&5
1943$as_echo "$as_me: error: cannot find install-sh or install.sh in build \"$srcdir\"/build" >&2;}
1944   { (exit 1); exit 1; }; }
1945fi
1946
1947# These three variables are undocumented and unsupported,
1948# and are intended to be withdrawn in a future Autoconf release.
1949# They can cause serious problems if a builder's source tree is in a directory
1950# whose full name contains unusual characters.
1951ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1952ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1953ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1954
1955
1956ac_config_headers="$ac_config_headers config.h"
1957
1958am__api_version="1.9"
1959# Find a good install program.  We prefer a C program (faster),
1960# so one script is as good as another.  But avoid the broken or
1961# incompatible versions:
1962# SysV /etc/install, /usr/sbin/install
1963# SunOS /usr/etc/install
1964# IRIX /sbin/install
1965# AIX /bin/install
1966# AmigaOS /C/install, which installs bootblocks on floppy discs
1967# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1968# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1969# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1970# OS/2's system install, which has a completely different semantic
1971# ./install, which can be erroneously created by make from ./install.sh.
1972# Reject install programs that cannot install multiple files.
1973{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1974$as_echo_n "checking for a BSD-compatible install... " >&6; }
1975if test -z "$INSTALL"; then
1976if test "${ac_cv_path_install+set}" = set; then
1977  $as_echo_n "(cached) " >&6
1978else
1979  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980for as_dir in $PATH
1981do
1982  IFS=$as_save_IFS
1983  test -z "$as_dir" && as_dir=.
1984  # Account for people who put trailing slashes in PATH elements.
1985case $as_dir/ in
1986  ./ | .// | /cC/* | \
1987  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1988  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1989  /usr/ucb/* ) ;;
1990  *)
1991    # OSF1 and SCO ODT 3.0 have their own names for install.
1992    # Don't use installbsd from OSF since it installs stuff as root
1993    # by default.
1994    for ac_prog in ginstall scoinst install; do
1995      for ac_exec_ext in '' $ac_executable_extensions; do
1996	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1997	  if test $ac_prog = install &&
1998	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1999	    # AIX install.  It has an incompatible calling convention.
2000	    :
2001	  elif test $ac_prog = install &&
2002	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2003	    # program-specific install script used by HP pwplus--don't use.
2004	    :
2005	  else
2006	    rm -rf conftest.one conftest.two conftest.dir
2007	    echo one > conftest.one
2008	    echo two > conftest.two
2009	    mkdir conftest.dir
2010	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2011	      test -s conftest.one && test -s conftest.two &&
2012	      test -s conftest.dir/conftest.one &&
2013	      test -s conftest.dir/conftest.two
2014	    then
2015	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2016	      break 3
2017	    fi
2018	  fi
2019	fi
2020      done
2021    done
2022    ;;
2023esac
2024
2025done
2026IFS=$as_save_IFS
2027
2028rm -rf conftest.one conftest.two conftest.dir
2029
2030fi
2031  if test "${ac_cv_path_install+set}" = set; then
2032    INSTALL=$ac_cv_path_install
2033  else
2034    # As a last resort, use the slow shell script.  Don't cache a
2035    # value for INSTALL within a source directory, because that will
2036    # break other packages using the cache if that directory is
2037    # removed, or if the value is a relative name.
2038    INSTALL=$ac_install_sh
2039  fi
2040fi
2041{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2042$as_echo "$INSTALL" >&6; }
2043
2044# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2045# It thinks the first close brace ends the variable substitution.
2046test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2047
2048test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2049
2050test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2051
2052test "$program_prefix" != NONE &&
2053  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2054# Use a double $ so make ignores it.
2055test "$program_suffix" != NONE &&
2056  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2057# Double any \ or $.
2058# By default was `s,x,x', remove it if useless.
2059ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2060program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2061
2062# expand $ac_aux_dir to an absolute path
2063am_aux_dir=`cd $ac_aux_dir && pwd`
2064
2065test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2066# Use eval to expand $SHELL
2067if eval "$MISSING --run true"; then
2068  am_missing_run="$MISSING --run "
2069else
2070  am_missing_run=
2071  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2072$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2073fi
2074
2075if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2076  # We used to keeping the `.' as first argument, in order to
2077  # allow $(mkdir_p) to be used without argument.  As in
2078  #   $(mkdir_p) $(somedir)
2079  # where $(somedir) is conditionally defined.  However this is wrong
2080  # for two reasons:
2081  #  1. if the package is installed by a user who cannot write `.'
2082  #     make install will fail,
2083  #  2. the above comment should most certainly read
2084  #     $(mkdir_p) $(DESTDIR)$(somedir)
2085  #     so it does not work when $(somedir) is undefined and
2086  #     $(DESTDIR) is not.
2087  #  To support the latter case, we have to write
2088  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2089  #  so the `.' trick is pointless.
2090  mkdir_p='mkdir -p --'
2091else
2092  # On NextStep and OpenStep, the `mkdir' command does not
2093  # recognize any option.  It will interpret all options as
2094  # directories to create, and then abort because `.' already
2095  # exists.
2096  for d in ./-p ./--version;
2097  do
2098    test -d $d && rmdir $d
2099  done
2100  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2101  if test -f "$ac_aux_dir/mkinstalldirs"; then
2102    mkdir_p='$(mkinstalldirs)'
2103  else
2104    mkdir_p='$(SHELL) $(install_sh) -d'
2105  fi
2106fi
2107
2108for ac_prog in gawk mawk nawk awk
2109do
2110  # Extract the first word of "$ac_prog", so it can be a program name with args.
2111set dummy $ac_prog; ac_word=$2
2112{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2113$as_echo_n "checking for $ac_word... " >&6; }
2114if test "${ac_cv_prog_AWK+set}" = set; then
2115  $as_echo_n "(cached) " >&6
2116else
2117  if test -n "$AWK"; then
2118  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2119else
2120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121for as_dir in $PATH
2122do
2123  IFS=$as_save_IFS
2124  test -z "$as_dir" && as_dir=.
2125  for ac_exec_ext in '' $ac_executable_extensions; do
2126  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2127    ac_cv_prog_AWK="$ac_prog"
2128    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2129    break 2
2130  fi
2131done
2132done
2133IFS=$as_save_IFS
2134
2135fi
2136fi
2137AWK=$ac_cv_prog_AWK
2138if test -n "$AWK"; then
2139  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2140$as_echo "$AWK" >&6; }
2141else
2142  { $as_echo "$as_me:$LINENO: result: no" >&5
2143$as_echo "no" >&6; }
2144fi
2145
2146
2147  test -n "$AWK" && break
2148done
2149
2150{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2151$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2152set x ${MAKE-make}
2153ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2154if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2155  $as_echo_n "(cached) " >&6
2156else
2157  cat >conftest.make <<\_ACEOF
2158SHELL = /bin/sh
2159all:
2160	@echo '@@@%%%=$(MAKE)=@@@%%%'
2161_ACEOF
2162# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2163case `${MAKE-make} -f conftest.make 2>/dev/null` in
2164  *@@@%%%=?*=@@@%%%*)
2165    eval ac_cv_prog_make_${ac_make}_set=yes;;
2166  *)
2167    eval ac_cv_prog_make_${ac_make}_set=no;;
2168esac
2169rm -f conftest.make
2170fi
2171if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2172  { $as_echo "$as_me:$LINENO: result: yes" >&5
2173$as_echo "yes" >&6; }
2174  SET_MAKE=
2175else
2176  { $as_echo "$as_me:$LINENO: result: no" >&5
2177$as_echo "no" >&6; }
2178  SET_MAKE="MAKE=${MAKE-make}"
2179fi
2180
2181rm -rf .tst 2>/dev/null
2182mkdir .tst 2>/dev/null
2183if test -d .tst; then
2184  am__leading_dot=.
2185else
2186  am__leading_dot=_
2187fi
2188rmdir .tst 2>/dev/null
2189
2190# test to see if srcdir already configured
2191if test "`cd $srcdir && pwd`" != "`pwd`" &&
2192   test -f $srcdir/config.status; then
2193  { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2194$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2195   { (exit 1); exit 1; }; }
2196fi
2197
2198# test whether we have cygpath
2199if test -z "$CYGPATH_W"; then
2200  if (cygpath --version) >/dev/null 2>/dev/null; then
2201    CYGPATH_W='cygpath -w'
2202  else
2203    CYGPATH_W=echo
2204  fi
2205fi
2206
2207
2208# Define the identity of the package.
2209 PACKAGE='unico'
2210 VERSION='1.0.2'
2211
2212
2213cat >>confdefs.h <<_ACEOF
2214@%:@define PACKAGE "$PACKAGE"
2215_ACEOF
2216
2217
2218cat >>confdefs.h <<_ACEOF
2219@%:@define VERSION "$VERSION"
2220_ACEOF
2221
2222# Some tools Automake needs.
2223
2224ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2225
2226
2227AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2228
2229
2230AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2231
2232
2233AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2234
2235
2236MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2237
2238install_sh=${install_sh-"$am_aux_dir/install-sh"}
2239
2240# Installed binaries are usually stripped using `strip' when the user
2241# run `make install-strip'.  However `strip' might not be the right
2242# tool to use in cross-compilation environments, therefore Automake
2243# will honor the `STRIP' environment variable to overrule this program.
2244if test "$cross_compiling" != no; then
2245  if test -n "$ac_tool_prefix"; then
2246  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2247set dummy ${ac_tool_prefix}strip; ac_word=$2
2248{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2249$as_echo_n "checking for $ac_word... " >&6; }
2250if test "${ac_cv_prog_STRIP+set}" = set; then
2251  $as_echo_n "(cached) " >&6
2252else
2253  if test -n "$STRIP"; then
2254  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2255else
2256as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257for as_dir in $PATH
2258do
2259  IFS=$as_save_IFS
2260  test -z "$as_dir" && as_dir=.
2261  for ac_exec_ext in '' $ac_executable_extensions; do
2262  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2263    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2264    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2265    break 2
2266  fi
2267done
2268done
2269IFS=$as_save_IFS
2270
2271fi
2272fi
2273STRIP=$ac_cv_prog_STRIP
2274if test -n "$STRIP"; then
2275  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2276$as_echo "$STRIP" >&6; }
2277else
2278  { $as_echo "$as_me:$LINENO: result: no" >&5
2279$as_echo "no" >&6; }
2280fi
2281
2282
2283fi
2284if test -z "$ac_cv_prog_STRIP"; then
2285  ac_ct_STRIP=$STRIP
2286  # Extract the first word of "strip", so it can be a program name with args.
2287set dummy strip; ac_word=$2
2288{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2289$as_echo_n "checking for $ac_word... " >&6; }
2290if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2291  $as_echo_n "(cached) " >&6
2292else
2293  if test -n "$ac_ct_STRIP"; then
2294  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2295else
2296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297for as_dir in $PATH
2298do
2299  IFS=$as_save_IFS
2300  test -z "$as_dir" && as_dir=.
2301  for ac_exec_ext in '' $ac_executable_extensions; do
2302  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2303    ac_cv_prog_ac_ct_STRIP="strip"
2304    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2305    break 2
2306  fi
2307done
2308done
2309IFS=$as_save_IFS
2310
2311fi
2312fi
2313ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2314if test -n "$ac_ct_STRIP"; then
2315  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2316$as_echo "$ac_ct_STRIP" >&6; }
2317else
2318  { $as_echo "$as_me:$LINENO: result: no" >&5
2319$as_echo "no" >&6; }
2320fi
2321
2322  if test "x$ac_ct_STRIP" = x; then
2323    STRIP=":"
2324  else
2325    case $cross_compiling:$ac_tool_warned in
2326yes:)
2327{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2328$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2329ac_tool_warned=yes ;;
2330esac
2331    STRIP=$ac_ct_STRIP
2332  fi
2333else
2334  STRIP="$ac_cv_prog_STRIP"
2335fi
2336
2337fi
2338INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2339
2340# We need awk for the "check" target.  The system "awk" is bad on
2341# some platforms.
2342# Always define AMTAR for backward compatibility.
2343
2344AMTAR=${AMTAR-"${am_missing_run}tar"}
2345
2346am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2347
2348
2349
2350
2351
2352
2353
2354NANO=`echo 1.0.2 | cut -d'.' -f4`
2355if test x"$NANO" = x || test "x$NANO" = "x0" ; then
2356    UNICO_TRUNK="no"
2357    PACKAGE_VERSION_NANO="0"
2358else
2359    UNICO_TRUNK="yes"
2360    PACKAGE_VERSION_NANO="$NANO"
2361fi
2362
2363
2364
2365DEPDIR="${am__leading_dot}deps"
2366
2367ac_config_commands="$ac_config_commands depfiles"
2368
2369
2370am_make=${MAKE-make}
2371cat > confinc << 'END'
2372am__doit:
2373	@echo done
2374.PHONY: am__doit
2375END
2376# If we don't find an include directive, just comment out the code.
2377{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2378$as_echo_n "checking for style of include used by $am_make... " >&6; }
2379am__include="#"
2380am__quote=
2381_am_result=none
2382# First try GNU make style include.
2383echo "include confinc" > confmf
2384# We grep out `Entering directory' and `Leaving directory'
2385# messages which can occur if `w' ends up in MAKEFLAGS.
2386# In particular we don't look at `^make:' because GNU make might
2387# be invoked under some other name (usually "gmake"), in which
2388# case it prints its new name instead of `make'.
2389if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2390   am__include=include
2391   am__quote=
2392   _am_result=GNU
2393fi
2394# Now try BSD make style include.
2395if test "$am__include" = "#"; then
2396   echo '.include "confinc"' > confmf
2397   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2398      am__include=.include
2399      am__quote="\""
2400      _am_result=BSD
2401   fi
2402fi
2403
2404
2405{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2406$as_echo "$_am_result" >&6; }
2407rm -f confinc confmf
2408
2409@%:@ Check whether --enable-dependency-tracking was given.
2410if test "${enable_dependency_tracking+set}" = set; then
2411  enableval=$enable_dependency_tracking;
2412fi
2413
2414if test "x$enable_dependency_tracking" != xno; then
2415  am_depcomp="$ac_aux_dir/depcomp"
2416  AMDEPBACKSLASH='\'
2417fi
2418
2419
2420if test "x$enable_dependency_tracking" != xno; then
2421  AMDEP_TRUE=
2422  AMDEP_FALSE='#'
2423else
2424  AMDEP_TRUE='#'
2425  AMDEP_FALSE=
2426fi
2427
2428
2429
2430ac_ext=c
2431ac_cpp='$CPP $CPPFLAGS'
2432ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2433ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2434ac_compiler_gnu=$ac_cv_c_compiler_gnu
2435if test -n "$ac_tool_prefix"; then
2436  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2437set dummy ${ac_tool_prefix}gcc; ac_word=$2
2438{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2439$as_echo_n "checking for $ac_word... " >&6; }
2440if test "${ac_cv_prog_CC+set}" = set; then
2441  $as_echo_n "(cached) " >&6
2442else
2443  if test -n "$CC"; then
2444  ac_cv_prog_CC="$CC" # Let the user override the test.
2445else
2446as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447for as_dir in $PATH
2448do
2449  IFS=$as_save_IFS
2450  test -z "$as_dir" && as_dir=.
2451  for ac_exec_ext in '' $ac_executable_extensions; do
2452  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2453    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2454    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2455    break 2
2456  fi
2457done
2458done
2459IFS=$as_save_IFS
2460
2461fi
2462fi
2463CC=$ac_cv_prog_CC
2464if test -n "$CC"; then
2465  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2466$as_echo "$CC" >&6; }
2467else
2468  { $as_echo "$as_me:$LINENO: result: no" >&5
2469$as_echo "no" >&6; }
2470fi
2471
2472
2473fi
2474if test -z "$ac_cv_prog_CC"; then
2475  ac_ct_CC=$CC
2476  # Extract the first word of "gcc", so it can be a program name with args.
2477set dummy gcc; ac_word=$2
2478{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2479$as_echo_n "checking for $ac_word... " >&6; }
2480if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2481  $as_echo_n "(cached) " >&6
2482else
2483  if test -n "$ac_ct_CC"; then
2484  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2485else
2486as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487for as_dir in $PATH
2488do
2489  IFS=$as_save_IFS
2490  test -z "$as_dir" && as_dir=.
2491  for ac_exec_ext in '' $ac_executable_extensions; do
2492  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2493    ac_cv_prog_ac_ct_CC="gcc"
2494    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2495    break 2
2496  fi
2497done
2498done
2499IFS=$as_save_IFS
2500
2501fi
2502fi
2503ac_ct_CC=$ac_cv_prog_ac_ct_CC
2504if test -n "$ac_ct_CC"; then
2505  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2506$as_echo "$ac_ct_CC" >&6; }
2507else
2508  { $as_echo "$as_me:$LINENO: result: no" >&5
2509$as_echo "no" >&6; }
2510fi
2511
2512  if test "x$ac_ct_CC" = x; then
2513    CC=""
2514  else
2515    case $cross_compiling:$ac_tool_warned in
2516yes:)
2517{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2518$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2519ac_tool_warned=yes ;;
2520esac
2521    CC=$ac_ct_CC
2522  fi
2523else
2524  CC="$ac_cv_prog_CC"
2525fi
2526
2527if test -z "$CC"; then
2528          if test -n "$ac_tool_prefix"; then
2529    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2530set dummy ${ac_tool_prefix}cc; ac_word=$2
2531{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2532$as_echo_n "checking for $ac_word... " >&6; }
2533if test "${ac_cv_prog_CC+set}" = set; then
2534  $as_echo_n "(cached) " >&6
2535else
2536  if test -n "$CC"; then
2537  ac_cv_prog_CC="$CC" # Let the user override the test.
2538else
2539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540for as_dir in $PATH
2541do
2542  IFS=$as_save_IFS
2543  test -z "$as_dir" && as_dir=.
2544  for ac_exec_ext in '' $ac_executable_extensions; do
2545  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2546    ac_cv_prog_CC="${ac_tool_prefix}cc"
2547    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548    break 2
2549  fi
2550done
2551done
2552IFS=$as_save_IFS
2553
2554fi
2555fi
2556CC=$ac_cv_prog_CC
2557if test -n "$CC"; then
2558  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2559$as_echo "$CC" >&6; }
2560else
2561  { $as_echo "$as_me:$LINENO: result: no" >&5
2562$as_echo "no" >&6; }
2563fi
2564
2565
2566  fi
2567fi
2568if test -z "$CC"; then
2569  # Extract the first word of "cc", so it can be a program name with args.
2570set dummy cc; ac_word=$2
2571{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2572$as_echo_n "checking for $ac_word... " >&6; }
2573if test "${ac_cv_prog_CC+set}" = set; then
2574  $as_echo_n "(cached) " >&6
2575else
2576  if test -n "$CC"; then
2577  ac_cv_prog_CC="$CC" # Let the user override the test.
2578else
2579  ac_prog_rejected=no
2580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581for as_dir in $PATH
2582do
2583  IFS=$as_save_IFS
2584  test -z "$as_dir" && as_dir=.
2585  for ac_exec_ext in '' $ac_executable_extensions; do
2586  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2587    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2588       ac_prog_rejected=yes
2589       continue
2590     fi
2591    ac_cv_prog_CC="cc"
2592    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2593    break 2
2594  fi
2595done
2596done
2597IFS=$as_save_IFS
2598
2599if test $ac_prog_rejected = yes; then
2600  # We found a bogon in the path, so make sure we never use it.
2601  set dummy $ac_cv_prog_CC
2602  shift
2603  if test $@%:@ != 0; then
2604    # We chose a different compiler from the bogus one.
2605    # However, it has the same basename, so the bogon will be chosen
2606    # first if we set CC to just the basename; use the full file name.
2607    shift
2608    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2609  fi
2610fi
2611fi
2612fi
2613CC=$ac_cv_prog_CC
2614if test -n "$CC"; then
2615  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2616$as_echo "$CC" >&6; }
2617else
2618  { $as_echo "$as_me:$LINENO: result: no" >&5
2619$as_echo "no" >&6; }
2620fi
2621
2622
2623fi
2624if test -z "$CC"; then
2625  if test -n "$ac_tool_prefix"; then
2626  for ac_prog in cl.exe
2627  do
2628    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2629set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2630{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2631$as_echo_n "checking for $ac_word... " >&6; }
2632if test "${ac_cv_prog_CC+set}" = set; then
2633  $as_echo_n "(cached) " >&6
2634else
2635  if test -n "$CC"; then
2636  ac_cv_prog_CC="$CC" # Let the user override the test.
2637else
2638as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639for as_dir in $PATH
2640do
2641  IFS=$as_save_IFS
2642  test -z "$as_dir" && as_dir=.
2643  for ac_exec_ext in '' $ac_executable_extensions; do
2644  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2645    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2646    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647    break 2
2648  fi
2649done
2650done
2651IFS=$as_save_IFS
2652
2653fi
2654fi
2655CC=$ac_cv_prog_CC
2656if test -n "$CC"; then
2657  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2658$as_echo "$CC" >&6; }
2659else
2660  { $as_echo "$as_me:$LINENO: result: no" >&5
2661$as_echo "no" >&6; }
2662fi
2663
2664
2665    test -n "$CC" && break
2666  done
2667fi
2668if test -z "$CC"; then
2669  ac_ct_CC=$CC
2670  for ac_prog in cl.exe
2671do
2672  # Extract the first word of "$ac_prog", so it can be a program name with args.
2673set dummy $ac_prog; ac_word=$2
2674{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2675$as_echo_n "checking for $ac_word... " >&6; }
2676if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2677  $as_echo_n "(cached) " >&6
2678else
2679  if test -n "$ac_ct_CC"; then
2680  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2681else
2682as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683for as_dir in $PATH
2684do
2685  IFS=$as_save_IFS
2686  test -z "$as_dir" && as_dir=.
2687  for ac_exec_ext in '' $ac_executable_extensions; do
2688  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2689    ac_cv_prog_ac_ct_CC="$ac_prog"
2690    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2691    break 2
2692  fi
2693done
2694done
2695IFS=$as_save_IFS
2696
2697fi
2698fi
2699ac_ct_CC=$ac_cv_prog_ac_ct_CC
2700if test -n "$ac_ct_CC"; then
2701  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2702$as_echo "$ac_ct_CC" >&6; }
2703else
2704  { $as_echo "$as_me:$LINENO: result: no" >&5
2705$as_echo "no" >&6; }
2706fi
2707
2708
2709  test -n "$ac_ct_CC" && break
2710done
2711
2712  if test "x$ac_ct_CC" = x; then
2713    CC=""
2714  else
2715    case $cross_compiling:$ac_tool_warned in
2716yes:)
2717{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2718$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2719ac_tool_warned=yes ;;
2720esac
2721    CC=$ac_ct_CC
2722  fi
2723fi
2724
2725fi
2726
2727
2728test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2729$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2730{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2731See \`config.log' for more details." >&5
2732$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2733See \`config.log' for more details." >&2;}
2734   { (exit 1); exit 1; }; }; }
2735
2736# Provide some information about the compiler.
2737$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2738set X $ac_compile
2739ac_compiler=$2
2740{ (ac_try="$ac_compiler --version >&5"
2741case "(($ac_try" in
2742  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743  *) ac_try_echo=$ac_try;;
2744esac
2745eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2746$as_echo "$ac_try_echo") >&5
2747  (eval "$ac_compiler --version >&5") 2>&5
2748  ac_status=$?
2749  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750  (exit $ac_status); }
2751{ (ac_try="$ac_compiler -v >&5"
2752case "(($ac_try" in
2753  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754  *) ac_try_echo=$ac_try;;
2755esac
2756eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2757$as_echo "$ac_try_echo") >&5
2758  (eval "$ac_compiler -v >&5") 2>&5
2759  ac_status=$?
2760  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761  (exit $ac_status); }
2762{ (ac_try="$ac_compiler -V >&5"
2763case "(($ac_try" in
2764  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765  *) ac_try_echo=$ac_try;;
2766esac
2767eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2768$as_echo "$ac_try_echo") >&5
2769  (eval "$ac_compiler -V >&5") 2>&5
2770  ac_status=$?
2771  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772  (exit $ac_status); }
2773
2774cat >conftest.$ac_ext <<_ACEOF
2775/* confdefs.h.  */
2776_ACEOF
2777cat confdefs.h >>conftest.$ac_ext
2778cat >>conftest.$ac_ext <<_ACEOF
2779/* end confdefs.h.  */
2780
2781int
2782main ()
2783{
2784
2785  ;
2786  return 0;
2787}
2788_ACEOF
2789ac_clean_files_save=$ac_clean_files
2790ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2791# Try to create an executable without -o first, disregard a.out.
2792# It will help us diagnose broken compilers, and finding out an intuition
2793# of exeext.
2794{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2795$as_echo_n "checking for C compiler default output file name... " >&6; }
2796ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2797
2798# The possible output files:
2799ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2800
2801ac_rmfiles=
2802for ac_file in $ac_files
2803do
2804  case $ac_file in
2805    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2806    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2807  esac
2808done
2809rm -f $ac_rmfiles
2810
2811if { (ac_try="$ac_link_default"
2812case "(($ac_try" in
2813  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814  *) ac_try_echo=$ac_try;;
2815esac
2816eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2817$as_echo "$ac_try_echo") >&5
2818  (eval "$ac_link_default") 2>&5
2819  ac_status=$?
2820  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821  (exit $ac_status); }; then
2822  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2823# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2824# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2825# so that the user can short-circuit this test for compilers unknown to
2826# Autoconf.
2827for ac_file in $ac_files ''
2828do
2829  test -f "$ac_file" || continue
2830  case $ac_file in
2831    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2832	;;
2833    [ab].out )
2834	# We found the default executable, but exeext='' is most
2835	# certainly right.
2836	break;;
2837    *.* )
2838        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2839	then :; else
2840	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2841	fi
2842	# We set ac_cv_exeext here because the later test for it is not
2843	# safe: cross compilers may not add the suffix if given an `-o'
2844	# argument, so we may need to know it at that point already.
2845	# Even if this section looks crufty: it has the advantage of
2846	# actually working.
2847	break;;
2848    * )
2849	break;;
2850  esac
2851done
2852test "$ac_cv_exeext" = no && ac_cv_exeext=
2853
2854else
2855  ac_file=''
2856fi
2857
2858{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2859$as_echo "$ac_file" >&6; }
2860if test -z "$ac_file"; then
2861  $as_echo "$as_me: failed program was:" >&5
2862sed 's/^/| /' conftest.$ac_ext >&5
2863
2864{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2865$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2866{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2867See \`config.log' for more details." >&5
2868$as_echo "$as_me: error: C compiler cannot create executables
2869See \`config.log' for more details." >&2;}
2870   { (exit 77); exit 77; }; }; }
2871fi
2872
2873ac_exeext=$ac_cv_exeext
2874
2875# Check that the compiler produces executables we can run.  If not, either
2876# the compiler is broken, or we cross compile.
2877{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2878$as_echo_n "checking whether the C compiler works... " >&6; }
2879# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2880# If not cross compiling, check that we can run a simple program.
2881if test "$cross_compiling" != yes; then
2882  if { ac_try='./$ac_file'
2883  { (case "(($ac_try" in
2884  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885  *) ac_try_echo=$ac_try;;
2886esac
2887eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2888$as_echo "$ac_try_echo") >&5
2889  (eval "$ac_try") 2>&5
2890  ac_status=$?
2891  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892  (exit $ac_status); }; }; then
2893    cross_compiling=no
2894  else
2895    if test "$cross_compiling" = maybe; then
2896	cross_compiling=yes
2897    else
2898	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2899$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2900{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2901If you meant to cross compile, use \`--host'.
2902See \`config.log' for more details." >&5
2903$as_echo "$as_me: error: cannot run C compiled programs.
2904If you meant to cross compile, use \`--host'.
2905See \`config.log' for more details." >&2;}
2906   { (exit 1); exit 1; }; }; }
2907    fi
2908  fi
2909fi
2910{ $as_echo "$as_me:$LINENO: result: yes" >&5
2911$as_echo "yes" >&6; }
2912
2913rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2914ac_clean_files=$ac_clean_files_save
2915# Check that the compiler produces executables we can run.  If not, either
2916# the compiler is broken, or we cross compile.
2917{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2918$as_echo_n "checking whether we are cross compiling... " >&6; }
2919{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2920$as_echo "$cross_compiling" >&6; }
2921
2922{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2923$as_echo_n "checking for suffix of executables... " >&6; }
2924if { (ac_try="$ac_link"
2925case "(($ac_try" in
2926  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927  *) ac_try_echo=$ac_try;;
2928esac
2929eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2930$as_echo "$ac_try_echo") >&5
2931  (eval "$ac_link") 2>&5
2932  ac_status=$?
2933  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934  (exit $ac_status); }; then
2935  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2936# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2937# work properly (i.e., refer to `conftest.exe'), while it won't with
2938# `rm'.
2939for ac_file in conftest.exe conftest conftest.*; do
2940  test -f "$ac_file" || continue
2941  case $ac_file in
2942    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2943    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2944	  break;;
2945    * ) break;;
2946  esac
2947done
2948else
2949  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2950$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2951{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2952See \`config.log' for more details." >&5
2953$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2954See \`config.log' for more details." >&2;}
2955   { (exit 1); exit 1; }; }; }
2956fi
2957
2958rm -f conftest$ac_cv_exeext
2959{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2960$as_echo "$ac_cv_exeext" >&6; }
2961
2962rm -f conftest.$ac_ext
2963EXEEXT=$ac_cv_exeext
2964ac_exeext=$EXEEXT
2965{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2966$as_echo_n "checking for suffix of object files... " >&6; }
2967if test "${ac_cv_objext+set}" = set; then
2968  $as_echo_n "(cached) " >&6
2969else
2970  cat >conftest.$ac_ext <<_ACEOF
2971/* confdefs.h.  */
2972_ACEOF
2973cat confdefs.h >>conftest.$ac_ext
2974cat >>conftest.$ac_ext <<_ACEOF
2975/* end confdefs.h.  */
2976
2977int
2978main ()
2979{
2980
2981  ;
2982  return 0;
2983}
2984_ACEOF
2985rm -f conftest.o conftest.obj
2986if { (ac_try="$ac_compile"
2987case "(($ac_try" in
2988  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2989  *) ac_try_echo=$ac_try;;
2990esac
2991eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2992$as_echo "$ac_try_echo") >&5
2993  (eval "$ac_compile") 2>&5
2994  ac_status=$?
2995  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996  (exit $ac_status); }; then
2997  for ac_file in conftest.o conftest.obj conftest.*; do
2998  test -f "$ac_file" || continue;
2999  case $ac_file in
3000    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3001    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3002       break;;
3003  esac
3004done
3005else
3006  $as_echo "$as_me: failed program was:" >&5
3007sed 's/^/| /' conftest.$ac_ext >&5
3008
3009{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3010$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3011{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3012See \`config.log' for more details." >&5
3013$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3014See \`config.log' for more details." >&2;}
3015   { (exit 1); exit 1; }; }; }
3016fi
3017
3018rm -f conftest.$ac_cv_objext conftest.$ac_ext
3019fi
3020{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3021$as_echo "$ac_cv_objext" >&6; }
3022OBJEXT=$ac_cv_objext
3023ac_objext=$OBJEXT
3024{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3025$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3026if test "${ac_cv_c_compiler_gnu+set}" = set; then
3027  $as_echo_n "(cached) " >&6
3028else
3029  cat >conftest.$ac_ext <<_ACEOF
3030/* confdefs.h.  */
3031_ACEOF
3032cat confdefs.h >>conftest.$ac_ext
3033cat >>conftest.$ac_ext <<_ACEOF
3034/* end confdefs.h.  */
3035
3036int
3037main ()
3038{
3039#ifndef __GNUC__
3040       choke me
3041#endif
3042
3043  ;
3044  return 0;
3045}
3046_ACEOF
3047rm -f conftest.$ac_objext
3048if { (ac_try="$ac_compile"
3049case "(($ac_try" in
3050  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051  *) ac_try_echo=$ac_try;;
3052esac
3053eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3054$as_echo "$ac_try_echo") >&5
3055  (eval "$ac_compile") 2>conftest.er1
3056  ac_status=$?
3057  grep -v '^ *+' conftest.er1 >conftest.err
3058  rm -f conftest.er1
3059  cat conftest.err >&5
3060  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061  (exit $ac_status); } && {
3062	 test -z "$ac_c_werror_flag" ||
3063	 test ! -s conftest.err
3064       } && test -s conftest.$ac_objext; then
3065  ac_compiler_gnu=yes
3066else
3067  $as_echo "$as_me: failed program was:" >&5
3068sed 's/^/| /' conftest.$ac_ext >&5
3069
3070	ac_compiler_gnu=no
3071fi
3072
3073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074ac_cv_c_compiler_gnu=$ac_compiler_gnu
3075
3076fi
3077{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3078$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3079if test $ac_compiler_gnu = yes; then
3080  GCC=yes
3081else
3082  GCC=
3083fi
3084ac_test_CFLAGS=${CFLAGS+set}
3085ac_save_CFLAGS=$CFLAGS
3086{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3087$as_echo_n "checking whether $CC accepts -g... " >&6; }
3088if test "${ac_cv_prog_cc_g+set}" = set; then
3089  $as_echo_n "(cached) " >&6
3090else
3091  ac_save_c_werror_flag=$ac_c_werror_flag
3092   ac_c_werror_flag=yes
3093   ac_cv_prog_cc_g=no
3094   CFLAGS="-g"
3095   cat >conftest.$ac_ext <<_ACEOF
3096/* confdefs.h.  */
3097_ACEOF
3098cat confdefs.h >>conftest.$ac_ext
3099cat >>conftest.$ac_ext <<_ACEOF
3100/* end confdefs.h.  */
3101
3102int
3103main ()
3104{
3105
3106  ;
3107  return 0;
3108}
3109_ACEOF
3110rm -f conftest.$ac_objext
3111if { (ac_try="$ac_compile"
3112case "(($ac_try" in
3113  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114  *) ac_try_echo=$ac_try;;
3115esac
3116eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3117$as_echo "$ac_try_echo") >&5
3118  (eval "$ac_compile") 2>conftest.er1
3119  ac_status=$?
3120  grep -v '^ *+' conftest.er1 >conftest.err
3121  rm -f conftest.er1
3122  cat conftest.err >&5
3123  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124  (exit $ac_status); } && {
3125	 test -z "$ac_c_werror_flag" ||
3126	 test ! -s conftest.err
3127       } && test -s conftest.$ac_objext; then
3128  ac_cv_prog_cc_g=yes
3129else
3130  $as_echo "$as_me: failed program was:" >&5
3131sed 's/^/| /' conftest.$ac_ext >&5
3132
3133	CFLAGS=""
3134      cat >conftest.$ac_ext <<_ACEOF
3135/* confdefs.h.  */
3136_ACEOF
3137cat confdefs.h >>conftest.$ac_ext
3138cat >>conftest.$ac_ext <<_ACEOF
3139/* end confdefs.h.  */
3140
3141int
3142main ()
3143{
3144
3145  ;
3146  return 0;
3147}
3148_ACEOF
3149rm -f conftest.$ac_objext
3150if { (ac_try="$ac_compile"
3151case "(($ac_try" in
3152  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153  *) ac_try_echo=$ac_try;;
3154esac
3155eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3156$as_echo "$ac_try_echo") >&5
3157  (eval "$ac_compile") 2>conftest.er1
3158  ac_status=$?
3159  grep -v '^ *+' conftest.er1 >conftest.err
3160  rm -f conftest.er1
3161  cat conftest.err >&5
3162  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163  (exit $ac_status); } && {
3164	 test -z "$ac_c_werror_flag" ||
3165	 test ! -s conftest.err
3166       } && test -s conftest.$ac_objext; then
3167  :
3168else
3169  $as_echo "$as_me: failed program was:" >&5
3170sed 's/^/| /' conftest.$ac_ext >&5
3171
3172	ac_c_werror_flag=$ac_save_c_werror_flag
3173	 CFLAGS="-g"
3174	 cat >conftest.$ac_ext <<_ACEOF
3175/* confdefs.h.  */
3176_ACEOF
3177cat confdefs.h >>conftest.$ac_ext
3178cat >>conftest.$ac_ext <<_ACEOF
3179/* end confdefs.h.  */
3180
3181int
3182main ()
3183{
3184
3185  ;
3186  return 0;
3187}
3188_ACEOF
3189rm -f conftest.$ac_objext
3190if { (ac_try="$ac_compile"
3191case "(($ac_try" in
3192  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193  *) ac_try_echo=$ac_try;;
3194esac
3195eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3196$as_echo "$ac_try_echo") >&5
3197  (eval "$ac_compile") 2>conftest.er1
3198  ac_status=$?
3199  grep -v '^ *+' conftest.er1 >conftest.err
3200  rm -f conftest.er1
3201  cat conftest.err >&5
3202  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203  (exit $ac_status); } && {
3204	 test -z "$ac_c_werror_flag" ||
3205	 test ! -s conftest.err
3206       } && test -s conftest.$ac_objext; then
3207  ac_cv_prog_cc_g=yes
3208else
3209  $as_echo "$as_me: failed program was:" >&5
3210sed 's/^/| /' conftest.$ac_ext >&5
3211
3212
3213fi
3214
3215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216fi
3217
3218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219fi
3220
3221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222   ac_c_werror_flag=$ac_save_c_werror_flag
3223fi
3224{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3225$as_echo "$ac_cv_prog_cc_g" >&6; }
3226if test "$ac_test_CFLAGS" = set; then
3227  CFLAGS=$ac_save_CFLAGS
3228elif test $ac_cv_prog_cc_g = yes; then
3229  if test "$GCC" = yes; then
3230    CFLAGS="-g -O2"
3231  else
3232    CFLAGS="-g"
3233  fi
3234else
3235  if test "$GCC" = yes; then
3236    CFLAGS="-O2"
3237  else
3238    CFLAGS=
3239  fi
3240fi
3241{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3242$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3243if test "${ac_cv_prog_cc_c89+set}" = set; then
3244  $as_echo_n "(cached) " >&6
3245else
3246  ac_cv_prog_cc_c89=no
3247ac_save_CC=$CC
3248cat >conftest.$ac_ext <<_ACEOF
3249/* confdefs.h.  */
3250_ACEOF
3251cat confdefs.h >>conftest.$ac_ext
3252cat >>conftest.$ac_ext <<_ACEOF
3253/* end confdefs.h.  */
3254#include <stdarg.h>
3255#include <stdio.h>
3256#include <sys/types.h>
3257#include <sys/stat.h>
3258/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3259struct buf { int x; };
3260FILE * (*rcsopen) (struct buf *, struct stat *, int);
3261static char *e (p, i)
3262     char **p;
3263     int i;
3264{
3265  return p[i];
3266}
3267static char *f (char * (*g) (char **, int), char **p, ...)
3268{
3269  char *s;
3270  va_list v;
3271  va_start (v,p);
3272  s = g (p, va_arg (v,int));
3273  va_end (v);
3274  return s;
3275}
3276
3277/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3278   function prototypes and stuff, but not '\xHH' hex character constants.
3279   These don't provoke an error unfortunately, instead are silently treated
3280   as 'x'.  The following induces an error, until -std is added to get
3281   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3282   array size at least.  It's necessary to write '\x00'==0 to get something
3283   that's true only with -std.  */
3284int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3285
3286/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3287   inside strings and character constants.  */
3288#define FOO(x) 'x'
3289int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3290
3291int test (int i, double x);
3292struct s1 {int (*f) (int a);};
3293struct s2 {int (*f) (double a);};
3294int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3295int argc;
3296char **argv;
3297int
3298main ()
3299{
3300return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3301  ;
3302  return 0;
3303}
3304_ACEOF
3305for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3306	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3307do
3308  CC="$ac_save_CC $ac_arg"
3309  rm -f conftest.$ac_objext
3310if { (ac_try="$ac_compile"
3311case "(($ac_try" in
3312  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3313  *) ac_try_echo=$ac_try;;
3314esac
3315eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3316$as_echo "$ac_try_echo") >&5
3317  (eval "$ac_compile") 2>conftest.er1
3318  ac_status=$?
3319  grep -v '^ *+' conftest.er1 >conftest.err
3320  rm -f conftest.er1
3321  cat conftest.err >&5
3322  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323  (exit $ac_status); } && {
3324	 test -z "$ac_c_werror_flag" ||
3325	 test ! -s conftest.err
3326       } && test -s conftest.$ac_objext; then
3327  ac_cv_prog_cc_c89=$ac_arg
3328else
3329  $as_echo "$as_me: failed program was:" >&5
3330sed 's/^/| /' conftest.$ac_ext >&5
3331
3332
3333fi
3334
3335rm -f core conftest.err conftest.$ac_objext
3336  test "x$ac_cv_prog_cc_c89" != "xno" && break
3337done
3338rm -f conftest.$ac_ext
3339CC=$ac_save_CC
3340
3341fi
3342# AC_CACHE_VAL
3343case "x$ac_cv_prog_cc_c89" in
3344  x)
3345    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3346$as_echo "none needed" >&6; } ;;
3347  xno)
3348    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3349$as_echo "unsupported" >&6; } ;;
3350  *)
3351    CC="$CC $ac_cv_prog_cc_c89"
3352    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3353$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3354esac
3355
3356
3357ac_ext=c
3358ac_cpp='$CPP $CPPFLAGS'
3359ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3360ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3361ac_compiler_gnu=$ac_cv_c_compiler_gnu
3362
3363depcc="$CC"   am_compiler_list=
3364
3365{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3366$as_echo_n "checking dependency style of $depcc... " >&6; }
3367if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3368  $as_echo_n "(cached) " >&6
3369else
3370  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3371  # We make a subdir and do the tests there.  Otherwise we can end up
3372  # making bogus files that we don't know about and never remove.  For
3373  # instance it was reported that on HP-UX the gcc test will end up
3374  # making a dummy file named `D' -- because `-MD' means `put the output
3375  # in D'.
3376  mkdir conftest.dir
3377  # Copy depcomp to subdir because otherwise we won't find it if we're
3378  # using a relative directory.
3379  cp "$am_depcomp" conftest.dir
3380  cd conftest.dir
3381  # We will build objects and dependencies in a subdirectory because
3382  # it helps to detect inapplicable dependency modes.  For instance
3383  # both Tru64's cc and ICC support -MD to output dependencies as a
3384  # side effect of compilation, but ICC will put the dependencies in
3385  # the current directory while Tru64 will put them in the object
3386  # directory.
3387  mkdir sub
3388
3389  am_cv_CC_dependencies_compiler_type=none
3390  if test "$am_compiler_list" = ""; then
3391     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3392  fi
3393  for depmode in $am_compiler_list; do
3394    # Setup a source with many dependencies, because some compilers
3395    # like to wrap large dependency lists on column 80 (with \), and
3396    # we should not choose a depcomp mode which is confused by this.
3397    #
3398    # We need to recreate these files for each test, as the compiler may
3399    # overwrite some of them when testing with obscure command lines.
3400    # This happens at least with the AIX C compiler.
3401    : > sub/conftest.c
3402    for i in 1 2 3 4 5 6; do
3403      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3404      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3405      # Solaris 8's {/usr,}/bin/sh.
3406      touch sub/conftst$i.h
3407    done
3408    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3409
3410    case $depmode in
3411    nosideeffect)
3412      # after this tag, mechanisms are not by side-effect, so they'll
3413      # only be used when explicitly requested
3414      if test "x$enable_dependency_tracking" = xyes; then
3415	continue
3416      else
3417	break
3418      fi
3419      ;;
3420    none) break ;;
3421    esac
3422    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3423    # mode.  It turns out that the SunPro C++ compiler does not properly
3424    # handle `-M -o', and we need to detect this.
3425    if depmode=$depmode \
3426       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3427       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3428       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3429         >/dev/null 2>conftest.err &&
3430       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3431       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3432       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3433      # icc doesn't choke on unknown options, it will just issue warnings
3434      # or remarks (even with -Werror).  So we grep stderr for any message
3435      # that says an option was ignored or not supported.
3436      # When given -MP, icc 7.0 and 7.1 complain thusly:
3437      #   icc: Command line warning: ignoring option '-M'; no argument required
3438      # The diagnosis changed in icc 8.0:
3439      #   icc: Command line remark: option '-MP' not supported
3440      if (grep 'ignoring option' conftest.err ||
3441          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3442        am_cv_CC_dependencies_compiler_type=$depmode
3443        break
3444      fi
3445    fi
3446  done
3447
3448  cd ..
3449  rm -rf conftest.dir
3450else
3451  am_cv_CC_dependencies_compiler_type=none
3452fi
3453
3454fi
3455{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3456$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3457CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3458
3459
3460
3461if
3462  test "x$enable_dependency_tracking" != xno \
3463  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3464  am__fastdepCC_TRUE=
3465  am__fastdepCC_FALSE='#'
3466else
3467  am__fastdepCC_TRUE='#'
3468  am__fastdepCC_FALSE=
3469fi
3470
3471
3472
3473ac_ext=c
3474ac_cpp='$CPP $CPPFLAGS'
3475ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3476ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3479$as_echo_n "checking how to run the C preprocessor... " >&6; }
3480# On Suns, sometimes $CPP names a directory.
3481if test -n "$CPP" && test -d "$CPP"; then
3482  CPP=
3483fi
3484if test -z "$CPP"; then
3485  if test "${ac_cv_prog_CPP+set}" = set; then
3486  $as_echo_n "(cached) " >&6
3487else
3488      # Double quotes because CPP needs to be expanded
3489    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3490    do
3491      ac_preproc_ok=false
3492for ac_c_preproc_warn_flag in '' yes
3493do
3494  # Use a header file that comes with gcc, so configuring glibc
3495  # with a fresh cross-compiler works.
3496  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3497  # <limits.h> exists even on freestanding compilers.
3498  # On the NeXT, cc -E runs the code through the compiler's parser,
3499  # not just through cpp. "Syntax error" is here to catch this case.
3500  cat >conftest.$ac_ext <<_ACEOF
3501/* confdefs.h.  */
3502_ACEOF
3503cat confdefs.h >>conftest.$ac_ext
3504cat >>conftest.$ac_ext <<_ACEOF
3505/* end confdefs.h.  */
3506@%:@ifdef __STDC__
3507@%:@ include <limits.h>
3508@%:@else
3509@%:@ include <assert.h>
3510@%:@endif
3511		     Syntax error
3512_ACEOF
3513if { (ac_try="$ac_cpp conftest.$ac_ext"
3514case "(($ac_try" in
3515  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516  *) ac_try_echo=$ac_try;;
3517esac
3518eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3519$as_echo "$ac_try_echo") >&5
3520  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3521  ac_status=$?
3522  grep -v '^ *+' conftest.er1 >conftest.err
3523  rm -f conftest.er1
3524  cat conftest.err >&5
3525  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526  (exit $ac_status); } >/dev/null && {
3527	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3528	 test ! -s conftest.err
3529       }; then
3530  :
3531else
3532  $as_echo "$as_me: failed program was:" >&5
3533sed 's/^/| /' conftest.$ac_ext >&5
3534
3535  # Broken: fails on valid input.
3536continue
3537fi
3538
3539rm -f conftest.err conftest.$ac_ext
3540
3541  # OK, works on sane cases.  Now check whether nonexistent headers
3542  # can be detected and how.
3543  cat >conftest.$ac_ext <<_ACEOF
3544/* confdefs.h.  */
3545_ACEOF
3546cat confdefs.h >>conftest.$ac_ext
3547cat >>conftest.$ac_ext <<_ACEOF
3548/* end confdefs.h.  */
3549@%:@include <ac_nonexistent.h>
3550_ACEOF
3551if { (ac_try="$ac_cpp conftest.$ac_ext"
3552case "(($ac_try" in
3553  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554  *) ac_try_echo=$ac_try;;
3555esac
3556eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3557$as_echo "$ac_try_echo") >&5
3558  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3559  ac_status=$?
3560  grep -v '^ *+' conftest.er1 >conftest.err
3561  rm -f conftest.er1
3562  cat conftest.err >&5
3563  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564  (exit $ac_status); } >/dev/null && {
3565	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3566	 test ! -s conftest.err
3567       }; then
3568  # Broken: success on invalid input.
3569continue
3570else
3571  $as_echo "$as_me: failed program was:" >&5
3572sed 's/^/| /' conftest.$ac_ext >&5
3573
3574  # Passes both tests.
3575ac_preproc_ok=:
3576break
3577fi
3578
3579rm -f conftest.err conftest.$ac_ext
3580
3581done
3582# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3583rm -f conftest.err conftest.$ac_ext
3584if $ac_preproc_ok; then
3585  break
3586fi
3587
3588    done
3589    ac_cv_prog_CPP=$CPP
3590
3591fi
3592  CPP=$ac_cv_prog_CPP
3593else
3594  ac_cv_prog_CPP=$CPP
3595fi
3596{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3597$as_echo "$CPP" >&6; }
3598ac_preproc_ok=false
3599for ac_c_preproc_warn_flag in '' yes
3600do
3601  # Use a header file that comes with gcc, so configuring glibc
3602  # with a fresh cross-compiler works.
3603  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3604  # <limits.h> exists even on freestanding compilers.
3605  # On the NeXT, cc -E runs the code through the compiler's parser,
3606  # not just through cpp. "Syntax error" is here to catch this case.
3607  cat >conftest.$ac_ext <<_ACEOF
3608/* confdefs.h.  */
3609_ACEOF
3610cat confdefs.h >>conftest.$ac_ext
3611cat >>conftest.$ac_ext <<_ACEOF
3612/* end confdefs.h.  */
3613@%:@ifdef __STDC__
3614@%:@ include <limits.h>
3615@%:@else
3616@%:@ include <assert.h>
3617@%:@endif
3618		     Syntax error
3619_ACEOF
3620if { (ac_try="$ac_cpp conftest.$ac_ext"
3621case "(($ac_try" in
3622  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3623  *) ac_try_echo=$ac_try;;
3624esac
3625eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3626$as_echo "$ac_try_echo") >&5
3627  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3628  ac_status=$?
3629  grep -v '^ *+' conftest.er1 >conftest.err
3630  rm -f conftest.er1
3631  cat conftest.err >&5
3632  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633  (exit $ac_status); } >/dev/null && {
3634	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3635	 test ! -s conftest.err
3636       }; then
3637  :
3638else
3639  $as_echo "$as_me: failed program was:" >&5
3640sed 's/^/| /' conftest.$ac_ext >&5
3641
3642  # Broken: fails on valid input.
3643continue
3644fi
3645
3646rm -f conftest.err conftest.$ac_ext
3647
3648  # OK, works on sane cases.  Now check whether nonexistent headers
3649  # can be detected and how.
3650  cat >conftest.$ac_ext <<_ACEOF
3651/* confdefs.h.  */
3652_ACEOF
3653cat confdefs.h >>conftest.$ac_ext
3654cat >>conftest.$ac_ext <<_ACEOF
3655/* end confdefs.h.  */
3656@%:@include <ac_nonexistent.h>
3657_ACEOF
3658if { (ac_try="$ac_cpp conftest.$ac_ext"
3659case "(($ac_try" in
3660  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661  *) ac_try_echo=$ac_try;;
3662esac
3663eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3664$as_echo "$ac_try_echo") >&5
3665  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3666  ac_status=$?
3667  grep -v '^ *+' conftest.er1 >conftest.err
3668  rm -f conftest.er1
3669  cat conftest.err >&5
3670  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671  (exit $ac_status); } >/dev/null && {
3672	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3673	 test ! -s conftest.err
3674       }; then
3675  # Broken: success on invalid input.
3676continue
3677else
3678  $as_echo "$as_me: failed program was:" >&5
3679sed 's/^/| /' conftest.$ac_ext >&5
3680
3681  # Passes both tests.
3682ac_preproc_ok=:
3683break
3684fi
3685
3686rm -f conftest.err conftest.$ac_ext
3687
3688done
3689# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3690rm -f conftest.err conftest.$ac_ext
3691if $ac_preproc_ok; then
3692  :
3693else
3694  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3695$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3696{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3697See \`config.log' for more details." >&5
3698$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3699See \`config.log' for more details." >&2;}
3700   { (exit 1); exit 1; }; }; }
3701fi
3702
3703ac_ext=c
3704ac_cpp='$CPP $CPPFLAGS'
3705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3707ac_compiler_gnu=$ac_cv_c_compiler_gnu
3708
3709
3710{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3711$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3712if test "${ac_cv_path_GREP+set}" = set; then
3713  $as_echo_n "(cached) " >&6
3714else
3715  if test -z "$GREP"; then
3716  ac_path_GREP_found=false
3717  # Loop through the user's path and test for each of PROGNAME-LIST
3718  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3720do
3721  IFS=$as_save_IFS
3722  test -z "$as_dir" && as_dir=.
3723  for ac_prog in grep ggrep; do
3724    for ac_exec_ext in '' $ac_executable_extensions; do
3725      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3726      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3727# Check for GNU ac_path_GREP and select it if it is found.
3728  # Check for GNU $ac_path_GREP
3729case `"$ac_path_GREP" --version 2>&1` in
3730*GNU*)
3731  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3732*)
3733  ac_count=0
3734  $as_echo_n 0123456789 >"conftest.in"
3735  while :
3736  do
3737    cat "conftest.in" "conftest.in" >"conftest.tmp"
3738    mv "conftest.tmp" "conftest.in"
3739    cp "conftest.in" "conftest.nl"
3740    $as_echo 'GREP' >> "conftest.nl"
3741    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3742    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3743    ac_count=`expr $ac_count + 1`
3744    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3745      # Best one so far, save it but keep looking for a better one
3746      ac_cv_path_GREP="$ac_path_GREP"
3747      ac_path_GREP_max=$ac_count
3748    fi
3749    # 10*(2^10) chars as input seems more than enough
3750    test $ac_count -gt 10 && break
3751  done
3752  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3753esac
3754
3755      $ac_path_GREP_found && break 3
3756    done
3757  done
3758done
3759IFS=$as_save_IFS
3760  if test -z "$ac_cv_path_GREP"; then
3761    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3762$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3763   { (exit 1); exit 1; }; }
3764  fi
3765else
3766  ac_cv_path_GREP=$GREP
3767fi
3768
3769fi
3770{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3771$as_echo "$ac_cv_path_GREP" >&6; }
3772 GREP="$ac_cv_path_GREP"
3773
3774
3775{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3776$as_echo_n "checking for egrep... " >&6; }
3777if test "${ac_cv_path_EGREP+set}" = set; then
3778  $as_echo_n "(cached) " >&6
3779else
3780  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3781   then ac_cv_path_EGREP="$GREP -E"
3782   else
3783     if test -z "$EGREP"; then
3784  ac_path_EGREP_found=false
3785  # Loop through the user's path and test for each of PROGNAME-LIST
3786  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3788do
3789  IFS=$as_save_IFS
3790  test -z "$as_dir" && as_dir=.
3791  for ac_prog in egrep; do
3792    for ac_exec_ext in '' $ac_executable_extensions; do
3793      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3794      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3795# Check for GNU ac_path_EGREP and select it if it is found.
3796  # Check for GNU $ac_path_EGREP
3797case `"$ac_path_EGREP" --version 2>&1` in
3798*GNU*)
3799  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3800*)
3801  ac_count=0
3802  $as_echo_n 0123456789 >"conftest.in"
3803  while :
3804  do
3805    cat "conftest.in" "conftest.in" >"conftest.tmp"
3806    mv "conftest.tmp" "conftest.in"
3807    cp "conftest.in" "conftest.nl"
3808    $as_echo 'EGREP' >> "conftest.nl"
3809    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3810    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3811    ac_count=`expr $ac_count + 1`
3812    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3813      # Best one so far, save it but keep looking for a better one
3814      ac_cv_path_EGREP="$ac_path_EGREP"
3815      ac_path_EGREP_max=$ac_count
3816    fi
3817    # 10*(2^10) chars as input seems more than enough
3818    test $ac_count -gt 10 && break
3819  done
3820  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3821esac
3822
3823      $ac_path_EGREP_found && break 3
3824    done
3825  done
3826done
3827IFS=$as_save_IFS
3828  if test -z "$ac_cv_path_EGREP"; then
3829    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3830$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3831   { (exit 1); exit 1; }; }
3832  fi
3833else
3834  ac_cv_path_EGREP=$EGREP
3835fi
3836
3837   fi
3838fi
3839{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3840$as_echo "$ac_cv_path_EGREP" >&6; }
3841 EGREP="$ac_cv_path_EGREP"
3842
3843
3844{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3845$as_echo_n "checking for ANSI C header files... " >&6; }
3846if test "${ac_cv_header_stdc+set}" = set; then
3847  $as_echo_n "(cached) " >&6
3848else
3849  cat >conftest.$ac_ext <<_ACEOF
3850/* confdefs.h.  */
3851_ACEOF
3852cat confdefs.h >>conftest.$ac_ext
3853cat >>conftest.$ac_ext <<_ACEOF
3854/* end confdefs.h.  */
3855#include <stdlib.h>
3856#include <stdarg.h>
3857#include <string.h>
3858#include <float.h>
3859
3860int
3861main ()
3862{
3863
3864  ;
3865  return 0;
3866}
3867_ACEOF
3868rm -f conftest.$ac_objext
3869if { (ac_try="$ac_compile"
3870case "(($ac_try" in
3871  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872  *) ac_try_echo=$ac_try;;
3873esac
3874eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3875$as_echo "$ac_try_echo") >&5
3876  (eval "$ac_compile") 2>conftest.er1
3877  ac_status=$?
3878  grep -v '^ *+' conftest.er1 >conftest.err
3879  rm -f conftest.er1
3880  cat conftest.err >&5
3881  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882  (exit $ac_status); } && {
3883	 test -z "$ac_c_werror_flag" ||
3884	 test ! -s conftest.err
3885       } && test -s conftest.$ac_objext; then
3886  ac_cv_header_stdc=yes
3887else
3888  $as_echo "$as_me: failed program was:" >&5
3889sed 's/^/| /' conftest.$ac_ext >&5
3890
3891	ac_cv_header_stdc=no
3892fi
3893
3894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3895
3896if test $ac_cv_header_stdc = yes; then
3897  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3898  cat >conftest.$ac_ext <<_ACEOF
3899/* confdefs.h.  */
3900_ACEOF
3901cat confdefs.h >>conftest.$ac_ext
3902cat >>conftest.$ac_ext <<_ACEOF
3903/* end confdefs.h.  */
3904#include <string.h>
3905
3906_ACEOF
3907if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3908  $EGREP "memchr" >/dev/null 2>&1; then
3909  :
3910else
3911  ac_cv_header_stdc=no
3912fi
3913rm -f conftest*
3914
3915fi
3916
3917if test $ac_cv_header_stdc = yes; then
3918  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3919  cat >conftest.$ac_ext <<_ACEOF
3920/* confdefs.h.  */
3921_ACEOF
3922cat confdefs.h >>conftest.$ac_ext
3923cat >>conftest.$ac_ext <<_ACEOF
3924/* end confdefs.h.  */
3925#include <stdlib.h>
3926
3927_ACEOF
3928if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3929  $EGREP "free" >/dev/null 2>&1; then
3930  :
3931else
3932  ac_cv_header_stdc=no
3933fi
3934rm -f conftest*
3935
3936fi
3937
3938if test $ac_cv_header_stdc = yes; then
3939  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3940  if test "$cross_compiling" = yes; then
3941  :
3942else
3943  cat >conftest.$ac_ext <<_ACEOF
3944/* confdefs.h.  */
3945_ACEOF
3946cat confdefs.h >>conftest.$ac_ext
3947cat >>conftest.$ac_ext <<_ACEOF
3948/* end confdefs.h.  */
3949#include <ctype.h>
3950#include <stdlib.h>
3951#if ((' ' & 0x0FF) == 0x020)
3952# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3953# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3954#else
3955# define ISLOWER(c) \
3956		   (('a' <= (c) && (c) <= 'i') \
3957		     || ('j' <= (c) && (c) <= 'r') \
3958		     || ('s' <= (c) && (c) <= 'z'))
3959# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3960#endif
3961
3962#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3963int
3964main ()
3965{
3966  int i;
3967  for (i = 0; i < 256; i++)
3968    if (XOR (islower (i), ISLOWER (i))
3969	|| toupper (i) != TOUPPER (i))
3970      return 2;
3971  return 0;
3972}
3973_ACEOF
3974rm -f conftest$ac_exeext
3975if { (ac_try="$ac_link"
3976case "(($ac_try" in
3977  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3978  *) ac_try_echo=$ac_try;;
3979esac
3980eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3981$as_echo "$ac_try_echo") >&5
3982  (eval "$ac_link") 2>&5
3983  ac_status=$?
3984  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3986  { (case "(($ac_try" in
3987  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988  *) ac_try_echo=$ac_try;;
3989esac
3990eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3991$as_echo "$ac_try_echo") >&5
3992  (eval "$ac_try") 2>&5
3993  ac_status=$?
3994  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995  (exit $ac_status); }; }; then
3996  :
3997else
3998  $as_echo "$as_me: program exited with status $ac_status" >&5
3999$as_echo "$as_me: failed program was:" >&5
4000sed 's/^/| /' conftest.$ac_ext >&5
4001
4002( exit $ac_status )
4003ac_cv_header_stdc=no
4004fi
4005rm -rf conftest.dSYM
4006rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4007fi
4008
4009
4010fi
4011fi
4012{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4013$as_echo "$ac_cv_header_stdc" >&6; }
4014if test $ac_cv_header_stdc = yes; then
4015
4016cat >>confdefs.h <<\_ACEOF
4017@%:@define STDC_HEADERS 1
4018_ACEOF
4019
4020fi
4021
4022# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4033		  inttypes.h stdint.h unistd.h
4034do
4035as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4036{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4037$as_echo_n "checking for $ac_header... " >&6; }
4038if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4039  $as_echo_n "(cached) " >&6
4040else
4041  cat >conftest.$ac_ext <<_ACEOF
4042/* confdefs.h.  */
4043_ACEOF
4044cat confdefs.h >>conftest.$ac_ext
4045cat >>conftest.$ac_ext <<_ACEOF
4046/* end confdefs.h.  */
4047$ac_includes_default
4048
4049@%:@include <$ac_header>
4050_ACEOF
4051rm -f conftest.$ac_objext
4052if { (ac_try="$ac_compile"
4053case "(($ac_try" in
4054  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4055  *) ac_try_echo=$ac_try;;
4056esac
4057eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4058$as_echo "$ac_try_echo") >&5
4059  (eval "$ac_compile") 2>conftest.er1
4060  ac_status=$?
4061  grep -v '^ *+' conftest.er1 >conftest.err
4062  rm -f conftest.er1
4063  cat conftest.err >&5
4064  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065  (exit $ac_status); } && {
4066	 test -z "$ac_c_werror_flag" ||
4067	 test ! -s conftest.err
4068       } && test -s conftest.$ac_objext; then
4069  eval "$as_ac_Header=yes"
4070else
4071  $as_echo "$as_me: failed program was:" >&5
4072sed 's/^/| /' conftest.$ac_ext >&5
4073
4074	eval "$as_ac_Header=no"
4075fi
4076
4077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4078fi
4079ac_res=`eval 'as_val=${'$as_ac_Header'}
4080		 $as_echo "$as_val"'`
4081	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4082$as_echo "$ac_res" >&6; }
4083as_val=`eval 'as_val=${'$as_ac_Header'}
4084		 $as_echo "$as_val"'`
4085   if test "x$as_val" = x""yes; then
4086  cat >>confdefs.h <<_ACEOF
4087@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4088_ACEOF
4089
4090fi
4091
4092done
4093
4094
4095
4096  if test "${ac_cv_header_minix_config_h+set}" = set; then
4097  { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4098$as_echo_n "checking for minix/config.h... " >&6; }
4099if test "${ac_cv_header_minix_config_h+set}" = set; then
4100  $as_echo_n "(cached) " >&6
4101fi
4102{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4103$as_echo "$ac_cv_header_minix_config_h" >&6; }
4104else
4105  # Is the header compilable?
4106{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4107$as_echo_n "checking minix/config.h usability... " >&6; }
4108cat >conftest.$ac_ext <<_ACEOF
4109/* confdefs.h.  */
4110_ACEOF
4111cat confdefs.h >>conftest.$ac_ext
4112cat >>conftest.$ac_ext <<_ACEOF
4113/* end confdefs.h.  */
4114$ac_includes_default
4115@%:@include <minix/config.h>
4116_ACEOF
4117rm -f conftest.$ac_objext
4118if { (ac_try="$ac_compile"
4119case "(($ac_try" in
4120  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4121  *) ac_try_echo=$ac_try;;
4122esac
4123eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4124$as_echo "$ac_try_echo") >&5
4125  (eval "$ac_compile") 2>conftest.er1
4126  ac_status=$?
4127  grep -v '^ *+' conftest.er1 >conftest.err
4128  rm -f conftest.er1
4129  cat conftest.err >&5
4130  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131  (exit $ac_status); } && {
4132	 test -z "$ac_c_werror_flag" ||
4133	 test ! -s conftest.err
4134       } && test -s conftest.$ac_objext; then
4135  ac_header_compiler=yes
4136else
4137  $as_echo "$as_me: failed program was:" >&5
4138sed 's/^/| /' conftest.$ac_ext >&5
4139
4140	ac_header_compiler=no
4141fi
4142
4143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4145$as_echo "$ac_header_compiler" >&6; }
4146
4147# Is the header present?
4148{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4149$as_echo_n "checking minix/config.h presence... " >&6; }
4150cat >conftest.$ac_ext <<_ACEOF
4151/* confdefs.h.  */
4152_ACEOF
4153cat confdefs.h >>conftest.$ac_ext
4154cat >>conftest.$ac_ext <<_ACEOF
4155/* end confdefs.h.  */
4156@%:@include <minix/config.h>
4157_ACEOF
4158if { (ac_try="$ac_cpp conftest.$ac_ext"
4159case "(($ac_try" in
4160  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161  *) ac_try_echo=$ac_try;;
4162esac
4163eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4164$as_echo "$ac_try_echo") >&5
4165  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4166  ac_status=$?
4167  grep -v '^ *+' conftest.er1 >conftest.err
4168  rm -f conftest.er1
4169  cat conftest.err >&5
4170  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171  (exit $ac_status); } >/dev/null && {
4172	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4173	 test ! -s conftest.err
4174       }; then
4175  ac_header_preproc=yes
4176else
4177  $as_echo "$as_me: failed program was:" >&5
4178sed 's/^/| /' conftest.$ac_ext >&5
4179
4180  ac_header_preproc=no
4181fi
4182
4183rm -f conftest.err conftest.$ac_ext
4184{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4185$as_echo "$ac_header_preproc" >&6; }
4186
4187# So?  What about this header?
4188case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4189  yes:no: )
4190    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4191$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4192    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4193$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4194    ac_header_preproc=yes
4195    ;;
4196  no:yes:* )
4197    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4198$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4199    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
4200$as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
4201    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4202$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4203    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
4204$as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
4205    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4206$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4207    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4208$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4209    ( cat <<\_ASBOX
4210@%:@@%:@ ----------------------------------------------- @%:@@%:@
4211@%:@@%:@ Report this to https://bugs.launchpad.net/unico @%:@@%:@
4212@%:@@%:@ ----------------------------------------------- @%:@@%:@
4213_ASBOX
4214     ) | sed "s/^/$as_me: WARNING:     /" >&2
4215    ;;
4216esac
4217{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4218$as_echo_n "checking for minix/config.h... " >&6; }
4219if test "${ac_cv_header_minix_config_h+set}" = set; then
4220  $as_echo_n "(cached) " >&6
4221else
4222  ac_cv_header_minix_config_h=$ac_header_preproc
4223fi
4224{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4225$as_echo "$ac_cv_header_minix_config_h" >&6; }
4226
4227fi
4228if test "x$ac_cv_header_minix_config_h" = x""yes; then
4229  MINIX=yes
4230else
4231  MINIX=
4232fi
4233
4234
4235  if test "$MINIX" = yes; then
4236
4237cat >>confdefs.h <<\_ACEOF
4238@%:@define _POSIX_SOURCE 1
4239_ACEOF
4240
4241
4242cat >>confdefs.h <<\_ACEOF
4243@%:@define _POSIX_1_SOURCE 2
4244_ACEOF
4245
4246
4247cat >>confdefs.h <<\_ACEOF
4248@%:@define _MINIX 1
4249_ACEOF
4250
4251  fi
4252
4253
4254
4255  { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4256$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4257if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4258  $as_echo_n "(cached) " >&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
4267#	  define __EXTENSIONS__ 1
4268	  $ac_includes_default
4269int
4270main ()
4271{
4272
4273  ;
4274  return 0;
4275}
4276_ACEOF
4277rm -f conftest.$ac_objext
4278if { (ac_try="$ac_compile"
4279case "(($ac_try" in
4280  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4281  *) ac_try_echo=$ac_try;;
4282esac
4283eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4284$as_echo "$ac_try_echo") >&5
4285  (eval "$ac_compile") 2>conftest.er1
4286  ac_status=$?
4287  grep -v '^ *+' conftest.er1 >conftest.err
4288  rm -f conftest.er1
4289  cat conftest.err >&5
4290  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291  (exit $ac_status); } && {
4292	 test -z "$ac_c_werror_flag" ||
4293	 test ! -s conftest.err
4294       } && test -s conftest.$ac_objext; then
4295  ac_cv_safe_to_define___extensions__=yes
4296else
4297  $as_echo "$as_me: failed program was:" >&5
4298sed 's/^/| /' conftest.$ac_ext >&5
4299
4300	ac_cv_safe_to_define___extensions__=no
4301fi
4302
4303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304fi
4305{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4306$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4307  test $ac_cv_safe_to_define___extensions__ = yes &&
4308    cat >>confdefs.h <<\_ACEOF
4309@%:@define __EXTENSIONS__ 1
4310_ACEOF
4311
4312  cat >>confdefs.h <<\_ACEOF
4313@%:@define _ALL_SOURCE 1
4314_ACEOF
4315
4316  cat >>confdefs.h <<\_ACEOF
4317@%:@define _GNU_SOURCE 1
4318_ACEOF
4319
4320  cat >>confdefs.h <<\_ACEOF
4321@%:@define _POSIX_PTHREAD_SEMANTICS 1
4322_ACEOF
4323
4324  cat >>confdefs.h <<\_ACEOF
4325@%:@define _TANDEM_SOURCE 1
4326_ACEOF
4327
4328
4329ac_ext=c
4330ac_cpp='$CPP $CPPFLAGS'
4331ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4332ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4333ac_compiler_gnu=$ac_cv_c_compiler_gnu
4334if test -n "$ac_tool_prefix"; then
4335  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4336set dummy ${ac_tool_prefix}gcc; ac_word=$2
4337{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4338$as_echo_n "checking for $ac_word... " >&6; }
4339if test "${ac_cv_prog_CC+set}" = set; then
4340  $as_echo_n "(cached) " >&6
4341else
4342  if test -n "$CC"; then
4343  ac_cv_prog_CC="$CC" # Let the user override the test.
4344else
4345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346for as_dir in $PATH
4347do
4348  IFS=$as_save_IFS
4349  test -z "$as_dir" && as_dir=.
4350  for ac_exec_ext in '' $ac_executable_extensions; do
4351  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4352    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4353    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4354    break 2
4355  fi
4356done
4357done
4358IFS=$as_save_IFS
4359
4360fi
4361fi
4362CC=$ac_cv_prog_CC
4363if test -n "$CC"; then
4364  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4365$as_echo "$CC" >&6; }
4366else
4367  { $as_echo "$as_me:$LINENO: result: no" >&5
4368$as_echo "no" >&6; }
4369fi
4370
4371
4372fi
4373if test -z "$ac_cv_prog_CC"; then
4374  ac_ct_CC=$CC
4375  # Extract the first word of "gcc", so it can be a program name with args.
4376set dummy gcc; ac_word=$2
4377{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4378$as_echo_n "checking for $ac_word... " >&6; }
4379if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4380  $as_echo_n "(cached) " >&6
4381else
4382  if test -n "$ac_ct_CC"; then
4383  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4384else
4385as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386for as_dir in $PATH
4387do
4388  IFS=$as_save_IFS
4389  test -z "$as_dir" && as_dir=.
4390  for ac_exec_ext in '' $ac_executable_extensions; do
4391  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4392    ac_cv_prog_ac_ct_CC="gcc"
4393    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4394    break 2
4395  fi
4396done
4397done
4398IFS=$as_save_IFS
4399
4400fi
4401fi
4402ac_ct_CC=$ac_cv_prog_ac_ct_CC
4403if test -n "$ac_ct_CC"; then
4404  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4405$as_echo "$ac_ct_CC" >&6; }
4406else
4407  { $as_echo "$as_me:$LINENO: result: no" >&5
4408$as_echo "no" >&6; }
4409fi
4410
4411  if test "x$ac_ct_CC" = x; then
4412    CC=""
4413  else
4414    case $cross_compiling:$ac_tool_warned in
4415yes:)
4416{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4417$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4418ac_tool_warned=yes ;;
4419esac
4420    CC=$ac_ct_CC
4421  fi
4422else
4423  CC="$ac_cv_prog_CC"
4424fi
4425
4426if test -z "$CC"; then
4427          if test -n "$ac_tool_prefix"; then
4428    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4429set dummy ${ac_tool_prefix}cc; ac_word=$2
4430{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4431$as_echo_n "checking for $ac_word... " >&6; }
4432if test "${ac_cv_prog_CC+set}" = set; then
4433  $as_echo_n "(cached) " >&6
4434else
4435  if test -n "$CC"; then
4436  ac_cv_prog_CC="$CC" # Let the user override the test.
4437else
4438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439for as_dir in $PATH
4440do
4441  IFS=$as_save_IFS
4442  test -z "$as_dir" && as_dir=.
4443  for ac_exec_ext in '' $ac_executable_extensions; do
4444  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4445    ac_cv_prog_CC="${ac_tool_prefix}cc"
4446    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4447    break 2
4448  fi
4449done
4450done
4451IFS=$as_save_IFS
4452
4453fi
4454fi
4455CC=$ac_cv_prog_CC
4456if test -n "$CC"; then
4457  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4458$as_echo "$CC" >&6; }
4459else
4460  { $as_echo "$as_me:$LINENO: result: no" >&5
4461$as_echo "no" >&6; }
4462fi
4463
4464
4465  fi
4466fi
4467if test -z "$CC"; then
4468  # Extract the first word of "cc", so it can be a program name with args.
4469set dummy cc; ac_word=$2
4470{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4471$as_echo_n "checking for $ac_word... " >&6; }
4472if test "${ac_cv_prog_CC+set}" = set; then
4473  $as_echo_n "(cached) " >&6
4474else
4475  if test -n "$CC"; then
4476  ac_cv_prog_CC="$CC" # Let the user override the test.
4477else
4478  ac_prog_rejected=no
4479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480for as_dir in $PATH
4481do
4482  IFS=$as_save_IFS
4483  test -z "$as_dir" && as_dir=.
4484  for ac_exec_ext in '' $ac_executable_extensions; do
4485  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4486    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4487       ac_prog_rejected=yes
4488       continue
4489     fi
4490    ac_cv_prog_CC="cc"
4491    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4492    break 2
4493  fi
4494done
4495done
4496IFS=$as_save_IFS
4497
4498if test $ac_prog_rejected = yes; then
4499  # We found a bogon in the path, so make sure we never use it.
4500  set dummy $ac_cv_prog_CC
4501  shift
4502  if test $@%:@ != 0; then
4503    # We chose a different compiler from the bogus one.
4504    # However, it has the same basename, so the bogon will be chosen
4505    # first if we set CC to just the basename; use the full file name.
4506    shift
4507    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4508  fi
4509fi
4510fi
4511fi
4512CC=$ac_cv_prog_CC
4513if test -n "$CC"; then
4514  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4515$as_echo "$CC" >&6; }
4516else
4517  { $as_echo "$as_me:$LINENO: result: no" >&5
4518$as_echo "no" >&6; }
4519fi
4520
4521
4522fi
4523if test -z "$CC"; then
4524  if test -n "$ac_tool_prefix"; then
4525  for ac_prog in cl.exe
4526  do
4527    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4528set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4529{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4530$as_echo_n "checking for $ac_word... " >&6; }
4531if test "${ac_cv_prog_CC+set}" = set; then
4532  $as_echo_n "(cached) " >&6
4533else
4534  if test -n "$CC"; then
4535  ac_cv_prog_CC="$CC" # Let the user override the test.
4536else
4537as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4538for as_dir in $PATH
4539do
4540  IFS=$as_save_IFS
4541  test -z "$as_dir" && as_dir=.
4542  for ac_exec_ext in '' $ac_executable_extensions; do
4543  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4544    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4545    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4546    break 2
4547  fi
4548done
4549done
4550IFS=$as_save_IFS
4551
4552fi
4553fi
4554CC=$ac_cv_prog_CC
4555if test -n "$CC"; then
4556  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4557$as_echo "$CC" >&6; }
4558else
4559  { $as_echo "$as_me:$LINENO: result: no" >&5
4560$as_echo "no" >&6; }
4561fi
4562
4563
4564    test -n "$CC" && break
4565  done
4566fi
4567if test -z "$CC"; then
4568  ac_ct_CC=$CC
4569  for ac_prog in cl.exe
4570do
4571  # Extract the first word of "$ac_prog", so it can be a program name with args.
4572set dummy $ac_prog; ac_word=$2
4573{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4574$as_echo_n "checking for $ac_word... " >&6; }
4575if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4576  $as_echo_n "(cached) " >&6
4577else
4578  if test -n "$ac_ct_CC"; then
4579  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4580else
4581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582for as_dir in $PATH
4583do
4584  IFS=$as_save_IFS
4585  test -z "$as_dir" && as_dir=.
4586  for ac_exec_ext in '' $ac_executable_extensions; do
4587  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4588    ac_cv_prog_ac_ct_CC="$ac_prog"
4589    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4590    break 2
4591  fi
4592done
4593done
4594IFS=$as_save_IFS
4595
4596fi
4597fi
4598ac_ct_CC=$ac_cv_prog_ac_ct_CC
4599if test -n "$ac_ct_CC"; then
4600  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4601$as_echo "$ac_ct_CC" >&6; }
4602else
4603  { $as_echo "$as_me:$LINENO: result: no" >&5
4604$as_echo "no" >&6; }
4605fi
4606
4607
4608  test -n "$ac_ct_CC" && break
4609done
4610
4611  if test "x$ac_ct_CC" = x; then
4612    CC=""
4613  else
4614    case $cross_compiling:$ac_tool_warned in
4615yes:)
4616{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4617$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4618ac_tool_warned=yes ;;
4619esac
4620    CC=$ac_ct_CC
4621  fi
4622fi
4623
4624fi
4625
4626
4627test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4628$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4629{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4630See \`config.log' for more details." >&5
4631$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4632See \`config.log' for more details." >&2;}
4633   { (exit 1); exit 1; }; }; }
4634
4635# Provide some information about the compiler.
4636$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4637set X $ac_compile
4638ac_compiler=$2
4639{ (ac_try="$ac_compiler --version >&5"
4640case "(($ac_try" in
4641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4642  *) ac_try_echo=$ac_try;;
4643esac
4644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4645$as_echo "$ac_try_echo") >&5
4646  (eval "$ac_compiler --version >&5") 2>&5
4647  ac_status=$?
4648  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649  (exit $ac_status); }
4650{ (ac_try="$ac_compiler -v >&5"
4651case "(($ac_try" in
4652  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4653  *) ac_try_echo=$ac_try;;
4654esac
4655eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4656$as_echo "$ac_try_echo") >&5
4657  (eval "$ac_compiler -v >&5") 2>&5
4658  ac_status=$?
4659  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660  (exit $ac_status); }
4661{ (ac_try="$ac_compiler -V >&5"
4662case "(($ac_try" in
4663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4664  *) ac_try_echo=$ac_try;;
4665esac
4666eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4667$as_echo "$ac_try_echo") >&5
4668  (eval "$ac_compiler -V >&5") 2>&5
4669  ac_status=$?
4670  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671  (exit $ac_status); }
4672
4673{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4674$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4675if test "${ac_cv_c_compiler_gnu+set}" = set; then
4676  $as_echo_n "(cached) " >&6
4677else
4678  cat >conftest.$ac_ext <<_ACEOF
4679/* confdefs.h.  */
4680_ACEOF
4681cat confdefs.h >>conftest.$ac_ext
4682cat >>conftest.$ac_ext <<_ACEOF
4683/* end confdefs.h.  */
4684
4685int
4686main ()
4687{
4688#ifndef __GNUC__
4689       choke me
4690#endif
4691
4692  ;
4693  return 0;
4694}
4695_ACEOF
4696rm -f conftest.$ac_objext
4697if { (ac_try="$ac_compile"
4698case "(($ac_try" in
4699  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4700  *) ac_try_echo=$ac_try;;
4701esac
4702eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4703$as_echo "$ac_try_echo") >&5
4704  (eval "$ac_compile") 2>conftest.er1
4705  ac_status=$?
4706  grep -v '^ *+' conftest.er1 >conftest.err
4707  rm -f conftest.er1
4708  cat conftest.err >&5
4709  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710  (exit $ac_status); } && {
4711	 test -z "$ac_c_werror_flag" ||
4712	 test ! -s conftest.err
4713       } && test -s conftest.$ac_objext; then
4714  ac_compiler_gnu=yes
4715else
4716  $as_echo "$as_me: failed program was:" >&5
4717sed 's/^/| /' conftest.$ac_ext >&5
4718
4719	ac_compiler_gnu=no
4720fi
4721
4722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723ac_cv_c_compiler_gnu=$ac_compiler_gnu
4724
4725fi
4726{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4727$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4728if test $ac_compiler_gnu = yes; then
4729  GCC=yes
4730else
4731  GCC=
4732fi
4733ac_test_CFLAGS=${CFLAGS+set}
4734ac_save_CFLAGS=$CFLAGS
4735{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4736$as_echo_n "checking whether $CC accepts -g... " >&6; }
4737if test "${ac_cv_prog_cc_g+set}" = set; then
4738  $as_echo_n "(cached) " >&6
4739else
4740  ac_save_c_werror_flag=$ac_c_werror_flag
4741   ac_c_werror_flag=yes
4742   ac_cv_prog_cc_g=no
4743   CFLAGS="-g"
4744   cat >conftest.$ac_ext <<_ACEOF
4745/* confdefs.h.  */
4746_ACEOF
4747cat confdefs.h >>conftest.$ac_ext
4748cat >>conftest.$ac_ext <<_ACEOF
4749/* end confdefs.h.  */
4750
4751int
4752main ()
4753{
4754
4755  ;
4756  return 0;
4757}
4758_ACEOF
4759rm -f conftest.$ac_objext
4760if { (ac_try="$ac_compile"
4761case "(($ac_try" in
4762  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4763  *) ac_try_echo=$ac_try;;
4764esac
4765eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4766$as_echo "$ac_try_echo") >&5
4767  (eval "$ac_compile") 2>conftest.er1
4768  ac_status=$?
4769  grep -v '^ *+' conftest.er1 >conftest.err
4770  rm -f conftest.er1
4771  cat conftest.err >&5
4772  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773  (exit $ac_status); } && {
4774	 test -z "$ac_c_werror_flag" ||
4775	 test ! -s conftest.err
4776       } && test -s conftest.$ac_objext; then
4777  ac_cv_prog_cc_g=yes
4778else
4779  $as_echo "$as_me: failed program was:" >&5
4780sed 's/^/| /' conftest.$ac_ext >&5
4781
4782	CFLAGS=""
4783      cat >conftest.$ac_ext <<_ACEOF
4784/* confdefs.h.  */
4785_ACEOF
4786cat confdefs.h >>conftest.$ac_ext
4787cat >>conftest.$ac_ext <<_ACEOF
4788/* end confdefs.h.  */
4789
4790int
4791main ()
4792{
4793
4794  ;
4795  return 0;
4796}
4797_ACEOF
4798rm -f conftest.$ac_objext
4799if { (ac_try="$ac_compile"
4800case "(($ac_try" in
4801  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4802  *) ac_try_echo=$ac_try;;
4803esac
4804eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4805$as_echo "$ac_try_echo") >&5
4806  (eval "$ac_compile") 2>conftest.er1
4807  ac_status=$?
4808  grep -v '^ *+' conftest.er1 >conftest.err
4809  rm -f conftest.er1
4810  cat conftest.err >&5
4811  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812  (exit $ac_status); } && {
4813	 test -z "$ac_c_werror_flag" ||
4814	 test ! -s conftest.err
4815       } && test -s conftest.$ac_objext; then
4816  :
4817else
4818  $as_echo "$as_me: failed program was:" >&5
4819sed 's/^/| /' conftest.$ac_ext >&5
4820
4821	ac_c_werror_flag=$ac_save_c_werror_flag
4822	 CFLAGS="-g"
4823	 cat >conftest.$ac_ext <<_ACEOF
4824/* confdefs.h.  */
4825_ACEOF
4826cat confdefs.h >>conftest.$ac_ext
4827cat >>conftest.$ac_ext <<_ACEOF
4828/* end confdefs.h.  */
4829
4830int
4831main ()
4832{
4833
4834  ;
4835  return 0;
4836}
4837_ACEOF
4838rm -f conftest.$ac_objext
4839if { (ac_try="$ac_compile"
4840case "(($ac_try" in
4841  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842  *) ac_try_echo=$ac_try;;
4843esac
4844eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4845$as_echo "$ac_try_echo") >&5
4846  (eval "$ac_compile") 2>conftest.er1
4847  ac_status=$?
4848  grep -v '^ *+' conftest.er1 >conftest.err
4849  rm -f conftest.er1
4850  cat conftest.err >&5
4851  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852  (exit $ac_status); } && {
4853	 test -z "$ac_c_werror_flag" ||
4854	 test ! -s conftest.err
4855       } && test -s conftest.$ac_objext; then
4856  ac_cv_prog_cc_g=yes
4857else
4858  $as_echo "$as_me: failed program was:" >&5
4859sed 's/^/| /' conftest.$ac_ext >&5
4860
4861
4862fi
4863
4864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4865fi
4866
4867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868fi
4869
4870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4871   ac_c_werror_flag=$ac_save_c_werror_flag
4872fi
4873{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4874$as_echo "$ac_cv_prog_cc_g" >&6; }
4875if test "$ac_test_CFLAGS" = set; then
4876  CFLAGS=$ac_save_CFLAGS
4877elif test $ac_cv_prog_cc_g = yes; then
4878  if test "$GCC" = yes; then
4879    CFLAGS="-g -O2"
4880  else
4881    CFLAGS="-g"
4882  fi
4883else
4884  if test "$GCC" = yes; then
4885    CFLAGS="-O2"
4886  else
4887    CFLAGS=
4888  fi
4889fi
4890{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4891$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4892if test "${ac_cv_prog_cc_c89+set}" = set; then
4893  $as_echo_n "(cached) " >&6
4894else
4895  ac_cv_prog_cc_c89=no
4896ac_save_CC=$CC
4897cat >conftest.$ac_ext <<_ACEOF
4898/* confdefs.h.  */
4899_ACEOF
4900cat confdefs.h >>conftest.$ac_ext
4901cat >>conftest.$ac_ext <<_ACEOF
4902/* end confdefs.h.  */
4903#include <stdarg.h>
4904#include <stdio.h>
4905#include <sys/types.h>
4906#include <sys/stat.h>
4907/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4908struct buf { int x; };
4909FILE * (*rcsopen) (struct buf *, struct stat *, int);
4910static char *e (p, i)
4911     char **p;
4912     int i;
4913{
4914  return p[i];
4915}
4916static char *f (char * (*g) (char **, int), char **p, ...)
4917{
4918  char *s;
4919  va_list v;
4920  va_start (v,p);
4921  s = g (p, va_arg (v,int));
4922  va_end (v);
4923  return s;
4924}
4925
4926/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4927   function prototypes and stuff, but not '\xHH' hex character constants.
4928   These don't provoke an error unfortunately, instead are silently treated
4929   as 'x'.  The following induces an error, until -std is added to get
4930   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4931   array size at least.  It's necessary to write '\x00'==0 to get something
4932   that's true only with -std.  */
4933int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4934
4935/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4936   inside strings and character constants.  */
4937#define FOO(x) 'x'
4938int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4939
4940int test (int i, double x);
4941struct s1 {int (*f) (int a);};
4942struct s2 {int (*f) (double a);};
4943int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4944int argc;
4945char **argv;
4946int
4947main ()
4948{
4949return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4950  ;
4951  return 0;
4952}
4953_ACEOF
4954for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4955	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4956do
4957  CC="$ac_save_CC $ac_arg"
4958  rm -f conftest.$ac_objext
4959if { (ac_try="$ac_compile"
4960case "(($ac_try" in
4961  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4962  *) ac_try_echo=$ac_try;;
4963esac
4964eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4965$as_echo "$ac_try_echo") >&5
4966  (eval "$ac_compile") 2>conftest.er1
4967  ac_status=$?
4968  grep -v '^ *+' conftest.er1 >conftest.err
4969  rm -f conftest.er1
4970  cat conftest.err >&5
4971  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972  (exit $ac_status); } && {
4973	 test -z "$ac_c_werror_flag" ||
4974	 test ! -s conftest.err
4975       } && test -s conftest.$ac_objext; then
4976  ac_cv_prog_cc_c89=$ac_arg
4977else
4978  $as_echo "$as_me: failed program was:" >&5
4979sed 's/^/| /' conftest.$ac_ext >&5
4980
4981
4982fi
4983
4984rm -f core conftest.err conftest.$ac_objext
4985  test "x$ac_cv_prog_cc_c89" != "xno" && break
4986done
4987rm -f conftest.$ac_ext
4988CC=$ac_save_CC
4989
4990fi
4991# AC_CACHE_VAL
4992case "x$ac_cv_prog_cc_c89" in
4993  x)
4994    { $as_echo "$as_me:$LINENO: result: none needed" >&5
4995$as_echo "none needed" >&6; } ;;
4996  xno)
4997    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4998$as_echo "unsupported" >&6; } ;;
4999  *)
5000    CC="$CC $ac_cv_prog_cc_c89"
5001    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5002$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5003esac
5004
5005
5006ac_ext=c
5007ac_cpp='$CPP $CPPFLAGS'
5008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5010ac_compiler_gnu=$ac_cv_c_compiler_gnu
5011
5012depcc="$CC"   am_compiler_list=
5013
5014{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5015$as_echo_n "checking dependency style of $depcc... " >&6; }
5016if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5017  $as_echo_n "(cached) " >&6
5018else
5019  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5020  # We make a subdir and do the tests there.  Otherwise we can end up
5021  # making bogus files that we don't know about and never remove.  For
5022  # instance it was reported that on HP-UX the gcc test will end up
5023  # making a dummy file named `D' -- because `-MD' means `put the output
5024  # in D'.
5025  mkdir conftest.dir
5026  # Copy depcomp to subdir because otherwise we won't find it if we're
5027  # using a relative directory.
5028  cp "$am_depcomp" conftest.dir
5029  cd conftest.dir
5030  # We will build objects and dependencies in a subdirectory because
5031  # it helps to detect inapplicable dependency modes.  For instance
5032  # both Tru64's cc and ICC support -MD to output dependencies as a
5033  # side effect of compilation, but ICC will put the dependencies in
5034  # the current directory while Tru64 will put them in the object
5035  # directory.
5036  mkdir sub
5037
5038  am_cv_CC_dependencies_compiler_type=none
5039  if test "$am_compiler_list" = ""; then
5040     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5041  fi
5042  for depmode in $am_compiler_list; do
5043    # Setup a source with many dependencies, because some compilers
5044    # like to wrap large dependency lists on column 80 (with \), and
5045    # we should not choose a depcomp mode which is confused by this.
5046    #
5047    # We need to recreate these files for each test, as the compiler may
5048    # overwrite some of them when testing with obscure command lines.
5049    # This happens at least with the AIX C compiler.
5050    : > sub/conftest.c
5051    for i in 1 2 3 4 5 6; do
5052      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5053      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5054      # Solaris 8's {/usr,}/bin/sh.
5055      touch sub/conftst$i.h
5056    done
5057    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5058
5059    case $depmode in
5060    nosideeffect)
5061      # after this tag, mechanisms are not by side-effect, so they'll
5062      # only be used when explicitly requested
5063      if test "x$enable_dependency_tracking" = xyes; then
5064	continue
5065      else
5066	break
5067      fi
5068      ;;
5069    none) break ;;
5070    esac
5071    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5072    # mode.  It turns out that the SunPro C++ compiler does not properly
5073    # handle `-M -o', and we need to detect this.
5074    if depmode=$depmode \
5075       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5076       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5077       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5078         >/dev/null 2>conftest.err &&
5079       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5080       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5081       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5082      # icc doesn't choke on unknown options, it will just issue warnings
5083      # or remarks (even with -Werror).  So we grep stderr for any message
5084      # that says an option was ignored or not supported.
5085      # When given -MP, icc 7.0 and 7.1 complain thusly:
5086      #   icc: Command line warning: ignoring option '-M'; no argument required
5087      # The diagnosis changed in icc 8.0:
5088      #   icc: Command line remark: option '-MP' not supported
5089      if (grep 'ignoring option' conftest.err ||
5090          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5091        am_cv_CC_dependencies_compiler_type=$depmode
5092        break
5093      fi
5094    fi
5095  done
5096
5097  cd ..
5098  rm -rf conftest.dir
5099else
5100  am_cv_CC_dependencies_compiler_type=none
5101fi
5102
5103fi
5104{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5105$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5106CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5107
5108
5109
5110if
5111  test "x$enable_dependency_tracking" != xno \
5112  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5113  am__fastdepCC_TRUE=
5114  am__fastdepCC_FALSE='#'
5115else
5116  am__fastdepCC_TRUE='#'
5117  am__fastdepCC_FALSE=
5118fi
5119
5120
5121if test "x$CC" != xcc; then
5122  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
5123$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5124else
5125  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
5126$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5127fi
5128set dummy $CC; ac_cc=`$as_echo "$2" |
5129		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5130if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
5131  $as_echo_n "(cached) " >&6
5132else
5133  cat >conftest.$ac_ext <<_ACEOF
5134/* confdefs.h.  */
5135_ACEOF
5136cat confdefs.h >>conftest.$ac_ext
5137cat >>conftest.$ac_ext <<_ACEOF
5138/* end confdefs.h.  */
5139
5140int
5141main ()
5142{
5143
5144  ;
5145  return 0;
5146}
5147_ACEOF
5148# Make sure it works both with $CC and with simple cc.
5149# We do the test twice because some compilers refuse to overwrite an
5150# existing .o file with -o, though they will create one.
5151ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5152rm -f conftest2.*
5153if { (case "(($ac_try" in
5154  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5155  *) ac_try_echo=$ac_try;;
5156esac
5157eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5158$as_echo "$ac_try_echo") >&5
5159  (eval "$ac_try") 2>&5
5160  ac_status=$?
5161  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162  (exit $ac_status); } &&
5163   test -f conftest2.$ac_objext && { (case "(($ac_try" in
5164  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5165  *) ac_try_echo=$ac_try;;
5166esac
5167eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5168$as_echo "$ac_try_echo") >&5
5169  (eval "$ac_try") 2>&5
5170  ac_status=$?
5171  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172  (exit $ac_status); };
5173then
5174  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5175  if test "x$CC" != xcc; then
5176    # Test first that cc exists at all.
5177    if { ac_try='cc -c conftest.$ac_ext >&5'
5178  { (case "(($ac_try" in
5179  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5180  *) ac_try_echo=$ac_try;;
5181esac
5182eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5183$as_echo "$ac_try_echo") >&5
5184  (eval "$ac_try") 2>&5
5185  ac_status=$?
5186  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187  (exit $ac_status); }; }; then
5188      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5189      rm -f conftest2.*
5190      if { (case "(($ac_try" in
5191  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5192  *) ac_try_echo=$ac_try;;
5193esac
5194eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5195$as_echo "$ac_try_echo") >&5
5196  (eval "$ac_try") 2>&5
5197  ac_status=$?
5198  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199  (exit $ac_status); } &&
5200	 test -f conftest2.$ac_objext && { (case "(($ac_try" in
5201  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5202  *) ac_try_echo=$ac_try;;
5203esac
5204eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5205$as_echo "$ac_try_echo") >&5
5206  (eval "$ac_try") 2>&5
5207  ac_status=$?
5208  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209  (exit $ac_status); };
5210      then
5211	# cc works too.
5212	:
5213      else
5214	# cc exists but doesn't like -o.
5215	eval ac_cv_prog_cc_${ac_cc}_c_o=no
5216      fi
5217    fi
5218  fi
5219else
5220  eval ac_cv_prog_cc_${ac_cc}_c_o=no
5221fi
5222rm -f core conftest*
5223
5224fi
5225if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5226  { $as_echo "$as_me:$LINENO: result: yes" >&5
5227$as_echo "yes" >&6; }
5228else
5229  { $as_echo "$as_me:$LINENO: result: no" >&5
5230$as_echo "no" >&6; }
5231
5232cat >>confdefs.h <<\_ACEOF
5233@%:@define NO_MINUS_C_MINUS_O 1
5234_ACEOF
5235
5236fi
5237
5238# FIXME: we rely on the cache variable name because
5239# there is no other way.
5240set dummy $CC
5241ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5242if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
5243   # Losing compiler, so override with the script.
5244   # FIXME: It is wrong to rewrite CC.
5245   # But if we don't then we get into trouble of one sort or another.
5246   # A longer-term fix would be to have automake use am__CC in this case,
5247   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5248   CC="$am_aux_dir/compile $CC"
5249fi
5250
5251case `pwd` in
5252  *\ * | *\	*)
5253    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5254$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5255esac
5256
5257
5258
5259macro_version='2.4.2'
5260macro_revision='1.3337'
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274ltmain="$ac_aux_dir/ltmain.sh"
5275
5276# Make sure we can run config.sub.
5277$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5278  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5279$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5280   { (exit 1); exit 1; }; }
5281
5282{ $as_echo "$as_me:$LINENO: checking build system type" >&5
5283$as_echo_n "checking build system type... " >&6; }
5284if test "${ac_cv_build+set}" = set; then
5285  $as_echo_n "(cached) " >&6
5286else
5287  ac_build_alias=$build_alias
5288test "x$ac_build_alias" = x &&
5289  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5290test "x$ac_build_alias" = x &&
5291  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5292$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5293   { (exit 1); exit 1; }; }
5294ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5295  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5296$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5297   { (exit 1); exit 1; }; }
5298
5299fi
5300{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5301$as_echo "$ac_cv_build" >&6; }
5302case $ac_cv_build in
5303*-*-*) ;;
5304*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5305$as_echo "$as_me: error: invalid value of canonical build" >&2;}
5306   { (exit 1); exit 1; }; };;
5307esac
5308build=$ac_cv_build
5309ac_save_IFS=$IFS; IFS='-'
5310set x $ac_cv_build
5311shift
5312build_cpu=$1
5313build_vendor=$2
5314shift; shift
5315# Remember, the first character of IFS is used to create $*,
5316# except with old shells:
5317build_os=$*
5318IFS=$ac_save_IFS
5319case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5320
5321
5322{ $as_echo "$as_me:$LINENO: checking host system type" >&5
5323$as_echo_n "checking host system type... " >&6; }
5324if test "${ac_cv_host+set}" = set; then
5325  $as_echo_n "(cached) " >&6
5326else
5327  if test "x$host_alias" = x; then
5328  ac_cv_host=$ac_cv_build
5329else
5330  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5331    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5332$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5333   { (exit 1); exit 1; }; }
5334fi
5335
5336fi
5337{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5338$as_echo "$ac_cv_host" >&6; }
5339case $ac_cv_host in
5340*-*-*) ;;
5341*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5342$as_echo "$as_me: error: invalid value of canonical host" >&2;}
5343   { (exit 1); exit 1; }; };;
5344esac
5345host=$ac_cv_host
5346ac_save_IFS=$IFS; IFS='-'
5347set x $ac_cv_host
5348shift
5349host_cpu=$1
5350host_vendor=$2
5351shift; shift
5352# Remember, the first character of IFS is used to create $*,
5353# except with old shells:
5354host_os=$*
5355IFS=$ac_save_IFS
5356case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5357
5358
5359# Backslashify metacharacters that are still active within
5360# double-quoted strings.
5361sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5362
5363# Same as above, but do not quote variable references.
5364double_quote_subst='s/\(["`\\]\)/\\\1/g'
5365
5366# Sed substitution to delay expansion of an escaped shell variable in a
5367# double_quote_subst'ed string.
5368delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5369
5370# Sed substitution to delay expansion of an escaped single quote.
5371delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5372
5373# Sed substitution to avoid accidental globbing in evaled expressions
5374no_glob_subst='s/\*/\\\*/g'
5375
5376ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5377ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5378ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5379
5380{ $as_echo "$as_me:$LINENO: checking how to print strings" >&5
5381$as_echo_n "checking how to print strings... " >&6; }
5382# Test print first, because it will be a builtin if present.
5383if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5384   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5385  ECHO='print -r --'
5386elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5387  ECHO='printf %s\n'
5388else
5389  # Use this function as a fallback that always works.
5390  func_fallback_echo ()
5391  {
5392    eval 'cat <<_LTECHO_EOF
5393$1
5394_LTECHO_EOF'
5395  }
5396  ECHO='func_fallback_echo'
5397fi
5398
5399# func_echo_all arg...
5400# Invoke $ECHO with all args, space-separated.
5401func_echo_all ()
5402{
5403    $ECHO ""
5404}
5405
5406case "$ECHO" in
5407  printf*) { $as_echo "$as_me:$LINENO: result: printf" >&5
5408$as_echo "printf" >&6; } ;;
5409  print*) { $as_echo "$as_me:$LINENO: result: print -r" >&5
5410$as_echo "print -r" >&6; } ;;
5411  *) { $as_echo "$as_me:$LINENO: result: cat" >&5
5412$as_echo "cat" >&6; } ;;
5413esac
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5429$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5430if test "${ac_cv_path_SED+set}" = set; then
5431  $as_echo_n "(cached) " >&6
5432else
5433            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5434     for ac_i in 1 2 3 4 5 6 7; do
5435       ac_script="$ac_script$as_nl$ac_script"
5436     done
5437     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5438     $as_unset ac_script || ac_script=
5439     if test -z "$SED"; then
5440  ac_path_SED_found=false
5441  # Loop through the user's path and test for each of PROGNAME-LIST
5442  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443for as_dir in $PATH
5444do
5445  IFS=$as_save_IFS
5446  test -z "$as_dir" && as_dir=.
5447  for ac_prog in sed gsed; do
5448    for ac_exec_ext in '' $ac_executable_extensions; do
5449      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5450      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5451# Check for GNU ac_path_SED and select it if it is found.
5452  # Check for GNU $ac_path_SED
5453case `"$ac_path_SED" --version 2>&1` in
5454*GNU*)
5455  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5456*)
5457  ac_count=0
5458  $as_echo_n 0123456789 >"conftest.in"
5459  while :
5460  do
5461    cat "conftest.in" "conftest.in" >"conftest.tmp"
5462    mv "conftest.tmp" "conftest.in"
5463    cp "conftest.in" "conftest.nl"
5464    $as_echo '' >> "conftest.nl"
5465    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5466    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5467    ac_count=`expr $ac_count + 1`
5468    if test $ac_count -gt ${ac_path_SED_max-0}; then
5469      # Best one so far, save it but keep looking for a better one
5470      ac_cv_path_SED="$ac_path_SED"
5471      ac_path_SED_max=$ac_count
5472    fi
5473    # 10*(2^10) chars as input seems more than enough
5474    test $ac_count -gt 10 && break
5475  done
5476  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5477esac
5478
5479      $ac_path_SED_found && break 3
5480    done
5481  done
5482done
5483IFS=$as_save_IFS
5484  if test -z "$ac_cv_path_SED"; then
5485    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5486$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5487   { (exit 1); exit 1; }; }
5488  fi
5489else
5490  ac_cv_path_SED=$SED
5491fi
5492
5493fi
5494{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5495$as_echo "$ac_cv_path_SED" >&6; }
5496 SED="$ac_cv_path_SED"
5497  rm -f conftest.sed
5498
5499test -z "$SED" && SED=sed
5500Xsed="$SED -e 1s/^X//"
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5513$as_echo_n "checking for fgrep... " >&6; }
5514if test "${ac_cv_path_FGREP+set}" = set; then
5515  $as_echo_n "(cached) " >&6
5516else
5517  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5518   then ac_cv_path_FGREP="$GREP -F"
5519   else
5520     if test -z "$FGREP"; then
5521  ac_path_FGREP_found=false
5522  # Loop through the user's path and test for each of PROGNAME-LIST
5523  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5525do
5526  IFS=$as_save_IFS
5527  test -z "$as_dir" && as_dir=.
5528  for ac_prog in fgrep; do
5529    for ac_exec_ext in '' $ac_executable_extensions; do
5530      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5531      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5532# Check for GNU ac_path_FGREP and select it if it is found.
5533  # Check for GNU $ac_path_FGREP
5534case `"$ac_path_FGREP" --version 2>&1` in
5535*GNU*)
5536  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5537*)
5538  ac_count=0
5539  $as_echo_n 0123456789 >"conftest.in"
5540  while :
5541  do
5542    cat "conftest.in" "conftest.in" >"conftest.tmp"
5543    mv "conftest.tmp" "conftest.in"
5544    cp "conftest.in" "conftest.nl"
5545    $as_echo 'FGREP' >> "conftest.nl"
5546    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5547    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5548    ac_count=`expr $ac_count + 1`
5549    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5550      # Best one so far, save it but keep looking for a better one
5551      ac_cv_path_FGREP="$ac_path_FGREP"
5552      ac_path_FGREP_max=$ac_count
5553    fi
5554    # 10*(2^10) chars as input seems more than enough
5555    test $ac_count -gt 10 && break
5556  done
5557  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5558esac
5559
5560      $ac_path_FGREP_found && break 3
5561    done
5562  done
5563done
5564IFS=$as_save_IFS
5565  if test -z "$ac_cv_path_FGREP"; then
5566    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5567$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5568   { (exit 1); exit 1; }; }
5569  fi
5570else
5571  ac_cv_path_FGREP=$FGREP
5572fi
5573
5574   fi
5575fi
5576{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5577$as_echo "$ac_cv_path_FGREP" >&6; }
5578 FGREP="$ac_cv_path_FGREP"
5579
5580
5581test -z "$GREP" && GREP=grep
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601@%:@ Check whether --with-gnu-ld was given.
5602if test "${with_gnu_ld+set}" = set; then
5603  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5604else
5605  with_gnu_ld=no
5606fi
5607
5608ac_prog=ld
5609if test "$GCC" = yes; then
5610  # Check if gcc -print-prog-name=ld gives a path.
5611  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5612$as_echo_n "checking for ld used by $CC... " >&6; }
5613  case $host in
5614  *-*-mingw*)
5615    # gcc leaves a trailing carriage return which upsets mingw
5616    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5617  *)
5618    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5619  esac
5620  case $ac_prog in
5621    # Accept absolute paths.
5622    [\\/]* | ?:[\\/]*)
5623      re_direlt='/[^/][^/]*/\.\./'
5624      # Canonicalize the pathname of ld
5625      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5626      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5627	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5628      done
5629      test -z "$LD" && LD="$ac_prog"
5630      ;;
5631  "")
5632    # If it fails, then pretend we aren't using GCC.
5633    ac_prog=ld
5634    ;;
5635  *)
5636    # If it is relative, then search for the first ld in PATH.
5637    with_gnu_ld=unknown
5638    ;;
5639  esac
5640elif test "$with_gnu_ld" = yes; then
5641  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5642$as_echo_n "checking for GNU ld... " >&6; }
5643else
5644  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5645$as_echo_n "checking for non-GNU ld... " >&6; }
5646fi
5647if test "${lt_cv_path_LD+set}" = set; then
5648  $as_echo_n "(cached) " >&6
5649else
5650  if test -z "$LD"; then
5651  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5652  for ac_dir in $PATH; do
5653    IFS="$lt_save_ifs"
5654    test -z "$ac_dir" && ac_dir=.
5655    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5656      lt_cv_path_LD="$ac_dir/$ac_prog"
5657      # Check to see if the program is GNU ld.  I'd rather use --version,
5658      # but apparently some variants of GNU ld only accept -v.
5659      # Break only if it was the GNU/non-GNU ld that we prefer.
5660      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5661      *GNU* | *'with BFD'*)
5662	test "$with_gnu_ld" != no && break
5663	;;
5664      *)
5665	test "$with_gnu_ld" != yes && break
5666	;;
5667      esac
5668    fi
5669  done
5670  IFS="$lt_save_ifs"
5671else
5672  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5673fi
5674fi
5675
5676LD="$lt_cv_path_LD"
5677if test -n "$LD"; then
5678  { $as_echo "$as_me:$LINENO: result: $LD" >&5
5679$as_echo "$LD" >&6; }
5680else
5681  { $as_echo "$as_me:$LINENO: result: no" >&5
5682$as_echo "no" >&6; }
5683fi
5684test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5685$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5686   { (exit 1); exit 1; }; }
5687{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5688$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5689if test "${lt_cv_prog_gnu_ld+set}" = set; then
5690  $as_echo_n "(cached) " >&6
5691else
5692  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5693case `$LD -v 2>&1 </dev/null` in
5694*GNU* | *'with BFD'*)
5695  lt_cv_prog_gnu_ld=yes
5696  ;;
5697*)
5698  lt_cv_prog_gnu_ld=no
5699  ;;
5700esac
5701fi
5702{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5703$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5704with_gnu_ld=$lt_cv_prog_gnu_ld
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5715$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5716if test "${lt_cv_path_NM+set}" = set; then
5717  $as_echo_n "(cached) " >&6
5718else
5719  if test -n "$NM"; then
5720  # Let the user override the test.
5721  lt_cv_path_NM="$NM"
5722else
5723  lt_nm_to_check="${ac_tool_prefix}nm"
5724  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5725    lt_nm_to_check="$lt_nm_to_check nm"
5726  fi
5727  for lt_tmp_nm in $lt_nm_to_check; do
5728    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5729    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5730      IFS="$lt_save_ifs"
5731      test -z "$ac_dir" && ac_dir=.
5732      tmp_nm="$ac_dir/$lt_tmp_nm"
5733      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5734	# Check to see if the nm accepts a BSD-compat flag.
5735	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5736	#   nm: unknown option "B" ignored
5737	# Tru64's nm complains that /dev/null is an invalid object file
5738	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5739	*/dev/null* | *'Invalid file or object type'*)
5740	  lt_cv_path_NM="$tmp_nm -B"
5741	  break
5742	  ;;
5743	*)
5744	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5745	  */dev/null*)
5746	    lt_cv_path_NM="$tmp_nm -p"
5747	    break
5748	    ;;
5749	  *)
5750	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5751	    continue # so that we can try to find one that supports BSD flags
5752	    ;;
5753	  esac
5754	  ;;
5755	esac
5756      fi
5757    done
5758    IFS="$lt_save_ifs"
5759  done
5760  : ${lt_cv_path_NM=no}
5761fi
5762fi
5763{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5764$as_echo "$lt_cv_path_NM" >&6; }
5765if test "$lt_cv_path_NM" != "no"; then
5766  NM="$lt_cv_path_NM"
5767else
5768  # Didn't find any BSD compatible name lister, look for dumpbin.
5769  if test -n "$DUMPBIN"; then :
5770    # Let the user override the test.
5771  else
5772    if test -n "$ac_tool_prefix"; then
5773  for ac_prog in dumpbin "link -dump"
5774  do
5775    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5776set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5777{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5778$as_echo_n "checking for $ac_word... " >&6; }
5779if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5780  $as_echo_n "(cached) " >&6
5781else
5782  if test -n "$DUMPBIN"; then
5783  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5784else
5785as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786for as_dir in $PATH
5787do
5788  IFS=$as_save_IFS
5789  test -z "$as_dir" && as_dir=.
5790  for ac_exec_ext in '' $ac_executable_extensions; do
5791  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5792    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5793    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5794    break 2
5795  fi
5796done
5797done
5798IFS=$as_save_IFS
5799
5800fi
5801fi
5802DUMPBIN=$ac_cv_prog_DUMPBIN
5803if test -n "$DUMPBIN"; then
5804  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5805$as_echo "$DUMPBIN" >&6; }
5806else
5807  { $as_echo "$as_me:$LINENO: result: no" >&5
5808$as_echo "no" >&6; }
5809fi
5810
5811
5812    test -n "$DUMPBIN" && break
5813  done
5814fi
5815if test -z "$DUMPBIN"; then
5816  ac_ct_DUMPBIN=$DUMPBIN
5817  for ac_prog in dumpbin "link -dump"
5818do
5819  # Extract the first word of "$ac_prog", so it can be a program name with args.
5820set dummy $ac_prog; ac_word=$2
5821{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5822$as_echo_n "checking for $ac_word... " >&6; }
5823if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5824  $as_echo_n "(cached) " >&6
5825else
5826  if test -n "$ac_ct_DUMPBIN"; then
5827  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5828else
5829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830for as_dir in $PATH
5831do
5832  IFS=$as_save_IFS
5833  test -z "$as_dir" && as_dir=.
5834  for ac_exec_ext in '' $ac_executable_extensions; do
5835  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5836    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5837    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5838    break 2
5839  fi
5840done
5841done
5842IFS=$as_save_IFS
5843
5844fi
5845fi
5846ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5847if test -n "$ac_ct_DUMPBIN"; then
5848  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5849$as_echo "$ac_ct_DUMPBIN" >&6; }
5850else
5851  { $as_echo "$as_me:$LINENO: result: no" >&5
5852$as_echo "no" >&6; }
5853fi
5854
5855
5856  test -n "$ac_ct_DUMPBIN" && break
5857done
5858
5859  if test "x$ac_ct_DUMPBIN" = x; then
5860    DUMPBIN=":"
5861  else
5862    case $cross_compiling:$ac_tool_warned in
5863yes:)
5864{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5865$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5866ac_tool_warned=yes ;;
5867esac
5868    DUMPBIN=$ac_ct_DUMPBIN
5869  fi
5870fi
5871
5872    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5873    *COFF*)
5874      DUMPBIN="$DUMPBIN -symbols"
5875      ;;
5876    *)
5877      DUMPBIN=:
5878      ;;
5879    esac
5880  fi
5881
5882  if test "$DUMPBIN" != ":"; then
5883    NM="$DUMPBIN"
5884  fi
5885fi
5886test -z "$NM" && NM=nm
5887
5888
5889
5890
5891
5892
5893{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5894$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5895if test "${lt_cv_nm_interface+set}" = set; then
5896  $as_echo_n "(cached) " >&6
5897else
5898  lt_cv_nm_interface="BSD nm"
5899  echo "int some_variable = 0;" > conftest.$ac_ext
5900  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5901  (eval "$ac_compile" 2>conftest.err)
5902  cat conftest.err >&5
5903  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5904  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5905  cat conftest.err >&5
5906  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5907  cat conftest.out >&5
5908  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5909    lt_cv_nm_interface="MS dumpbin"
5910  fi
5911  rm -f conftest*
5912fi
5913{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5914$as_echo "$lt_cv_nm_interface" >&6; }
5915
5916{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5917$as_echo_n "checking whether ln -s works... " >&6; }
5918LN_S=$as_ln_s
5919if test "$LN_S" = "ln -s"; then
5920  { $as_echo "$as_me:$LINENO: result: yes" >&5
5921$as_echo "yes" >&6; }
5922else
5923  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5924$as_echo "no, using $LN_S" >&6; }
5925fi
5926
5927# find the maximum length of command line arguments
5928{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5929$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5930if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5931  $as_echo_n "(cached) " >&6
5932else
5933    i=0
5934  teststring="ABCD"
5935
5936  case $build_os in
5937  msdosdjgpp*)
5938    # On DJGPP, this test can blow up pretty badly due to problems in libc
5939    # (any single argument exceeding 2000 bytes causes a buffer overrun
5940    # during glob expansion).  Even if it were fixed, the result of this
5941    # check would be larger than it should be.
5942    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5943    ;;
5944
5945  gnu*)
5946    # Under GNU Hurd, this test is not required because there is
5947    # no limit to the length of command line arguments.
5948    # Libtool will interpret -1 as no limit whatsoever
5949    lt_cv_sys_max_cmd_len=-1;
5950    ;;
5951
5952  cygwin* | mingw* | cegcc*)
5953    # On Win9x/ME, this test blows up -- it succeeds, but takes
5954    # about 5 minutes as the teststring grows exponentially.
5955    # Worse, since 9x/ME are not pre-emptively multitasking,
5956    # you end up with a "frozen" computer, even though with patience
5957    # the test eventually succeeds (with a max line length of 256k).
5958    # Instead, let's just punt: use the minimum linelength reported by
5959    # all of the supported platforms: 8192 (on NT/2K/XP).
5960    lt_cv_sys_max_cmd_len=8192;
5961    ;;
5962
5963  mint*)
5964    # On MiNT this can take a long time and run out of memory.
5965    lt_cv_sys_max_cmd_len=8192;
5966    ;;
5967
5968  amigaos*)
5969    # On AmigaOS with pdksh, this test takes hours, literally.
5970    # So we just punt and use a minimum line length of 8192.
5971    lt_cv_sys_max_cmd_len=8192;
5972    ;;
5973
5974  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5975    # This has been around since 386BSD, at least.  Likely further.
5976    if test -x /sbin/sysctl; then
5977      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5978    elif test -x /usr/sbin/sysctl; then
5979      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5980    else
5981      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5982    fi
5983    # And add a safety zone
5984    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5985    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5986    ;;
5987
5988  interix*)
5989    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5990    lt_cv_sys_max_cmd_len=196608
5991    ;;
5992
5993  os2*)
5994    # The test takes a long time on OS/2.
5995    lt_cv_sys_max_cmd_len=8192
5996    ;;
5997
5998  osf*)
5999    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6000    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6001    # nice to cause kernel panics so lets avoid the loop below.
6002    # First set a reasonable default.
6003    lt_cv_sys_max_cmd_len=16384
6004    #
6005    if test -x /sbin/sysconfig; then
6006      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6007        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6008      esac
6009    fi
6010    ;;
6011  sco3.2v5*)
6012    lt_cv_sys_max_cmd_len=102400
6013    ;;
6014  sysv5* | sco5v6* | sysv4.2uw2*)
6015    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6016    if test -n "$kargmax"; then
6017      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6018    else
6019      lt_cv_sys_max_cmd_len=32768
6020    fi
6021    ;;
6022  *)
6023    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6024    if test -n "$lt_cv_sys_max_cmd_len"; then
6025      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6026      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6027    else
6028      # Make teststring a little bigger before we do anything with it.
6029      # a 1K string should be a reasonable start.
6030      for i in 1 2 3 4 5 6 7 8 ; do
6031        teststring=$teststring$teststring
6032      done
6033      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6034      # If test is not a shell built-in, we'll probably end up computing a
6035      # maximum length that is only half of the actual maximum length, but
6036      # we can't tell.
6037      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6038	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6039	      test $i != 17 # 1/2 MB should be enough
6040      do
6041        i=`expr $i + 1`
6042        teststring=$teststring$teststring
6043      done
6044      # Only check the string length outside the loop.
6045      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6046      teststring=
6047      # Add a significant safety factor because C++ compilers can tack on
6048      # massive amounts of additional arguments before passing them to the
6049      # linker.  It appears as though 1/2 is a usable value.
6050      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6051    fi
6052    ;;
6053  esac
6054
6055fi
6056
6057if test -n $lt_cv_sys_max_cmd_len ; then
6058  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6059$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6060else
6061  { $as_echo "$as_me:$LINENO: result: none" >&5
6062$as_echo "none" >&6; }
6063fi
6064max_cmd_len=$lt_cv_sys_max_cmd_len
6065
6066
6067
6068
6069
6070
6071: ${CP="cp -f"}
6072: ${MV="mv -f"}
6073: ${RM="rm -f"}
6074
6075{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6076$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6077# Try some XSI features
6078xsi_shell=no
6079( _lt_dummy="a/b/c"
6080  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6081      = c,a/b,b/c, \
6082    && eval 'test $(( 1 + 1 )) -eq 2 \
6083    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6084  && xsi_shell=yes
6085{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
6086$as_echo "$xsi_shell" >&6; }
6087
6088
6089{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6090$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6091lt_shell_append=no
6092( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6093    >/dev/null 2>&1 \
6094  && lt_shell_append=yes
6095{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6096$as_echo "$lt_shell_append" >&6; }
6097
6098
6099if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6100  lt_unset=unset
6101else
6102  lt_unset=false
6103fi
6104
6105
6106
6107
6108
6109# test EBCDIC or ASCII
6110case `echo X|tr X '\101'` in
6111 A) # ASCII based system
6112    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6113  lt_SP2NL='tr \040 \012'
6114  lt_NL2SP='tr \015\012 \040\040'
6115  ;;
6116 *) # EBCDIC based system
6117  lt_SP2NL='tr \100 \n'
6118  lt_NL2SP='tr \r\n \100\100'
6119  ;;
6120esac
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130{ $as_echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5
6131$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6132if test "${lt_cv_to_host_file_cmd+set}" = set; then
6133  $as_echo_n "(cached) " >&6
6134else
6135  case $host in
6136  *-*-mingw* )
6137    case $build in
6138      *-*-mingw* ) # actually msys
6139        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6140        ;;
6141      *-*-cygwin* )
6142        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6143        ;;
6144      * ) # otherwise, assume *nix
6145        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6146        ;;
6147    esac
6148    ;;
6149  *-*-cygwin* )
6150    case $build in
6151      *-*-mingw* ) # actually msys
6152        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6153        ;;
6154      *-*-cygwin* )
6155        lt_cv_to_host_file_cmd=func_convert_file_noop
6156        ;;
6157      * ) # otherwise, assume *nix
6158        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6159        ;;
6160    esac
6161    ;;
6162  * ) # unhandled hosts (and "normal" native builds)
6163    lt_cv_to_host_file_cmd=func_convert_file_noop
6164    ;;
6165esac
6166
6167fi
6168
6169to_host_file_cmd=$lt_cv_to_host_file_cmd
6170{ $as_echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5
6171$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6172
6173
6174
6175
6176
6177{ $as_echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5
6178$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6179if test "${lt_cv_to_tool_file_cmd+set}" = set; then
6180  $as_echo_n "(cached) " >&6
6181else
6182  #assume ordinary cross tools, or native build.
6183lt_cv_to_tool_file_cmd=func_convert_file_noop
6184case $host in
6185  *-*-mingw* )
6186    case $build in
6187      *-*-mingw* ) # actually msys
6188        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6189        ;;
6190    esac
6191    ;;
6192esac
6193
6194fi
6195
6196to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6197{ $as_echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5
6198$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6199
6200
6201
6202
6203
6204{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6205$as_echo_n "checking for $LD option to reload object files... " >&6; }
6206if test "${lt_cv_ld_reload_flag+set}" = set; then
6207  $as_echo_n "(cached) " >&6
6208else
6209  lt_cv_ld_reload_flag='-r'
6210fi
6211{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6212$as_echo "$lt_cv_ld_reload_flag" >&6; }
6213reload_flag=$lt_cv_ld_reload_flag
6214case $reload_flag in
6215"" | " "*) ;;
6216*) reload_flag=" $reload_flag" ;;
6217esac
6218reload_cmds='$LD$reload_flag -o $output$reload_objs'
6219case $host_os in
6220  cygwin* | mingw* | pw32* | cegcc*)
6221    if test "$GCC" != yes; then
6222      reload_cmds=false
6223    fi
6224    ;;
6225  darwin*)
6226    if test "$GCC" = yes; then
6227      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6228    else
6229      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6230    fi
6231    ;;
6232esac
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242if test -n "$ac_tool_prefix"; then
6243  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6244set dummy ${ac_tool_prefix}objdump; ac_word=$2
6245{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6246$as_echo_n "checking for $ac_word... " >&6; }
6247if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6248  $as_echo_n "(cached) " >&6
6249else
6250  if test -n "$OBJDUMP"; then
6251  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6252else
6253as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254for as_dir in $PATH
6255do
6256  IFS=$as_save_IFS
6257  test -z "$as_dir" && as_dir=.
6258  for ac_exec_ext in '' $ac_executable_extensions; do
6259  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6260    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6261    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6262    break 2
6263  fi
6264done
6265done
6266IFS=$as_save_IFS
6267
6268fi
6269fi
6270OBJDUMP=$ac_cv_prog_OBJDUMP
6271if test -n "$OBJDUMP"; then
6272  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6273$as_echo "$OBJDUMP" >&6; }
6274else
6275  { $as_echo "$as_me:$LINENO: result: no" >&5
6276$as_echo "no" >&6; }
6277fi
6278
6279
6280fi
6281if test -z "$ac_cv_prog_OBJDUMP"; then
6282  ac_ct_OBJDUMP=$OBJDUMP
6283  # Extract the first word of "objdump", so it can be a program name with args.
6284set dummy objdump; ac_word=$2
6285{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6286$as_echo_n "checking for $ac_word... " >&6; }
6287if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6288  $as_echo_n "(cached) " >&6
6289else
6290  if test -n "$ac_ct_OBJDUMP"; then
6291  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6292else
6293as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6294for as_dir in $PATH
6295do
6296  IFS=$as_save_IFS
6297  test -z "$as_dir" && as_dir=.
6298  for ac_exec_ext in '' $ac_executable_extensions; do
6299  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6300    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6301    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6302    break 2
6303  fi
6304done
6305done
6306IFS=$as_save_IFS
6307
6308fi
6309fi
6310ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6311if test -n "$ac_ct_OBJDUMP"; then
6312  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6313$as_echo "$ac_ct_OBJDUMP" >&6; }
6314else
6315  { $as_echo "$as_me:$LINENO: result: no" >&5
6316$as_echo "no" >&6; }
6317fi
6318
6319  if test "x$ac_ct_OBJDUMP" = x; then
6320    OBJDUMP="false"
6321  else
6322    case $cross_compiling:$ac_tool_warned in
6323yes:)
6324{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6325$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6326ac_tool_warned=yes ;;
6327esac
6328    OBJDUMP=$ac_ct_OBJDUMP
6329  fi
6330else
6331  OBJDUMP="$ac_cv_prog_OBJDUMP"
6332fi
6333
6334test -z "$OBJDUMP" && OBJDUMP=objdump
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6345$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6346if test "${lt_cv_deplibs_check_method+set}" = set; then
6347  $as_echo_n "(cached) " >&6
6348else
6349  lt_cv_file_magic_cmd='$MAGIC_CMD'
6350lt_cv_file_magic_test_file=
6351lt_cv_deplibs_check_method='unknown'
6352# Need to set the preceding variable on all platforms that support
6353# interlibrary dependencies.
6354# 'none' -- dependencies not supported.
6355# `unknown' -- same as none, but documents that we really don't know.
6356# 'pass_all' -- all dependencies passed with no checks.
6357# 'test_compile' -- check by making test program.
6358# 'file_magic [[regex]]' -- check by looking for files in library path
6359# which responds to the $file_magic_cmd with a given extended regex.
6360# If you have `file' or equivalent on your system and you're not sure
6361# whether `pass_all' will *always* work, you probably want this one.
6362
6363case $host_os in
6364aix[4-9]*)
6365  lt_cv_deplibs_check_method=pass_all
6366  ;;
6367
6368beos*)
6369  lt_cv_deplibs_check_method=pass_all
6370  ;;
6371
6372bsdi[45]*)
6373  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6374  lt_cv_file_magic_cmd='/usr/bin/file -L'
6375  lt_cv_file_magic_test_file=/shlib/libc.so
6376  ;;
6377
6378cygwin*)
6379  # func_win32_libid is a shell function defined in ltmain.sh
6380  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6381  lt_cv_file_magic_cmd='func_win32_libid'
6382  ;;
6383
6384mingw* | pw32*)
6385  # Base MSYS/MinGW do not provide the 'file' command needed by
6386  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6387  # unless we find 'file', for example because we are cross-compiling.
6388  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6389  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6390    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6391    lt_cv_file_magic_cmd='func_win32_libid'
6392  else
6393    # Keep this pattern in sync with the one in func_win32_libid.
6394    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6395    lt_cv_file_magic_cmd='$OBJDUMP -f'
6396  fi
6397  ;;
6398
6399cegcc*)
6400  # use the weaker test based on 'objdump'. See mingw*.
6401  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6402  lt_cv_file_magic_cmd='$OBJDUMP -f'
6403  ;;
6404
6405darwin* | rhapsody*)
6406  lt_cv_deplibs_check_method=pass_all
6407  ;;
6408
6409freebsd* | dragonfly*)
6410  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6411    case $host_cpu in
6412    i*86 )
6413      # Not sure whether the presence of OpenBSD here was a mistake.
6414      # Let's accept both of them until this is cleared up.
6415      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6416      lt_cv_file_magic_cmd=/usr/bin/file
6417      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6418      ;;
6419    esac
6420  else
6421    lt_cv_deplibs_check_method=pass_all
6422  fi
6423  ;;
6424
6425gnu*)
6426  lt_cv_deplibs_check_method=pass_all
6427  ;;
6428
6429haiku*)
6430  lt_cv_deplibs_check_method=pass_all
6431  ;;
6432
6433hpux10.20* | hpux11*)
6434  lt_cv_file_magic_cmd=/usr/bin/file
6435  case $host_cpu in
6436  ia64*)
6437    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6438    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6439    ;;
6440  hppa*64*)
6441    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6442    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6443    ;;
6444  *)
6445    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6446    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6447    ;;
6448  esac
6449  ;;
6450
6451interix[3-9]*)
6452  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6453  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6454  ;;
6455
6456irix5* | irix6* | nonstopux*)
6457  case $LD in
6458  *-32|*"-32 ") libmagic=32-bit;;
6459  *-n32|*"-n32 ") libmagic=N32;;
6460  *-64|*"-64 ") libmagic=64-bit;;
6461  *) libmagic=never-match;;
6462  esac
6463  lt_cv_deplibs_check_method=pass_all
6464  ;;
6465
6466# This must be glibc/ELF.
6467linux* | k*bsd*-gnu | kopensolaris*-gnu)
6468  lt_cv_deplibs_check_method=pass_all
6469  ;;
6470
6471netbsd*)
6472  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6473    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6474  else
6475    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6476  fi
6477  ;;
6478
6479newos6*)
6480  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6481  lt_cv_file_magic_cmd=/usr/bin/file
6482  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6483  ;;
6484
6485*nto* | *qnx*)
6486  lt_cv_deplibs_check_method=pass_all
6487  ;;
6488
6489openbsd*)
6490  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6491    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6492  else
6493    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6494  fi
6495  ;;
6496
6497osf3* | osf4* | osf5*)
6498  lt_cv_deplibs_check_method=pass_all
6499  ;;
6500
6501rdos*)
6502  lt_cv_deplibs_check_method=pass_all
6503  ;;
6504
6505solaris*)
6506  lt_cv_deplibs_check_method=pass_all
6507  ;;
6508
6509sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6510  lt_cv_deplibs_check_method=pass_all
6511  ;;
6512
6513sysv4 | sysv4.3*)
6514  case $host_vendor in
6515  motorola)
6516    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]'
6517    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6518    ;;
6519  ncr)
6520    lt_cv_deplibs_check_method=pass_all
6521    ;;
6522  sequent)
6523    lt_cv_file_magic_cmd='/bin/file'
6524    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6525    ;;
6526  sni)
6527    lt_cv_file_magic_cmd='/bin/file'
6528    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6529    lt_cv_file_magic_test_file=/lib/libc.so
6530    ;;
6531  siemens)
6532    lt_cv_deplibs_check_method=pass_all
6533    ;;
6534  pc)
6535    lt_cv_deplibs_check_method=pass_all
6536    ;;
6537  esac
6538  ;;
6539
6540tpf*)
6541  lt_cv_deplibs_check_method=pass_all
6542  ;;
6543esac
6544
6545fi
6546{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6547$as_echo "$lt_cv_deplibs_check_method" >&6; }
6548
6549file_magic_glob=
6550want_nocaseglob=no
6551if test "$build" = "$host"; then
6552  case $host_os in
6553  mingw* | pw32*)
6554    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6555      want_nocaseglob=yes
6556    else
6557      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6558    fi
6559    ;;
6560  esac
6561fi
6562
6563file_magic_cmd=$lt_cv_file_magic_cmd
6564deplibs_check_method=$lt_cv_deplibs_check_method
6565test -z "$deplibs_check_method" && deplibs_check_method=unknown
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588if test -n "$ac_tool_prefix"; then
6589  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6590set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6591{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6592$as_echo_n "checking for $ac_word... " >&6; }
6593if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6594  $as_echo_n "(cached) " >&6
6595else
6596  if test -n "$DLLTOOL"; then
6597  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6598else
6599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6600for as_dir in $PATH
6601do
6602  IFS=$as_save_IFS
6603  test -z "$as_dir" && as_dir=.
6604  for ac_exec_ext in '' $ac_executable_extensions; do
6605  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6606    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6607    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6608    break 2
6609  fi
6610done
6611done
6612IFS=$as_save_IFS
6613
6614fi
6615fi
6616DLLTOOL=$ac_cv_prog_DLLTOOL
6617if test -n "$DLLTOOL"; then
6618  { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
6619$as_echo "$DLLTOOL" >&6; }
6620else
6621  { $as_echo "$as_me:$LINENO: result: no" >&5
6622$as_echo "no" >&6; }
6623fi
6624
6625
6626fi
6627if test -z "$ac_cv_prog_DLLTOOL"; then
6628  ac_ct_DLLTOOL=$DLLTOOL
6629  # Extract the first word of "dlltool", so it can be a program name with args.
6630set dummy dlltool; ac_word=$2
6631{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6632$as_echo_n "checking for $ac_word... " >&6; }
6633if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
6634  $as_echo_n "(cached) " >&6
6635else
6636  if test -n "$ac_ct_DLLTOOL"; then
6637  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6638else
6639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640for as_dir in $PATH
6641do
6642  IFS=$as_save_IFS
6643  test -z "$as_dir" && as_dir=.
6644  for ac_exec_ext in '' $ac_executable_extensions; do
6645  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6647    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6648    break 2
6649  fi
6650done
6651done
6652IFS=$as_save_IFS
6653
6654fi
6655fi
6656ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6657if test -n "$ac_ct_DLLTOOL"; then
6658  { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
6659$as_echo "$ac_ct_DLLTOOL" >&6; }
6660else
6661  { $as_echo "$as_me:$LINENO: result: no" >&5
6662$as_echo "no" >&6; }
6663fi
6664
6665  if test "x$ac_ct_DLLTOOL" = x; then
6666    DLLTOOL="false"
6667  else
6668    case $cross_compiling:$ac_tool_warned in
6669yes:)
6670{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6671$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6672ac_tool_warned=yes ;;
6673esac
6674    DLLTOOL=$ac_ct_DLLTOOL
6675  fi
6676else
6677  DLLTOOL="$ac_cv_prog_DLLTOOL"
6678fi
6679
6680test -z "$DLLTOOL" && DLLTOOL=dlltool
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691{ $as_echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5
6692$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6693if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then
6694  $as_echo_n "(cached) " >&6
6695else
6696  lt_cv_sharedlib_from_linklib_cmd='unknown'
6697
6698case $host_os in
6699cygwin* | mingw* | pw32* | cegcc*)
6700  # two different shell functions defined in ltmain.sh
6701  # decide which to use based on capabilities of $DLLTOOL
6702  case `$DLLTOOL --help 2>&1` in
6703  *--identify-strict*)
6704    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6705    ;;
6706  *)
6707    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6708    ;;
6709  esac
6710  ;;
6711*)
6712  # fallback: assume linklib IS sharedlib
6713  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6714  ;;
6715esac
6716
6717fi
6718{ $as_echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6719$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6720sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6721test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6722
6723
6724
6725
6726
6727
6728
6729if test -n "$ac_tool_prefix"; then
6730  for ac_prog in ar
6731  do
6732    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6733set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6734{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6735$as_echo_n "checking for $ac_word... " >&6; }
6736if test "${ac_cv_prog_AR+set}" = set; then
6737  $as_echo_n "(cached) " >&6
6738else
6739  if test -n "$AR"; then
6740  ac_cv_prog_AR="$AR" # Let the user override the test.
6741else
6742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743for as_dir in $PATH
6744do
6745  IFS=$as_save_IFS
6746  test -z "$as_dir" && as_dir=.
6747  for ac_exec_ext in '' $ac_executable_extensions; do
6748  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6749    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6750    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6751    break 2
6752  fi
6753done
6754done
6755IFS=$as_save_IFS
6756
6757fi
6758fi
6759AR=$ac_cv_prog_AR
6760if test -n "$AR"; then
6761  { $as_echo "$as_me:$LINENO: result: $AR" >&5
6762$as_echo "$AR" >&6; }
6763else
6764  { $as_echo "$as_me:$LINENO: result: no" >&5
6765$as_echo "no" >&6; }
6766fi
6767
6768
6769    test -n "$AR" && break
6770  done
6771fi
6772if test -z "$AR"; then
6773  ac_ct_AR=$AR
6774  for ac_prog in ar
6775do
6776  # Extract the first word of "$ac_prog", so it can be a program name with args.
6777set dummy $ac_prog; ac_word=$2
6778{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6779$as_echo_n "checking for $ac_word... " >&6; }
6780if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6781  $as_echo_n "(cached) " >&6
6782else
6783  if test -n "$ac_ct_AR"; then
6784  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6785else
6786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6787for as_dir in $PATH
6788do
6789  IFS=$as_save_IFS
6790  test -z "$as_dir" && as_dir=.
6791  for ac_exec_ext in '' $ac_executable_extensions; do
6792  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6793    ac_cv_prog_ac_ct_AR="$ac_prog"
6794    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6795    break 2
6796  fi
6797done
6798done
6799IFS=$as_save_IFS
6800
6801fi
6802fi
6803ac_ct_AR=$ac_cv_prog_ac_ct_AR
6804if test -n "$ac_ct_AR"; then
6805  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6806$as_echo "$ac_ct_AR" >&6; }
6807else
6808  { $as_echo "$as_me:$LINENO: result: no" >&5
6809$as_echo "no" >&6; }
6810fi
6811
6812
6813  test -n "$ac_ct_AR" && break
6814done
6815
6816  if test "x$ac_ct_AR" = x; then
6817    AR="false"
6818  else
6819    case $cross_compiling:$ac_tool_warned in
6820yes:)
6821{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6822$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6823ac_tool_warned=yes ;;
6824esac
6825    AR=$ac_ct_AR
6826  fi
6827fi
6828
6829: ${AR=ar}
6830: ${AR_FLAGS=cru}
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842{ $as_echo "$as_me:$LINENO: checking for archiver @FILE support" >&5
6843$as_echo_n "checking for archiver @FILE support... " >&6; }
6844if test "${lt_cv_ar_at_file+set}" = set; then
6845  $as_echo_n "(cached) " >&6
6846else
6847  lt_cv_ar_at_file=no
6848   cat >conftest.$ac_ext <<_ACEOF
6849/* confdefs.h.  */
6850_ACEOF
6851cat confdefs.h >>conftest.$ac_ext
6852cat >>conftest.$ac_ext <<_ACEOF
6853/* end confdefs.h.  */
6854
6855int
6856main ()
6857{
6858
6859  ;
6860  return 0;
6861}
6862_ACEOF
6863rm -f conftest.$ac_objext
6864if { (ac_try="$ac_compile"
6865case "(($ac_try" in
6866  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6867  *) ac_try_echo=$ac_try;;
6868esac
6869eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6870$as_echo "$ac_try_echo") >&5
6871  (eval "$ac_compile") 2>conftest.er1
6872  ac_status=$?
6873  grep -v '^ *+' conftest.er1 >conftest.err
6874  rm -f conftest.er1
6875  cat conftest.err >&5
6876  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6877  (exit $ac_status); } && {
6878	 test -z "$ac_c_werror_flag" ||
6879	 test ! -s conftest.err
6880       } && test -s conftest.$ac_objext; then
6881  echo conftest.$ac_objext > conftest.lst
6882      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6883      { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
6884  (eval $lt_ar_try) 2>&5
6885  ac_status=$?
6886  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887  (exit $ac_status); }
6888      if test "$ac_status" -eq 0; then
6889	# Ensure the archiver fails upon bogus file names.
6890	rm -f conftest.$ac_objext libconftest.a
6891	{ (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
6892  (eval $lt_ar_try) 2>&5
6893  ac_status=$?
6894  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895  (exit $ac_status); }
6896	if test "$ac_status" -ne 0; then
6897          lt_cv_ar_at_file=@
6898        fi
6899      fi
6900      rm -f conftest.* libconftest.a
6901
6902else
6903  $as_echo "$as_me: failed program was:" >&5
6904sed 's/^/| /' conftest.$ac_ext >&5
6905
6906
6907fi
6908
6909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6910
6911fi
6912{ $as_echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5
6913$as_echo "$lt_cv_ar_at_file" >&6; }
6914
6915if test "x$lt_cv_ar_at_file" = xno; then
6916  archiver_list_spec=
6917else
6918  archiver_list_spec=$lt_cv_ar_at_file
6919fi
6920
6921
6922
6923
6924
6925
6926
6927if test -n "$ac_tool_prefix"; then
6928  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6929set dummy ${ac_tool_prefix}strip; ac_word=$2
6930{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6931$as_echo_n "checking for $ac_word... " >&6; }
6932if test "${ac_cv_prog_STRIP+set}" = set; then
6933  $as_echo_n "(cached) " >&6
6934else
6935  if test -n "$STRIP"; then
6936  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6937else
6938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6939for as_dir in $PATH
6940do
6941  IFS=$as_save_IFS
6942  test -z "$as_dir" && as_dir=.
6943  for ac_exec_ext in '' $ac_executable_extensions; do
6944  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6945    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6946    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6947    break 2
6948  fi
6949done
6950done
6951IFS=$as_save_IFS
6952
6953fi
6954fi
6955STRIP=$ac_cv_prog_STRIP
6956if test -n "$STRIP"; then
6957  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6958$as_echo "$STRIP" >&6; }
6959else
6960  { $as_echo "$as_me:$LINENO: result: no" >&5
6961$as_echo "no" >&6; }
6962fi
6963
6964
6965fi
6966if test -z "$ac_cv_prog_STRIP"; then
6967  ac_ct_STRIP=$STRIP
6968  # Extract the first word of "strip", so it can be a program name with args.
6969set dummy strip; ac_word=$2
6970{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6971$as_echo_n "checking for $ac_word... " >&6; }
6972if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6973  $as_echo_n "(cached) " >&6
6974else
6975  if test -n "$ac_ct_STRIP"; then
6976  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6977else
6978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6979for as_dir in $PATH
6980do
6981  IFS=$as_save_IFS
6982  test -z "$as_dir" && as_dir=.
6983  for ac_exec_ext in '' $ac_executable_extensions; do
6984  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6985    ac_cv_prog_ac_ct_STRIP="strip"
6986    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6987    break 2
6988  fi
6989done
6990done
6991IFS=$as_save_IFS
6992
6993fi
6994fi
6995ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6996if test -n "$ac_ct_STRIP"; then
6997  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6998$as_echo "$ac_ct_STRIP" >&6; }
6999else
7000  { $as_echo "$as_me:$LINENO: result: no" >&5
7001$as_echo "no" >&6; }
7002fi
7003
7004  if test "x$ac_ct_STRIP" = x; then
7005    STRIP=":"
7006  else
7007    case $cross_compiling:$ac_tool_warned in
7008yes:)
7009{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7010$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7011ac_tool_warned=yes ;;
7012esac
7013    STRIP=$ac_ct_STRIP
7014  fi
7015else
7016  STRIP="$ac_cv_prog_STRIP"
7017fi
7018
7019test -z "$STRIP" && STRIP=:
7020
7021
7022
7023
7024
7025
7026if test -n "$ac_tool_prefix"; then
7027  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7028set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7029{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7030$as_echo_n "checking for $ac_word... " >&6; }
7031if test "${ac_cv_prog_RANLIB+set}" = set; then
7032  $as_echo_n "(cached) " >&6
7033else
7034  if test -n "$RANLIB"; then
7035  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7036else
7037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038for as_dir in $PATH
7039do
7040  IFS=$as_save_IFS
7041  test -z "$as_dir" && as_dir=.
7042  for ac_exec_ext in '' $ac_executable_extensions; do
7043  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7044    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7045    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7046    break 2
7047  fi
7048done
7049done
7050IFS=$as_save_IFS
7051
7052fi
7053fi
7054RANLIB=$ac_cv_prog_RANLIB
7055if test -n "$RANLIB"; then
7056  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
7057$as_echo "$RANLIB" >&6; }
7058else
7059  { $as_echo "$as_me:$LINENO: result: no" >&5
7060$as_echo "no" >&6; }
7061fi
7062
7063
7064fi
7065if test -z "$ac_cv_prog_RANLIB"; then
7066  ac_ct_RANLIB=$RANLIB
7067  # Extract the first word of "ranlib", so it can be a program name with args.
7068set dummy ranlib; ac_word=$2
7069{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7070$as_echo_n "checking for $ac_word... " >&6; }
7071if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7072  $as_echo_n "(cached) " >&6
7073else
7074  if test -n "$ac_ct_RANLIB"; then
7075  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7076else
7077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078for as_dir in $PATH
7079do
7080  IFS=$as_save_IFS
7081  test -z "$as_dir" && as_dir=.
7082  for ac_exec_ext in '' $ac_executable_extensions; do
7083  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7084    ac_cv_prog_ac_ct_RANLIB="ranlib"
7085    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7086    break 2
7087  fi
7088done
7089done
7090IFS=$as_save_IFS
7091
7092fi
7093fi
7094ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7095if test -n "$ac_ct_RANLIB"; then
7096  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7097$as_echo "$ac_ct_RANLIB" >&6; }
7098else
7099  { $as_echo "$as_me:$LINENO: result: no" >&5
7100$as_echo "no" >&6; }
7101fi
7102
7103  if test "x$ac_ct_RANLIB" = x; then
7104    RANLIB=":"
7105  else
7106    case $cross_compiling:$ac_tool_warned in
7107yes:)
7108{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7109$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7110ac_tool_warned=yes ;;
7111esac
7112    RANLIB=$ac_ct_RANLIB
7113  fi
7114else
7115  RANLIB="$ac_cv_prog_RANLIB"
7116fi
7117
7118test -z "$RANLIB" && RANLIB=:
7119
7120
7121
7122
7123
7124
7125# Determine commands to create old-style static archives.
7126old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7127old_postinstall_cmds='chmod 644 $oldlib'
7128old_postuninstall_cmds=
7129
7130if test -n "$RANLIB"; then
7131  case $host_os in
7132  openbsd*)
7133    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7134    ;;
7135  *)
7136    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7137    ;;
7138  esac
7139  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7140fi
7141
7142case $host_os in
7143  darwin*)
7144    lock_old_archive_extraction=yes ;;
7145  *)
7146    lock_old_archive_extraction=no ;;
7147esac
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187# If no C compiler was specified, use CC.
7188LTCC=${LTCC-"$CC"}
7189
7190# If no C compiler flags were specified, use CFLAGS.
7191LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7192
7193# Allow CC to be a program name with arguments.
7194compiler=$CC
7195
7196
7197# Check for command to grab the raw symbol name followed by C symbol from nm.
7198{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7199$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7200if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7201  $as_echo_n "(cached) " >&6
7202else
7203
7204# These are sane defaults that work on at least a few old systems.
7205# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7206
7207# Character class describing NM global symbol codes.
7208symcode='[BCDEGRST]'
7209
7210# Regexp to match symbols that can be accessed directly from C.
7211sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7212
7213# Define system-specific variables.
7214case $host_os in
7215aix*)
7216  symcode='[BCDT]'
7217  ;;
7218cygwin* | mingw* | pw32* | cegcc*)
7219  symcode='[ABCDGISTW]'
7220  ;;
7221hpux*)
7222  if test "$host_cpu" = ia64; then
7223    symcode='[ABCDEGRST]'
7224  fi
7225  ;;
7226irix* | nonstopux*)
7227  symcode='[BCDEGRST]'
7228  ;;
7229osf*)
7230  symcode='[BCDEGQRST]'
7231  ;;
7232solaris*)
7233  symcode='[BDRT]'
7234  ;;
7235sco3.2v5*)
7236  symcode='[DT]'
7237  ;;
7238sysv4.2uw2*)
7239  symcode='[DT]'
7240  ;;
7241sysv5* | sco5v6* | unixware* | OpenUNIX*)
7242  symcode='[ABDT]'
7243  ;;
7244sysv4)
7245  symcode='[DFNSTU]'
7246  ;;
7247esac
7248
7249# If we're using GNU nm, then use its standard symbol codes.
7250case `$NM -V 2>&1` in
7251*GNU* | *'with BFD'*)
7252  symcode='[ABCDGIRSTW]' ;;
7253esac
7254
7255# Transform an extracted symbol line into a proper C declaration.
7256# Some systems (esp. on ia64) link data and code symbols differently,
7257# so use this general approach.
7258lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7259
7260# Transform an extracted symbol line into symbol name and symbol address
7261lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7262lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7263
7264# Handle CRLF in mingw tool chain
7265opt_cr=
7266case $build_os in
7267mingw*)
7268  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7269  ;;
7270esac
7271
7272# Try without a prefix underscore, then with it.
7273for ac_symprfx in "" "_"; do
7274
7275  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7276  symxfrm="\\1 $ac_symprfx\\2 \\2"
7277
7278  # Write the raw and C identifiers.
7279  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7280    # Fake it for dumpbin and say T for any non-static function
7281    # and D for any global variable.
7282    # Also find C++ and __fastcall symbols from MSVC++,
7283    # which start with @ or ?.
7284    lt_cv_sys_global_symbol_pipe="$AWK '"\
7285"     {last_section=section; section=\$ 3};"\
7286"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7287"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7288"     \$ 0!~/External *\|/{next};"\
7289"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7290"     {if(hide[section]) next};"\
7291"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7292"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7293"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7294"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7295"     ' prfx=^$ac_symprfx"
7296  else
7297    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7298  fi
7299  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7300
7301  # Check to see that the pipe works correctly.
7302  pipe_works=no
7303
7304  rm -f conftest*
7305  cat > conftest.$ac_ext <<_LT_EOF
7306#ifdef __cplusplus
7307extern "C" {
7308#endif
7309char nm_test_var;
7310void nm_test_func(void);
7311void nm_test_func(void){}
7312#ifdef __cplusplus
7313}
7314#endif
7315int main(){nm_test_var='a';nm_test_func();return(0);}
7316_LT_EOF
7317
7318  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7319  (eval $ac_compile) 2>&5
7320  ac_status=$?
7321  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322  (exit $ac_status); }; then
7323    # Now try to grab the symbols.
7324    nlist=conftest.nm
7325    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
7326  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7327  ac_status=$?
7328  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329  (exit $ac_status); } && test -s "$nlist"; then
7330      # Try sorting and uniquifying the output.
7331      if sort "$nlist" | uniq > "$nlist"T; then
7332	mv -f "$nlist"T "$nlist"
7333      else
7334	rm -f "$nlist"T
7335      fi
7336
7337      # Make sure that we snagged all the symbols we need.
7338      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7339	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7340	  cat <<_LT_EOF > conftest.$ac_ext
7341/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7342#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7343/* DATA imports from DLLs on WIN32 con't be const, because runtime
7344   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7345# define LT@&t@_DLSYM_CONST
7346#elif defined(__osf__)
7347/* This system does not cope well with relocations in const data.  */
7348# define LT@&t@_DLSYM_CONST
7349#else
7350# define LT@&t@_DLSYM_CONST const
7351#endif
7352
7353#ifdef __cplusplus
7354extern "C" {
7355#endif
7356
7357_LT_EOF
7358	  # Now generate the symbol file.
7359	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7360
7361	  cat <<_LT_EOF >> conftest.$ac_ext
7362
7363/* The mapping between symbol names and symbols.  */
7364LT@&t@_DLSYM_CONST struct {
7365  const char *name;
7366  void       *address;
7367}
7368lt__PROGRAM__LTX_preloaded_symbols[] =
7369{
7370  { "@PROGRAM@", (void *) 0 },
7371_LT_EOF
7372	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7373	  cat <<\_LT_EOF >> conftest.$ac_ext
7374  {0, (void *) 0}
7375};
7376
7377/* This works around a problem in FreeBSD linker */
7378#ifdef FREEBSD_WORKAROUND
7379static const void *lt_preloaded_setup() {
7380  return lt__PROGRAM__LTX_preloaded_symbols;
7381}
7382#endif
7383
7384#ifdef __cplusplus
7385}
7386#endif
7387_LT_EOF
7388	  # Now try linking the two files.
7389	  mv conftest.$ac_objext conftstm.$ac_objext
7390	  lt_globsym_save_LIBS=$LIBS
7391	  lt_globsym_save_CFLAGS=$CFLAGS
7392	  LIBS="conftstm.$ac_objext"
7393	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7394	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7395  (eval $ac_link) 2>&5
7396  ac_status=$?
7397  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398  (exit $ac_status); } && test -s conftest${ac_exeext}; then
7399	    pipe_works=yes
7400	  fi
7401	  LIBS=$lt_globsym_save_LIBS
7402	  CFLAGS=$lt_globsym_save_CFLAGS
7403	else
7404	  echo "cannot find nm_test_func in $nlist" >&5
7405	fi
7406      else
7407	echo "cannot find nm_test_var in $nlist" >&5
7408      fi
7409    else
7410      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7411    fi
7412  else
7413    echo "$progname: failed program was:" >&5
7414    cat conftest.$ac_ext >&5
7415  fi
7416  rm -rf conftest* conftst*
7417
7418  # Do not use the global_symbol_pipe unless it works.
7419  if test "$pipe_works" = yes; then
7420    break
7421  else
7422    lt_cv_sys_global_symbol_pipe=
7423  fi
7424done
7425
7426fi
7427
7428if test -z "$lt_cv_sys_global_symbol_pipe"; then
7429  lt_cv_sys_global_symbol_to_cdecl=
7430fi
7431if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7432  { $as_echo "$as_me:$LINENO: result: failed" >&5
7433$as_echo "failed" >&6; }
7434else
7435  { $as_echo "$as_me:$LINENO: result: ok" >&5
7436$as_echo "ok" >&6; }
7437fi
7438
7439# Response file support.
7440if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7441  nm_file_list_spec='@'
7442elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7443  nm_file_list_spec='@'
7444fi
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472{ $as_echo "$as_me:$LINENO: checking for sysroot" >&5
7473$as_echo_n "checking for sysroot... " >&6; }
7474
7475@%:@ Check whether --with-sysroot was given.
7476if test "${with_sysroot+set}" = set; then
7477  withval=$with_sysroot;
7478else
7479  with_sysroot=no
7480fi
7481
7482
7483lt_sysroot=
7484case ${with_sysroot} in #(
7485 yes)
7486   if test "$GCC" = yes; then
7487     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7488   fi
7489   ;; #(
7490 /*)
7491   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7492   ;; #(
7493 no|'')
7494   ;; #(
7495 *)
7496   { $as_echo "$as_me:$LINENO: result: ${with_sysroot}" >&5
7497$as_echo "${with_sysroot}" >&6; }
7498   { { $as_echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5
7499$as_echo "$as_me: error: The sysroot must be an absolute path." >&2;}
7500   { (exit 1); exit 1; }; }
7501   ;;
7502esac
7503
7504 { $as_echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5
7505$as_echo "${lt_sysroot:-no}" >&6; }
7506
7507
7508
7509
7510
7511@%:@ Check whether --enable-libtool-lock was given.
7512if test "${enable_libtool_lock+set}" = set; then
7513  enableval=$enable_libtool_lock;
7514fi
7515
7516test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7517
7518# Some flags need to be propagated to the compiler or linker for good
7519# libtool support.
7520case $host in
7521ia64-*-hpux*)
7522  # Find out which ABI we are using.
7523  echo 'int i;' > conftest.$ac_ext
7524  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7525  (eval $ac_compile) 2>&5
7526  ac_status=$?
7527  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528  (exit $ac_status); }; then
7529    case `/usr/bin/file conftest.$ac_objext` in
7530      *ELF-32*)
7531	HPUX_IA64_MODE="32"
7532	;;
7533      *ELF-64*)
7534	HPUX_IA64_MODE="64"
7535	;;
7536    esac
7537  fi
7538  rm -rf conftest*
7539  ;;
7540*-*-irix6*)
7541  # Find out which ABI we are using.
7542  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7543  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7544  (eval $ac_compile) 2>&5
7545  ac_status=$?
7546  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547  (exit $ac_status); }; then
7548    if test "$lt_cv_prog_gnu_ld" = yes; then
7549      case `/usr/bin/file conftest.$ac_objext` in
7550	*32-bit*)
7551	  LD="${LD-ld} -melf32bsmip"
7552	  ;;
7553	*N32*)
7554	  LD="${LD-ld} -melf32bmipn32"
7555	  ;;
7556	*64-bit*)
7557	  LD="${LD-ld} -melf64bmip"
7558	;;
7559      esac
7560    else
7561      case `/usr/bin/file conftest.$ac_objext` in
7562	*32-bit*)
7563	  LD="${LD-ld} -32"
7564	  ;;
7565	*N32*)
7566	  LD="${LD-ld} -n32"
7567	  ;;
7568	*64-bit*)
7569	  LD="${LD-ld} -64"
7570	  ;;
7571      esac
7572    fi
7573  fi
7574  rm -rf conftest*
7575  ;;
7576
7577x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7578s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7579  # Find out which ABI we are using.
7580  echo 'int i;' > conftest.$ac_ext
7581  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7582  (eval $ac_compile) 2>&5
7583  ac_status=$?
7584  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585  (exit $ac_status); }; then
7586    case `/usr/bin/file conftest.o` in
7587      *32-bit*)
7588	case $host in
7589	  x86_64-*kfreebsd*-gnu)
7590	    LD="${LD-ld} -m elf_i386_fbsd"
7591	    ;;
7592	  x86_64-*linux*)
7593	    LD="${LD-ld} -m elf_i386"
7594	    ;;
7595	  ppc64-*linux*|powerpc64-*linux*)
7596	    LD="${LD-ld} -m elf32ppclinux"
7597	    ;;
7598	  s390x-*linux*)
7599	    LD="${LD-ld} -m elf_s390"
7600	    ;;
7601	  sparc64-*linux*)
7602	    LD="${LD-ld} -m elf32_sparc"
7603	    ;;
7604	esac
7605	;;
7606      *64-bit*)
7607	case $host in
7608	  x86_64-*kfreebsd*-gnu)
7609	    LD="${LD-ld} -m elf_x86_64_fbsd"
7610	    ;;
7611	  x86_64-*linux*)
7612	    LD="${LD-ld} -m elf_x86_64"
7613	    ;;
7614	  ppc*-*linux*|powerpc*-*linux*)
7615	    LD="${LD-ld} -m elf64ppc"
7616	    ;;
7617	  s390*-*linux*|s390*-*tpf*)
7618	    LD="${LD-ld} -m elf64_s390"
7619	    ;;
7620	  sparc*-*linux*)
7621	    LD="${LD-ld} -m elf64_sparc"
7622	    ;;
7623	esac
7624	;;
7625    esac
7626  fi
7627  rm -rf conftest*
7628  ;;
7629
7630*-*-sco3.2v5*)
7631  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7632  SAVE_CFLAGS="$CFLAGS"
7633  CFLAGS="$CFLAGS -belf"
7634  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7635$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7636if test "${lt_cv_cc_needs_belf+set}" = set; then
7637  $as_echo_n "(cached) " >&6
7638else
7639  ac_ext=c
7640ac_cpp='$CPP $CPPFLAGS'
7641ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7642ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7643ac_compiler_gnu=$ac_cv_c_compiler_gnu
7644
7645     cat >conftest.$ac_ext <<_ACEOF
7646/* confdefs.h.  */
7647_ACEOF
7648cat confdefs.h >>conftest.$ac_ext
7649cat >>conftest.$ac_ext <<_ACEOF
7650/* end confdefs.h.  */
7651
7652int
7653main ()
7654{
7655
7656  ;
7657  return 0;
7658}
7659_ACEOF
7660rm -f conftest.$ac_objext conftest$ac_exeext
7661if { (ac_try="$ac_link"
7662case "(($ac_try" in
7663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7664  *) ac_try_echo=$ac_try;;
7665esac
7666eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7667$as_echo "$ac_try_echo") >&5
7668  (eval "$ac_link") 2>conftest.er1
7669  ac_status=$?
7670  grep -v '^ *+' conftest.er1 >conftest.err
7671  rm -f conftest.er1
7672  cat conftest.err >&5
7673  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674  (exit $ac_status); } && {
7675	 test -z "$ac_c_werror_flag" ||
7676	 test ! -s conftest.err
7677       } && test -s conftest$ac_exeext && {
7678	 test "$cross_compiling" = yes ||
7679	 $as_test_x conftest$ac_exeext
7680       }; then
7681  lt_cv_cc_needs_belf=yes
7682else
7683  $as_echo "$as_me: failed program was:" >&5
7684sed 's/^/| /' conftest.$ac_ext >&5
7685
7686	lt_cv_cc_needs_belf=no
7687fi
7688
7689rm -rf conftest.dSYM
7690rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7691      conftest$ac_exeext conftest.$ac_ext
7692     ac_ext=c
7693ac_cpp='$CPP $CPPFLAGS'
7694ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7695ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7696ac_compiler_gnu=$ac_cv_c_compiler_gnu
7697
7698fi
7699{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7700$as_echo "$lt_cv_cc_needs_belf" >&6; }
7701  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7702    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7703    CFLAGS="$SAVE_CFLAGS"
7704  fi
7705  ;;
7706*-*solaris*)
7707  # Find out which ABI we are using.
7708  echo 'int i;' > conftest.$ac_ext
7709  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7710  (eval $ac_compile) 2>&5
7711  ac_status=$?
7712  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713  (exit $ac_status); }; then
7714    case `/usr/bin/file conftest.o` in
7715    *64-bit*)
7716      case $lt_cv_prog_gnu_ld in
7717      yes*)
7718        case $host in
7719        i?86-*-solaris*)
7720          LD="${LD-ld} -m elf_x86_64"
7721          ;;
7722        sparc*-*-solaris*)
7723          LD="${LD-ld} -m elf64_sparc"
7724          ;;
7725        esac
7726        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7727        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7728          LD="${LD-ld}_sol2"
7729        fi
7730        ;;
7731      *)
7732	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7733	  LD="${LD-ld} -64"
7734	fi
7735	;;
7736      esac
7737      ;;
7738    esac
7739  fi
7740  rm -rf conftest*
7741  ;;
7742esac
7743
7744need_locks="$enable_libtool_lock"
7745
7746if test -n "$ac_tool_prefix"; then
7747  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7748set dummy ${ac_tool_prefix}mt; ac_word=$2
7749{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7750$as_echo_n "checking for $ac_word... " >&6; }
7751if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then
7752  $as_echo_n "(cached) " >&6
7753else
7754  if test -n "$MANIFEST_TOOL"; then
7755  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7756else
7757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758for as_dir in $PATH
7759do
7760  IFS=$as_save_IFS
7761  test -z "$as_dir" && as_dir=.
7762  for ac_exec_ext in '' $ac_executable_extensions; do
7763  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7764    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7765    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7766    break 2
7767  fi
7768done
7769done
7770IFS=$as_save_IFS
7771
7772fi
7773fi
7774MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7775if test -n "$MANIFEST_TOOL"; then
7776  { $as_echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5
7777$as_echo "$MANIFEST_TOOL" >&6; }
7778else
7779  { $as_echo "$as_me:$LINENO: result: no" >&5
7780$as_echo "no" >&6; }
7781fi
7782
7783
7784fi
7785if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7786  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7787  # Extract the first word of "mt", so it can be a program name with args.
7788set dummy mt; ac_word=$2
7789{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7790$as_echo_n "checking for $ac_word... " >&6; }
7791if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then
7792  $as_echo_n "(cached) " >&6
7793else
7794  if test -n "$ac_ct_MANIFEST_TOOL"; then
7795  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7796else
7797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7798for as_dir in $PATH
7799do
7800  IFS=$as_save_IFS
7801  test -z "$as_dir" && as_dir=.
7802  for ac_exec_ext in '' $ac_executable_extensions; do
7803  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7804    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7805    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7806    break 2
7807  fi
7808done
7809done
7810IFS=$as_save_IFS
7811
7812fi
7813fi
7814ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7815if test -n "$ac_ct_MANIFEST_TOOL"; then
7816  { $as_echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5
7817$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7818else
7819  { $as_echo "$as_me:$LINENO: result: no" >&5
7820$as_echo "no" >&6; }
7821fi
7822
7823  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7824    MANIFEST_TOOL=":"
7825  else
7826    case $cross_compiling:$ac_tool_warned in
7827yes:)
7828{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7829$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7830ac_tool_warned=yes ;;
7831esac
7832    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7833  fi
7834else
7835  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7836fi
7837
7838test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7839{ $as_echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5
7840$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7841if test "${lt_cv_path_mainfest_tool+set}" = set; then
7842  $as_echo_n "(cached) " >&6
7843else
7844  lt_cv_path_mainfest_tool=no
7845  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7846  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7847  cat conftest.err >&5
7848  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7849    lt_cv_path_mainfest_tool=yes
7850  fi
7851  rm -f conftest*
7852fi
7853{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5
7854$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7855if test "x$lt_cv_path_mainfest_tool" != xyes; then
7856  MANIFEST_TOOL=:
7857fi
7858
7859
7860
7861
7862
7863
7864  case $host_os in
7865    rhapsody* | darwin*)
7866    if test -n "$ac_tool_prefix"; then
7867  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7868set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7869{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7870$as_echo_n "checking for $ac_word... " >&6; }
7871if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7872  $as_echo_n "(cached) " >&6
7873else
7874  if test -n "$DSYMUTIL"; then
7875  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7876else
7877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7878for as_dir in $PATH
7879do
7880  IFS=$as_save_IFS
7881  test -z "$as_dir" && as_dir=.
7882  for ac_exec_ext in '' $ac_executable_extensions; do
7883  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7884    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7885    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7886    break 2
7887  fi
7888done
7889done
7890IFS=$as_save_IFS
7891
7892fi
7893fi
7894DSYMUTIL=$ac_cv_prog_DSYMUTIL
7895if test -n "$DSYMUTIL"; then
7896  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7897$as_echo "$DSYMUTIL" >&6; }
7898else
7899  { $as_echo "$as_me:$LINENO: result: no" >&5
7900$as_echo "no" >&6; }
7901fi
7902
7903
7904fi
7905if test -z "$ac_cv_prog_DSYMUTIL"; then
7906  ac_ct_DSYMUTIL=$DSYMUTIL
7907  # Extract the first word of "dsymutil", so it can be a program name with args.
7908set dummy dsymutil; ac_word=$2
7909{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7910$as_echo_n "checking for $ac_word... " >&6; }
7911if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7912  $as_echo_n "(cached) " >&6
7913else
7914  if test -n "$ac_ct_DSYMUTIL"; then
7915  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7916else
7917as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7918for as_dir in $PATH
7919do
7920  IFS=$as_save_IFS
7921  test -z "$as_dir" && as_dir=.
7922  for ac_exec_ext in '' $ac_executable_extensions; do
7923  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7924    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7925    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7926    break 2
7927  fi
7928done
7929done
7930IFS=$as_save_IFS
7931
7932fi
7933fi
7934ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7935if test -n "$ac_ct_DSYMUTIL"; then
7936  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7937$as_echo "$ac_ct_DSYMUTIL" >&6; }
7938else
7939  { $as_echo "$as_me:$LINENO: result: no" >&5
7940$as_echo "no" >&6; }
7941fi
7942
7943  if test "x$ac_ct_DSYMUTIL" = x; then
7944    DSYMUTIL=":"
7945  else
7946    case $cross_compiling:$ac_tool_warned in
7947yes:)
7948{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7949$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7950ac_tool_warned=yes ;;
7951esac
7952    DSYMUTIL=$ac_ct_DSYMUTIL
7953  fi
7954else
7955  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7956fi
7957
7958    if test -n "$ac_tool_prefix"; then
7959  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7960set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7961{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7962$as_echo_n "checking for $ac_word... " >&6; }
7963if test "${ac_cv_prog_NMEDIT+set}" = set; then
7964  $as_echo_n "(cached) " >&6
7965else
7966  if test -n "$NMEDIT"; then
7967  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7968else
7969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7970for as_dir in $PATH
7971do
7972  IFS=$as_save_IFS
7973  test -z "$as_dir" && as_dir=.
7974  for ac_exec_ext in '' $ac_executable_extensions; do
7975  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7976    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7977    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7978    break 2
7979  fi
7980done
7981done
7982IFS=$as_save_IFS
7983
7984fi
7985fi
7986NMEDIT=$ac_cv_prog_NMEDIT
7987if test -n "$NMEDIT"; then
7988  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7989$as_echo "$NMEDIT" >&6; }
7990else
7991  { $as_echo "$as_me:$LINENO: result: no" >&5
7992$as_echo "no" >&6; }
7993fi
7994
7995
7996fi
7997if test -z "$ac_cv_prog_NMEDIT"; then
7998  ac_ct_NMEDIT=$NMEDIT
7999  # Extract the first word of "nmedit", so it can be a program name with args.
8000set dummy nmedit; ac_word=$2
8001{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8002$as_echo_n "checking for $ac_word... " >&6; }
8003if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8004  $as_echo_n "(cached) " >&6
8005else
8006  if test -n "$ac_ct_NMEDIT"; then
8007  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8008else
8009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8010for as_dir in $PATH
8011do
8012  IFS=$as_save_IFS
8013  test -z "$as_dir" && as_dir=.
8014  for ac_exec_ext in '' $ac_executable_extensions; do
8015  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8016    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8017    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8018    break 2
8019  fi
8020done
8021done
8022IFS=$as_save_IFS
8023
8024fi
8025fi
8026ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8027if test -n "$ac_ct_NMEDIT"; then
8028  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8029$as_echo "$ac_ct_NMEDIT" >&6; }
8030else
8031  { $as_echo "$as_me:$LINENO: result: no" >&5
8032$as_echo "no" >&6; }
8033fi
8034
8035  if test "x$ac_ct_NMEDIT" = x; then
8036    NMEDIT=":"
8037  else
8038    case $cross_compiling:$ac_tool_warned in
8039yes:)
8040{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8041$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8042ac_tool_warned=yes ;;
8043esac
8044    NMEDIT=$ac_ct_NMEDIT
8045  fi
8046else
8047  NMEDIT="$ac_cv_prog_NMEDIT"
8048fi
8049
8050    if test -n "$ac_tool_prefix"; then
8051  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8052set dummy ${ac_tool_prefix}lipo; ac_word=$2
8053{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8054$as_echo_n "checking for $ac_word... " >&6; }
8055if test "${ac_cv_prog_LIPO+set}" = set; then
8056  $as_echo_n "(cached) " >&6
8057else
8058  if test -n "$LIPO"; then
8059  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8060else
8061as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8062for as_dir in $PATH
8063do
8064  IFS=$as_save_IFS
8065  test -z "$as_dir" && as_dir=.
8066  for ac_exec_ext in '' $ac_executable_extensions; do
8067  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8068    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8069    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8070    break 2
8071  fi
8072done
8073done
8074IFS=$as_save_IFS
8075
8076fi
8077fi
8078LIPO=$ac_cv_prog_LIPO
8079if test -n "$LIPO"; then
8080  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
8081$as_echo "$LIPO" >&6; }
8082else
8083  { $as_echo "$as_me:$LINENO: result: no" >&5
8084$as_echo "no" >&6; }
8085fi
8086
8087
8088fi
8089if test -z "$ac_cv_prog_LIPO"; then
8090  ac_ct_LIPO=$LIPO
8091  # Extract the first word of "lipo", so it can be a program name with args.
8092set dummy lipo; ac_word=$2
8093{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8094$as_echo_n "checking for $ac_word... " >&6; }
8095if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
8096  $as_echo_n "(cached) " >&6
8097else
8098  if test -n "$ac_ct_LIPO"; then
8099  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8100else
8101as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8102for as_dir in $PATH
8103do
8104  IFS=$as_save_IFS
8105  test -z "$as_dir" && as_dir=.
8106  for ac_exec_ext in '' $ac_executable_extensions; do
8107  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8108    ac_cv_prog_ac_ct_LIPO="lipo"
8109    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8110    break 2
8111  fi
8112done
8113done
8114IFS=$as_save_IFS
8115
8116fi
8117fi
8118ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8119if test -n "$ac_ct_LIPO"; then
8120  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
8121$as_echo "$ac_ct_LIPO" >&6; }
8122else
8123  { $as_echo "$as_me:$LINENO: result: no" >&5
8124$as_echo "no" >&6; }
8125fi
8126
8127  if test "x$ac_ct_LIPO" = x; then
8128    LIPO=":"
8129  else
8130    case $cross_compiling:$ac_tool_warned in
8131yes:)
8132{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8133$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8134ac_tool_warned=yes ;;
8135esac
8136    LIPO=$ac_ct_LIPO
8137  fi
8138else
8139  LIPO="$ac_cv_prog_LIPO"
8140fi
8141
8142    if test -n "$ac_tool_prefix"; then
8143  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8144set dummy ${ac_tool_prefix}otool; ac_word=$2
8145{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8146$as_echo_n "checking for $ac_word... " >&6; }
8147if test "${ac_cv_prog_OTOOL+set}" = set; then
8148  $as_echo_n "(cached) " >&6
8149else
8150  if test -n "$OTOOL"; then
8151  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8152else
8153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8154for as_dir in $PATH
8155do
8156  IFS=$as_save_IFS
8157  test -z "$as_dir" && as_dir=.
8158  for ac_exec_ext in '' $ac_executable_extensions; do
8159  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8160    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8161    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8162    break 2
8163  fi
8164done
8165done
8166IFS=$as_save_IFS
8167
8168fi
8169fi
8170OTOOL=$ac_cv_prog_OTOOL
8171if test -n "$OTOOL"; then
8172  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
8173$as_echo "$OTOOL" >&6; }
8174else
8175  { $as_echo "$as_me:$LINENO: result: no" >&5
8176$as_echo "no" >&6; }
8177fi
8178
8179
8180fi
8181if test -z "$ac_cv_prog_OTOOL"; then
8182  ac_ct_OTOOL=$OTOOL
8183  # Extract the first word of "otool", so it can be a program name with args.
8184set dummy otool; ac_word=$2
8185{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8186$as_echo_n "checking for $ac_word... " >&6; }
8187if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
8188  $as_echo_n "(cached) " >&6
8189else
8190  if test -n "$ac_ct_OTOOL"; then
8191  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8192else
8193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8194for as_dir in $PATH
8195do
8196  IFS=$as_save_IFS
8197  test -z "$as_dir" && as_dir=.
8198  for ac_exec_ext in '' $ac_executable_extensions; do
8199  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8200    ac_cv_prog_ac_ct_OTOOL="otool"
8201    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8202    break 2
8203  fi
8204done
8205done
8206IFS=$as_save_IFS
8207
8208fi
8209fi
8210ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8211if test -n "$ac_ct_OTOOL"; then
8212  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
8213$as_echo "$ac_ct_OTOOL" >&6; }
8214else
8215  { $as_echo "$as_me:$LINENO: result: no" >&5
8216$as_echo "no" >&6; }
8217fi
8218
8219  if test "x$ac_ct_OTOOL" = x; then
8220    OTOOL=":"
8221  else
8222    case $cross_compiling:$ac_tool_warned in
8223yes:)
8224{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8225$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8226ac_tool_warned=yes ;;
8227esac
8228    OTOOL=$ac_ct_OTOOL
8229  fi
8230else
8231  OTOOL="$ac_cv_prog_OTOOL"
8232fi
8233
8234    if test -n "$ac_tool_prefix"; then
8235  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8236set dummy ${ac_tool_prefix}otool64; ac_word=$2
8237{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8238$as_echo_n "checking for $ac_word... " >&6; }
8239if test "${ac_cv_prog_OTOOL64+set}" = set; then
8240  $as_echo_n "(cached) " >&6
8241else
8242  if test -n "$OTOOL64"; then
8243  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8244else
8245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8246for as_dir in $PATH
8247do
8248  IFS=$as_save_IFS
8249  test -z "$as_dir" && as_dir=.
8250  for ac_exec_ext in '' $ac_executable_extensions; do
8251  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8252    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8253    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8254    break 2
8255  fi
8256done
8257done
8258IFS=$as_save_IFS
8259
8260fi
8261fi
8262OTOOL64=$ac_cv_prog_OTOOL64
8263if test -n "$OTOOL64"; then
8264  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
8265$as_echo "$OTOOL64" >&6; }
8266else
8267  { $as_echo "$as_me:$LINENO: result: no" >&5
8268$as_echo "no" >&6; }
8269fi
8270
8271
8272fi
8273if test -z "$ac_cv_prog_OTOOL64"; then
8274  ac_ct_OTOOL64=$OTOOL64
8275  # Extract the first word of "otool64", so it can be a program name with args.
8276set dummy otool64; ac_word=$2
8277{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8278$as_echo_n "checking for $ac_word... " >&6; }
8279if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
8280  $as_echo_n "(cached) " >&6
8281else
8282  if test -n "$ac_ct_OTOOL64"; then
8283  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8284else
8285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8286for as_dir in $PATH
8287do
8288  IFS=$as_save_IFS
8289  test -z "$as_dir" && as_dir=.
8290  for ac_exec_ext in '' $ac_executable_extensions; do
8291  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8292    ac_cv_prog_ac_ct_OTOOL64="otool64"
8293    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8294    break 2
8295  fi
8296done
8297done
8298IFS=$as_save_IFS
8299
8300fi
8301fi
8302ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8303if test -n "$ac_ct_OTOOL64"; then
8304  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
8305$as_echo "$ac_ct_OTOOL64" >&6; }
8306else
8307  { $as_echo "$as_me:$LINENO: result: no" >&5
8308$as_echo "no" >&6; }
8309fi
8310
8311  if test "x$ac_ct_OTOOL64" = x; then
8312    OTOOL64=":"
8313  else
8314    case $cross_compiling:$ac_tool_warned in
8315yes:)
8316{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8317$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8318ac_tool_warned=yes ;;
8319esac
8320    OTOOL64=$ac_ct_OTOOL64
8321  fi
8322else
8323  OTOOL64="$ac_cv_prog_OTOOL64"
8324fi
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8353$as_echo_n "checking for -single_module linker flag... " >&6; }
8354if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8355  $as_echo_n "(cached) " >&6
8356else
8357  lt_cv_apple_cc_single_mod=no
8358      if test -z "${LT_MULTI_MODULE}"; then
8359	# By default we will add the -single_module flag. You can override
8360	# by either setting the environment variable LT_MULTI_MODULE
8361	# non-empty at configure time, or by adding -multi_module to the
8362	# link flags.
8363	rm -rf libconftest.dylib*
8364	echo "int foo(void){return 1;}" > conftest.c
8365	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8366-dynamiclib -Wl,-single_module conftest.c" >&5
8367	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8368	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8369        _lt_result=$?
8370	# If there is a non-empty error log, and "single_module"
8371	# appears in it, assume the flag caused a linker warning
8372        if test -s conftest.err && $GREP single_module conftest.err; then
8373	  cat conftest.err >&5
8374	# Otherwise, if the output was created with a 0 exit code from
8375	# the compiler, it worked.
8376	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8377	  lt_cv_apple_cc_single_mod=yes
8378	else
8379	  cat conftest.err >&5
8380	fi
8381	rm -rf libconftest.dylib*
8382	rm -f conftest.*
8383      fi
8384fi
8385{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8386$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8387
8388    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8389$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8390if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8391  $as_echo_n "(cached) " >&6
8392else
8393  lt_cv_ld_exported_symbols_list=no
8394      save_LDFLAGS=$LDFLAGS
8395      echo "_main" > conftest.sym
8396      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8397      cat >conftest.$ac_ext <<_ACEOF
8398/* confdefs.h.  */
8399_ACEOF
8400cat confdefs.h >>conftest.$ac_ext
8401cat >>conftest.$ac_ext <<_ACEOF
8402/* end confdefs.h.  */
8403
8404int
8405main ()
8406{
8407
8408  ;
8409  return 0;
8410}
8411_ACEOF
8412rm -f conftest.$ac_objext conftest$ac_exeext
8413if { (ac_try="$ac_link"
8414case "(($ac_try" in
8415  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8416  *) ac_try_echo=$ac_try;;
8417esac
8418eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8419$as_echo "$ac_try_echo") >&5
8420  (eval "$ac_link") 2>conftest.er1
8421  ac_status=$?
8422  grep -v '^ *+' conftest.er1 >conftest.err
8423  rm -f conftest.er1
8424  cat conftest.err >&5
8425  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426  (exit $ac_status); } && {
8427	 test -z "$ac_c_werror_flag" ||
8428	 test ! -s conftest.err
8429       } && test -s conftest$ac_exeext && {
8430	 test "$cross_compiling" = yes ||
8431	 $as_test_x conftest$ac_exeext
8432       }; then
8433  lt_cv_ld_exported_symbols_list=yes
8434else
8435  $as_echo "$as_me: failed program was:" >&5
8436sed 's/^/| /' conftest.$ac_ext >&5
8437
8438	lt_cv_ld_exported_symbols_list=no
8439fi
8440
8441rm -rf conftest.dSYM
8442rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8443      conftest$ac_exeext conftest.$ac_ext
8444	LDFLAGS="$save_LDFLAGS"
8445
8446fi
8447{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8448$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8449
8450    { $as_echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
8451$as_echo_n "checking for -force_load linker flag... " >&6; }
8452if test "${lt_cv_ld_force_load+set}" = set; then
8453  $as_echo_n "(cached) " >&6
8454else
8455  lt_cv_ld_force_load=no
8456      cat > conftest.c << _LT_EOF
8457int forced_loaded() { return 2;}
8458_LT_EOF
8459      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8460      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8461      echo "$AR cru libconftest.a conftest.o" >&5
8462      $AR cru libconftest.a conftest.o 2>&5
8463      echo "$RANLIB libconftest.a" >&5
8464      $RANLIB libconftest.a 2>&5
8465      cat > conftest.c << _LT_EOF
8466int main() { return 0;}
8467_LT_EOF
8468      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8469      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8470      _lt_result=$?
8471      if test -s conftest.err && $GREP force_load conftest.err; then
8472	cat conftest.err >&5
8473      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8474	lt_cv_ld_force_load=yes
8475      else
8476	cat conftest.err >&5
8477      fi
8478        rm -f conftest.err libconftest.a conftest conftest.c
8479        rm -rf conftest.dSYM
8480
8481fi
8482{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
8483$as_echo "$lt_cv_ld_force_load" >&6; }
8484    case $host_os in
8485    rhapsody* | darwin1.[012])
8486      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8487    darwin1.*)
8488      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8489    darwin*) # darwin 5.x on
8490      # if running on 10.5 or later, the deployment target defaults
8491      # to the OS version, if on x86, and 10.4, the deployment
8492      # target defaults to 10.4. Don't you love it?
8493      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8494	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8495	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8496	10.[012]*)
8497	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8498	10.*)
8499	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8500      esac
8501    ;;
8502  esac
8503    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8504      _lt_dar_single_mod='$single_module'
8505    fi
8506    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8507      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8508    else
8509      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8510    fi
8511    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8512      _lt_dsymutil='~$DSYMUTIL $lib || :'
8513    else
8514      _lt_dsymutil=
8515    fi
8516    ;;
8517  esac
8518
8519
8520for ac_header in dlfcn.h
8521do
8522as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8523{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8524$as_echo_n "checking for $ac_header... " >&6; }
8525if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8526  $as_echo_n "(cached) " >&6
8527else
8528  cat >conftest.$ac_ext <<_ACEOF
8529/* confdefs.h.  */
8530_ACEOF
8531cat confdefs.h >>conftest.$ac_ext
8532cat >>conftest.$ac_ext <<_ACEOF
8533/* end confdefs.h.  */
8534$ac_includes_default
8535
8536@%:@include <$ac_header>
8537_ACEOF
8538rm -f conftest.$ac_objext
8539if { (ac_try="$ac_compile"
8540case "(($ac_try" in
8541  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8542  *) ac_try_echo=$ac_try;;
8543esac
8544eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8545$as_echo "$ac_try_echo") >&5
8546  (eval "$ac_compile") 2>conftest.er1
8547  ac_status=$?
8548  grep -v '^ *+' conftest.er1 >conftest.err
8549  rm -f conftest.er1
8550  cat conftest.err >&5
8551  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552  (exit $ac_status); } && {
8553	 test -z "$ac_c_werror_flag" ||
8554	 test ! -s conftest.err
8555       } && test -s conftest.$ac_objext; then
8556  eval "$as_ac_Header=yes"
8557else
8558  $as_echo "$as_me: failed program was:" >&5
8559sed 's/^/| /' conftest.$ac_ext >&5
8560
8561	eval "$as_ac_Header=no"
8562fi
8563
8564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8565fi
8566ac_res=`eval 'as_val=${'$as_ac_Header'}
8567		 $as_echo "$as_val"'`
8568	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8569$as_echo "$ac_res" >&6; }
8570as_val=`eval 'as_val=${'$as_ac_Header'}
8571		 $as_echo "$as_val"'`
8572   if test "x$as_val" = x""yes; then
8573  cat >>confdefs.h <<_ACEOF
8574@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8575_ACEOF
8576
8577fi
8578
8579done
8580
8581
8582
8583
8584
8585# Set options
8586
8587
8588
8589        enable_dlopen=no
8590
8591
8592  enable_win32_dll=no
8593
8594
8595            @%:@ Check whether --enable-shared was given.
8596if test "${enable_shared+set}" = set; then
8597  enableval=$enable_shared; p=${PACKAGE-default}
8598    case $enableval in
8599    yes) enable_shared=yes ;;
8600    no) enable_shared=no ;;
8601    *)
8602      enable_shared=no
8603      # Look at the argument we got.  We use all the common list separators.
8604      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8605      for pkg in $enableval; do
8606	IFS="$lt_save_ifs"
8607	if test "X$pkg" = "X$p"; then
8608	  enable_shared=yes
8609	fi
8610      done
8611      IFS="$lt_save_ifs"
8612      ;;
8613    esac
8614else
8615  enable_shared=yes
8616fi
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626  @%:@ Check whether --enable-static was given.
8627if test "${enable_static+set}" = set; then
8628  enableval=$enable_static; p=${PACKAGE-default}
8629    case $enableval in
8630    yes) enable_static=yes ;;
8631    no) enable_static=no ;;
8632    *)
8633     enable_static=no
8634      # Look at the argument we got.  We use all the common list separators.
8635      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8636      for pkg in $enableval; do
8637	IFS="$lt_save_ifs"
8638	if test "X$pkg" = "X$p"; then
8639	  enable_static=yes
8640	fi
8641      done
8642      IFS="$lt_save_ifs"
8643      ;;
8644    esac
8645else
8646  enable_static=yes
8647fi
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658@%:@ Check whether --with-pic was given.
8659if test "${with_pic+set}" = set; then
8660  withval=$with_pic; lt_p=${PACKAGE-default}
8661    case $withval in
8662    yes|no) pic_mode=$withval ;;
8663    *)
8664      pic_mode=default
8665      # Look at the argument we got.  We use all the common list separators.
8666      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8667      for lt_pkg in $withval; do
8668	IFS="$lt_save_ifs"
8669	if test "X$lt_pkg" = "X$lt_p"; then
8670	  pic_mode=yes
8671	fi
8672      done
8673      IFS="$lt_save_ifs"
8674      ;;
8675    esac
8676else
8677  pic_mode=default
8678fi
8679
8680
8681test -z "$pic_mode" && pic_mode=default
8682
8683
8684
8685
8686
8687
8688
8689  @%:@ Check whether --enable-fast-install was given.
8690if test "${enable_fast_install+set}" = set; then
8691  enableval=$enable_fast_install; p=${PACKAGE-default}
8692    case $enableval in
8693    yes) enable_fast_install=yes ;;
8694    no) enable_fast_install=no ;;
8695    *)
8696      enable_fast_install=no
8697      # Look at the argument we got.  We use all the common list separators.
8698      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8699      for pkg in $enableval; do
8700	IFS="$lt_save_ifs"
8701	if test "X$pkg" = "X$p"; then
8702	  enable_fast_install=yes
8703	fi
8704      done
8705      IFS="$lt_save_ifs"
8706      ;;
8707    esac
8708else
8709  enable_fast_install=yes
8710fi
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722# This can be used to rebuild libtool when needed
8723LIBTOOL_DEPS="$ltmain"
8724
8725# Always use our own libtool.
8726LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757test -z "$LN_S" && LN_S="ln -s"
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772if test -n "${ZSH_VERSION+set}" ; then
8773   setopt NO_GLOB_SUBST
8774fi
8775
8776{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
8777$as_echo_n "checking for objdir... " >&6; }
8778if test "${lt_cv_objdir+set}" = set; then
8779  $as_echo_n "(cached) " >&6
8780else
8781  rm -f .libs 2>/dev/null
8782mkdir .libs 2>/dev/null
8783if test -d .libs; then
8784  lt_cv_objdir=.libs
8785else
8786  # MS-DOS does not allow filenames that begin with a dot.
8787  lt_cv_objdir=_libs
8788fi
8789rmdir .libs 2>/dev/null
8790fi
8791{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8792$as_echo "$lt_cv_objdir" >&6; }
8793objdir=$lt_cv_objdir
8794
8795
8796
8797
8798
8799cat >>confdefs.h <<_ACEOF
8800@%:@define LT_OBJDIR "$lt_cv_objdir/"
8801_ACEOF
8802
8803
8804
8805
8806case $host_os in
8807aix3*)
8808  # AIX sometimes has problems with the GCC collect2 program.  For some
8809  # reason, if we set the COLLECT_NAMES environment variable, the problems
8810  # vanish in a puff of smoke.
8811  if test "X${COLLECT_NAMES+set}" != Xset; then
8812    COLLECT_NAMES=
8813    export COLLECT_NAMES
8814  fi
8815  ;;
8816esac
8817
8818# Global variables:
8819ofile=libtool
8820can_build_shared=yes
8821
8822# All known linkers require a `.a' archive for static linking (except MSVC,
8823# which needs '.lib').
8824libext=a
8825
8826with_gnu_ld="$lt_cv_prog_gnu_ld"
8827
8828old_CC="$CC"
8829old_CFLAGS="$CFLAGS"
8830
8831# Set sane defaults for various variables
8832test -z "$CC" && CC=cc
8833test -z "$LTCC" && LTCC=$CC
8834test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8835test -z "$LD" && LD=ld
8836test -z "$ac_objext" && ac_objext=o
8837
8838for cc_temp in $compiler""; do
8839  case $cc_temp in
8840    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8841    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8842    \-*) ;;
8843    *) break;;
8844  esac
8845done
8846cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8847
8848
8849# Only perform the check for file, if the check method requires it
8850test -z "$MAGIC_CMD" && MAGIC_CMD=file
8851case $deplibs_check_method in
8852file_magic*)
8853  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8854    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8855$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8856if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8857  $as_echo_n "(cached) " >&6
8858else
8859  case $MAGIC_CMD in
8860[\\/*] |  ?:[\\/]*)
8861  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8862  ;;
8863*)
8864  lt_save_MAGIC_CMD="$MAGIC_CMD"
8865  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8866  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8867  for ac_dir in $ac_dummy; do
8868    IFS="$lt_save_ifs"
8869    test -z "$ac_dir" && ac_dir=.
8870    if test -f $ac_dir/${ac_tool_prefix}file; then
8871      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8872      if test -n "$file_magic_test_file"; then
8873	case $deplibs_check_method in
8874	"file_magic "*)
8875	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8876	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8877	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8878	    $EGREP "$file_magic_regex" > /dev/null; then
8879	    :
8880	  else
8881	    cat <<_LT_EOF 1>&2
8882
8883*** Warning: the command libtool uses to detect shared libraries,
8884*** $file_magic_cmd, produces output that libtool cannot recognize.
8885*** The result is that libtool may fail to recognize shared libraries
8886*** as such.  This will affect the creation of libtool libraries that
8887*** depend on shared libraries, but programs linked with such libtool
8888*** libraries will work regardless of this problem.  Nevertheless, you
8889*** may want to report the problem to your system manager and/or to
8890*** bug-libtool@gnu.org
8891
8892_LT_EOF
8893	  fi ;;
8894	esac
8895      fi
8896      break
8897    fi
8898  done
8899  IFS="$lt_save_ifs"
8900  MAGIC_CMD="$lt_save_MAGIC_CMD"
8901  ;;
8902esac
8903fi
8904
8905MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8906if test -n "$MAGIC_CMD"; then
8907  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8908$as_echo "$MAGIC_CMD" >&6; }
8909else
8910  { $as_echo "$as_me:$LINENO: result: no" >&5
8911$as_echo "no" >&6; }
8912fi
8913
8914
8915
8916
8917
8918if test -z "$lt_cv_path_MAGIC_CMD"; then
8919  if test -n "$ac_tool_prefix"; then
8920    { $as_echo "$as_me:$LINENO: checking for file" >&5
8921$as_echo_n "checking for file... " >&6; }
8922if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8923  $as_echo_n "(cached) " >&6
8924else
8925  case $MAGIC_CMD in
8926[\\/*] |  ?:[\\/]*)
8927  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8928  ;;
8929*)
8930  lt_save_MAGIC_CMD="$MAGIC_CMD"
8931  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8932  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8933  for ac_dir in $ac_dummy; do
8934    IFS="$lt_save_ifs"
8935    test -z "$ac_dir" && ac_dir=.
8936    if test -f $ac_dir/file; then
8937      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8938      if test -n "$file_magic_test_file"; then
8939	case $deplibs_check_method in
8940	"file_magic "*)
8941	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8942	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8943	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8944	    $EGREP "$file_magic_regex" > /dev/null; then
8945	    :
8946	  else
8947	    cat <<_LT_EOF 1>&2
8948
8949*** Warning: the command libtool uses to detect shared libraries,
8950*** $file_magic_cmd, produces output that libtool cannot recognize.
8951*** The result is that libtool may fail to recognize shared libraries
8952*** as such.  This will affect the creation of libtool libraries that
8953*** depend on shared libraries, but programs linked with such libtool
8954*** libraries will work regardless of this problem.  Nevertheless, you
8955*** may want to report the problem to your system manager and/or to
8956*** bug-libtool@gnu.org
8957
8958_LT_EOF
8959	  fi ;;
8960	esac
8961      fi
8962      break
8963    fi
8964  done
8965  IFS="$lt_save_ifs"
8966  MAGIC_CMD="$lt_save_MAGIC_CMD"
8967  ;;
8968esac
8969fi
8970
8971MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8972if test -n "$MAGIC_CMD"; then
8973  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8974$as_echo "$MAGIC_CMD" >&6; }
8975else
8976  { $as_echo "$as_me:$LINENO: result: no" >&5
8977$as_echo "no" >&6; }
8978fi
8979
8980
8981  else
8982    MAGIC_CMD=:
8983  fi
8984fi
8985
8986  fi
8987  ;;
8988esac
8989
8990# Use C for the default configuration in the libtool script
8991
8992lt_save_CC="$CC"
8993ac_ext=c
8994ac_cpp='$CPP $CPPFLAGS'
8995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8997ac_compiler_gnu=$ac_cv_c_compiler_gnu
8998
8999
9000# Source file extension for C test sources.
9001ac_ext=c
9002
9003# Object file extension for compiled C test sources.
9004objext=o
9005objext=$objext
9006
9007# Code to be used in simple compile tests
9008lt_simple_compile_test_code="int some_variable = 0;"
9009
9010# Code to be used in simple link tests
9011lt_simple_link_test_code='int main(){return(0);}'
9012
9013
9014
9015
9016
9017
9018
9019# If no C compiler was specified, use CC.
9020LTCC=${LTCC-"$CC"}
9021
9022# If no C compiler flags were specified, use CFLAGS.
9023LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9024
9025# Allow CC to be a program name with arguments.
9026compiler=$CC
9027
9028# Save the default compiler, since it gets overwritten when the other
9029# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9030compiler_DEFAULT=$CC
9031
9032# save warnings/boilerplate of simple test code
9033ac_outfile=conftest.$ac_objext
9034echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9035eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9036_lt_compiler_boilerplate=`cat conftest.err`
9037$RM conftest*
9038
9039ac_outfile=conftest.$ac_objext
9040echo "$lt_simple_link_test_code" >conftest.$ac_ext
9041eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9042_lt_linker_boilerplate=`cat conftest.err`
9043$RM -r conftest*
9044
9045
9046## CAVEAT EMPTOR:
9047## There is no encapsulation within the following macros, do not change
9048## the running order or otherwise move them around unless you know exactly
9049## what you are doing...
9050if test -n "$compiler"; then
9051
9052lt_prog_compiler_no_builtin_flag=
9053
9054if test "$GCC" = yes; then
9055  case $cc_basename in
9056  nvcc*)
9057    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9058  *)
9059    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9060  esac
9061
9062  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9063$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9064if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9065  $as_echo_n "(cached) " >&6
9066else
9067  lt_cv_prog_compiler_rtti_exceptions=no
9068   ac_outfile=conftest.$ac_objext
9069   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9070   lt_compiler_flag="-fno-rtti -fno-exceptions"
9071   # Insert the option either (1) after the last *FLAGS variable, or
9072   # (2) before a word containing "conftest.", or (3) at the end.
9073   # Note that $ac_compile itself does not contain backslashes and begins
9074   # with a dollar sign (not a hyphen), so the echo should work correctly.
9075   # The option is referenced via a variable to avoid confusing sed.
9076   lt_compile=`echo "$ac_compile" | $SED \
9077   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9078   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9079   -e 's:$: $lt_compiler_flag:'`
9080   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9081   (eval "$lt_compile" 2>conftest.err)
9082   ac_status=$?
9083   cat conftest.err >&5
9084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085   if (exit $ac_status) && test -s "$ac_outfile"; then
9086     # The compiler can only warn and ignore the option if not recognized
9087     # So say no if there are warnings other than the usual output.
9088     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9089     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9090     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9091       lt_cv_prog_compiler_rtti_exceptions=yes
9092     fi
9093   fi
9094   $RM conftest*
9095
9096fi
9097{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9098$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9099
9100if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9101    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9102else
9103    :
9104fi
9105
9106fi
9107
9108
9109
9110
9111
9112
9113  lt_prog_compiler_wl=
9114lt_prog_compiler_pic=
9115lt_prog_compiler_static=
9116
9117
9118  if test "$GCC" = yes; then
9119    lt_prog_compiler_wl='-Wl,'
9120    lt_prog_compiler_static='-static'
9121
9122    case $host_os in
9123      aix*)
9124      # All AIX code is PIC.
9125      if test "$host_cpu" = ia64; then
9126	# AIX 5 now supports IA64 processor
9127	lt_prog_compiler_static='-Bstatic'
9128      fi
9129      ;;
9130
9131    amigaos*)
9132      case $host_cpu in
9133      powerpc)
9134            # see comment about AmigaOS4 .so support
9135            lt_prog_compiler_pic='-fPIC'
9136        ;;
9137      m68k)
9138            # FIXME: we need at least 68020 code to build shared libraries, but
9139            # adding the `-m68020' flag to GCC prevents building anything better,
9140            # like `-m68040'.
9141            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9142        ;;
9143      esac
9144      ;;
9145
9146    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9147      # PIC is the default for these OSes.
9148      ;;
9149
9150    mingw* | cygwin* | pw32* | os2* | cegcc*)
9151      # This hack is so that the source file can tell whether it is being
9152      # built for inclusion in a dll (and should export symbols for example).
9153      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9154      # (--disable-auto-import) libraries
9155      lt_prog_compiler_pic='-DDLL_EXPORT'
9156      ;;
9157
9158    darwin* | rhapsody*)
9159      # PIC is the default on this platform
9160      # Common symbols not allowed in MH_DYLIB files
9161      lt_prog_compiler_pic='-fno-common'
9162      ;;
9163
9164    haiku*)
9165      # PIC is the default for Haiku.
9166      # The "-static" flag exists, but is broken.
9167      lt_prog_compiler_static=
9168      ;;
9169
9170    hpux*)
9171      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9172      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9173      # sets the default TLS model and affects inlining.
9174      case $host_cpu in
9175      hppa*64*)
9176	# +Z the default
9177	;;
9178      *)
9179	lt_prog_compiler_pic='-fPIC'
9180	;;
9181      esac
9182      ;;
9183
9184    interix[3-9]*)
9185      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9186      # Instead, we relocate shared libraries at runtime.
9187      ;;
9188
9189    msdosdjgpp*)
9190      # Just because we use GCC doesn't mean we suddenly get shared libraries
9191      # on systems that don't support them.
9192      lt_prog_compiler_can_build_shared=no
9193      enable_shared=no
9194      ;;
9195
9196    *nto* | *qnx*)
9197      # QNX uses GNU C++, but need to define -shared option too, otherwise
9198      # it will coredump.
9199      lt_prog_compiler_pic='-fPIC -shared'
9200      ;;
9201
9202    sysv4*MP*)
9203      if test -d /usr/nec; then
9204	lt_prog_compiler_pic=-Kconform_pic
9205      fi
9206      ;;
9207
9208    *)
9209      lt_prog_compiler_pic='-fPIC'
9210      ;;
9211    esac
9212
9213    case $cc_basename in
9214    nvcc*) # Cuda Compiler Driver 2.2
9215      lt_prog_compiler_wl='-Xlinker '
9216      if test -n "$lt_prog_compiler_pic"; then
9217        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9218      fi
9219      ;;
9220    esac
9221  else
9222    # PORTME Check for flag to pass linker flags through the system compiler.
9223    case $host_os in
9224    aix*)
9225      lt_prog_compiler_wl='-Wl,'
9226      if test "$host_cpu" = ia64; then
9227	# AIX 5 now supports IA64 processor
9228	lt_prog_compiler_static='-Bstatic'
9229      else
9230	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9231      fi
9232      ;;
9233
9234    mingw* | cygwin* | pw32* | os2* | cegcc*)
9235      # This hack is so that the source file can tell whether it is being
9236      # built for inclusion in a dll (and should export symbols for example).
9237      lt_prog_compiler_pic='-DDLL_EXPORT'
9238      ;;
9239
9240    hpux9* | hpux10* | hpux11*)
9241      lt_prog_compiler_wl='-Wl,'
9242      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9243      # not for PA HP-UX.
9244      case $host_cpu in
9245      hppa*64*|ia64*)
9246	# +Z the default
9247	;;
9248      *)
9249	lt_prog_compiler_pic='+Z'
9250	;;
9251      esac
9252      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9253      lt_prog_compiler_static='${wl}-a ${wl}archive'
9254      ;;
9255
9256    irix5* | irix6* | nonstopux*)
9257      lt_prog_compiler_wl='-Wl,'
9258      # PIC (with -KPIC) is the default.
9259      lt_prog_compiler_static='-non_shared'
9260      ;;
9261
9262    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9263      case $cc_basename in
9264      # old Intel for x86_64 which still supported -KPIC.
9265      ecc*)
9266	lt_prog_compiler_wl='-Wl,'
9267	lt_prog_compiler_pic='-KPIC'
9268	lt_prog_compiler_static='-static'
9269        ;;
9270      # icc used to be incompatible with GCC.
9271      # ICC 10 doesn't accept -KPIC any more.
9272      icc* | ifort*)
9273	lt_prog_compiler_wl='-Wl,'
9274	lt_prog_compiler_pic='-fPIC'
9275	lt_prog_compiler_static='-static'
9276        ;;
9277      # Lahey Fortran 8.1.
9278      lf95*)
9279	lt_prog_compiler_wl='-Wl,'
9280	lt_prog_compiler_pic='--shared'
9281	lt_prog_compiler_static='--static'
9282	;;
9283      nagfor*)
9284	# NAG Fortran compiler
9285	lt_prog_compiler_wl='-Wl,-Wl,,'
9286	lt_prog_compiler_pic='-PIC'
9287	lt_prog_compiler_static='-Bstatic'
9288	;;
9289      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9290        # Portland Group compilers (*not* the Pentium gcc compiler,
9291	# which looks to be a dead project)
9292	lt_prog_compiler_wl='-Wl,'
9293	lt_prog_compiler_pic='-fpic'
9294	lt_prog_compiler_static='-Bstatic'
9295        ;;
9296      ccc*)
9297        lt_prog_compiler_wl='-Wl,'
9298        # All Alpha code is PIC.
9299        lt_prog_compiler_static='-non_shared'
9300        ;;
9301      xl* | bgxl* | bgf* | mpixl*)
9302	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9303	lt_prog_compiler_wl='-Wl,'
9304	lt_prog_compiler_pic='-qpic'
9305	lt_prog_compiler_static='-qstaticlink'
9306	;;
9307      *)
9308	case `$CC -V 2>&1 | sed 5q` in
9309	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9310	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9311	  lt_prog_compiler_pic='-KPIC'
9312	  lt_prog_compiler_static='-Bstatic'
9313	  lt_prog_compiler_wl=''
9314	  ;;
9315	*Sun\ F* | *Sun*Fortran*)
9316	  lt_prog_compiler_pic='-KPIC'
9317	  lt_prog_compiler_static='-Bstatic'
9318	  lt_prog_compiler_wl='-Qoption ld '
9319	  ;;
9320	*Sun\ C*)
9321	  # Sun C 5.9
9322	  lt_prog_compiler_pic='-KPIC'
9323	  lt_prog_compiler_static='-Bstatic'
9324	  lt_prog_compiler_wl='-Wl,'
9325	  ;;
9326        *Intel*\ [CF]*Compiler*)
9327	  lt_prog_compiler_wl='-Wl,'
9328	  lt_prog_compiler_pic='-fPIC'
9329	  lt_prog_compiler_static='-static'
9330	  ;;
9331	*Portland\ Group*)
9332	  lt_prog_compiler_wl='-Wl,'
9333	  lt_prog_compiler_pic='-fpic'
9334	  lt_prog_compiler_static='-Bstatic'
9335	  ;;
9336	esac
9337	;;
9338      esac
9339      ;;
9340
9341    newsos6)
9342      lt_prog_compiler_pic='-KPIC'
9343      lt_prog_compiler_static='-Bstatic'
9344      ;;
9345
9346    *nto* | *qnx*)
9347      # QNX uses GNU C++, but need to define -shared option too, otherwise
9348      # it will coredump.
9349      lt_prog_compiler_pic='-fPIC -shared'
9350      ;;
9351
9352    osf3* | osf4* | osf5*)
9353      lt_prog_compiler_wl='-Wl,'
9354      # All OSF/1 code is PIC.
9355      lt_prog_compiler_static='-non_shared'
9356      ;;
9357
9358    rdos*)
9359      lt_prog_compiler_static='-non_shared'
9360      ;;
9361
9362    solaris*)
9363      lt_prog_compiler_pic='-KPIC'
9364      lt_prog_compiler_static='-Bstatic'
9365      case $cc_basename in
9366      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9367	lt_prog_compiler_wl='-Qoption ld ';;
9368      *)
9369	lt_prog_compiler_wl='-Wl,';;
9370      esac
9371      ;;
9372
9373    sunos4*)
9374      lt_prog_compiler_wl='-Qoption ld '
9375      lt_prog_compiler_pic='-PIC'
9376      lt_prog_compiler_static='-Bstatic'
9377      ;;
9378
9379    sysv4 | sysv4.2uw2* | sysv4.3*)
9380      lt_prog_compiler_wl='-Wl,'
9381      lt_prog_compiler_pic='-KPIC'
9382      lt_prog_compiler_static='-Bstatic'
9383      ;;
9384
9385    sysv4*MP*)
9386      if test -d /usr/nec ;then
9387	lt_prog_compiler_pic='-Kconform_pic'
9388	lt_prog_compiler_static='-Bstatic'
9389      fi
9390      ;;
9391
9392    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9393      lt_prog_compiler_wl='-Wl,'
9394      lt_prog_compiler_pic='-KPIC'
9395      lt_prog_compiler_static='-Bstatic'
9396      ;;
9397
9398    unicos*)
9399      lt_prog_compiler_wl='-Wl,'
9400      lt_prog_compiler_can_build_shared=no
9401      ;;
9402
9403    uts4*)
9404      lt_prog_compiler_pic='-pic'
9405      lt_prog_compiler_static='-Bstatic'
9406      ;;
9407
9408    *)
9409      lt_prog_compiler_can_build_shared=no
9410      ;;
9411    esac
9412  fi
9413
9414case $host_os in
9415  # For platforms which do not support PIC, -DPIC is meaningless:
9416  *djgpp*)
9417    lt_prog_compiler_pic=
9418    ;;
9419  *)
9420    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
9421    ;;
9422esac
9423
9424{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9425$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9426if test "${lt_cv_prog_compiler_pic+set}" = set; then
9427  $as_echo_n "(cached) " >&6
9428else
9429  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9430fi
9431{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
9432$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9433lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9434
9435#
9436# Check to make sure the PIC flag actually works.
9437#
9438if test -n "$lt_prog_compiler_pic"; then
9439  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9440$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9441if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9442  $as_echo_n "(cached) " >&6
9443else
9444  lt_cv_prog_compiler_pic_works=no
9445   ac_outfile=conftest.$ac_objext
9446   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9447   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
9448   # Insert the option either (1) after the last *FLAGS variable, or
9449   # (2) before a word containing "conftest.", or (3) at the end.
9450   # Note that $ac_compile itself does not contain backslashes and begins
9451   # with a dollar sign (not a hyphen), so the echo should work correctly.
9452   # The option is referenced via a variable to avoid confusing sed.
9453   lt_compile=`echo "$ac_compile" | $SED \
9454   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9455   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9456   -e 's:$: $lt_compiler_flag:'`
9457   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9458   (eval "$lt_compile" 2>conftest.err)
9459   ac_status=$?
9460   cat conftest.err >&5
9461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462   if (exit $ac_status) && test -s "$ac_outfile"; then
9463     # The compiler can only warn and ignore the option if not recognized
9464     # So say no if there are warnings other than the usual output.
9465     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9466     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9467     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9468       lt_cv_prog_compiler_pic_works=yes
9469     fi
9470   fi
9471   $RM conftest*
9472
9473fi
9474{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9475$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9476
9477if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9478    case $lt_prog_compiler_pic in
9479     "" | " "*) ;;
9480     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9481     esac
9482else
9483    lt_prog_compiler_pic=
9484     lt_prog_compiler_can_build_shared=no
9485fi
9486
9487fi
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499#
9500# Check to make sure the static flag actually works.
9501#
9502wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9503{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9504$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9505if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9506  $as_echo_n "(cached) " >&6
9507else
9508  lt_cv_prog_compiler_static_works=no
9509   save_LDFLAGS="$LDFLAGS"
9510   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9511   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9512   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9513     # The linker can only warn and ignore the option if not recognized
9514     # So say no if there are warnings
9515     if test -s conftest.err; then
9516       # Append any errors to the config.log.
9517       cat conftest.err 1>&5
9518       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9519       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9520       if diff conftest.exp conftest.er2 >/dev/null; then
9521         lt_cv_prog_compiler_static_works=yes
9522       fi
9523     else
9524       lt_cv_prog_compiler_static_works=yes
9525     fi
9526   fi
9527   $RM -r conftest*
9528   LDFLAGS="$save_LDFLAGS"
9529
9530fi
9531{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9532$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9533
9534if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9535    :
9536else
9537    lt_prog_compiler_static=
9538fi
9539
9540
9541
9542
9543
9544
9545
9546  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9547$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9548if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9549  $as_echo_n "(cached) " >&6
9550else
9551  lt_cv_prog_compiler_c_o=no
9552   $RM -r conftest 2>/dev/null
9553   mkdir conftest
9554   cd conftest
9555   mkdir out
9556   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9557
9558   lt_compiler_flag="-o out/conftest2.$ac_objext"
9559   # Insert the option either (1) after the last *FLAGS variable, or
9560   # (2) before a word containing "conftest.", or (3) at the end.
9561   # Note that $ac_compile itself does not contain backslashes and begins
9562   # with a dollar sign (not a hyphen), so the echo should work correctly.
9563   lt_compile=`echo "$ac_compile" | $SED \
9564   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9565   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9566   -e 's:$: $lt_compiler_flag:'`
9567   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9568   (eval "$lt_compile" 2>out/conftest.err)
9569   ac_status=$?
9570   cat out/conftest.err >&5
9571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9573   then
9574     # The compiler can only warn and ignore the option if not recognized
9575     # So say no if there are warnings
9576     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9577     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9578     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9579       lt_cv_prog_compiler_c_o=yes
9580     fi
9581   fi
9582   chmod u+w . 2>&5
9583   $RM conftest*
9584   # SGI C++ compiler will create directory out/ii_files/ for
9585   # template instantiation
9586   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9587   $RM out/* && rmdir out
9588   cd ..
9589   $RM -r conftest
9590   $RM conftest*
9591
9592fi
9593{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9594$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9595
9596
9597
9598
9599
9600
9601  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9602$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9603if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9604  $as_echo_n "(cached) " >&6
9605else
9606  lt_cv_prog_compiler_c_o=no
9607   $RM -r conftest 2>/dev/null
9608   mkdir conftest
9609   cd conftest
9610   mkdir out
9611   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9612
9613   lt_compiler_flag="-o out/conftest2.$ac_objext"
9614   # Insert the option either (1) after the last *FLAGS variable, or
9615   # (2) before a word containing "conftest.", or (3) at the end.
9616   # Note that $ac_compile itself does not contain backslashes and begins
9617   # with a dollar sign (not a hyphen), so the echo should work correctly.
9618   lt_compile=`echo "$ac_compile" | $SED \
9619   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9620   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9621   -e 's:$: $lt_compiler_flag:'`
9622   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9623   (eval "$lt_compile" 2>out/conftest.err)
9624   ac_status=$?
9625   cat out/conftest.err >&5
9626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9627   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9628   then
9629     # The compiler can only warn and ignore the option if not recognized
9630     # So say no if there are warnings
9631     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9632     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9633     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9634       lt_cv_prog_compiler_c_o=yes
9635     fi
9636   fi
9637   chmod u+w . 2>&5
9638   $RM conftest*
9639   # SGI C++ compiler will create directory out/ii_files/ for
9640   # template instantiation
9641   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9642   $RM out/* && rmdir out
9643   cd ..
9644   $RM -r conftest
9645   $RM conftest*
9646
9647fi
9648{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9649$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9650
9651
9652
9653
9654hard_links="nottested"
9655if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9656  # do not overwrite the value of need_locks provided by the user
9657  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9658$as_echo_n "checking if we can lock with hard links... " >&6; }
9659  hard_links=yes
9660  $RM conftest*
9661  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9662  touch conftest.a
9663  ln conftest.a conftest.b 2>&5 || hard_links=no
9664  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9665  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9666$as_echo "$hard_links" >&6; }
9667  if test "$hard_links" = no; then
9668    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9669$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9670    need_locks=warn
9671  fi
9672else
9673  need_locks=no
9674fi
9675
9676
9677
9678
9679
9680
9681  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9682$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9683
9684  runpath_var=
9685  allow_undefined_flag=
9686  always_export_symbols=no
9687  archive_cmds=
9688  archive_expsym_cmds=
9689  compiler_needs_object=no
9690  enable_shared_with_static_runtimes=no
9691  export_dynamic_flag_spec=
9692  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9693  hardcode_automatic=no
9694  hardcode_direct=no
9695  hardcode_direct_absolute=no
9696  hardcode_libdir_flag_spec=
9697  hardcode_libdir_separator=
9698  hardcode_minus_L=no
9699  hardcode_shlibpath_var=unsupported
9700  inherit_rpath=no
9701  link_all_deplibs=unknown
9702  module_cmds=
9703  module_expsym_cmds=
9704  old_archive_from_new_cmds=
9705  old_archive_from_expsyms_cmds=
9706  thread_safe_flag_spec=
9707  whole_archive_flag_spec=
9708  # include_expsyms should be a list of space-separated symbols to be *always*
9709  # included in the symbol list
9710  include_expsyms=
9711  # exclude_expsyms can be an extended regexp of symbols to exclude
9712  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9713  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9714  # as well as any symbol that contains `d'.
9715  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9716  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9717  # platforms (ab)use it in PIC code, but their linkers get confused if
9718  # the symbol is explicitly referenced.  Since portable code cannot
9719  # rely on this symbol name, it's probably fine to never include it in
9720  # preloaded symbol tables.
9721  # Exclude shared library initialization/finalization symbols.
9722  extract_expsyms_cmds=
9723
9724  case $host_os in
9725  cygwin* | mingw* | pw32* | cegcc*)
9726    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9727    # When not using gcc, we currently assume that we are using
9728    # Microsoft Visual C++.
9729    if test "$GCC" != yes; then
9730      with_gnu_ld=no
9731    fi
9732    ;;
9733  interix*)
9734    # we just hope/assume this is gcc and not c89 (= MSVC++)
9735    with_gnu_ld=yes
9736    ;;
9737  openbsd*)
9738    with_gnu_ld=no
9739    ;;
9740  esac
9741
9742  ld_shlibs=yes
9743
9744  # On some targets, GNU ld is compatible enough with the native linker
9745  # that we're better off using the native interface for both.
9746  lt_use_gnu_ld_interface=no
9747  if test "$with_gnu_ld" = yes; then
9748    case $host_os in
9749      aix*)
9750	# The AIX port of GNU ld has always aspired to compatibility
9751	# with the native linker.  However, as the warning in the GNU ld
9752	# block says, versions before 2.19.5* couldn't really create working
9753	# shared libraries, regardless of the interface used.
9754	case `$LD -v 2>&1` in
9755	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9756	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9757	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9758	  *)
9759	    lt_use_gnu_ld_interface=yes
9760	    ;;
9761	esac
9762	;;
9763      *)
9764	lt_use_gnu_ld_interface=yes
9765	;;
9766    esac
9767  fi
9768
9769  if test "$lt_use_gnu_ld_interface" = yes; then
9770    # If archive_cmds runs LD, not CC, wlarc should be empty
9771    wlarc='${wl}'
9772
9773    # Set some defaults for GNU ld with shared library support. These
9774    # are reset later if shared libraries are not supported. Putting them
9775    # here allows them to be overridden if necessary.
9776    runpath_var=LD_RUN_PATH
9777    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9778    export_dynamic_flag_spec='${wl}--export-dynamic'
9779    # ancient GNU ld didn't support --whole-archive et. al.
9780    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9781      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9782    else
9783      whole_archive_flag_spec=
9784    fi
9785    supports_anon_versioning=no
9786    case `$LD -v 2>&1` in
9787      *GNU\ gold*) supports_anon_versioning=yes ;;
9788      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9789      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9790      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9791      *\ 2.11.*) ;; # other 2.11 versions
9792      *) supports_anon_versioning=yes ;;
9793    esac
9794
9795    # See if GNU ld supports shared libraries.
9796    case $host_os in
9797    aix[3-9]*)
9798      # On AIX/PPC, the GNU linker is very broken
9799      if test "$host_cpu" != ia64; then
9800	ld_shlibs=no
9801	cat <<_LT_EOF 1>&2
9802
9803*** Warning: the GNU linker, at least up to release 2.19, is reported
9804*** to be unable to reliably create shared libraries on AIX.
9805*** Therefore, libtool is disabling shared libraries support.  If you
9806*** really care for shared libraries, you may want to install binutils
9807*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9808*** You will then need to restart the configuration process.
9809
9810_LT_EOF
9811      fi
9812      ;;
9813
9814    amigaos*)
9815      case $host_cpu in
9816      powerpc)
9817            # see comment about AmigaOS4 .so support
9818            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9819            archive_expsym_cmds=''
9820        ;;
9821      m68k)
9822            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)'
9823            hardcode_libdir_flag_spec='-L$libdir'
9824            hardcode_minus_L=yes
9825        ;;
9826      esac
9827      ;;
9828
9829    beos*)
9830      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9831	allow_undefined_flag=unsupported
9832	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9833	# support --undefined.  This deserves some investigation.  FIXME
9834	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9835      else
9836	ld_shlibs=no
9837      fi
9838      ;;
9839
9840    cygwin* | mingw* | pw32* | cegcc*)
9841      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9842      # as there is no search path for DLLs.
9843      hardcode_libdir_flag_spec='-L$libdir'
9844      export_dynamic_flag_spec='${wl}--export-all-symbols'
9845      allow_undefined_flag=unsupported
9846      always_export_symbols=no
9847      enable_shared_with_static_runtimes=yes
9848      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9849      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9850
9851      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9852        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9853	# If the export-symbols file already is a .def file (1st line
9854	# is EXPORTS), use it as is; otherwise, prepend...
9855	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9856	  cp $export_symbols $output_objdir/$soname.def;
9857	else
9858	  echo EXPORTS > $output_objdir/$soname.def;
9859	  cat $export_symbols >> $output_objdir/$soname.def;
9860	fi~
9861	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9862      else
9863	ld_shlibs=no
9864      fi
9865      ;;
9866
9867    haiku*)
9868      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9869      link_all_deplibs=yes
9870      ;;
9871
9872    interix[3-9]*)
9873      hardcode_direct=no
9874      hardcode_shlibpath_var=no
9875      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9876      export_dynamic_flag_spec='${wl}-E'
9877      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9878      # Instead, shared libraries are loaded at an image base (0x10000000 by
9879      # default) and relocated if they conflict, which is a slow very memory
9880      # consuming and fragmenting process.  To avoid this, we pick a random,
9881      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9882      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9883      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9884      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'
9885      ;;
9886
9887    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9888      tmp_diet=no
9889      if test "$host_os" = linux-dietlibc; then
9890	case $cc_basename in
9891	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9892	esac
9893      fi
9894      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9895	 && test "$tmp_diet" = no
9896      then
9897	tmp_addflag=' $pic_flag'
9898	tmp_sharedflag='-shared'
9899	case $cc_basename,$host_cpu in
9900        pgcc*)				# Portland Group C compiler
9901	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9902	  tmp_addflag=' $pic_flag'
9903	  ;;
9904	pgf77* | pgf90* | pgf95* | pgfortran*)
9905					# Portland Group f77 and f90 compilers
9906	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9907	  tmp_addflag=' $pic_flag -Mnomain' ;;
9908	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9909	  tmp_addflag=' -i_dynamic' ;;
9910	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9911	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9912	ifc* | ifort*)			# Intel Fortran compiler
9913	  tmp_addflag=' -nofor_main' ;;
9914	lf95*)				# Lahey Fortran 8.1
9915	  whole_archive_flag_spec=
9916	  tmp_sharedflag='--shared' ;;
9917	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9918	  tmp_sharedflag='-qmkshrobj'
9919	  tmp_addflag= ;;
9920	nvcc*)	# Cuda Compiler Driver 2.2
9921	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9922	  compiler_needs_object=yes
9923	  ;;
9924	esac
9925	case `$CC -V 2>&1 | sed 5q` in
9926	*Sun\ C*)			# Sun C 5.9
9927	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9928	  compiler_needs_object=yes
9929	  tmp_sharedflag='-G' ;;
9930	*Sun\ F*)			# Sun Fortran 8.3
9931	  tmp_sharedflag='-G' ;;
9932	esac
9933	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9934
9935        if test "x$supports_anon_versioning" = xyes; then
9936          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9937	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9938	    echo "local: *; };" >> $output_objdir/$libname.ver~
9939	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9940        fi
9941
9942	case $cc_basename in
9943	xlf* | bgf* | bgxlf* | mpixlf*)
9944	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9945	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9946	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9947	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9948	  if test "x$supports_anon_versioning" = xyes; then
9949	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9950	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9951	      echo "local: *; };" >> $output_objdir/$libname.ver~
9952	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9953	  fi
9954	  ;;
9955	esac
9956      else
9957        ld_shlibs=no
9958      fi
9959      ;;
9960
9961    netbsd*)
9962      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9963	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9964	wlarc=
9965      else
9966	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9967	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9968      fi
9969      ;;
9970
9971    solaris*)
9972      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9973	ld_shlibs=no
9974	cat <<_LT_EOF 1>&2
9975
9976*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9977*** create shared libraries on Solaris systems.  Therefore, libtool
9978*** is disabling shared libraries support.  We urge you to upgrade GNU
9979*** binutils to release 2.9.1 or newer.  Another option is to modify
9980*** your PATH or compiler configuration so that the native linker is
9981*** used, and then restart.
9982
9983_LT_EOF
9984      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9985	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9986	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9987      else
9988	ld_shlibs=no
9989      fi
9990      ;;
9991
9992    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9993      case `$LD -v 2>&1` in
9994        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9995	ld_shlibs=no
9996	cat <<_LT_EOF 1>&2
9997
9998*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9999*** reliably create shared libraries on SCO systems.  Therefore, libtool
10000*** is disabling shared libraries support.  We urge you to upgrade GNU
10001*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10002*** your PATH or compiler configuration so that the native linker is
10003*** used, and then restart.
10004
10005_LT_EOF
10006	;;
10007	*)
10008	  # For security reasons, it is highly recommended that you always
10009	  # use absolute paths for naming shared libraries, and exclude the
10010	  # DT_RUNPATH tag from executables and libraries.  But doing so
10011	  # requires that you compile everything twice, which is a pain.
10012	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10013	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10014	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10015	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10016	  else
10017	    ld_shlibs=no
10018	  fi
10019	;;
10020      esac
10021      ;;
10022
10023    sunos4*)
10024      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10025      wlarc=
10026      hardcode_direct=yes
10027      hardcode_shlibpath_var=no
10028      ;;
10029
10030    *)
10031      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10032	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10033	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10034      else
10035	ld_shlibs=no
10036      fi
10037      ;;
10038    esac
10039
10040    if test "$ld_shlibs" = no; then
10041      runpath_var=
10042      hardcode_libdir_flag_spec=
10043      export_dynamic_flag_spec=
10044      whole_archive_flag_spec=
10045    fi
10046  else
10047    # PORTME fill in a description of your system's linker (not GNU ld)
10048    case $host_os in
10049    aix3*)
10050      allow_undefined_flag=unsupported
10051      always_export_symbols=yes
10052      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'
10053      # Note: this linker hardcodes the directories in LIBPATH if there
10054      # are no directories specified by -L.
10055      hardcode_minus_L=yes
10056      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10057	# Neither direct hardcoding nor static linking is supported with a
10058	# broken collect2.
10059	hardcode_direct=unsupported
10060      fi
10061      ;;
10062
10063    aix[4-9]*)
10064      if test "$host_cpu" = ia64; then
10065	# On IA64, the linker does run time linking by default, so we don't
10066	# have to do anything special.
10067	aix_use_runtimelinking=no
10068	exp_sym_flag='-Bexport'
10069	no_entry_flag=""
10070      else
10071	# If we're using GNU nm, then we don't want the "-C" option.
10072	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10073	# Also, AIX nm treats weak defined symbols like other global
10074	# defined symbols, whereas GNU nm marks them as "W".
10075	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10076	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10077	else
10078	  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'
10079	fi
10080	aix_use_runtimelinking=no
10081
10082	# Test if we are trying to use run time linking or normal
10083	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10084	# need to do runtime linking.
10085	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10086	  for ld_flag in $LDFLAGS; do
10087	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10088	    aix_use_runtimelinking=yes
10089	    break
10090	  fi
10091	  done
10092	  ;;
10093	esac
10094
10095	exp_sym_flag='-bexport'
10096	no_entry_flag='-bnoentry'
10097      fi
10098
10099      # When large executables or shared objects are built, AIX ld can
10100      # have problems creating the table of contents.  If linking a library
10101      # or program results in "error TOC overflow" add -mminimal-toc to
10102      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10103      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10104
10105      archive_cmds=''
10106      hardcode_direct=yes
10107      hardcode_direct_absolute=yes
10108      hardcode_libdir_separator=':'
10109      link_all_deplibs=yes
10110      file_list_spec='${wl}-f,'
10111
10112      if test "$GCC" = yes; then
10113	case $host_os in aix4.[012]|aix4.[012].*)
10114	# We only want to do this on AIX 4.2 and lower, the check
10115	# below for broken collect2 doesn't work under 4.3+
10116	  collect2name=`${CC} -print-prog-name=collect2`
10117	  if test -f "$collect2name" &&
10118	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10119	  then
10120	  # We have reworked collect2
10121	  :
10122	  else
10123	  # We have old collect2
10124	  hardcode_direct=unsupported
10125	  # It fails to find uninstalled libraries when the uninstalled
10126	  # path is not listed in the libpath.  Setting hardcode_minus_L
10127	  # to unsupported forces relinking
10128	  hardcode_minus_L=yes
10129	  hardcode_libdir_flag_spec='-L$libdir'
10130	  hardcode_libdir_separator=
10131	  fi
10132	  ;;
10133	esac
10134	shared_flag='-shared'
10135	if test "$aix_use_runtimelinking" = yes; then
10136	  shared_flag="$shared_flag "'${wl}-G'
10137	fi
10138      else
10139	# not using gcc
10140	if test "$host_cpu" = ia64; then
10141	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10142	# chokes on -Wl,-G. The following line is correct:
10143	  shared_flag='-G'
10144	else
10145	  if test "$aix_use_runtimelinking" = yes; then
10146	    shared_flag='${wl}-G'
10147	  else
10148	    shared_flag='${wl}-bM:SRE'
10149	  fi
10150	fi
10151      fi
10152
10153      export_dynamic_flag_spec='${wl}-bexpall'
10154      # It seems that -bexpall does not export symbols beginning with
10155      # underscore (_), so it is better to generate a list of symbols to export.
10156      always_export_symbols=yes
10157      if test "$aix_use_runtimelinking" = yes; then
10158	# Warning - without using the other runtime loading flags (-brtl),
10159	# -berok will link without error, but may produce a broken library.
10160	allow_undefined_flag='-berok'
10161        # Determine the default libpath from the value encoded in an
10162        # empty executable.
10163        if test "${lt_cv_aix_libpath+set}" = set; then
10164  aix_libpath=$lt_cv_aix_libpath
10165else
10166  if test "${lt_cv_aix_libpath_+set}" = set; then
10167  $as_echo_n "(cached) " >&6
10168else
10169  cat >conftest.$ac_ext <<_ACEOF
10170/* confdefs.h.  */
10171_ACEOF
10172cat confdefs.h >>conftest.$ac_ext
10173cat >>conftest.$ac_ext <<_ACEOF
10174/* end confdefs.h.  */
10175
10176int
10177main ()
10178{
10179
10180  ;
10181  return 0;
10182}
10183_ACEOF
10184rm -f conftest.$ac_objext conftest$ac_exeext
10185if { (ac_try="$ac_link"
10186case "(($ac_try" in
10187  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10188  *) ac_try_echo=$ac_try;;
10189esac
10190eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10191$as_echo "$ac_try_echo") >&5
10192  (eval "$ac_link") 2>conftest.er1
10193  ac_status=$?
10194  grep -v '^ *+' conftest.er1 >conftest.err
10195  rm -f conftest.er1
10196  cat conftest.err >&5
10197  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198  (exit $ac_status); } && {
10199	 test -z "$ac_c_werror_flag" ||
10200	 test ! -s conftest.err
10201       } && test -s conftest$ac_exeext && {
10202	 test "$cross_compiling" = yes ||
10203	 $as_test_x conftest$ac_exeext
10204       }; then
10205
10206  lt_aix_libpath_sed='
10207      /Import File Strings/,/^$/ {
10208	  /^0/ {
10209	      s/^0  *\([^ ]*\) *$/\1/
10210	      p
10211	  }
10212      }'
10213  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10214  # Check for a 64-bit object if we didn't find anything.
10215  if test -z "$lt_cv_aix_libpath_"; then
10216    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10217  fi
10218else
10219  $as_echo "$as_me: failed program was:" >&5
10220sed 's/^/| /' conftest.$ac_ext >&5
10221
10222
10223fi
10224
10225rm -rf conftest.dSYM
10226rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10227      conftest$ac_exeext conftest.$ac_ext
10228  if test -z "$lt_cv_aix_libpath_"; then
10229    lt_cv_aix_libpath_="/usr/lib:/lib"
10230  fi
10231
10232fi
10233
10234  aix_libpath=$lt_cv_aix_libpath_
10235fi
10236
10237        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10238        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10239      else
10240	if test "$host_cpu" = ia64; then
10241	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10242	  allow_undefined_flag="-z nodefs"
10243	  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"
10244	else
10245	 # Determine the default libpath from the value encoded in an
10246	 # empty executable.
10247	 if test "${lt_cv_aix_libpath+set}" = set; then
10248  aix_libpath=$lt_cv_aix_libpath
10249else
10250  if test "${lt_cv_aix_libpath_+set}" = set; then
10251  $as_echo_n "(cached) " >&6
10252else
10253  cat >conftest.$ac_ext <<_ACEOF
10254/* confdefs.h.  */
10255_ACEOF
10256cat confdefs.h >>conftest.$ac_ext
10257cat >>conftest.$ac_ext <<_ACEOF
10258/* end confdefs.h.  */
10259
10260int
10261main ()
10262{
10263
10264  ;
10265  return 0;
10266}
10267_ACEOF
10268rm -f conftest.$ac_objext conftest$ac_exeext
10269if { (ac_try="$ac_link"
10270case "(($ac_try" in
10271  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10272  *) ac_try_echo=$ac_try;;
10273esac
10274eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10275$as_echo "$ac_try_echo") >&5
10276  (eval "$ac_link") 2>conftest.er1
10277  ac_status=$?
10278  grep -v '^ *+' conftest.er1 >conftest.err
10279  rm -f conftest.er1
10280  cat conftest.err >&5
10281  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282  (exit $ac_status); } && {
10283	 test -z "$ac_c_werror_flag" ||
10284	 test ! -s conftest.err
10285       } && test -s conftest$ac_exeext && {
10286	 test "$cross_compiling" = yes ||
10287	 $as_test_x conftest$ac_exeext
10288       }; then
10289
10290  lt_aix_libpath_sed='
10291      /Import File Strings/,/^$/ {
10292	  /^0/ {
10293	      s/^0  *\([^ ]*\) *$/\1/
10294	      p
10295	  }
10296      }'
10297  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10298  # Check for a 64-bit object if we didn't find anything.
10299  if test -z "$lt_cv_aix_libpath_"; then
10300    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10301  fi
10302else
10303  $as_echo "$as_me: failed program was:" >&5
10304sed 's/^/| /' conftest.$ac_ext >&5
10305
10306
10307fi
10308
10309rm -rf conftest.dSYM
10310rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10311      conftest$ac_exeext conftest.$ac_ext
10312  if test -z "$lt_cv_aix_libpath_"; then
10313    lt_cv_aix_libpath_="/usr/lib:/lib"
10314  fi
10315
10316fi
10317
10318  aix_libpath=$lt_cv_aix_libpath_
10319fi
10320
10321	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10322	  # Warning - without using the other run time loading flags,
10323	  # -berok will link without error, but may produce a broken library.
10324	  no_undefined_flag=' ${wl}-bernotok'
10325	  allow_undefined_flag=' ${wl}-berok'
10326	  if test "$with_gnu_ld" = yes; then
10327	    # We only use this code for GNU lds that support --whole-archive.
10328	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10329	  else
10330	    # Exported symbols can be pulled into shared objects from archives
10331	    whole_archive_flag_spec='$convenience'
10332	  fi
10333	  archive_cmds_need_lc=yes
10334	  # This is similar to how AIX traditionally builds its shared libraries.
10335	  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'
10336	fi
10337      fi
10338      ;;
10339
10340    amigaos*)
10341      case $host_cpu in
10342      powerpc)
10343            # see comment about AmigaOS4 .so support
10344            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10345            archive_expsym_cmds=''
10346        ;;
10347      m68k)
10348            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)'
10349            hardcode_libdir_flag_spec='-L$libdir'
10350            hardcode_minus_L=yes
10351        ;;
10352      esac
10353      ;;
10354
10355    bsdi[45]*)
10356      export_dynamic_flag_spec=-rdynamic
10357      ;;
10358
10359    cygwin* | mingw* | pw32* | cegcc*)
10360      # When not using gcc, we currently assume that we are using
10361      # Microsoft Visual C++.
10362      # hardcode_libdir_flag_spec is actually meaningless, as there is
10363      # no search path for DLLs.
10364      case $cc_basename in
10365      cl*)
10366	# Native MSVC
10367	hardcode_libdir_flag_spec=' '
10368	allow_undefined_flag=unsupported
10369	always_export_symbols=yes
10370	file_list_spec='@'
10371	# Tell ltmain to make .lib files, not .a files.
10372	libext=lib
10373	# Tell ltmain to make .dll files, not .so files.
10374	shrext_cmds=".dll"
10375	# FIXME: Setting linknames here is a bad hack.
10376	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10377	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10378	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10379	  else
10380	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10381	  fi~
10382	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10383	  linknames='
10384	# The linker will not automatically build a static lib if we build a DLL.
10385	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10386	enable_shared_with_static_runtimes=yes
10387	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10388	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10389	# Don't use ranlib
10390	old_postinstall_cmds='chmod 644 $oldlib'
10391	postlink_cmds='lt_outputfile="@OUTPUT@"~
10392	  lt_tool_outputfile="@TOOL_OUTPUT@"~
10393	  case $lt_outputfile in
10394	    *.exe|*.EXE) ;;
10395	    *)
10396	      lt_outputfile="$lt_outputfile.exe"
10397	      lt_tool_outputfile="$lt_tool_outputfile.exe"
10398	      ;;
10399	  esac~
10400	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10401	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10402	    $RM "$lt_outputfile.manifest";
10403	  fi'
10404	;;
10405      *)
10406	# Assume MSVC wrapper
10407	hardcode_libdir_flag_spec=' '
10408	allow_undefined_flag=unsupported
10409	# Tell ltmain to make .lib files, not .a files.
10410	libext=lib
10411	# Tell ltmain to make .dll files, not .so files.
10412	shrext_cmds=".dll"
10413	# FIXME: Setting linknames here is a bad hack.
10414	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10415	# The linker will automatically build a .lib file if we build a DLL.
10416	old_archive_from_new_cmds='true'
10417	# FIXME: Should let the user specify the lib program.
10418	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10419	enable_shared_with_static_runtimes=yes
10420	;;
10421      esac
10422      ;;
10423
10424    darwin* | rhapsody*)
10425
10426
10427  archive_cmds_need_lc=no
10428  hardcode_direct=no
10429  hardcode_automatic=yes
10430  hardcode_shlibpath_var=unsupported
10431  if test "$lt_cv_ld_force_load" = "yes"; then
10432    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10433
10434  else
10435    whole_archive_flag_spec=''
10436  fi
10437  link_all_deplibs=yes
10438  allow_undefined_flag="$_lt_dar_allow_undefined"
10439  case $cc_basename in
10440     ifort*) _lt_dar_can_shared=yes ;;
10441     *) _lt_dar_can_shared=$GCC ;;
10442  esac
10443  if test "$_lt_dar_can_shared" = "yes"; then
10444    output_verbose_link_cmd=func_echo_all
10445    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10446    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10447    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10448    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10449
10450  else
10451  ld_shlibs=no
10452  fi
10453
10454      ;;
10455
10456    dgux*)
10457      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10458      hardcode_libdir_flag_spec='-L$libdir'
10459      hardcode_shlibpath_var=no
10460      ;;
10461
10462    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10463    # support.  Future versions do this automatically, but an explicit c++rt0.o
10464    # does not break anything, and helps significantly (at the cost of a little
10465    # extra space).
10466    freebsd2.2*)
10467      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10468      hardcode_libdir_flag_spec='-R$libdir'
10469      hardcode_direct=yes
10470      hardcode_shlibpath_var=no
10471      ;;
10472
10473    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10474    freebsd2.*)
10475      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10476      hardcode_direct=yes
10477      hardcode_minus_L=yes
10478      hardcode_shlibpath_var=no
10479      ;;
10480
10481    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10482    freebsd* | dragonfly*)
10483      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10484      hardcode_libdir_flag_spec='-R$libdir'
10485      hardcode_direct=yes
10486      hardcode_shlibpath_var=no
10487      ;;
10488
10489    hpux9*)
10490      if test "$GCC" = yes; then
10491	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10492      else
10493	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'
10494      fi
10495      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10496      hardcode_libdir_separator=:
10497      hardcode_direct=yes
10498
10499      # hardcode_minus_L: Not really in the search PATH,
10500      # but as the default location of the library.
10501      hardcode_minus_L=yes
10502      export_dynamic_flag_spec='${wl}-E'
10503      ;;
10504
10505    hpux10*)
10506      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10507	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10508      else
10509	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10510      fi
10511      if test "$with_gnu_ld" = no; then
10512	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10513	hardcode_libdir_separator=:
10514	hardcode_direct=yes
10515	hardcode_direct_absolute=yes
10516	export_dynamic_flag_spec='${wl}-E'
10517	# hardcode_minus_L: Not really in the search PATH,
10518	# but as the default location of the library.
10519	hardcode_minus_L=yes
10520      fi
10521      ;;
10522
10523    hpux11*)
10524      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10525	case $host_cpu in
10526	hppa*64*)
10527	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10528	  ;;
10529	ia64*)
10530	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10531	  ;;
10532	*)
10533	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10534	  ;;
10535	esac
10536      else
10537	case $host_cpu in
10538	hppa*64*)
10539	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10540	  ;;
10541	ia64*)
10542	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10543	  ;;
10544	*)
10545
10546	  # Older versions of the 11.00 compiler do not understand -b yet
10547	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10548	  { $as_echo "$as_me:$LINENO: checking if $CC understands -b" >&5
10549$as_echo_n "checking if $CC understands -b... " >&6; }
10550if test "${lt_cv_prog_compiler__b+set}" = set; then
10551  $as_echo_n "(cached) " >&6
10552else
10553  lt_cv_prog_compiler__b=no
10554   save_LDFLAGS="$LDFLAGS"
10555   LDFLAGS="$LDFLAGS -b"
10556   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10557   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10558     # The linker can only warn and ignore the option if not recognized
10559     # So say no if there are warnings
10560     if test -s conftest.err; then
10561       # Append any errors to the config.log.
10562       cat conftest.err 1>&5
10563       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10564       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10565       if diff conftest.exp conftest.er2 >/dev/null; then
10566         lt_cv_prog_compiler__b=yes
10567       fi
10568     else
10569       lt_cv_prog_compiler__b=yes
10570     fi
10571   fi
10572   $RM -r conftest*
10573   LDFLAGS="$save_LDFLAGS"
10574
10575fi
10576{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
10577$as_echo "$lt_cv_prog_compiler__b" >&6; }
10578
10579if test x"$lt_cv_prog_compiler__b" = xyes; then
10580    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10581else
10582    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10583fi
10584
10585	  ;;
10586	esac
10587      fi
10588      if test "$with_gnu_ld" = no; then
10589	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10590	hardcode_libdir_separator=:
10591
10592	case $host_cpu in
10593	hppa*64*|ia64*)
10594	  hardcode_direct=no
10595	  hardcode_shlibpath_var=no
10596	  ;;
10597	*)
10598	  hardcode_direct=yes
10599	  hardcode_direct_absolute=yes
10600	  export_dynamic_flag_spec='${wl}-E'
10601
10602	  # hardcode_minus_L: Not really in the search PATH,
10603	  # but as the default location of the library.
10604	  hardcode_minus_L=yes
10605	  ;;
10606	esac
10607      fi
10608      ;;
10609
10610    irix5* | irix6* | nonstopux*)
10611      if test "$GCC" = yes; then
10612	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10613	# Try to use the -exported_symbol ld option, if it does not
10614	# work, assume that -exports_file does not work either and
10615	# implicitly export all symbols.
10616	# This should be the same for all languages, so no per-tag cache variable.
10617	{ $as_echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
10618$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10619if test "${lt_cv_irix_exported_symbol+set}" = set; then
10620  $as_echo_n "(cached) " >&6
10621else
10622  save_LDFLAGS="$LDFLAGS"
10623	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10624	   cat >conftest.$ac_ext <<_ACEOF
10625/* confdefs.h.  */
10626_ACEOF
10627cat confdefs.h >>conftest.$ac_ext
10628cat >>conftest.$ac_ext <<_ACEOF
10629/* end confdefs.h.  */
10630int foo (void) { return 0; }
10631_ACEOF
10632rm -f conftest.$ac_objext conftest$ac_exeext
10633if { (ac_try="$ac_link"
10634case "(($ac_try" in
10635  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10636  *) ac_try_echo=$ac_try;;
10637esac
10638eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10639$as_echo "$ac_try_echo") >&5
10640  (eval "$ac_link") 2>conftest.er1
10641  ac_status=$?
10642  grep -v '^ *+' conftest.er1 >conftest.err
10643  rm -f conftest.er1
10644  cat conftest.err >&5
10645  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10646  (exit $ac_status); } && {
10647	 test -z "$ac_c_werror_flag" ||
10648	 test ! -s conftest.err
10649       } && test -s conftest$ac_exeext && {
10650	 test "$cross_compiling" = yes ||
10651	 $as_test_x conftest$ac_exeext
10652       }; then
10653  lt_cv_irix_exported_symbol=yes
10654else
10655  $as_echo "$as_me: failed program was:" >&5
10656sed 's/^/| /' conftest.$ac_ext >&5
10657
10658	lt_cv_irix_exported_symbol=no
10659fi
10660
10661rm -rf conftest.dSYM
10662rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10663      conftest$ac_exeext conftest.$ac_ext
10664           LDFLAGS="$save_LDFLAGS"
10665fi
10666{ $as_echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
10667$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10668	if test "$lt_cv_irix_exported_symbol" = yes; then
10669          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10670	fi
10671      else
10672	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10673	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10674      fi
10675      archive_cmds_need_lc='no'
10676      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10677      hardcode_libdir_separator=:
10678      inherit_rpath=yes
10679      link_all_deplibs=yes
10680      ;;
10681
10682    netbsd*)
10683      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10684	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10685      else
10686	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10687      fi
10688      hardcode_libdir_flag_spec='-R$libdir'
10689      hardcode_direct=yes
10690      hardcode_shlibpath_var=no
10691      ;;
10692
10693    newsos6)
10694      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10695      hardcode_direct=yes
10696      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10697      hardcode_libdir_separator=:
10698      hardcode_shlibpath_var=no
10699      ;;
10700
10701    *nto* | *qnx*)
10702      ;;
10703
10704    openbsd*)
10705      if test -f /usr/libexec/ld.so; then
10706	hardcode_direct=yes
10707	hardcode_shlibpath_var=no
10708	hardcode_direct_absolute=yes
10709	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10710	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10711	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10712	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10713	  export_dynamic_flag_spec='${wl}-E'
10714	else
10715	  case $host_os in
10716	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10717	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10718	     hardcode_libdir_flag_spec='-R$libdir'
10719	     ;;
10720	   *)
10721	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10722	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10723	     ;;
10724	  esac
10725	fi
10726      else
10727	ld_shlibs=no
10728      fi
10729      ;;
10730
10731    os2*)
10732      hardcode_libdir_flag_spec='-L$libdir'
10733      hardcode_minus_L=yes
10734      allow_undefined_flag=unsupported
10735      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'
10736      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10737      ;;
10738
10739    osf3*)
10740      if test "$GCC" = yes; then
10741	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10742	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10743      else
10744	allow_undefined_flag=' -expect_unresolved \*'
10745	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10746      fi
10747      archive_cmds_need_lc='no'
10748      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10749      hardcode_libdir_separator=:
10750      ;;
10751
10752    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10753      if test "$GCC" = yes; then
10754	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10755	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10756	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10757      else
10758	allow_undefined_flag=' -expect_unresolved \*'
10759	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10760	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~
10761	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10762
10763	# Both c and cxx compiler support -rpath directly
10764	hardcode_libdir_flag_spec='-rpath $libdir'
10765      fi
10766      archive_cmds_need_lc='no'
10767      hardcode_libdir_separator=:
10768      ;;
10769
10770    solaris*)
10771      no_undefined_flag=' -z defs'
10772      if test "$GCC" = yes; then
10773	wlarc='${wl}'
10774	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10775	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10776	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10777      else
10778	case `$CC -V 2>&1` in
10779	*"Compilers 5.0"*)
10780	  wlarc=''
10781	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10782	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10783	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10784	  ;;
10785	*)
10786	  wlarc='${wl}'
10787	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10788	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10789	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10790	  ;;
10791	esac
10792      fi
10793      hardcode_libdir_flag_spec='-R$libdir'
10794      hardcode_shlibpath_var=no
10795      case $host_os in
10796      solaris2.[0-5] | solaris2.[0-5].*) ;;
10797      *)
10798	# The compiler driver will combine and reorder linker options,
10799	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10800	# but is careful enough not to reorder.
10801	# Supported since Solaris 2.6 (maybe 2.5.1?)
10802	if test "$GCC" = yes; then
10803	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10804	else
10805	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10806	fi
10807	;;
10808      esac
10809      link_all_deplibs=yes
10810      ;;
10811
10812    sunos4*)
10813      if test "x$host_vendor" = xsequent; then
10814	# Use $CC to link under sequent, because it throws in some extra .o
10815	# files that make .init and .fini sections work.
10816	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10817      else
10818	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10819      fi
10820      hardcode_libdir_flag_spec='-L$libdir'
10821      hardcode_direct=yes
10822      hardcode_minus_L=yes
10823      hardcode_shlibpath_var=no
10824      ;;
10825
10826    sysv4)
10827      case $host_vendor in
10828	sni)
10829	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10830	  hardcode_direct=yes # is this really true???
10831	;;
10832	siemens)
10833	  ## LD is ld it makes a PLAMLIB
10834	  ## CC just makes a GrossModule.
10835	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10836	  reload_cmds='$CC -r -o $output$reload_objs'
10837	  hardcode_direct=no
10838        ;;
10839	motorola)
10840	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10841	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10842	;;
10843      esac
10844      runpath_var='LD_RUN_PATH'
10845      hardcode_shlibpath_var=no
10846      ;;
10847
10848    sysv4.3*)
10849      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10850      hardcode_shlibpath_var=no
10851      export_dynamic_flag_spec='-Bexport'
10852      ;;
10853
10854    sysv4*MP*)
10855      if test -d /usr/nec; then
10856	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10857	hardcode_shlibpath_var=no
10858	runpath_var=LD_RUN_PATH
10859	hardcode_runpath_var=yes
10860	ld_shlibs=yes
10861      fi
10862      ;;
10863
10864    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10865      no_undefined_flag='${wl}-z,text'
10866      archive_cmds_need_lc=no
10867      hardcode_shlibpath_var=no
10868      runpath_var='LD_RUN_PATH'
10869
10870      if test "$GCC" = yes; then
10871	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10872	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10873      else
10874	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10875	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10876      fi
10877      ;;
10878
10879    sysv5* | sco3.2v5* | sco5v6*)
10880      # Note: We can NOT use -z defs as we might desire, because we do not
10881      # link with -lc, and that would cause any symbols used from libc to
10882      # always be unresolved, which means just about no library would
10883      # ever link correctly.  If we're not using GNU ld we use -z text
10884      # though, which does catch some bad symbols but isn't as heavy-handed
10885      # as -z defs.
10886      no_undefined_flag='${wl}-z,text'
10887      allow_undefined_flag='${wl}-z,nodefs'
10888      archive_cmds_need_lc=no
10889      hardcode_shlibpath_var=no
10890      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10891      hardcode_libdir_separator=':'
10892      link_all_deplibs=yes
10893      export_dynamic_flag_spec='${wl}-Bexport'
10894      runpath_var='LD_RUN_PATH'
10895
10896      if test "$GCC" = yes; then
10897	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10898	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10899      else
10900	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10901	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10902      fi
10903      ;;
10904
10905    uts4*)
10906      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10907      hardcode_libdir_flag_spec='-L$libdir'
10908      hardcode_shlibpath_var=no
10909      ;;
10910
10911    *)
10912      ld_shlibs=no
10913      ;;
10914    esac
10915
10916    if test x$host_vendor = xsni; then
10917      case $host in
10918      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10919	export_dynamic_flag_spec='${wl}-Blargedynsym'
10920	;;
10921      esac
10922    fi
10923  fi
10924
10925{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10926$as_echo "$ld_shlibs" >&6; }
10927test "$ld_shlibs" = no && can_build_shared=no
10928
10929with_gnu_ld=$with_gnu_ld
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945#
10946# Do we need to explicitly link libc?
10947#
10948case "x$archive_cmds_need_lc" in
10949x|xyes)
10950  # Assume -lc should be added
10951  archive_cmds_need_lc=yes
10952
10953  if test "$enable_shared" = yes && test "$GCC" = yes; then
10954    case $archive_cmds in
10955    *'~'*)
10956      # FIXME: we may have to deal with multi-command sequences.
10957      ;;
10958    '$CC '*)
10959      # Test whether the compiler implicitly links with -lc since on some
10960      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10961      # to ld, don't add -lc before -lgcc.
10962      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10963$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10964if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
10965  $as_echo_n "(cached) " >&6
10966else
10967  $RM conftest*
10968	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10969
10970	if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10971  (eval $ac_compile) 2>&5
10972  ac_status=$?
10973  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974  (exit $ac_status); } 2>conftest.err; then
10975	  soname=conftest
10976	  lib=conftest
10977	  libobjs=conftest.$ac_objext
10978	  deplibs=
10979	  wl=$lt_prog_compiler_wl
10980	  pic_flag=$lt_prog_compiler_pic
10981	  compiler_flags=-v
10982	  linker_flags=-v
10983	  verstring=
10984	  output_objdir=.
10985	  libname=conftest
10986	  lt_save_allow_undefined_flag=$allow_undefined_flag
10987	  allow_undefined_flag=
10988	  if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10989  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10990  ac_status=$?
10991  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992  (exit $ac_status); }
10993	  then
10994	    lt_cv_archive_cmds_need_lc=no
10995	  else
10996	    lt_cv_archive_cmds_need_lc=yes
10997	  fi
10998	  allow_undefined_flag=$lt_save_allow_undefined_flag
10999	else
11000	  cat conftest.err 1>&5
11001	fi
11002	$RM conftest*
11003
11004fi
11005{ $as_echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
11006$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11007      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11008      ;;
11009    esac
11010  fi
11011  ;;
11012esac
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11166$as_echo_n "checking dynamic linker characteristics... " >&6; }
11167
11168if test "$GCC" = yes; then
11169  case $host_os in
11170    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11171    *) lt_awk_arg="/^libraries:/" ;;
11172  esac
11173  case $host_os in
11174    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11175    *) lt_sed_strip_eq="s,=/,/,g" ;;
11176  esac
11177  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11178  case $lt_search_path_spec in
11179  *\;*)
11180    # if the path contains ";" then we assume it to be the separator
11181    # otherwise default to the standard path separator (i.e. ":") - it is
11182    # assumed that no part of a normal pathname contains ";" but that should
11183    # okay in the real world where ";" in dirpaths is itself problematic.
11184    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11185    ;;
11186  *)
11187    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11188    ;;
11189  esac
11190  # Ok, now we have the path, separated by spaces, we can step through it
11191  # and add multilib dir if necessary.
11192  lt_tmp_lt_search_path_spec=
11193  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11194  for lt_sys_path in $lt_search_path_spec; do
11195    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11196      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11197    else
11198      test -d "$lt_sys_path" && \
11199	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11200    fi
11201  done
11202  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11203BEGIN {RS=" "; FS="/|\n";} {
11204  lt_foo="";
11205  lt_count=0;
11206  for (lt_i = NF; lt_i > 0; lt_i--) {
11207    if ($lt_i != "" && $lt_i != ".") {
11208      if ($lt_i == "..") {
11209        lt_count++;
11210      } else {
11211        if (lt_count == 0) {
11212          lt_foo="/" $lt_i lt_foo;
11213        } else {
11214          lt_count--;
11215        }
11216      }
11217    }
11218  }
11219  if (lt_foo != "") { lt_freq[lt_foo]++; }
11220  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11221}'`
11222  # AWK program above erroneously prepends '/' to C:/dos/paths
11223  # for these hosts.
11224  case $host_os in
11225    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11226      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11227  esac
11228  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11229else
11230  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11231fi
11232library_names_spec=
11233libname_spec='lib$name'
11234soname_spec=
11235shrext_cmds=".so"
11236postinstall_cmds=
11237postuninstall_cmds=
11238finish_cmds=
11239finish_eval=
11240shlibpath_var=
11241shlibpath_overrides_runpath=unknown
11242version_type=none
11243dynamic_linker="$host_os ld.so"
11244sys_lib_dlsearch_path_spec="/lib /usr/lib"
11245need_lib_prefix=unknown
11246hardcode_into_libs=no
11247
11248# when you set need_version to no, make sure it does not cause -set_version
11249# flags to be left without arguments
11250need_version=unknown
11251
11252case $host_os in
11253aix3*)
11254  version_type=linux # correct to gnu/linux during the next big refactor
11255  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11256  shlibpath_var=LIBPATH
11257
11258  # AIX 3 has no versioning support, so we append a major version to the name.
11259  soname_spec='${libname}${release}${shared_ext}$major'
11260  ;;
11261
11262aix[4-9]*)
11263  version_type=linux # correct to gnu/linux during the next big refactor
11264  need_lib_prefix=no
11265  need_version=no
11266  hardcode_into_libs=yes
11267  if test "$host_cpu" = ia64; then
11268    # AIX 5 supports IA64
11269    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11270    shlibpath_var=LD_LIBRARY_PATH
11271  else
11272    # With GCC up to 2.95.x, collect2 would create an import file
11273    # for dependence libraries.  The import file would start with
11274    # the line `#! .'.  This would cause the generated library to
11275    # depend on `.', always an invalid library.  This was fixed in
11276    # development snapshots of GCC prior to 3.0.
11277    case $host_os in
11278      aix4 | aix4.[01] | aix4.[01].*)
11279      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11280	   echo ' yes '
11281	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11282	:
11283      else
11284	can_build_shared=no
11285      fi
11286      ;;
11287    esac
11288    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11289    # soname into executable. Probably we can add versioning support to
11290    # collect2, so additional links can be useful in future.
11291    if test "$aix_use_runtimelinking" = yes; then
11292      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11293      # instead of lib<name>.a to let people know that these are not
11294      # typical AIX shared libraries.
11295      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11296    else
11297      # We preserve .a as extension for shared libraries through AIX4.2
11298      # and later when we are not doing run time linking.
11299      library_names_spec='${libname}${release}.a $libname.a'
11300      soname_spec='${libname}${release}${shared_ext}$major'
11301    fi
11302    shlibpath_var=LIBPATH
11303  fi
11304  ;;
11305
11306amigaos*)
11307  case $host_cpu in
11308  powerpc)
11309    # Since July 2007 AmigaOS4 officially supports .so libraries.
11310    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11311    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11312    ;;
11313  m68k)
11314    library_names_spec='$libname.ixlibrary $libname.a'
11315    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11316    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11317    ;;
11318  esac
11319  ;;
11320
11321beos*)
11322  library_names_spec='${libname}${shared_ext}'
11323  dynamic_linker="$host_os ld.so"
11324  shlibpath_var=LIBRARY_PATH
11325  ;;
11326
11327bsdi[45]*)
11328  version_type=linux # correct to gnu/linux during the next big refactor
11329  need_version=no
11330  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11331  soname_spec='${libname}${release}${shared_ext}$major'
11332  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11333  shlibpath_var=LD_LIBRARY_PATH
11334  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11335  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11336  # the default ld.so.conf also contains /usr/contrib/lib and
11337  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11338  # libtool to hard-code these into programs
11339  ;;
11340
11341cygwin* | mingw* | pw32* | cegcc*)
11342  version_type=windows
11343  shrext_cmds=".dll"
11344  need_version=no
11345  need_lib_prefix=no
11346
11347  case $GCC,$cc_basename in
11348  yes,*)
11349    # gcc
11350    library_names_spec='$libname.dll.a'
11351    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11352    postinstall_cmds='base_file=`basename \${file}`~
11353      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11354      dldir=$destdir/`dirname \$dlpath`~
11355      test -d \$dldir || mkdir -p \$dldir~
11356      $install_prog $dir/$dlname \$dldir/$dlname~
11357      chmod a+x \$dldir/$dlname~
11358      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11359        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11360      fi'
11361    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11362      dlpath=$dir/\$dldll~
11363       $RM \$dlpath'
11364    shlibpath_overrides_runpath=yes
11365
11366    case $host_os in
11367    cygwin*)
11368      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11369      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11370
11371      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11372      ;;
11373    mingw* | cegcc*)
11374      # MinGW DLLs use traditional 'lib' prefix
11375      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11376      ;;
11377    pw32*)
11378      # pw32 DLLs use 'pw' prefix rather than 'lib'
11379      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11380      ;;
11381    esac
11382    dynamic_linker='Win32 ld.exe'
11383    ;;
11384
11385  *,cl*)
11386    # Native MSVC
11387    libname_spec='$name'
11388    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11389    library_names_spec='${libname}.dll.lib'
11390
11391    case $build_os in
11392    mingw*)
11393      sys_lib_search_path_spec=
11394      lt_save_ifs=$IFS
11395      IFS=';'
11396      for lt_path in $LIB
11397      do
11398        IFS=$lt_save_ifs
11399        # Let DOS variable expansion print the short 8.3 style file name.
11400        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11401        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11402      done
11403      IFS=$lt_save_ifs
11404      # Convert to MSYS style.
11405      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11406      ;;
11407    cygwin*)
11408      # Convert to unix form, then to dos form, then back to unix form
11409      # but this time dos style (no spaces!) so that the unix form looks
11410      # like /cygdrive/c/PROGRA~1:/cygdr...
11411      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11412      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11413      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11414      ;;
11415    *)
11416      sys_lib_search_path_spec="$LIB"
11417      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11418        # It is most probably a Windows format PATH.
11419        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11420      else
11421        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11422      fi
11423      # FIXME: find the short name or the path components, as spaces are
11424      # common. (e.g. "Program Files" -> "PROGRA~1")
11425      ;;
11426    esac
11427
11428    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11429    postinstall_cmds='base_file=`basename \${file}`~
11430      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11431      dldir=$destdir/`dirname \$dlpath`~
11432      test -d \$dldir || mkdir -p \$dldir~
11433      $install_prog $dir/$dlname \$dldir/$dlname'
11434    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11435      dlpath=$dir/\$dldll~
11436       $RM \$dlpath'
11437    shlibpath_overrides_runpath=yes
11438    dynamic_linker='Win32 link.exe'
11439    ;;
11440
11441  *)
11442    # Assume MSVC wrapper
11443    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11444    dynamic_linker='Win32 ld.exe'
11445    ;;
11446  esac
11447  # FIXME: first we should search . and the directory the executable is in
11448  shlibpath_var=PATH
11449  ;;
11450
11451darwin* | rhapsody*)
11452  dynamic_linker="$host_os dyld"
11453  version_type=darwin
11454  need_lib_prefix=no
11455  need_version=no
11456  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11457  soname_spec='${libname}${release}${major}$shared_ext'
11458  shlibpath_overrides_runpath=yes
11459  shlibpath_var=DYLD_LIBRARY_PATH
11460  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11461
11462  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11463  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11464  ;;
11465
11466dgux*)
11467  version_type=linux # correct to gnu/linux during the next big refactor
11468  need_lib_prefix=no
11469  need_version=no
11470  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11471  soname_spec='${libname}${release}${shared_ext}$major'
11472  shlibpath_var=LD_LIBRARY_PATH
11473  ;;
11474
11475freebsd* | dragonfly*)
11476  # DragonFly does not have aout.  When/if they implement a new
11477  # versioning mechanism, adjust this.
11478  if test -x /usr/bin/objformat; then
11479    objformat=`/usr/bin/objformat`
11480  else
11481    case $host_os in
11482    freebsd[23].*) objformat=aout ;;
11483    *) objformat=elf ;;
11484    esac
11485  fi
11486  version_type=freebsd-$objformat
11487  case $version_type in
11488    freebsd-elf*)
11489      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11490      need_version=no
11491      need_lib_prefix=no
11492      ;;
11493    freebsd-*)
11494      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11495      need_version=yes
11496      ;;
11497  esac
11498  shlibpath_var=LD_LIBRARY_PATH
11499  case $host_os in
11500  freebsd2.*)
11501    shlibpath_overrides_runpath=yes
11502    ;;
11503  freebsd3.[01]* | freebsdelf3.[01]*)
11504    shlibpath_overrides_runpath=yes
11505    hardcode_into_libs=yes
11506    ;;
11507  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11508  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11509    shlibpath_overrides_runpath=no
11510    hardcode_into_libs=yes
11511    ;;
11512  *) # from 4.6 on, and DragonFly
11513    shlibpath_overrides_runpath=yes
11514    hardcode_into_libs=yes
11515    ;;
11516  esac
11517  ;;
11518
11519gnu*)
11520  version_type=linux # correct to gnu/linux during the next big refactor
11521  need_lib_prefix=no
11522  need_version=no
11523  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11524  soname_spec='${libname}${release}${shared_ext}$major'
11525  shlibpath_var=LD_LIBRARY_PATH
11526  shlibpath_overrides_runpath=no
11527  hardcode_into_libs=yes
11528  ;;
11529
11530haiku*)
11531  version_type=linux # correct to gnu/linux during the next big refactor
11532  need_lib_prefix=no
11533  need_version=no
11534  dynamic_linker="$host_os runtime_loader"
11535  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11536  soname_spec='${libname}${release}${shared_ext}$major'
11537  shlibpath_var=LIBRARY_PATH
11538  shlibpath_overrides_runpath=yes
11539  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11540  hardcode_into_libs=yes
11541  ;;
11542
11543hpux9* | hpux10* | hpux11*)
11544  # Give a soname corresponding to the major version so that dld.sl refuses to
11545  # link against other versions.
11546  version_type=sunos
11547  need_lib_prefix=no
11548  need_version=no
11549  case $host_cpu in
11550  ia64*)
11551    shrext_cmds='.so'
11552    hardcode_into_libs=yes
11553    dynamic_linker="$host_os dld.so"
11554    shlibpath_var=LD_LIBRARY_PATH
11555    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11556    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11557    soname_spec='${libname}${release}${shared_ext}$major'
11558    if test "X$HPUX_IA64_MODE" = X32; then
11559      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11560    else
11561      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11562    fi
11563    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11564    ;;
11565  hppa*64*)
11566    shrext_cmds='.sl'
11567    hardcode_into_libs=yes
11568    dynamic_linker="$host_os dld.sl"
11569    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11570    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11571    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11572    soname_spec='${libname}${release}${shared_ext}$major'
11573    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11574    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11575    ;;
11576  *)
11577    shrext_cmds='.sl'
11578    dynamic_linker="$host_os dld.sl"
11579    shlibpath_var=SHLIB_PATH
11580    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11581    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11582    soname_spec='${libname}${release}${shared_ext}$major'
11583    ;;
11584  esac
11585  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11586  postinstall_cmds='chmod 555 $lib'
11587  # or fails outright, so override atomically:
11588  install_override_mode=555
11589  ;;
11590
11591interix[3-9]*)
11592  version_type=linux # correct to gnu/linux during the next big refactor
11593  need_lib_prefix=no
11594  need_version=no
11595  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11596  soname_spec='${libname}${release}${shared_ext}$major'
11597  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11598  shlibpath_var=LD_LIBRARY_PATH
11599  shlibpath_overrides_runpath=no
11600  hardcode_into_libs=yes
11601  ;;
11602
11603irix5* | irix6* | nonstopux*)
11604  case $host_os in
11605    nonstopux*) version_type=nonstopux ;;
11606    *)
11607	if test "$lt_cv_prog_gnu_ld" = yes; then
11608		version_type=linux # correct to gnu/linux during the next big refactor
11609	else
11610		version_type=irix
11611	fi ;;
11612  esac
11613  need_lib_prefix=no
11614  need_version=no
11615  soname_spec='${libname}${release}${shared_ext}$major'
11616  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11617  case $host_os in
11618  irix5* | nonstopux*)
11619    libsuff= shlibsuff=
11620    ;;
11621  *)
11622    case $LD in # libtool.m4 will add one of these switches to LD
11623    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11624      libsuff= shlibsuff= libmagic=32-bit;;
11625    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11626      libsuff=32 shlibsuff=N32 libmagic=N32;;
11627    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11628      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11629    *) libsuff= shlibsuff= libmagic=never-match;;
11630    esac
11631    ;;
11632  esac
11633  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11634  shlibpath_overrides_runpath=no
11635  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11636  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11637  hardcode_into_libs=yes
11638  ;;
11639
11640# No shared lib support for Linux oldld, aout, or coff.
11641linux*oldld* | linux*aout* | linux*coff*)
11642  dynamic_linker=no
11643  ;;
11644
11645# This must be glibc/ELF.
11646linux* | k*bsd*-gnu | kopensolaris*-gnu)
11647  version_type=linux # correct to gnu/linux during the next big refactor
11648  need_lib_prefix=no
11649  need_version=no
11650  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11651  soname_spec='${libname}${release}${shared_ext}$major'
11652  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11653  shlibpath_var=LD_LIBRARY_PATH
11654  shlibpath_overrides_runpath=no
11655
11656  # Some binutils ld are patched to set DT_RUNPATH
11657  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
11658  $as_echo_n "(cached) " >&6
11659else
11660  lt_cv_shlibpath_overrides_runpath=no
11661    save_LDFLAGS=$LDFLAGS
11662    save_libdir=$libdir
11663    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11664	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11665    cat >conftest.$ac_ext <<_ACEOF
11666/* confdefs.h.  */
11667_ACEOF
11668cat confdefs.h >>conftest.$ac_ext
11669cat >>conftest.$ac_ext <<_ACEOF
11670/* end confdefs.h.  */
11671
11672int
11673main ()
11674{
11675
11676  ;
11677  return 0;
11678}
11679_ACEOF
11680rm -f conftest.$ac_objext conftest$ac_exeext
11681if { (ac_try="$ac_link"
11682case "(($ac_try" in
11683  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11684  *) ac_try_echo=$ac_try;;
11685esac
11686eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11687$as_echo "$ac_try_echo") >&5
11688  (eval "$ac_link") 2>conftest.er1
11689  ac_status=$?
11690  grep -v '^ *+' conftest.er1 >conftest.err
11691  rm -f conftest.er1
11692  cat conftest.err >&5
11693  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694  (exit $ac_status); } && {
11695	 test -z "$ac_c_werror_flag" ||
11696	 test ! -s conftest.err
11697       } && test -s conftest$ac_exeext && {
11698	 test "$cross_compiling" = yes ||
11699	 $as_test_x conftest$ac_exeext
11700       }; then
11701  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11702  lt_cv_shlibpath_overrides_runpath=yes
11703fi
11704
11705else
11706  $as_echo "$as_me: failed program was:" >&5
11707sed 's/^/| /' conftest.$ac_ext >&5
11708
11709
11710fi
11711
11712rm -rf conftest.dSYM
11713rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11714      conftest$ac_exeext conftest.$ac_ext
11715    LDFLAGS=$save_LDFLAGS
11716    libdir=$save_libdir
11717
11718fi
11719
11720  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11721
11722  # This implies no fast_install, which is unacceptable.
11723  # Some rework will be needed to allow for fast_install
11724  # before this can be enabled.
11725  hardcode_into_libs=yes
11726
11727  # Append ld.so.conf contents to the search path
11728  if test -f /etc/ld.so.conf; then
11729    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11730    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11731  fi
11732
11733  # We used to test for /lib/ld.so.1 and disable shared libraries on
11734  # powerpc, because MkLinux only supported shared libraries with the
11735  # GNU dynamic linker.  Since this was broken with cross compilers,
11736  # most powerpc-linux boxes support dynamic linking these days and
11737  # people can always --disable-shared, the test was removed, and we
11738  # assume the GNU/Linux dynamic linker is in use.
11739  dynamic_linker='GNU/Linux ld.so'
11740  ;;
11741
11742netbsd*)
11743  version_type=sunos
11744  need_lib_prefix=no
11745  need_version=no
11746  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11747    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11748    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11749    dynamic_linker='NetBSD (a.out) ld.so'
11750  else
11751    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11752    soname_spec='${libname}${release}${shared_ext}$major'
11753    dynamic_linker='NetBSD ld.elf_so'
11754  fi
11755  shlibpath_var=LD_LIBRARY_PATH
11756  shlibpath_overrides_runpath=yes
11757  hardcode_into_libs=yes
11758  ;;
11759
11760newsos6)
11761  version_type=linux # correct to gnu/linux during the next big refactor
11762  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11763  shlibpath_var=LD_LIBRARY_PATH
11764  shlibpath_overrides_runpath=yes
11765  ;;
11766
11767*nto* | *qnx*)
11768  version_type=qnx
11769  need_lib_prefix=no
11770  need_version=no
11771  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11772  soname_spec='${libname}${release}${shared_ext}$major'
11773  shlibpath_var=LD_LIBRARY_PATH
11774  shlibpath_overrides_runpath=no
11775  hardcode_into_libs=yes
11776  dynamic_linker='ldqnx.so'
11777  ;;
11778
11779openbsd*)
11780  version_type=sunos
11781  sys_lib_dlsearch_path_spec="/usr/lib"
11782  need_lib_prefix=no
11783  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11784  case $host_os in
11785    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11786    *)				need_version=no  ;;
11787  esac
11788  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11789  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11790  shlibpath_var=LD_LIBRARY_PATH
11791  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11792    case $host_os in
11793      openbsd2.[89] | openbsd2.[89].*)
11794	shlibpath_overrides_runpath=no
11795	;;
11796      *)
11797	shlibpath_overrides_runpath=yes
11798	;;
11799      esac
11800  else
11801    shlibpath_overrides_runpath=yes
11802  fi
11803  ;;
11804
11805os2*)
11806  libname_spec='$name'
11807  shrext_cmds=".dll"
11808  need_lib_prefix=no
11809  library_names_spec='$libname${shared_ext} $libname.a'
11810  dynamic_linker='OS/2 ld.exe'
11811  shlibpath_var=LIBPATH
11812  ;;
11813
11814osf3* | osf4* | osf5*)
11815  version_type=osf
11816  need_lib_prefix=no
11817  need_version=no
11818  soname_spec='${libname}${release}${shared_ext}$major'
11819  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11820  shlibpath_var=LD_LIBRARY_PATH
11821  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11822  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11823  ;;
11824
11825rdos*)
11826  dynamic_linker=no
11827  ;;
11828
11829solaris*)
11830  version_type=linux # correct to gnu/linux during the next big refactor
11831  need_lib_prefix=no
11832  need_version=no
11833  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11834  soname_spec='${libname}${release}${shared_ext}$major'
11835  shlibpath_var=LD_LIBRARY_PATH
11836  shlibpath_overrides_runpath=yes
11837  hardcode_into_libs=yes
11838  # ldd complains unless libraries are executable
11839  postinstall_cmds='chmod +x $lib'
11840  ;;
11841
11842sunos4*)
11843  version_type=sunos
11844  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11845  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11846  shlibpath_var=LD_LIBRARY_PATH
11847  shlibpath_overrides_runpath=yes
11848  if test "$with_gnu_ld" = yes; then
11849    need_lib_prefix=no
11850  fi
11851  need_version=yes
11852  ;;
11853
11854sysv4 | sysv4.3*)
11855  version_type=linux # correct to gnu/linux during the next big refactor
11856  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11857  soname_spec='${libname}${release}${shared_ext}$major'
11858  shlibpath_var=LD_LIBRARY_PATH
11859  case $host_vendor in
11860    sni)
11861      shlibpath_overrides_runpath=no
11862      need_lib_prefix=no
11863      runpath_var=LD_RUN_PATH
11864      ;;
11865    siemens)
11866      need_lib_prefix=no
11867      ;;
11868    motorola)
11869      need_lib_prefix=no
11870      need_version=no
11871      shlibpath_overrides_runpath=no
11872      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11873      ;;
11874  esac
11875  ;;
11876
11877sysv4*MP*)
11878  if test -d /usr/nec ;then
11879    version_type=linux # correct to gnu/linux during the next big refactor
11880    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11881    soname_spec='$libname${shared_ext}.$major'
11882    shlibpath_var=LD_LIBRARY_PATH
11883  fi
11884  ;;
11885
11886sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11887  version_type=freebsd-elf
11888  need_lib_prefix=no
11889  need_version=no
11890  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11891  soname_spec='${libname}${release}${shared_ext}$major'
11892  shlibpath_var=LD_LIBRARY_PATH
11893  shlibpath_overrides_runpath=yes
11894  hardcode_into_libs=yes
11895  if test "$with_gnu_ld" = yes; then
11896    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11897  else
11898    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11899    case $host_os in
11900      sco3.2v5*)
11901        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11902	;;
11903    esac
11904  fi
11905  sys_lib_dlsearch_path_spec='/usr/lib'
11906  ;;
11907
11908tpf*)
11909  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11910  version_type=linux # correct to gnu/linux during the next big refactor
11911  need_lib_prefix=no
11912  need_version=no
11913  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11914  shlibpath_var=LD_LIBRARY_PATH
11915  shlibpath_overrides_runpath=no
11916  hardcode_into_libs=yes
11917  ;;
11918
11919uts4*)
11920  version_type=linux # correct to gnu/linux during the next big refactor
11921  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11922  soname_spec='${libname}${release}${shared_ext}$major'
11923  shlibpath_var=LD_LIBRARY_PATH
11924  ;;
11925
11926*)
11927  dynamic_linker=no
11928  ;;
11929esac
11930{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11931$as_echo "$dynamic_linker" >&6; }
11932test "$dynamic_linker" = no && can_build_shared=no
11933
11934variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11935if test "$GCC" = yes; then
11936  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11937fi
11938
11939if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11940  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11941fi
11942if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11943  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11944fi
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12038$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12039hardcode_action=
12040if test -n "$hardcode_libdir_flag_spec" ||
12041   test -n "$runpath_var" ||
12042   test "X$hardcode_automatic" = "Xyes" ; then
12043
12044  # We can hardcode non-existent directories.
12045  if test "$hardcode_direct" != no &&
12046     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12047     # have to relink, otherwise we might link with an installed library
12048     # when we should be linking with a yet-to-be-installed one
12049     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12050     test "$hardcode_minus_L" != no; then
12051    # Linking always hardcodes the temporary library directory.
12052    hardcode_action=relink
12053  else
12054    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12055    hardcode_action=immediate
12056  fi
12057else
12058  # We cannot hardcode anything, or else we can only hardcode existing
12059  # directories.
12060  hardcode_action=unsupported
12061fi
12062{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
12063$as_echo "$hardcode_action" >&6; }
12064
12065if test "$hardcode_action" = relink ||
12066   test "$inherit_rpath" = yes; then
12067  # Fast installation is not supported
12068  enable_fast_install=no
12069elif test "$shlibpath_overrides_runpath" = yes ||
12070     test "$enable_shared" = no; then
12071  # Fast installation is not necessary
12072  enable_fast_install=needless
12073fi
12074
12075
12076
12077
12078
12079
12080  if test "x$enable_dlopen" != xyes; then
12081  enable_dlopen=unknown
12082  enable_dlopen_self=unknown
12083  enable_dlopen_self_static=unknown
12084else
12085  lt_cv_dlopen=no
12086  lt_cv_dlopen_libs=
12087
12088  case $host_os in
12089  beos*)
12090    lt_cv_dlopen="load_add_on"
12091    lt_cv_dlopen_libs=
12092    lt_cv_dlopen_self=yes
12093    ;;
12094
12095  mingw* | pw32* | cegcc*)
12096    lt_cv_dlopen="LoadLibrary"
12097    lt_cv_dlopen_libs=
12098    ;;
12099
12100  cygwin*)
12101    lt_cv_dlopen="dlopen"
12102    lt_cv_dlopen_libs=
12103    ;;
12104
12105  darwin*)
12106  # if libdl is installed we need to link against it
12107    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12108$as_echo_n "checking for dlopen in -ldl... " >&6; }
12109if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12110  $as_echo_n "(cached) " >&6
12111else
12112  ac_check_lib_save_LIBS=$LIBS
12113LIBS="-ldl  $LIBS"
12114cat >conftest.$ac_ext <<_ACEOF
12115/* confdefs.h.  */
12116_ACEOF
12117cat confdefs.h >>conftest.$ac_ext
12118cat >>conftest.$ac_ext <<_ACEOF
12119/* end confdefs.h.  */
12120
12121/* Override any GCC internal prototype to avoid an error.
12122   Use char because int might match the return type of a GCC
12123   builtin and then its argument prototype would still apply.  */
12124#ifdef __cplusplus
12125extern "C"
12126#endif
12127char dlopen ();
12128int
12129main ()
12130{
12131return dlopen ();
12132  ;
12133  return 0;
12134}
12135_ACEOF
12136rm -f conftest.$ac_objext conftest$ac_exeext
12137if { (ac_try="$ac_link"
12138case "(($ac_try" in
12139  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12140  *) ac_try_echo=$ac_try;;
12141esac
12142eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12143$as_echo "$ac_try_echo") >&5
12144  (eval "$ac_link") 2>conftest.er1
12145  ac_status=$?
12146  grep -v '^ *+' conftest.er1 >conftest.err
12147  rm -f conftest.er1
12148  cat conftest.err >&5
12149  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150  (exit $ac_status); } && {
12151	 test -z "$ac_c_werror_flag" ||
12152	 test ! -s conftest.err
12153       } && test -s conftest$ac_exeext && {
12154	 test "$cross_compiling" = yes ||
12155	 $as_test_x conftest$ac_exeext
12156       }; then
12157  ac_cv_lib_dl_dlopen=yes
12158else
12159  $as_echo "$as_me: failed program was:" >&5
12160sed 's/^/| /' conftest.$ac_ext >&5
12161
12162	ac_cv_lib_dl_dlopen=no
12163fi
12164
12165rm -rf conftest.dSYM
12166rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12167      conftest$ac_exeext conftest.$ac_ext
12168LIBS=$ac_check_lib_save_LIBS
12169fi
12170{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12171$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12172if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12173  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12174else
12175
12176    lt_cv_dlopen="dyld"
12177    lt_cv_dlopen_libs=
12178    lt_cv_dlopen_self=yes
12179
12180fi
12181
12182    ;;
12183
12184  *)
12185    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12186$as_echo_n "checking for shl_load... " >&6; }
12187if test "${ac_cv_func_shl_load+set}" = set; then
12188  $as_echo_n "(cached) " >&6
12189else
12190  cat >conftest.$ac_ext <<_ACEOF
12191/* confdefs.h.  */
12192_ACEOF
12193cat confdefs.h >>conftest.$ac_ext
12194cat >>conftest.$ac_ext <<_ACEOF
12195/* end confdefs.h.  */
12196/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12197   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12198#define shl_load innocuous_shl_load
12199
12200/* System header to define __stub macros and hopefully few prototypes,
12201    which can conflict with char shl_load (); below.
12202    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12203    <limits.h> exists even on freestanding compilers.  */
12204
12205#ifdef __STDC__
12206# include <limits.h>
12207#else
12208# include <assert.h>
12209#endif
12210
12211#undef shl_load
12212
12213/* Override any GCC internal prototype to avoid an error.
12214   Use char because int might match the return type of a GCC
12215   builtin and then its argument prototype would still apply.  */
12216#ifdef __cplusplus
12217extern "C"
12218#endif
12219char shl_load ();
12220/* The GNU C library defines this for functions which it implements
12221    to always fail with ENOSYS.  Some functions are actually named
12222    something starting with __ and the normal name is an alias.  */
12223#if defined __stub_shl_load || defined __stub___shl_load
12224choke me
12225#endif
12226
12227int
12228main ()
12229{
12230return shl_load ();
12231  ;
12232  return 0;
12233}
12234_ACEOF
12235rm -f conftest.$ac_objext conftest$ac_exeext
12236if { (ac_try="$ac_link"
12237case "(($ac_try" in
12238  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12239  *) ac_try_echo=$ac_try;;
12240esac
12241eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12242$as_echo "$ac_try_echo") >&5
12243  (eval "$ac_link") 2>conftest.er1
12244  ac_status=$?
12245  grep -v '^ *+' conftest.er1 >conftest.err
12246  rm -f conftest.er1
12247  cat conftest.err >&5
12248  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249  (exit $ac_status); } && {
12250	 test -z "$ac_c_werror_flag" ||
12251	 test ! -s conftest.err
12252       } && test -s conftest$ac_exeext && {
12253	 test "$cross_compiling" = yes ||
12254	 $as_test_x conftest$ac_exeext
12255       }; then
12256  ac_cv_func_shl_load=yes
12257else
12258  $as_echo "$as_me: failed program was:" >&5
12259sed 's/^/| /' conftest.$ac_ext >&5
12260
12261	ac_cv_func_shl_load=no
12262fi
12263
12264rm -rf conftest.dSYM
12265rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12266      conftest$ac_exeext conftest.$ac_ext
12267fi
12268{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12269$as_echo "$ac_cv_func_shl_load" >&6; }
12270if test "x$ac_cv_func_shl_load" = x""yes; then
12271  lt_cv_dlopen="shl_load"
12272else
12273  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12274$as_echo_n "checking for shl_load in -ldld... " >&6; }
12275if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12276  $as_echo_n "(cached) " >&6
12277else
12278  ac_check_lib_save_LIBS=$LIBS
12279LIBS="-ldld  $LIBS"
12280cat >conftest.$ac_ext <<_ACEOF
12281/* confdefs.h.  */
12282_ACEOF
12283cat confdefs.h >>conftest.$ac_ext
12284cat >>conftest.$ac_ext <<_ACEOF
12285/* end confdefs.h.  */
12286
12287/* Override any GCC internal prototype to avoid an error.
12288   Use char because int might match the return type of a GCC
12289   builtin and then its argument prototype would still apply.  */
12290#ifdef __cplusplus
12291extern "C"
12292#endif
12293char shl_load ();
12294int
12295main ()
12296{
12297return shl_load ();
12298  ;
12299  return 0;
12300}
12301_ACEOF
12302rm -f conftest.$ac_objext conftest$ac_exeext
12303if { (ac_try="$ac_link"
12304case "(($ac_try" in
12305  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12306  *) ac_try_echo=$ac_try;;
12307esac
12308eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12309$as_echo "$ac_try_echo") >&5
12310  (eval "$ac_link") 2>conftest.er1
12311  ac_status=$?
12312  grep -v '^ *+' conftest.er1 >conftest.err
12313  rm -f conftest.er1
12314  cat conftest.err >&5
12315  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316  (exit $ac_status); } && {
12317	 test -z "$ac_c_werror_flag" ||
12318	 test ! -s conftest.err
12319       } && test -s conftest$ac_exeext && {
12320	 test "$cross_compiling" = yes ||
12321	 $as_test_x conftest$ac_exeext
12322       }; then
12323  ac_cv_lib_dld_shl_load=yes
12324else
12325  $as_echo "$as_me: failed program was:" >&5
12326sed 's/^/| /' conftest.$ac_ext >&5
12327
12328	ac_cv_lib_dld_shl_load=no
12329fi
12330
12331rm -rf conftest.dSYM
12332rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12333      conftest$ac_exeext conftest.$ac_ext
12334LIBS=$ac_check_lib_save_LIBS
12335fi
12336{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12337$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12338if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
12339  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12340else
12341  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12342$as_echo_n "checking for dlopen... " >&6; }
12343if test "${ac_cv_func_dlopen+set}" = set; then
12344  $as_echo_n "(cached) " >&6
12345else
12346  cat >conftest.$ac_ext <<_ACEOF
12347/* confdefs.h.  */
12348_ACEOF
12349cat confdefs.h >>conftest.$ac_ext
12350cat >>conftest.$ac_ext <<_ACEOF
12351/* end confdefs.h.  */
12352/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12353   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12354#define dlopen innocuous_dlopen
12355
12356/* System header to define __stub macros and hopefully few prototypes,
12357    which can conflict with char dlopen (); below.
12358    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12359    <limits.h> exists even on freestanding compilers.  */
12360
12361#ifdef __STDC__
12362# include <limits.h>
12363#else
12364# include <assert.h>
12365#endif
12366
12367#undef dlopen
12368
12369/* Override any GCC internal prototype to avoid an error.
12370   Use char because int might match the return type of a GCC
12371   builtin and then its argument prototype would still apply.  */
12372#ifdef __cplusplus
12373extern "C"
12374#endif
12375char dlopen ();
12376/* The GNU C library defines this for functions which it implements
12377    to always fail with ENOSYS.  Some functions are actually named
12378    something starting with __ and the normal name is an alias.  */
12379#if defined __stub_dlopen || defined __stub___dlopen
12380choke me
12381#endif
12382
12383int
12384main ()
12385{
12386return dlopen ();
12387  ;
12388  return 0;
12389}
12390_ACEOF
12391rm -f conftest.$ac_objext conftest$ac_exeext
12392if { (ac_try="$ac_link"
12393case "(($ac_try" in
12394  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12395  *) ac_try_echo=$ac_try;;
12396esac
12397eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12398$as_echo "$ac_try_echo") >&5
12399  (eval "$ac_link") 2>conftest.er1
12400  ac_status=$?
12401  grep -v '^ *+' conftest.er1 >conftest.err
12402  rm -f conftest.er1
12403  cat conftest.err >&5
12404  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405  (exit $ac_status); } && {
12406	 test -z "$ac_c_werror_flag" ||
12407	 test ! -s conftest.err
12408       } && test -s conftest$ac_exeext && {
12409	 test "$cross_compiling" = yes ||
12410	 $as_test_x conftest$ac_exeext
12411       }; then
12412  ac_cv_func_dlopen=yes
12413else
12414  $as_echo "$as_me: failed program was:" >&5
12415sed 's/^/| /' conftest.$ac_ext >&5
12416
12417	ac_cv_func_dlopen=no
12418fi
12419
12420rm -rf conftest.dSYM
12421rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12422      conftest$ac_exeext conftest.$ac_ext
12423fi
12424{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12425$as_echo "$ac_cv_func_dlopen" >&6; }
12426if test "x$ac_cv_func_dlopen" = x""yes; then
12427  lt_cv_dlopen="dlopen"
12428else
12429  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12430$as_echo_n "checking for dlopen in -ldl... " >&6; }
12431if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12432  $as_echo_n "(cached) " >&6
12433else
12434  ac_check_lib_save_LIBS=$LIBS
12435LIBS="-ldl  $LIBS"
12436cat >conftest.$ac_ext <<_ACEOF
12437/* confdefs.h.  */
12438_ACEOF
12439cat confdefs.h >>conftest.$ac_ext
12440cat >>conftest.$ac_ext <<_ACEOF
12441/* end confdefs.h.  */
12442
12443/* Override any GCC internal prototype to avoid an error.
12444   Use char because int might match the return type of a GCC
12445   builtin and then its argument prototype would still apply.  */
12446#ifdef __cplusplus
12447extern "C"
12448#endif
12449char dlopen ();
12450int
12451main ()
12452{
12453return dlopen ();
12454  ;
12455  return 0;
12456}
12457_ACEOF
12458rm -f conftest.$ac_objext conftest$ac_exeext
12459if { (ac_try="$ac_link"
12460case "(($ac_try" in
12461  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12462  *) ac_try_echo=$ac_try;;
12463esac
12464eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12465$as_echo "$ac_try_echo") >&5
12466  (eval "$ac_link") 2>conftest.er1
12467  ac_status=$?
12468  grep -v '^ *+' conftest.er1 >conftest.err
12469  rm -f conftest.er1
12470  cat conftest.err >&5
12471  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472  (exit $ac_status); } && {
12473	 test -z "$ac_c_werror_flag" ||
12474	 test ! -s conftest.err
12475       } && test -s conftest$ac_exeext && {
12476	 test "$cross_compiling" = yes ||
12477	 $as_test_x conftest$ac_exeext
12478       }; then
12479  ac_cv_lib_dl_dlopen=yes
12480else
12481  $as_echo "$as_me: failed program was:" >&5
12482sed 's/^/| /' conftest.$ac_ext >&5
12483
12484	ac_cv_lib_dl_dlopen=no
12485fi
12486
12487rm -rf conftest.dSYM
12488rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12489      conftest$ac_exeext conftest.$ac_ext
12490LIBS=$ac_check_lib_save_LIBS
12491fi
12492{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12493$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12494if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12495  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12496else
12497  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12498$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12499if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12500  $as_echo_n "(cached) " >&6
12501else
12502  ac_check_lib_save_LIBS=$LIBS
12503LIBS="-lsvld  $LIBS"
12504cat >conftest.$ac_ext <<_ACEOF
12505/* confdefs.h.  */
12506_ACEOF
12507cat confdefs.h >>conftest.$ac_ext
12508cat >>conftest.$ac_ext <<_ACEOF
12509/* end confdefs.h.  */
12510
12511/* Override any GCC internal prototype to avoid an error.
12512   Use char because int might match the return type of a GCC
12513   builtin and then its argument prototype would still apply.  */
12514#ifdef __cplusplus
12515extern "C"
12516#endif
12517char dlopen ();
12518int
12519main ()
12520{
12521return dlopen ();
12522  ;
12523  return 0;
12524}
12525_ACEOF
12526rm -f conftest.$ac_objext conftest$ac_exeext
12527if { (ac_try="$ac_link"
12528case "(($ac_try" in
12529  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12530  *) ac_try_echo=$ac_try;;
12531esac
12532eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12533$as_echo "$ac_try_echo") >&5
12534  (eval "$ac_link") 2>conftest.er1
12535  ac_status=$?
12536  grep -v '^ *+' conftest.er1 >conftest.err
12537  rm -f conftest.er1
12538  cat conftest.err >&5
12539  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540  (exit $ac_status); } && {
12541	 test -z "$ac_c_werror_flag" ||
12542	 test ! -s conftest.err
12543       } && test -s conftest$ac_exeext && {
12544	 test "$cross_compiling" = yes ||
12545	 $as_test_x conftest$ac_exeext
12546       }; then
12547  ac_cv_lib_svld_dlopen=yes
12548else
12549  $as_echo "$as_me: failed program was:" >&5
12550sed 's/^/| /' conftest.$ac_ext >&5
12551
12552	ac_cv_lib_svld_dlopen=no
12553fi
12554
12555rm -rf conftest.dSYM
12556rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12557      conftest$ac_exeext conftest.$ac_ext
12558LIBS=$ac_check_lib_save_LIBS
12559fi
12560{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12561$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12562if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
12563  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12564else
12565  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12566$as_echo_n "checking for dld_link in -ldld... " >&6; }
12567if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12568  $as_echo_n "(cached) " >&6
12569else
12570  ac_check_lib_save_LIBS=$LIBS
12571LIBS="-ldld  $LIBS"
12572cat >conftest.$ac_ext <<_ACEOF
12573/* confdefs.h.  */
12574_ACEOF
12575cat confdefs.h >>conftest.$ac_ext
12576cat >>conftest.$ac_ext <<_ACEOF
12577/* end confdefs.h.  */
12578
12579/* Override any GCC internal prototype to avoid an error.
12580   Use char because int might match the return type of a GCC
12581   builtin and then its argument prototype would still apply.  */
12582#ifdef __cplusplus
12583extern "C"
12584#endif
12585char dld_link ();
12586int
12587main ()
12588{
12589return dld_link ();
12590  ;
12591  return 0;
12592}
12593_ACEOF
12594rm -f conftest.$ac_objext conftest$ac_exeext
12595if { (ac_try="$ac_link"
12596case "(($ac_try" in
12597  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12598  *) ac_try_echo=$ac_try;;
12599esac
12600eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12601$as_echo "$ac_try_echo") >&5
12602  (eval "$ac_link") 2>conftest.er1
12603  ac_status=$?
12604  grep -v '^ *+' conftest.er1 >conftest.err
12605  rm -f conftest.er1
12606  cat conftest.err >&5
12607  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608  (exit $ac_status); } && {
12609	 test -z "$ac_c_werror_flag" ||
12610	 test ! -s conftest.err
12611       } && test -s conftest$ac_exeext && {
12612	 test "$cross_compiling" = yes ||
12613	 $as_test_x conftest$ac_exeext
12614       }; then
12615  ac_cv_lib_dld_dld_link=yes
12616else
12617  $as_echo "$as_me: failed program was:" >&5
12618sed 's/^/| /' conftest.$ac_ext >&5
12619
12620	ac_cv_lib_dld_dld_link=no
12621fi
12622
12623rm -rf conftest.dSYM
12624rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12625      conftest$ac_exeext conftest.$ac_ext
12626LIBS=$ac_check_lib_save_LIBS
12627fi
12628{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12629$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12630if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12631  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12632fi
12633
12634
12635fi
12636
12637
12638fi
12639
12640
12641fi
12642
12643
12644fi
12645
12646
12647fi
12648
12649    ;;
12650  esac
12651
12652  if test "x$lt_cv_dlopen" != xno; then
12653    enable_dlopen=yes
12654  else
12655    enable_dlopen=no
12656  fi
12657
12658  case $lt_cv_dlopen in
12659  dlopen)
12660    save_CPPFLAGS="$CPPFLAGS"
12661    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12662
12663    save_LDFLAGS="$LDFLAGS"
12664    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12665
12666    save_LIBS="$LIBS"
12667    LIBS="$lt_cv_dlopen_libs $LIBS"
12668
12669    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12670$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12671if test "${lt_cv_dlopen_self+set}" = set; then
12672  $as_echo_n "(cached) " >&6
12673else
12674  	  if test "$cross_compiling" = yes; then :
12675  lt_cv_dlopen_self=cross
12676else
12677  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12678  lt_status=$lt_dlunknown
12679  cat > conftest.$ac_ext <<_LT_EOF
12680#line $LINENO "configure"
12681#include "confdefs.h"
12682
12683#if HAVE_DLFCN_H
12684#include <dlfcn.h>
12685#endif
12686
12687#include <stdio.h>
12688
12689#ifdef RTLD_GLOBAL
12690#  define LT_DLGLOBAL		RTLD_GLOBAL
12691#else
12692#  ifdef DL_GLOBAL
12693#    define LT_DLGLOBAL		DL_GLOBAL
12694#  else
12695#    define LT_DLGLOBAL		0
12696#  endif
12697#endif
12698
12699/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12700   find out it does not work in some platform. */
12701#ifndef LT_DLLAZY_OR_NOW
12702#  ifdef RTLD_LAZY
12703#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12704#  else
12705#    ifdef DL_LAZY
12706#      define LT_DLLAZY_OR_NOW		DL_LAZY
12707#    else
12708#      ifdef RTLD_NOW
12709#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12710#      else
12711#        ifdef DL_NOW
12712#          define LT_DLLAZY_OR_NOW	DL_NOW
12713#        else
12714#          define LT_DLLAZY_OR_NOW	0
12715#        endif
12716#      endif
12717#    endif
12718#  endif
12719#endif
12720
12721/* When -fvisbility=hidden is used, assume the code has been annotated
12722   correspondingly for the symbols needed.  */
12723#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12724int fnord () __attribute__((visibility("default")));
12725#endif
12726
12727int fnord () { return 42; }
12728int main ()
12729{
12730  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12731  int status = $lt_dlunknown;
12732
12733  if (self)
12734    {
12735      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12736      else
12737        {
12738	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12739          else puts (dlerror ());
12740	}
12741      /* dlclose (self); */
12742    }
12743  else
12744    puts (dlerror ());
12745
12746  return status;
12747}
12748_LT_EOF
12749  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12750  (eval $ac_link) 2>&5
12751  ac_status=$?
12752  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12754    (./conftest; exit; ) >&5 2>/dev/null
12755    lt_status=$?
12756    case x$lt_status in
12757      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12758      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12759      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12760    esac
12761  else :
12762    # compilation failed
12763    lt_cv_dlopen_self=no
12764  fi
12765fi
12766rm -fr conftest*
12767
12768
12769fi
12770{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12771$as_echo "$lt_cv_dlopen_self" >&6; }
12772
12773    if test "x$lt_cv_dlopen_self" = xyes; then
12774      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12775      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12776$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12777if test "${lt_cv_dlopen_self_static+set}" = set; then
12778  $as_echo_n "(cached) " >&6
12779else
12780  	  if test "$cross_compiling" = yes; then :
12781  lt_cv_dlopen_self_static=cross
12782else
12783  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12784  lt_status=$lt_dlunknown
12785  cat > conftest.$ac_ext <<_LT_EOF
12786#line $LINENO "configure"
12787#include "confdefs.h"
12788
12789#if HAVE_DLFCN_H
12790#include <dlfcn.h>
12791#endif
12792
12793#include <stdio.h>
12794
12795#ifdef RTLD_GLOBAL
12796#  define LT_DLGLOBAL		RTLD_GLOBAL
12797#else
12798#  ifdef DL_GLOBAL
12799#    define LT_DLGLOBAL		DL_GLOBAL
12800#  else
12801#    define LT_DLGLOBAL		0
12802#  endif
12803#endif
12804
12805/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12806   find out it does not work in some platform. */
12807#ifndef LT_DLLAZY_OR_NOW
12808#  ifdef RTLD_LAZY
12809#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12810#  else
12811#    ifdef DL_LAZY
12812#      define LT_DLLAZY_OR_NOW		DL_LAZY
12813#    else
12814#      ifdef RTLD_NOW
12815#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12816#      else
12817#        ifdef DL_NOW
12818#          define LT_DLLAZY_OR_NOW	DL_NOW
12819#        else
12820#          define LT_DLLAZY_OR_NOW	0
12821#        endif
12822#      endif
12823#    endif
12824#  endif
12825#endif
12826
12827/* When -fvisbility=hidden is used, assume the code has been annotated
12828   correspondingly for the symbols needed.  */
12829#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12830int fnord () __attribute__((visibility("default")));
12831#endif
12832
12833int fnord () { return 42; }
12834int main ()
12835{
12836  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12837  int status = $lt_dlunknown;
12838
12839  if (self)
12840    {
12841      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12842      else
12843        {
12844	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12845          else puts (dlerror ());
12846	}
12847      /* dlclose (self); */
12848    }
12849  else
12850    puts (dlerror ());
12851
12852  return status;
12853}
12854_LT_EOF
12855  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12856  (eval $ac_link) 2>&5
12857  ac_status=$?
12858  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12860    (./conftest; exit; ) >&5 2>/dev/null
12861    lt_status=$?
12862    case x$lt_status in
12863      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12864      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12865      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12866    esac
12867  else :
12868    # compilation failed
12869    lt_cv_dlopen_self_static=no
12870  fi
12871fi
12872rm -fr conftest*
12873
12874
12875fi
12876{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12877$as_echo "$lt_cv_dlopen_self_static" >&6; }
12878    fi
12879
12880    CPPFLAGS="$save_CPPFLAGS"
12881    LDFLAGS="$save_LDFLAGS"
12882    LIBS="$save_LIBS"
12883    ;;
12884  esac
12885
12886  case $lt_cv_dlopen_self in
12887  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12888  *) enable_dlopen_self=unknown ;;
12889  esac
12890
12891  case $lt_cv_dlopen_self_static in
12892  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12893  *) enable_dlopen_self_static=unknown ;;
12894  esac
12895fi
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913striplib=
12914old_striplib=
12915{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12916$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12917if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12918  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12919  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12920  { $as_echo "$as_me:$LINENO: result: yes" >&5
12921$as_echo "yes" >&6; }
12922else
12923# FIXME - insert some real tests, host_os isn't really good enough
12924  case $host_os in
12925  darwin*)
12926    if test -n "$STRIP" ; then
12927      striplib="$STRIP -x"
12928      old_striplib="$STRIP -S"
12929      { $as_echo "$as_me:$LINENO: result: yes" >&5
12930$as_echo "yes" >&6; }
12931    else
12932      { $as_echo "$as_me:$LINENO: result: no" >&5
12933$as_echo "no" >&6; }
12934    fi
12935    ;;
12936  *)
12937    { $as_echo "$as_me:$LINENO: result: no" >&5
12938$as_echo "no" >&6; }
12939    ;;
12940  esac
12941fi
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954  # Report which library types will actually be built
12955  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12956$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12957  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12958$as_echo "$can_build_shared" >&6; }
12959
12960  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12961$as_echo_n "checking whether to build shared libraries... " >&6; }
12962  test "$can_build_shared" = "no" && enable_shared=no
12963
12964  # On AIX, shared libraries and static libraries use the same namespace, and
12965  # are all built from PIC.
12966  case $host_os in
12967  aix3*)
12968    test "$enable_shared" = yes && enable_static=no
12969    if test -n "$RANLIB"; then
12970      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12971      postinstall_cmds='$RANLIB $lib'
12972    fi
12973    ;;
12974
12975  aix[4-9]*)
12976    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12977      test "$enable_shared" = yes && enable_static=no
12978    fi
12979    ;;
12980  esac
12981  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12982$as_echo "$enable_shared" >&6; }
12983
12984  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12985$as_echo_n "checking whether to build static libraries... " >&6; }
12986  # Make sure either enable_shared or enable_static is yes.
12987  test "$enable_shared" = yes || enable_static=yes
12988  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12989$as_echo "$enable_static" >&6; }
12990
12991
12992
12993
12994fi
12995ac_ext=c
12996ac_cpp='$CPP $CPPFLAGS'
12997ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12998ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12999ac_compiler_gnu=$ac_cv_c_compiler_gnu
13000
13001CC="$lt_save_CC"
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017        ac_config_commands="$ac_config_commands libtool"
13018
13019
13020
13021
13022# Only expand once:
13023
13024
13025{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13026$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13027if test "${ac_cv_c_const+set}" = set; then
13028  $as_echo_n "(cached) " >&6
13029else
13030  cat >conftest.$ac_ext <<_ACEOF
13031/* confdefs.h.  */
13032_ACEOF
13033cat confdefs.h >>conftest.$ac_ext
13034cat >>conftest.$ac_ext <<_ACEOF
13035/* end confdefs.h.  */
13036
13037int
13038main ()
13039{
13040/* FIXME: Include the comments suggested by Paul. */
13041#ifndef __cplusplus
13042  /* Ultrix mips cc rejects this.  */
13043  typedef int charset[2];
13044  const charset cs;
13045  /* SunOS 4.1.1 cc rejects this.  */
13046  char const *const *pcpcc;
13047  char **ppc;
13048  /* NEC SVR4.0.2 mips cc rejects this.  */
13049  struct point {int x, y;};
13050  static struct point const zero = {0,0};
13051  /* AIX XL C 1.02.0.0 rejects this.
13052     It does not let you subtract one const X* pointer from another in
13053     an arm of an if-expression whose if-part is not a constant
13054     expression */
13055  const char *g = "string";
13056  pcpcc = &g + (g ? g-g : 0);
13057  /* HPUX 7.0 cc rejects these. */
13058  ++pcpcc;
13059  ppc = (char**) pcpcc;
13060  pcpcc = (char const *const *) ppc;
13061  { /* SCO 3.2v4 cc rejects this.  */
13062    char *t;
13063    char const *s = 0 ? (char *) 0 : (char const *) 0;
13064
13065    *t++ = 0;
13066    if (s) return 0;
13067  }
13068  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
13069    int x[] = {25, 17};
13070    const int *foo = &x[0];
13071    ++foo;
13072  }
13073  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13074    typedef const int *iptr;
13075    iptr p = 0;
13076    ++p;
13077  }
13078  { /* AIX XL C 1.02.0.0 rejects this saying
13079       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13080    struct s { int j; const int *ap[3]; };
13081    struct s *b; b->j = 5;
13082  }
13083  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13084    const int foo = 10;
13085    if (!foo) return 0;
13086  }
13087  return !cs[0] && !zero.x;
13088#endif
13089
13090  ;
13091  return 0;
13092}
13093_ACEOF
13094rm -f conftest.$ac_objext
13095if { (ac_try="$ac_compile"
13096case "(($ac_try" in
13097  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13098  *) ac_try_echo=$ac_try;;
13099esac
13100eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13101$as_echo "$ac_try_echo") >&5
13102  (eval "$ac_compile") 2>conftest.er1
13103  ac_status=$?
13104  grep -v '^ *+' conftest.er1 >conftest.err
13105  rm -f conftest.er1
13106  cat conftest.err >&5
13107  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108  (exit $ac_status); } && {
13109	 test -z "$ac_c_werror_flag" ||
13110	 test ! -s conftest.err
13111       } && test -s conftest.$ac_objext; then
13112  ac_cv_c_const=yes
13113else
13114  $as_echo "$as_me: failed program was:" >&5
13115sed 's/^/| /' conftest.$ac_ext >&5
13116
13117	ac_cv_c_const=no
13118fi
13119
13120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13121fi
13122{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13123$as_echo "$ac_cv_c_const" >&6; }
13124if test $ac_cv_c_const = no; then
13125
13126cat >>confdefs.h <<\_ACEOF
13127@%:@define const /**/
13128_ACEOF
13129
13130fi
13131
13132{ $as_echo "$as_me:$LINENO: checking for inline" >&5
13133$as_echo_n "checking for inline... " >&6; }
13134if test "${ac_cv_c_inline+set}" = set; then
13135  $as_echo_n "(cached) " >&6
13136else
13137  ac_cv_c_inline=no
13138for ac_kw in inline __inline__ __inline; do
13139  cat >conftest.$ac_ext <<_ACEOF
13140/* confdefs.h.  */
13141_ACEOF
13142cat confdefs.h >>conftest.$ac_ext
13143cat >>conftest.$ac_ext <<_ACEOF
13144/* end confdefs.h.  */
13145#ifndef __cplusplus
13146typedef int foo_t;
13147static $ac_kw foo_t static_foo () {return 0; }
13148$ac_kw foo_t foo () {return 0; }
13149#endif
13150
13151_ACEOF
13152rm -f conftest.$ac_objext
13153if { (ac_try="$ac_compile"
13154case "(($ac_try" in
13155  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13156  *) ac_try_echo=$ac_try;;
13157esac
13158eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13159$as_echo "$ac_try_echo") >&5
13160  (eval "$ac_compile") 2>conftest.er1
13161  ac_status=$?
13162  grep -v '^ *+' conftest.er1 >conftest.err
13163  rm -f conftest.er1
13164  cat conftest.err >&5
13165  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166  (exit $ac_status); } && {
13167	 test -z "$ac_c_werror_flag" ||
13168	 test ! -s conftest.err
13169       } && test -s conftest.$ac_objext; then
13170  ac_cv_c_inline=$ac_kw
13171else
13172  $as_echo "$as_me: failed program was:" >&5
13173sed 's/^/| /' conftest.$ac_ext >&5
13174
13175
13176fi
13177
13178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13179  test "$ac_cv_c_inline" != no && break
13180done
13181
13182fi
13183{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13184$as_echo "$ac_cv_c_inline" >&6; }
13185
13186
13187case $ac_cv_c_inline in
13188  inline | yes) ;;
13189  *)
13190    case $ac_cv_c_inline in
13191      no) ac_val=;;
13192      *) ac_val=$ac_cv_c_inline;;
13193    esac
13194    cat >>confdefs.h <<_ACEOF
13195#ifndef __cplusplus
13196#define inline $ac_val
13197#endif
13198_ACEOF
13199    ;;
13200esac
13201
13202
13203# Build dependencies
13204
13205# Extract the first word of "glib-mkenums", so it can be a program name with args.
13206set dummy glib-mkenums; ac_word=$2
13207{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13208$as_echo_n "checking for $ac_word... " >&6; }
13209if test "${ac_cv_path_GLIB_MKENUMS+set}" = set; then
13210  $as_echo_n "(cached) " >&6
13211else
13212  case $GLIB_MKENUMS in
13213  [\\/]* | ?:[\\/]*)
13214  ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
13215  ;;
13216  *)
13217  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13218for as_dir in $PATH
13219do
13220  IFS=$as_save_IFS
13221  test -z "$as_dir" && as_dir=.
13222  for ac_exec_ext in '' $ac_executable_extensions; do
13223  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13224    ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
13225    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13226    break 2
13227  fi
13228done
13229done
13230IFS=$as_save_IFS
13231
13232  ;;
13233esac
13234fi
13235GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
13236if test -n "$GLIB_MKENUMS"; then
13237  { $as_echo "$as_me:$LINENO: result: $GLIB_MKENUMS" >&5
13238$as_echo "$GLIB_MKENUMS" >&6; }
13239else
13240  { $as_echo "$as_me:$LINENO: result: no" >&5
13241$as_echo "no" >&6; }
13242fi
13243
13244
13245# Extract the first word of "glib-genmarshal", so it can be a program name with args.
13246set dummy glib-genmarshal; ac_word=$2
13247{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13248$as_echo_n "checking for $ac_word... " >&6; }
13249if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then
13250  $as_echo_n "(cached) " >&6
13251else
13252  case $GLIB_GENMARSHAL in
13253  [\\/]* | ?:[\\/]*)
13254  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13255  ;;
13256  *)
13257  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13258for as_dir in $PATH
13259do
13260  IFS=$as_save_IFS
13261  test -z "$as_dir" && as_dir=.
13262  for ac_exec_ext in '' $ac_executable_extensions; do
13263  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13264    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13265    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13266    break 2
13267  fi
13268done
13269done
13270IFS=$as_save_IFS
13271
13272  ;;
13273esac
13274fi
13275GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13276if test -n "$GLIB_GENMARSHAL"; then
13277  { $as_echo "$as_me:$LINENO: result: $GLIB_GENMARSHAL" >&5
13278$as_echo "$GLIB_GENMARSHAL" >&6; }
13279else
13280  { $as_echo "$as_me:$LINENO: result: no" >&5
13281$as_echo "no" >&6; }
13282fi
13283
13284
13285
13286
13287if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13288	if test -n "$ac_tool_prefix"; then
13289  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13290set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13291{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13292$as_echo_n "checking for $ac_word... " >&6; }
13293if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13294  $as_echo_n "(cached) " >&6
13295else
13296  case $PKG_CONFIG in
13297  [\\/]* | ?:[\\/]*)
13298  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13299  ;;
13300  *)
13301  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13302for as_dir in $PATH
13303do
13304  IFS=$as_save_IFS
13305  test -z "$as_dir" && as_dir=.
13306  for ac_exec_ext in '' $ac_executable_extensions; do
13307  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13308    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13309    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13310    break 2
13311  fi
13312done
13313done
13314IFS=$as_save_IFS
13315
13316  ;;
13317esac
13318fi
13319PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13320if test -n "$PKG_CONFIG"; then
13321  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13322$as_echo "$PKG_CONFIG" >&6; }
13323else
13324  { $as_echo "$as_me:$LINENO: result: no" >&5
13325$as_echo "no" >&6; }
13326fi
13327
13328
13329fi
13330if test -z "$ac_cv_path_PKG_CONFIG"; then
13331  ac_pt_PKG_CONFIG=$PKG_CONFIG
13332  # Extract the first word of "pkg-config", so it can be a program name with args.
13333set dummy pkg-config; ac_word=$2
13334{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13335$as_echo_n "checking for $ac_word... " >&6; }
13336if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
13337  $as_echo_n "(cached) " >&6
13338else
13339  case $ac_pt_PKG_CONFIG in
13340  [\\/]* | ?:[\\/]*)
13341  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13342  ;;
13343  *)
13344  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13345for as_dir in $PATH
13346do
13347  IFS=$as_save_IFS
13348  test -z "$as_dir" && as_dir=.
13349  for ac_exec_ext in '' $ac_executable_extensions; do
13350  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13351    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13352    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13353    break 2
13354  fi
13355done
13356done
13357IFS=$as_save_IFS
13358
13359  ;;
13360esac
13361fi
13362ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13363if test -n "$ac_pt_PKG_CONFIG"; then
13364  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
13365$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13366else
13367  { $as_echo "$as_me:$LINENO: result: no" >&5
13368$as_echo "no" >&6; }
13369fi
13370
13371  if test "x$ac_pt_PKG_CONFIG" = x; then
13372    PKG_CONFIG=""
13373  else
13374    case $cross_compiling:$ac_tool_warned in
13375yes:)
13376{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
13377$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13378ac_tool_warned=yes ;;
13379esac
13380    PKG_CONFIG=$ac_pt_PKG_CONFIG
13381  fi
13382else
13383  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13384fi
13385
13386fi
13387if test -n "$PKG_CONFIG"; then
13388	_pkg_min_version=0.9.0
13389	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
13390$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13391	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13392		{ $as_echo "$as_me:$LINENO: result: yes" >&5
13393$as_echo "yes" >&6; }
13394	else
13395		{ $as_echo "$as_me:$LINENO: result: no" >&5
13396$as_echo "no" >&6; }
13397		PKG_CONFIG=""
13398	fi
13399
13400fi
13401
13402glib_req=2.26.0
13403
13404gtk_req=3.5.2
13405
13406cairo_req=1.10
13407
13408
13409
13410pkg_failed=no
13411{ $as_echo "$as_me:$LINENO: checking for DEPS" >&5
13412$as_echo_n "checking for DEPS... " >&6; }
13413
13414if test -n "$PKG_CONFIG"; then
13415    if test -n "$DEPS_CFLAGS"; then
13416        pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
13417    else
13418        if test -n "$PKG_CONFIG" && \
13419    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$glib_req gtk+-3.0 >= \$gtk_req cairo >= \$cairo_req\"") >&5
13420  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $glib_req gtk+-3.0 >= $gtk_req cairo >= $cairo_req") 2>&5
13421  ac_status=$?
13422  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423  (exit $ac_status); }; then
13424  pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $glib_req gtk+-3.0 >= $gtk_req cairo >= $cairo_req" 2>/dev/null`
13425else
13426  pkg_failed=yes
13427fi
13428    fi
13429else
13430	pkg_failed=untried
13431fi
13432if test -n "$PKG_CONFIG"; then
13433    if test -n "$DEPS_LIBS"; then
13434        pkg_cv_DEPS_LIBS="$DEPS_LIBS"
13435    else
13436        if test -n "$PKG_CONFIG" && \
13437    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$glib_req gtk+-3.0 >= \$gtk_req cairo >= \$cairo_req\"") >&5
13438  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $glib_req gtk+-3.0 >= $gtk_req cairo >= $cairo_req") 2>&5
13439  ac_status=$?
13440  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441  (exit $ac_status); }; then
13442  pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $glib_req gtk+-3.0 >= $gtk_req cairo >= $cairo_req" 2>/dev/null`
13443else
13444  pkg_failed=yes
13445fi
13446    fi
13447else
13448	pkg_failed=untried
13449fi
13450
13451
13452
13453if test $pkg_failed = yes; then
13454
13455if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13456        _pkg_short_errors_supported=yes
13457else
13458        _pkg_short_errors_supported=no
13459fi
13460        if test $_pkg_short_errors_supported = yes; then
13461	        DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $glib_req gtk+-3.0 >= $gtk_req cairo >= $cairo_req"`
13462        else
13463	        DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $glib_req gtk+-3.0 >= $gtk_req cairo >= $cairo_req"`
13464        fi
13465	# Put the nasty error message in config.log where it belongs
13466	echo "$DEPS_PKG_ERRORS" >&5
13467
13468	{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $glib_req gtk+-3.0 >= $gtk_req cairo >= $cairo_req) were not met:
13469
13470$DEPS_PKG_ERRORS
13471
13472Consider adjusting the PKG_CONFIG_PATH environment variable if you
13473installed software in a non-standard prefix.
13474
13475Alternatively, you may set the environment variables DEPS_CFLAGS
13476and DEPS_LIBS to avoid the need to call pkg-config.
13477See the pkg-config man page for more details.
13478" >&5
13479$as_echo "$as_me: error: Package requirements (glib-2.0 >= $glib_req gtk+-3.0 >= $gtk_req cairo >= $cairo_req) were not met:
13480
13481$DEPS_PKG_ERRORS
13482
13483Consider adjusting the PKG_CONFIG_PATH environment variable if you
13484installed software in a non-standard prefix.
13485
13486Alternatively, you may set the environment variables DEPS_CFLAGS
13487and DEPS_LIBS to avoid the need to call pkg-config.
13488See the pkg-config man page for more details.
13489" >&2;}
13490   { (exit 1); exit 1; }; }
13491elif test $pkg_failed = untried; then
13492	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13493$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13494{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
13495is in your PATH or set the PKG_CONFIG environment variable to the full
13496path to pkg-config.
13497
13498Alternatively, you may set the environment variables DEPS_CFLAGS
13499and DEPS_LIBS to avoid the need to call pkg-config.
13500See the pkg-config man page for more details.
13501
13502To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
13503See \`config.log' for more details." >&5
13504$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
13505is in your PATH or set the PKG_CONFIG environment variable to the full
13506path to pkg-config.
13507
13508Alternatively, you may set the environment variables DEPS_CFLAGS
13509and DEPS_LIBS to avoid the need to call pkg-config.
13510See the pkg-config man page for more details.
13511
13512To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
13513See \`config.log' for more details." >&2;}
13514   { (exit 1); exit 1; }; }; }
13515else
13516	DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
13517	DEPS_LIBS=$pkg_cv_DEPS_LIBS
13518        { $as_echo "$as_me:$LINENO: result: yes" >&5
13519$as_echo "yes" >&6; }
13520	:
13521fi
13522
13523
13524
13525# Debug flags
13526
13527if test x$UNICO_TRUNK = xyes; then
13528    DEFAULT_DEBUG="yes"
13529else
13530    DEFAULT_DEBUG="no"
13531fi
13532
13533@%:@ Check whether --enable-debug was given.
13534if test "${enable_debug+set}" = set; then
13535  enableval=$enable_debug;
13536else
13537  enable_debug=$DEFAULT_DEBUG
13538fi
13539
13540case $enable_debug in
13541  yes)
13542          test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
13543          DEBUG_CFLAGS="-D_DEBUG"
13544         ;;
13545  no) DEBUG_CFLAGS="-DNDEBUG" ;;
13546  *) { { $as_echo "$as_me:$LINENO: error: Unknown argument for --enable-debug" >&5
13547$as_echo "$as_me: error: Unknown argument for --enable-debug" >&2;}
13548   { (exit 1); exit 1; }; }
13549 ;;
13550esac
13551
13552
13553
13554# Maintainer flags
13555
13556if test x$UNICO_TRUNK = xyes; then
13557    DEFAULT_MAINTAINER_FLAGS="yes"
13558else
13559    DEFAULT_MAINTAINER_FLAGS="no"
13560fi
13561
13562@%:@ Check whether --enable-maintainer-flags was given.
13563if test "${enable_maintainer_flags+set}" = set; then
13564  enableval=$enable_maintainer_flags;
13565else
13566  enable_maintainer_flags=$DEFAULT_MAINTAINER_FLAGS
13567fi
13568
13569if test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"; then
13570
13571
13572  list="-fno-common -Wall -Wextra -Werror -Wempty-body
13573                            -Wno-missing-field-initializers -Wstrict-aliasing=2
13574                            -Wno-unused-parameter -Wdeclaration-after-statement
13575                            -Wpointer-arith -Wcast-align -Wwrite-strings
13576                            -Wformat-security -Wformat-nonliteral -Winit-self
13577                            -Wmissing-declarations -Wnested-externs -Wundef
13578                            -Wold-style-definition -Wswitch-default
13579                            -Wredundant-decls"
13580  flags_supported=""
13581  flags_unsupported=""
13582  { $as_echo "$as_me:$LINENO: checking for supported compiler flags" >&5
13583$as_echo_n "checking for supported compiler flags... " >&6; }
13584  for each in $list
13585  do
13586    save_CFLAGS="$CFLAGS"
13587    CFLAGS="$CFLAGS $each"
13588    cat >conftest.$ac_ext <<_ACEOF
13589/* confdefs.h.  */
13590_ACEOF
13591cat confdefs.h >>conftest.$ac_ext
13592cat >>conftest.$ac_ext <<_ACEOF
13593/* end confdefs.h.  */
13594
13595int
13596main ()
13597{
13598
13599  ;
13600  return 0;
13601}
13602_ACEOF
13603rm -f conftest.$ac_objext
13604if { (ac_try="$ac_compile"
13605case "(($ac_try" in
13606  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13607  *) ac_try_echo=$ac_try;;
13608esac
13609eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13610$as_echo "$ac_try_echo") >&5
13611  (eval "$ac_compile") 2>conftest.er1
13612  ac_status=$?
13613  grep -v '^ *+' conftest.er1 >conftest.err
13614  rm -f conftest.er1
13615  cat conftest.err >&5
13616  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617  (exit $ac_status); } && {
13618	 test -z "$ac_c_werror_flag" ||
13619	 test ! -s conftest.err
13620       } && test -s conftest.$ac_objext; then
13621  flag_ok=yes
13622else
13623  $as_echo "$as_me: failed program was:" >&5
13624sed 's/^/| /' conftest.$ac_ext >&5
13625
13626	flag_ok=no
13627fi
13628
13629rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13630    CFLAGS="$save_CFLAGS"
13631
13632    if test "X$flag_ok" = Xyes ; then
13633      flags_supported="$flags_supported $each"
13634    else
13635      flags_unsupported="$flags_unsupported $each"
13636    fi
13637  done
13638  { $as_echo "$as_me:$LINENO: result: $flags_supported" >&5
13639$as_echo "$flags_supported" >&6; }
13640  if test "X$flags_unsupported" != X ; then
13641    { $as_echo "$as_me:$LINENO: WARNING: unsupported compiler flags: $flags_unsupported" >&5
13642$as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
13643  fi
13644  MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS $flags_supported"
13645
13646
13647
13648fi
13649
13650
13651
13652# Variables
13653
13654UNICO_LIBADD="\$(DEPS_LIBS)"
13655
13656
13657UNICO_CFLAGS="-I\$(top_srcdir) -DUNICO_COMPILATION \$(DEPS_CFLAGS) \$(DEBUG_CFLAGS) \$(MAINTAINER_CFLAGS)"
13658
13659
13660UNICO_LDFLAGS="-module -avoid-version -no-undefined"
13661
13662
13663GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0`
13664
13665
13666# Files
13667
13668ac_config_files="$ac_config_files Makefile build/Makefile po/Makefile unico/Makefile"
13669
13670cat >confcache <<\_ACEOF
13671# This file is a shell script that caches the results of configure
13672# tests run on this system so they can be shared between configure
13673# scripts and configure runs, see configure's option --config-cache.
13674# It is not useful on other systems.  If it contains results you don't
13675# want to keep, you may remove or edit it.
13676#
13677# config.status only pays attention to the cache file if you give it
13678# the --recheck option to rerun configure.
13679#
13680# `ac_cv_env_foo' variables (set or unset) will be overridden when
13681# loading this file, other *unset* `ac_cv_foo' will be assigned the
13682# following values.
13683
13684_ACEOF
13685
13686# The following way of writing the cache mishandles newlines in values,
13687# but we know of no workaround that is simple, portable, and efficient.
13688# So, we kill variables containing newlines.
13689# Ultrix sh set writes to stderr and can't be redirected directly,
13690# and sets the high bit in the cache file unless we assign to the vars.
13691(
13692  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13693    eval ac_val=\$$ac_var
13694    case $ac_val in #(
13695    *${as_nl}*)
13696      case $ac_var in #(
13697      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13698$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13699      esac
13700      case $ac_var in #(
13701      _ | IFS | as_nl) ;; #(
13702      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13703      *) $as_unset $ac_var ;;
13704      esac ;;
13705    esac
13706  done
13707
13708  (set) 2>&1 |
13709    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13710    *${as_nl}ac_space=\ *)
13711      # `set' does not quote correctly, so add quotes (double-quote
13712      # substitution turns \\\\ into \\, and sed turns \\ into \).
13713      sed -n \
13714	"s/'/'\\\\''/g;
13715	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13716      ;; #(
13717    *)
13718      # `set' quotes correctly as required by POSIX, so do not add quotes.
13719      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13720      ;;
13721    esac |
13722    sort
13723) |
13724  sed '
13725     /^ac_cv_env_/b end
13726     t clear
13727     :clear
13728     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13729     t end
13730     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13731     :end' >>confcache
13732if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13733  if test -w "$cache_file"; then
13734    test "x$cache_file" != "x/dev/null" &&
13735      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13736$as_echo "$as_me: updating cache $cache_file" >&6;}
13737    cat confcache >$cache_file
13738  else
13739    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13740$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13741  fi
13742fi
13743rm -f confcache
13744
13745test "x$prefix" = xNONE && prefix=$ac_default_prefix
13746# Let make expand exec_prefix.
13747test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13748
13749DEFS=-DHAVE_CONFIG_H
13750
13751ac_libobjs=
13752ac_ltlibobjs=
13753for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
13754  # 1. Remove the extension, and $U if already installed.
13755  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13756  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13757  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13758  #    will be set to the directory where LIBOBJS objects are built.
13759  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13760  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13761done
13762LIB@&t@OBJS=$ac_libobjs
13763
13764LTLIBOBJS=$ac_ltlibobjs
13765
13766
13767if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13768  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13769Usually this means the macro was only invoked conditionally." >&5
13770$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
13771Usually this means the macro was only invoked conditionally." >&2;}
13772   { (exit 1); exit 1; }; }
13773fi
13774if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13775  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13776Usually this means the macro was only invoked conditionally." >&5
13777$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13778Usually this means the macro was only invoked conditionally." >&2;}
13779   { (exit 1); exit 1; }; }
13780fi
13781if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13782  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13783Usually this means the macro was only invoked conditionally." >&5
13784$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13785Usually this means the macro was only invoked conditionally." >&2;}
13786   { (exit 1); exit 1; }; }
13787fi
13788
13789: ${CONFIG_STATUS=./config.status}
13790ac_write_fail=0
13791ac_clean_files_save=$ac_clean_files
13792ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13793{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13794$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13795cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13796#! $SHELL
13797# Generated by $as_me.
13798# Run this file to recreate the current configuration.
13799# Compiler output produced by configure, useful for debugging
13800# configure, is in config.log if it exists.
13801
13802debug=false
13803ac_cs_recheck=false
13804ac_cs_silent=false
13805SHELL=\${CONFIG_SHELL-$SHELL}
13806_ACEOF
13807
13808cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13809## --------------------- ##
13810## M4sh Initialization.  ##
13811## --------------------- ##
13812
13813# Be more Bourne compatible
13814DUALCASE=1; export DUALCASE # for MKS sh
13815if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13816  emulate sh
13817  NULLCMD=:
13818  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13819  # is contrary to our usage.  Disable this feature.
13820  alias -g '${1+"$@"}'='"$@"'
13821  setopt NO_GLOB_SUBST
13822else
13823  case `(set -o) 2>/dev/null` in
13824  *posix*) set -o posix ;;
13825esac
13826
13827fi
13828
13829
13830
13831
13832# PATH needs CR
13833# Avoid depending upon Character Ranges.
13834as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13835as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13836as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13837as_cr_digits='0123456789'
13838as_cr_alnum=$as_cr_Letters$as_cr_digits
13839
13840as_nl='
13841'
13842export as_nl
13843# Printing a long string crashes Solaris 7 /usr/bin/printf.
13844as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13845as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13846as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13847if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13848  as_echo='printf %s\n'
13849  as_echo_n='printf %s'
13850else
13851  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13852    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13853    as_echo_n='/usr/ucb/echo -n'
13854  else
13855    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13856    as_echo_n_body='eval
13857      arg=$1;
13858      case $arg in
13859      *"$as_nl"*)
13860	expr "X$arg" : "X\\(.*\\)$as_nl";
13861	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13862      esac;
13863      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13864    '
13865    export as_echo_n_body
13866    as_echo_n='sh -c $as_echo_n_body as_echo'
13867  fi
13868  export as_echo_body
13869  as_echo='sh -c $as_echo_body as_echo'
13870fi
13871
13872# The user is always right.
13873if test "${PATH_SEPARATOR+set}" != set; then
13874  PATH_SEPARATOR=:
13875  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13876    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13877      PATH_SEPARATOR=';'
13878  }
13879fi
13880
13881# Support unset when possible.
13882if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13883  as_unset=unset
13884else
13885  as_unset=false
13886fi
13887
13888
13889# IFS
13890# We need space, tab and new line, in precisely that order.  Quoting is
13891# there to prevent editors from complaining about space-tab.
13892# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13893# splitting by setting IFS to empty value.)
13894IFS=" ""	$as_nl"
13895
13896# Find who we are.  Look in the path if we contain no directory separator.
13897case $0 in
13898  *[\\/]* ) as_myself=$0 ;;
13899  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13900for as_dir in $PATH
13901do
13902  IFS=$as_save_IFS
13903  test -z "$as_dir" && as_dir=.
13904  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13905done
13906IFS=$as_save_IFS
13907
13908     ;;
13909esac
13910# We did not find ourselves, most probably we were run as `sh COMMAND'
13911# in which case we are not to be found in the path.
13912if test "x$as_myself" = x; then
13913  as_myself=$0
13914fi
13915if test ! -f "$as_myself"; then
13916  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13917  { (exit 1); exit 1; }
13918fi
13919
13920# Work around bugs in pre-3.0 UWIN ksh.
13921for as_var in ENV MAIL MAILPATH
13922do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13923done
13924PS1='$ '
13925PS2='> '
13926PS4='+ '
13927
13928# NLS nuisances.
13929LC_ALL=C
13930export LC_ALL
13931LANGUAGE=C
13932export LANGUAGE
13933
13934# Required to use basename.
13935if expr a : '\(a\)' >/dev/null 2>&1 &&
13936   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13937  as_expr=expr
13938else
13939  as_expr=false
13940fi
13941
13942if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13943  as_basename=basename
13944else
13945  as_basename=false
13946fi
13947
13948
13949# Name of the executable.
13950as_me=`$as_basename -- "$0" ||
13951$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13952	 X"$0" : 'X\(//\)$' \| \
13953	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13954$as_echo X/"$0" |
13955    sed '/^.*\/\([^/][^/]*\)\/*$/{
13956	    s//\1/
13957	    q
13958	  }
13959	  /^X\/\(\/\/\)$/{
13960	    s//\1/
13961	    q
13962	  }
13963	  /^X\/\(\/\).*/{
13964	    s//\1/
13965	    q
13966	  }
13967	  s/.*/./; q'`
13968
13969# CDPATH.
13970$as_unset CDPATH
13971
13972
13973
13974  as_lineno_1=$LINENO
13975  as_lineno_2=$LINENO
13976  test "x$as_lineno_1" != "x$as_lineno_2" &&
13977  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13978
13979  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13980  # uniformly replaced by the line number.  The first 'sed' inserts a
13981  # line-number line after each line using $LINENO; the second 'sed'
13982  # does the real work.  The second script uses 'N' to pair each
13983  # line-number line with the line containing $LINENO, and appends
13984  # trailing '-' during substitution so that $LINENO is not a special
13985  # case at line end.
13986  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13987  # scripts with optimization help from Paolo Bonzini.  Blame Lee
13988  # E. McMahon (1931-1989) for sed's syntax.  :-)
13989  sed -n '
13990    p
13991    /[$]LINENO/=
13992  ' <$as_myself |
13993    sed '
13994      s/[$]LINENO.*/&-/
13995      t lineno
13996      b
13997      :lineno
13998      N
13999      :loop
14000      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14001      t loop
14002      s/-\n.*//
14003    ' >$as_me.lineno &&
14004  chmod +x "$as_me.lineno" ||
14005    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14006   { (exit 1); exit 1; }; }
14007
14008  # Don't try to exec as it changes $[0], causing all sort of problems
14009  # (the dirname of $[0] is not the place where we might find the
14010  # original and so on.  Autoconf is especially sensitive to this).
14011  . "./$as_me.lineno"
14012  # Exit status is that of the last command.
14013  exit
14014}
14015
14016
14017if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14018  as_dirname=dirname
14019else
14020  as_dirname=false
14021fi
14022
14023ECHO_C= ECHO_N= ECHO_T=
14024case `echo -n x` in
14025-n*)
14026  case `echo 'x\c'` in
14027  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
14028  *)   ECHO_C='\c';;
14029  esac;;
14030*)
14031  ECHO_N='-n';;
14032esac
14033if expr a : '\(a\)' >/dev/null 2>&1 &&
14034   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14035  as_expr=expr
14036else
14037  as_expr=false
14038fi
14039
14040rm -f conf$$ conf$$.exe conf$$.file
14041if test -d conf$$.dir; then
14042  rm -f conf$$.dir/conf$$.file
14043else
14044  rm -f conf$$.dir
14045  mkdir conf$$.dir 2>/dev/null
14046fi
14047if (echo >conf$$.file) 2>/dev/null; then
14048  if ln -s conf$$.file conf$$ 2>/dev/null; then
14049    as_ln_s='ln -s'
14050    # ... but there are two gotchas:
14051    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14052    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14053    # In both cases, we have to default to `cp -p'.
14054    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14055      as_ln_s='cp -p'
14056  elif ln conf$$.file conf$$ 2>/dev/null; then
14057    as_ln_s=ln
14058  else
14059    as_ln_s='cp -p'
14060  fi
14061else
14062  as_ln_s='cp -p'
14063fi
14064rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14065rmdir conf$$.dir 2>/dev/null
14066
14067if mkdir -p . 2>/dev/null; then
14068  as_mkdir_p=:
14069else
14070  test -d ./-p && rmdir ./-p
14071  as_mkdir_p=false
14072fi
14073
14074if test -x / >/dev/null 2>&1; then
14075  as_test_x='test -x'
14076else
14077  if ls -dL / >/dev/null 2>&1; then
14078    as_ls_L_option=L
14079  else
14080    as_ls_L_option=
14081  fi
14082  as_test_x='
14083    eval sh -c '\''
14084      if test -d "$1"; then
14085	test -d "$1/.";
14086      else
14087	case $1 in
14088	-*)set "./$1";;
14089	esac;
14090	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14091	???[sx]*):;;*)false;;esac;fi
14092    '\'' sh
14093  '
14094fi
14095as_executable_p=$as_test_x
14096
14097# Sed expression to map a string onto a valid CPP name.
14098as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14099
14100# Sed expression to map a string onto a valid variable name.
14101as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14102
14103
14104exec 6>&1
14105
14106# Save the log message, to keep $[0] and so on meaningful, and to
14107# report actual input values of CONFIG_FILES etc. instead of their
14108# values after options handling.
14109ac_log="
14110This file was extended by unico $as_me 1.0.2, which was
14111generated by GNU Autoconf 2.63.  Invocation command line was
14112
14113  CONFIG_FILES    = $CONFIG_FILES
14114  CONFIG_HEADERS  = $CONFIG_HEADERS
14115  CONFIG_LINKS    = $CONFIG_LINKS
14116  CONFIG_COMMANDS = $CONFIG_COMMANDS
14117  $ $0 $@
14118
14119on `(hostname || uname -n) 2>/dev/null | sed 1q`
14120"
14121
14122_ACEOF
14123
14124case $ac_config_files in *"
14125"*) set x $ac_config_files; shift; ac_config_files=$*;;
14126esac
14127
14128case $ac_config_headers in *"
14129"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14130esac
14131
14132
14133cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14134# Files that config.status was made for.
14135config_files="$ac_config_files"
14136config_headers="$ac_config_headers"
14137config_commands="$ac_config_commands"
14138
14139_ACEOF
14140
14141cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14142ac_cs_usage="\
14143\`$as_me' instantiates files from templates according to the
14144current configuration.
14145
14146Usage: $0 [OPTION]... [FILE]...
14147
14148  -h, --help       print this help, then exit
14149  -V, --version    print version number and configuration settings, then exit
14150  -q, --quiet, --silent
14151                   do not print progress messages
14152  -d, --debug      don't remove temporary files
14153      --recheck    update $as_me by reconfiguring in the same conditions
14154      --file=FILE[:TEMPLATE]
14155                   instantiate the configuration file FILE
14156      --header=FILE[:TEMPLATE]
14157                   instantiate the configuration header FILE
14158
14159Configuration files:
14160$config_files
14161
14162Configuration headers:
14163$config_headers
14164
14165Configuration commands:
14166$config_commands
14167
14168Report bugs to <bug-autoconf@gnu.org>."
14169
14170_ACEOF
14171cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14172ac_cs_version="\\
14173unico config.status 1.0.2
14174configured by $0, generated by GNU Autoconf 2.63,
14175  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14176
14177Copyright (C) 2008 Free Software Foundation, Inc.
14178This config.status script is free software; the Free Software Foundation
14179gives unlimited permission to copy, distribute and modify it."
14180
14181ac_pwd='$ac_pwd'
14182srcdir='$srcdir'
14183INSTALL='$INSTALL'
14184AWK='$AWK'
14185test -n "\$AWK" || AWK=awk
14186_ACEOF
14187
14188cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14189# The default lists apply if the user does not specify any file.
14190ac_need_defaults=:
14191while test $# != 0
14192do
14193  case $1 in
14194  --*=*)
14195    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14196    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14197    ac_shift=:
14198    ;;
14199  *)
14200    ac_option=$1
14201    ac_optarg=$2
14202    ac_shift=shift
14203    ;;
14204  esac
14205
14206  case $ac_option in
14207  # Handling of the options.
14208  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14209    ac_cs_recheck=: ;;
14210  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14211    $as_echo "$ac_cs_version"; exit ;;
14212  --debug | --debu | --deb | --de | --d | -d )
14213    debug=: ;;
14214  --file | --fil | --fi | --f )
14215    $ac_shift
14216    case $ac_optarg in
14217    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14218    esac
14219    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
14220    ac_need_defaults=false;;
14221  --header | --heade | --head | --hea )
14222    $ac_shift
14223    case $ac_optarg in
14224    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14225    esac
14226    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
14227    ac_need_defaults=false;;
14228  --he | --h)
14229    # Conflict between --help and --header
14230    { $as_echo "$as_me: error: ambiguous option: $1
14231Try \`$0 --help' for more information." >&2
14232   { (exit 1); exit 1; }; };;
14233  --help | --hel | -h )
14234    $as_echo "$ac_cs_usage"; exit ;;
14235  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14236  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14237    ac_cs_silent=: ;;
14238
14239  # This is an error.
14240  -*) { $as_echo "$as_me: error: unrecognized option: $1
14241Try \`$0 --help' for more information." >&2
14242   { (exit 1); exit 1; }; } ;;
14243
14244  *) ac_config_targets="$ac_config_targets $1"
14245     ac_need_defaults=false ;;
14246
14247  esac
14248  shift
14249done
14250
14251ac_configure_extra_args=
14252
14253if $ac_cs_silent; then
14254  exec 6>/dev/null
14255  ac_configure_extra_args="$ac_configure_extra_args --silent"
14256fi
14257
14258_ACEOF
14259cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14260if \$ac_cs_recheck; then
14261  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14262  shift
14263  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14264  CONFIG_SHELL='$SHELL'
14265  export CONFIG_SHELL
14266  exec "\$@"
14267fi
14268
14269_ACEOF
14270cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14271exec 5>>config.log
14272{
14273  echo
14274  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
14275@%:@@%:@ Running $as_me. @%:@@%:@
14276_ASBOX
14277  $as_echo "$ac_log"
14278} >&5
14279
14280_ACEOF
14281cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14282#
14283# INIT-COMMANDS
14284#
14285AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14286
14287
14288# The HP-UX ksh and POSIX shell print the target directory to stdout
14289# if CDPATH is set.
14290(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14291
14292sed_quote_subst='$sed_quote_subst'
14293double_quote_subst='$double_quote_subst'
14294delay_variable_subst='$delay_variable_subst'
14295macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14296macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14297enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14298enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14299pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14300enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14301SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14302ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14303PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14304host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14305host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14306host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14307build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14308build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14309build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14310SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14311Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14312GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14313EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14314FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14315LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14316NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14317LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14318max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14319ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14320exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14321lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14322lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14323lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14324lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14325lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14326reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14327reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14328OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14329deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14330file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14331file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14332want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14333DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14334sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14335AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14336AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14337archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14338STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14339RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14340old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14341old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14342old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14343lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14344CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14345CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14346compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14347GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14348lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14349lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14350lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14351lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
14352nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14353lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14354objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14355MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14356lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14357lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14358lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14359lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14360lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14361need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14362MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14363DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14364NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14365LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14366OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14367OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14368libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14369shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14370extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14371archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14372enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14373export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14374whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14375compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14376old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14377old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14378archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14379archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14380module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14381module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14382with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14383allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14384no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14385hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14386hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14387hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14388hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14389hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14390hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14391hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14392inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14393link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14394always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14395export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14396exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14397include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14398prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14399postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14400file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14401variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14402need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14403need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14404version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14405runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14406shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14407shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14408libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14409library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14410soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14411install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14412postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14413postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14414finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14415finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14416hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14417sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14418sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14419hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14420enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14421enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14422enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14423old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14424striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14425
14426LTCC='$LTCC'
14427LTCFLAGS='$LTCFLAGS'
14428compiler='$compiler_DEFAULT'
14429
14430# A function that is used when there is no print builtin or printf.
14431func_fallback_echo ()
14432{
14433  eval 'cat <<_LTECHO_EOF
14434\$1
14435_LTECHO_EOF'
14436}
14437
14438# Quote evaled strings.
14439for var in SHELL \
14440ECHO \
14441PATH_SEPARATOR \
14442SED \
14443GREP \
14444EGREP \
14445FGREP \
14446LD \
14447NM \
14448LN_S \
14449lt_SP2NL \
14450lt_NL2SP \
14451reload_flag \
14452OBJDUMP \
14453deplibs_check_method \
14454file_magic_cmd \
14455file_magic_glob \
14456want_nocaseglob \
14457DLLTOOL \
14458sharedlib_from_linklib_cmd \
14459AR \
14460AR_FLAGS \
14461archiver_list_spec \
14462STRIP \
14463RANLIB \
14464CC \
14465CFLAGS \
14466compiler \
14467lt_cv_sys_global_symbol_pipe \
14468lt_cv_sys_global_symbol_to_cdecl \
14469lt_cv_sys_global_symbol_to_c_name_address \
14470lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14471nm_file_list_spec \
14472lt_prog_compiler_no_builtin_flag \
14473lt_prog_compiler_pic \
14474lt_prog_compiler_wl \
14475lt_prog_compiler_static \
14476lt_cv_prog_compiler_c_o \
14477need_locks \
14478MANIFEST_TOOL \
14479DSYMUTIL \
14480NMEDIT \
14481LIPO \
14482OTOOL \
14483OTOOL64 \
14484shrext_cmds \
14485export_dynamic_flag_spec \
14486whole_archive_flag_spec \
14487compiler_needs_object \
14488with_gnu_ld \
14489allow_undefined_flag \
14490no_undefined_flag \
14491hardcode_libdir_flag_spec \
14492hardcode_libdir_separator \
14493exclude_expsyms \
14494include_expsyms \
14495file_list_spec \
14496variables_saved_for_relink \
14497libname_spec \
14498library_names_spec \
14499soname_spec \
14500install_override_mode \
14501finish_eval \
14502old_striplib \
14503striplib; do
14504    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14505    *[\\\\\\\`\\"\\\$]*)
14506      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14507      ;;
14508    *)
14509      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14510      ;;
14511    esac
14512done
14513
14514# Double-quote double-evaled strings.
14515for var in reload_cmds \
14516old_postinstall_cmds \
14517old_postuninstall_cmds \
14518old_archive_cmds \
14519extract_expsyms_cmds \
14520old_archive_from_new_cmds \
14521old_archive_from_expsyms_cmds \
14522archive_cmds \
14523archive_expsym_cmds \
14524module_cmds \
14525module_expsym_cmds \
14526export_symbols_cmds \
14527prelink_cmds \
14528postlink_cmds \
14529postinstall_cmds \
14530postuninstall_cmds \
14531finish_cmds \
14532sys_lib_search_path_spec \
14533sys_lib_dlsearch_path_spec; do
14534    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14535    *[\\\\\\\`\\"\\\$]*)
14536      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14537      ;;
14538    *)
14539      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14540      ;;
14541    esac
14542done
14543
14544ac_aux_dir='$ac_aux_dir'
14545xsi_shell='$xsi_shell'
14546lt_shell_append='$lt_shell_append'
14547
14548# See if we are running on zsh, and set the options which allow our
14549# commands through without removal of \ escapes INIT.
14550if test -n "\${ZSH_VERSION+set}" ; then
14551   setopt NO_GLOB_SUBST
14552fi
14553
14554
14555    PACKAGE='$PACKAGE'
14556    VERSION='$VERSION'
14557    TIMESTAMP='$TIMESTAMP'
14558    RM='$RM'
14559    ofile='$ofile'
14560
14561
14562
14563
14564_ACEOF
14565
14566cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14567
14568# Handling of arguments.
14569for ac_config_target in $ac_config_targets
14570do
14571  case $ac_config_target in
14572    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14573    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14574    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14575    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14576    "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
14577    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
14578    "unico/Makefile") CONFIG_FILES="$CONFIG_FILES unico/Makefile" ;;
14579
14580  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14581$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14582   { (exit 1); exit 1; }; };;
14583  esac
14584done
14585
14586
14587# If the user did not use the arguments to specify the items to instantiate,
14588# then the envvar interface is used.  Set only those that are not.
14589# We use the long form for the default assignment because of an extremely
14590# bizarre bug on SunOS 4.1.3.
14591if $ac_need_defaults; then
14592  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14593  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14594  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14595fi
14596
14597# Have a temporary directory for convenience.  Make it in the build tree
14598# simply because there is no reason against having it here, and in addition,
14599# creating and moving files from /tmp can sometimes cause problems.
14600# Hook for its removal unless debugging.
14601# Note that there is a small window in which the directory will not be cleaned:
14602# after its creation but before its name has been assigned to `$tmp'.
14603$debug ||
14604{
14605  tmp=
14606  trap 'exit_status=$?
14607  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14608' 0
14609  trap '{ (exit 1); exit 1; }' 1 2 13 15
14610}
14611# Create a (secure) tmp directory for tmp files.
14612
14613{
14614  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14615  test -n "$tmp" && test -d "$tmp"
14616}  ||
14617{
14618  tmp=./conf$$-$RANDOM
14619  (umask 077 && mkdir "$tmp")
14620} ||
14621{
14622   $as_echo "$as_me: cannot create a temporary directory in ." >&2
14623   { (exit 1); exit 1; }
14624}
14625
14626# Set up the scripts for CONFIG_FILES section.
14627# No need to generate them if there are no CONFIG_FILES.
14628# This happens for instance with `./config.status config.h'.
14629if test -n "$CONFIG_FILES"; then
14630
14631
14632ac_cr='
14633'
14634ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14635if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14636  ac_cs_awk_cr='\\r'
14637else
14638  ac_cs_awk_cr=$ac_cr
14639fi
14640
14641echo 'BEGIN {' >"$tmp/subs1.awk" &&
14642_ACEOF
14643
14644
14645{
14646  echo "cat >conf$$subs.awk <<_ACEOF" &&
14647  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14648  echo "_ACEOF"
14649} >conf$$subs.sh ||
14650  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14651$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14652   { (exit 1); exit 1; }; }
14653ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14654ac_delim='%!_!# '
14655for ac_last_try in false false false false false :; do
14656  . ./conf$$subs.sh ||
14657    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14658$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14659   { (exit 1); exit 1; }; }
14660
14661  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14662  if test $ac_delim_n = $ac_delim_num; then
14663    break
14664  elif $ac_last_try; then
14665    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14666$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14667   { (exit 1); exit 1; }; }
14668  else
14669    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14670  fi
14671done
14672rm -f conf$$subs.sh
14673
14674cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14675cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14676_ACEOF
14677sed -n '
14678h
14679s/^/S["/; s/!.*/"]=/
14680p
14681g
14682s/^[^!]*!//
14683:repl
14684t repl
14685s/'"$ac_delim"'$//
14686t delim
14687:nl
14688h
14689s/\(.\{148\}\).*/\1/
14690t more1
14691s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14692p
14693n
14694b repl
14695:more1
14696s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14697p
14698g
14699s/.\{148\}//
14700t nl
14701:delim
14702h
14703s/\(.\{148\}\).*/\1/
14704t more2
14705s/["\\]/\\&/g; s/^/"/; s/$/"/
14706p
14707b
14708:more2
14709s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14710p
14711g
14712s/.\{148\}//
14713t delim
14714' <conf$$subs.awk | sed '
14715/^[^""]/{
14716  N
14717  s/\n//
14718}
14719' >>$CONFIG_STATUS || ac_write_fail=1
14720rm -f conf$$subs.awk
14721cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14722_ACAWK
14723cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14724  for (key in S) S_is_set[key] = 1
14725  FS = ""
14726
14727}
14728{
14729  line = $ 0
14730  nfields = split(line, field, "@")
14731  substed = 0
14732  len = length(field[1])
14733  for (i = 2; i < nfields; i++) {
14734    key = field[i]
14735    keylen = length(key)
14736    if (S_is_set[key]) {
14737      value = S[key]
14738      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14739      len += length(value) + length(field[++i])
14740      substed = 1
14741    } else
14742      len += 1 + keylen
14743  }
14744
14745  print line
14746}
14747
14748_ACAWK
14749_ACEOF
14750cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14751if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14752  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14753else
14754  cat
14755fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14756  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
14757$as_echo "$as_me: error: could not setup config files machinery" >&2;}
14758   { (exit 1); exit 1; }; }
14759_ACEOF
14760
14761# VPATH may cause trouble with some makes, so we remove $(srcdir),
14762# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14763# trailing colons and then remove the whole line if VPATH becomes empty
14764# (actually we leave an empty line to preserve line numbers).
14765if test "x$srcdir" = x.; then
14766  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
14767s/:*\$(srcdir):*/:/
14768s/:*\${srcdir}:*/:/
14769s/:*@srcdir@:*/:/
14770s/^\([^=]*=[	 ]*\):*/\1/
14771s/:*$//
14772s/^[^=]*=[	 ]*$//
14773}'
14774fi
14775
14776cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14777fi # test -n "$CONFIG_FILES"
14778
14779# Set up the scripts for CONFIG_HEADERS section.
14780# No need to generate them if there are no CONFIG_HEADERS.
14781# This happens for instance with `./config.status Makefile'.
14782if test -n "$CONFIG_HEADERS"; then
14783cat >"$tmp/defines.awk" <<\_ACAWK ||
14784BEGIN {
14785_ACEOF
14786
14787# Transform confdefs.h into an awk script `defines.awk', embedded as
14788# here-document in config.status, that substitutes the proper values into
14789# config.h.in to produce config.h.
14790
14791# Create a delimiter string that does not exist in confdefs.h, to ease
14792# handling of long lines.
14793ac_delim='%!_!# '
14794for ac_last_try in false false :; do
14795  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14796  if test -z "$ac_t"; then
14797    break
14798  elif $ac_last_try; then
14799    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
14800$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
14801   { (exit 1); exit 1; }; }
14802  else
14803    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14804  fi
14805done
14806
14807# For the awk script, D is an array of macro values keyed by name,
14808# likewise P contains macro parameters if any.  Preserve backslash
14809# newline sequences.
14810
14811ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14812sed -n '
14813s/.\{148\}/&'"$ac_delim"'/g
14814t rset
14815:rset
14816s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14817t def
14818d
14819:def
14820s/\\$//
14821t bsnl
14822s/["\\]/\\&/g
14823s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14824D["\1"]=" \3"/p
14825s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14826d
14827:bsnl
14828s/["\\]/\\&/g
14829s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14830D["\1"]=" \3\\\\\\n"\\/p
14831t cont
14832s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14833t cont
14834d
14835:cont
14836n
14837s/.\{148\}/&'"$ac_delim"'/g
14838t clear
14839:clear
14840s/\\$//
14841t bsnlc
14842s/["\\]/\\&/g; s/^/"/; s/$/"/p
14843d
14844:bsnlc
14845s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14846b cont
14847' <confdefs.h | sed '
14848s/'"$ac_delim"'/"\\\
14849"/g' >>$CONFIG_STATUS || ac_write_fail=1
14850
14851cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14852  for (key in D) D_is_set[key] = 1
14853  FS = ""
14854}
14855/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14856  line = \$ 0
14857  split(line, arg, " ")
14858  if (arg[1] == "#") {
14859    defundef = arg[2]
14860    mac1 = arg[3]
14861  } else {
14862    defundef = substr(arg[1], 2)
14863    mac1 = arg[2]
14864  }
14865  split(mac1, mac2, "(") #)
14866  macro = mac2[1]
14867  prefix = substr(line, 1, index(line, defundef) - 1)
14868  if (D_is_set[macro]) {
14869    # Preserve the white space surrounding the "#".
14870    print prefix "define", macro P[macro] D[macro]
14871    next
14872  } else {
14873    # Replace #undef with comments.  This is necessary, for example,
14874    # in the case of _POSIX_SOURCE, which is predefined and required
14875    # on some systems where configure will not decide to define it.
14876    if (defundef == "undef") {
14877      print "/*", prefix defundef, macro, "*/"
14878      next
14879    }
14880  }
14881}
14882{ print }
14883_ACAWK
14884_ACEOF
14885cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14886  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14887$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14888   { (exit 1); exit 1; }; }
14889fi # test -n "$CONFIG_HEADERS"
14890
14891
14892eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14893shift
14894for ac_tag
14895do
14896  case $ac_tag in
14897  :[FHLC]) ac_mode=$ac_tag; continue;;
14898  esac
14899  case $ac_mode$ac_tag in
14900  :[FHL]*:*);;
14901  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14902$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14903   { (exit 1); exit 1; }; };;
14904  :[FH]-) ac_tag=-:-;;
14905  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14906  esac
14907  ac_save_IFS=$IFS
14908  IFS=:
14909  set x $ac_tag
14910  IFS=$ac_save_IFS
14911  shift
14912  ac_file=$1
14913  shift
14914
14915  case $ac_mode in
14916  :L) ac_source=$1;;
14917  :[FH])
14918    ac_file_inputs=
14919    for ac_f
14920    do
14921      case $ac_f in
14922      -) ac_f="$tmp/stdin";;
14923      *) # Look for the file first in the build tree, then in the source tree
14924	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14925	 # because $ac_f cannot contain `:'.
14926	 test -f "$ac_f" ||
14927	   case $ac_f in
14928	   [\\/$]*) false;;
14929	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14930	   esac ||
14931	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14932$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14933   { (exit 1); exit 1; }; };;
14934      esac
14935      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14936      ac_file_inputs="$ac_file_inputs '$ac_f'"
14937    done
14938
14939    # Let's still pretend it is `configure' which instantiates (i.e., don't
14940    # use $as_me), people would be surprised to read:
14941    #    /* config.h.  Generated by config.status.  */
14942    configure_input='Generated from '`
14943	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14944	`' by configure.'
14945    if test x"$ac_file" != x-; then
14946      configure_input="$ac_file.  $configure_input"
14947      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14948$as_echo "$as_me: creating $ac_file" >&6;}
14949    fi
14950    # Neutralize special characters interpreted by sed in replacement strings.
14951    case $configure_input in #(
14952    *\&* | *\|* | *\\* )
14953       ac_sed_conf_input=`$as_echo "$configure_input" |
14954       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14955    *) ac_sed_conf_input=$configure_input;;
14956    esac
14957
14958    case $ac_tag in
14959    *:-:* | *:-) cat >"$tmp/stdin" \
14960      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14961$as_echo "$as_me: error: could not create $ac_file" >&2;}
14962   { (exit 1); exit 1; }; } ;;
14963    esac
14964    ;;
14965  esac
14966
14967  ac_dir=`$as_dirname -- "$ac_file" ||
14968$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14969	 X"$ac_file" : 'X\(//\)[^/]' \| \
14970	 X"$ac_file" : 'X\(//\)$' \| \
14971	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14972$as_echo X"$ac_file" |
14973    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14974	    s//\1/
14975	    q
14976	  }
14977	  /^X\(\/\/\)[^/].*/{
14978	    s//\1/
14979	    q
14980	  }
14981	  /^X\(\/\/\)$/{
14982	    s//\1/
14983	    q
14984	  }
14985	  /^X\(\/\).*/{
14986	    s//\1/
14987	    q
14988	  }
14989	  s/.*/./; q'`
14990  { as_dir="$ac_dir"
14991  case $as_dir in #(
14992  -*) as_dir=./$as_dir;;
14993  esac
14994  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14995    as_dirs=
14996    while :; do
14997      case $as_dir in #(
14998      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14999      *) as_qdir=$as_dir;;
15000      esac
15001      as_dirs="'$as_qdir' $as_dirs"
15002      as_dir=`$as_dirname -- "$as_dir" ||
15003$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15004	 X"$as_dir" : 'X\(//\)[^/]' \| \
15005	 X"$as_dir" : 'X\(//\)$' \| \
15006	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15007$as_echo X"$as_dir" |
15008    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15009	    s//\1/
15010	    q
15011	  }
15012	  /^X\(\/\/\)[^/].*/{
15013	    s//\1/
15014	    q
15015	  }
15016	  /^X\(\/\/\)$/{
15017	    s//\1/
15018	    q
15019	  }
15020	  /^X\(\/\).*/{
15021	    s//\1/
15022	    q
15023	  }
15024	  s/.*/./; q'`
15025      test -d "$as_dir" && break
15026    done
15027    test -z "$as_dirs" || eval "mkdir $as_dirs"
15028  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15029$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15030   { (exit 1); exit 1; }; }; }
15031  ac_builddir=.
15032
15033case "$ac_dir" in
15034.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15035*)
15036  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15037  # A ".." for each directory in $ac_dir_suffix.
15038  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15039  case $ac_top_builddir_sub in
15040  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15041  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15042  esac ;;
15043esac
15044ac_abs_top_builddir=$ac_pwd
15045ac_abs_builddir=$ac_pwd$ac_dir_suffix
15046# for backward compatibility:
15047ac_top_builddir=$ac_top_build_prefix
15048
15049case $srcdir in
15050  .)  # We are building in place.
15051    ac_srcdir=.
15052    ac_top_srcdir=$ac_top_builddir_sub
15053    ac_abs_top_srcdir=$ac_pwd ;;
15054  [\\/]* | ?:[\\/]* )  # Absolute name.
15055    ac_srcdir=$srcdir$ac_dir_suffix;
15056    ac_top_srcdir=$srcdir
15057    ac_abs_top_srcdir=$srcdir ;;
15058  *) # Relative name.
15059    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15060    ac_top_srcdir=$ac_top_build_prefix$srcdir
15061    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15062esac
15063ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15064
15065
15066  case $ac_mode in
15067  :F)
15068  #
15069  # CONFIG_FILE
15070  #
15071
15072  case $INSTALL in
15073  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15074  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15075  esac
15076_ACEOF
15077
15078cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15079# If the template does not know about datarootdir, expand it.
15080# FIXME: This hack should be removed a few years after 2.60.
15081ac_datarootdir_hack=; ac_datarootdir_seen=
15082
15083ac_sed_dataroot='
15084/datarootdir/ {
15085  p
15086  q
15087}
15088/@datadir@/p
15089/@docdir@/p
15090/@infodir@/p
15091/@localedir@/p
15092/@mandir@/p
15093'
15094case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15095*datarootdir*) ac_datarootdir_seen=yes;;
15096*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15097  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15098$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15099_ACEOF
15100cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15101  ac_datarootdir_hack='
15102  s&@datadir@&$datadir&g
15103  s&@docdir@&$docdir&g
15104  s&@infodir@&$infodir&g
15105  s&@localedir@&$localedir&g
15106  s&@mandir@&$mandir&g
15107    s&\\\${datarootdir}&$datarootdir&g' ;;
15108esac
15109_ACEOF
15110
15111# Neutralize VPATH when `$srcdir' = `.'.
15112# Shell code in configure.ac might set extrasub.
15113# FIXME: do we really want to maintain this feature?
15114cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15115ac_sed_extra="$ac_vpsub
15116$extrasub
15117_ACEOF
15118cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15119:t
15120/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15121s|@configure_input@|$ac_sed_conf_input|;t t
15122s&@top_builddir@&$ac_top_builddir_sub&;t t
15123s&@top_build_prefix@&$ac_top_build_prefix&;t t
15124s&@srcdir@&$ac_srcdir&;t t
15125s&@abs_srcdir@&$ac_abs_srcdir&;t t
15126s&@top_srcdir@&$ac_top_srcdir&;t t
15127s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15128s&@builddir@&$ac_builddir&;t t
15129s&@abs_builddir@&$ac_abs_builddir&;t t
15130s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15131s&@INSTALL@&$ac_INSTALL&;t t
15132$ac_datarootdir_hack
15133"
15134eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15135  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15136$as_echo "$as_me: error: could not create $ac_file" >&2;}
15137   { (exit 1); exit 1; }; }
15138
15139test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15140  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15141  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15142  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15143which seems to be undefined.  Please make sure it is defined." >&5
15144$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15145which seems to be undefined.  Please make sure it is defined." >&2;}
15146
15147  rm -f "$tmp/stdin"
15148  case $ac_file in
15149  -) cat "$tmp/out" && rm -f "$tmp/out";;
15150  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15151  esac \
15152  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15153$as_echo "$as_me: error: could not create $ac_file" >&2;}
15154   { (exit 1); exit 1; }; }
15155 ;;
15156  :H)
15157  #
15158  # CONFIG_HEADER
15159  #
15160  if test x"$ac_file" != x-; then
15161    {
15162      $as_echo "/* $configure_input  */" \
15163      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15164    } >"$tmp/config.h" \
15165      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15166$as_echo "$as_me: error: could not create $ac_file" >&2;}
15167   { (exit 1); exit 1; }; }
15168    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15169      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15170$as_echo "$as_me: $ac_file is unchanged" >&6;}
15171    else
15172      rm -f "$ac_file"
15173      mv "$tmp/config.h" "$ac_file" \
15174	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
15175$as_echo "$as_me: error: could not create $ac_file" >&2;}
15176   { (exit 1); exit 1; }; }
15177    fi
15178  else
15179    $as_echo "/* $configure_input  */" \
15180      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15181      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
15182$as_echo "$as_me: error: could not create -" >&2;}
15183   { (exit 1); exit 1; }; }
15184  fi
15185# Compute "$ac_file"'s index in $config_headers.
15186_am_stamp_count=1
15187for _am_header in $config_headers :; do
15188  case $_am_header in
15189    "$ac_file" | "$ac_file":* )
15190      break ;;
15191    * )
15192      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15193  esac
15194done
15195echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
15196$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15197	 X"$ac_file" : 'X\(//\)[^/]' \| \
15198	 X"$ac_file" : 'X\(//\)$' \| \
15199	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15200$as_echo X"$ac_file" |
15201    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15202	    s//\1/
15203	    q
15204	  }
15205	  /^X\(\/\/\)[^/].*/{
15206	    s//\1/
15207	    q
15208	  }
15209	  /^X\(\/\/\)$/{
15210	    s//\1/
15211	    q
15212	  }
15213	  /^X\(\/\).*/{
15214	    s//\1/
15215	    q
15216	  }
15217	  s/.*/./; q'`/stamp-h$_am_stamp_count
15218 ;;
15219
15220  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
15221$as_echo "$as_me: executing $ac_file commands" >&6;}
15222 ;;
15223  esac
15224
15225
15226  case $ac_file$ac_mode in
15227    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
15228  # Strip MF so we end up with the name of the file.
15229  mf=`echo "$mf" | sed -e 's/:.*$//'`
15230  # Check whether this is an Automake generated Makefile or not.
15231  # We used to match only the files named `Makefile.in', but
15232  # some people rename them; so instead we look at the file content.
15233  # Grep'ing the first line is not enough: some people post-process
15234  # each Makefile.in and add a new line on top of each file to say so.
15235  # So let's grep whole file.
15236  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
15237    dirpart=`$as_dirname -- "$mf" ||
15238$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15239	 X"$mf" : 'X\(//\)[^/]' \| \
15240	 X"$mf" : 'X\(//\)$' \| \
15241	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15242$as_echo X"$mf" |
15243    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15244	    s//\1/
15245	    q
15246	  }
15247	  /^X\(\/\/\)[^/].*/{
15248	    s//\1/
15249	    q
15250	  }
15251	  /^X\(\/\/\)$/{
15252	    s//\1/
15253	    q
15254	  }
15255	  /^X\(\/\).*/{
15256	    s//\1/
15257	    q
15258	  }
15259	  s/.*/./; q'`
15260  else
15261    continue
15262  fi
15263  # Extract the definition of DEPDIR, am__include, and am__quote
15264  # from the Makefile without running `make'.
15265  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15266  test -z "$DEPDIR" && continue
15267  am__include=`sed -n 's/^am__include = //p' < "$mf"`
15268  test -z "am__include" && continue
15269  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15270  # When using ansi2knr, U may be empty or an underscore; expand it
15271  U=`sed -n 's/^U = //p' < "$mf"`
15272  # Find all dependency output files, they are included files with
15273  # $(DEPDIR) in their names.  We invoke sed twice because it is the
15274  # simplest approach to changing $(DEPDIR) to its actual value in the
15275  # expansion.
15276  for file in `sed -n "
15277    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15278       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15279    # Make sure the directory exists.
15280    test -f "$dirpart/$file" && continue
15281    fdir=`$as_dirname -- "$file" ||
15282$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15283	 X"$file" : 'X\(//\)[^/]' \| \
15284	 X"$file" : 'X\(//\)$' \| \
15285	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15286$as_echo X"$file" |
15287    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15288	    s//\1/
15289	    q
15290	  }
15291	  /^X\(\/\/\)[^/].*/{
15292	    s//\1/
15293	    q
15294	  }
15295	  /^X\(\/\/\)$/{
15296	    s//\1/
15297	    q
15298	  }
15299	  /^X\(\/\).*/{
15300	    s//\1/
15301	    q
15302	  }
15303	  s/.*/./; q'`
15304    { as_dir=$dirpart/$fdir
15305  case $as_dir in #(
15306  -*) as_dir=./$as_dir;;
15307  esac
15308  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15309    as_dirs=
15310    while :; do
15311      case $as_dir in #(
15312      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15313      *) as_qdir=$as_dir;;
15314      esac
15315      as_dirs="'$as_qdir' $as_dirs"
15316      as_dir=`$as_dirname -- "$as_dir" ||
15317$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15318	 X"$as_dir" : 'X\(//\)[^/]' \| \
15319	 X"$as_dir" : 'X\(//\)$' \| \
15320	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15321$as_echo X"$as_dir" |
15322    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15323	    s//\1/
15324	    q
15325	  }
15326	  /^X\(\/\/\)[^/].*/{
15327	    s//\1/
15328	    q
15329	  }
15330	  /^X\(\/\/\)$/{
15331	    s//\1/
15332	    q
15333	  }
15334	  /^X\(\/\).*/{
15335	    s//\1/
15336	    q
15337	  }
15338	  s/.*/./; q'`
15339      test -d "$as_dir" && break
15340    done
15341    test -z "$as_dirs" || eval "mkdir $as_dirs"
15342  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15343$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15344   { (exit 1); exit 1; }; }; }
15345    # echo "creating $dirpart/$file"
15346    echo '# dummy' > "$dirpart/$file"
15347  done
15348done
15349 ;;
15350    "libtool":C)
15351
15352    # See if we are running on zsh, and set the options which allow our
15353    # commands through without removal of \ escapes.
15354    if test -n "${ZSH_VERSION+set}" ; then
15355      setopt NO_GLOB_SUBST
15356    fi
15357
15358    cfgfile="${ofile}T"
15359    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15360    $RM "$cfgfile"
15361
15362    cat <<_LT_EOF >> "$cfgfile"
15363#! $SHELL
15364
15365# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15366# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15367# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15368# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15369#
15370#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15371#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15372#                 Foundation, Inc.
15373#   Written by Gordon Matzigkeit, 1996
15374#
15375#   This file is part of GNU Libtool.
15376#
15377# GNU Libtool is free software; you can redistribute it and/or
15378# modify it under the terms of the GNU General Public License as
15379# published by the Free Software Foundation; either version 2 of
15380# the License, or (at your option) any later version.
15381#
15382# As a special exception to the GNU General Public License,
15383# if you distribute this file as part of a program or library that
15384# is built using GNU Libtool, you may include this file under the
15385# same distribution terms that you use for the rest of that program.
15386#
15387# GNU Libtool is distributed in the hope that it will be useful,
15388# but WITHOUT ANY WARRANTY; without even the implied warranty of
15389# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15390# GNU General Public License for more details.
15391#
15392# You should have received a copy of the GNU General Public License
15393# along with GNU Libtool; see the file COPYING.  If not, a copy
15394# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15395# obtained by writing to the Free Software Foundation, Inc.,
15396# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15397
15398
15399# The names of the tagged configurations supported by this script.
15400available_tags=""
15401
15402# ### BEGIN LIBTOOL CONFIG
15403
15404# Which release of libtool.m4 was used?
15405macro_version=$macro_version
15406macro_revision=$macro_revision
15407
15408# Whether or not to build shared libraries.
15409build_libtool_libs=$enable_shared
15410
15411# Whether or not to build static libraries.
15412build_old_libs=$enable_static
15413
15414# What type of objects to build.
15415pic_mode=$pic_mode
15416
15417# Whether or not to optimize for fast installation.
15418fast_install=$enable_fast_install
15419
15420# Shell to use when invoking shell scripts.
15421SHELL=$lt_SHELL
15422
15423# An echo program that protects backslashes.
15424ECHO=$lt_ECHO
15425
15426# The PATH separator for the build system.
15427PATH_SEPARATOR=$lt_PATH_SEPARATOR
15428
15429# The host system.
15430host_alias=$host_alias
15431host=$host
15432host_os=$host_os
15433
15434# The build system.
15435build_alias=$build_alias
15436build=$build
15437build_os=$build_os
15438
15439# A sed program that does not truncate output.
15440SED=$lt_SED
15441
15442# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15443Xsed="\$SED -e 1s/^X//"
15444
15445# A grep program that handles long lines.
15446GREP=$lt_GREP
15447
15448# An ERE matcher.
15449EGREP=$lt_EGREP
15450
15451# A literal string matcher.
15452FGREP=$lt_FGREP
15453
15454# A BSD- or MS-compatible name lister.
15455NM=$lt_NM
15456
15457# Whether we need soft or hard links.
15458LN_S=$lt_LN_S
15459
15460# What is the maximum length of a command?
15461max_cmd_len=$max_cmd_len
15462
15463# Object file suffix (normally "o").
15464objext=$ac_objext
15465
15466# Executable file suffix (normally "").
15467exeext=$exeext
15468
15469# whether the shell understands "unset".
15470lt_unset=$lt_unset
15471
15472# turn spaces into newlines.
15473SP2NL=$lt_lt_SP2NL
15474
15475# turn newlines into spaces.
15476NL2SP=$lt_lt_NL2SP
15477
15478# convert \$build file names to \$host format.
15479to_host_file_cmd=$lt_cv_to_host_file_cmd
15480
15481# convert \$build files to toolchain format.
15482to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15483
15484# An object symbol dumper.
15485OBJDUMP=$lt_OBJDUMP
15486
15487# Method to check whether dependent libraries are shared objects.
15488deplibs_check_method=$lt_deplibs_check_method
15489
15490# Command to use when deplibs_check_method = "file_magic".
15491file_magic_cmd=$lt_file_magic_cmd
15492
15493# How to find potential files when deplibs_check_method = "file_magic".
15494file_magic_glob=$lt_file_magic_glob
15495
15496# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15497want_nocaseglob=$lt_want_nocaseglob
15498
15499# DLL creation program.
15500DLLTOOL=$lt_DLLTOOL
15501
15502# Command to associate shared and link libraries.
15503sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15504
15505# The archiver.
15506AR=$lt_AR
15507
15508# Flags to create an archive.
15509AR_FLAGS=$lt_AR_FLAGS
15510
15511# How to feed a file listing to the archiver.
15512archiver_list_spec=$lt_archiver_list_spec
15513
15514# A symbol stripping program.
15515STRIP=$lt_STRIP
15516
15517# Commands used to install an old-style archive.
15518RANLIB=$lt_RANLIB
15519old_postinstall_cmds=$lt_old_postinstall_cmds
15520old_postuninstall_cmds=$lt_old_postuninstall_cmds
15521
15522# Whether to use a lock for old archive extraction.
15523lock_old_archive_extraction=$lock_old_archive_extraction
15524
15525# A C compiler.
15526LTCC=$lt_CC
15527
15528# LTCC compiler flags.
15529LTCFLAGS=$lt_CFLAGS
15530
15531# Take the output of nm and produce a listing of raw symbols and C names.
15532global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15533
15534# Transform the output of nm in a proper C declaration.
15535global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15536
15537# Transform the output of nm in a C name address pair.
15538global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15539
15540# Transform the output of nm in a C name address pair when lib prefix is needed.
15541global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15542
15543# Specify filename containing input files for \$NM.
15544nm_file_list_spec=$lt_nm_file_list_spec
15545
15546# The root where to search for dependent libraries,and in which our libraries should be installed.
15547lt_sysroot=$lt_sysroot
15548
15549# The name of the directory that contains temporary libtool files.
15550objdir=$objdir
15551
15552# Used to examine libraries when file_magic_cmd begins with "file".
15553MAGIC_CMD=$MAGIC_CMD
15554
15555# Must we lock files when doing compilation?
15556need_locks=$lt_need_locks
15557
15558# Manifest tool.
15559MANIFEST_TOOL=$lt_MANIFEST_TOOL
15560
15561# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15562DSYMUTIL=$lt_DSYMUTIL
15563
15564# Tool to change global to local symbols on Mac OS X.
15565NMEDIT=$lt_NMEDIT
15566
15567# Tool to manipulate fat objects and archives on Mac OS X.
15568LIPO=$lt_LIPO
15569
15570# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15571OTOOL=$lt_OTOOL
15572
15573# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15574OTOOL64=$lt_OTOOL64
15575
15576# Old archive suffix (normally "a").
15577libext=$libext
15578
15579# Shared library suffix (normally ".so").
15580shrext_cmds=$lt_shrext_cmds
15581
15582# The commands to extract the exported symbol list from a shared archive.
15583extract_expsyms_cmds=$lt_extract_expsyms_cmds
15584
15585# Variables whose values should be saved in libtool wrapper scripts and
15586# restored at link time.
15587variables_saved_for_relink=$lt_variables_saved_for_relink
15588
15589# Do we need the "lib" prefix for modules?
15590need_lib_prefix=$need_lib_prefix
15591
15592# Do we need a version for libraries?
15593need_version=$need_version
15594
15595# Library versioning type.
15596version_type=$version_type
15597
15598# Shared library runtime path variable.
15599runpath_var=$runpath_var
15600
15601# Shared library path variable.
15602shlibpath_var=$shlibpath_var
15603
15604# Is shlibpath searched before the hard-coded library search path?
15605shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15606
15607# Format of library name prefix.
15608libname_spec=$lt_libname_spec
15609
15610# List of archive names.  First name is the real one, the rest are links.
15611# The last name is the one that the linker finds with -lNAME
15612library_names_spec=$lt_library_names_spec
15613
15614# The coded name of the library, if different from the real name.
15615soname_spec=$lt_soname_spec
15616
15617# Permission mode override for installation of shared libraries.
15618install_override_mode=$lt_install_override_mode
15619
15620# Command to use after installation of a shared archive.
15621postinstall_cmds=$lt_postinstall_cmds
15622
15623# Command to use after uninstallation of a shared archive.
15624postuninstall_cmds=$lt_postuninstall_cmds
15625
15626# Commands used to finish a libtool library installation in a directory.
15627finish_cmds=$lt_finish_cmds
15628
15629# As "finish_cmds", except a single script fragment to be evaled but
15630# not shown.
15631finish_eval=$lt_finish_eval
15632
15633# Whether we should hardcode library paths into libraries.
15634hardcode_into_libs=$hardcode_into_libs
15635
15636# Compile-time system search path for libraries.
15637sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15638
15639# Run-time system search path for libraries.
15640sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15641
15642# Whether dlopen is supported.
15643dlopen_support=$enable_dlopen
15644
15645# Whether dlopen of programs is supported.
15646dlopen_self=$enable_dlopen_self
15647
15648# Whether dlopen of statically linked programs is supported.
15649dlopen_self_static=$enable_dlopen_self_static
15650
15651# Commands to strip libraries.
15652old_striplib=$lt_old_striplib
15653striplib=$lt_striplib
15654
15655
15656# The linker used to build libraries.
15657LD=$lt_LD
15658
15659# How to create reloadable object files.
15660reload_flag=$lt_reload_flag
15661reload_cmds=$lt_reload_cmds
15662
15663# Commands used to build an old-style archive.
15664old_archive_cmds=$lt_old_archive_cmds
15665
15666# A language specific compiler.
15667CC=$lt_compiler
15668
15669# Is the compiler the GNU compiler?
15670with_gcc=$GCC
15671
15672# Compiler flag to turn off builtin functions.
15673no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15674
15675# Additional compiler flags for building library objects.
15676pic_flag=$lt_lt_prog_compiler_pic
15677
15678# How to pass a linker flag through the compiler.
15679wl=$lt_lt_prog_compiler_wl
15680
15681# Compiler flag to prevent dynamic linking.
15682link_static_flag=$lt_lt_prog_compiler_static
15683
15684# Does compiler simultaneously support -c and -o options?
15685compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15686
15687# Whether or not to add -lc for building shared libraries.
15688build_libtool_need_lc=$archive_cmds_need_lc
15689
15690# Whether or not to disallow shared libs when runtime libs are static.
15691allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15692
15693# Compiler flag to allow reflexive dlopens.
15694export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15695
15696# Compiler flag to generate shared objects directly from archives.
15697whole_archive_flag_spec=$lt_whole_archive_flag_spec
15698
15699# Whether the compiler copes with passing no objects directly.
15700compiler_needs_object=$lt_compiler_needs_object
15701
15702# Create an old-style archive from a shared archive.
15703old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15704
15705# Create a temporary old-style archive to link instead of a shared archive.
15706old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15707
15708# Commands used to build a shared archive.
15709archive_cmds=$lt_archive_cmds
15710archive_expsym_cmds=$lt_archive_expsym_cmds
15711
15712# Commands used to build a loadable module if different from building
15713# a shared archive.
15714module_cmds=$lt_module_cmds
15715module_expsym_cmds=$lt_module_expsym_cmds
15716
15717# Whether we are building with GNU ld or not.
15718with_gnu_ld=$lt_with_gnu_ld
15719
15720# Flag that allows shared libraries with undefined symbols to be built.
15721allow_undefined_flag=$lt_allow_undefined_flag
15722
15723# Flag that enforces no undefined symbols.
15724no_undefined_flag=$lt_no_undefined_flag
15725
15726# Flag to hardcode \$libdir into a binary during linking.
15727# This must work even if \$libdir does not exist
15728hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15729
15730# Whether we need a single "-rpath" flag with a separated argument.
15731hardcode_libdir_separator=$lt_hardcode_libdir_separator
15732
15733# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15734# DIR into the resulting binary.
15735hardcode_direct=$hardcode_direct
15736
15737# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15738# DIR into the resulting binary and the resulting library dependency is
15739# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15740# library is relocated.
15741hardcode_direct_absolute=$hardcode_direct_absolute
15742
15743# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15744# into the resulting binary.
15745hardcode_minus_L=$hardcode_minus_L
15746
15747# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15748# into the resulting binary.
15749hardcode_shlibpath_var=$hardcode_shlibpath_var
15750
15751# Set to "yes" if building a shared library automatically hardcodes DIR
15752# into the library and all subsequent libraries and executables linked
15753# against it.
15754hardcode_automatic=$hardcode_automatic
15755
15756# Set to yes if linker adds runtime paths of dependent libraries
15757# to runtime path list.
15758inherit_rpath=$inherit_rpath
15759
15760# Whether libtool must link a program against all its dependency libraries.
15761link_all_deplibs=$link_all_deplibs
15762
15763# Set to "yes" if exported symbols are required.
15764always_export_symbols=$always_export_symbols
15765
15766# The commands to list exported symbols.
15767export_symbols_cmds=$lt_export_symbols_cmds
15768
15769# Symbols that should not be listed in the preloaded symbols.
15770exclude_expsyms=$lt_exclude_expsyms
15771
15772# Symbols that must always be exported.
15773include_expsyms=$lt_include_expsyms
15774
15775# Commands necessary for linking programs (against libraries) with templates.
15776prelink_cmds=$lt_prelink_cmds
15777
15778# Commands necessary for finishing linking programs.
15779postlink_cmds=$lt_postlink_cmds
15780
15781# Specify filename containing input files.
15782file_list_spec=$lt_file_list_spec
15783
15784# How to hardcode a shared library path into an executable.
15785hardcode_action=$hardcode_action
15786
15787# ### END LIBTOOL CONFIG
15788
15789_LT_EOF
15790
15791  case $host_os in
15792  aix3*)
15793    cat <<\_LT_EOF >> "$cfgfile"
15794# AIX sometimes has problems with the GCC collect2 program.  For some
15795# reason, if we set the COLLECT_NAMES environment variable, the problems
15796# vanish in a puff of smoke.
15797if test "X${COLLECT_NAMES+set}" != Xset; then
15798  COLLECT_NAMES=
15799  export COLLECT_NAMES
15800fi
15801_LT_EOF
15802    ;;
15803  esac
15804
15805
15806ltmain="$ac_aux_dir/ltmain.sh"
15807
15808
15809  # We use sed instead of cat because bash on DJGPP gets confused if
15810  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15811  # text mode, it properly converts lines to CR/LF.  This bash problem
15812  # is reportedly fixed, but why not run on old versions too?
15813  sed '$q' "$ltmain" >> "$cfgfile" \
15814     || (rm -f "$cfgfile"; exit 1)
15815
15816  if test x"$xsi_shell" = xyes; then
15817  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15818func_dirname ()\
15819{\
15820\    case ${1} in\
15821\      */*) func_dirname_result="${1%/*}${2}" ;;\
15822\      *  ) func_dirname_result="${3}" ;;\
15823\    esac\
15824} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15825  && mv -f "$cfgfile.tmp" "$cfgfile" \
15826    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15827test 0 -eq $? || _lt_function_replace_fail=:
15828
15829
15830  sed -e '/^func_basename ()$/,/^} # func_basename /c\
15831func_basename ()\
15832{\
15833\    func_basename_result="${1##*/}"\
15834} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15835  && mv -f "$cfgfile.tmp" "$cfgfile" \
15836    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15837test 0 -eq $? || _lt_function_replace_fail=:
15838
15839
15840  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15841func_dirname_and_basename ()\
15842{\
15843\    case ${1} in\
15844\      */*) func_dirname_result="${1%/*}${2}" ;;\
15845\      *  ) func_dirname_result="${3}" ;;\
15846\    esac\
15847\    func_basename_result="${1##*/}"\
15848} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15849  && mv -f "$cfgfile.tmp" "$cfgfile" \
15850    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15851test 0 -eq $? || _lt_function_replace_fail=:
15852
15853
15854  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15855func_stripname ()\
15856{\
15857\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15858\    # positional parameters, so assign one to ordinary parameter first.\
15859\    func_stripname_result=${3}\
15860\    func_stripname_result=${func_stripname_result#"${1}"}\
15861\    func_stripname_result=${func_stripname_result%"${2}"}\
15862} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15863  && mv -f "$cfgfile.tmp" "$cfgfile" \
15864    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15865test 0 -eq $? || _lt_function_replace_fail=:
15866
15867
15868  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15869func_split_long_opt ()\
15870{\
15871\    func_split_long_opt_name=${1%%=*}\
15872\    func_split_long_opt_arg=${1#*=}\
15873} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15874  && mv -f "$cfgfile.tmp" "$cfgfile" \
15875    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15876test 0 -eq $? || _lt_function_replace_fail=:
15877
15878
15879  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15880func_split_short_opt ()\
15881{\
15882\    func_split_short_opt_arg=${1#??}\
15883\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15884} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15885  && mv -f "$cfgfile.tmp" "$cfgfile" \
15886    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15887test 0 -eq $? || _lt_function_replace_fail=:
15888
15889
15890  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15891func_lo2o ()\
15892{\
15893\    case ${1} in\
15894\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15895\      *)    func_lo2o_result=${1} ;;\
15896\    esac\
15897} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15898  && mv -f "$cfgfile.tmp" "$cfgfile" \
15899    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15900test 0 -eq $? || _lt_function_replace_fail=:
15901
15902
15903  sed -e '/^func_xform ()$/,/^} # func_xform /c\
15904func_xform ()\
15905{\
15906    func_xform_result=${1%.*}.lo\
15907} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15908  && mv -f "$cfgfile.tmp" "$cfgfile" \
15909    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15910test 0 -eq $? || _lt_function_replace_fail=:
15911
15912
15913  sed -e '/^func_arith ()$/,/^} # func_arith /c\
15914func_arith ()\
15915{\
15916    func_arith_result=$(( $* ))\
15917} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15918  && mv -f "$cfgfile.tmp" "$cfgfile" \
15919    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15920test 0 -eq $? || _lt_function_replace_fail=:
15921
15922
15923  sed -e '/^func_len ()$/,/^} # func_len /c\
15924func_len ()\
15925{\
15926    func_len_result=${#1}\
15927} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15928  && mv -f "$cfgfile.tmp" "$cfgfile" \
15929    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15930test 0 -eq $? || _lt_function_replace_fail=:
15931
15932fi
15933
15934if test x"$lt_shell_append" = xyes; then
15935  sed -e '/^func_append ()$/,/^} # func_append /c\
15936func_append ()\
15937{\
15938    eval "${1}+=\\${2}"\
15939} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15940  && mv -f "$cfgfile.tmp" "$cfgfile" \
15941    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15942test 0 -eq $? || _lt_function_replace_fail=:
15943
15944
15945  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15946func_append_quoted ()\
15947{\
15948\    func_quote_for_eval "${2}"\
15949\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15950} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15951  && mv -f "$cfgfile.tmp" "$cfgfile" \
15952    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15953test 0 -eq $? || _lt_function_replace_fail=:
15954
15955
15956  # Save a `func_append' function call where possible by direct use of '+='
15957  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15958    && mv -f "$cfgfile.tmp" "$cfgfile" \
15959      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15960  test 0 -eq $? || _lt_function_replace_fail=:
15961else
15962  # Save a `func_append' function call even when '+=' is not available
15963  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15964    && mv -f "$cfgfile.tmp" "$cfgfile" \
15965      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15966  test 0 -eq $? || _lt_function_replace_fail=:
15967fi
15968
15969if test x"$_lt_function_replace_fail" = x":"; then
15970  { $as_echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15971$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15972fi
15973
15974
15975   mv -f "$cfgfile" "$ofile" ||
15976    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15977  chmod +x "$ofile"
15978
15979 ;;
15980
15981  esac
15982done # for ac_tag
15983
15984
15985{ (exit 0); exit 0; }
15986_ACEOF
15987chmod +x $CONFIG_STATUS
15988ac_clean_files=$ac_clean_files_save
15989
15990test $ac_write_fail = 0 ||
15991  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15992$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15993   { (exit 1); exit 1; }; }
15994
15995
15996# configure is writing to config.log, and then calls config.status.
15997# config.status does its own redirection, appending to config.log.
15998# Unfortunately, on DOS this fails, as config.log is still kept open
15999# by configure, so config.status won't be able to write to it; its
16000# output is simply discarded.  So we exec the FD to /dev/null,
16001# effectively closing config.log, so it can be properly (re)opened and
16002# appended to by config.status.  When coming back to configure, we
16003# need to make the FD available again.
16004if test "$no_create" != yes; then
16005  ac_cs_success=:
16006  ac_config_status_args=
16007  test "$silent" = yes &&
16008    ac_config_status_args="$ac_config_status_args --quiet"
16009  exec 5>/dev/null
16010  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16011  exec 5>>config.log
16012  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16013  # would make configure fail if this is the last instruction.
16014  $ac_cs_success || { (exit 1); exit 1; }
16015fi
16016if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16017  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16018$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16019fi
16020
16021
16022# Summary
16023
16024echo ""
16025echo "  unico $PACKAGE_VERSION"
16026echo "  ========================="
16027echo ""
16028echo "  Debug:  ${enable_debug}"
16029echo "  Prefix: ${prefix}"
16030echo ""
16031echo "  Compiler flags: ${CPPFLAGS} ${DEBUG_CFLAGS} ${MAINTAINER_CFLAGS}"
16032echo ""
16033