1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.62.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization.  ##
11## --------------------- ##
12
13# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16  emulate sh
17  NULLCMD=:
18  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19  # is contrary to our usage.  Disable this feature.
20  alias -g '${1+"$@"}'='"$@"'
21  setopt NO_GLOB_SUBST
22else
23  case `(set -o) 2>/dev/null` in
24  *posix*) set -o posix ;;
25esac
26
27fi
28
29
30
31
32# PATH needs CR
33# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40as_nl='
41'
42export as_nl
43# Printing a long string crashes Solaris 7 /usr/bin/printf.
44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81# Support unset when possible.
82if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83  as_unset=unset
84else
85  as_unset=false
86fi
87
88
89# IFS
90# We need space, tab and new line, in precisely that order.  Quoting is
91# there to prevent editors from complaining about space-tab.
92# (If _AS_PATH_WALK were called with IFS unset, it would disable word
93# splitting by setting IFS to empty value.)
94IFS=" ""	$as_nl"
95
96# Find who we are.  Look in the path if we contain no directory separator.
97case $0 in
98  *[\\/]* ) as_myself=$0 ;;
99  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100for as_dir in $PATH
101do
102  IFS=$as_save_IFS
103  test -z "$as_dir" && as_dir=.
104  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105done
106IFS=$as_save_IFS
107
108     ;;
109esac
110# We did not find ourselves, most probably we were run as `sh COMMAND'
111# in which case we are not to be found in the path.
112if test "x$as_myself" = x; then
113  as_myself=$0
114fi
115if test ! -f "$as_myself"; then
116  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117  { (exit 1); exit 1; }
118fi
119
120# Work around bugs in pre-3.0 UWIN ksh.
121for as_var in ENV MAIL MAILPATH
122do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# Required to use basename.
135if expr a : '\(a\)' >/dev/null 2>&1 &&
136   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137  as_expr=expr
138else
139  as_expr=false
140fi
141
142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143  as_basename=basename
144else
145  as_basename=false
146fi
147
148
149# Name of the executable.
150as_me=`$as_basename -- "$0" ||
151$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152	 X"$0" : 'X\(//\)$' \| \
153	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154$as_echo X/"$0" |
155    sed '/^.*\/\([^/][^/]*\)\/*$/{
156	    s//\1/
157	    q
158	  }
159	  /^X\/\(\/\/\)$/{
160	    s//\1/
161	    q
162	  }
163	  /^X\/\(\/\).*/{
164	    s//\1/
165	    q
166	  }
167	  s/.*/./; q'`
168
169# CDPATH.
170$as_unset CDPATH
171
172
173if test "x$CONFIG_SHELL" = x; then
174  if (eval ":") 2>/dev/null; then
175  as_have_required=yes
176else
177  as_have_required=no
178fi
179
180  if test $as_have_required = yes &&	 (eval ":
181(as_func_return () {
182  (exit \$1)
183}
184as_func_success () {
185  as_func_return 0
186}
187as_func_failure () {
188  as_func_return 1
189}
190as_func_ret_success () {
191  return 0
192}
193as_func_ret_failure () {
194  return 1
195}
196
197exitcode=0
198if as_func_success; then
199  :
200else
201  exitcode=1
202  echo as_func_success failed.
203fi
204
205if as_func_failure; then
206  exitcode=1
207  echo as_func_failure succeeded.
208fi
209
210if as_func_ret_success; then
211  :
212else
213  exitcode=1
214  echo as_func_ret_success failed.
215fi
216
217if as_func_ret_failure; then
218  exitcode=1
219  echo as_func_ret_failure succeeded.
220fi
221
222if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223  :
224else
225  exitcode=1
226  echo positional parameters were not saved.
227fi
228
229test \$exitcode = 0) || { (exit 1); exit 1; }
230
231(
232  as_lineno_1=\$LINENO
233  as_lineno_2=\$LINENO
234  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236") 2> /dev/null; then
237  :
238else
239  as_candidate_shells=
240    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242do
243  IFS=$as_save_IFS
244  test -z "$as_dir" && as_dir=.
245  case $as_dir in
246	 /*)
247	   for as_base in sh bash ksh sh5; do
248	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249	   done;;
250       esac
251done
252IFS=$as_save_IFS
253
254
255      for as_shell in $as_candidate_shells $SHELL; do
256	 # Try only shells that exist, to save several forks.
257	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258		{ ("$as_shell") 2> /dev/null <<\_ASEOF
259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260  emulate sh
261  NULLCMD=:
262  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263  # is contrary to our usage.  Disable this feature.
264  alias -g '${1+"$@"}'='"$@"'
265  setopt NO_GLOB_SUBST
266else
267  case `(set -o) 2>/dev/null` in
268  *posix*) set -o posix ;;
269esac
270
271fi
272
273
274:
275_ASEOF
276}; then
277  CONFIG_SHELL=$as_shell
278	       as_have_required=yes
279	       if { "$as_shell" 2> /dev/null <<\_ASEOF
280if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281  emulate sh
282  NULLCMD=:
283  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284  # is contrary to our usage.  Disable this feature.
285  alias -g '${1+"$@"}'='"$@"'
286  setopt NO_GLOB_SUBST
287else
288  case `(set -o) 2>/dev/null` in
289  *posix*) set -o posix ;;
290esac
291
292fi
293
294
295:
296(as_func_return () {
297  (exit $1)
298}
299as_func_success () {
300  as_func_return 0
301}
302as_func_failure () {
303  as_func_return 1
304}
305as_func_ret_success () {
306  return 0
307}
308as_func_ret_failure () {
309  return 1
310}
311
312exitcode=0
313if as_func_success; then
314  :
315else
316  exitcode=1
317  echo as_func_success failed.
318fi
319
320if as_func_failure; then
321  exitcode=1
322  echo as_func_failure succeeded.
323fi
324
325if as_func_ret_success; then
326  :
327else
328  exitcode=1
329  echo as_func_ret_success failed.
330fi
331
332if as_func_ret_failure; then
333  exitcode=1
334  echo as_func_ret_failure succeeded.
335fi
336
337if ( set x; as_func_ret_success y && test x = "$1" ); then
338  :
339else
340  exitcode=1
341  echo positional parameters were not saved.
342fi
343
344test $exitcode = 0) || { (exit 1); exit 1; }
345
346(
347  as_lineno_1=$LINENO
348  as_lineno_2=$LINENO
349  test "x$as_lineno_1" != "x$as_lineno_2" &&
350  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
352_ASEOF
353}; then
354  break
355fi
356
357fi
358
359      done
360
361      if test "x$CONFIG_SHELL" != x; then
362  for as_var in BASH_ENV ENV
363	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364	done
365	export CONFIG_SHELL
366	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367fi
368
369
370    if test $as_have_required = no; then
371  echo This script requires a shell more modern than all the
372      echo shells that I found on your system.  Please install a
373      echo modern shell, or manually run the script under such a
374      echo shell if you do have one.
375      { (exit 1); exit 1; }
376fi
377
378
379fi
380
381fi
382
383
384
385(eval "as_func_return () {
386  (exit \$1)
387}
388as_func_success () {
389  as_func_return 0
390}
391as_func_failure () {
392  as_func_return 1
393}
394as_func_ret_success () {
395  return 0
396}
397as_func_ret_failure () {
398  return 1
399}
400
401exitcode=0
402if as_func_success; then
403  :
404else
405  exitcode=1
406  echo as_func_success failed.
407fi
408
409if as_func_failure; then
410  exitcode=1
411  echo as_func_failure succeeded.
412fi
413
414if as_func_ret_success; then
415  :
416else
417  exitcode=1
418  echo as_func_ret_success failed.
419fi
420
421if as_func_ret_failure; then
422  exitcode=1
423  echo as_func_ret_failure succeeded.
424fi
425
426if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427  :
428else
429  exitcode=1
430  echo positional parameters were not saved.
431fi
432
433test \$exitcode = 0") || {
434  echo No shell found that supports shell functions.
435  echo Please tell bug-autoconf@gnu.org about your system,
436  echo including any error possibly output before this message.
437  echo This can help us improve future autoconf versions.
438  echo Configuration will now proceed without shell functions.
439}
440
441
442
443  as_lineno_1=$LINENO
444  as_lineno_2=$LINENO
445  test "x$as_lineno_1" != "x$as_lineno_2" &&
446  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
448  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449  # uniformly replaced by the line number.  The first 'sed' inserts a
450  # line-number line after each line using $LINENO; the second 'sed'
451  # does the real work.  The second script uses 'N' to pair each
452  # line-number line with the line containing $LINENO, and appends
453  # trailing '-' during substitution so that $LINENO is not a special
454  # case at line end.
455  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457  # E. McMahon (1931-1989) for sed's syntax.  :-)
458  sed -n '
459    p
460    /[$]LINENO/=
461  ' <$as_myself |
462    sed '
463      s/[$]LINENO.*/&-/
464      t lineno
465      b
466      :lineno
467      N
468      :loop
469      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470      t loop
471      s/-\n.*//
472    ' >$as_me.lineno &&
473  chmod +x "$as_me.lineno" ||
474    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475   { (exit 1); exit 1; }; }
476
477  # Don't try to exec as it changes $[0], causing all sort of problems
478  # (the dirname of $[0] is not the place where we might find the
479  # original and so on.  Autoconf is especially sensitive to this).
480  . "./$as_me.lineno"
481  # Exit status is that of the last command.
482  exit
483}
484
485
486if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487  as_dirname=dirname
488else
489  as_dirname=false
490fi
491
492ECHO_C= ECHO_N= ECHO_T=
493case `echo -n x` in
494-n*)
495  case `echo 'x\c'` in
496  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
497  *)   ECHO_C='\c';;
498  esac;;
499*)
500  ECHO_N='-n';;
501esac
502if expr a : '\(a\)' >/dev/null 2>&1 &&
503   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504  as_expr=expr
505else
506  as_expr=false
507fi
508
509rm -f conf$$ conf$$.exe conf$$.file
510if test -d conf$$.dir; then
511  rm -f conf$$.dir/conf$$.file
512else
513  rm -f conf$$.dir
514  mkdir conf$$.dir 2>/dev/null
515fi
516if (echo >conf$$.file) 2>/dev/null; then
517  if ln -s conf$$.file conf$$ 2>/dev/null; then
518    as_ln_s='ln -s'
519    # ... but there are two gotchas:
520    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522    # In both cases, we have to default to `cp -p'.
523    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524      as_ln_s='cp -p'
525  elif ln conf$$.file conf$$ 2>/dev/null; then
526    as_ln_s=ln
527  else
528    as_ln_s='cp -p'
529  fi
530else
531  as_ln_s='cp -p'
532fi
533rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534rmdir conf$$.dir 2>/dev/null
535
536if mkdir -p . 2>/dev/null; then
537  as_mkdir_p=:
538else
539  test -d ./-p && rmdir ./-p
540  as_mkdir_p=false
541fi
542
543if test -x / >/dev/null 2>&1; then
544  as_test_x='test -x'
545else
546  if ls -dL / >/dev/null 2>&1; then
547    as_ls_L_option=L
548  else
549    as_ls_L_option=
550  fi
551  as_test_x='
552    eval sh -c '\''
553      if test -d "$1"; then
554	test -d "$1/.";
555      else
556	case $1 in
557	-*)set "./$1";;
558	esac;
559	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560	???[sx]*):;;*)false;;esac;fi
561    '\'' sh
562  '
563fi
564as_executable_p=$as_test_x
565
566# Sed expression to map a string onto a valid CPP name.
567as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
569# Sed expression to map a string onto a valid variable name.
570as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
572
573
574
575# Check that we are running under the correct shell.
576SHELL=${CONFIG_SHELL-/bin/sh}
577
578case X$ECHO in
579X*--fallback-echo)
580  # Remove one level of quotation (which was required for Make).
581  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
582  ;;
583esac
584
585echo=${ECHO-echo}
586if test "X$1" = X--no-reexec; then
587  # Discard the --no-reexec flag, and continue.
588  shift
589elif test "X$1" = X--fallback-echo; then
590  # Avoid inline document here, it may be left over
591  :
592elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
593  # Yippee, $echo works!
594  :
595else
596  # Restart under the correct shell.
597  exec $SHELL "$0" --no-reexec ${1+"$@"}
598fi
599
600if test "X$1" = X--fallback-echo; then
601  # used as fallback echo
602  shift
603  cat <<EOF
604$*
605EOF
606  exit 0
607fi
608
609# The HP-UX ksh and POSIX shell print the target directory to stdout
610# if CDPATH is set.
611(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
612
613if test -z "$ECHO"; then
614if test "X${echo_test_string+set}" != Xset; then
615# find a string as large as possible, as long as the shell can cope with it
616  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
619       echo_test_string=`eval $cmd` &&
620       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
621    then
622      break
623    fi
624  done
625fi
626
627if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
628   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
629   test "X$echo_testing_string" = "X$echo_test_string"; then
630  :
631else
632  # The Solaris, AIX, and Digital Unix default echo programs unquote
633  # backslashes.  This makes it impossible to quote backslashes using
634  #   echo "$something" | sed 's/\\/\\\\/g'
635  #
636  # So, first we look for a working echo in the user's PATH.
637
638  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
639  for dir in $PATH /usr/ucb; do
640    IFS="$lt_save_ifs"
641    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
642       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
643       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
644       test "X$echo_testing_string" = "X$echo_test_string"; then
645      echo="$dir/echo"
646      break
647    fi
648  done
649  IFS="$lt_save_ifs"
650
651  if test "X$echo" = Xecho; then
652    # We didn't find a better echo, so look for alternatives.
653    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
654       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
655       test "X$echo_testing_string" = "X$echo_test_string"; then
656      # This shell has a builtin print -r that does the trick.
657      echo='print -r'
658    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
659	 test "X$CONFIG_SHELL" != X/bin/ksh; then
660      # If we have ksh, try running configure again with it.
661      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
662      export ORIGINAL_CONFIG_SHELL
663      CONFIG_SHELL=/bin/ksh
664      export CONFIG_SHELL
665      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
666    else
667      # Try using printf.
668      echo='printf %s\n'
669      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
670	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
671	 test "X$echo_testing_string" = "X$echo_test_string"; then
672	# Cool, printf works
673	:
674      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
675	   test "X$echo_testing_string" = 'X\t' &&
676	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
677	   test "X$echo_testing_string" = "X$echo_test_string"; then
678	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
679	export CONFIG_SHELL
680	SHELL="$CONFIG_SHELL"
681	export SHELL
682	echo="$CONFIG_SHELL $0 --fallback-echo"
683      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
684	   test "X$echo_testing_string" = 'X\t' &&
685	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
686	   test "X$echo_testing_string" = "X$echo_test_string"; then
687	echo="$CONFIG_SHELL $0 --fallback-echo"
688      else
689	# maybe with a smaller string...
690	prev=:
691
692	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
693	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
694	  then
695	    break
696	  fi
697	  prev="$cmd"
698	done
699
700	if test "$prev" != 'sed 50q "$0"'; then
701	  echo_test_string=`eval $prev`
702	  export echo_test_string
703	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704	else
705	  # Oops.  We lost completely, so just stick with echo.
706	  echo=echo
707	fi
708      fi
709    fi
710  fi
711fi
712fi
713
714# Copy echo and quote the copy suitably for passing to libtool from
715# the Makefile, instead of quoting the original, which is used later.
716ECHO=$echo
717if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
718   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
719fi
720
721
722
723
724tagnames=${tagnames+${tagnames},}CXX
725
726tagnames=${tagnames+${tagnames},}F77
727
728exec 7<&0 </dev/null 6>&1
729
730# Name of the host.
731# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
732# so uname gets run too.
733ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
734
735#
736# Initializations.
737#
738ac_default_prefix=/usr/local
739ac_clean_files=
740ac_config_libobj_dir=.
741LIBOBJS=
742cross_compiling=no
743subdirs=
744MFLAGS=
745MAKEFLAGS=
746SHELL=${CONFIG_SHELL-/bin/sh}
747
748# Identity of this package.
749PACKAGE_NAME=
750PACKAGE_TARNAME=
751PACKAGE_VERSION=
752PACKAGE_STRING=
753PACKAGE_BUGREPORT=
754
755ac_unique_file="libglade/libglademmconfig.h.in"
756# Factoring default headers for most tests.
757ac_includes_default="\
758#include <stdio.h>
759#ifdef HAVE_SYS_TYPES_H
760# include <sys/types.h>
761#endif
762#ifdef HAVE_SYS_STAT_H
763# include <sys/stat.h>
764#endif
765#ifdef STDC_HEADERS
766# include <stdlib.h>
767# include <stddef.h>
768#else
769# ifdef HAVE_STDLIB_H
770#  include <stdlib.h>
771# endif
772#endif
773#ifdef HAVE_STRING_H
774# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
775#  include <memory.h>
776# endif
777# include <string.h>
778#endif
779#ifdef HAVE_STRINGS_H
780# include <strings.h>
781#endif
782#ifdef HAVE_INTTYPES_H
783# include <inttypes.h>
784#endif
785#ifdef HAVE_STDINT_H
786# include <stdint.h>
787#endif
788#ifdef HAVE_UNISTD_H
789# include <unistd.h>
790#endif"
791
792ac_subst_vars='SHELL
793PATH_SEPARATOR
794PACKAGE_NAME
795PACKAGE_TARNAME
796PACKAGE_VERSION
797PACKAGE_STRING
798PACKAGE_BUGREPORT
799exec_prefix
800prefix
801program_transform_name
802bindir
803sbindir
804libexecdir
805datarootdir
806datadir
807sysconfdir
808sharedstatedir
809localstatedir
810includedir
811oldincludedir
812docdir
813infodir
814htmldir
815dvidir
816pdfdir
817psdir
818libdir
819localedir
820mandir
821DEFS
822ECHO_C
823ECHO_N
824ECHO_T
825LIBS
826build_alias
827host_alias
828target_alias
829LIBGLADEMM_MAJOR_VERSION
830LIBGLADEMM_MINOR_VERSION
831LIBGLADEMM_MICRO_VERSION
832LIBGLADEMM_VERSION
833LIBGLADEMM_RELEASE
834LIBGLADEMM_SO_VERSION
835INSTALL_PROGRAM
836INSTALL_SCRIPT
837INSTALL_DATA
838am__isrc
839CYGPATH_W
840PACKAGE
841VERSION
842ACLOCAL
843AUTOCONF
844AUTOMAKE
845AUTOHEADER
846MAKEINFO
847install_sh
848STRIP
849INSTALL_STRIP_PROGRAM
850MKDIR_P
851mkdir_p
852AWK
853SET_MAKE
854am__leading_dot
855AMTAR
856am__tar
857am__untar
858MAINTAINER_MODE_TRUE
859MAINTAINER_MODE_FALSE
860MAINT
861CC
862CFLAGS
863LDFLAGS
864CPPFLAGS
865ac_ct_CC
866EXEEXT
867OBJEXT
868DEPDIR
869am__include
870am__quote
871AMDEP_TRUE
872AMDEP_FALSE
873AMDEPBACKSLASH
874CCDEPMODE
875am__fastdepCC_TRUE
876am__fastdepCC_FALSE
877CPP
878build
879build_cpu
880build_vendor
881build_os
882host
883host_cpu
884host_vendor
885host_os
886SED
887GREP
888EGREP
889LN_S
890ECHO
891AR
892RANLIB
893DSYMUTIL
894NMEDIT
895DLLTOOL
896AS
897OBJDUMP
898CXX
899CXXFLAGS
900ac_ct_CXX
901CXXDEPMODE
902am__fastdepCXX_TRUE
903am__fastdepCXX_FALSE
904CXXCPP
905F77
906FFLAGS
907ac_ct_F77
908LIBTOOL
909PLATFORM_WIN32_TRUE
910PLATFORM_WIN32_FALSE
911OS_WIN32_TRUE
912OS_WIN32_FALSE
913M4
914PERL_PATH
915LIBGLADE_VERSION_NEEDED
916GTKMM_VERSION_NEEDED
917PKG_CONFIG
918LIBGLADEMM_CFLAGS
919LIBGLADEMM_LIBS
920GMM_PROCDIR
921GMM_PROC
922LIBGLADEMM_DOXYGEN_INPUT
923GTKMMPROC_MERGECDOCS
924LIBGLADEMM_FALSE_TRUE
925LIBGLADEMM_FALSE_FALSE
926LIBOBJS
927LTLIBOBJS'
928ac_subst_files=''
929ac_user_opts='
930enable_option_checking
931enable_maintainer_mode
932enable_dependency_tracking
933enable_static
934enable_shared
935enable_fast_install
936with_gnu_ld
937enable_libtool_lock
938with_pic
939with_tags
940'
941      ac_precious_vars='build_alias
942host_alias
943target_alias
944CC
945CFLAGS
946LDFLAGS
947LIBS
948CPPFLAGS
949CPP
950CXX
951CXXFLAGS
952CCC
953CXXCPP
954F77
955FFLAGS
956PKG_CONFIG
957LIBGLADEMM_CFLAGS
958LIBGLADEMM_LIBS'
959
960
961# Initialize some variables set by options.
962ac_init_help=
963ac_init_version=false
964ac_unrecognized_opts=
965ac_unrecognized_sep=
966# The variables have the same names as the options, with
967# dashes changed to underlines.
968cache_file=/dev/null
969exec_prefix=NONE
970no_create=
971no_recursion=
972prefix=NONE
973program_prefix=NONE
974program_suffix=NONE
975program_transform_name=s,x,x,
976silent=
977site=
978srcdir=
979verbose=
980x_includes=NONE
981x_libraries=NONE
982
983# Installation directory options.
984# These are left unexpanded so users can "make install exec_prefix=/foo"
985# and all the variables that are supposed to be based on exec_prefix
986# by default will actually change.
987# Use braces instead of parens because sh, perl, etc. also accept them.
988# (The list follows the same order as the GNU Coding Standards.)
989bindir='${exec_prefix}/bin'
990sbindir='${exec_prefix}/sbin'
991libexecdir='${exec_prefix}/libexec'
992datarootdir='${prefix}/share'
993datadir='${datarootdir}'
994sysconfdir='${prefix}/etc'
995sharedstatedir='${prefix}/com'
996localstatedir='${prefix}/var'
997includedir='${prefix}/include'
998oldincludedir='/usr/include'
999docdir='${datarootdir}/doc/${PACKAGE}'
1000infodir='${datarootdir}/info'
1001htmldir='${docdir}'
1002dvidir='${docdir}'
1003pdfdir='${docdir}'
1004psdir='${docdir}'
1005libdir='${exec_prefix}/lib'
1006localedir='${datarootdir}/locale'
1007mandir='${datarootdir}/man'
1008
1009ac_prev=
1010ac_dashdash=
1011for ac_option
1012do
1013  # If the previous option needs an argument, assign it.
1014  if test -n "$ac_prev"; then
1015    eval $ac_prev=\$ac_option
1016    ac_prev=
1017    continue
1018  fi
1019
1020  case $ac_option in
1021  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1022  *)	ac_optarg=yes ;;
1023  esac
1024
1025  # Accept the important Cygnus configure options, so we can diagnose typos.
1026
1027  case $ac_dashdash$ac_option in
1028  --)
1029    ac_dashdash=yes ;;
1030
1031  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1032    ac_prev=bindir ;;
1033  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1034    bindir=$ac_optarg ;;
1035
1036  -build | --build | --buil | --bui | --bu)
1037    ac_prev=build_alias ;;
1038  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1039    build_alias=$ac_optarg ;;
1040
1041  -cache-file | --cache-file | --cache-fil | --cache-fi \
1042  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1043    ac_prev=cache_file ;;
1044  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1045  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1046    cache_file=$ac_optarg ;;
1047
1048  --config-cache | -C)
1049    cache_file=config.cache ;;
1050
1051  -datadir | --datadir | --datadi | --datad)
1052    ac_prev=datadir ;;
1053  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1054    datadir=$ac_optarg ;;
1055
1056  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1057  | --dataroo | --dataro | --datar)
1058    ac_prev=datarootdir ;;
1059  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1060  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1061    datarootdir=$ac_optarg ;;
1062
1063  -disable-* | --disable-*)
1064    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1065    # Reject names that are not valid shell variable names.
1066    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1068   { (exit 1); exit 1; }; }
1069    ac_useropt_orig=$ac_useropt
1070    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071    case $ac_user_opts in
1072      *"
1073"enable_$ac_useropt"
1074"*) ;;
1075      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1076	 ac_unrecognized_sep=', ';;
1077    esac
1078    eval enable_$ac_useropt=no ;;
1079
1080  -docdir | --docdir | --docdi | --doc | --do)
1081    ac_prev=docdir ;;
1082  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1083    docdir=$ac_optarg ;;
1084
1085  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1086    ac_prev=dvidir ;;
1087  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1088    dvidir=$ac_optarg ;;
1089
1090  -enable-* | --enable-*)
1091    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1092    # Reject names that are not valid shell variable names.
1093    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1095   { (exit 1); exit 1; }; }
1096    ac_useropt_orig=$ac_useropt
1097    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098    case $ac_user_opts in
1099      *"
1100"enable_$ac_useropt"
1101"*) ;;
1102      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1103	 ac_unrecognized_sep=', ';;
1104    esac
1105    eval enable_$ac_useropt=\$ac_optarg ;;
1106
1107  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1108  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1109  | --exec | --exe | --ex)
1110    ac_prev=exec_prefix ;;
1111  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1112  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1113  | --exec=* | --exe=* | --ex=*)
1114    exec_prefix=$ac_optarg ;;
1115
1116  -gas | --gas | --ga | --g)
1117    # Obsolete; use --with-gas.
1118    with_gas=yes ;;
1119
1120  -help | --help | --hel | --he | -h)
1121    ac_init_help=long ;;
1122  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1123    ac_init_help=recursive ;;
1124  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1125    ac_init_help=short ;;
1126
1127  -host | --host | --hos | --ho)
1128    ac_prev=host_alias ;;
1129  -host=* | --host=* | --hos=* | --ho=*)
1130    host_alias=$ac_optarg ;;
1131
1132  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1133    ac_prev=htmldir ;;
1134  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1135  | --ht=*)
1136    htmldir=$ac_optarg ;;
1137
1138  -includedir | --includedir | --includedi | --included | --include \
1139  | --includ | --inclu | --incl | --inc)
1140    ac_prev=includedir ;;
1141  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1142  | --includ=* | --inclu=* | --incl=* | --inc=*)
1143    includedir=$ac_optarg ;;
1144
1145  -infodir | --infodir | --infodi | --infod | --info | --inf)
1146    ac_prev=infodir ;;
1147  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1148    infodir=$ac_optarg ;;
1149
1150  -libdir | --libdir | --libdi | --libd)
1151    ac_prev=libdir ;;
1152  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1153    libdir=$ac_optarg ;;
1154
1155  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1156  | --libexe | --libex | --libe)
1157    ac_prev=libexecdir ;;
1158  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1159  | --libexe=* | --libex=* | --libe=*)
1160    libexecdir=$ac_optarg ;;
1161
1162  -localedir | --localedir | --localedi | --localed | --locale)
1163    ac_prev=localedir ;;
1164  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1165    localedir=$ac_optarg ;;
1166
1167  -localstatedir | --localstatedir | --localstatedi | --localstated \
1168  | --localstate | --localstat | --localsta | --localst | --locals)
1169    ac_prev=localstatedir ;;
1170  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1171  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1172    localstatedir=$ac_optarg ;;
1173
1174  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1175    ac_prev=mandir ;;
1176  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1177    mandir=$ac_optarg ;;
1178
1179  -nfp | --nfp | --nf)
1180    # Obsolete; use --without-fp.
1181    with_fp=no ;;
1182
1183  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1184  | --no-cr | --no-c | -n)
1185    no_create=yes ;;
1186
1187  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1188  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1189    no_recursion=yes ;;
1190
1191  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1192  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1193  | --oldin | --oldi | --old | --ol | --o)
1194    ac_prev=oldincludedir ;;
1195  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1196  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1197  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1198    oldincludedir=$ac_optarg ;;
1199
1200  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1201    ac_prev=prefix ;;
1202  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1203    prefix=$ac_optarg ;;
1204
1205  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1206  | --program-pre | --program-pr | --program-p)
1207    ac_prev=program_prefix ;;
1208  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1209  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1210    program_prefix=$ac_optarg ;;
1211
1212  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1213  | --program-suf | --program-su | --program-s)
1214    ac_prev=program_suffix ;;
1215  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1216  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1217    program_suffix=$ac_optarg ;;
1218
1219  -program-transform-name | --program-transform-name \
1220  | --program-transform-nam | --program-transform-na \
1221  | --program-transform-n | --program-transform- \
1222  | --program-transform | --program-transfor \
1223  | --program-transfo | --program-transf \
1224  | --program-trans | --program-tran \
1225  | --progr-tra | --program-tr | --program-t)
1226    ac_prev=program_transform_name ;;
1227  -program-transform-name=* | --program-transform-name=* \
1228  | --program-transform-nam=* | --program-transform-na=* \
1229  | --program-transform-n=* | --program-transform-=* \
1230  | --program-transform=* | --program-transfor=* \
1231  | --program-transfo=* | --program-transf=* \
1232  | --program-trans=* | --program-tran=* \
1233  | --progr-tra=* | --program-tr=* | --program-t=*)
1234    program_transform_name=$ac_optarg ;;
1235
1236  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1237    ac_prev=pdfdir ;;
1238  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1239    pdfdir=$ac_optarg ;;
1240
1241  -psdir | --psdir | --psdi | --psd | --ps)
1242    ac_prev=psdir ;;
1243  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1244    psdir=$ac_optarg ;;
1245
1246  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1247  | -silent | --silent | --silen | --sile | --sil)
1248    silent=yes ;;
1249
1250  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1251    ac_prev=sbindir ;;
1252  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1253  | --sbi=* | --sb=*)
1254    sbindir=$ac_optarg ;;
1255
1256  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1257  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1258  | --sharedst | --shareds | --shared | --share | --shar \
1259  | --sha | --sh)
1260    ac_prev=sharedstatedir ;;
1261  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1262  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1263  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1264  | --sha=* | --sh=*)
1265    sharedstatedir=$ac_optarg ;;
1266
1267  -site | --site | --sit)
1268    ac_prev=site ;;
1269  -site=* | --site=* | --sit=*)
1270    site=$ac_optarg ;;
1271
1272  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1273    ac_prev=srcdir ;;
1274  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1275    srcdir=$ac_optarg ;;
1276
1277  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1278  | --syscon | --sysco | --sysc | --sys | --sy)
1279    ac_prev=sysconfdir ;;
1280  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1281  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1282    sysconfdir=$ac_optarg ;;
1283
1284  -target | --target | --targe | --targ | --tar | --ta | --t)
1285    ac_prev=target_alias ;;
1286  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1287    target_alias=$ac_optarg ;;
1288
1289  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1290    verbose=yes ;;
1291
1292  -version | --version | --versio | --versi | --vers | -V)
1293    ac_init_version=: ;;
1294
1295  -with-* | --with-*)
1296    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1297    # Reject names that are not valid shell variable names.
1298    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1299      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1300   { (exit 1); exit 1; }; }
1301    ac_useropt_orig=$ac_useropt
1302    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1303    case $ac_user_opts in
1304      *"
1305"with_$ac_useropt"
1306"*) ;;
1307      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1308	 ac_unrecognized_sep=', ';;
1309    esac
1310    eval with_$ac_useropt=\$ac_optarg ;;
1311
1312  -without-* | --without-*)
1313    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1314    # Reject names that are not valid shell variable names.
1315    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1316      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1317   { (exit 1); exit 1; }; }
1318    ac_useropt_orig=$ac_useropt
1319    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1320    case $ac_user_opts in
1321      *"
1322"with_$ac_useropt"
1323"*) ;;
1324      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1325	 ac_unrecognized_sep=', ';;
1326    esac
1327    eval with_$ac_useropt=no ;;
1328
1329  --x)
1330    # Obsolete; use --with-x.
1331    with_x=yes ;;
1332
1333  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1334  | --x-incl | --x-inc | --x-in | --x-i)
1335    ac_prev=x_includes ;;
1336  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1337  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1338    x_includes=$ac_optarg ;;
1339
1340  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1341  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1342    ac_prev=x_libraries ;;
1343  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1344  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1345    x_libraries=$ac_optarg ;;
1346
1347  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1348Try \`$0 --help' for more information." >&2
1349   { (exit 1); exit 1; }; }
1350    ;;
1351
1352  *=*)
1353    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1354    # Reject names that are not valid shell variable names.
1355    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1356      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1357   { (exit 1); exit 1; }; }
1358    eval $ac_envvar=\$ac_optarg
1359    export $ac_envvar ;;
1360
1361  *)
1362    # FIXME: should be removed in autoconf 3.0.
1363    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1364    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1365      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1366    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1367    ;;
1368
1369  esac
1370done
1371
1372if test -n "$ac_prev"; then
1373  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1374  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1375   { (exit 1); exit 1; }; }
1376fi
1377
1378if test -n "$ac_unrecognized_opts"; then
1379  case $enable_option_checking in
1380    no) ;;
1381    fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1382   { (exit 1); exit 1; }; } ;;
1383    *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1384  esac
1385fi
1386
1387# Check all directory arguments for consistency.
1388for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1389		datadir sysconfdir sharedstatedir localstatedir includedir \
1390		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1391		libdir localedir mandir
1392do
1393  eval ac_val=\$$ac_var
1394  # Remove trailing slashes.
1395  case $ac_val in
1396    */ )
1397      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1398      eval $ac_var=\$ac_val;;
1399  esac
1400  # Be sure to have absolute directory names.
1401  case $ac_val in
1402    [\\/$]* | ?:[\\/]* )  continue;;
1403    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1404  esac
1405  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1406   { (exit 1); exit 1; }; }
1407done
1408
1409# There might be people who depend on the old broken behavior: `$host'
1410# used to hold the argument of --host etc.
1411# FIXME: To remove some day.
1412build=$build_alias
1413host=$host_alias
1414target=$target_alias
1415
1416# FIXME: To remove some day.
1417if test "x$host_alias" != x; then
1418  if test "x$build_alias" = x; then
1419    cross_compiling=maybe
1420    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1421    If a cross compiler is detected then cross compile mode will be used." >&2
1422  elif test "x$build_alias" != "x$host_alias"; then
1423    cross_compiling=yes
1424  fi
1425fi
1426
1427ac_tool_prefix=
1428test -n "$host_alias" && ac_tool_prefix=$host_alias-
1429
1430test "$silent" = yes && exec 6>/dev/null
1431
1432
1433ac_pwd=`pwd` && test -n "$ac_pwd" &&
1434ac_ls_di=`ls -di .` &&
1435ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1436  { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1437   { (exit 1); exit 1; }; }
1438test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1439  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1440   { (exit 1); exit 1; }; }
1441
1442
1443# Find the source files, if location was not specified.
1444if test -z "$srcdir"; then
1445  ac_srcdir_defaulted=yes
1446  # Try the directory containing this script, then the parent directory.
1447  ac_confdir=`$as_dirname -- "$as_myself" ||
1448$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1449	 X"$as_myself" : 'X\(//\)[^/]' \| \
1450	 X"$as_myself" : 'X\(//\)$' \| \
1451	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1452$as_echo X"$as_myself" |
1453    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1454	    s//\1/
1455	    q
1456	  }
1457	  /^X\(\/\/\)[^/].*/{
1458	    s//\1/
1459	    q
1460	  }
1461	  /^X\(\/\/\)$/{
1462	    s//\1/
1463	    q
1464	  }
1465	  /^X\(\/\).*/{
1466	    s//\1/
1467	    q
1468	  }
1469	  s/.*/./; q'`
1470  srcdir=$ac_confdir
1471  if test ! -r "$srcdir/$ac_unique_file"; then
1472    srcdir=..
1473  fi
1474else
1475  ac_srcdir_defaulted=no
1476fi
1477if test ! -r "$srcdir/$ac_unique_file"; then
1478  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1479  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1480   { (exit 1); exit 1; }; }
1481fi
1482ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1483ac_abs_confdir=`(
1484	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1485   { (exit 1); exit 1; }; }
1486	pwd)`
1487# When building in place, set srcdir=.
1488if test "$ac_abs_confdir" = "$ac_pwd"; then
1489  srcdir=.
1490fi
1491# Remove unnecessary trailing slashes from srcdir.
1492# Double slashes in file names in object file debugging info
1493# mess up M-x gdb in Emacs.
1494case $srcdir in
1495*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1496esac
1497for ac_var in $ac_precious_vars; do
1498  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1499  eval ac_env_${ac_var}_value=\$${ac_var}
1500  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1501  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1502done
1503
1504#
1505# Report the --help message.
1506#
1507if test "$ac_init_help" = "long"; then
1508  # Omit some internal or obsolete options to make the list less imposing.
1509  # This message is too long to be a string in the A/UX 3.1 sh.
1510  cat <<_ACEOF
1511\`configure' configures this package to adapt to many kinds of systems.
1512
1513Usage: $0 [OPTION]... [VAR=VALUE]...
1514
1515To assign environment variables (e.g., CC, CFLAGS...), specify them as
1516VAR=VALUE.  See below for descriptions of some of the useful variables.
1517
1518Defaults for the options are specified in brackets.
1519
1520Configuration:
1521  -h, --help              display this help and exit
1522      --help=short        display options specific to this package
1523      --help=recursive    display the short help of all the included packages
1524  -V, --version           display version information and exit
1525  -q, --quiet, --silent   do not print \`checking...' messages
1526      --cache-file=FILE   cache test results in FILE [disabled]
1527  -C, --config-cache      alias for \`--cache-file=config.cache'
1528  -n, --no-create         do not create output files
1529      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1530
1531Installation directories:
1532  --prefix=PREFIX         install architecture-independent files in PREFIX
1533                          [$ac_default_prefix]
1534  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1535                          [PREFIX]
1536
1537By default, \`make install' will install all the files in
1538\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1539an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1540for instance \`--prefix=\$HOME'.
1541
1542For better control, use the options below.
1543
1544Fine tuning of the installation directories:
1545  --bindir=DIR            user executables [EPREFIX/bin]
1546  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1547  --libexecdir=DIR        program executables [EPREFIX/libexec]
1548  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1549  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1550  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1551  --libdir=DIR            object code libraries [EPREFIX/lib]
1552  --includedir=DIR        C header files [PREFIX/include]
1553  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1554  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1555  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1556  --infodir=DIR           info documentation [DATAROOTDIR/info]
1557  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1558  --mandir=DIR            man documentation [DATAROOTDIR/man]
1559  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1560  --htmldir=DIR           html documentation [DOCDIR]
1561  --dvidir=DIR            dvi documentation [DOCDIR]
1562  --pdfdir=DIR            pdf documentation [DOCDIR]
1563  --psdir=DIR             ps documentation [DOCDIR]
1564_ACEOF
1565
1566  cat <<\_ACEOF
1567
1568Program names:
1569  --program-prefix=PREFIX            prepend PREFIX to installed program names
1570  --program-suffix=SUFFIX            append SUFFIX to installed program names
1571  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1572
1573System types:
1574  --build=BUILD     configure for building on BUILD [guessed]
1575  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1576_ACEOF
1577fi
1578
1579if test -n "$ac_init_help"; then
1580
1581  cat <<\_ACEOF
1582
1583Optional Features:
1584  --disable-option-checking  ignore unrecognized --enable/--with options
1585  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1586  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1587  --enable-maintainer-mode  enable make rules and dependencies not useful
1588			  (and sometimes confusing) to the casual installer
1589  --disable-dependency-tracking  speeds up one-time build
1590  --enable-dependency-tracking   do not reject slow dependency extractors
1591  --enable-static[=PKGS]  build static libraries [default=no]
1592  --enable-shared[=PKGS]  build shared libraries [default=yes]
1593  --enable-fast-install[=PKGS]
1594                          optimize for fast installation [default=yes]
1595  --disable-libtool-lock  avoid locking (might break parallel builds)
1596
1597Optional Packages:
1598  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1599  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1600  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1601  --with-pic              try to use only PIC/non-PIC objects [default=use
1602                          both]
1603  --with-tags[=TAGS]      include additional configurations [automatic]
1604
1605Some influential environment variables:
1606  CC          C compiler command
1607  CFLAGS      C compiler flags
1608  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1609              nonstandard directory <lib dir>
1610  LIBS        libraries to pass to the linker, e.g. -l<library>
1611  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1612              you have headers in a nonstandard directory <include dir>
1613  CPP         C preprocessor
1614  CXX         C++ compiler command
1615  CXXFLAGS    C++ compiler flags
1616  CXXCPP      C++ preprocessor
1617  F77         Fortran 77 compiler command
1618  FFLAGS      Fortran 77 compiler flags
1619  PKG_CONFIG  path to pkg-config utility
1620  LIBGLADEMM_CFLAGS
1621              C compiler flags for LIBGLADEMM, overriding pkg-config
1622  LIBGLADEMM_LIBS
1623              linker flags for LIBGLADEMM, overriding pkg-config
1624
1625Use these variables to override the choices made by `configure' or to help
1626it to find libraries and programs with nonstandard names/locations.
1627
1628_ACEOF
1629ac_status=$?
1630fi
1631
1632if test "$ac_init_help" = "recursive"; then
1633  # If there are subdirs, report their specific --help.
1634  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1635    test -d "$ac_dir" ||
1636      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1637      continue
1638    ac_builddir=.
1639
1640case "$ac_dir" in
1641.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642*)
1643  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1644  # A ".." for each directory in $ac_dir_suffix.
1645  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1646  case $ac_top_builddir_sub in
1647  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1648  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1649  esac ;;
1650esac
1651ac_abs_top_builddir=$ac_pwd
1652ac_abs_builddir=$ac_pwd$ac_dir_suffix
1653# for backward compatibility:
1654ac_top_builddir=$ac_top_build_prefix
1655
1656case $srcdir in
1657  .)  # We are building in place.
1658    ac_srcdir=.
1659    ac_top_srcdir=$ac_top_builddir_sub
1660    ac_abs_top_srcdir=$ac_pwd ;;
1661  [\\/]* | ?:[\\/]* )  # Absolute name.
1662    ac_srcdir=$srcdir$ac_dir_suffix;
1663    ac_top_srcdir=$srcdir
1664    ac_abs_top_srcdir=$srcdir ;;
1665  *) # Relative name.
1666    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1667    ac_top_srcdir=$ac_top_build_prefix$srcdir
1668    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1669esac
1670ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1671
1672    cd "$ac_dir" || { ac_status=$?; continue; }
1673    # Check for guested configure.
1674    if test -f "$ac_srcdir/configure.gnu"; then
1675      echo &&
1676      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1677    elif test -f "$ac_srcdir/configure"; then
1678      echo &&
1679      $SHELL "$ac_srcdir/configure" --help=recursive
1680    else
1681      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1682    fi || ac_status=$?
1683    cd "$ac_pwd" || { ac_status=$?; break; }
1684  done
1685fi
1686
1687test -n "$ac_init_help" && exit $ac_status
1688if $ac_init_version; then
1689  cat <<\_ACEOF
1690configure
1691generated by GNU Autoconf 2.62
1692
1693Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
16942002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1695This configure script is free software; the Free Software Foundation
1696gives unlimited permission to copy, distribute and modify it.
1697_ACEOF
1698  exit
1699fi
1700cat >config.log <<_ACEOF
1701This file contains any messages produced by compilers while
1702running configure, to aid debugging if configure makes a mistake.
1703
1704It was created by $as_me, which was
1705generated by GNU Autoconf 2.62.  Invocation command line was
1706
1707  $ $0 $@
1708
1709_ACEOF
1710exec 5>>config.log
1711{
1712cat <<_ASUNAME
1713## --------- ##
1714## Platform. ##
1715## --------- ##
1716
1717hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1718uname -m = `(uname -m) 2>/dev/null || echo unknown`
1719uname -r = `(uname -r) 2>/dev/null || echo unknown`
1720uname -s = `(uname -s) 2>/dev/null || echo unknown`
1721uname -v = `(uname -v) 2>/dev/null || echo unknown`
1722
1723/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1724/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1725
1726/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1727/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1728/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1729/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1730/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1731/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1732/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1733
1734_ASUNAME
1735
1736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1737for as_dir in $PATH
1738do
1739  IFS=$as_save_IFS
1740  test -z "$as_dir" && as_dir=.
1741  $as_echo "PATH: $as_dir"
1742done
1743IFS=$as_save_IFS
1744
1745} >&5
1746
1747cat >&5 <<_ACEOF
1748
1749
1750## ----------- ##
1751## Core tests. ##
1752## ----------- ##
1753
1754_ACEOF
1755
1756
1757# Keep a trace of the command line.
1758# Strip out --no-create and --no-recursion so they do not pile up.
1759# Strip out --silent because we don't want to record it for future runs.
1760# Also quote any args containing shell meta-characters.
1761# Make two passes to allow for proper duplicate-argument suppression.
1762ac_configure_args=
1763ac_configure_args0=
1764ac_configure_args1=
1765ac_must_keep_next=false
1766for ac_pass in 1 2
1767do
1768  for ac_arg
1769  do
1770    case $ac_arg in
1771    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1772    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1773    | -silent | --silent | --silen | --sile | --sil)
1774      continue ;;
1775    *\'*)
1776      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1777    esac
1778    case $ac_pass in
1779    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1780    2)
1781      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1782      if test $ac_must_keep_next = true; then
1783	ac_must_keep_next=false # Got value, back to normal.
1784      else
1785	case $ac_arg in
1786	  *=* | --config-cache | -C | -disable-* | --disable-* \
1787	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1788	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1789	  | -with-* | --with-* | -without-* | --without-* | --x)
1790	    case "$ac_configure_args0 " in
1791	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1792	    esac
1793	    ;;
1794	  -* ) ac_must_keep_next=true ;;
1795	esac
1796      fi
1797      ac_configure_args="$ac_configure_args '$ac_arg'"
1798      ;;
1799    esac
1800  done
1801done
1802$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1803$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1804
1805# When interrupted or exit'd, cleanup temporary files, and complete
1806# config.log.  We remove comments because anyway the quotes in there
1807# would cause problems or look ugly.
1808# WARNING: Use '\'' to represent an apostrophe within the trap.
1809# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1810trap 'exit_status=$?
1811  # Save into config.log some information that might help in debugging.
1812  {
1813    echo
1814
1815    cat <<\_ASBOX
1816## ---------------- ##
1817## Cache variables. ##
1818## ---------------- ##
1819_ASBOX
1820    echo
1821    # The following way of writing the cache mishandles newlines in values,
1822(
1823  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1824    eval ac_val=\$$ac_var
1825    case $ac_val in #(
1826    *${as_nl}*)
1827      case $ac_var in #(
1828      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1829$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1830      esac
1831      case $ac_var in #(
1832      _ | IFS | as_nl) ;; #(
1833      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1834      *) $as_unset $ac_var ;;
1835      esac ;;
1836    esac
1837  done
1838  (set) 2>&1 |
1839    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1840    *${as_nl}ac_space=\ *)
1841      sed -n \
1842	"s/'\''/'\''\\\\'\'''\''/g;
1843	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1844      ;; #(
1845    *)
1846      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1847      ;;
1848    esac |
1849    sort
1850)
1851    echo
1852
1853    cat <<\_ASBOX
1854## ----------------- ##
1855## Output variables. ##
1856## ----------------- ##
1857_ASBOX
1858    echo
1859    for ac_var in $ac_subst_vars
1860    do
1861      eval ac_val=\$$ac_var
1862      case $ac_val in
1863      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1864      esac
1865      $as_echo "$ac_var='\''$ac_val'\''"
1866    done | sort
1867    echo
1868
1869    if test -n "$ac_subst_files"; then
1870      cat <<\_ASBOX
1871## ------------------- ##
1872## File substitutions. ##
1873## ------------------- ##
1874_ASBOX
1875      echo
1876      for ac_var in $ac_subst_files
1877      do
1878	eval ac_val=\$$ac_var
1879	case $ac_val in
1880	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1881	esac
1882	$as_echo "$ac_var='\''$ac_val'\''"
1883      done | sort
1884      echo
1885    fi
1886
1887    if test -s confdefs.h; then
1888      cat <<\_ASBOX
1889## ----------- ##
1890## confdefs.h. ##
1891## ----------- ##
1892_ASBOX
1893      echo
1894      cat confdefs.h
1895      echo
1896    fi
1897    test "$ac_signal" != 0 &&
1898      $as_echo "$as_me: caught signal $ac_signal"
1899    $as_echo "$as_me: exit $exit_status"
1900  } >&5
1901  rm -f core *.core core.conftest.* &&
1902    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1903    exit $exit_status
1904' 0
1905for ac_signal in 1 2 13 15; do
1906  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1907done
1908ac_signal=0
1909
1910# confdefs.h avoids OS command line length limits that DEFS can exceed.
1911rm -f -r conftest* confdefs.h
1912
1913# Predefined preprocessor variables.
1914
1915cat >>confdefs.h <<_ACEOF
1916#define PACKAGE_NAME "$PACKAGE_NAME"
1917_ACEOF
1918
1919
1920cat >>confdefs.h <<_ACEOF
1921#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1922_ACEOF
1923
1924
1925cat >>confdefs.h <<_ACEOF
1926#define PACKAGE_VERSION "$PACKAGE_VERSION"
1927_ACEOF
1928
1929
1930cat >>confdefs.h <<_ACEOF
1931#define PACKAGE_STRING "$PACKAGE_STRING"
1932_ACEOF
1933
1934
1935cat >>confdefs.h <<_ACEOF
1936#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1937_ACEOF
1938
1939
1940# Let the site file select an alternate cache file if it wants to.
1941# Prefer an explicitly selected file to automatically selected ones.
1942ac_site_file1=NONE
1943ac_site_file2=NONE
1944if test -n "$CONFIG_SITE"; then
1945  ac_site_file1=$CONFIG_SITE
1946elif test "x$prefix" != xNONE; then
1947  ac_site_file1=$prefix/share/config.site
1948  ac_site_file2=$prefix/etc/config.site
1949else
1950  ac_site_file1=$ac_default_prefix/share/config.site
1951  ac_site_file2=$ac_default_prefix/etc/config.site
1952fi
1953for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1954do
1955  test "x$ac_site_file" = xNONE && continue
1956  if test -r "$ac_site_file"; then
1957    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1958$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1959    sed 's/^/| /' "$ac_site_file" >&5
1960    . "$ac_site_file"
1961  fi
1962done
1963
1964if test -r "$cache_file"; then
1965  # Some versions of bash will fail to source /dev/null (special
1966  # files actually), so we avoid doing that.
1967  if test -f "$cache_file"; then
1968    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1969$as_echo "$as_me: loading cache $cache_file" >&6;}
1970    case $cache_file in
1971      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1972      *)                      . "./$cache_file";;
1973    esac
1974  fi
1975else
1976  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1977$as_echo "$as_me: creating cache $cache_file" >&6;}
1978  >$cache_file
1979fi
1980
1981# Check that the precious variables saved in the cache have kept the same
1982# value.
1983ac_cache_corrupted=false
1984for ac_var in $ac_precious_vars; do
1985  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1986  eval ac_new_set=\$ac_env_${ac_var}_set
1987  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1988  eval ac_new_val=\$ac_env_${ac_var}_value
1989  case $ac_old_set,$ac_new_set in
1990    set,)
1991      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1992$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1993      ac_cache_corrupted=: ;;
1994    ,set)
1995      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1996$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1997      ac_cache_corrupted=: ;;
1998    ,);;
1999    *)
2000      if test "x$ac_old_val" != "x$ac_new_val"; then
2001	# differences in whitespace do not lead to failure.
2002	ac_old_val_w=`echo x $ac_old_val`
2003	ac_new_val_w=`echo x $ac_new_val`
2004	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2005	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2006$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2007	  ac_cache_corrupted=:
2008	else
2009	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2010$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2011	  eval $ac_var=\$ac_old_val
2012	fi
2013	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2014$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2015	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2016$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2017      fi;;
2018  esac
2019  # Pass precious variables to config.status.
2020  if test "$ac_new_set" = set; then
2021    case $ac_new_val in
2022    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2023    *) ac_arg=$ac_var=$ac_new_val ;;
2024    esac
2025    case " $ac_configure_args " in
2026      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2027      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2028    esac
2029  fi
2030done
2031if $ac_cache_corrupted; then
2032  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2033$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2034  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2035$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2036   { (exit 1); exit 1; }; }
2037fi
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055ac_ext=c
2056ac_cpp='$CPP $CPPFLAGS'
2057ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2058ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2059ac_compiler_gnu=$ac_cv_c_compiler_gnu
2060
2061
2062
2063#########################################################################
2064#  Version and initialization
2065#########################################################################
2066LIBGLADEMM_MAJOR_VERSION=2
2067LIBGLADEMM_MINOR_VERSION=6
2068LIBGLADEMM_MICRO_VERSION=7
2069
2070#
2071# +1 : ? : +1  == new interface that does not break old one
2072# +1 : ? : 0   == new interface that breaks old one
2073#  ? : ? : 0   == no new interfaces, but breaks apps
2074#  ? :+1 : ?   == just some internal changes, nothing breaks but might work
2075#                 better
2076# CURRENT : REVISION : AGE
2077LIBGLADEMM_SO_VERSION=1:5:0
2078
2079LIBGLADEMM_VERSION=$LIBGLADEMM_MAJOR_VERSION.$LIBGLADEMM_MINOR_VERSION.$LIBGLADEMM_MICRO_VERSION
2080LIBGLADEMM_RELEASE=$LIBGLADEMM_MAJOR_VERSION.$LIBGLADEMM_MINOR_VERSION
2081cat >>confdefs.h <<_ACEOF
2082#define LIBGLADEMM_MAJOR_VERSION $LIBGLADEMM_MAJOR_VERSION
2083_ACEOF
2084
2085cat >>confdefs.h <<_ACEOF
2086#define LIBGLADEMM_MINOR_VERSION $LIBGLADEMM_MINOR_VERSION
2087_ACEOF
2088
2089cat >>confdefs.h <<_ACEOF
2090#define LIBGLADEMM_MICRO_VERSION $LIBGLADEMM_MICRO_VERSION
2091_ACEOF
2092
2093cat >>confdefs.h <<_ACEOF
2094#define LIBGLADEMM_VERSION "$LIBGLADEMM_VERSION"
2095_ACEOF
2096
2097
2098
2099
2100
2101
2102
2103
2104ac_aux_dir=
2105for ac_dir in scripts "$srcdir"/scripts; do
2106  if test -f "$ac_dir/install-sh"; then
2107    ac_aux_dir=$ac_dir
2108    ac_install_sh="$ac_aux_dir/install-sh -c"
2109    break
2110  elif test -f "$ac_dir/install.sh"; then
2111    ac_aux_dir=$ac_dir
2112    ac_install_sh="$ac_aux_dir/install.sh -c"
2113    break
2114  elif test -f "$ac_dir/shtool"; then
2115    ac_aux_dir=$ac_dir
2116    ac_install_sh="$ac_aux_dir/shtool install -c"
2117    break
2118  fi
2119done
2120if test -z "$ac_aux_dir"; then
2121  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2122$as_echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2123   { (exit 1); exit 1; }; }
2124fi
2125
2126# These three variables are undocumented and unsupported,
2127# and are intended to be withdrawn in a future Autoconf release.
2128# They can cause serious problems if a builder's source tree is in a directory
2129# whose full name contains unusual characters.
2130ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2131ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2132ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2133
2134
2135
2136VERSION=$LIBGLADEMM_VERSION
2137PACKAGE=libglademm
2138
2139am__api_version='1.10'
2140
2141# Find a good install program.  We prefer a C program (faster),
2142# so one script is as good as another.  But avoid the broken or
2143# incompatible versions:
2144# SysV /etc/install, /usr/sbin/install
2145# SunOS /usr/etc/install
2146# IRIX /sbin/install
2147# AIX /bin/install
2148# AmigaOS /C/install, which installs bootblocks on floppy discs
2149# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2150# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2151# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2152# OS/2's system install, which has a completely different semantic
2153# ./install, which can be erroneously created by make from ./install.sh.
2154# Reject install programs that cannot install multiple files.
2155{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2156$as_echo_n "checking for a BSD-compatible install... " >&6; }
2157if test -z "$INSTALL"; then
2158if test "${ac_cv_path_install+set}" = set; then
2159  $as_echo_n "(cached) " >&6
2160else
2161  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162for as_dir in $PATH
2163do
2164  IFS=$as_save_IFS
2165  test -z "$as_dir" && as_dir=.
2166  # Account for people who put trailing slashes in PATH elements.
2167case $as_dir/ in
2168  ./ | .// | /cC/* | \
2169  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2170  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2171  /usr/ucb/* ) ;;
2172  *)
2173    # OSF1 and SCO ODT 3.0 have their own names for install.
2174    # Don't use installbsd from OSF since it installs stuff as root
2175    # by default.
2176    for ac_prog in ginstall scoinst install; do
2177      for ac_exec_ext in '' $ac_executable_extensions; do
2178	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2179	  if test $ac_prog = install &&
2180	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2181	    # AIX install.  It has an incompatible calling convention.
2182	    :
2183	  elif test $ac_prog = install &&
2184	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2185	    # program-specific install script used by HP pwplus--don't use.
2186	    :
2187	  else
2188	    rm -rf conftest.one conftest.two conftest.dir
2189	    echo one > conftest.one
2190	    echo two > conftest.two
2191	    mkdir conftest.dir
2192	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2193	      test -s conftest.one && test -s conftest.two &&
2194	      test -s conftest.dir/conftest.one &&
2195	      test -s conftest.dir/conftest.two
2196	    then
2197	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2198	      break 3
2199	    fi
2200	  fi
2201	fi
2202      done
2203    done
2204    ;;
2205esac
2206
2207done
2208IFS=$as_save_IFS
2209
2210rm -rf conftest.one conftest.two conftest.dir
2211
2212fi
2213  if test "${ac_cv_path_install+set}" = set; then
2214    INSTALL=$ac_cv_path_install
2215  else
2216    # As a last resort, use the slow shell script.  Don't cache a
2217    # value for INSTALL within a source directory, because that will
2218    # break other packages using the cache if that directory is
2219    # removed, or if the value is a relative name.
2220    INSTALL=$ac_install_sh
2221  fi
2222fi
2223{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2224$as_echo "$INSTALL" >&6; }
2225
2226# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2227# It thinks the first close brace ends the variable substitution.
2228test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2229
2230test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2231
2232test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2233
2234{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2235$as_echo_n "checking whether build environment is sane... " >&6; }
2236# Just in case
2237sleep 1
2238echo timestamp > conftest.file
2239# Do `set' in a subshell so we don't clobber the current shell's
2240# arguments.  Must try -L first in case configure is actually a
2241# symlink; some systems play weird games with the mod time of symlinks
2242# (eg FreeBSD returns the mod time of the symlink's containing
2243# directory).
2244if (
2245   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2246   if test "$*" = "X"; then
2247      # -L didn't work.
2248      set X `ls -t $srcdir/configure conftest.file`
2249   fi
2250   rm -f conftest.file
2251   if test "$*" != "X $srcdir/configure conftest.file" \
2252      && test "$*" != "X conftest.file $srcdir/configure"; then
2253
2254      # If neither matched, then we have a broken ls.  This can happen
2255      # if, for instance, CONFIG_SHELL is bash and it inherits a
2256      # broken ls alias from the environment.  This has actually
2257      # happened.  Such a system could not be considered "sane".
2258      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2259alias in your environment" >&5
2260$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2261alias in your environment" >&2;}
2262   { (exit 1); exit 1; }; }
2263   fi
2264
2265   test "$2" = conftest.file
2266   )
2267then
2268   # Ok.
2269   :
2270else
2271   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2272Check your system clock" >&5
2273$as_echo "$as_me: error: newly created file is older than distributed files!
2274Check your system clock" >&2;}
2275   { (exit 1); exit 1; }; }
2276fi
2277{ $as_echo "$as_me:$LINENO: result: yes" >&5
2278$as_echo "yes" >&6; }
2279test "$program_prefix" != NONE &&
2280  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2281# Use a double $ so make ignores it.
2282test "$program_suffix" != NONE &&
2283  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2284# Double any \ or $.
2285# By default was `s,x,x', remove it if useless.
2286ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2287program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2288
2289# expand $ac_aux_dir to an absolute path
2290am_aux_dir=`cd $ac_aux_dir && pwd`
2291
2292test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2293# Use eval to expand $SHELL
2294if eval "$MISSING --run true"; then
2295  am_missing_run="$MISSING --run "
2296else
2297  am_missing_run=
2298  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2299$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2300fi
2301
2302{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2303$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2304if test -z "$MKDIR_P"; then
2305  if test "${ac_cv_path_mkdir+set}" = set; then
2306  $as_echo_n "(cached) " >&6
2307else
2308  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2310do
2311  IFS=$as_save_IFS
2312  test -z "$as_dir" && as_dir=.
2313  for ac_prog in mkdir gmkdir; do
2314	 for ac_exec_ext in '' $ac_executable_extensions; do
2315	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2316	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2317	     'mkdir (GNU coreutils) '* | \
2318	     'mkdir (coreutils) '* | \
2319	     'mkdir (fileutils) '4.1*)
2320	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2321	       break 3;;
2322	   esac
2323	 done
2324       done
2325done
2326IFS=$as_save_IFS
2327
2328fi
2329
2330  if test "${ac_cv_path_mkdir+set}" = set; then
2331    MKDIR_P="$ac_cv_path_mkdir -p"
2332  else
2333    # As a last resort, use the slow shell script.  Don't cache a
2334    # value for MKDIR_P within a source directory, because that will
2335    # break other packages using the cache if that directory is
2336    # removed, or if the value is a relative name.
2337    test -d ./--version && rmdir ./--version
2338    MKDIR_P="$ac_install_sh -d"
2339  fi
2340fi
2341{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2342$as_echo "$MKDIR_P" >&6; }
2343
2344mkdir_p="$MKDIR_P"
2345case $mkdir_p in
2346  [\\/$]* | ?:[\\/]*) ;;
2347  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2348esac
2349
2350for ac_prog in gawk mawk nawk awk
2351do
2352  # Extract the first word of "$ac_prog", so it can be a program name with args.
2353set dummy $ac_prog; ac_word=$2
2354{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2355$as_echo_n "checking for $ac_word... " >&6; }
2356if test "${ac_cv_prog_AWK+set}" = set; then
2357  $as_echo_n "(cached) " >&6
2358else
2359  if test -n "$AWK"; then
2360  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2361else
2362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363for as_dir in $PATH
2364do
2365  IFS=$as_save_IFS
2366  test -z "$as_dir" && as_dir=.
2367  for ac_exec_ext in '' $ac_executable_extensions; do
2368  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369    ac_cv_prog_AWK="$ac_prog"
2370    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2371    break 2
2372  fi
2373done
2374done
2375IFS=$as_save_IFS
2376
2377fi
2378fi
2379AWK=$ac_cv_prog_AWK
2380if test -n "$AWK"; then
2381  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2382$as_echo "$AWK" >&6; }
2383else
2384  { $as_echo "$as_me:$LINENO: result: no" >&5
2385$as_echo "no" >&6; }
2386fi
2387
2388
2389  test -n "$AWK" && break
2390done
2391
2392{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2393$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2394set x ${MAKE-make}
2395ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2396if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2397  $as_echo_n "(cached) " >&6
2398else
2399  cat >conftest.make <<\_ACEOF
2400SHELL = /bin/sh
2401all:
2402	@echo '@@@%%%=$(MAKE)=@@@%%%'
2403_ACEOF
2404# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2405case `${MAKE-make} -f conftest.make 2>/dev/null` in
2406  *@@@%%%=?*=@@@%%%*)
2407    eval ac_cv_prog_make_${ac_make}_set=yes;;
2408  *)
2409    eval ac_cv_prog_make_${ac_make}_set=no;;
2410esac
2411rm -f conftest.make
2412fi
2413if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2414  { $as_echo "$as_me:$LINENO: result: yes" >&5
2415$as_echo "yes" >&6; }
2416  SET_MAKE=
2417else
2418  { $as_echo "$as_me:$LINENO: result: no" >&5
2419$as_echo "no" >&6; }
2420  SET_MAKE="MAKE=${MAKE-make}"
2421fi
2422
2423rm -rf .tst 2>/dev/null
2424mkdir .tst 2>/dev/null
2425if test -d .tst; then
2426  am__leading_dot=.
2427else
2428  am__leading_dot=_
2429fi
2430rmdir .tst 2>/dev/null
2431
2432if test "`cd $srcdir && pwd`" != "`pwd`"; then
2433  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2434  # is not polluted with repeated "-I."
2435  am__isrc=' -I$(srcdir)'
2436  # test to see if srcdir already configured
2437  if test -f $srcdir/config.status; then
2438    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2439$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2440   { (exit 1); exit 1; }; }
2441  fi
2442fi
2443
2444# test whether we have cygpath
2445if test -z "$CYGPATH_W"; then
2446  if (cygpath --version) >/dev/null 2>/dev/null; then
2447    CYGPATH_W='cygpath -w'
2448  else
2449    CYGPATH_W=echo
2450  fi
2451fi
2452
2453
2454# Define the identity of the package.
2455 PACKAGE=$PACKAGE
2456 VERSION=$VERSION
2457
2458
2459cat >>confdefs.h <<_ACEOF
2460#define PACKAGE "$PACKAGE"
2461_ACEOF
2462
2463
2464cat >>confdefs.h <<_ACEOF
2465#define VERSION "$VERSION"
2466_ACEOF
2467
2468# Some tools Automake needs.
2469
2470ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2471
2472
2473AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2474
2475
2476AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2477
2478
2479AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2480
2481
2482MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2483
2484install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2485
2486# Installed binaries are usually stripped using `strip' when the user
2487# run `make install-strip'.  However `strip' might not be the right
2488# tool to use in cross-compilation environments, therefore Automake
2489# will honor the `STRIP' environment variable to overrule this program.
2490if test "$cross_compiling" != no; then
2491  if test -n "$ac_tool_prefix"; then
2492  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2493set dummy ${ac_tool_prefix}strip; ac_word=$2
2494{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2495$as_echo_n "checking for $ac_word... " >&6; }
2496if test "${ac_cv_prog_STRIP+set}" = set; then
2497  $as_echo_n "(cached) " >&6
2498else
2499  if test -n "$STRIP"; then
2500  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2501else
2502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503for as_dir in $PATH
2504do
2505  IFS=$as_save_IFS
2506  test -z "$as_dir" && as_dir=.
2507  for ac_exec_ext in '' $ac_executable_extensions; do
2508  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2509    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2510    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2511    break 2
2512  fi
2513done
2514done
2515IFS=$as_save_IFS
2516
2517fi
2518fi
2519STRIP=$ac_cv_prog_STRIP
2520if test -n "$STRIP"; then
2521  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2522$as_echo "$STRIP" >&6; }
2523else
2524  { $as_echo "$as_me:$LINENO: result: no" >&5
2525$as_echo "no" >&6; }
2526fi
2527
2528
2529fi
2530if test -z "$ac_cv_prog_STRIP"; then
2531  ac_ct_STRIP=$STRIP
2532  # Extract the first word of "strip", so it can be a program name with args.
2533set dummy strip; ac_word=$2
2534{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2535$as_echo_n "checking for $ac_word... " >&6; }
2536if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2537  $as_echo_n "(cached) " >&6
2538else
2539  if test -n "$ac_ct_STRIP"; then
2540  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2541else
2542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543for as_dir in $PATH
2544do
2545  IFS=$as_save_IFS
2546  test -z "$as_dir" && as_dir=.
2547  for ac_exec_ext in '' $ac_executable_extensions; do
2548  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549    ac_cv_prog_ac_ct_STRIP="strip"
2550    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2551    break 2
2552  fi
2553done
2554done
2555IFS=$as_save_IFS
2556
2557fi
2558fi
2559ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2560if test -n "$ac_ct_STRIP"; then
2561  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2562$as_echo "$ac_ct_STRIP" >&6; }
2563else
2564  { $as_echo "$as_me:$LINENO: result: no" >&5
2565$as_echo "no" >&6; }
2566fi
2567
2568  if test "x$ac_ct_STRIP" = x; then
2569    STRIP=":"
2570  else
2571    case $cross_compiling:$ac_tool_warned in
2572yes:)
2573{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2574whose name does not start with the host triplet.  If you think this
2575configuration is useful to you, please write to autoconf@gnu.org." >&5
2576$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2577whose name does not start with the host triplet.  If you think this
2578configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2579ac_tool_warned=yes ;;
2580esac
2581    STRIP=$ac_ct_STRIP
2582  fi
2583else
2584  STRIP="$ac_cv_prog_STRIP"
2585fi
2586
2587fi
2588INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2589
2590# We need awk for the "check" target.  The system "awk" is bad on
2591# some platforms.
2592# Always define AMTAR for backward compatibility.
2593
2594AMTAR=${AMTAR-"${am_missing_run}tar"}
2595
2596am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2597
2598
2599
2600
2601
2602
2603ac_config_headers="$ac_config_headers libglade/libglademmconfig.h"
2604
2605{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2606$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2607    # Check whether --enable-maintainer-mode was given.
2608if test "${enable_maintainer_mode+set}" = set; then
2609  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2610else
2611  USE_MAINTAINER_MODE=no
2612fi
2613
2614  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2615$as_echo "$USE_MAINTAINER_MODE" >&6; }
2616   if test $USE_MAINTAINER_MODE = yes; then
2617  MAINTAINER_MODE_TRUE=
2618  MAINTAINER_MODE_FALSE='#'
2619else
2620  MAINTAINER_MODE_TRUE='#'
2621  MAINTAINER_MODE_FALSE=
2622fi
2623
2624  MAINT=$MAINTAINER_MODE_TRUE
2625
2626
2627
2628        test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
2629        for k in scripts ; do ACLOCAL="$ACLOCAL -I $k" ; done
2630
2631
2632
2633#########################################################################
2634#  Configure arguments
2635#########################################################################
2636
2637#########################################################################
2638#  Environment Checks
2639#########################################################################
2640ac_ext=c
2641ac_cpp='$CPP $CPPFLAGS'
2642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2644ac_compiler_gnu=$ac_cv_c_compiler_gnu
2645if test -n "$ac_tool_prefix"; then
2646  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2647set dummy ${ac_tool_prefix}gcc; ac_word=$2
2648{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2649$as_echo_n "checking for $ac_word... " >&6; }
2650if test "${ac_cv_prog_CC+set}" = set; then
2651  $as_echo_n "(cached) " >&6
2652else
2653  if test -n "$CC"; then
2654  ac_cv_prog_CC="$CC" # Let the user override the test.
2655else
2656as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657for as_dir in $PATH
2658do
2659  IFS=$as_save_IFS
2660  test -z "$as_dir" && as_dir=.
2661  for ac_exec_ext in '' $ac_executable_extensions; do
2662  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2663    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2664    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2665    break 2
2666  fi
2667done
2668done
2669IFS=$as_save_IFS
2670
2671fi
2672fi
2673CC=$ac_cv_prog_CC
2674if test -n "$CC"; then
2675  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2676$as_echo "$CC" >&6; }
2677else
2678  { $as_echo "$as_me:$LINENO: result: no" >&5
2679$as_echo "no" >&6; }
2680fi
2681
2682
2683fi
2684if test -z "$ac_cv_prog_CC"; then
2685  ac_ct_CC=$CC
2686  # Extract the first word of "gcc", so it can be a program name with args.
2687set dummy gcc; ac_word=$2
2688{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2689$as_echo_n "checking for $ac_word... " >&6; }
2690if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2691  $as_echo_n "(cached) " >&6
2692else
2693  if test -n "$ac_ct_CC"; then
2694  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2695else
2696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697for as_dir in $PATH
2698do
2699  IFS=$as_save_IFS
2700  test -z "$as_dir" && as_dir=.
2701  for ac_exec_ext in '' $ac_executable_extensions; do
2702  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703    ac_cv_prog_ac_ct_CC="gcc"
2704    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2705    break 2
2706  fi
2707done
2708done
2709IFS=$as_save_IFS
2710
2711fi
2712fi
2713ac_ct_CC=$ac_cv_prog_ac_ct_CC
2714if test -n "$ac_ct_CC"; then
2715  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2716$as_echo "$ac_ct_CC" >&6; }
2717else
2718  { $as_echo "$as_me:$LINENO: result: no" >&5
2719$as_echo "no" >&6; }
2720fi
2721
2722  if test "x$ac_ct_CC" = x; then
2723    CC=""
2724  else
2725    case $cross_compiling:$ac_tool_warned in
2726yes:)
2727{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2728whose name does not start with the host triplet.  If you think this
2729configuration is useful to you, please write to autoconf@gnu.org." >&5
2730$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2731whose name does not start with the host triplet.  If you think this
2732configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2733ac_tool_warned=yes ;;
2734esac
2735    CC=$ac_ct_CC
2736  fi
2737else
2738  CC="$ac_cv_prog_CC"
2739fi
2740
2741if test -z "$CC"; then
2742          if test -n "$ac_tool_prefix"; then
2743    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2744set dummy ${ac_tool_prefix}cc; ac_word=$2
2745{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2746$as_echo_n "checking for $ac_word... " >&6; }
2747if test "${ac_cv_prog_CC+set}" = set; then
2748  $as_echo_n "(cached) " >&6
2749else
2750  if test -n "$CC"; then
2751  ac_cv_prog_CC="$CC" # Let the user override the test.
2752else
2753as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754for as_dir in $PATH
2755do
2756  IFS=$as_save_IFS
2757  test -z "$as_dir" && as_dir=.
2758  for ac_exec_ext in '' $ac_executable_extensions; do
2759  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2760    ac_cv_prog_CC="${ac_tool_prefix}cc"
2761    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2762    break 2
2763  fi
2764done
2765done
2766IFS=$as_save_IFS
2767
2768fi
2769fi
2770CC=$ac_cv_prog_CC
2771if test -n "$CC"; then
2772  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2773$as_echo "$CC" >&6; }
2774else
2775  { $as_echo "$as_me:$LINENO: result: no" >&5
2776$as_echo "no" >&6; }
2777fi
2778
2779
2780  fi
2781fi
2782if test -z "$CC"; then
2783  # Extract the first word of "cc", so it can be a program name with args.
2784set dummy cc; ac_word=$2
2785{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2786$as_echo_n "checking for $ac_word... " >&6; }
2787if test "${ac_cv_prog_CC+set}" = set; then
2788  $as_echo_n "(cached) " >&6
2789else
2790  if test -n "$CC"; then
2791  ac_cv_prog_CC="$CC" # Let the user override the test.
2792else
2793  ac_prog_rejected=no
2794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2795for as_dir in $PATH
2796do
2797  IFS=$as_save_IFS
2798  test -z "$as_dir" && as_dir=.
2799  for ac_exec_ext in '' $ac_executable_extensions; do
2800  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2801    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2802       ac_prog_rejected=yes
2803       continue
2804     fi
2805    ac_cv_prog_CC="cc"
2806    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2807    break 2
2808  fi
2809done
2810done
2811IFS=$as_save_IFS
2812
2813if test $ac_prog_rejected = yes; then
2814  # We found a bogon in the path, so make sure we never use it.
2815  set dummy $ac_cv_prog_CC
2816  shift
2817  if test $# != 0; then
2818    # We chose a different compiler from the bogus one.
2819    # However, it has the same basename, so the bogon will be chosen
2820    # first if we set CC to just the basename; use the full file name.
2821    shift
2822    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2823  fi
2824fi
2825fi
2826fi
2827CC=$ac_cv_prog_CC
2828if test -n "$CC"; then
2829  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2830$as_echo "$CC" >&6; }
2831else
2832  { $as_echo "$as_me:$LINENO: result: no" >&5
2833$as_echo "no" >&6; }
2834fi
2835
2836
2837fi
2838if test -z "$CC"; then
2839  if test -n "$ac_tool_prefix"; then
2840  for ac_prog in cl.exe
2841  do
2842    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2843set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2844{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2845$as_echo_n "checking for $ac_word... " >&6; }
2846if test "${ac_cv_prog_CC+set}" = set; then
2847  $as_echo_n "(cached) " >&6
2848else
2849  if test -n "$CC"; then
2850  ac_cv_prog_CC="$CC" # Let the user override the test.
2851else
2852as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853for as_dir in $PATH
2854do
2855  IFS=$as_save_IFS
2856  test -z "$as_dir" && as_dir=.
2857  for ac_exec_ext in '' $ac_executable_extensions; do
2858  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2859    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2860    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2861    break 2
2862  fi
2863done
2864done
2865IFS=$as_save_IFS
2866
2867fi
2868fi
2869CC=$ac_cv_prog_CC
2870if test -n "$CC"; then
2871  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2872$as_echo "$CC" >&6; }
2873else
2874  { $as_echo "$as_me:$LINENO: result: no" >&5
2875$as_echo "no" >&6; }
2876fi
2877
2878
2879    test -n "$CC" && break
2880  done
2881fi
2882if test -z "$CC"; then
2883  ac_ct_CC=$CC
2884  for ac_prog in cl.exe
2885do
2886  # Extract the first word of "$ac_prog", so it can be a program name with args.
2887set dummy $ac_prog; ac_word=$2
2888{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2889$as_echo_n "checking for $ac_word... " >&6; }
2890if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2891  $as_echo_n "(cached) " >&6
2892else
2893  if test -n "$ac_ct_CC"; then
2894  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2895else
2896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897for as_dir in $PATH
2898do
2899  IFS=$as_save_IFS
2900  test -z "$as_dir" && as_dir=.
2901  for ac_exec_ext in '' $ac_executable_extensions; do
2902  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2903    ac_cv_prog_ac_ct_CC="$ac_prog"
2904    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2905    break 2
2906  fi
2907done
2908done
2909IFS=$as_save_IFS
2910
2911fi
2912fi
2913ac_ct_CC=$ac_cv_prog_ac_ct_CC
2914if test -n "$ac_ct_CC"; then
2915  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2916$as_echo "$ac_ct_CC" >&6; }
2917else
2918  { $as_echo "$as_me:$LINENO: result: no" >&5
2919$as_echo "no" >&6; }
2920fi
2921
2922
2923  test -n "$ac_ct_CC" && break
2924done
2925
2926  if test "x$ac_ct_CC" = x; then
2927    CC=""
2928  else
2929    case $cross_compiling:$ac_tool_warned in
2930yes:)
2931{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2932whose name does not start with the host triplet.  If you think this
2933configuration is useful to you, please write to autoconf@gnu.org." >&5
2934$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2935whose name does not start with the host triplet.  If you think this
2936configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2937ac_tool_warned=yes ;;
2938esac
2939    CC=$ac_ct_CC
2940  fi
2941fi
2942
2943fi
2944
2945
2946test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2947See \`config.log' for more details." >&5
2948$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2949See \`config.log' for more details." >&2;}
2950   { (exit 1); exit 1; }; }
2951
2952# Provide some information about the compiler.
2953$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2954set X $ac_compile
2955ac_compiler=$2
2956{ (ac_try="$ac_compiler --version >&5"
2957case "(($ac_try" in
2958  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959  *) ac_try_echo=$ac_try;;
2960esac
2961eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2962$as_echo "$ac_try_echo") >&5
2963  (eval "$ac_compiler --version >&5") 2>&5
2964  ac_status=$?
2965  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966  (exit $ac_status); }
2967{ (ac_try="$ac_compiler -v >&5"
2968case "(($ac_try" in
2969  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970  *) ac_try_echo=$ac_try;;
2971esac
2972eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2973$as_echo "$ac_try_echo") >&5
2974  (eval "$ac_compiler -v >&5") 2>&5
2975  ac_status=$?
2976  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977  (exit $ac_status); }
2978{ (ac_try="$ac_compiler -V >&5"
2979case "(($ac_try" in
2980  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981  *) ac_try_echo=$ac_try;;
2982esac
2983eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2984$as_echo "$ac_try_echo") >&5
2985  (eval "$ac_compiler -V >&5") 2>&5
2986  ac_status=$?
2987  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988  (exit $ac_status); }
2989
2990cat >conftest.$ac_ext <<_ACEOF
2991/* confdefs.h.  */
2992_ACEOF
2993cat confdefs.h >>conftest.$ac_ext
2994cat >>conftest.$ac_ext <<_ACEOF
2995/* end confdefs.h.  */
2996
2997int
2998main ()
2999{
3000
3001  ;
3002  return 0;
3003}
3004_ACEOF
3005ac_clean_files_save=$ac_clean_files
3006ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3007# Try to create an executable without -o first, disregard a.out.
3008# It will help us diagnose broken compilers, and finding out an intuition
3009# of exeext.
3010{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3011$as_echo_n "checking for C compiler default output file name... " >&6; }
3012ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3013
3014# The possible output files:
3015ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3016
3017ac_rmfiles=
3018for ac_file in $ac_files
3019do
3020  case $ac_file in
3021    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3022    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3023  esac
3024done
3025rm -f $ac_rmfiles
3026
3027if { (ac_try="$ac_link_default"
3028case "(($ac_try" in
3029  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030  *) ac_try_echo=$ac_try;;
3031esac
3032eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3033$as_echo "$ac_try_echo") >&5
3034  (eval "$ac_link_default") 2>&5
3035  ac_status=$?
3036  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037  (exit $ac_status); }; then
3038  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3039# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3040# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3041# so that the user can short-circuit this test for compilers unknown to
3042# Autoconf.
3043for ac_file in $ac_files ''
3044do
3045  test -f "$ac_file" || continue
3046  case $ac_file in
3047    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3048	;;
3049    [ab].out )
3050	# We found the default executable, but exeext='' is most
3051	# certainly right.
3052	break;;
3053    *.* )
3054        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3055	then :; else
3056	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3057	fi
3058	# We set ac_cv_exeext here because the later test for it is not
3059	# safe: cross compilers may not add the suffix if given an `-o'
3060	# argument, so we may need to know it at that point already.
3061	# Even if this section looks crufty: it has the advantage of
3062	# actually working.
3063	break;;
3064    * )
3065	break;;
3066  esac
3067done
3068test "$ac_cv_exeext" = no && ac_cv_exeext=
3069
3070else
3071  ac_file=''
3072fi
3073
3074{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3075$as_echo "$ac_file" >&6; }
3076if test -z "$ac_file"; then
3077  $as_echo "$as_me: failed program was:" >&5
3078sed 's/^/| /' conftest.$ac_ext >&5
3079
3080{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3081See \`config.log' for more details." >&5
3082$as_echo "$as_me: error: C compiler cannot create executables
3083See \`config.log' for more details." >&2;}
3084   { (exit 77); exit 77; }; }
3085fi
3086
3087ac_exeext=$ac_cv_exeext
3088
3089# Check that the compiler produces executables we can run.  If not, either
3090# the compiler is broken, or we cross compile.
3091{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3092$as_echo_n "checking whether the C compiler works... " >&6; }
3093# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3094# If not cross compiling, check that we can run a simple program.
3095if test "$cross_compiling" != yes; then
3096  if { ac_try='./$ac_file'
3097  { (case "(($ac_try" in
3098  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099  *) ac_try_echo=$ac_try;;
3100esac
3101eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3102$as_echo "$ac_try_echo") >&5
3103  (eval "$ac_try") 2>&5
3104  ac_status=$?
3105  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106  (exit $ac_status); }; }; then
3107    cross_compiling=no
3108  else
3109    if test "$cross_compiling" = maybe; then
3110	cross_compiling=yes
3111    else
3112	{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3113If you meant to cross compile, use \`--host'.
3114See \`config.log' for more details." >&5
3115$as_echo "$as_me: error: cannot run C compiled programs.
3116If you meant to cross compile, use \`--host'.
3117See \`config.log' for more details." >&2;}
3118   { (exit 1); exit 1; }; }
3119    fi
3120  fi
3121fi
3122{ $as_echo "$as_me:$LINENO: result: yes" >&5
3123$as_echo "yes" >&6; }
3124
3125rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3126ac_clean_files=$ac_clean_files_save
3127# Check that the compiler produces executables we can run.  If not, either
3128# the compiler is broken, or we cross compile.
3129{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3130$as_echo_n "checking whether we are cross compiling... " >&6; }
3131{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3132$as_echo "$cross_compiling" >&6; }
3133
3134{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3135$as_echo_n "checking for suffix of executables... " >&6; }
3136if { (ac_try="$ac_link"
3137case "(($ac_try" in
3138  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139  *) ac_try_echo=$ac_try;;
3140esac
3141eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3142$as_echo "$ac_try_echo") >&5
3143  (eval "$ac_link") 2>&5
3144  ac_status=$?
3145  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146  (exit $ac_status); }; then
3147  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3148# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3149# work properly (i.e., refer to `conftest.exe'), while it won't with
3150# `rm'.
3151for ac_file in conftest.exe conftest conftest.*; do
3152  test -f "$ac_file" || continue
3153  case $ac_file in
3154    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3155    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3156	  break;;
3157    * ) break;;
3158  esac
3159done
3160else
3161  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3162See \`config.log' for more details." >&5
3163$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3164See \`config.log' for more details." >&2;}
3165   { (exit 1); exit 1; }; }
3166fi
3167
3168rm -f conftest$ac_cv_exeext
3169{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3170$as_echo "$ac_cv_exeext" >&6; }
3171
3172rm -f conftest.$ac_ext
3173EXEEXT=$ac_cv_exeext
3174ac_exeext=$EXEEXT
3175{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3176$as_echo_n "checking for suffix of object files... " >&6; }
3177if test "${ac_cv_objext+set}" = set; then
3178  $as_echo_n "(cached) " >&6
3179else
3180  cat >conftest.$ac_ext <<_ACEOF
3181/* confdefs.h.  */
3182_ACEOF
3183cat confdefs.h >>conftest.$ac_ext
3184cat >>conftest.$ac_ext <<_ACEOF
3185/* end confdefs.h.  */
3186
3187int
3188main ()
3189{
3190
3191  ;
3192  return 0;
3193}
3194_ACEOF
3195rm -f conftest.o conftest.obj
3196if { (ac_try="$ac_compile"
3197case "(($ac_try" in
3198  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199  *) ac_try_echo=$ac_try;;
3200esac
3201eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3202$as_echo "$ac_try_echo") >&5
3203  (eval "$ac_compile") 2>&5
3204  ac_status=$?
3205  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206  (exit $ac_status); }; then
3207  for ac_file in conftest.o conftest.obj conftest.*; do
3208  test -f "$ac_file" || continue;
3209  case $ac_file in
3210    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3211    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3212       break;;
3213  esac
3214done
3215else
3216  $as_echo "$as_me: failed program was:" >&5
3217sed 's/^/| /' conftest.$ac_ext >&5
3218
3219{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3220See \`config.log' for more details." >&5
3221$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3222See \`config.log' for more details." >&2;}
3223   { (exit 1); exit 1; }; }
3224fi
3225
3226rm -f conftest.$ac_cv_objext conftest.$ac_ext
3227fi
3228{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3229$as_echo "$ac_cv_objext" >&6; }
3230OBJEXT=$ac_cv_objext
3231ac_objext=$OBJEXT
3232{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3233$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3234if test "${ac_cv_c_compiler_gnu+set}" = set; then
3235  $as_echo_n "(cached) " >&6
3236else
3237  cat >conftest.$ac_ext <<_ACEOF
3238/* confdefs.h.  */
3239_ACEOF
3240cat confdefs.h >>conftest.$ac_ext
3241cat >>conftest.$ac_ext <<_ACEOF
3242/* end confdefs.h.  */
3243
3244int
3245main ()
3246{
3247#ifndef __GNUC__
3248       choke me
3249#endif
3250
3251  ;
3252  return 0;
3253}
3254_ACEOF
3255rm -f conftest.$ac_objext
3256if { (ac_try="$ac_compile"
3257case "(($ac_try" in
3258  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259  *) ac_try_echo=$ac_try;;
3260esac
3261eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3262$as_echo "$ac_try_echo") >&5
3263  (eval "$ac_compile") 2>conftest.er1
3264  ac_status=$?
3265  grep -v '^ *+' conftest.er1 >conftest.err
3266  rm -f conftest.er1
3267  cat conftest.err >&5
3268  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269  (exit $ac_status); } && {
3270	 test -z "$ac_c_werror_flag" ||
3271	 test ! -s conftest.err
3272       } && test -s conftest.$ac_objext; then
3273  ac_compiler_gnu=yes
3274else
3275  $as_echo "$as_me: failed program was:" >&5
3276sed 's/^/| /' conftest.$ac_ext >&5
3277
3278	ac_compiler_gnu=no
3279fi
3280
3281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3282ac_cv_c_compiler_gnu=$ac_compiler_gnu
3283
3284fi
3285{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3286$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3287if test $ac_compiler_gnu = yes; then
3288  GCC=yes
3289else
3290  GCC=
3291fi
3292ac_test_CFLAGS=${CFLAGS+set}
3293ac_save_CFLAGS=$CFLAGS
3294{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3295$as_echo_n "checking whether $CC accepts -g... " >&6; }
3296if test "${ac_cv_prog_cc_g+set}" = set; then
3297  $as_echo_n "(cached) " >&6
3298else
3299  ac_save_c_werror_flag=$ac_c_werror_flag
3300   ac_c_werror_flag=yes
3301   ac_cv_prog_cc_g=no
3302   CFLAGS="-g"
3303   cat >conftest.$ac_ext <<_ACEOF
3304/* confdefs.h.  */
3305_ACEOF
3306cat confdefs.h >>conftest.$ac_ext
3307cat >>conftest.$ac_ext <<_ACEOF
3308/* end confdefs.h.  */
3309
3310int
3311main ()
3312{
3313
3314  ;
3315  return 0;
3316}
3317_ACEOF
3318rm -f conftest.$ac_objext
3319if { (ac_try="$ac_compile"
3320case "(($ac_try" in
3321  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322  *) ac_try_echo=$ac_try;;
3323esac
3324eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3325$as_echo "$ac_try_echo") >&5
3326  (eval "$ac_compile") 2>conftest.er1
3327  ac_status=$?
3328  grep -v '^ *+' conftest.er1 >conftest.err
3329  rm -f conftest.er1
3330  cat conftest.err >&5
3331  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332  (exit $ac_status); } && {
3333	 test -z "$ac_c_werror_flag" ||
3334	 test ! -s conftest.err
3335       } && test -s conftest.$ac_objext; then
3336  ac_cv_prog_cc_g=yes
3337else
3338  $as_echo "$as_me: failed program was:" >&5
3339sed 's/^/| /' conftest.$ac_ext >&5
3340
3341	CFLAGS=""
3342      cat >conftest.$ac_ext <<_ACEOF
3343/* confdefs.h.  */
3344_ACEOF
3345cat confdefs.h >>conftest.$ac_ext
3346cat >>conftest.$ac_ext <<_ACEOF
3347/* end confdefs.h.  */
3348
3349int
3350main ()
3351{
3352
3353  ;
3354  return 0;
3355}
3356_ACEOF
3357rm -f conftest.$ac_objext
3358if { (ac_try="$ac_compile"
3359case "(($ac_try" in
3360  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3361  *) ac_try_echo=$ac_try;;
3362esac
3363eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3364$as_echo "$ac_try_echo") >&5
3365  (eval "$ac_compile") 2>conftest.er1
3366  ac_status=$?
3367  grep -v '^ *+' conftest.er1 >conftest.err
3368  rm -f conftest.er1
3369  cat conftest.err >&5
3370  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371  (exit $ac_status); } && {
3372	 test -z "$ac_c_werror_flag" ||
3373	 test ! -s conftest.err
3374       } && test -s conftest.$ac_objext; then
3375  :
3376else
3377  $as_echo "$as_me: failed program was:" >&5
3378sed 's/^/| /' conftest.$ac_ext >&5
3379
3380	ac_c_werror_flag=$ac_save_c_werror_flag
3381	 CFLAGS="-g"
3382	 cat >conftest.$ac_ext <<_ACEOF
3383/* confdefs.h.  */
3384_ACEOF
3385cat confdefs.h >>conftest.$ac_ext
3386cat >>conftest.$ac_ext <<_ACEOF
3387/* end confdefs.h.  */
3388
3389int
3390main ()
3391{
3392
3393  ;
3394  return 0;
3395}
3396_ACEOF
3397rm -f conftest.$ac_objext
3398if { (ac_try="$ac_compile"
3399case "(($ac_try" in
3400  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401  *) ac_try_echo=$ac_try;;
3402esac
3403eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3404$as_echo "$ac_try_echo") >&5
3405  (eval "$ac_compile") 2>conftest.er1
3406  ac_status=$?
3407  grep -v '^ *+' conftest.er1 >conftest.err
3408  rm -f conftest.er1
3409  cat conftest.err >&5
3410  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411  (exit $ac_status); } && {
3412	 test -z "$ac_c_werror_flag" ||
3413	 test ! -s conftest.err
3414       } && test -s conftest.$ac_objext; then
3415  ac_cv_prog_cc_g=yes
3416else
3417  $as_echo "$as_me: failed program was:" >&5
3418sed 's/^/| /' conftest.$ac_ext >&5
3419
3420
3421fi
3422
3423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3424fi
3425
3426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3427fi
3428
3429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430   ac_c_werror_flag=$ac_save_c_werror_flag
3431fi
3432{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3433$as_echo "$ac_cv_prog_cc_g" >&6; }
3434if test "$ac_test_CFLAGS" = set; then
3435  CFLAGS=$ac_save_CFLAGS
3436elif test $ac_cv_prog_cc_g = yes; then
3437  if test "$GCC" = yes; then
3438    CFLAGS="-g -O2"
3439  else
3440    CFLAGS="-g"
3441  fi
3442else
3443  if test "$GCC" = yes; then
3444    CFLAGS="-O2"
3445  else
3446    CFLAGS=
3447  fi
3448fi
3449{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3450$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3451if test "${ac_cv_prog_cc_c89+set}" = set; then
3452  $as_echo_n "(cached) " >&6
3453else
3454  ac_cv_prog_cc_c89=no
3455ac_save_CC=$CC
3456cat >conftest.$ac_ext <<_ACEOF
3457/* confdefs.h.  */
3458_ACEOF
3459cat confdefs.h >>conftest.$ac_ext
3460cat >>conftest.$ac_ext <<_ACEOF
3461/* end confdefs.h.  */
3462#include <stdarg.h>
3463#include <stdio.h>
3464#include <sys/types.h>
3465#include <sys/stat.h>
3466/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3467struct buf { int x; };
3468FILE * (*rcsopen) (struct buf *, struct stat *, int);
3469static char *e (p, i)
3470     char **p;
3471     int i;
3472{
3473  return p[i];
3474}
3475static char *f (char * (*g) (char **, int), char **p, ...)
3476{
3477  char *s;
3478  va_list v;
3479  va_start (v,p);
3480  s = g (p, va_arg (v,int));
3481  va_end (v);
3482  return s;
3483}
3484
3485/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3486   function prototypes and stuff, but not '\xHH' hex character constants.
3487   These don't provoke an error unfortunately, instead are silently treated
3488   as 'x'.  The following induces an error, until -std is added to get
3489   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3490   array size at least.  It's necessary to write '\x00'==0 to get something
3491   that's true only with -std.  */
3492int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3493
3494/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3495   inside strings and character constants.  */
3496#define FOO(x) 'x'
3497int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3498
3499int test (int i, double x);
3500struct s1 {int (*f) (int a);};
3501struct s2 {int (*f) (double a);};
3502int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3503int argc;
3504char **argv;
3505int
3506main ()
3507{
3508return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3509  ;
3510  return 0;
3511}
3512_ACEOF
3513for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3514	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3515do
3516  CC="$ac_save_CC $ac_arg"
3517  rm -f conftest.$ac_objext
3518if { (ac_try="$ac_compile"
3519case "(($ac_try" in
3520  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521  *) ac_try_echo=$ac_try;;
3522esac
3523eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3524$as_echo "$ac_try_echo") >&5
3525  (eval "$ac_compile") 2>conftest.er1
3526  ac_status=$?
3527  grep -v '^ *+' conftest.er1 >conftest.err
3528  rm -f conftest.er1
3529  cat conftest.err >&5
3530  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531  (exit $ac_status); } && {
3532	 test -z "$ac_c_werror_flag" ||
3533	 test ! -s conftest.err
3534       } && test -s conftest.$ac_objext; then
3535  ac_cv_prog_cc_c89=$ac_arg
3536else
3537  $as_echo "$as_me: failed program was:" >&5
3538sed 's/^/| /' conftest.$ac_ext >&5
3539
3540
3541fi
3542
3543rm -f core conftest.err conftest.$ac_objext
3544  test "x$ac_cv_prog_cc_c89" != "xno" && break
3545done
3546rm -f conftest.$ac_ext
3547CC=$ac_save_CC
3548
3549fi
3550# AC_CACHE_VAL
3551case "x$ac_cv_prog_cc_c89" in
3552  x)
3553    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3554$as_echo "none needed" >&6; } ;;
3555  xno)
3556    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3557$as_echo "unsupported" >&6; } ;;
3558  *)
3559    CC="$CC $ac_cv_prog_cc_c89"
3560    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3561$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3562esac
3563
3564
3565ac_ext=c
3566ac_cpp='$CPP $CPPFLAGS'
3567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3569ac_compiler_gnu=$ac_cv_c_compiler_gnu
3570DEPDIR="${am__leading_dot}deps"
3571
3572ac_config_commands="$ac_config_commands depfiles"
3573
3574
3575am_make=${MAKE-make}
3576cat > confinc << 'END'
3577am__doit:
3578	@echo done
3579.PHONY: am__doit
3580END
3581# If we don't find an include directive, just comment out the code.
3582{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3583$as_echo_n "checking for style of include used by $am_make... " >&6; }
3584am__include="#"
3585am__quote=
3586_am_result=none
3587# First try GNU make style include.
3588echo "include confinc" > confmf
3589# We grep out `Entering directory' and `Leaving directory'
3590# messages which can occur if `w' ends up in MAKEFLAGS.
3591# In particular we don't look at `^make:' because GNU make might
3592# be invoked under some other name (usually "gmake"), in which
3593# case it prints its new name instead of `make'.
3594if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3595   am__include=include
3596   am__quote=
3597   _am_result=GNU
3598fi
3599# Now try BSD make style include.
3600if test "$am__include" = "#"; then
3601   echo '.include "confinc"' > confmf
3602   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3603      am__include=.include
3604      am__quote="\""
3605      _am_result=BSD
3606   fi
3607fi
3608
3609
3610{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3611$as_echo "$_am_result" >&6; }
3612rm -f confinc confmf
3613
3614# Check whether --enable-dependency-tracking was given.
3615if test "${enable_dependency_tracking+set}" = set; then
3616  enableval=$enable_dependency_tracking;
3617fi
3618
3619if test "x$enable_dependency_tracking" != xno; then
3620  am_depcomp="$ac_aux_dir/depcomp"
3621  AMDEPBACKSLASH='\'
3622fi
3623 if test "x$enable_dependency_tracking" != xno; then
3624  AMDEP_TRUE=
3625  AMDEP_FALSE='#'
3626else
3627  AMDEP_TRUE='#'
3628  AMDEP_FALSE=
3629fi
3630
3631
3632
3633depcc="$CC"   am_compiler_list=
3634
3635{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3636$as_echo_n "checking dependency style of $depcc... " >&6; }
3637if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3638  $as_echo_n "(cached) " >&6
3639else
3640  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3641  # We make a subdir and do the tests there.  Otherwise we can end up
3642  # making bogus files that we don't know about and never remove.  For
3643  # instance it was reported that on HP-UX the gcc test will end up
3644  # making a dummy file named `D' -- because `-MD' means `put the output
3645  # in D'.
3646  mkdir conftest.dir
3647  # Copy depcomp to subdir because otherwise we won't find it if we're
3648  # using a relative directory.
3649  cp "$am_depcomp" conftest.dir
3650  cd conftest.dir
3651  # We will build objects and dependencies in a subdirectory because
3652  # it helps to detect inapplicable dependency modes.  For instance
3653  # both Tru64's cc and ICC support -MD to output dependencies as a
3654  # side effect of compilation, but ICC will put the dependencies in
3655  # the current directory while Tru64 will put them in the object
3656  # directory.
3657  mkdir sub
3658
3659  am_cv_CC_dependencies_compiler_type=none
3660  if test "$am_compiler_list" = ""; then
3661     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3662  fi
3663  for depmode in $am_compiler_list; do
3664    # Setup a source with many dependencies, because some compilers
3665    # like to wrap large dependency lists on column 80 (with \), and
3666    # we should not choose a depcomp mode which is confused by this.
3667    #
3668    # We need to recreate these files for each test, as the compiler may
3669    # overwrite some of them when testing with obscure command lines.
3670    # This happens at least with the AIX C compiler.
3671    : > sub/conftest.c
3672    for i in 1 2 3 4 5 6; do
3673      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3674      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3675      # Solaris 8's {/usr,}/bin/sh.
3676      touch sub/conftst$i.h
3677    done
3678    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3679
3680    case $depmode in
3681    nosideeffect)
3682      # after this tag, mechanisms are not by side-effect, so they'll
3683      # only be used when explicitly requested
3684      if test "x$enable_dependency_tracking" = xyes; then
3685	continue
3686      else
3687	break
3688      fi
3689      ;;
3690    none) break ;;
3691    esac
3692    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3693    # mode.  It turns out that the SunPro C++ compiler does not properly
3694    # handle `-M -o', and we need to detect this.
3695    if depmode=$depmode \
3696       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3697       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3698       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3699         >/dev/null 2>conftest.err &&
3700       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3701       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3702       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3703       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3704      # icc doesn't choke on unknown options, it will just issue warnings
3705      # or remarks (even with -Werror).  So we grep stderr for any message
3706      # that says an option was ignored or not supported.
3707      # When given -MP, icc 7.0 and 7.1 complain thusly:
3708      #   icc: Command line warning: ignoring option '-M'; no argument required
3709      # The diagnosis changed in icc 8.0:
3710      #   icc: Command line remark: option '-MP' not supported
3711      if (grep 'ignoring option' conftest.err ||
3712          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3713        am_cv_CC_dependencies_compiler_type=$depmode
3714        break
3715      fi
3716    fi
3717  done
3718
3719  cd ..
3720  rm -rf conftest.dir
3721else
3722  am_cv_CC_dependencies_compiler_type=none
3723fi
3724
3725fi
3726{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3727$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3728CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3729
3730 if
3731  test "x$enable_dependency_tracking" != xno \
3732  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3733  am__fastdepCC_TRUE=
3734  am__fastdepCC_FALSE='#'
3735else
3736  am__fastdepCC_TRUE='#'
3737  am__fastdepCC_FALSE=
3738fi
3739
3740
3741ac_ext=c
3742ac_cpp='$CPP $CPPFLAGS'
3743ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3744ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3745ac_compiler_gnu=$ac_cv_c_compiler_gnu
3746{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3747$as_echo_n "checking how to run the C preprocessor... " >&6; }
3748# On Suns, sometimes $CPP names a directory.
3749if test -n "$CPP" && test -d "$CPP"; then
3750  CPP=
3751fi
3752if test -z "$CPP"; then
3753  if test "${ac_cv_prog_CPP+set}" = set; then
3754  $as_echo_n "(cached) " >&6
3755else
3756      # Double quotes because CPP needs to be expanded
3757    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3758    do
3759      ac_preproc_ok=false
3760for ac_c_preproc_warn_flag in '' yes
3761do
3762  # Use a header file that comes with gcc, so configuring glibc
3763  # with a fresh cross-compiler works.
3764  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3765  # <limits.h> exists even on freestanding compilers.
3766  # On the NeXT, cc -E runs the code through the compiler's parser,
3767  # not just through cpp. "Syntax error" is here to catch this case.
3768  cat >conftest.$ac_ext <<_ACEOF
3769/* confdefs.h.  */
3770_ACEOF
3771cat confdefs.h >>conftest.$ac_ext
3772cat >>conftest.$ac_ext <<_ACEOF
3773/* end confdefs.h.  */
3774#ifdef __STDC__
3775# include <limits.h>
3776#else
3777# include <assert.h>
3778#endif
3779		     Syntax error
3780_ACEOF
3781if { (ac_try="$ac_cpp conftest.$ac_ext"
3782case "(($ac_try" in
3783  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3784  *) ac_try_echo=$ac_try;;
3785esac
3786eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3787$as_echo "$ac_try_echo") >&5
3788  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3789  ac_status=$?
3790  grep -v '^ *+' conftest.er1 >conftest.err
3791  rm -f conftest.er1
3792  cat conftest.err >&5
3793  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794  (exit $ac_status); } >/dev/null && {
3795	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3796	 test ! -s conftest.err
3797       }; then
3798  :
3799else
3800  $as_echo "$as_me: failed program was:" >&5
3801sed 's/^/| /' conftest.$ac_ext >&5
3802
3803  # Broken: fails on valid input.
3804continue
3805fi
3806
3807rm -f conftest.err conftest.$ac_ext
3808
3809  # OK, works on sane cases.  Now check whether nonexistent headers
3810  # can be detected and how.
3811  cat >conftest.$ac_ext <<_ACEOF
3812/* confdefs.h.  */
3813_ACEOF
3814cat confdefs.h >>conftest.$ac_ext
3815cat >>conftest.$ac_ext <<_ACEOF
3816/* end confdefs.h.  */
3817#include <ac_nonexistent.h>
3818_ACEOF
3819if { (ac_try="$ac_cpp conftest.$ac_ext"
3820case "(($ac_try" in
3821  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822  *) ac_try_echo=$ac_try;;
3823esac
3824eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3825$as_echo "$ac_try_echo") >&5
3826  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3827  ac_status=$?
3828  grep -v '^ *+' conftest.er1 >conftest.err
3829  rm -f conftest.er1
3830  cat conftest.err >&5
3831  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832  (exit $ac_status); } >/dev/null && {
3833	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3834	 test ! -s conftest.err
3835       }; then
3836  # Broken: success on invalid input.
3837continue
3838else
3839  $as_echo "$as_me: failed program was:" >&5
3840sed 's/^/| /' conftest.$ac_ext >&5
3841
3842  # Passes both tests.
3843ac_preproc_ok=:
3844break
3845fi
3846
3847rm -f conftest.err conftest.$ac_ext
3848
3849done
3850# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3851rm -f conftest.err conftest.$ac_ext
3852if $ac_preproc_ok; then
3853  break
3854fi
3855
3856    done
3857    ac_cv_prog_CPP=$CPP
3858
3859fi
3860  CPP=$ac_cv_prog_CPP
3861else
3862  ac_cv_prog_CPP=$CPP
3863fi
3864{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3865$as_echo "$CPP" >&6; }
3866ac_preproc_ok=false
3867for ac_c_preproc_warn_flag in '' yes
3868do
3869  # Use a header file that comes with gcc, so configuring glibc
3870  # with a fresh cross-compiler works.
3871  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3872  # <limits.h> exists even on freestanding compilers.
3873  # On the NeXT, cc -E runs the code through the compiler's parser,
3874  # not just through cpp. "Syntax error" is here to catch this case.
3875  cat >conftest.$ac_ext <<_ACEOF
3876/* confdefs.h.  */
3877_ACEOF
3878cat confdefs.h >>conftest.$ac_ext
3879cat >>conftest.$ac_ext <<_ACEOF
3880/* end confdefs.h.  */
3881#ifdef __STDC__
3882# include <limits.h>
3883#else
3884# include <assert.h>
3885#endif
3886		     Syntax error
3887_ACEOF
3888if { (ac_try="$ac_cpp conftest.$ac_ext"
3889case "(($ac_try" in
3890  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3891  *) ac_try_echo=$ac_try;;
3892esac
3893eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3894$as_echo "$ac_try_echo") >&5
3895  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3896  ac_status=$?
3897  grep -v '^ *+' conftest.er1 >conftest.err
3898  rm -f conftest.er1
3899  cat conftest.err >&5
3900  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901  (exit $ac_status); } >/dev/null && {
3902	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3903	 test ! -s conftest.err
3904       }; then
3905  :
3906else
3907  $as_echo "$as_me: failed program was:" >&5
3908sed 's/^/| /' conftest.$ac_ext >&5
3909
3910  # Broken: fails on valid input.
3911continue
3912fi
3913
3914rm -f conftest.err conftest.$ac_ext
3915
3916  # OK, works on sane cases.  Now check whether nonexistent headers
3917  # can be detected and how.
3918  cat >conftest.$ac_ext <<_ACEOF
3919/* confdefs.h.  */
3920_ACEOF
3921cat confdefs.h >>conftest.$ac_ext
3922cat >>conftest.$ac_ext <<_ACEOF
3923/* end confdefs.h.  */
3924#include <ac_nonexistent.h>
3925_ACEOF
3926if { (ac_try="$ac_cpp conftest.$ac_ext"
3927case "(($ac_try" in
3928  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929  *) ac_try_echo=$ac_try;;
3930esac
3931eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3932$as_echo "$ac_try_echo") >&5
3933  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3934  ac_status=$?
3935  grep -v '^ *+' conftest.er1 >conftest.err
3936  rm -f conftest.er1
3937  cat conftest.err >&5
3938  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939  (exit $ac_status); } >/dev/null && {
3940	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3941	 test ! -s conftest.err
3942       }; then
3943  # Broken: success on invalid input.
3944continue
3945else
3946  $as_echo "$as_me: failed program was:" >&5
3947sed 's/^/| /' conftest.$ac_ext >&5
3948
3949  # Passes both tests.
3950ac_preproc_ok=:
3951break
3952fi
3953
3954rm -f conftest.err conftest.$ac_ext
3955
3956done
3957# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3958rm -f conftest.err conftest.$ac_ext
3959if $ac_preproc_ok; then
3960  :
3961else
3962  { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3963See \`config.log' for more details." >&5
3964$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3965See \`config.log' for more details." >&2;}
3966   { (exit 1); exit 1; }; }
3967fi
3968
3969ac_ext=c
3970ac_cpp='$CPP $CPPFLAGS'
3971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3973ac_compiler_gnu=$ac_cv_c_compiler_gnu
3974
3975{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3976$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3977set x ${MAKE-make}
3978ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3979if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3980  $as_echo_n "(cached) " >&6
3981else
3982  cat >conftest.make <<\_ACEOF
3983SHELL = /bin/sh
3984all:
3985	@echo '@@@%%%=$(MAKE)=@@@%%%'
3986_ACEOF
3987# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3988case `${MAKE-make} -f conftest.make 2>/dev/null` in
3989  *@@@%%%=?*=@@@%%%*)
3990    eval ac_cv_prog_make_${ac_make}_set=yes;;
3991  *)
3992    eval ac_cv_prog_make_${ac_make}_set=no;;
3993esac
3994rm -f conftest.make
3995fi
3996if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3997  { $as_echo "$as_me:$LINENO: result: yes" >&5
3998$as_echo "yes" >&6; }
3999  SET_MAKE=
4000else
4001  { $as_echo "$as_me:$LINENO: result: no" >&5
4002$as_echo "no" >&6; }
4003  SET_MAKE="MAKE=${MAKE-make}"
4004fi
4005
4006# Make sure we can run config.sub.
4007$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4008  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4009$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4010   { (exit 1); exit 1; }; }
4011
4012{ $as_echo "$as_me:$LINENO: checking build system type" >&5
4013$as_echo_n "checking build system type... " >&6; }
4014if test "${ac_cv_build+set}" = set; then
4015  $as_echo_n "(cached) " >&6
4016else
4017  ac_build_alias=$build_alias
4018test "x$ac_build_alias" = x &&
4019  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4020test "x$ac_build_alias" = x &&
4021  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4022$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4023   { (exit 1); exit 1; }; }
4024ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4025  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4026$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4027   { (exit 1); exit 1; }; }
4028
4029fi
4030{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4031$as_echo "$ac_cv_build" >&6; }
4032case $ac_cv_build in
4033*-*-*) ;;
4034*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4035$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4036   { (exit 1); exit 1; }; };;
4037esac
4038build=$ac_cv_build
4039ac_save_IFS=$IFS; IFS='-'
4040set x $ac_cv_build
4041shift
4042build_cpu=$1
4043build_vendor=$2
4044shift; shift
4045# Remember, the first character of IFS is used to create $*,
4046# except with old shells:
4047build_os=$*
4048IFS=$ac_save_IFS
4049case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4050
4051
4052{ $as_echo "$as_me:$LINENO: checking host system type" >&5
4053$as_echo_n "checking host system type... " >&6; }
4054if test "${ac_cv_host+set}" = set; then
4055  $as_echo_n "(cached) " >&6
4056else
4057  if test "x$host_alias" = x; then
4058  ac_cv_host=$ac_cv_build
4059else
4060  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4061    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4062$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4063   { (exit 1); exit 1; }; }
4064fi
4065
4066fi
4067{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4068$as_echo "$ac_cv_host" >&6; }
4069case $ac_cv_host in
4070*-*-*) ;;
4071*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4072$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4073   { (exit 1); exit 1; }; };;
4074esac
4075host=$ac_cv_host
4076ac_save_IFS=$IFS; IFS='-'
4077set x $ac_cv_host
4078shift
4079host_cpu=$1
4080host_vendor=$2
4081shift; shift
4082# Remember, the first character of IFS is used to create $*,
4083# except with old shells:
4084host_os=$*
4085IFS=$ac_save_IFS
4086case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4087
4088
4089# Check whether --enable-static was given.
4090if test "${enable_static+set}" = set; then
4091  enableval=$enable_static; p=${PACKAGE-default}
4092    case $enableval in
4093    yes) enable_static=yes ;;
4094    no) enable_static=no ;;
4095    *)
4096     enable_static=no
4097      # Look at the argument we got.  We use all the common list separators.
4098      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4099      for pkg in $enableval; do
4100	IFS="$lt_save_ifs"
4101	if test "X$pkg" = "X$p"; then
4102	  enable_static=yes
4103	fi
4104      done
4105      IFS="$lt_save_ifs"
4106      ;;
4107    esac
4108else
4109  enable_static=no
4110fi
4111
4112
4113
4114
4115
4116# Check whether --enable-shared was given.
4117if test "${enable_shared+set}" = set; then
4118  enableval=$enable_shared; p=${PACKAGE-default}
4119    case $enableval in
4120    yes) enable_shared=yes ;;
4121    no) enable_shared=no ;;
4122    *)
4123      enable_shared=no
4124      # Look at the argument we got.  We use all the common list separators.
4125      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4126      for pkg in $enableval; do
4127	IFS="$lt_save_ifs"
4128	if test "X$pkg" = "X$p"; then
4129	  enable_shared=yes
4130	fi
4131      done
4132      IFS="$lt_save_ifs"
4133      ;;
4134    esac
4135else
4136  enable_shared=yes
4137fi
4138
4139
4140# Check whether --enable-fast-install was given.
4141if test "${enable_fast_install+set}" = set; then
4142  enableval=$enable_fast_install; p=${PACKAGE-default}
4143    case $enableval in
4144    yes) enable_fast_install=yes ;;
4145    no) enable_fast_install=no ;;
4146    *)
4147      enable_fast_install=no
4148      # Look at the argument we got.  We use all the common list separators.
4149      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4150      for pkg in $enableval; do
4151	IFS="$lt_save_ifs"
4152	if test "X$pkg" = "X$p"; then
4153	  enable_fast_install=yes
4154	fi
4155      done
4156      IFS="$lt_save_ifs"
4157      ;;
4158    esac
4159else
4160  enable_fast_install=yes
4161fi
4162
4163
4164{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4165$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4166if test "${lt_cv_path_SED+set}" = set; then
4167  $as_echo_n "(cached) " >&6
4168else
4169  # Loop through the user's path and test for sed and gsed.
4170# Then use that list of sed's as ones to test for truncation.
4171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4172for as_dir in $PATH
4173do
4174  IFS=$as_save_IFS
4175  test -z "$as_dir" && as_dir=.
4176  for lt_ac_prog in sed gsed; do
4177    for ac_exec_ext in '' $ac_executable_extensions; do
4178      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4179        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4180      fi
4181    done
4182  done
4183done
4184IFS=$as_save_IFS
4185lt_ac_max=0
4186lt_ac_count=0
4187# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4188# along with /bin/sed that truncates output.
4189for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4190  test ! -f $lt_ac_sed && continue
4191  cat /dev/null > conftest.in
4192  lt_ac_count=0
4193  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4194  # Check for GNU sed and select it if it is found.
4195  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4196    lt_cv_path_SED=$lt_ac_sed
4197    break
4198  fi
4199  while true; do
4200    cat conftest.in conftest.in >conftest.tmp
4201    mv conftest.tmp conftest.in
4202    cp conftest.in conftest.nl
4203    echo >>conftest.nl
4204    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4205    cmp -s conftest.out conftest.nl || break
4206    # 10000 chars as input seems more than enough
4207    test $lt_ac_count -gt 10 && break
4208    lt_ac_count=`expr $lt_ac_count + 1`
4209    if test $lt_ac_count -gt $lt_ac_max; then
4210      lt_ac_max=$lt_ac_count
4211      lt_cv_path_SED=$lt_ac_sed
4212    fi
4213  done
4214done
4215
4216fi
4217
4218SED=$lt_cv_path_SED
4219
4220{ $as_echo "$as_me:$LINENO: result: $SED" >&5
4221$as_echo "$SED" >&6; }
4222
4223{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4224$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4225if test "${ac_cv_path_GREP+set}" = set; then
4226  $as_echo_n "(cached) " >&6
4227else
4228  if test -z "$GREP"; then
4229  ac_path_GREP_found=false
4230  # Loop through the user's path and test for each of PROGNAME-LIST
4231  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4233do
4234  IFS=$as_save_IFS
4235  test -z "$as_dir" && as_dir=.
4236  for ac_prog in grep ggrep; do
4237    for ac_exec_ext in '' $ac_executable_extensions; do
4238      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4239      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4240# Check for GNU ac_path_GREP and select it if it is found.
4241  # Check for GNU $ac_path_GREP
4242case `"$ac_path_GREP" --version 2>&1` in
4243*GNU*)
4244  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4245*)
4246  ac_count=0
4247  $as_echo_n 0123456789 >"conftest.in"
4248  while :
4249  do
4250    cat "conftest.in" "conftest.in" >"conftest.tmp"
4251    mv "conftest.tmp" "conftest.in"
4252    cp "conftest.in" "conftest.nl"
4253    $as_echo 'GREP' >> "conftest.nl"
4254    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4255    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4256    ac_count=`expr $ac_count + 1`
4257    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4258      # Best one so far, save it but keep looking for a better one
4259      ac_cv_path_GREP="$ac_path_GREP"
4260      ac_path_GREP_max=$ac_count
4261    fi
4262    # 10*(2^10) chars as input seems more than enough
4263    test $ac_count -gt 10 && break
4264  done
4265  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4266esac
4267
4268      $ac_path_GREP_found && break 3
4269    done
4270  done
4271done
4272IFS=$as_save_IFS
4273  if test -z "$ac_cv_path_GREP"; then
4274    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4275$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4276   { (exit 1); exit 1; }; }
4277  fi
4278else
4279  ac_cv_path_GREP=$GREP
4280fi
4281
4282fi
4283{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4284$as_echo "$ac_cv_path_GREP" >&6; }
4285 GREP="$ac_cv_path_GREP"
4286
4287
4288{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4289$as_echo_n "checking for egrep... " >&6; }
4290if test "${ac_cv_path_EGREP+set}" = set; then
4291  $as_echo_n "(cached) " >&6
4292else
4293  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4294   then ac_cv_path_EGREP="$GREP -E"
4295   else
4296     if test -z "$EGREP"; then
4297  ac_path_EGREP_found=false
4298  # Loop through the user's path and test for each of PROGNAME-LIST
4299  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4301do
4302  IFS=$as_save_IFS
4303  test -z "$as_dir" && as_dir=.
4304  for ac_prog in egrep; do
4305    for ac_exec_ext in '' $ac_executable_extensions; do
4306      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4307      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4308# Check for GNU ac_path_EGREP and select it if it is found.
4309  # Check for GNU $ac_path_EGREP
4310case `"$ac_path_EGREP" --version 2>&1` in
4311*GNU*)
4312  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4313*)
4314  ac_count=0
4315  $as_echo_n 0123456789 >"conftest.in"
4316  while :
4317  do
4318    cat "conftest.in" "conftest.in" >"conftest.tmp"
4319    mv "conftest.tmp" "conftest.in"
4320    cp "conftest.in" "conftest.nl"
4321    $as_echo 'EGREP' >> "conftest.nl"
4322    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4323    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4324    ac_count=`expr $ac_count + 1`
4325    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4326      # Best one so far, save it but keep looking for a better one
4327      ac_cv_path_EGREP="$ac_path_EGREP"
4328      ac_path_EGREP_max=$ac_count
4329    fi
4330    # 10*(2^10) chars as input seems more than enough
4331    test $ac_count -gt 10 && break
4332  done
4333  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4334esac
4335
4336      $ac_path_EGREP_found && break 3
4337    done
4338  done
4339done
4340IFS=$as_save_IFS
4341  if test -z "$ac_cv_path_EGREP"; then
4342    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4343$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4344   { (exit 1); exit 1; }; }
4345  fi
4346else
4347  ac_cv_path_EGREP=$EGREP
4348fi
4349
4350   fi
4351fi
4352{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4353$as_echo "$ac_cv_path_EGREP" >&6; }
4354 EGREP="$ac_cv_path_EGREP"
4355
4356
4357
4358# Check whether --with-gnu-ld was given.
4359if test "${with_gnu_ld+set}" = set; then
4360  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4361else
4362  with_gnu_ld=no
4363fi
4364
4365ac_prog=ld
4366if test "$GCC" = yes; then
4367  # Check if gcc -print-prog-name=ld gives a path.
4368  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4369$as_echo_n "checking for ld used by $CC... " >&6; }
4370  case $host in
4371  *-*-mingw*)
4372    # gcc leaves a trailing carriage return which upsets mingw
4373    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4374  *)
4375    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4376  esac
4377  case $ac_prog in
4378    # Accept absolute paths.
4379    [\\/]* | ?:[\\/]*)
4380      re_direlt='/[^/][^/]*/\.\./'
4381      # Canonicalize the pathname of ld
4382      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4383      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4384	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4385      done
4386      test -z "$LD" && LD="$ac_prog"
4387      ;;
4388  "")
4389    # If it fails, then pretend we aren't using GCC.
4390    ac_prog=ld
4391    ;;
4392  *)
4393    # If it is relative, then search for the first ld in PATH.
4394    with_gnu_ld=unknown
4395    ;;
4396  esac
4397elif test "$with_gnu_ld" = yes; then
4398  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4399$as_echo_n "checking for GNU ld... " >&6; }
4400else
4401  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4402$as_echo_n "checking for non-GNU ld... " >&6; }
4403fi
4404if test "${lt_cv_path_LD+set}" = set; then
4405  $as_echo_n "(cached) " >&6
4406else
4407  if test -z "$LD"; then
4408  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4409  for ac_dir in $PATH; do
4410    IFS="$lt_save_ifs"
4411    test -z "$ac_dir" && ac_dir=.
4412    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4413      lt_cv_path_LD="$ac_dir/$ac_prog"
4414      # Check to see if the program is GNU ld.  I'd rather use --version,
4415      # but apparently some variants of GNU ld only accept -v.
4416      # Break only if it was the GNU/non-GNU ld that we prefer.
4417      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4418      *GNU* | *'with BFD'*)
4419	test "$with_gnu_ld" != no && break
4420	;;
4421      *)
4422	test "$with_gnu_ld" != yes && break
4423	;;
4424      esac
4425    fi
4426  done
4427  IFS="$lt_save_ifs"
4428else
4429  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4430fi
4431fi
4432
4433LD="$lt_cv_path_LD"
4434if test -n "$LD"; then
4435  { $as_echo "$as_me:$LINENO: result: $LD" >&5
4436$as_echo "$LD" >&6; }
4437else
4438  { $as_echo "$as_me:$LINENO: result: no" >&5
4439$as_echo "no" >&6; }
4440fi
4441test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4442$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4443   { (exit 1); exit 1; }; }
4444{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4445$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4446if test "${lt_cv_prog_gnu_ld+set}" = set; then
4447  $as_echo_n "(cached) " >&6
4448else
4449  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4450case `$LD -v 2>&1 </dev/null` in
4451*GNU* | *'with BFD'*)
4452  lt_cv_prog_gnu_ld=yes
4453  ;;
4454*)
4455  lt_cv_prog_gnu_ld=no
4456  ;;
4457esac
4458fi
4459{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4460$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4461with_gnu_ld=$lt_cv_prog_gnu_ld
4462
4463
4464{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4465$as_echo_n "checking for $LD option to reload object files... " >&6; }
4466if test "${lt_cv_ld_reload_flag+set}" = set; then
4467  $as_echo_n "(cached) " >&6
4468else
4469  lt_cv_ld_reload_flag='-r'
4470fi
4471{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4472$as_echo "$lt_cv_ld_reload_flag" >&6; }
4473reload_flag=$lt_cv_ld_reload_flag
4474case $reload_flag in
4475"" | " "*) ;;
4476*) reload_flag=" $reload_flag" ;;
4477esac
4478reload_cmds='$LD$reload_flag -o $output$reload_objs'
4479case $host_os in
4480  darwin*)
4481    if test "$GCC" = yes; then
4482      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4483    else
4484      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4485    fi
4486    ;;
4487esac
4488
4489{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4490$as_echo_n "checking for BSD-compatible nm... " >&6; }
4491if test "${lt_cv_path_NM+set}" = set; then
4492  $as_echo_n "(cached) " >&6
4493else
4494  if test -n "$NM"; then
4495  # Let the user override the test.
4496  lt_cv_path_NM="$NM"
4497else
4498  lt_nm_to_check="${ac_tool_prefix}nm"
4499  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4500    lt_nm_to_check="$lt_nm_to_check nm"
4501  fi
4502  for lt_tmp_nm in $lt_nm_to_check; do
4503    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4504    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4505      IFS="$lt_save_ifs"
4506      test -z "$ac_dir" && ac_dir=.
4507      tmp_nm="$ac_dir/$lt_tmp_nm"
4508      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4509	# Check to see if the nm accepts a BSD-compat flag.
4510	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4511	#   nm: unknown option "B" ignored
4512	# Tru64's nm complains that /dev/null is an invalid object file
4513	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4514	*/dev/null* | *'Invalid file or object type'*)
4515	  lt_cv_path_NM="$tmp_nm -B"
4516	  break
4517	  ;;
4518	*)
4519	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4520	  */dev/null*)
4521	    lt_cv_path_NM="$tmp_nm -p"
4522	    break
4523	    ;;
4524	  *)
4525	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4526	    continue # so that we can try to find one that supports BSD flags
4527	    ;;
4528	  esac
4529	  ;;
4530	esac
4531      fi
4532    done
4533    IFS="$lt_save_ifs"
4534  done
4535  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4536fi
4537fi
4538{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4539$as_echo "$lt_cv_path_NM" >&6; }
4540NM="$lt_cv_path_NM"
4541
4542{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4543$as_echo_n "checking whether ln -s works... " >&6; }
4544LN_S=$as_ln_s
4545if test "$LN_S" = "ln -s"; then
4546  { $as_echo "$as_me:$LINENO: result: yes" >&5
4547$as_echo "yes" >&6; }
4548else
4549  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4550$as_echo "no, using $LN_S" >&6; }
4551fi
4552
4553{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4554$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4555if test "${lt_cv_deplibs_check_method+set}" = set; then
4556  $as_echo_n "(cached) " >&6
4557else
4558  lt_cv_file_magic_cmd='$MAGIC_CMD'
4559lt_cv_file_magic_test_file=
4560lt_cv_deplibs_check_method='unknown'
4561# Need to set the preceding variable on all platforms that support
4562# interlibrary dependencies.
4563# 'none' -- dependencies not supported.
4564# `unknown' -- same as none, but documents that we really don't know.
4565# 'pass_all' -- all dependencies passed with no checks.
4566# 'test_compile' -- check by making test program.
4567# 'file_magic [[regex]]' -- check by looking for files in library path
4568# which responds to the $file_magic_cmd with a given extended regex.
4569# If you have `file' or equivalent on your system and you're not sure
4570# whether `pass_all' will *always* work, you probably want this one.
4571
4572case $host_os in
4573aix[4-9]*)
4574  lt_cv_deplibs_check_method=pass_all
4575  ;;
4576
4577beos*)
4578  lt_cv_deplibs_check_method=pass_all
4579  ;;
4580
4581bsdi[45]*)
4582  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4583  lt_cv_file_magic_cmd='/usr/bin/file -L'
4584  lt_cv_file_magic_test_file=/shlib/libc.so
4585  ;;
4586
4587cygwin*)
4588  # func_win32_libid is a shell function defined in ltmain.sh
4589  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4590  lt_cv_file_magic_cmd='func_win32_libid'
4591  ;;
4592
4593mingw* | pw32*)
4594  # Base MSYS/MinGW do not provide the 'file' command needed by
4595  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4596  # unless we find 'file', for example because we are cross-compiling.
4597  if ( file / ) >/dev/null 2>&1; then
4598    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4599    lt_cv_file_magic_cmd='func_win32_libid'
4600  else
4601    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4602    lt_cv_file_magic_cmd='$OBJDUMP -f'
4603  fi
4604  ;;
4605
4606darwin* | rhapsody*)
4607  lt_cv_deplibs_check_method=pass_all
4608  ;;
4609
4610freebsd* | dragonfly*)
4611  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4612    case $host_cpu in
4613    i*86 )
4614      # Not sure whether the presence of OpenBSD here was a mistake.
4615      # Let's accept both of them until this is cleared up.
4616      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4617      lt_cv_file_magic_cmd=/usr/bin/file
4618      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4619      ;;
4620    esac
4621  else
4622    lt_cv_deplibs_check_method=pass_all
4623  fi
4624  ;;
4625
4626gnu*)
4627  lt_cv_deplibs_check_method=pass_all
4628  ;;
4629
4630hpux10.20* | hpux11*)
4631  lt_cv_file_magic_cmd=/usr/bin/file
4632  case $host_cpu in
4633  ia64*)
4634    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4635    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4636    ;;
4637  hppa*64*)
4638    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4639    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4640    ;;
4641  *)
4642    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4643    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4644    ;;
4645  esac
4646  ;;
4647
4648interix[3-9]*)
4649  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4650  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4651  ;;
4652
4653irix5* | irix6* | nonstopux*)
4654  case $LD in
4655  *-32|*"-32 ") libmagic=32-bit;;
4656  *-n32|*"-n32 ") libmagic=N32;;
4657  *-64|*"-64 ") libmagic=64-bit;;
4658  *) libmagic=never-match;;
4659  esac
4660  lt_cv_deplibs_check_method=pass_all
4661  ;;
4662
4663# This must be Linux ELF.
4664linux* | k*bsd*-gnu)
4665  lt_cv_deplibs_check_method=pass_all
4666  ;;
4667
4668netbsd*)
4669  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4670    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4671  else
4672    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4673  fi
4674  ;;
4675
4676newos6*)
4677  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4678  lt_cv_file_magic_cmd=/usr/bin/file
4679  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4680  ;;
4681
4682nto-qnx*)
4683  lt_cv_deplibs_check_method=unknown
4684  ;;
4685
4686openbsd*)
4687  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4688    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4689  else
4690    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4691  fi
4692  ;;
4693
4694osf3* | osf4* | osf5*)
4695  lt_cv_deplibs_check_method=pass_all
4696  ;;
4697
4698rdos*)
4699  lt_cv_deplibs_check_method=pass_all
4700  ;;
4701
4702solaris*)
4703  lt_cv_deplibs_check_method=pass_all
4704  ;;
4705
4706sysv4 | sysv4.3*)
4707  case $host_vendor in
4708  motorola)
4709    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]'
4710    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4711    ;;
4712  ncr)
4713    lt_cv_deplibs_check_method=pass_all
4714    ;;
4715  sequent)
4716    lt_cv_file_magic_cmd='/bin/file'
4717    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4718    ;;
4719  sni)
4720    lt_cv_file_magic_cmd='/bin/file'
4721    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4722    lt_cv_file_magic_test_file=/lib/libc.so
4723    ;;
4724  siemens)
4725    lt_cv_deplibs_check_method=pass_all
4726    ;;
4727  pc)
4728    lt_cv_deplibs_check_method=pass_all
4729    ;;
4730  esac
4731  ;;
4732
4733sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4734  lt_cv_deplibs_check_method=pass_all
4735  ;;
4736esac
4737
4738fi
4739{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4740$as_echo "$lt_cv_deplibs_check_method" >&6; }
4741file_magic_cmd=$lt_cv_file_magic_cmd
4742deplibs_check_method=$lt_cv_deplibs_check_method
4743test -z "$deplibs_check_method" && deplibs_check_method=unknown
4744
4745
4746
4747
4748# If no C compiler was specified, use CC.
4749LTCC=${LTCC-"$CC"}
4750
4751# If no C compiler flags were specified, use CFLAGS.
4752LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4753
4754# Allow CC to be a program name with arguments.
4755compiler=$CC
4756
4757
4758# Check whether --enable-libtool-lock was given.
4759if test "${enable_libtool_lock+set}" = set; then
4760  enableval=$enable_libtool_lock;
4761fi
4762
4763test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4764
4765# Some flags need to be propagated to the compiler or linker for good
4766# libtool support.
4767case $host in
4768ia64-*-hpux*)
4769  # Find out which ABI we are using.
4770  echo 'int i;' > conftest.$ac_ext
4771  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4772  (eval $ac_compile) 2>&5
4773  ac_status=$?
4774  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775  (exit $ac_status); }; then
4776    case `/usr/bin/file conftest.$ac_objext` in
4777    *ELF-32*)
4778      HPUX_IA64_MODE="32"
4779      ;;
4780    *ELF-64*)
4781      HPUX_IA64_MODE="64"
4782      ;;
4783    esac
4784  fi
4785  rm -rf conftest*
4786  ;;
4787*-*-irix6*)
4788  # Find out which ABI we are using.
4789  echo '#line 4789 "configure"' > conftest.$ac_ext
4790  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4791  (eval $ac_compile) 2>&5
4792  ac_status=$?
4793  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794  (exit $ac_status); }; then
4795   if test "$lt_cv_prog_gnu_ld" = yes; then
4796    case `/usr/bin/file conftest.$ac_objext` in
4797    *32-bit*)
4798      LD="${LD-ld} -melf32bsmip"
4799      ;;
4800    *N32*)
4801      LD="${LD-ld} -melf32bmipn32"
4802      ;;
4803    *64-bit*)
4804      LD="${LD-ld} -melf64bmip"
4805      ;;
4806    esac
4807   else
4808    case `/usr/bin/file conftest.$ac_objext` in
4809    *32-bit*)
4810      LD="${LD-ld} -32"
4811      ;;
4812    *N32*)
4813      LD="${LD-ld} -n32"
4814      ;;
4815    *64-bit*)
4816      LD="${LD-ld} -64"
4817      ;;
4818    esac
4819   fi
4820  fi
4821  rm -rf conftest*
4822  ;;
4823
4824x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4825s390*-*linux*|sparc*-*linux*)
4826  # Find out which ABI we are using.
4827  echo 'int i;' > conftest.$ac_ext
4828  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4829  (eval $ac_compile) 2>&5
4830  ac_status=$?
4831  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832  (exit $ac_status); }; then
4833    case `/usr/bin/file conftest.o` in
4834    *32-bit*)
4835      case $host in
4836        x86_64-*kfreebsd*-gnu)
4837          LD="${LD-ld} -m elf_i386_fbsd"
4838          ;;
4839        x86_64-*linux*)
4840          LD="${LD-ld} -m elf_i386"
4841          ;;
4842        ppc64-*linux*|powerpc64-*linux*)
4843          LD="${LD-ld} -m elf32ppclinux"
4844          ;;
4845        s390x-*linux*)
4846          LD="${LD-ld} -m elf_s390"
4847          ;;
4848        sparc64-*linux*)
4849          LD="${LD-ld} -m elf32_sparc"
4850          ;;
4851      esac
4852      ;;
4853    *64-bit*)
4854      libsuff=64
4855      case $host in
4856        x86_64-*kfreebsd*-gnu)
4857          LD="${LD-ld} -m elf_x86_64_fbsd"
4858          ;;
4859        x86_64-*linux*)
4860          LD="${LD-ld} -m elf_x86_64"
4861          ;;
4862        ppc*-*linux*|powerpc*-*linux*)
4863          LD="${LD-ld} -m elf64ppc"
4864          ;;
4865        s390*-*linux*)
4866          LD="${LD-ld} -m elf64_s390"
4867          ;;
4868        sparc*-*linux*)
4869          LD="${LD-ld} -m elf64_sparc"
4870          ;;
4871      esac
4872      ;;
4873    esac
4874  fi
4875  rm -rf conftest*
4876  ;;
4877
4878*-*-sco3.2v5*)
4879  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4880  SAVE_CFLAGS="$CFLAGS"
4881  CFLAGS="$CFLAGS -belf"
4882  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4883$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4884if test "${lt_cv_cc_needs_belf+set}" = set; then
4885  $as_echo_n "(cached) " >&6
4886else
4887  ac_ext=c
4888ac_cpp='$CPP $CPPFLAGS'
4889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4890ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4891ac_compiler_gnu=$ac_cv_c_compiler_gnu
4892
4893     cat >conftest.$ac_ext <<_ACEOF
4894/* confdefs.h.  */
4895_ACEOF
4896cat confdefs.h >>conftest.$ac_ext
4897cat >>conftest.$ac_ext <<_ACEOF
4898/* end confdefs.h.  */
4899
4900int
4901main ()
4902{
4903
4904  ;
4905  return 0;
4906}
4907_ACEOF
4908rm -f conftest.$ac_objext conftest$ac_exeext
4909if { (ac_try="$ac_link"
4910case "(($ac_try" in
4911  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4912  *) ac_try_echo=$ac_try;;
4913esac
4914eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4915$as_echo "$ac_try_echo") >&5
4916  (eval "$ac_link") 2>conftest.er1
4917  ac_status=$?
4918  grep -v '^ *+' conftest.er1 >conftest.err
4919  rm -f conftest.er1
4920  cat conftest.err >&5
4921  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922  (exit $ac_status); } && {
4923	 test -z "$ac_c_werror_flag" ||
4924	 test ! -s conftest.err
4925       } && test -s conftest$ac_exeext && {
4926	 test "$cross_compiling" = yes ||
4927	 $as_test_x conftest$ac_exeext
4928       }; then
4929  lt_cv_cc_needs_belf=yes
4930else
4931  $as_echo "$as_me: failed program was:" >&5
4932sed 's/^/| /' conftest.$ac_ext >&5
4933
4934	lt_cv_cc_needs_belf=no
4935fi
4936
4937rm -rf conftest.dSYM
4938rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4939      conftest$ac_exeext conftest.$ac_ext
4940     ac_ext=c
4941ac_cpp='$CPP $CPPFLAGS'
4942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4944ac_compiler_gnu=$ac_cv_c_compiler_gnu
4945
4946fi
4947{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4948$as_echo "$lt_cv_cc_needs_belf" >&6; }
4949  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4950    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4951    CFLAGS="$SAVE_CFLAGS"
4952  fi
4953  ;;
4954sparc*-*solaris*)
4955  # Find out which ABI we are using.
4956  echo 'int i;' > conftest.$ac_ext
4957  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4958  (eval $ac_compile) 2>&5
4959  ac_status=$?
4960  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961  (exit $ac_status); }; then
4962    case `/usr/bin/file conftest.o` in
4963    *64-bit*)
4964      case $lt_cv_prog_gnu_ld in
4965      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4966      *)
4967        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4968	  LD="${LD-ld} -64"
4969	fi
4970	;;
4971      esac
4972      ;;
4973    esac
4974  fi
4975  rm -rf conftest*
4976  ;;
4977
4978*-*-cygwin* | *-*-mingw* | *-*-pw32*)
4979  if test -n "$ac_tool_prefix"; then
4980  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4981set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4982{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4983$as_echo_n "checking for $ac_word... " >&6; }
4984if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4985  $as_echo_n "(cached) " >&6
4986else
4987  if test -n "$DLLTOOL"; then
4988  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4989else
4990as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991for as_dir in $PATH
4992do
4993  IFS=$as_save_IFS
4994  test -z "$as_dir" && as_dir=.
4995  for ac_exec_ext in '' $ac_executable_extensions; do
4996  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4997    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4998    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4999    break 2
5000  fi
5001done
5002done
5003IFS=$as_save_IFS
5004
5005fi
5006fi
5007DLLTOOL=$ac_cv_prog_DLLTOOL
5008if test -n "$DLLTOOL"; then
5009  { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5010$as_echo "$DLLTOOL" >&6; }
5011else
5012  { $as_echo "$as_me:$LINENO: result: no" >&5
5013$as_echo "no" >&6; }
5014fi
5015
5016
5017fi
5018if test -z "$ac_cv_prog_DLLTOOL"; then
5019  ac_ct_DLLTOOL=$DLLTOOL
5020  # Extract the first word of "dlltool", so it can be a program name with args.
5021set dummy dlltool; ac_word=$2
5022{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5023$as_echo_n "checking for $ac_word... " >&6; }
5024if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5025  $as_echo_n "(cached) " >&6
5026else
5027  if test -n "$ac_ct_DLLTOOL"; then
5028  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5029else
5030as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031for as_dir in $PATH
5032do
5033  IFS=$as_save_IFS
5034  test -z "$as_dir" && as_dir=.
5035  for ac_exec_ext in '' $ac_executable_extensions; do
5036  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5037    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5038    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5039    break 2
5040  fi
5041done
5042done
5043IFS=$as_save_IFS
5044
5045fi
5046fi
5047ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5048if test -n "$ac_ct_DLLTOOL"; then
5049  { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
5050$as_echo "$ac_ct_DLLTOOL" >&6; }
5051else
5052  { $as_echo "$as_me:$LINENO: result: no" >&5
5053$as_echo "no" >&6; }
5054fi
5055
5056  if test "x$ac_ct_DLLTOOL" = x; then
5057    DLLTOOL="false"
5058  else
5059    case $cross_compiling:$ac_tool_warned in
5060yes:)
5061{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5062whose name does not start with the host triplet.  If you think this
5063configuration is useful to you, please write to autoconf@gnu.org." >&5
5064$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5065whose name does not start with the host triplet.  If you think this
5066configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5067ac_tool_warned=yes ;;
5068esac
5069    DLLTOOL=$ac_ct_DLLTOOL
5070  fi
5071else
5072  DLLTOOL="$ac_cv_prog_DLLTOOL"
5073fi
5074
5075  if test -n "$ac_tool_prefix"; then
5076  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5077set dummy ${ac_tool_prefix}as; ac_word=$2
5078{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5079$as_echo_n "checking for $ac_word... " >&6; }
5080if test "${ac_cv_prog_AS+set}" = set; then
5081  $as_echo_n "(cached) " >&6
5082else
5083  if test -n "$AS"; then
5084  ac_cv_prog_AS="$AS" # Let the user override the test.
5085else
5086as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087for as_dir in $PATH
5088do
5089  IFS=$as_save_IFS
5090  test -z "$as_dir" && as_dir=.
5091  for ac_exec_ext in '' $ac_executable_extensions; do
5092  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5093    ac_cv_prog_AS="${ac_tool_prefix}as"
5094    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5095    break 2
5096  fi
5097done
5098done
5099IFS=$as_save_IFS
5100
5101fi
5102fi
5103AS=$ac_cv_prog_AS
5104if test -n "$AS"; then
5105  { $as_echo "$as_me:$LINENO: result: $AS" >&5
5106$as_echo "$AS" >&6; }
5107else
5108  { $as_echo "$as_me:$LINENO: result: no" >&5
5109$as_echo "no" >&6; }
5110fi
5111
5112
5113fi
5114if test -z "$ac_cv_prog_AS"; then
5115  ac_ct_AS=$AS
5116  # Extract the first word of "as", so it can be a program name with args.
5117set dummy as; ac_word=$2
5118{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5119$as_echo_n "checking for $ac_word... " >&6; }
5120if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5121  $as_echo_n "(cached) " >&6
5122else
5123  if test -n "$ac_ct_AS"; then
5124  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5125else
5126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127for as_dir in $PATH
5128do
5129  IFS=$as_save_IFS
5130  test -z "$as_dir" && as_dir=.
5131  for ac_exec_ext in '' $ac_executable_extensions; do
5132  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133    ac_cv_prog_ac_ct_AS="as"
5134    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5135    break 2
5136  fi
5137done
5138done
5139IFS=$as_save_IFS
5140
5141fi
5142fi
5143ac_ct_AS=$ac_cv_prog_ac_ct_AS
5144if test -n "$ac_ct_AS"; then
5145  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5146$as_echo "$ac_ct_AS" >&6; }
5147else
5148  { $as_echo "$as_me:$LINENO: result: no" >&5
5149$as_echo "no" >&6; }
5150fi
5151
5152  if test "x$ac_ct_AS" = x; then
5153    AS="false"
5154  else
5155    case $cross_compiling:$ac_tool_warned in
5156yes:)
5157{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5158whose name does not start with the host triplet.  If you think this
5159configuration is useful to you, please write to autoconf@gnu.org." >&5
5160$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5161whose name does not start with the host triplet.  If you think this
5162configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5163ac_tool_warned=yes ;;
5164esac
5165    AS=$ac_ct_AS
5166  fi
5167else
5168  AS="$ac_cv_prog_AS"
5169fi
5170
5171  if test -n "$ac_tool_prefix"; then
5172  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5173set dummy ${ac_tool_prefix}objdump; ac_word=$2
5174{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5175$as_echo_n "checking for $ac_word... " >&6; }
5176if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5177  $as_echo_n "(cached) " >&6
5178else
5179  if test -n "$OBJDUMP"; then
5180  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5181else
5182as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183for as_dir in $PATH
5184do
5185  IFS=$as_save_IFS
5186  test -z "$as_dir" && as_dir=.
5187  for ac_exec_ext in '' $ac_executable_extensions; do
5188  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5189    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5190    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5191    break 2
5192  fi
5193done
5194done
5195IFS=$as_save_IFS
5196
5197fi
5198fi
5199OBJDUMP=$ac_cv_prog_OBJDUMP
5200if test -n "$OBJDUMP"; then
5201  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5202$as_echo "$OBJDUMP" >&6; }
5203else
5204  { $as_echo "$as_me:$LINENO: result: no" >&5
5205$as_echo "no" >&6; }
5206fi
5207
5208
5209fi
5210if test -z "$ac_cv_prog_OBJDUMP"; then
5211  ac_ct_OBJDUMP=$OBJDUMP
5212  # Extract the first word of "objdump", so it can be a program name with args.
5213set dummy objdump; ac_word=$2
5214{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5215$as_echo_n "checking for $ac_word... " >&6; }
5216if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5217  $as_echo_n "(cached) " >&6
5218else
5219  if test -n "$ac_ct_OBJDUMP"; then
5220  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5221else
5222as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223for as_dir in $PATH
5224do
5225  IFS=$as_save_IFS
5226  test -z "$as_dir" && as_dir=.
5227  for ac_exec_ext in '' $ac_executable_extensions; do
5228  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5229    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5230    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5231    break 2
5232  fi
5233done
5234done
5235IFS=$as_save_IFS
5236
5237fi
5238fi
5239ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5240if test -n "$ac_ct_OBJDUMP"; then
5241  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5242$as_echo "$ac_ct_OBJDUMP" >&6; }
5243else
5244  { $as_echo "$as_me:$LINENO: result: no" >&5
5245$as_echo "no" >&6; }
5246fi
5247
5248  if test "x$ac_ct_OBJDUMP" = x; then
5249    OBJDUMP="false"
5250  else
5251    case $cross_compiling:$ac_tool_warned in
5252yes:)
5253{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5254whose name does not start with the host triplet.  If you think this
5255configuration is useful to you, please write to autoconf@gnu.org." >&5
5256$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5257whose name does not start with the host triplet.  If you think this
5258configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5259ac_tool_warned=yes ;;
5260esac
5261    OBJDUMP=$ac_ct_OBJDUMP
5262  fi
5263else
5264  OBJDUMP="$ac_cv_prog_OBJDUMP"
5265fi
5266
5267  ;;
5268
5269esac
5270
5271need_locks="$enable_libtool_lock"
5272
5273
5274
5275{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5276$as_echo_n "checking for ANSI C header files... " >&6; }
5277if test "${ac_cv_header_stdc+set}" = set; then
5278  $as_echo_n "(cached) " >&6
5279else
5280  cat >conftest.$ac_ext <<_ACEOF
5281/* confdefs.h.  */
5282_ACEOF
5283cat confdefs.h >>conftest.$ac_ext
5284cat >>conftest.$ac_ext <<_ACEOF
5285/* end confdefs.h.  */
5286#include <stdlib.h>
5287#include <stdarg.h>
5288#include <string.h>
5289#include <float.h>
5290
5291int
5292main ()
5293{
5294
5295  ;
5296  return 0;
5297}
5298_ACEOF
5299rm -f conftest.$ac_objext
5300if { (ac_try="$ac_compile"
5301case "(($ac_try" in
5302  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5303  *) ac_try_echo=$ac_try;;
5304esac
5305eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5306$as_echo "$ac_try_echo") >&5
5307  (eval "$ac_compile") 2>conftest.er1
5308  ac_status=$?
5309  grep -v '^ *+' conftest.er1 >conftest.err
5310  rm -f conftest.er1
5311  cat conftest.err >&5
5312  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313  (exit $ac_status); } && {
5314	 test -z "$ac_c_werror_flag" ||
5315	 test ! -s conftest.err
5316       } && test -s conftest.$ac_objext; then
5317  ac_cv_header_stdc=yes
5318else
5319  $as_echo "$as_me: failed program was:" >&5
5320sed 's/^/| /' conftest.$ac_ext >&5
5321
5322	ac_cv_header_stdc=no
5323fi
5324
5325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5326
5327if test $ac_cv_header_stdc = yes; then
5328  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5329  cat >conftest.$ac_ext <<_ACEOF
5330/* confdefs.h.  */
5331_ACEOF
5332cat confdefs.h >>conftest.$ac_ext
5333cat >>conftest.$ac_ext <<_ACEOF
5334/* end confdefs.h.  */
5335#include <string.h>
5336
5337_ACEOF
5338if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5339  $EGREP "memchr" >/dev/null 2>&1; then
5340  :
5341else
5342  ac_cv_header_stdc=no
5343fi
5344rm -f conftest*
5345
5346fi
5347
5348if test $ac_cv_header_stdc = yes; then
5349  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5350  cat >conftest.$ac_ext <<_ACEOF
5351/* confdefs.h.  */
5352_ACEOF
5353cat confdefs.h >>conftest.$ac_ext
5354cat >>conftest.$ac_ext <<_ACEOF
5355/* end confdefs.h.  */
5356#include <stdlib.h>
5357
5358_ACEOF
5359if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5360  $EGREP "free" >/dev/null 2>&1; then
5361  :
5362else
5363  ac_cv_header_stdc=no
5364fi
5365rm -f conftest*
5366
5367fi
5368
5369if test $ac_cv_header_stdc = yes; then
5370  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5371  if test "$cross_compiling" = yes; then
5372  :
5373else
5374  cat >conftest.$ac_ext <<_ACEOF
5375/* confdefs.h.  */
5376_ACEOF
5377cat confdefs.h >>conftest.$ac_ext
5378cat >>conftest.$ac_ext <<_ACEOF
5379/* end confdefs.h.  */
5380#include <ctype.h>
5381#include <stdlib.h>
5382#if ((' ' & 0x0FF) == 0x020)
5383# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5384# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5385#else
5386# define ISLOWER(c) \
5387		   (('a' <= (c) && (c) <= 'i') \
5388		     || ('j' <= (c) && (c) <= 'r') \
5389		     || ('s' <= (c) && (c) <= 'z'))
5390# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5391#endif
5392
5393#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5394int
5395main ()
5396{
5397  int i;
5398  for (i = 0; i < 256; i++)
5399    if (XOR (islower (i), ISLOWER (i))
5400	|| toupper (i) != TOUPPER (i))
5401      return 2;
5402  return 0;
5403}
5404_ACEOF
5405rm -f conftest$ac_exeext
5406if { (ac_try="$ac_link"
5407case "(($ac_try" in
5408  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5409  *) ac_try_echo=$ac_try;;
5410esac
5411eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5412$as_echo "$ac_try_echo") >&5
5413  (eval "$ac_link") 2>&5
5414  ac_status=$?
5415  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5417  { (case "(($ac_try" in
5418  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5419  *) ac_try_echo=$ac_try;;
5420esac
5421eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5422$as_echo "$ac_try_echo") >&5
5423  (eval "$ac_try") 2>&5
5424  ac_status=$?
5425  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426  (exit $ac_status); }; }; then
5427  :
5428else
5429  $as_echo "$as_me: program exited with status $ac_status" >&5
5430$as_echo "$as_me: failed program was:" >&5
5431sed 's/^/| /' conftest.$ac_ext >&5
5432
5433( exit $ac_status )
5434ac_cv_header_stdc=no
5435fi
5436rm -rf conftest.dSYM
5437rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5438fi
5439
5440
5441fi
5442fi
5443{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5444$as_echo "$ac_cv_header_stdc" >&6; }
5445if test $ac_cv_header_stdc = yes; then
5446
5447cat >>confdefs.h <<\_ACEOF
5448#define STDC_HEADERS 1
5449_ACEOF
5450
5451fi
5452
5453# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5464		  inttypes.h stdint.h unistd.h
5465do
5466as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5467{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5468$as_echo_n "checking for $ac_header... " >&6; }
5469if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5470  $as_echo_n "(cached) " >&6
5471else
5472  cat >conftest.$ac_ext <<_ACEOF
5473/* confdefs.h.  */
5474_ACEOF
5475cat confdefs.h >>conftest.$ac_ext
5476cat >>conftest.$ac_ext <<_ACEOF
5477/* end confdefs.h.  */
5478$ac_includes_default
5479
5480#include <$ac_header>
5481_ACEOF
5482rm -f conftest.$ac_objext
5483if { (ac_try="$ac_compile"
5484case "(($ac_try" in
5485  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5486  *) ac_try_echo=$ac_try;;
5487esac
5488eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5489$as_echo "$ac_try_echo") >&5
5490  (eval "$ac_compile") 2>conftest.er1
5491  ac_status=$?
5492  grep -v '^ *+' conftest.er1 >conftest.err
5493  rm -f conftest.er1
5494  cat conftest.err >&5
5495  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496  (exit $ac_status); } && {
5497	 test -z "$ac_c_werror_flag" ||
5498	 test ! -s conftest.err
5499       } && test -s conftest.$ac_objext; then
5500  eval "$as_ac_Header=yes"
5501else
5502  $as_echo "$as_me: failed program was:" >&5
5503sed 's/^/| /' conftest.$ac_ext >&5
5504
5505	eval "$as_ac_Header=no"
5506fi
5507
5508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5509fi
5510ac_res=`eval 'as_val=${'$as_ac_Header'}
5511		 $as_echo "$as_val"'`
5512	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5513$as_echo "$ac_res" >&6; }
5514if test `eval 'as_val=${'$as_ac_Header'}
5515		 $as_echo "$as_val"'` = yes; then
5516  cat >>confdefs.h <<_ACEOF
5517#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5518_ACEOF
5519
5520fi
5521
5522done
5523
5524
5525
5526for ac_header in dlfcn.h
5527do
5528as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5529if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5530  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5531$as_echo_n "checking for $ac_header... " >&6; }
5532if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5533  $as_echo_n "(cached) " >&6
5534fi
5535ac_res=`eval 'as_val=${'$as_ac_Header'}
5536		 $as_echo "$as_val"'`
5537	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5538$as_echo "$ac_res" >&6; }
5539else
5540  # Is the header compilable?
5541{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5542$as_echo_n "checking $ac_header usability... " >&6; }
5543cat >conftest.$ac_ext <<_ACEOF
5544/* confdefs.h.  */
5545_ACEOF
5546cat confdefs.h >>conftest.$ac_ext
5547cat >>conftest.$ac_ext <<_ACEOF
5548/* end confdefs.h.  */
5549$ac_includes_default
5550#include <$ac_header>
5551_ACEOF
5552rm -f conftest.$ac_objext
5553if { (ac_try="$ac_compile"
5554case "(($ac_try" in
5555  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5556  *) ac_try_echo=$ac_try;;
5557esac
5558eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5559$as_echo "$ac_try_echo") >&5
5560  (eval "$ac_compile") 2>conftest.er1
5561  ac_status=$?
5562  grep -v '^ *+' conftest.er1 >conftest.err
5563  rm -f conftest.er1
5564  cat conftest.err >&5
5565  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566  (exit $ac_status); } && {
5567	 test -z "$ac_c_werror_flag" ||
5568	 test ! -s conftest.err
5569       } && test -s conftest.$ac_objext; then
5570  ac_header_compiler=yes
5571else
5572  $as_echo "$as_me: failed program was:" >&5
5573sed 's/^/| /' conftest.$ac_ext >&5
5574
5575	ac_header_compiler=no
5576fi
5577
5578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5579{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5580$as_echo "$ac_header_compiler" >&6; }
5581
5582# Is the header present?
5583{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5584$as_echo_n "checking $ac_header presence... " >&6; }
5585cat >conftest.$ac_ext <<_ACEOF
5586/* confdefs.h.  */
5587_ACEOF
5588cat confdefs.h >>conftest.$ac_ext
5589cat >>conftest.$ac_ext <<_ACEOF
5590/* end confdefs.h.  */
5591#include <$ac_header>
5592_ACEOF
5593if { (ac_try="$ac_cpp conftest.$ac_ext"
5594case "(($ac_try" in
5595  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5596  *) ac_try_echo=$ac_try;;
5597esac
5598eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5599$as_echo "$ac_try_echo") >&5
5600  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5601  ac_status=$?
5602  grep -v '^ *+' conftest.er1 >conftest.err
5603  rm -f conftest.er1
5604  cat conftest.err >&5
5605  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606  (exit $ac_status); } >/dev/null && {
5607	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5608	 test ! -s conftest.err
5609       }; then
5610  ac_header_preproc=yes
5611else
5612  $as_echo "$as_me: failed program was:" >&5
5613sed 's/^/| /' conftest.$ac_ext >&5
5614
5615  ac_header_preproc=no
5616fi
5617
5618rm -f conftest.err conftest.$ac_ext
5619{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5620$as_echo "$ac_header_preproc" >&6; }
5621
5622# So?  What about this header?
5623case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5624  yes:no: )
5625    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5626$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5627    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5628$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5629    ac_header_preproc=yes
5630    ;;
5631  no:yes:* )
5632    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5633$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5634    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5635$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5636    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5637$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5638    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5639$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5640    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5641$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5642    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5643$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5644
5645    ;;
5646esac
5647{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5648$as_echo_n "checking for $ac_header... " >&6; }
5649if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5650  $as_echo_n "(cached) " >&6
5651else
5652  eval "$as_ac_Header=\$ac_header_preproc"
5653fi
5654ac_res=`eval 'as_val=${'$as_ac_Header'}
5655		 $as_echo "$as_val"'`
5656	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5657$as_echo "$ac_res" >&6; }
5658
5659fi
5660if test `eval 'as_val=${'$as_ac_Header'}
5661		 $as_echo "$as_val"'` = yes; then
5662  cat >>confdefs.h <<_ACEOF
5663#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5664_ACEOF
5665
5666fi
5667
5668done
5669
5670ac_ext=cpp
5671ac_cpp='$CXXCPP $CPPFLAGS'
5672ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5673ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5674ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5675if test -z "$CXX"; then
5676  if test -n "$CCC"; then
5677    CXX=$CCC
5678  else
5679    if test -n "$ac_tool_prefix"; then
5680  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5681  do
5682    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5683set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5684{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5685$as_echo_n "checking for $ac_word... " >&6; }
5686if test "${ac_cv_prog_CXX+set}" = set; then
5687  $as_echo_n "(cached) " >&6
5688else
5689  if test -n "$CXX"; then
5690  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5691else
5692as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693for as_dir in $PATH
5694do
5695  IFS=$as_save_IFS
5696  test -z "$as_dir" && as_dir=.
5697  for ac_exec_ext in '' $ac_executable_extensions; do
5698  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5699    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5700    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5701    break 2
5702  fi
5703done
5704done
5705IFS=$as_save_IFS
5706
5707fi
5708fi
5709CXX=$ac_cv_prog_CXX
5710if test -n "$CXX"; then
5711  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
5712$as_echo "$CXX" >&6; }
5713else
5714  { $as_echo "$as_me:$LINENO: result: no" >&5
5715$as_echo "no" >&6; }
5716fi
5717
5718
5719    test -n "$CXX" && break
5720  done
5721fi
5722if test -z "$CXX"; then
5723  ac_ct_CXX=$CXX
5724  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5725do
5726  # Extract the first word of "$ac_prog", so it can be a program name with args.
5727set dummy $ac_prog; ac_word=$2
5728{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5729$as_echo_n "checking for $ac_word... " >&6; }
5730if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5731  $as_echo_n "(cached) " >&6
5732else
5733  if test -n "$ac_ct_CXX"; then
5734  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5735else
5736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737for as_dir in $PATH
5738do
5739  IFS=$as_save_IFS
5740  test -z "$as_dir" && as_dir=.
5741  for ac_exec_ext in '' $ac_executable_extensions; do
5742  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5743    ac_cv_prog_ac_ct_CXX="$ac_prog"
5744    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5745    break 2
5746  fi
5747done
5748done
5749IFS=$as_save_IFS
5750
5751fi
5752fi
5753ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5754if test -n "$ac_ct_CXX"; then
5755  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5756$as_echo "$ac_ct_CXX" >&6; }
5757else
5758  { $as_echo "$as_me:$LINENO: result: no" >&5
5759$as_echo "no" >&6; }
5760fi
5761
5762
5763  test -n "$ac_ct_CXX" && break
5764done
5765
5766  if test "x$ac_ct_CXX" = x; then
5767    CXX="g++"
5768  else
5769    case $cross_compiling:$ac_tool_warned in
5770yes:)
5771{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5772whose name does not start with the host triplet.  If you think this
5773configuration is useful to you, please write to autoconf@gnu.org." >&5
5774$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5775whose name does not start with the host triplet.  If you think this
5776configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5777ac_tool_warned=yes ;;
5778esac
5779    CXX=$ac_ct_CXX
5780  fi
5781fi
5782
5783  fi
5784fi
5785# Provide some information about the compiler.
5786$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5787set X $ac_compile
5788ac_compiler=$2
5789{ (ac_try="$ac_compiler --version >&5"
5790case "(($ac_try" in
5791  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5792  *) ac_try_echo=$ac_try;;
5793esac
5794eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5795$as_echo "$ac_try_echo") >&5
5796  (eval "$ac_compiler --version >&5") 2>&5
5797  ac_status=$?
5798  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799  (exit $ac_status); }
5800{ (ac_try="$ac_compiler -v >&5"
5801case "(($ac_try" in
5802  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5803  *) ac_try_echo=$ac_try;;
5804esac
5805eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5806$as_echo "$ac_try_echo") >&5
5807  (eval "$ac_compiler -v >&5") 2>&5
5808  ac_status=$?
5809  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810  (exit $ac_status); }
5811{ (ac_try="$ac_compiler -V >&5"
5812case "(($ac_try" in
5813  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5814  *) ac_try_echo=$ac_try;;
5815esac
5816eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5817$as_echo "$ac_try_echo") >&5
5818  (eval "$ac_compiler -V >&5") 2>&5
5819  ac_status=$?
5820  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821  (exit $ac_status); }
5822
5823{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5824$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5825if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5826  $as_echo_n "(cached) " >&6
5827else
5828  cat >conftest.$ac_ext <<_ACEOF
5829/* confdefs.h.  */
5830_ACEOF
5831cat confdefs.h >>conftest.$ac_ext
5832cat >>conftest.$ac_ext <<_ACEOF
5833/* end confdefs.h.  */
5834
5835int
5836main ()
5837{
5838#ifndef __GNUC__
5839       choke me
5840#endif
5841
5842  ;
5843  return 0;
5844}
5845_ACEOF
5846rm -f conftest.$ac_objext
5847if { (ac_try="$ac_compile"
5848case "(($ac_try" in
5849  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5850  *) ac_try_echo=$ac_try;;
5851esac
5852eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5853$as_echo "$ac_try_echo") >&5
5854  (eval "$ac_compile") 2>conftest.er1
5855  ac_status=$?
5856  grep -v '^ *+' conftest.er1 >conftest.err
5857  rm -f conftest.er1
5858  cat conftest.err >&5
5859  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860  (exit $ac_status); } && {
5861	 test -z "$ac_cxx_werror_flag" ||
5862	 test ! -s conftest.err
5863       } && test -s conftest.$ac_objext; then
5864  ac_compiler_gnu=yes
5865else
5866  $as_echo "$as_me: failed program was:" >&5
5867sed 's/^/| /' conftest.$ac_ext >&5
5868
5869	ac_compiler_gnu=no
5870fi
5871
5872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5873ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5874
5875fi
5876{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5877$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5878if test $ac_compiler_gnu = yes; then
5879  GXX=yes
5880else
5881  GXX=
5882fi
5883ac_test_CXXFLAGS=${CXXFLAGS+set}
5884ac_save_CXXFLAGS=$CXXFLAGS
5885{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5886$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5887if test "${ac_cv_prog_cxx_g+set}" = set; then
5888  $as_echo_n "(cached) " >&6
5889else
5890  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5891   ac_cxx_werror_flag=yes
5892   ac_cv_prog_cxx_g=no
5893   CXXFLAGS="-g"
5894   cat >conftest.$ac_ext <<_ACEOF
5895/* confdefs.h.  */
5896_ACEOF
5897cat confdefs.h >>conftest.$ac_ext
5898cat >>conftest.$ac_ext <<_ACEOF
5899/* end confdefs.h.  */
5900
5901int
5902main ()
5903{
5904
5905  ;
5906  return 0;
5907}
5908_ACEOF
5909rm -f conftest.$ac_objext
5910if { (ac_try="$ac_compile"
5911case "(($ac_try" in
5912  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5913  *) ac_try_echo=$ac_try;;
5914esac
5915eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5916$as_echo "$ac_try_echo") >&5
5917  (eval "$ac_compile") 2>conftest.er1
5918  ac_status=$?
5919  grep -v '^ *+' conftest.er1 >conftest.err
5920  rm -f conftest.er1
5921  cat conftest.err >&5
5922  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923  (exit $ac_status); } && {
5924	 test -z "$ac_cxx_werror_flag" ||
5925	 test ! -s conftest.err
5926       } && test -s conftest.$ac_objext; then
5927  ac_cv_prog_cxx_g=yes
5928else
5929  $as_echo "$as_me: failed program was:" >&5
5930sed 's/^/| /' conftest.$ac_ext >&5
5931
5932	CXXFLAGS=""
5933      cat >conftest.$ac_ext <<_ACEOF
5934/* confdefs.h.  */
5935_ACEOF
5936cat confdefs.h >>conftest.$ac_ext
5937cat >>conftest.$ac_ext <<_ACEOF
5938/* end confdefs.h.  */
5939
5940int
5941main ()
5942{
5943
5944  ;
5945  return 0;
5946}
5947_ACEOF
5948rm -f conftest.$ac_objext
5949if { (ac_try="$ac_compile"
5950case "(($ac_try" in
5951  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5952  *) ac_try_echo=$ac_try;;
5953esac
5954eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5955$as_echo "$ac_try_echo") >&5
5956  (eval "$ac_compile") 2>conftest.er1
5957  ac_status=$?
5958  grep -v '^ *+' conftest.er1 >conftest.err
5959  rm -f conftest.er1
5960  cat conftest.err >&5
5961  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962  (exit $ac_status); } && {
5963	 test -z "$ac_cxx_werror_flag" ||
5964	 test ! -s conftest.err
5965       } && test -s conftest.$ac_objext; then
5966  :
5967else
5968  $as_echo "$as_me: failed program was:" >&5
5969sed 's/^/| /' conftest.$ac_ext >&5
5970
5971	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5972	 CXXFLAGS="-g"
5973	 cat >conftest.$ac_ext <<_ACEOF
5974/* confdefs.h.  */
5975_ACEOF
5976cat confdefs.h >>conftest.$ac_ext
5977cat >>conftest.$ac_ext <<_ACEOF
5978/* end confdefs.h.  */
5979
5980int
5981main ()
5982{
5983
5984  ;
5985  return 0;
5986}
5987_ACEOF
5988rm -f conftest.$ac_objext
5989if { (ac_try="$ac_compile"
5990case "(($ac_try" in
5991  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5992  *) ac_try_echo=$ac_try;;
5993esac
5994eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5995$as_echo "$ac_try_echo") >&5
5996  (eval "$ac_compile") 2>conftest.er1
5997  ac_status=$?
5998  grep -v '^ *+' conftest.er1 >conftest.err
5999  rm -f conftest.er1
6000  cat conftest.err >&5
6001  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002  (exit $ac_status); } && {
6003	 test -z "$ac_cxx_werror_flag" ||
6004	 test ! -s conftest.err
6005       } && test -s conftest.$ac_objext; then
6006  ac_cv_prog_cxx_g=yes
6007else
6008  $as_echo "$as_me: failed program was:" >&5
6009sed 's/^/| /' conftest.$ac_ext >&5
6010
6011
6012fi
6013
6014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6015fi
6016
6017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6018fi
6019
6020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6021   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6022fi
6023{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6024$as_echo "$ac_cv_prog_cxx_g" >&6; }
6025if test "$ac_test_CXXFLAGS" = set; then
6026  CXXFLAGS=$ac_save_CXXFLAGS
6027elif test $ac_cv_prog_cxx_g = yes; then
6028  if test "$GXX" = yes; then
6029    CXXFLAGS="-g -O2"
6030  else
6031    CXXFLAGS="-g"
6032  fi
6033else
6034  if test "$GXX" = yes; then
6035    CXXFLAGS="-O2"
6036  else
6037    CXXFLAGS=
6038  fi
6039fi
6040ac_ext=cpp
6041ac_cpp='$CXXCPP $CPPFLAGS'
6042ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6043ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6044ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6045
6046depcc="$CXX"  am_compiler_list=
6047
6048{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6049$as_echo_n "checking dependency style of $depcc... " >&6; }
6050if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6051  $as_echo_n "(cached) " >&6
6052else
6053  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6054  # We make a subdir and do the tests there.  Otherwise we can end up
6055  # making bogus files that we don't know about and never remove.  For
6056  # instance it was reported that on HP-UX the gcc test will end up
6057  # making a dummy file named `D' -- because `-MD' means `put the output
6058  # in D'.
6059  mkdir conftest.dir
6060  # Copy depcomp to subdir because otherwise we won't find it if we're
6061  # using a relative directory.
6062  cp "$am_depcomp" conftest.dir
6063  cd conftest.dir
6064  # We will build objects and dependencies in a subdirectory because
6065  # it helps to detect inapplicable dependency modes.  For instance
6066  # both Tru64's cc and ICC support -MD to output dependencies as a
6067  # side effect of compilation, but ICC will put the dependencies in
6068  # the current directory while Tru64 will put them in the object
6069  # directory.
6070  mkdir sub
6071
6072  am_cv_CXX_dependencies_compiler_type=none
6073  if test "$am_compiler_list" = ""; then
6074     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6075  fi
6076  for depmode in $am_compiler_list; do
6077    # Setup a source with many dependencies, because some compilers
6078    # like to wrap large dependency lists on column 80 (with \), and
6079    # we should not choose a depcomp mode which is confused by this.
6080    #
6081    # We need to recreate these files for each test, as the compiler may
6082    # overwrite some of them when testing with obscure command lines.
6083    # This happens at least with the AIX C compiler.
6084    : > sub/conftest.c
6085    for i in 1 2 3 4 5 6; do
6086      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6087      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6088      # Solaris 8's {/usr,}/bin/sh.
6089      touch sub/conftst$i.h
6090    done
6091    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6092
6093    case $depmode in
6094    nosideeffect)
6095      # after this tag, mechanisms are not by side-effect, so they'll
6096      # only be used when explicitly requested
6097      if test "x$enable_dependency_tracking" = xyes; then
6098	continue
6099      else
6100	break
6101      fi
6102      ;;
6103    none) break ;;
6104    esac
6105    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6106    # mode.  It turns out that the SunPro C++ compiler does not properly
6107    # handle `-M -o', and we need to detect this.
6108    if depmode=$depmode \
6109       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6110       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6111       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6112         >/dev/null 2>conftest.err &&
6113       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6114       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6115       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6116       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6117      # icc doesn't choke on unknown options, it will just issue warnings
6118      # or remarks (even with -Werror).  So we grep stderr for any message
6119      # that says an option was ignored or not supported.
6120      # When given -MP, icc 7.0 and 7.1 complain thusly:
6121      #   icc: Command line warning: ignoring option '-M'; no argument required
6122      # The diagnosis changed in icc 8.0:
6123      #   icc: Command line remark: option '-MP' not supported
6124      if (grep 'ignoring option' conftest.err ||
6125          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6126        am_cv_CXX_dependencies_compiler_type=$depmode
6127        break
6128      fi
6129    fi
6130  done
6131
6132  cd ..
6133  rm -rf conftest.dir
6134else
6135  am_cv_CXX_dependencies_compiler_type=none
6136fi
6137
6138fi
6139{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6140$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6141CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6142
6143 if
6144  test "x$enable_dependency_tracking" != xno \
6145  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6146  am__fastdepCXX_TRUE=
6147  am__fastdepCXX_FALSE='#'
6148else
6149  am__fastdepCXX_TRUE='#'
6150  am__fastdepCXX_FALSE=
6151fi
6152
6153
6154
6155
6156if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6157    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6158    (test "X$CXX" != "Xg++"))) ; then
6159  ac_ext=cpp
6160ac_cpp='$CXXCPP $CPPFLAGS'
6161ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6162ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6163ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6164{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6165$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6166if test -z "$CXXCPP"; then
6167  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6168  $as_echo_n "(cached) " >&6
6169else
6170      # Double quotes because CXXCPP needs to be expanded
6171    for CXXCPP in "$CXX -E" "/lib/cpp"
6172    do
6173      ac_preproc_ok=false
6174for ac_cxx_preproc_warn_flag in '' yes
6175do
6176  # Use a header file that comes with gcc, so configuring glibc
6177  # with a fresh cross-compiler works.
6178  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6179  # <limits.h> exists even on freestanding compilers.
6180  # On the NeXT, cc -E runs the code through the compiler's parser,
6181  # not just through cpp. "Syntax error" is here to catch this case.
6182  cat >conftest.$ac_ext <<_ACEOF
6183/* confdefs.h.  */
6184_ACEOF
6185cat confdefs.h >>conftest.$ac_ext
6186cat >>conftest.$ac_ext <<_ACEOF
6187/* end confdefs.h.  */
6188#ifdef __STDC__
6189# include <limits.h>
6190#else
6191# include <assert.h>
6192#endif
6193		     Syntax error
6194_ACEOF
6195if { (ac_try="$ac_cpp conftest.$ac_ext"
6196case "(($ac_try" in
6197  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6198  *) ac_try_echo=$ac_try;;
6199esac
6200eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6201$as_echo "$ac_try_echo") >&5
6202  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6203  ac_status=$?
6204  grep -v '^ *+' conftest.er1 >conftest.err
6205  rm -f conftest.er1
6206  cat conftest.err >&5
6207  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208  (exit $ac_status); } >/dev/null && {
6209	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6210	 test ! -s conftest.err
6211       }; then
6212  :
6213else
6214  $as_echo "$as_me: failed program was:" >&5
6215sed 's/^/| /' conftest.$ac_ext >&5
6216
6217  # Broken: fails on valid input.
6218continue
6219fi
6220
6221rm -f conftest.err conftest.$ac_ext
6222
6223  # OK, works on sane cases.  Now check whether nonexistent headers
6224  # can be detected and how.
6225  cat >conftest.$ac_ext <<_ACEOF
6226/* confdefs.h.  */
6227_ACEOF
6228cat confdefs.h >>conftest.$ac_ext
6229cat >>conftest.$ac_ext <<_ACEOF
6230/* end confdefs.h.  */
6231#include <ac_nonexistent.h>
6232_ACEOF
6233if { (ac_try="$ac_cpp conftest.$ac_ext"
6234case "(($ac_try" in
6235  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6236  *) ac_try_echo=$ac_try;;
6237esac
6238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6239$as_echo "$ac_try_echo") >&5
6240  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6241  ac_status=$?
6242  grep -v '^ *+' conftest.er1 >conftest.err
6243  rm -f conftest.er1
6244  cat conftest.err >&5
6245  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246  (exit $ac_status); } >/dev/null && {
6247	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6248	 test ! -s conftest.err
6249       }; then
6250  # Broken: success on invalid input.
6251continue
6252else
6253  $as_echo "$as_me: failed program was:" >&5
6254sed 's/^/| /' conftest.$ac_ext >&5
6255
6256  # Passes both tests.
6257ac_preproc_ok=:
6258break
6259fi
6260
6261rm -f conftest.err conftest.$ac_ext
6262
6263done
6264# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6265rm -f conftest.err conftest.$ac_ext
6266if $ac_preproc_ok; then
6267  break
6268fi
6269
6270    done
6271    ac_cv_prog_CXXCPP=$CXXCPP
6272
6273fi
6274  CXXCPP=$ac_cv_prog_CXXCPP
6275else
6276  ac_cv_prog_CXXCPP=$CXXCPP
6277fi
6278{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
6279$as_echo "$CXXCPP" >&6; }
6280ac_preproc_ok=false
6281for ac_cxx_preproc_warn_flag in '' yes
6282do
6283  # Use a header file that comes with gcc, so configuring glibc
6284  # with a fresh cross-compiler works.
6285  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6286  # <limits.h> exists even on freestanding compilers.
6287  # On the NeXT, cc -E runs the code through the compiler's parser,
6288  # not just through cpp. "Syntax error" is here to catch this case.
6289  cat >conftest.$ac_ext <<_ACEOF
6290/* confdefs.h.  */
6291_ACEOF
6292cat confdefs.h >>conftest.$ac_ext
6293cat >>conftest.$ac_ext <<_ACEOF
6294/* end confdefs.h.  */
6295#ifdef __STDC__
6296# include <limits.h>
6297#else
6298# include <assert.h>
6299#endif
6300		     Syntax error
6301_ACEOF
6302if { (ac_try="$ac_cpp conftest.$ac_ext"
6303case "(($ac_try" in
6304  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6305  *) ac_try_echo=$ac_try;;
6306esac
6307eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6308$as_echo "$ac_try_echo") >&5
6309  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6310  ac_status=$?
6311  grep -v '^ *+' conftest.er1 >conftest.err
6312  rm -f conftest.er1
6313  cat conftest.err >&5
6314  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315  (exit $ac_status); } >/dev/null && {
6316	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6317	 test ! -s conftest.err
6318       }; then
6319  :
6320else
6321  $as_echo "$as_me: failed program was:" >&5
6322sed 's/^/| /' conftest.$ac_ext >&5
6323
6324  # Broken: fails on valid input.
6325continue
6326fi
6327
6328rm -f conftest.err conftest.$ac_ext
6329
6330  # OK, works on sane cases.  Now check whether nonexistent headers
6331  # can be detected and how.
6332  cat >conftest.$ac_ext <<_ACEOF
6333/* confdefs.h.  */
6334_ACEOF
6335cat confdefs.h >>conftest.$ac_ext
6336cat >>conftest.$ac_ext <<_ACEOF
6337/* end confdefs.h.  */
6338#include <ac_nonexistent.h>
6339_ACEOF
6340if { (ac_try="$ac_cpp conftest.$ac_ext"
6341case "(($ac_try" in
6342  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6343  *) ac_try_echo=$ac_try;;
6344esac
6345eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6346$as_echo "$ac_try_echo") >&5
6347  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6348  ac_status=$?
6349  grep -v '^ *+' conftest.er1 >conftest.err
6350  rm -f conftest.er1
6351  cat conftest.err >&5
6352  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353  (exit $ac_status); } >/dev/null && {
6354	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6355	 test ! -s conftest.err
6356       }; then
6357  # Broken: success on invalid input.
6358continue
6359else
6360  $as_echo "$as_me: failed program was:" >&5
6361sed 's/^/| /' conftest.$ac_ext >&5
6362
6363  # Passes both tests.
6364ac_preproc_ok=:
6365break
6366fi
6367
6368rm -f conftest.err conftest.$ac_ext
6369
6370done
6371# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6372rm -f conftest.err conftest.$ac_ext
6373if $ac_preproc_ok; then
6374  :
6375else
6376  { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6377See \`config.log' for more details." >&5
6378$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6379See \`config.log' for more details." >&2;}
6380   { (exit 1); exit 1; }; }
6381fi
6382
6383ac_ext=cpp
6384ac_cpp='$CXXCPP $CPPFLAGS'
6385ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6386ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6387ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6388
6389fi
6390
6391
6392ac_ext=f
6393ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6394ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6395ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6396if test -n "$ac_tool_prefix"; then
6397  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6398  do
6399    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6400set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6401{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6402$as_echo_n "checking for $ac_word... " >&6; }
6403if test "${ac_cv_prog_F77+set}" = set; then
6404  $as_echo_n "(cached) " >&6
6405else
6406  if test -n "$F77"; then
6407  ac_cv_prog_F77="$F77" # Let the user override the test.
6408else
6409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6410for as_dir in $PATH
6411do
6412  IFS=$as_save_IFS
6413  test -z "$as_dir" && as_dir=.
6414  for ac_exec_ext in '' $ac_executable_extensions; do
6415  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6416    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6417    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6418    break 2
6419  fi
6420done
6421done
6422IFS=$as_save_IFS
6423
6424fi
6425fi
6426F77=$ac_cv_prog_F77
6427if test -n "$F77"; then
6428  { $as_echo "$as_me:$LINENO: result: $F77" >&5
6429$as_echo "$F77" >&6; }
6430else
6431  { $as_echo "$as_me:$LINENO: result: no" >&5
6432$as_echo "no" >&6; }
6433fi
6434
6435
6436    test -n "$F77" && break
6437  done
6438fi
6439if test -z "$F77"; then
6440  ac_ct_F77=$F77
6441  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6442do
6443  # Extract the first word of "$ac_prog", so it can be a program name with args.
6444set dummy $ac_prog; ac_word=$2
6445{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6446$as_echo_n "checking for $ac_word... " >&6; }
6447if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6448  $as_echo_n "(cached) " >&6
6449else
6450  if test -n "$ac_ct_F77"; then
6451  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6452else
6453as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454for as_dir in $PATH
6455do
6456  IFS=$as_save_IFS
6457  test -z "$as_dir" && as_dir=.
6458  for ac_exec_ext in '' $ac_executable_extensions; do
6459  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6460    ac_cv_prog_ac_ct_F77="$ac_prog"
6461    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6462    break 2
6463  fi
6464done
6465done
6466IFS=$as_save_IFS
6467
6468fi
6469fi
6470ac_ct_F77=$ac_cv_prog_ac_ct_F77
6471if test -n "$ac_ct_F77"; then
6472  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6473$as_echo "$ac_ct_F77" >&6; }
6474else
6475  { $as_echo "$as_me:$LINENO: result: no" >&5
6476$as_echo "no" >&6; }
6477fi
6478
6479
6480  test -n "$ac_ct_F77" && break
6481done
6482
6483  if test "x$ac_ct_F77" = x; then
6484    F77=""
6485  else
6486    case $cross_compiling:$ac_tool_warned in
6487yes:)
6488{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6489whose name does not start with the host triplet.  If you think this
6490configuration is useful to you, please write to autoconf@gnu.org." >&5
6491$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6492whose name does not start with the host triplet.  If you think this
6493configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6494ac_tool_warned=yes ;;
6495esac
6496    F77=$ac_ct_F77
6497  fi
6498fi
6499
6500
6501# Provide some information about the compiler.
6502$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6503set X $ac_compile
6504ac_compiler=$2
6505{ (ac_try="$ac_compiler --version >&5"
6506case "(($ac_try" in
6507  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6508  *) ac_try_echo=$ac_try;;
6509esac
6510eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6511$as_echo "$ac_try_echo") >&5
6512  (eval "$ac_compiler --version >&5") 2>&5
6513  ac_status=$?
6514  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515  (exit $ac_status); }
6516{ (ac_try="$ac_compiler -v >&5"
6517case "(($ac_try" in
6518  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6519  *) ac_try_echo=$ac_try;;
6520esac
6521eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6522$as_echo "$ac_try_echo") >&5
6523  (eval "$ac_compiler -v >&5") 2>&5
6524  ac_status=$?
6525  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526  (exit $ac_status); }
6527{ (ac_try="$ac_compiler -V >&5"
6528case "(($ac_try" in
6529  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6530  *) ac_try_echo=$ac_try;;
6531esac
6532eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6533$as_echo "$ac_try_echo") >&5
6534  (eval "$ac_compiler -V >&5") 2>&5
6535  ac_status=$?
6536  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537  (exit $ac_status); }
6538rm -f a.out
6539
6540# If we don't use `.F' as extension, the preprocessor is not run on the
6541# input file.  (Note that this only needs to work for GNU compilers.)
6542ac_save_ext=$ac_ext
6543ac_ext=F
6544{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6545$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6546if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6547  $as_echo_n "(cached) " >&6
6548else
6549  cat >conftest.$ac_ext <<_ACEOF
6550      program main
6551#ifndef __GNUC__
6552       choke me
6553#endif
6554
6555      end
6556_ACEOF
6557rm -f conftest.$ac_objext
6558if { (ac_try="$ac_compile"
6559case "(($ac_try" in
6560  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6561  *) ac_try_echo=$ac_try;;
6562esac
6563eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6564$as_echo "$ac_try_echo") >&5
6565  (eval "$ac_compile") 2>conftest.er1
6566  ac_status=$?
6567  grep -v '^ *+' conftest.er1 >conftest.err
6568  rm -f conftest.er1
6569  cat conftest.err >&5
6570  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571  (exit $ac_status); } && {
6572	 test -z "$ac_f77_werror_flag" ||
6573	 test ! -s conftest.err
6574       } && test -s conftest.$ac_objext; then
6575  ac_compiler_gnu=yes
6576else
6577  $as_echo "$as_me: failed program was:" >&5
6578sed 's/^/| /' conftest.$ac_ext >&5
6579
6580	ac_compiler_gnu=no
6581fi
6582
6583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6584ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6585
6586fi
6587{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6588$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
6589ac_ext=$ac_save_ext
6590ac_test_FFLAGS=${FFLAGS+set}
6591ac_save_FFLAGS=$FFLAGS
6592FFLAGS=
6593{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6594$as_echo_n "checking whether $F77 accepts -g... " >&6; }
6595if test "${ac_cv_prog_f77_g+set}" = set; then
6596  $as_echo_n "(cached) " >&6
6597else
6598  FFLAGS=-g
6599cat >conftest.$ac_ext <<_ACEOF
6600      program main
6601
6602      end
6603_ACEOF
6604rm -f conftest.$ac_objext
6605if { (ac_try="$ac_compile"
6606case "(($ac_try" in
6607  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6608  *) ac_try_echo=$ac_try;;
6609esac
6610eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6611$as_echo "$ac_try_echo") >&5
6612  (eval "$ac_compile") 2>conftest.er1
6613  ac_status=$?
6614  grep -v '^ *+' conftest.er1 >conftest.err
6615  rm -f conftest.er1
6616  cat conftest.err >&5
6617  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618  (exit $ac_status); } && {
6619	 test -z "$ac_f77_werror_flag" ||
6620	 test ! -s conftest.err
6621       } && test -s conftest.$ac_objext; then
6622  ac_cv_prog_f77_g=yes
6623else
6624  $as_echo "$as_me: failed program was:" >&5
6625sed 's/^/| /' conftest.$ac_ext >&5
6626
6627	ac_cv_prog_f77_g=no
6628fi
6629
6630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6631
6632fi
6633{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6634$as_echo "$ac_cv_prog_f77_g" >&6; }
6635if test "$ac_test_FFLAGS" = set; then
6636  FFLAGS=$ac_save_FFLAGS
6637elif test $ac_cv_prog_f77_g = yes; then
6638  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6639    FFLAGS="-g -O2"
6640  else
6641    FFLAGS="-g"
6642  fi
6643else
6644  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6645    FFLAGS="-O2"
6646  else
6647    FFLAGS=
6648  fi
6649fi
6650
6651if test $ac_compiler_gnu = yes; then
6652  G77=yes
6653else
6654  G77=
6655fi
6656ac_ext=c
6657ac_cpp='$CPP $CPPFLAGS'
6658ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6659ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6660ac_compiler_gnu=$ac_cv_c_compiler_gnu
6661
6662
6663
6664# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6665# find the maximum length of command line arguments
6666{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6667$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6668if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6669  $as_echo_n "(cached) " >&6
6670else
6671    i=0
6672  teststring="ABCD"
6673
6674  case $build_os in
6675  msdosdjgpp*)
6676    # On DJGPP, this test can blow up pretty badly due to problems in libc
6677    # (any single argument exceeding 2000 bytes causes a buffer overrun
6678    # during glob expansion).  Even if it were fixed, the result of this
6679    # check would be larger than it should be.
6680    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6681    ;;
6682
6683  gnu*)
6684    # Under GNU Hurd, this test is not required because there is
6685    # no limit to the length of command line arguments.
6686    # Libtool will interpret -1 as no limit whatsoever
6687    lt_cv_sys_max_cmd_len=-1;
6688    ;;
6689
6690  cygwin* | mingw*)
6691    # On Win9x/ME, this test blows up -- it succeeds, but takes
6692    # about 5 minutes as the teststring grows exponentially.
6693    # Worse, since 9x/ME are not pre-emptively multitasking,
6694    # you end up with a "frozen" computer, even though with patience
6695    # the test eventually succeeds (with a max line length of 256k).
6696    # Instead, let's just punt: use the minimum linelength reported by
6697    # all of the supported platforms: 8192 (on NT/2K/XP).
6698    lt_cv_sys_max_cmd_len=8192;
6699    ;;
6700
6701  amigaos*)
6702    # On AmigaOS with pdksh, this test takes hours, literally.
6703    # So we just punt and use a minimum line length of 8192.
6704    lt_cv_sys_max_cmd_len=8192;
6705    ;;
6706
6707  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6708    # This has been around since 386BSD, at least.  Likely further.
6709    if test -x /sbin/sysctl; then
6710      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6711    elif test -x /usr/sbin/sysctl; then
6712      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6713    else
6714      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6715    fi
6716    # And add a safety zone
6717    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6718    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6719    ;;
6720
6721  interix*)
6722    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6723    lt_cv_sys_max_cmd_len=196608
6724    ;;
6725
6726  osf*)
6727    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6728    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6729    # nice to cause kernel panics so lets avoid the loop below.
6730    # First set a reasonable default.
6731    lt_cv_sys_max_cmd_len=16384
6732    #
6733    if test -x /sbin/sysconfig; then
6734      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6735        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6736      esac
6737    fi
6738    ;;
6739  sco3.2v5*)
6740    lt_cv_sys_max_cmd_len=102400
6741    ;;
6742  sysv5* | sco5v6* | sysv4.2uw2*)
6743    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6744    if test -n "$kargmax"; then
6745      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
6746    else
6747      lt_cv_sys_max_cmd_len=32768
6748    fi
6749    ;;
6750  *)
6751    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6752    if test -n "$lt_cv_sys_max_cmd_len"; then
6753      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6754      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6755    else
6756      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6757      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6758	       = "XX$teststring") >/dev/null 2>&1 &&
6759	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
6760	      lt_cv_sys_max_cmd_len=$new_result &&
6761	      test $i != 17 # 1/2 MB should be enough
6762      do
6763        i=`expr $i + 1`
6764        teststring=$teststring$teststring
6765      done
6766      teststring=
6767      # Add a significant safety factor because C++ compilers can tack on massive
6768      # amounts of additional arguments before passing them to the linker.
6769      # It appears as though 1/2 is a usable value.
6770      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6771    fi
6772    ;;
6773  esac
6774
6775fi
6776
6777if test -n $lt_cv_sys_max_cmd_len ; then
6778  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6779$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6780else
6781  { $as_echo "$as_me:$LINENO: result: none" >&5
6782$as_echo "none" >&6; }
6783fi
6784
6785
6786
6787
6788
6789# Check for command to grab the raw symbol name followed by C symbol from nm.
6790{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6791$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6792if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6793  $as_echo_n "(cached) " >&6
6794else
6795
6796# These are sane defaults that work on at least a few old systems.
6797# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6798
6799# Character class describing NM global symbol codes.
6800symcode='[BCDEGRST]'
6801
6802# Regexp to match symbols that can be accessed directly from C.
6803sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6804
6805# Transform an extracted symbol line into a proper C declaration
6806lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6807
6808# Transform an extracted symbol line into symbol name and symbol address
6809lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6810
6811# Define system-specific variables.
6812case $host_os in
6813aix*)
6814  symcode='[BCDT]'
6815  ;;
6816cygwin* | mingw* | pw32*)
6817  symcode='[ABCDGISTW]'
6818  ;;
6819hpux*) # Its linker distinguishes data from code symbols
6820  if test "$host_cpu" = ia64; then
6821    symcode='[ABCDEGRST]'
6822  fi
6823  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6824  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6825  ;;
6826linux* | k*bsd*-gnu)
6827  if test "$host_cpu" = ia64; then
6828    symcode='[ABCDGIRSTW]'
6829    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6830    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6831  fi
6832  ;;
6833irix* | nonstopux*)
6834  symcode='[BCDEGRST]'
6835  ;;
6836osf*)
6837  symcode='[BCDEGQRST]'
6838  ;;
6839solaris*)
6840  symcode='[BDRT]'
6841  ;;
6842sco3.2v5*)
6843  symcode='[DT]'
6844  ;;
6845sysv4.2uw2*)
6846  symcode='[DT]'
6847  ;;
6848sysv5* | sco5v6* | unixware* | OpenUNIX*)
6849  symcode='[ABDT]'
6850  ;;
6851sysv4)
6852  symcode='[DFNSTU]'
6853  ;;
6854esac
6855
6856# Handle CRLF in mingw tool chain
6857opt_cr=
6858case $build_os in
6859mingw*)
6860  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6861  ;;
6862esac
6863
6864# If we're using GNU nm, then use its standard symbol codes.
6865case `$NM -V 2>&1` in
6866*GNU* | *'with BFD'*)
6867  symcode='[ABCDGIRSTW]' ;;
6868esac
6869
6870# Try without a prefix undercore, then with it.
6871for ac_symprfx in "" "_"; do
6872
6873  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6874  symxfrm="\\1 $ac_symprfx\\2 \\2"
6875
6876  # Write the raw and C identifiers.
6877  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6878
6879  # Check to see that the pipe works correctly.
6880  pipe_works=no
6881
6882  rm -f conftest*
6883  cat > conftest.$ac_ext <<EOF
6884#ifdef __cplusplus
6885extern "C" {
6886#endif
6887char nm_test_var;
6888void nm_test_func(){}
6889#ifdef __cplusplus
6890}
6891#endif
6892int main(){nm_test_var='a';nm_test_func();return(0);}
6893EOF
6894
6895  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6896  (eval $ac_compile) 2>&5
6897  ac_status=$?
6898  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899  (exit $ac_status); }; then
6900    # Now try to grab the symbols.
6901    nlist=conftest.nm
6902    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6903  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6904  ac_status=$?
6905  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906  (exit $ac_status); } && test -s "$nlist"; then
6907      # Try sorting and uniquifying the output.
6908      if sort "$nlist" | uniq > "$nlist"T; then
6909	mv -f "$nlist"T "$nlist"
6910      else
6911	rm -f "$nlist"T
6912      fi
6913
6914      # Make sure that we snagged all the symbols we need.
6915      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6916	if grep ' nm_test_func$' "$nlist" >/dev/null; then
6917	  cat <<EOF > conftest.$ac_ext
6918#ifdef __cplusplus
6919extern "C" {
6920#endif
6921
6922EOF
6923	  # Now generate the symbol file.
6924	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6925
6926	  cat <<EOF >> conftest.$ac_ext
6927#if defined (__STDC__) && __STDC__
6928# define lt_ptr_t void *
6929#else
6930# define lt_ptr_t char *
6931# define const
6932#endif
6933
6934/* The mapping between symbol names and symbols. */
6935const struct {
6936  const char *name;
6937  lt_ptr_t address;
6938}
6939lt_preloaded_symbols[] =
6940{
6941EOF
6942	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6943	  cat <<\EOF >> conftest.$ac_ext
6944  {0, (lt_ptr_t) 0}
6945};
6946
6947#ifdef __cplusplus
6948}
6949#endif
6950EOF
6951	  # Now try linking the two files.
6952	  mv conftest.$ac_objext conftstm.$ac_objext
6953	  lt_save_LIBS="$LIBS"
6954	  lt_save_CFLAGS="$CFLAGS"
6955	  LIBS="conftstm.$ac_objext"
6956	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6957	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6958  (eval $ac_link) 2>&5
6959  ac_status=$?
6960  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6962	    pipe_works=yes
6963	  fi
6964	  LIBS="$lt_save_LIBS"
6965	  CFLAGS="$lt_save_CFLAGS"
6966	else
6967	  echo "cannot find nm_test_func in $nlist" >&5
6968	fi
6969      else
6970	echo "cannot find nm_test_var in $nlist" >&5
6971      fi
6972    else
6973      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6974    fi
6975  else
6976    echo "$progname: failed program was:" >&5
6977    cat conftest.$ac_ext >&5
6978  fi
6979  rm -rf conftest* conftst*
6980
6981  # Do not use the global_symbol_pipe unless it works.
6982  if test "$pipe_works" = yes; then
6983    break
6984  else
6985    lt_cv_sys_global_symbol_pipe=
6986  fi
6987done
6988
6989fi
6990
6991if test -z "$lt_cv_sys_global_symbol_pipe"; then
6992  lt_cv_sys_global_symbol_to_cdecl=
6993fi
6994if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6995  { $as_echo "$as_me:$LINENO: result: failed" >&5
6996$as_echo "failed" >&6; }
6997else
6998  { $as_echo "$as_me:$LINENO: result: ok" >&5
6999$as_echo "ok" >&6; }
7000fi
7001
7002{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
7003$as_echo_n "checking for objdir... " >&6; }
7004if test "${lt_cv_objdir+set}" = set; then
7005  $as_echo_n "(cached) " >&6
7006else
7007  rm -f .libs 2>/dev/null
7008mkdir .libs 2>/dev/null
7009if test -d .libs; then
7010  lt_cv_objdir=.libs
7011else
7012  # MS-DOS does not allow filenames that begin with a dot.
7013  lt_cv_objdir=_libs
7014fi
7015rmdir .libs 2>/dev/null
7016fi
7017{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7018$as_echo "$lt_cv_objdir" >&6; }
7019objdir=$lt_cv_objdir
7020
7021
7022
7023
7024
7025case $host_os in
7026aix3*)
7027  # AIX sometimes has problems with the GCC collect2 program.  For some
7028  # reason, if we set the COLLECT_NAMES environment variable, the problems
7029  # vanish in a puff of smoke.
7030  if test "X${COLLECT_NAMES+set}" != Xset; then
7031    COLLECT_NAMES=
7032    export COLLECT_NAMES
7033  fi
7034  ;;
7035esac
7036
7037# Sed substitution that helps us do robust quoting.  It backslashifies
7038# metacharacters that are still active within double-quoted strings.
7039Xsed='sed -e 1s/^X//'
7040sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7041
7042# Same as above, but do not quote variable references.
7043double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7044
7045# Sed substitution to delay expansion of an escaped shell variable in a
7046# double_quote_subst'ed string.
7047delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7048
7049# Sed substitution to avoid accidental globbing in evaled expressions
7050no_glob_subst='s/\*/\\\*/g'
7051
7052# Constants:
7053rm="rm -f"
7054
7055# Global variables:
7056default_ofile=libtool
7057can_build_shared=yes
7058
7059# All known linkers require a `.a' archive for static linking (except MSVC,
7060# which needs '.lib').
7061libext=a
7062ltmain="$ac_aux_dir/ltmain.sh"
7063ofile="$default_ofile"
7064with_gnu_ld="$lt_cv_prog_gnu_ld"
7065
7066if test -n "$ac_tool_prefix"; then
7067  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7068set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then
7072  $as_echo_n "(cached) " >&6
7073else
7074  if test -n "$AR"; then
7075  ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar"
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
7094AR=$ac_cv_prog_AR
7095if test -n "$AR"; then
7096  { $as_echo "$as_me:$LINENO: result: $AR" >&5
7097$as_echo "$AR" >&6; }
7098else
7099  { $as_echo "$as_me:$LINENO: result: no" >&5
7100$as_echo "no" >&6; }
7101fi
7102
7103
7104fi
7105if test -z "$ac_cv_prog_AR"; then
7106  ac_ct_AR=$AR
7107  # Extract the first word of "ar", so it can be a program name with args.
7108set dummy ar; ac_word=$2
7109{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7110$as_echo_n "checking for $ac_word... " >&6; }
7111if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7112  $as_echo_n "(cached) " >&6
7113else
7114  if test -n "$ac_ct_AR"; then
7115  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7116else
7117as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118for as_dir in $PATH
7119do
7120  IFS=$as_save_IFS
7121  test -z "$as_dir" && as_dir=.
7122  for ac_exec_ext in '' $ac_executable_extensions; do
7123  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7124    ac_cv_prog_ac_ct_AR="ar"
7125    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7126    break 2
7127  fi
7128done
7129done
7130IFS=$as_save_IFS
7131
7132fi
7133fi
7134ac_ct_AR=$ac_cv_prog_ac_ct_AR
7135if test -n "$ac_ct_AR"; then
7136  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7137$as_echo "$ac_ct_AR" >&6; }
7138else
7139  { $as_echo "$as_me:$LINENO: result: no" >&5
7140$as_echo "no" >&6; }
7141fi
7142
7143  if test "x$ac_ct_AR" = x; then
7144    AR="false"
7145  else
7146    case $cross_compiling:$ac_tool_warned in
7147yes:)
7148{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7149whose name does not start with the host triplet.  If you think this
7150configuration is useful to you, please write to autoconf@gnu.org." >&5
7151$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7152whose name does not start with the host triplet.  If you think this
7153configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7154ac_tool_warned=yes ;;
7155esac
7156    AR=$ac_ct_AR
7157  fi
7158else
7159  AR="$ac_cv_prog_AR"
7160fi
7161
7162if test -n "$ac_tool_prefix"; then
7163  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7164set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7165{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7166$as_echo_n "checking for $ac_word... " >&6; }
7167if test "${ac_cv_prog_RANLIB+set}" = set; then
7168  $as_echo_n "(cached) " >&6
7169else
7170  if test -n "$RANLIB"; then
7171  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7172else
7173as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174for as_dir in $PATH
7175do
7176  IFS=$as_save_IFS
7177  test -z "$as_dir" && as_dir=.
7178  for ac_exec_ext in '' $ac_executable_extensions; do
7179  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7180    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7181    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7182    break 2
7183  fi
7184done
7185done
7186IFS=$as_save_IFS
7187
7188fi
7189fi
7190RANLIB=$ac_cv_prog_RANLIB
7191if test -n "$RANLIB"; then
7192  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
7193$as_echo "$RANLIB" >&6; }
7194else
7195  { $as_echo "$as_me:$LINENO: result: no" >&5
7196$as_echo "no" >&6; }
7197fi
7198
7199
7200fi
7201if test -z "$ac_cv_prog_RANLIB"; then
7202  ac_ct_RANLIB=$RANLIB
7203  # Extract the first word of "ranlib", so it can be a program name with args.
7204set dummy ranlib; ac_word=$2
7205{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7206$as_echo_n "checking for $ac_word... " >&6; }
7207if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7208  $as_echo_n "(cached) " >&6
7209else
7210  if test -n "$ac_ct_RANLIB"; then
7211  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7212else
7213as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214for as_dir in $PATH
7215do
7216  IFS=$as_save_IFS
7217  test -z "$as_dir" && as_dir=.
7218  for ac_exec_ext in '' $ac_executable_extensions; do
7219  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7220    ac_cv_prog_ac_ct_RANLIB="ranlib"
7221    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7222    break 2
7223  fi
7224done
7225done
7226IFS=$as_save_IFS
7227
7228fi
7229fi
7230ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7231if test -n "$ac_ct_RANLIB"; then
7232  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7233$as_echo "$ac_ct_RANLIB" >&6; }
7234else
7235  { $as_echo "$as_me:$LINENO: result: no" >&5
7236$as_echo "no" >&6; }
7237fi
7238
7239  if test "x$ac_ct_RANLIB" = x; then
7240    RANLIB=":"
7241  else
7242    case $cross_compiling:$ac_tool_warned in
7243yes:)
7244{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7245whose name does not start with the host triplet.  If you think this
7246configuration is useful to you, please write to autoconf@gnu.org." >&5
7247$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7248whose name does not start with the host triplet.  If you think this
7249configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7250ac_tool_warned=yes ;;
7251esac
7252    RANLIB=$ac_ct_RANLIB
7253  fi
7254else
7255  RANLIB="$ac_cv_prog_RANLIB"
7256fi
7257
7258if test -n "$ac_tool_prefix"; then
7259  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7260set dummy ${ac_tool_prefix}strip; ac_word=$2
7261{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7262$as_echo_n "checking for $ac_word... " >&6; }
7263if test "${ac_cv_prog_STRIP+set}" = set; then
7264  $as_echo_n "(cached) " >&6
7265else
7266  if test -n "$STRIP"; then
7267  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7268else
7269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7270for as_dir in $PATH
7271do
7272  IFS=$as_save_IFS
7273  test -z "$as_dir" && as_dir=.
7274  for ac_exec_ext in '' $ac_executable_extensions; do
7275  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7276    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7277    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7278    break 2
7279  fi
7280done
7281done
7282IFS=$as_save_IFS
7283
7284fi
7285fi
7286STRIP=$ac_cv_prog_STRIP
7287if test -n "$STRIP"; then
7288  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
7289$as_echo "$STRIP" >&6; }
7290else
7291  { $as_echo "$as_me:$LINENO: result: no" >&5
7292$as_echo "no" >&6; }
7293fi
7294
7295
7296fi
7297if test -z "$ac_cv_prog_STRIP"; then
7298  ac_ct_STRIP=$STRIP
7299  # Extract the first word of "strip", so it can be a program name with args.
7300set dummy strip; ac_word=$2
7301{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7302$as_echo_n "checking for $ac_word... " >&6; }
7303if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7304  $as_echo_n "(cached) " >&6
7305else
7306  if test -n "$ac_ct_STRIP"; then
7307  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7308else
7309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310for as_dir in $PATH
7311do
7312  IFS=$as_save_IFS
7313  test -z "$as_dir" && as_dir=.
7314  for ac_exec_ext in '' $ac_executable_extensions; do
7315  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7316    ac_cv_prog_ac_ct_STRIP="strip"
7317    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7318    break 2
7319  fi
7320done
7321done
7322IFS=$as_save_IFS
7323
7324fi
7325fi
7326ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7327if test -n "$ac_ct_STRIP"; then
7328  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7329$as_echo "$ac_ct_STRIP" >&6; }
7330else
7331  { $as_echo "$as_me:$LINENO: result: no" >&5
7332$as_echo "no" >&6; }
7333fi
7334
7335  if test "x$ac_ct_STRIP" = x; then
7336    STRIP=":"
7337  else
7338    case $cross_compiling:$ac_tool_warned in
7339yes:)
7340{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7341whose name does not start with the host triplet.  If you think this
7342configuration is useful to you, please write to autoconf@gnu.org." >&5
7343$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7344whose name does not start with the host triplet.  If you think this
7345configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7346ac_tool_warned=yes ;;
7347esac
7348    STRIP=$ac_ct_STRIP
7349  fi
7350else
7351  STRIP="$ac_cv_prog_STRIP"
7352fi
7353
7354
7355old_CC="$CC"
7356old_CFLAGS="$CFLAGS"
7357
7358# Set sane defaults for various variables
7359test -z "$AR" && AR=ar
7360test -z "$AR_FLAGS" && AR_FLAGS=cru
7361test -z "$AS" && AS=as
7362test -z "$CC" && CC=cc
7363test -z "$LTCC" && LTCC=$CC
7364test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7365test -z "$DLLTOOL" && DLLTOOL=dlltool
7366test -z "$LD" && LD=ld
7367test -z "$LN_S" && LN_S="ln -s"
7368test -z "$MAGIC_CMD" && MAGIC_CMD=file
7369test -z "$NM" && NM=nm
7370test -z "$SED" && SED=sed
7371test -z "$OBJDUMP" && OBJDUMP=objdump
7372test -z "$RANLIB" && RANLIB=:
7373test -z "$STRIP" && STRIP=:
7374test -z "$ac_objext" && ac_objext=o
7375
7376# Determine commands to create old-style static archives.
7377old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7378old_postinstall_cmds='chmod 644 $oldlib'
7379old_postuninstall_cmds=
7380
7381if test -n "$RANLIB"; then
7382  case $host_os in
7383  openbsd*)
7384    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7385    ;;
7386  *)
7387    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7388    ;;
7389  esac
7390  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7391fi
7392
7393for cc_temp in $compiler""; do
7394  case $cc_temp in
7395    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7396    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7397    \-*) ;;
7398    *) break;;
7399  esac
7400done
7401cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7402
7403
7404# Only perform the check for file, if the check method requires it
7405case $deplibs_check_method in
7406file_magic*)
7407  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7408    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7409$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7410if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7411  $as_echo_n "(cached) " >&6
7412else
7413  case $MAGIC_CMD in
7414[\\/*] |  ?:[\\/]*)
7415  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7416  ;;
7417*)
7418  lt_save_MAGIC_CMD="$MAGIC_CMD"
7419  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7420  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7421  for ac_dir in $ac_dummy; do
7422    IFS="$lt_save_ifs"
7423    test -z "$ac_dir" && ac_dir=.
7424    if test -f $ac_dir/${ac_tool_prefix}file; then
7425      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7426      if test -n "$file_magic_test_file"; then
7427	case $deplibs_check_method in
7428	"file_magic "*)
7429	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7430	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7431	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7432	    $EGREP "$file_magic_regex" > /dev/null; then
7433	    :
7434	  else
7435	    cat <<EOF 1>&2
7436
7437*** Warning: the command libtool uses to detect shared libraries,
7438*** $file_magic_cmd, produces output that libtool cannot recognize.
7439*** The result is that libtool may fail to recognize shared libraries
7440*** as such.  This will affect the creation of libtool libraries that
7441*** depend on shared libraries, but programs linked with such libtool
7442*** libraries will work regardless of this problem.  Nevertheless, you
7443*** may want to report the problem to your system manager and/or to
7444*** bug-libtool@gnu.org
7445
7446EOF
7447	  fi ;;
7448	esac
7449      fi
7450      break
7451    fi
7452  done
7453  IFS="$lt_save_ifs"
7454  MAGIC_CMD="$lt_save_MAGIC_CMD"
7455  ;;
7456esac
7457fi
7458
7459MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7460if test -n "$MAGIC_CMD"; then
7461  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7462$as_echo "$MAGIC_CMD" >&6; }
7463else
7464  { $as_echo "$as_me:$LINENO: result: no" >&5
7465$as_echo "no" >&6; }
7466fi
7467
7468if test -z "$lt_cv_path_MAGIC_CMD"; then
7469  if test -n "$ac_tool_prefix"; then
7470    { $as_echo "$as_me:$LINENO: checking for file" >&5
7471$as_echo_n "checking for file... " >&6; }
7472if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7473  $as_echo_n "(cached) " >&6
7474else
7475  case $MAGIC_CMD in
7476[\\/*] |  ?:[\\/]*)
7477  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7478  ;;
7479*)
7480  lt_save_MAGIC_CMD="$MAGIC_CMD"
7481  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7482  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7483  for ac_dir in $ac_dummy; do
7484    IFS="$lt_save_ifs"
7485    test -z "$ac_dir" && ac_dir=.
7486    if test -f $ac_dir/file; then
7487      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7488      if test -n "$file_magic_test_file"; then
7489	case $deplibs_check_method in
7490	"file_magic "*)
7491	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7492	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7493	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7494	    $EGREP "$file_magic_regex" > /dev/null; then
7495	    :
7496	  else
7497	    cat <<EOF 1>&2
7498
7499*** Warning: the command libtool uses to detect shared libraries,
7500*** $file_magic_cmd, produces output that libtool cannot recognize.
7501*** The result is that libtool may fail to recognize shared libraries
7502*** as such.  This will affect the creation of libtool libraries that
7503*** depend on shared libraries, but programs linked with such libtool
7504*** libraries will work regardless of this problem.  Nevertheless, you
7505*** may want to report the problem to your system manager and/or to
7506*** bug-libtool@gnu.org
7507
7508EOF
7509	  fi ;;
7510	esac
7511      fi
7512      break
7513    fi
7514  done
7515  IFS="$lt_save_ifs"
7516  MAGIC_CMD="$lt_save_MAGIC_CMD"
7517  ;;
7518esac
7519fi
7520
7521MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7522if test -n "$MAGIC_CMD"; then
7523  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7524$as_echo "$MAGIC_CMD" >&6; }
7525else
7526  { $as_echo "$as_me:$LINENO: result: no" >&5
7527$as_echo "no" >&6; }
7528fi
7529
7530  else
7531    MAGIC_CMD=:
7532  fi
7533fi
7534
7535  fi
7536  ;;
7537esac
7538
7539
7540  case $host_os in
7541    rhapsody* | darwin*)
7542    if test -n "$ac_tool_prefix"; then
7543  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7544set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7545{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7546$as_echo_n "checking for $ac_word... " >&6; }
7547if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7548  $as_echo_n "(cached) " >&6
7549else
7550  if test -n "$DSYMUTIL"; then
7551  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7552else
7553as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7554for as_dir in $PATH
7555do
7556  IFS=$as_save_IFS
7557  test -z "$as_dir" && as_dir=.
7558  for ac_exec_ext in '' $ac_executable_extensions; do
7559  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7560    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7561    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7562    break 2
7563  fi
7564done
7565done
7566IFS=$as_save_IFS
7567
7568fi
7569fi
7570DSYMUTIL=$ac_cv_prog_DSYMUTIL
7571if test -n "$DSYMUTIL"; then
7572  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7573$as_echo "$DSYMUTIL" >&6; }
7574else
7575  { $as_echo "$as_me:$LINENO: result: no" >&5
7576$as_echo "no" >&6; }
7577fi
7578
7579
7580fi
7581if test -z "$ac_cv_prog_DSYMUTIL"; then
7582  ac_ct_DSYMUTIL=$DSYMUTIL
7583  # Extract the first word of "dsymutil", so it can be a program name with args.
7584set dummy dsymutil; ac_word=$2
7585{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7586$as_echo_n "checking for $ac_word... " >&6; }
7587if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7588  $as_echo_n "(cached) " >&6
7589else
7590  if test -n "$ac_ct_DSYMUTIL"; then
7591  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7592else
7593as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7594for as_dir in $PATH
7595do
7596  IFS=$as_save_IFS
7597  test -z "$as_dir" && as_dir=.
7598  for ac_exec_ext in '' $ac_executable_extensions; do
7599  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7600    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7601    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7602    break 2
7603  fi
7604done
7605done
7606IFS=$as_save_IFS
7607
7608fi
7609fi
7610ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7611if test -n "$ac_ct_DSYMUTIL"; then
7612  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7613$as_echo "$ac_ct_DSYMUTIL" >&6; }
7614else
7615  { $as_echo "$as_me:$LINENO: result: no" >&5
7616$as_echo "no" >&6; }
7617fi
7618
7619  if test "x$ac_ct_DSYMUTIL" = x; then
7620    DSYMUTIL=":"
7621  else
7622    case $cross_compiling:$ac_tool_warned in
7623yes:)
7624{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7625whose name does not start with the host triplet.  If you think this
7626configuration is useful to you, please write to autoconf@gnu.org." >&5
7627$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7628whose name does not start with the host triplet.  If you think this
7629configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7630ac_tool_warned=yes ;;
7631esac
7632    DSYMUTIL=$ac_ct_DSYMUTIL
7633  fi
7634else
7635  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7636fi
7637
7638    if test -n "$ac_tool_prefix"; then
7639  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7640set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7641{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7642$as_echo_n "checking for $ac_word... " >&6; }
7643if test "${ac_cv_prog_NMEDIT+set}" = set; then
7644  $as_echo_n "(cached) " >&6
7645else
7646  if test -n "$NMEDIT"; then
7647  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7648else
7649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650for as_dir in $PATH
7651do
7652  IFS=$as_save_IFS
7653  test -z "$as_dir" && as_dir=.
7654  for ac_exec_ext in '' $ac_executable_extensions; do
7655  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7657    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7658    break 2
7659  fi
7660done
7661done
7662IFS=$as_save_IFS
7663
7664fi
7665fi
7666NMEDIT=$ac_cv_prog_NMEDIT
7667if test -n "$NMEDIT"; then
7668  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7669$as_echo "$NMEDIT" >&6; }
7670else
7671  { $as_echo "$as_me:$LINENO: result: no" >&5
7672$as_echo "no" >&6; }
7673fi
7674
7675
7676fi
7677if test -z "$ac_cv_prog_NMEDIT"; then
7678  ac_ct_NMEDIT=$NMEDIT
7679  # Extract the first word of "nmedit", so it can be a program name with args.
7680set dummy nmedit; ac_word=$2
7681{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7682$as_echo_n "checking for $ac_word... " >&6; }
7683if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7684  $as_echo_n "(cached) " >&6
7685else
7686  if test -n "$ac_ct_NMEDIT"; then
7687  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7688else
7689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7690for as_dir in $PATH
7691do
7692  IFS=$as_save_IFS
7693  test -z "$as_dir" && as_dir=.
7694  for ac_exec_ext in '' $ac_executable_extensions; do
7695  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7696    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7697    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7698    break 2
7699  fi
7700done
7701done
7702IFS=$as_save_IFS
7703
7704fi
7705fi
7706ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7707if test -n "$ac_ct_NMEDIT"; then
7708  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7709$as_echo "$ac_ct_NMEDIT" >&6; }
7710else
7711  { $as_echo "$as_me:$LINENO: result: no" >&5
7712$as_echo "no" >&6; }
7713fi
7714
7715  if test "x$ac_ct_NMEDIT" = x; then
7716    NMEDIT=":"
7717  else
7718    case $cross_compiling:$ac_tool_warned in
7719yes:)
7720{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7721whose name does not start with the host triplet.  If you think this
7722configuration is useful to you, please write to autoconf@gnu.org." >&5
7723$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7724whose name does not start with the host triplet.  If you think this
7725configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7726ac_tool_warned=yes ;;
7727esac
7728    NMEDIT=$ac_ct_NMEDIT
7729  fi
7730else
7731  NMEDIT="$ac_cv_prog_NMEDIT"
7732fi
7733
7734
7735    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7736$as_echo_n "checking for -single_module linker flag... " >&6; }
7737if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7738  $as_echo_n "(cached) " >&6
7739else
7740  lt_cv_apple_cc_single_mod=no
7741      if test -z "${LT_MULTI_MODULE}"; then
7742   # By default we will add the -single_module flag. You can override
7743   # by either setting the environment variable LT_MULTI_MODULE
7744   # non-empty at configure time, or by adding -multi_module to the
7745   # link flags.
7746   echo "int foo(void){return 1;}" > conftest.c
7747   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7748     -dynamiclib ${wl}-single_module conftest.c
7749   if test -f libconftest.dylib; then
7750     lt_cv_apple_cc_single_mod=yes
7751     rm -rf libconftest.dylib*
7752   fi
7753   rm conftest.c
7754      fi
7755fi
7756{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7757$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7758    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7759$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7760if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7761  $as_echo_n "(cached) " >&6
7762else
7763  lt_cv_ld_exported_symbols_list=no
7764      save_LDFLAGS=$LDFLAGS
7765      echo "_main" > conftest.sym
7766      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7767      cat >conftest.$ac_ext <<_ACEOF
7768/* confdefs.h.  */
7769_ACEOF
7770cat confdefs.h >>conftest.$ac_ext
7771cat >>conftest.$ac_ext <<_ACEOF
7772/* end confdefs.h.  */
7773
7774int
7775main ()
7776{
7777
7778  ;
7779  return 0;
7780}
7781_ACEOF
7782rm -f conftest.$ac_objext conftest$ac_exeext
7783if { (ac_try="$ac_link"
7784case "(($ac_try" in
7785  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7786  *) ac_try_echo=$ac_try;;
7787esac
7788eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7789$as_echo "$ac_try_echo") >&5
7790  (eval "$ac_link") 2>conftest.er1
7791  ac_status=$?
7792  grep -v '^ *+' conftest.er1 >conftest.err
7793  rm -f conftest.er1
7794  cat conftest.err >&5
7795  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796  (exit $ac_status); } && {
7797	 test -z "$ac_c_werror_flag" ||
7798	 test ! -s conftest.err
7799       } && test -s conftest$ac_exeext && {
7800	 test "$cross_compiling" = yes ||
7801	 $as_test_x conftest$ac_exeext
7802       }; then
7803  lt_cv_ld_exported_symbols_list=yes
7804else
7805  $as_echo "$as_me: failed program was:" >&5
7806sed 's/^/| /' conftest.$ac_ext >&5
7807
7808	lt_cv_ld_exported_symbols_list=no
7809fi
7810
7811rm -rf conftest.dSYM
7812rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7813      conftest$ac_exeext conftest.$ac_ext
7814   LDFLAGS="$save_LDFLAGS"
7815
7816fi
7817{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7818$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7819    case $host_os in
7820    rhapsody* | darwin1.[0123])
7821      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7822    darwin1.*)
7823     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7824    darwin*)
7825      # if running on 10.5 or later, the deployment target defaults
7826      # to the OS version, if on x86, and 10.4, the deployment
7827      # target defaults to 10.4. Don't you love it?
7828      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7829   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7830     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7831   10.[012]*)
7832     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7833   10.*)
7834     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7835      esac
7836    ;;
7837  esac
7838    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7839      _lt_dar_single_mod='$single_module'
7840    fi
7841    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7842      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7843    else
7844      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7845    fi
7846    if test "$DSYMUTIL" != ":"; then
7847      _lt_dsymutil="~$DSYMUTIL \$lib || :"
7848    else
7849      _lt_dsymutil=
7850    fi
7851    ;;
7852  esac
7853
7854
7855enable_dlopen=no
7856enable_win32_dll=yes
7857
7858# Check whether --enable-libtool-lock was given.
7859if test "${enable_libtool_lock+set}" = set; then
7860  enableval=$enable_libtool_lock;
7861fi
7862
7863test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7864
7865
7866# Check whether --with-pic was given.
7867if test "${with_pic+set}" = set; then
7868  withval=$with_pic; pic_mode="$withval"
7869else
7870  pic_mode=default
7871fi
7872
7873test -z "$pic_mode" && pic_mode=default
7874
7875# Use C for the default configuration in the libtool script
7876tagname=
7877lt_save_CC="$CC"
7878ac_ext=c
7879ac_cpp='$CPP $CPPFLAGS'
7880ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7881ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7882ac_compiler_gnu=$ac_cv_c_compiler_gnu
7883
7884
7885# Source file extension for C test sources.
7886ac_ext=c
7887
7888# Object file extension for compiled C test sources.
7889objext=o
7890objext=$objext
7891
7892# Code to be used in simple compile tests
7893lt_simple_compile_test_code="int some_variable = 0;"
7894
7895# Code to be used in simple link tests
7896lt_simple_link_test_code='int main(){return(0);}'
7897
7898
7899# If no C compiler was specified, use CC.
7900LTCC=${LTCC-"$CC"}
7901
7902# If no C compiler flags were specified, use CFLAGS.
7903LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7904
7905# Allow CC to be a program name with arguments.
7906compiler=$CC
7907
7908
7909# save warnings/boilerplate of simple test code
7910ac_outfile=conftest.$ac_objext
7911echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7912eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7913_lt_compiler_boilerplate=`cat conftest.err`
7914$rm conftest*
7915
7916ac_outfile=conftest.$ac_objext
7917echo "$lt_simple_link_test_code" >conftest.$ac_ext
7918eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7919_lt_linker_boilerplate=`cat conftest.err`
7920$rm -r conftest*
7921
7922
7923
7924lt_prog_compiler_no_builtin_flag=
7925
7926if test "$GCC" = yes; then
7927  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7928
7929
7930{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7931$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7932if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7933  $as_echo_n "(cached) " >&6
7934else
7935  lt_cv_prog_compiler_rtti_exceptions=no
7936  ac_outfile=conftest.$ac_objext
7937   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7938   lt_compiler_flag="-fno-rtti -fno-exceptions"
7939   # Insert the option either (1) after the last *FLAGS variable, or
7940   # (2) before a word containing "conftest.", or (3) at the end.
7941   # Note that $ac_compile itself does not contain backslashes and begins
7942   # with a dollar sign (not a hyphen), so the echo should work correctly.
7943   # The option is referenced via a variable to avoid confusing sed.
7944   lt_compile=`echo "$ac_compile" | $SED \
7945   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7946   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7947   -e 's:$: $lt_compiler_flag:'`
7948   (eval echo "\"\$as_me:7948: $lt_compile\"" >&5)
7949   (eval "$lt_compile" 2>conftest.err)
7950   ac_status=$?
7951   cat conftest.err >&5
7952   echo "$as_me:7952: \$? = $ac_status" >&5
7953   if (exit $ac_status) && test -s "$ac_outfile"; then
7954     # The compiler can only warn and ignore the option if not recognized
7955     # So say no if there are warnings other than the usual output.
7956     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7957     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7958     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7959       lt_cv_prog_compiler_rtti_exceptions=yes
7960     fi
7961   fi
7962   $rm conftest*
7963
7964fi
7965{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7966$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7967
7968if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7969    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7970else
7971    :
7972fi
7973
7974fi
7975
7976lt_prog_compiler_wl=
7977lt_prog_compiler_pic=
7978lt_prog_compiler_static=
7979
7980{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7981$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7982
7983  if test "$GCC" = yes; then
7984    lt_prog_compiler_wl='-Wl,'
7985    lt_prog_compiler_static='-static'
7986
7987    case $host_os in
7988      aix*)
7989      # All AIX code is PIC.
7990      if test "$host_cpu" = ia64; then
7991	# AIX 5 now supports IA64 processor
7992	lt_prog_compiler_static='-Bstatic'
7993      fi
7994      ;;
7995
7996    amigaos*)
7997      # FIXME: we need at least 68020 code to build shared libraries, but
7998      # adding the `-m68020' flag to GCC prevents building anything better,
7999      # like `-m68040'.
8000      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8001      ;;
8002
8003    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8004      # PIC is the default for these OSes.
8005      ;;
8006
8007    mingw* | cygwin* | pw32* | os2*)
8008      # This hack is so that the source file can tell whether it is being
8009      # built for inclusion in a dll (and should export symbols for example).
8010      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8011      # (--disable-auto-import) libraries
8012      lt_prog_compiler_pic='-DDLL_EXPORT'
8013      ;;
8014
8015    darwin* | rhapsody*)
8016      # PIC is the default on this platform
8017      # Common symbols not allowed in MH_DYLIB files
8018      lt_prog_compiler_pic='-fno-common'
8019      ;;
8020
8021    interix[3-9]*)
8022      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8023      # Instead, we relocate shared libraries at runtime.
8024      ;;
8025
8026    msdosdjgpp*)
8027      # Just because we use GCC doesn't mean we suddenly get shared libraries
8028      # on systems that don't support them.
8029      lt_prog_compiler_can_build_shared=no
8030      enable_shared=no
8031      ;;
8032
8033    sysv4*MP*)
8034      if test -d /usr/nec; then
8035	lt_prog_compiler_pic=-Kconform_pic
8036      fi
8037      ;;
8038
8039    hpux*)
8040      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8041      # not for PA HP-UX.
8042      case $host_cpu in
8043      hppa*64*|ia64*)
8044	# +Z the default
8045	;;
8046      *)
8047	lt_prog_compiler_pic='-fPIC'
8048	;;
8049      esac
8050      ;;
8051
8052    *)
8053      lt_prog_compiler_pic='-fPIC'
8054      ;;
8055    esac
8056  else
8057    # PORTME Check for flag to pass linker flags through the system compiler.
8058    case $host_os in
8059    aix*)
8060      lt_prog_compiler_wl='-Wl,'
8061      if test "$host_cpu" = ia64; then
8062	# AIX 5 now supports IA64 processor
8063	lt_prog_compiler_static='-Bstatic'
8064      else
8065	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8066      fi
8067      ;;
8068      darwin*)
8069        # PIC is the default on this platform
8070        # Common symbols not allowed in MH_DYLIB files
8071       case $cc_basename in
8072         xlc*)
8073         lt_prog_compiler_pic='-qnocommon'
8074         lt_prog_compiler_wl='-Wl,'
8075         ;;
8076       esac
8077       ;;
8078
8079    mingw* | cygwin* | pw32* | os2*)
8080      # This hack is so that the source file can tell whether it is being
8081      # built for inclusion in a dll (and should export symbols for example).
8082      lt_prog_compiler_pic='-DDLL_EXPORT'
8083      ;;
8084
8085    hpux9* | hpux10* | hpux11*)
8086      lt_prog_compiler_wl='-Wl,'
8087      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8088      # not for PA HP-UX.
8089      case $host_cpu in
8090      hppa*64*|ia64*)
8091	# +Z the default
8092	;;
8093      *)
8094	lt_prog_compiler_pic='+Z'
8095	;;
8096      esac
8097      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8098      lt_prog_compiler_static='${wl}-a ${wl}archive'
8099      ;;
8100
8101    irix5* | irix6* | nonstopux*)
8102      lt_prog_compiler_wl='-Wl,'
8103      # PIC (with -KPIC) is the default.
8104      lt_prog_compiler_static='-non_shared'
8105      ;;
8106
8107    newsos6)
8108      lt_prog_compiler_pic='-KPIC'
8109      lt_prog_compiler_static='-Bstatic'
8110      ;;
8111
8112    linux* | k*bsd*-gnu)
8113      case $cc_basename in
8114      icc* | ecc*)
8115	lt_prog_compiler_wl='-Wl,'
8116	lt_prog_compiler_pic='-KPIC'
8117	lt_prog_compiler_static='-static'
8118        ;;
8119      pgcc* | pgf77* | pgf90* | pgf95*)
8120        # Portland Group compilers (*not* the Pentium gcc compiler,
8121	# which looks to be a dead project)
8122	lt_prog_compiler_wl='-Wl,'
8123	lt_prog_compiler_pic='-fpic'
8124	lt_prog_compiler_static='-Bstatic'
8125        ;;
8126      ccc*)
8127        lt_prog_compiler_wl='-Wl,'
8128        # All Alpha code is PIC.
8129        lt_prog_compiler_static='-non_shared'
8130        ;;
8131      *)
8132        case `$CC -V 2>&1 | sed 5q` in
8133	*Sun\ C*)
8134	  # Sun C 5.9
8135	  lt_prog_compiler_pic='-KPIC'
8136	  lt_prog_compiler_static='-Bstatic'
8137	  lt_prog_compiler_wl='-Wl,'
8138	  ;;
8139	*Sun\ F*)
8140	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8141	  lt_prog_compiler_pic='-KPIC'
8142	  lt_prog_compiler_static='-Bstatic'
8143	  lt_prog_compiler_wl=''
8144	  ;;
8145	esac
8146	;;
8147      esac
8148      ;;
8149
8150    osf3* | osf4* | osf5*)
8151      lt_prog_compiler_wl='-Wl,'
8152      # All OSF/1 code is PIC.
8153      lt_prog_compiler_static='-non_shared'
8154      ;;
8155
8156    rdos*)
8157      lt_prog_compiler_static='-non_shared'
8158      ;;
8159
8160    solaris*)
8161      lt_prog_compiler_pic='-KPIC'
8162      lt_prog_compiler_static='-Bstatic'
8163      case $cc_basename in
8164      f77* | f90* | f95*)
8165	lt_prog_compiler_wl='-Qoption ld ';;
8166      *)
8167	lt_prog_compiler_wl='-Wl,';;
8168      esac
8169      ;;
8170
8171    sunos4*)
8172      lt_prog_compiler_wl='-Qoption ld '
8173      lt_prog_compiler_pic='-PIC'
8174      lt_prog_compiler_static='-Bstatic'
8175      ;;
8176
8177    sysv4 | sysv4.2uw2* | sysv4.3*)
8178      lt_prog_compiler_wl='-Wl,'
8179      lt_prog_compiler_pic='-KPIC'
8180      lt_prog_compiler_static='-Bstatic'
8181      ;;
8182
8183    sysv4*MP*)
8184      if test -d /usr/nec ;then
8185	lt_prog_compiler_pic='-Kconform_pic'
8186	lt_prog_compiler_static='-Bstatic'
8187      fi
8188      ;;
8189
8190    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8191      lt_prog_compiler_wl='-Wl,'
8192      lt_prog_compiler_pic='-KPIC'
8193      lt_prog_compiler_static='-Bstatic'
8194      ;;
8195
8196    unicos*)
8197      lt_prog_compiler_wl='-Wl,'
8198      lt_prog_compiler_can_build_shared=no
8199      ;;
8200
8201    uts4*)
8202      lt_prog_compiler_pic='-pic'
8203      lt_prog_compiler_static='-Bstatic'
8204      ;;
8205
8206    *)
8207      lt_prog_compiler_can_build_shared=no
8208      ;;
8209    esac
8210  fi
8211
8212{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8213$as_echo "$lt_prog_compiler_pic" >&6; }
8214
8215#
8216# Check to make sure the PIC flag actually works.
8217#
8218if test -n "$lt_prog_compiler_pic"; then
8219
8220{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8221$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8222if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8223  $as_echo_n "(cached) " >&6
8224else
8225  lt_cv_prog_compiler_pic_works=no
8226  ac_outfile=conftest.$ac_objext
8227   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8228   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8229   # Insert the option either (1) after the last *FLAGS variable, or
8230   # (2) before a word containing "conftest.", or (3) at the end.
8231   # Note that $ac_compile itself does not contain backslashes and begins
8232   # with a dollar sign (not a hyphen), so the echo should work correctly.
8233   # The option is referenced via a variable to avoid confusing sed.
8234   lt_compile=`echo "$ac_compile" | $SED \
8235   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8236   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8237   -e 's:$: $lt_compiler_flag:'`
8238   (eval echo "\"\$as_me:8238: $lt_compile\"" >&5)
8239   (eval "$lt_compile" 2>conftest.err)
8240   ac_status=$?
8241   cat conftest.err >&5
8242   echo "$as_me:8242: \$? = $ac_status" >&5
8243   if (exit $ac_status) && test -s "$ac_outfile"; then
8244     # The compiler can only warn and ignore the option if not recognized
8245     # So say no if there are warnings other than the usual output.
8246     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8247     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8248     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8249       lt_cv_prog_compiler_pic_works=yes
8250     fi
8251   fi
8252   $rm conftest*
8253
8254fi
8255{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8256$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8257
8258if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8259    case $lt_prog_compiler_pic in
8260     "" | " "*) ;;
8261     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8262     esac
8263else
8264    lt_prog_compiler_pic=
8265     lt_prog_compiler_can_build_shared=no
8266fi
8267
8268fi
8269case $host_os in
8270  # For platforms which do not support PIC, -DPIC is meaningless:
8271  *djgpp*)
8272    lt_prog_compiler_pic=
8273    ;;
8274  *)
8275    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8276    ;;
8277esac
8278
8279#
8280# Check to make sure the static flag actually works.
8281#
8282wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8283{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8284$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8285if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8286  $as_echo_n "(cached) " >&6
8287else
8288  lt_cv_prog_compiler_static_works=no
8289   save_LDFLAGS="$LDFLAGS"
8290   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8291   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8292   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8293     # The linker can only warn and ignore the option if not recognized
8294     # So say no if there are warnings
8295     if test -s conftest.err; then
8296       # Append any errors to the config.log.
8297       cat conftest.err 1>&5
8298       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8299       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8300       if diff conftest.exp conftest.er2 >/dev/null; then
8301         lt_cv_prog_compiler_static_works=yes
8302       fi
8303     else
8304       lt_cv_prog_compiler_static_works=yes
8305     fi
8306   fi
8307   $rm -r conftest*
8308   LDFLAGS="$save_LDFLAGS"
8309
8310fi
8311{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8312$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8313
8314if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8315    :
8316else
8317    lt_prog_compiler_static=
8318fi
8319
8320
8321{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8322$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8323if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8324  $as_echo_n "(cached) " >&6
8325else
8326  lt_cv_prog_compiler_c_o=no
8327   $rm -r conftest 2>/dev/null
8328   mkdir conftest
8329   cd conftest
8330   mkdir out
8331   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8332
8333   lt_compiler_flag="-o out/conftest2.$ac_objext"
8334   # Insert the option either (1) after the last *FLAGS variable, or
8335   # (2) before a word containing "conftest.", or (3) at the end.
8336   # Note that $ac_compile itself does not contain backslashes and begins
8337   # with a dollar sign (not a hyphen), so the echo should work correctly.
8338   lt_compile=`echo "$ac_compile" | $SED \
8339   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8340   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8341   -e 's:$: $lt_compiler_flag:'`
8342   (eval echo "\"\$as_me:8342: $lt_compile\"" >&5)
8343   (eval "$lt_compile" 2>out/conftest.err)
8344   ac_status=$?
8345   cat out/conftest.err >&5
8346   echo "$as_me:8346: \$? = $ac_status" >&5
8347   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8348   then
8349     # The compiler can only warn and ignore the option if not recognized
8350     # So say no if there are warnings
8351     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8352     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8353     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8354       lt_cv_prog_compiler_c_o=yes
8355     fi
8356   fi
8357   chmod u+w . 2>&5
8358   $rm conftest*
8359   # SGI C++ compiler will create directory out/ii_files/ for
8360   # template instantiation
8361   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8362   $rm out/* && rmdir out
8363   cd ..
8364   rmdir conftest
8365   $rm conftest*
8366
8367fi
8368{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8369$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8370
8371
8372hard_links="nottested"
8373if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8374  # do not overwrite the value of need_locks provided by the user
8375  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8376$as_echo_n "checking if we can lock with hard links... " >&6; }
8377  hard_links=yes
8378  $rm conftest*
8379  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8380  touch conftest.a
8381  ln conftest.a conftest.b 2>&5 || hard_links=no
8382  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8383  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8384$as_echo "$hard_links" >&6; }
8385  if test "$hard_links" = no; then
8386    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8387$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8388    need_locks=warn
8389  fi
8390else
8391  need_locks=no
8392fi
8393
8394{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8395$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8396
8397  runpath_var=
8398  allow_undefined_flag=
8399  enable_shared_with_static_runtimes=no
8400  archive_cmds=
8401  archive_expsym_cmds=
8402  old_archive_From_new_cmds=
8403  old_archive_from_expsyms_cmds=
8404  export_dynamic_flag_spec=
8405  whole_archive_flag_spec=
8406  thread_safe_flag_spec=
8407  hardcode_libdir_flag_spec=
8408  hardcode_libdir_flag_spec_ld=
8409  hardcode_libdir_separator=
8410  hardcode_direct=no
8411  hardcode_minus_L=no
8412  hardcode_shlibpath_var=unsupported
8413  link_all_deplibs=unknown
8414  hardcode_automatic=no
8415  module_cmds=
8416  module_expsym_cmds=
8417  always_export_symbols=no
8418  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8419  # include_expsyms should be a list of space-separated symbols to be *always*
8420  # included in the symbol list
8421  include_expsyms=
8422  # exclude_expsyms can be an extended regexp of symbols to exclude
8423  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8424  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8425  # as well as any symbol that contains `d'.
8426  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8427  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8428  # platforms (ab)use it in PIC code, but their linkers get confused if
8429  # the symbol is explicitly referenced.  Since portable code cannot
8430  # rely on this symbol name, it's probably fine to never include it in
8431  # preloaded symbol tables.
8432  # Exclude shared library initialization/finalization symbols.
8433  extract_expsyms_cmds=
8434  # Just being paranoid about ensuring that cc_basename is set.
8435  for cc_temp in $compiler""; do
8436  case $cc_temp in
8437    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8438    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8439    \-*) ;;
8440    *) break;;
8441  esac
8442done
8443cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8444
8445  case $host_os in
8446  cygwin* | mingw* | pw32*)
8447    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8448    # When not using gcc, we currently assume that we are using
8449    # Microsoft Visual C++.
8450    if test "$GCC" != yes; then
8451      with_gnu_ld=no
8452    fi
8453    ;;
8454  interix*)
8455    # we just hope/assume this is gcc and not c89 (= MSVC++)
8456    with_gnu_ld=yes
8457    ;;
8458  openbsd*)
8459    with_gnu_ld=no
8460    ;;
8461  esac
8462
8463  ld_shlibs=yes
8464  if test "$with_gnu_ld" = yes; then
8465    # If archive_cmds runs LD, not CC, wlarc should be empty
8466    wlarc='${wl}'
8467
8468    # Set some defaults for GNU ld with shared library support. These
8469    # are reset later if shared libraries are not supported. Putting them
8470    # here allows them to be overridden if necessary.
8471    runpath_var=LD_RUN_PATH
8472    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8473    export_dynamic_flag_spec='${wl}--export-dynamic'
8474    # ancient GNU ld didn't support --whole-archive et. al.
8475    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8476	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8477      else
8478  	whole_archive_flag_spec=
8479    fi
8480    supports_anon_versioning=no
8481    case `$LD -v 2>/dev/null` in
8482      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8483      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8484      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8485      *\ 2.11.*) ;; # other 2.11 versions
8486      *) supports_anon_versioning=yes ;;
8487    esac
8488
8489    # See if GNU ld supports shared libraries.
8490    case $host_os in
8491    aix[3-9]*)
8492      # On AIX/PPC, the GNU linker is very broken
8493      if test "$host_cpu" != ia64; then
8494	ld_shlibs=no
8495	cat <<EOF 1>&2
8496
8497*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8498*** to be unable to reliably create shared libraries on AIX.
8499*** Therefore, libtool is disabling shared libraries support.  If you
8500*** really care for shared libraries, you may want to modify your PATH
8501*** so that a non-GNU linker is found, and then restart.
8502
8503EOF
8504      fi
8505      ;;
8506
8507    amigaos*)
8508      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)'
8509      hardcode_libdir_flag_spec='-L$libdir'
8510      hardcode_minus_L=yes
8511
8512      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8513      # that the semantics of dynamic libraries on AmigaOS, at least up
8514      # to version 4, is to share data among multiple programs linked
8515      # with the same dynamic library.  Since this doesn't match the
8516      # behavior of shared libraries on other platforms, we can't use
8517      # them.
8518      ld_shlibs=no
8519      ;;
8520
8521    beos*)
8522      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8523	allow_undefined_flag=unsupported
8524	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8525	# support --undefined.  This deserves some investigation.  FIXME
8526	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8527      else
8528	ld_shlibs=no
8529      fi
8530      ;;
8531
8532    cygwin* | mingw* | pw32*)
8533      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8534      # as there is no search path for DLLs.
8535      hardcode_libdir_flag_spec='-L$libdir'
8536      allow_undefined_flag=unsupported
8537      always_export_symbols=no
8538      enable_shared_with_static_runtimes=yes
8539      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8540
8541      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8542        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8543	# If the export-symbols file already is a .def file (1st line
8544	# is EXPORTS), use it as is; otherwise, prepend...
8545	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8546	  cp $export_symbols $output_objdir/$soname.def;
8547	else
8548	  echo EXPORTS > $output_objdir/$soname.def;
8549	  cat $export_symbols >> $output_objdir/$soname.def;
8550	fi~
8551	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8552      else
8553	ld_shlibs=no
8554      fi
8555      ;;
8556
8557    interix[3-9]*)
8558      hardcode_direct=no
8559      hardcode_shlibpath_var=no
8560      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8561      export_dynamic_flag_spec='${wl}-E'
8562      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8563      # Instead, shared libraries are loaded at an image base (0x10000000 by
8564      # default) and relocated if they conflict, which is a slow very memory
8565      # consuming and fragmenting process.  To avoid this, we pick a random,
8566      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8567      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8568      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8569      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'
8570      ;;
8571
8572    gnu* | linux* | k*bsd*-gnu)
8573      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8574	tmp_addflag=
8575	case $cc_basename,$host_cpu in
8576	pgcc*)				# Portland Group C compiler
8577	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8578	  tmp_addflag=' $pic_flag'
8579	  ;;
8580	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
8581	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8582	  tmp_addflag=' $pic_flag -Mnomain' ;;
8583	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
8584	  tmp_addflag=' -i_dynamic' ;;
8585	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8586	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8587	ifc* | ifort*)			# Intel Fortran compiler
8588	  tmp_addflag=' -nofor_main' ;;
8589	esac
8590	case `$CC -V 2>&1 | sed 5q` in
8591	*Sun\ C*)			# Sun C 5.9
8592	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8593	  tmp_sharedflag='-G' ;;
8594	*Sun\ F*)			# Sun Fortran 8.3
8595	  tmp_sharedflag='-G' ;;
8596	*)
8597	  tmp_sharedflag='-shared' ;;
8598	esac
8599	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8600
8601	if test $supports_anon_versioning = yes; then
8602	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8603  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8604  $echo "local: *; };" >> $output_objdir/$libname.ver~
8605	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8606	fi
8607      else
8608	ld_shlibs=no
8609      fi
8610      ;;
8611
8612    netbsd*)
8613      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8614	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8615	wlarc=
8616      else
8617	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8618	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8619      fi
8620      ;;
8621
8622    solaris*)
8623      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8624	ld_shlibs=no
8625	cat <<EOF 1>&2
8626
8627*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8628*** create shared libraries on Solaris systems.  Therefore, libtool
8629*** is disabling shared libraries support.  We urge you to upgrade GNU
8630*** binutils to release 2.9.1 or newer.  Another option is to modify
8631*** your PATH or compiler configuration so that the native linker is
8632*** used, and then restart.
8633
8634EOF
8635      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8636	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8637	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8638      else
8639	ld_shlibs=no
8640      fi
8641      ;;
8642
8643    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8644      case `$LD -v 2>&1` in
8645        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8646	ld_shlibs=no
8647	cat <<_LT_EOF 1>&2
8648
8649*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8650*** reliably create shared libraries on SCO systems.  Therefore, libtool
8651*** is disabling shared libraries support.  We urge you to upgrade GNU
8652*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8653*** your PATH or compiler configuration so that the native linker is
8654*** used, and then restart.
8655
8656_LT_EOF
8657	;;
8658	*)
8659	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8660	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8661	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8662	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8663	  else
8664	    ld_shlibs=no
8665	  fi
8666	;;
8667      esac
8668      ;;
8669
8670    sunos4*)
8671      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8672      wlarc=
8673      hardcode_direct=yes
8674      hardcode_shlibpath_var=no
8675      ;;
8676
8677    *)
8678      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8679	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8680	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8681      else
8682	ld_shlibs=no
8683      fi
8684      ;;
8685    esac
8686
8687    if test "$ld_shlibs" = no; then
8688      runpath_var=
8689      hardcode_libdir_flag_spec=
8690      export_dynamic_flag_spec=
8691      whole_archive_flag_spec=
8692    fi
8693  else
8694    # PORTME fill in a description of your system's linker (not GNU ld)
8695    case $host_os in
8696    aix3*)
8697      allow_undefined_flag=unsupported
8698      always_export_symbols=yes
8699      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'
8700      # Note: this linker hardcodes the directories in LIBPATH if there
8701      # are no directories specified by -L.
8702      hardcode_minus_L=yes
8703      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8704	# Neither direct hardcoding nor static linking is supported with a
8705	# broken collect2.
8706	hardcode_direct=unsupported
8707      fi
8708      ;;
8709
8710    aix[4-9]*)
8711      if test "$host_cpu" = ia64; then
8712	# On IA64, the linker does run time linking by default, so we don't
8713	# have to do anything special.
8714	aix_use_runtimelinking=no
8715	exp_sym_flag='-Bexport'
8716	no_entry_flag=""
8717      else
8718	# If we're using GNU nm, then we don't want the "-C" option.
8719	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8720	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8721	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8722	else
8723	  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'
8724	fi
8725	aix_use_runtimelinking=no
8726
8727	# Test if we are trying to use run time linking or normal
8728	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8729	# need to do runtime linking.
8730	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8731	  for ld_flag in $LDFLAGS; do
8732  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8733  	    aix_use_runtimelinking=yes
8734  	    break
8735  	  fi
8736	  done
8737	  ;;
8738	esac
8739
8740	exp_sym_flag='-bexport'
8741	no_entry_flag='-bnoentry'
8742      fi
8743
8744      # When large executables or shared objects are built, AIX ld can
8745      # have problems creating the table of contents.  If linking a library
8746      # or program results in "error TOC overflow" add -mminimal-toc to
8747      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8748      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8749
8750      archive_cmds=''
8751      hardcode_direct=yes
8752      hardcode_libdir_separator=':'
8753      link_all_deplibs=yes
8754
8755      if test "$GCC" = yes; then
8756	case $host_os in aix4.[012]|aix4.[012].*)
8757	# We only want to do this on AIX 4.2 and lower, the check
8758	# below for broken collect2 doesn't work under 4.3+
8759	  collect2name=`${CC} -print-prog-name=collect2`
8760	  if test -f "$collect2name" && \
8761  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
8762	  then
8763  	  # We have reworked collect2
8764  	  :
8765	  else
8766  	  # We have old collect2
8767  	  hardcode_direct=unsupported
8768  	  # It fails to find uninstalled libraries when the uninstalled
8769  	  # path is not listed in the libpath.  Setting hardcode_minus_L
8770  	  # to unsupported forces relinking
8771  	  hardcode_minus_L=yes
8772  	  hardcode_libdir_flag_spec='-L$libdir'
8773  	  hardcode_libdir_separator=
8774	  fi
8775	  ;;
8776	esac
8777	shared_flag='-shared'
8778	if test "$aix_use_runtimelinking" = yes; then
8779	  shared_flag="$shared_flag "'${wl}-G'
8780	fi
8781      else
8782	# not using gcc
8783	if test "$host_cpu" = ia64; then
8784  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8785  	# chokes on -Wl,-G. The following line is correct:
8786	  shared_flag='-G'
8787	else
8788	  if test "$aix_use_runtimelinking" = yes; then
8789	    shared_flag='${wl}-G'
8790	  else
8791	    shared_flag='${wl}-bM:SRE'
8792	  fi
8793	fi
8794      fi
8795
8796      # It seems that -bexpall does not export symbols beginning with
8797      # underscore (_), so it is better to generate a list of symbols to export.
8798      always_export_symbols=yes
8799      if test "$aix_use_runtimelinking" = yes; then
8800	# Warning - without using the other runtime loading flags (-brtl),
8801	# -berok will link without error, but may produce a broken library.
8802	allow_undefined_flag='-berok'
8803       # Determine the default libpath from the value encoded in an empty executable.
8804       cat >conftest.$ac_ext <<_ACEOF
8805/* confdefs.h.  */
8806_ACEOF
8807cat confdefs.h >>conftest.$ac_ext
8808cat >>conftest.$ac_ext <<_ACEOF
8809/* end confdefs.h.  */
8810
8811int
8812main ()
8813{
8814
8815  ;
8816  return 0;
8817}
8818_ACEOF
8819rm -f conftest.$ac_objext conftest$ac_exeext
8820if { (ac_try="$ac_link"
8821case "(($ac_try" in
8822  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8823  *) ac_try_echo=$ac_try;;
8824esac
8825eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8826$as_echo "$ac_try_echo") >&5
8827  (eval "$ac_link") 2>conftest.er1
8828  ac_status=$?
8829  grep -v '^ *+' conftest.er1 >conftest.err
8830  rm -f conftest.er1
8831  cat conftest.err >&5
8832  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833  (exit $ac_status); } && {
8834	 test -z "$ac_c_werror_flag" ||
8835	 test ! -s conftest.err
8836       } && test -s conftest$ac_exeext && {
8837	 test "$cross_compiling" = yes ||
8838	 $as_test_x conftest$ac_exeext
8839       }; then
8840
8841lt_aix_libpath_sed='
8842    /Import File Strings/,/^$/ {
8843	/^0/ {
8844	    s/^0  *\(.*\)$/\1/
8845	    p
8846	}
8847    }'
8848aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8849# Check for a 64-bit object if we didn't find anything.
8850if test -z "$aix_libpath"; then
8851  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8852fi
8853else
8854  $as_echo "$as_me: failed program was:" >&5
8855sed 's/^/| /' conftest.$ac_ext >&5
8856
8857
8858fi
8859
8860rm -rf conftest.dSYM
8861rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8862      conftest$ac_exeext conftest.$ac_ext
8863if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8864
8865       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8866	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8867       else
8868	if test "$host_cpu" = ia64; then
8869	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8870	  allow_undefined_flag="-z nodefs"
8871	  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"
8872	else
8873	 # Determine the default libpath from the value encoded in an empty executable.
8874	 cat >conftest.$ac_ext <<_ACEOF
8875/* confdefs.h.  */
8876_ACEOF
8877cat confdefs.h >>conftest.$ac_ext
8878cat >>conftest.$ac_ext <<_ACEOF
8879/* end confdefs.h.  */
8880
8881int
8882main ()
8883{
8884
8885  ;
8886  return 0;
8887}
8888_ACEOF
8889rm -f conftest.$ac_objext conftest$ac_exeext
8890if { (ac_try="$ac_link"
8891case "(($ac_try" in
8892  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8893  *) ac_try_echo=$ac_try;;
8894esac
8895eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8896$as_echo "$ac_try_echo") >&5
8897  (eval "$ac_link") 2>conftest.er1
8898  ac_status=$?
8899  grep -v '^ *+' conftest.er1 >conftest.err
8900  rm -f conftest.er1
8901  cat conftest.err >&5
8902  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903  (exit $ac_status); } && {
8904	 test -z "$ac_c_werror_flag" ||
8905	 test ! -s conftest.err
8906       } && test -s conftest$ac_exeext && {
8907	 test "$cross_compiling" = yes ||
8908	 $as_test_x conftest$ac_exeext
8909       }; then
8910
8911lt_aix_libpath_sed='
8912    /Import File Strings/,/^$/ {
8913	/^0/ {
8914	    s/^0  *\(.*\)$/\1/
8915	    p
8916	}
8917    }'
8918aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8919# Check for a 64-bit object if we didn't find anything.
8920if test -z "$aix_libpath"; then
8921  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8922fi
8923else
8924  $as_echo "$as_me: failed program was:" >&5
8925sed 's/^/| /' conftest.$ac_ext >&5
8926
8927
8928fi
8929
8930rm -rf conftest.dSYM
8931rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8932      conftest$ac_exeext conftest.$ac_ext
8933if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8934
8935	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8936	  # Warning - without using the other run time loading flags,
8937	  # -berok will link without error, but may produce a broken library.
8938	  no_undefined_flag=' ${wl}-bernotok'
8939	  allow_undefined_flag=' ${wl}-berok'
8940	  # Exported symbols can be pulled into shared objects from archives
8941	  whole_archive_flag_spec='$convenience'
8942	  archive_cmds_need_lc=yes
8943	  # This is similar to how AIX traditionally builds its shared libraries.
8944	  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'
8945	fi
8946      fi
8947      ;;
8948
8949    amigaos*)
8950      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)'
8951      hardcode_libdir_flag_spec='-L$libdir'
8952      hardcode_minus_L=yes
8953      # see comment about different semantics on the GNU ld section
8954      ld_shlibs=no
8955      ;;
8956
8957    bsdi[45]*)
8958      export_dynamic_flag_spec=-rdynamic
8959      ;;
8960
8961    cygwin* | mingw* | pw32*)
8962      # When not using gcc, we currently assume that we are using
8963      # Microsoft Visual C++.
8964      # hardcode_libdir_flag_spec is actually meaningless, as there is
8965      # no search path for DLLs.
8966      hardcode_libdir_flag_spec=' '
8967      allow_undefined_flag=unsupported
8968      # Tell ltmain to make .lib files, not .a files.
8969      libext=lib
8970      # Tell ltmain to make .dll files, not .so files.
8971      shrext_cmds=".dll"
8972      # FIXME: Setting linknames here is a bad hack.
8973      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8974      # The linker will automatically build a .lib file if we build a DLL.
8975      old_archive_From_new_cmds='true'
8976      # FIXME: Should let the user specify the lib program.
8977      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8978      fix_srcfile_path='`cygpath -w "$srcfile"`'
8979      enable_shared_with_static_runtimes=yes
8980      ;;
8981
8982    darwin* | rhapsody*)
8983      case $host_os in
8984        rhapsody* | darwin1.[012])
8985         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8986         ;;
8987       *) # Darwin 1.3 on
8988         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8989           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8990         else
8991           case ${MACOSX_DEPLOYMENT_TARGET} in
8992             10.[012])
8993               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8994               ;;
8995             10.*)
8996               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8997               ;;
8998           esac
8999         fi
9000         ;;
9001      esac
9002      archive_cmds_need_lc=no
9003      hardcode_direct=no
9004      hardcode_automatic=yes
9005      hardcode_shlibpath_var=unsupported
9006      whole_archive_flag_spec=''
9007      link_all_deplibs=yes
9008    if test "$GCC" = yes ; then
9009    	output_verbose_link_cmd='echo'
9010        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9011        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9012        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}"
9013        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}"
9014    else
9015      case $cc_basename in
9016        xlc*)
9017         output_verbose_link_cmd='echo'
9018         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9019         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9020          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9021         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9022          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9023          ;;
9024       *)
9025         ld_shlibs=no
9026          ;;
9027      esac
9028    fi
9029      ;;
9030
9031    dgux*)
9032      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9033      hardcode_libdir_flag_spec='-L$libdir'
9034      hardcode_shlibpath_var=no
9035      ;;
9036
9037    freebsd1*)
9038      ld_shlibs=no
9039      ;;
9040
9041    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9042    # support.  Future versions do this automatically, but an explicit c++rt0.o
9043    # does not break anything, and helps significantly (at the cost of a little
9044    # extra space).
9045    freebsd2.2*)
9046      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9047      hardcode_libdir_flag_spec='-R$libdir'
9048      hardcode_direct=yes
9049      hardcode_shlibpath_var=no
9050      ;;
9051
9052    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9053    freebsd2*)
9054      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9055      hardcode_direct=yes
9056      hardcode_minus_L=yes
9057      hardcode_shlibpath_var=no
9058      ;;
9059
9060    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9061    freebsd* | dragonfly*)
9062      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9063      hardcode_libdir_flag_spec='-R$libdir'
9064      hardcode_direct=yes
9065      hardcode_shlibpath_var=no
9066      ;;
9067
9068    hpux9*)
9069      if test "$GCC" = yes; then
9070	archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9071      else
9072	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'
9073      fi
9074      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9075      hardcode_libdir_separator=:
9076      hardcode_direct=yes
9077
9078      # hardcode_minus_L: Not really in the search PATH,
9079      # but as the default location of the library.
9080      hardcode_minus_L=yes
9081      export_dynamic_flag_spec='${wl}-E'
9082      ;;
9083
9084    hpux10*)
9085      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9086	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9087      else
9088	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9089      fi
9090      if test "$with_gnu_ld" = no; then
9091	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9092	hardcode_libdir_separator=:
9093
9094	hardcode_direct=yes
9095	export_dynamic_flag_spec='${wl}-E'
9096
9097	# hardcode_minus_L: Not really in the search PATH,
9098	# but as the default location of the library.
9099	hardcode_minus_L=yes
9100      fi
9101      ;;
9102
9103    hpux11*)
9104      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9105	case $host_cpu in
9106	hppa*64*)
9107	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9108	  ;;
9109	ia64*)
9110	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9111	  ;;
9112	*)
9113	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9114	  ;;
9115	esac
9116      else
9117	case $host_cpu in
9118	hppa*64*)
9119	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9120	  ;;
9121	ia64*)
9122	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9123	  ;;
9124	*)
9125	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9126	  ;;
9127	esac
9128      fi
9129      if test "$with_gnu_ld" = no; then
9130	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9131	hardcode_libdir_separator=:
9132
9133	case $host_cpu in
9134	hppa*64*|ia64*)
9135	  hardcode_libdir_flag_spec_ld='+b $libdir'
9136	  hardcode_direct=no
9137	  hardcode_shlibpath_var=no
9138	  ;;
9139	*)
9140	  hardcode_direct=yes
9141	  export_dynamic_flag_spec='${wl}-E'
9142
9143	  # hardcode_minus_L: Not really in the search PATH,
9144	  # but as the default location of the library.
9145	  hardcode_minus_L=yes
9146	  ;;
9147	esac
9148      fi
9149      ;;
9150
9151    irix5* | irix6* | nonstopux*)
9152      if test "$GCC" = yes; then
9153	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9154      else
9155	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9156	hardcode_libdir_flag_spec_ld='-rpath $libdir'
9157      fi
9158      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9159      hardcode_libdir_separator=:
9160      link_all_deplibs=yes
9161      ;;
9162
9163    netbsd*)
9164      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9165	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9166      else
9167	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9168      fi
9169      hardcode_libdir_flag_spec='-R$libdir'
9170      hardcode_direct=yes
9171      hardcode_shlibpath_var=no
9172      ;;
9173
9174    newsos6)
9175      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9176      hardcode_direct=yes
9177      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9178      hardcode_libdir_separator=:
9179      hardcode_shlibpath_var=no
9180      ;;
9181
9182    openbsd*)
9183      if test -f /usr/libexec/ld.so; then
9184	hardcode_direct=yes
9185	hardcode_shlibpath_var=no
9186	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9187	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9188	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9189	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9190	  export_dynamic_flag_spec='${wl}-E'
9191	else
9192	  case $host_os in
9193	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9194	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9195	     hardcode_libdir_flag_spec='-R$libdir'
9196	     ;;
9197	   *)
9198	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9199	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9200	     ;;
9201	  esac
9202        fi
9203      else
9204	ld_shlibs=no
9205      fi
9206      ;;
9207
9208    os2*)
9209      hardcode_libdir_flag_spec='-L$libdir'
9210      hardcode_minus_L=yes
9211      allow_undefined_flag=unsupported
9212      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'
9213      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9214      ;;
9215
9216    osf3*)
9217      if test "$GCC" = yes; then
9218	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9219	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9220      else
9221	allow_undefined_flag=' -expect_unresolved \*'
9222	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9223      fi
9224      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9225      hardcode_libdir_separator=:
9226      ;;
9227
9228    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9229      if test "$GCC" = yes; then
9230	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9231	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9232	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9233      else
9234	allow_undefined_flag=' -expect_unresolved \*'
9235	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9236	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9237	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
9238
9239	# Both c and cxx compiler support -rpath directly
9240	hardcode_libdir_flag_spec='-rpath $libdir'
9241      fi
9242      hardcode_libdir_separator=:
9243      ;;
9244
9245    solaris*)
9246      no_undefined_flag=' -z text'
9247      if test "$GCC" = yes; then
9248	wlarc='${wl}'
9249	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9250	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9251	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9252      else
9253	wlarc=''
9254	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9255	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9256  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9257      fi
9258      hardcode_libdir_flag_spec='-R$libdir'
9259      hardcode_shlibpath_var=no
9260      case $host_os in
9261      solaris2.[0-5] | solaris2.[0-5].*) ;;
9262      *)
9263	# The compiler driver will combine and reorder linker options,
9264	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9265	# but is careful enough not to reorder.
9266 	# Supported since Solaris 2.6 (maybe 2.5.1?)
9267	if test "$GCC" = yes; then
9268	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9269	else
9270	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9271	fi
9272	;;
9273      esac
9274      link_all_deplibs=yes
9275      ;;
9276
9277    sunos4*)
9278      if test "x$host_vendor" = xsequent; then
9279	# Use $CC to link under sequent, because it throws in some extra .o
9280	# files that make .init and .fini sections work.
9281	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9282      else
9283	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9284      fi
9285      hardcode_libdir_flag_spec='-L$libdir'
9286      hardcode_direct=yes
9287      hardcode_minus_L=yes
9288      hardcode_shlibpath_var=no
9289      ;;
9290
9291    sysv4)
9292      case $host_vendor in
9293	sni)
9294	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9295	  hardcode_direct=yes # is this really true???
9296	;;
9297	siemens)
9298	  ## LD is ld it makes a PLAMLIB
9299	  ## CC just makes a GrossModule.
9300	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9301	  reload_cmds='$CC -r -o $output$reload_objs'
9302	  hardcode_direct=no
9303        ;;
9304	motorola)
9305	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9306	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9307	;;
9308      esac
9309      runpath_var='LD_RUN_PATH'
9310      hardcode_shlibpath_var=no
9311      ;;
9312
9313    sysv4.3*)
9314      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9315      hardcode_shlibpath_var=no
9316      export_dynamic_flag_spec='-Bexport'
9317      ;;
9318
9319    sysv4*MP*)
9320      if test -d /usr/nec; then
9321	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9322	hardcode_shlibpath_var=no
9323	runpath_var=LD_RUN_PATH
9324	hardcode_runpath_var=yes
9325	ld_shlibs=yes
9326      fi
9327      ;;
9328
9329    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9330      no_undefined_flag='${wl}-z,text'
9331      archive_cmds_need_lc=no
9332      hardcode_shlibpath_var=no
9333      runpath_var='LD_RUN_PATH'
9334
9335      if test "$GCC" = yes; then
9336	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9337	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9338      else
9339	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9340	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9341      fi
9342      ;;
9343
9344    sysv5* | sco3.2v5* | sco5v6*)
9345      # Note: We can NOT use -z defs as we might desire, because we do not
9346      # link with -lc, and that would cause any symbols used from libc to
9347      # always be unresolved, which means just about no library would
9348      # ever link correctly.  If we're not using GNU ld we use -z text
9349      # though, which does catch some bad symbols but isn't as heavy-handed
9350      # as -z defs.
9351      no_undefined_flag='${wl}-z,text'
9352      allow_undefined_flag='${wl}-z,nodefs'
9353      archive_cmds_need_lc=no
9354      hardcode_shlibpath_var=no
9355      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9356      hardcode_libdir_separator=':'
9357      link_all_deplibs=yes
9358      export_dynamic_flag_spec='${wl}-Bexport'
9359      runpath_var='LD_RUN_PATH'
9360
9361      if test "$GCC" = yes; then
9362	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9363	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9364      else
9365	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9366	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9367      fi
9368      ;;
9369
9370    uts4*)
9371      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9372      hardcode_libdir_flag_spec='-L$libdir'
9373      hardcode_shlibpath_var=no
9374      ;;
9375
9376    *)
9377      ld_shlibs=no
9378      ;;
9379    esac
9380  fi
9381
9382{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9383$as_echo "$ld_shlibs" >&6; }
9384test "$ld_shlibs" = no && can_build_shared=no
9385
9386#
9387# Do we need to explicitly link libc?
9388#
9389case "x$archive_cmds_need_lc" in
9390x|xyes)
9391  # Assume -lc should be added
9392  archive_cmds_need_lc=yes
9393
9394  if test "$enable_shared" = yes && test "$GCC" = yes; then
9395    case $archive_cmds in
9396    *'~'*)
9397      # FIXME: we may have to deal with multi-command sequences.
9398      ;;
9399    '$CC '*)
9400      # Test whether the compiler implicitly links with -lc since on some
9401      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9402      # to ld, don't add -lc before -lgcc.
9403      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9404$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9405      $rm conftest*
9406      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9407
9408      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9409  (eval $ac_compile) 2>&5
9410  ac_status=$?
9411  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412  (exit $ac_status); } 2>conftest.err; then
9413        soname=conftest
9414        lib=conftest
9415        libobjs=conftest.$ac_objext
9416        deplibs=
9417        wl=$lt_prog_compiler_wl
9418	pic_flag=$lt_prog_compiler_pic
9419        compiler_flags=-v
9420        linker_flags=-v
9421        verstring=
9422        output_objdir=.
9423        libname=conftest
9424        lt_save_allow_undefined_flag=$allow_undefined_flag
9425        allow_undefined_flag=
9426        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9427  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9428  ac_status=$?
9429  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430  (exit $ac_status); }
9431        then
9432	  archive_cmds_need_lc=no
9433        else
9434	  archive_cmds_need_lc=yes
9435        fi
9436        allow_undefined_flag=$lt_save_allow_undefined_flag
9437      else
9438        cat conftest.err 1>&5
9439      fi
9440      $rm conftest*
9441      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9442$as_echo "$archive_cmds_need_lc" >&6; }
9443      ;;
9444    esac
9445  fi
9446  ;;
9447esac
9448
9449{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9450$as_echo_n "checking dynamic linker characteristics... " >&6; }
9451library_names_spec=
9452libname_spec='lib$name'
9453soname_spec=
9454shrext_cmds=".so"
9455postinstall_cmds=
9456postuninstall_cmds=
9457finish_cmds=
9458finish_eval=
9459shlibpath_var=
9460shlibpath_overrides_runpath=unknown
9461version_type=none
9462dynamic_linker="$host_os ld.so"
9463sys_lib_dlsearch_path_spec="/lib /usr/lib"
9464
9465if test "$GCC" = yes; then
9466  case $host_os in
9467    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9468    *) lt_awk_arg="/^libraries:/" ;;
9469  esac
9470  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9471  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
9472    # if the path contains ";" then we assume it to be the separator
9473    # otherwise default to the standard path separator (i.e. ":") - it is
9474    # assumed that no part of a normal pathname contains ";" but that should
9475    # okay in the real world where ";" in dirpaths is itself problematic.
9476    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9477  else
9478    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9479  fi
9480  # Ok, now we have the path, separated by spaces, we can step through it
9481  # and add multilib dir if necessary.
9482  lt_tmp_lt_search_path_spec=
9483  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9484  for lt_sys_path in $lt_search_path_spec; do
9485    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9486      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9487    else
9488      test -d "$lt_sys_path" && \
9489	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9490    fi
9491  done
9492  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
9493BEGIN {RS=" "; FS="/|\n";} {
9494  lt_foo="";
9495  lt_count=0;
9496  for (lt_i = NF; lt_i > 0; lt_i--) {
9497    if ($lt_i != "" && $lt_i != ".") {
9498      if ($lt_i == "..") {
9499        lt_count++;
9500      } else {
9501        if (lt_count == 0) {
9502          lt_foo="/" $lt_i lt_foo;
9503        } else {
9504          lt_count--;
9505        }
9506      }
9507    }
9508  }
9509  if (lt_foo != "") { lt_freq[lt_foo]++; }
9510  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9511}'`
9512  sys_lib_search_path_spec=`echo $lt_search_path_spec`
9513else
9514  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9515fi
9516need_lib_prefix=unknown
9517hardcode_into_libs=no
9518
9519# when you set need_version to no, make sure it does not cause -set_version
9520# flags to be left without arguments
9521need_version=unknown
9522
9523case $host_os in
9524aix3*)
9525  version_type=linux
9526  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9527  shlibpath_var=LIBPATH
9528
9529  # AIX 3 has no versioning support, so we append a major version to the name.
9530  soname_spec='${libname}${release}${shared_ext}$major'
9531  ;;
9532
9533aix[4-9]*)
9534  version_type=linux
9535  need_lib_prefix=no
9536  need_version=no
9537  hardcode_into_libs=yes
9538  if test "$host_cpu" = ia64; then
9539    # AIX 5 supports IA64
9540    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9541    shlibpath_var=LD_LIBRARY_PATH
9542  else
9543    # With GCC up to 2.95.x, collect2 would create an import file
9544    # for dependence libraries.  The import file would start with
9545    # the line `#! .'.  This would cause the generated library to
9546    # depend on `.', always an invalid library.  This was fixed in
9547    # development snapshots of GCC prior to 3.0.
9548    case $host_os in
9549      aix4 | aix4.[01] | aix4.[01].*)
9550      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9551	   echo ' yes '
9552	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9553	:
9554      else
9555	can_build_shared=no
9556      fi
9557      ;;
9558    esac
9559    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9560    # soname into executable. Probably we can add versioning support to
9561    # collect2, so additional links can be useful in future.
9562    if test "$aix_use_runtimelinking" = yes; then
9563      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9564      # instead of lib<name>.a to let people know that these are not
9565      # typical AIX shared libraries.
9566      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9567    else
9568      # We preserve .a as extension for shared libraries through AIX4.2
9569      # and later when we are not doing run time linking.
9570      library_names_spec='${libname}${release}.a $libname.a'
9571      soname_spec='${libname}${release}${shared_ext}$major'
9572    fi
9573    shlibpath_var=LIBPATH
9574  fi
9575  ;;
9576
9577amigaos*)
9578  library_names_spec='$libname.ixlibrary $libname.a'
9579  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9580  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9581  ;;
9582
9583beos*)
9584  library_names_spec='${libname}${shared_ext}'
9585  dynamic_linker="$host_os ld.so"
9586  shlibpath_var=LIBRARY_PATH
9587  ;;
9588
9589bsdi[45]*)
9590  version_type=linux
9591  need_version=no
9592  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9593  soname_spec='${libname}${release}${shared_ext}$major'
9594  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9595  shlibpath_var=LD_LIBRARY_PATH
9596  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9597  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9598  # the default ld.so.conf also contains /usr/contrib/lib and
9599  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9600  # libtool to hard-code these into programs
9601  ;;
9602
9603cygwin* | mingw* | pw32*)
9604  version_type=windows
9605  shrext_cmds=".dll"
9606  need_version=no
9607  need_lib_prefix=no
9608
9609  case $GCC,$host_os in
9610  yes,cygwin* | yes,mingw* | yes,pw32*)
9611    library_names_spec='$libname.dll.a'
9612    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9613    postinstall_cmds='base_file=`basename \${file}`~
9614      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9615      dldir=$destdir/`dirname \$dlpath`~
9616      test -d \$dldir || mkdir -p \$dldir~
9617      $install_prog $dir/$dlname \$dldir/$dlname~
9618      chmod a+x \$dldir/$dlname'
9619    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9620      dlpath=$dir/\$dldll~
9621       $rm \$dlpath'
9622    shlibpath_overrides_runpath=yes
9623
9624    case $host_os in
9625    cygwin*)
9626      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9627      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9628      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9629      ;;
9630    mingw*)
9631      # MinGW DLLs use traditional 'lib' prefix
9632      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9633      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9634      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9635        # It is most probably a Windows format PATH printed by
9636        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9637        # path with ; separators, and with drive letters. We can handle the
9638        # drive letters (cygwin fileutils understands them), so leave them,
9639        # especially as we might pass files found there to a mingw objdump,
9640        # which wouldn't understand a cygwinified path. Ahh.
9641        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9642      else
9643        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9644      fi
9645      ;;
9646    pw32*)
9647      # pw32 DLLs use 'pw' prefix rather than 'lib'
9648      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9649      ;;
9650    esac
9651    ;;
9652
9653  *)
9654    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9655    ;;
9656  esac
9657  dynamic_linker='Win32 ld.exe'
9658  # FIXME: first we should search . and the directory the executable is in
9659  shlibpath_var=PATH
9660  ;;
9661
9662darwin* | rhapsody*)
9663  dynamic_linker="$host_os dyld"
9664  version_type=darwin
9665  need_lib_prefix=no
9666  need_version=no
9667  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9668  soname_spec='${libname}${release}${major}$shared_ext'
9669  shlibpath_overrides_runpath=yes
9670  shlibpath_var=DYLD_LIBRARY_PATH
9671  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9672
9673  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9674  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9675  ;;
9676
9677dgux*)
9678  version_type=linux
9679  need_lib_prefix=no
9680  need_version=no
9681  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9682  soname_spec='${libname}${release}${shared_ext}$major'
9683  shlibpath_var=LD_LIBRARY_PATH
9684  ;;
9685
9686freebsd1*)
9687  dynamic_linker=no
9688  ;;
9689
9690freebsd* | dragonfly*)
9691  # DragonFly does not have aout.  When/if they implement a new
9692  # versioning mechanism, adjust this.
9693  if test -x /usr/bin/objformat; then
9694    objformat=`/usr/bin/objformat`
9695  else
9696    case $host_os in
9697    freebsd[123]*) objformat=aout ;;
9698    *) objformat=elf ;;
9699    esac
9700  fi
9701  version_type=freebsd-$objformat
9702  case $version_type in
9703    freebsd-elf*)
9704      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9705      need_version=no
9706      need_lib_prefix=no
9707      ;;
9708    freebsd-*)
9709      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9710      need_version=yes
9711      ;;
9712  esac
9713  shlibpath_var=LD_LIBRARY_PATH
9714  case $host_os in
9715  freebsd2*)
9716    shlibpath_overrides_runpath=yes
9717    ;;
9718  freebsd3.[01]* | freebsdelf3.[01]*)
9719    shlibpath_overrides_runpath=yes
9720    hardcode_into_libs=yes
9721    ;;
9722  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9723  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9724    shlibpath_overrides_runpath=no
9725    hardcode_into_libs=yes
9726    ;;
9727  *) # from 4.6 on, and DragonFly
9728    shlibpath_overrides_runpath=yes
9729    hardcode_into_libs=yes
9730    ;;
9731  esac
9732  ;;
9733
9734gnu*)
9735  version_type=linux
9736  need_lib_prefix=no
9737  need_version=no
9738  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9739  soname_spec='${libname}${release}${shared_ext}$major'
9740  shlibpath_var=LD_LIBRARY_PATH
9741  hardcode_into_libs=yes
9742  ;;
9743
9744hpux9* | hpux10* | hpux11*)
9745  # Give a soname corresponding to the major version so that dld.sl refuses to
9746  # link against other versions.
9747  version_type=sunos
9748  need_lib_prefix=no
9749  need_version=no
9750  case $host_cpu in
9751  ia64*)
9752    shrext_cmds='.so'
9753    hardcode_into_libs=yes
9754    dynamic_linker="$host_os dld.so"
9755    shlibpath_var=LD_LIBRARY_PATH
9756    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9757    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9758    soname_spec='${libname}${release}${shared_ext}$major'
9759    if test "X$HPUX_IA64_MODE" = X32; then
9760      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9761    else
9762      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9763    fi
9764    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9765    ;;
9766   hppa*64*)
9767     shrext_cmds='.sl'
9768     hardcode_into_libs=yes
9769     dynamic_linker="$host_os dld.sl"
9770     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9771     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9772     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9773     soname_spec='${libname}${release}${shared_ext}$major'
9774     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9775     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9776     ;;
9777   *)
9778    shrext_cmds='.sl'
9779    dynamic_linker="$host_os dld.sl"
9780    shlibpath_var=SHLIB_PATH
9781    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9782    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9783    soname_spec='${libname}${release}${shared_ext}$major'
9784    ;;
9785  esac
9786  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9787  postinstall_cmds='chmod 555 $lib'
9788  ;;
9789
9790interix[3-9]*)
9791  version_type=linux
9792  need_lib_prefix=no
9793  need_version=no
9794  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9795  soname_spec='${libname}${release}${shared_ext}$major'
9796  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9797  shlibpath_var=LD_LIBRARY_PATH
9798  shlibpath_overrides_runpath=no
9799  hardcode_into_libs=yes
9800  ;;
9801
9802irix5* | irix6* | nonstopux*)
9803  case $host_os in
9804    nonstopux*) version_type=nonstopux ;;
9805    *)
9806	if test "$lt_cv_prog_gnu_ld" = yes; then
9807		version_type=linux
9808	else
9809		version_type=irix
9810	fi ;;
9811  esac
9812  need_lib_prefix=no
9813  need_version=no
9814  soname_spec='${libname}${release}${shared_ext}$major'
9815  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9816  case $host_os in
9817  irix5* | nonstopux*)
9818    libsuff= shlibsuff=
9819    ;;
9820  *)
9821    case $LD in # libtool.m4 will add one of these switches to LD
9822    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9823      libsuff= shlibsuff= libmagic=32-bit;;
9824    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9825      libsuff=32 shlibsuff=N32 libmagic=N32;;
9826    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9827      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9828    *) libsuff= shlibsuff= libmagic=never-match;;
9829    esac
9830    ;;
9831  esac
9832  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9833  shlibpath_overrides_runpath=no
9834  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9835  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9836  hardcode_into_libs=yes
9837  ;;
9838
9839# No shared lib support for Linux oldld, aout, or coff.
9840linux*oldld* | linux*aout* | linux*coff*)
9841  dynamic_linker=no
9842  ;;
9843
9844# This must be Linux ELF.
9845linux* | k*bsd*-gnu)
9846  version_type=linux
9847  need_lib_prefix=no
9848  need_version=no
9849  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9850  soname_spec='${libname}${release}${shared_ext}$major'
9851  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9852  shlibpath_var=LD_LIBRARY_PATH
9853  shlibpath_overrides_runpath=no
9854  # This implies no fast_install, which is unacceptable.
9855  # Some rework will be needed to allow for fast_install
9856  # before this can be enabled.
9857  hardcode_into_libs=yes
9858  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9859  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9860
9861  # Append ld.so.conf contents to the search path
9862  if test -f /etc/ld.so.conf; then
9863    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9864    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9865  fi
9866
9867  # We used to test for /lib/ld.so.1 and disable shared libraries on
9868  # powerpc, because MkLinux only supported shared libraries with the
9869  # GNU dynamic linker.  Since this was broken with cross compilers,
9870  # most powerpc-linux boxes support dynamic linking these days and
9871  # people can always --disable-shared, the test was removed, and we
9872  # assume the GNU/Linux dynamic linker is in use.
9873  dynamic_linker='GNU/Linux ld.so'
9874  ;;
9875
9876netbsd*)
9877  version_type=sunos
9878  need_lib_prefix=no
9879  need_version=no
9880  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9881    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9882    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9883    dynamic_linker='NetBSD (a.out) ld.so'
9884  else
9885    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9886    soname_spec='${libname}${release}${shared_ext}$major'
9887    dynamic_linker='NetBSD ld.elf_so'
9888  fi
9889  shlibpath_var=LD_LIBRARY_PATH
9890  shlibpath_overrides_runpath=yes
9891  hardcode_into_libs=yes
9892  ;;
9893
9894newsos6)
9895  version_type=linux
9896  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9897  shlibpath_var=LD_LIBRARY_PATH
9898  shlibpath_overrides_runpath=yes
9899  ;;
9900
9901nto-qnx*)
9902  version_type=linux
9903  need_lib_prefix=no
9904  need_version=no
9905  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9906  soname_spec='${libname}${release}${shared_ext}$major'
9907  shlibpath_var=LD_LIBRARY_PATH
9908  shlibpath_overrides_runpath=yes
9909  ;;
9910
9911openbsd*)
9912  version_type=sunos
9913  sys_lib_dlsearch_path_spec="/usr/lib"
9914  need_lib_prefix=no
9915  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9916  case $host_os in
9917    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9918    *)                         need_version=no  ;;
9919  esac
9920  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9921  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9922  shlibpath_var=LD_LIBRARY_PATH
9923  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9924    case $host_os in
9925      openbsd2.[89] | openbsd2.[89].*)
9926	shlibpath_overrides_runpath=no
9927	;;
9928      *)
9929	shlibpath_overrides_runpath=yes
9930	;;
9931      esac
9932  else
9933    shlibpath_overrides_runpath=yes
9934  fi
9935  ;;
9936
9937os2*)
9938  libname_spec='$name'
9939  shrext_cmds=".dll"
9940  need_lib_prefix=no
9941  library_names_spec='$libname${shared_ext} $libname.a'
9942  dynamic_linker='OS/2 ld.exe'
9943  shlibpath_var=LIBPATH
9944  ;;
9945
9946osf3* | osf4* | osf5*)
9947  version_type=osf
9948  need_lib_prefix=no
9949  need_version=no
9950  soname_spec='${libname}${release}${shared_ext}$major'
9951  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9952  shlibpath_var=LD_LIBRARY_PATH
9953  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9954  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9955  ;;
9956
9957rdos*)
9958  dynamic_linker=no
9959  ;;
9960
9961solaris*)
9962  version_type=linux
9963  need_lib_prefix=no
9964  need_version=no
9965  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9966  soname_spec='${libname}${release}${shared_ext}$major'
9967  shlibpath_var=LD_LIBRARY_PATH
9968  shlibpath_overrides_runpath=yes
9969  hardcode_into_libs=yes
9970  # ldd complains unless libraries are executable
9971  postinstall_cmds='chmod +x $lib'
9972  ;;
9973
9974sunos4*)
9975  version_type=sunos
9976  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9977  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9978  shlibpath_var=LD_LIBRARY_PATH
9979  shlibpath_overrides_runpath=yes
9980  if test "$with_gnu_ld" = yes; then
9981    need_lib_prefix=no
9982  fi
9983  need_version=yes
9984  ;;
9985
9986sysv4 | sysv4.3*)
9987  version_type=linux
9988  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9989  soname_spec='${libname}${release}${shared_ext}$major'
9990  shlibpath_var=LD_LIBRARY_PATH
9991  case $host_vendor in
9992    sni)
9993      shlibpath_overrides_runpath=no
9994      need_lib_prefix=no
9995      export_dynamic_flag_spec='${wl}-Blargedynsym'
9996      runpath_var=LD_RUN_PATH
9997      ;;
9998    siemens)
9999      need_lib_prefix=no
10000      ;;
10001    motorola)
10002      need_lib_prefix=no
10003      need_version=no
10004      shlibpath_overrides_runpath=no
10005      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10006      ;;
10007  esac
10008  ;;
10009
10010sysv4*MP*)
10011  if test -d /usr/nec ;then
10012    version_type=linux
10013    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10014    soname_spec='$libname${shared_ext}.$major'
10015    shlibpath_var=LD_LIBRARY_PATH
10016  fi
10017  ;;
10018
10019sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10020  version_type=freebsd-elf
10021  need_lib_prefix=no
10022  need_version=no
10023  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10024  soname_spec='${libname}${release}${shared_ext}$major'
10025  shlibpath_var=LD_LIBRARY_PATH
10026  hardcode_into_libs=yes
10027  if test "$with_gnu_ld" = yes; then
10028    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10029    shlibpath_overrides_runpath=no
10030  else
10031    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10032    shlibpath_overrides_runpath=yes
10033    case $host_os in
10034      sco3.2v5*)
10035        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10036	;;
10037    esac
10038  fi
10039  sys_lib_dlsearch_path_spec='/usr/lib'
10040  ;;
10041
10042uts4*)
10043  version_type=linux
10044  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10045  soname_spec='${libname}${release}${shared_ext}$major'
10046  shlibpath_var=LD_LIBRARY_PATH
10047  ;;
10048
10049*)
10050  dynamic_linker=no
10051  ;;
10052esac
10053{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10054$as_echo "$dynamic_linker" >&6; }
10055test "$dynamic_linker" = no && can_build_shared=no
10056
10057if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10058  $as_echo_n "(cached) " >&6
10059else
10060  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
10061fi
10062
10063sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10064if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10065  $as_echo_n "(cached) " >&6
10066else
10067  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
10068fi
10069
10070sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10071
10072variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10073if test "$GCC" = yes; then
10074  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10075fi
10076
10077{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10078$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10079hardcode_action=
10080if test -n "$hardcode_libdir_flag_spec" || \
10081   test -n "$runpath_var" || \
10082   test "X$hardcode_automatic" = "Xyes" ; then
10083
10084  # We can hardcode non-existant directories.
10085  if test "$hardcode_direct" != no &&
10086     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10087     # have to relink, otherwise we might link with an installed library
10088     # when we should be linking with a yet-to-be-installed one
10089     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10090     test "$hardcode_minus_L" != no; then
10091    # Linking always hardcodes the temporary library directory.
10092    hardcode_action=relink
10093  else
10094    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10095    hardcode_action=immediate
10096  fi
10097else
10098  # We cannot hardcode anything, or else we can only hardcode existing
10099  # directories.
10100  hardcode_action=unsupported
10101fi
10102{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10103$as_echo "$hardcode_action" >&6; }
10104
10105if test "$hardcode_action" = relink; then
10106  # Fast installation is not supported
10107  enable_fast_install=no
10108elif test "$shlibpath_overrides_runpath" = yes ||
10109     test "$enable_shared" = no; then
10110  # Fast installation is not necessary
10111  enable_fast_install=needless
10112fi
10113
10114striplib=
10115old_striplib=
10116{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10117$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10118if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10119  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10120  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10121  { $as_echo "$as_me:$LINENO: result: yes" >&5
10122$as_echo "yes" >&6; }
10123else
10124# FIXME - insert some real tests, host_os isn't really good enough
10125  case $host_os in
10126   darwin*)
10127       if test -n "$STRIP" ; then
10128         striplib="$STRIP -x"
10129         old_striplib="$STRIP -S"
10130         { $as_echo "$as_me:$LINENO: result: yes" >&5
10131$as_echo "yes" >&6; }
10132       else
10133  { $as_echo "$as_me:$LINENO: result: no" >&5
10134$as_echo "no" >&6; }
10135fi
10136       ;;
10137   *)
10138  { $as_echo "$as_me:$LINENO: result: no" >&5
10139$as_echo "no" >&6; }
10140    ;;
10141  esac
10142fi
10143
10144if test "x$enable_dlopen" != xyes; then
10145  enable_dlopen=unknown
10146  enable_dlopen_self=unknown
10147  enable_dlopen_self_static=unknown
10148else
10149  lt_cv_dlopen=no
10150  lt_cv_dlopen_libs=
10151
10152  case $host_os in
10153  beos*)
10154    lt_cv_dlopen="load_add_on"
10155    lt_cv_dlopen_libs=
10156    lt_cv_dlopen_self=yes
10157    ;;
10158
10159  mingw* | pw32*)
10160    lt_cv_dlopen="LoadLibrary"
10161    lt_cv_dlopen_libs=
10162   ;;
10163
10164  cygwin*)
10165    lt_cv_dlopen="dlopen"
10166    lt_cv_dlopen_libs=
10167   ;;
10168
10169  darwin*)
10170  # if libdl is installed we need to link against it
10171    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10172$as_echo_n "checking for dlopen in -ldl... " >&6; }
10173if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10174  $as_echo_n "(cached) " >&6
10175else
10176  ac_check_lib_save_LIBS=$LIBS
10177LIBS="-ldl  $LIBS"
10178cat >conftest.$ac_ext <<_ACEOF
10179/* confdefs.h.  */
10180_ACEOF
10181cat confdefs.h >>conftest.$ac_ext
10182cat >>conftest.$ac_ext <<_ACEOF
10183/* end confdefs.h.  */
10184
10185/* Override any GCC internal prototype to avoid an error.
10186   Use char because int might match the return type of a GCC
10187   builtin and then its argument prototype would still apply.  */
10188#ifdef __cplusplus
10189extern "C"
10190#endif
10191char dlopen ();
10192int
10193main ()
10194{
10195return dlopen ();
10196  ;
10197  return 0;
10198}
10199_ACEOF
10200rm -f conftest.$ac_objext conftest$ac_exeext
10201if { (ac_try="$ac_link"
10202case "(($ac_try" in
10203  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10204  *) ac_try_echo=$ac_try;;
10205esac
10206eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10207$as_echo "$ac_try_echo") >&5
10208  (eval "$ac_link") 2>conftest.er1
10209  ac_status=$?
10210  grep -v '^ *+' conftest.er1 >conftest.err
10211  rm -f conftest.er1
10212  cat conftest.err >&5
10213  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214  (exit $ac_status); } && {
10215	 test -z "$ac_c_werror_flag" ||
10216	 test ! -s conftest.err
10217       } && test -s conftest$ac_exeext && {
10218	 test "$cross_compiling" = yes ||
10219	 $as_test_x conftest$ac_exeext
10220       }; then
10221  ac_cv_lib_dl_dlopen=yes
10222else
10223  $as_echo "$as_me: failed program was:" >&5
10224sed 's/^/| /' conftest.$ac_ext >&5
10225
10226	ac_cv_lib_dl_dlopen=no
10227fi
10228
10229rm -rf conftest.dSYM
10230rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10231      conftest$ac_exeext conftest.$ac_ext
10232LIBS=$ac_check_lib_save_LIBS
10233fi
10234{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10235$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10236if test $ac_cv_lib_dl_dlopen = yes; then
10237  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10238else
10239
10240    lt_cv_dlopen="dyld"
10241    lt_cv_dlopen_libs=
10242    lt_cv_dlopen_self=yes
10243
10244fi
10245
10246   ;;
10247
10248  *)
10249    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10250$as_echo_n "checking for shl_load... " >&6; }
10251if test "${ac_cv_func_shl_load+set}" = set; then
10252  $as_echo_n "(cached) " >&6
10253else
10254  cat >conftest.$ac_ext <<_ACEOF
10255/* confdefs.h.  */
10256_ACEOF
10257cat confdefs.h >>conftest.$ac_ext
10258cat >>conftest.$ac_ext <<_ACEOF
10259/* end confdefs.h.  */
10260/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10261   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10262#define shl_load innocuous_shl_load
10263
10264/* System header to define __stub macros and hopefully few prototypes,
10265    which can conflict with char shl_load (); below.
10266    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10267    <limits.h> exists even on freestanding compilers.  */
10268
10269#ifdef __STDC__
10270# include <limits.h>
10271#else
10272# include <assert.h>
10273#endif
10274
10275#undef shl_load
10276
10277/* Override any GCC internal prototype to avoid an error.
10278   Use char because int might match the return type of a GCC
10279   builtin and then its argument prototype would still apply.  */
10280#ifdef __cplusplus
10281extern "C"
10282#endif
10283char shl_load ();
10284/* The GNU C library defines this for functions which it implements
10285    to always fail with ENOSYS.  Some functions are actually named
10286    something starting with __ and the normal name is an alias.  */
10287#if defined __stub_shl_load || defined __stub___shl_load
10288choke me
10289#endif
10290
10291int
10292main ()
10293{
10294return shl_load ();
10295  ;
10296  return 0;
10297}
10298_ACEOF
10299rm -f conftest.$ac_objext conftest$ac_exeext
10300if { (ac_try="$ac_link"
10301case "(($ac_try" in
10302  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10303  *) ac_try_echo=$ac_try;;
10304esac
10305eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10306$as_echo "$ac_try_echo") >&5
10307  (eval "$ac_link") 2>conftest.er1
10308  ac_status=$?
10309  grep -v '^ *+' conftest.er1 >conftest.err
10310  rm -f conftest.er1
10311  cat conftest.err >&5
10312  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313  (exit $ac_status); } && {
10314	 test -z "$ac_c_werror_flag" ||
10315	 test ! -s conftest.err
10316       } && test -s conftest$ac_exeext && {
10317	 test "$cross_compiling" = yes ||
10318	 $as_test_x conftest$ac_exeext
10319       }; then
10320  ac_cv_func_shl_load=yes
10321else
10322  $as_echo "$as_me: failed program was:" >&5
10323sed 's/^/| /' conftest.$ac_ext >&5
10324
10325	ac_cv_func_shl_load=no
10326fi
10327
10328rm -rf conftest.dSYM
10329rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10330      conftest$ac_exeext conftest.$ac_ext
10331fi
10332{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10333$as_echo "$ac_cv_func_shl_load" >&6; }
10334if test $ac_cv_func_shl_load = yes; then
10335  lt_cv_dlopen="shl_load"
10336else
10337  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10338$as_echo_n "checking for shl_load in -ldld... " >&6; }
10339if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10340  $as_echo_n "(cached) " >&6
10341else
10342  ac_check_lib_save_LIBS=$LIBS
10343LIBS="-ldld  $LIBS"
10344cat >conftest.$ac_ext <<_ACEOF
10345/* confdefs.h.  */
10346_ACEOF
10347cat confdefs.h >>conftest.$ac_ext
10348cat >>conftest.$ac_ext <<_ACEOF
10349/* end confdefs.h.  */
10350
10351/* Override any GCC internal prototype to avoid an error.
10352   Use char because int might match the return type of a GCC
10353   builtin and then its argument prototype would still apply.  */
10354#ifdef __cplusplus
10355extern "C"
10356#endif
10357char shl_load ();
10358int
10359main ()
10360{
10361return shl_load ();
10362  ;
10363  return 0;
10364}
10365_ACEOF
10366rm -f conftest.$ac_objext conftest$ac_exeext
10367if { (ac_try="$ac_link"
10368case "(($ac_try" in
10369  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10370  *) ac_try_echo=$ac_try;;
10371esac
10372eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10373$as_echo "$ac_try_echo") >&5
10374  (eval "$ac_link") 2>conftest.er1
10375  ac_status=$?
10376  grep -v '^ *+' conftest.er1 >conftest.err
10377  rm -f conftest.er1
10378  cat conftest.err >&5
10379  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380  (exit $ac_status); } && {
10381	 test -z "$ac_c_werror_flag" ||
10382	 test ! -s conftest.err
10383       } && test -s conftest$ac_exeext && {
10384	 test "$cross_compiling" = yes ||
10385	 $as_test_x conftest$ac_exeext
10386       }; then
10387  ac_cv_lib_dld_shl_load=yes
10388else
10389  $as_echo "$as_me: failed program was:" >&5
10390sed 's/^/| /' conftest.$ac_ext >&5
10391
10392	ac_cv_lib_dld_shl_load=no
10393fi
10394
10395rm -rf conftest.dSYM
10396rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10397      conftest$ac_exeext conftest.$ac_ext
10398LIBS=$ac_check_lib_save_LIBS
10399fi
10400{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10401$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10402if test $ac_cv_lib_dld_shl_load = yes; then
10403  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10404else
10405  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10406$as_echo_n "checking for dlopen... " >&6; }
10407if test "${ac_cv_func_dlopen+set}" = set; then
10408  $as_echo_n "(cached) " >&6
10409else
10410  cat >conftest.$ac_ext <<_ACEOF
10411/* confdefs.h.  */
10412_ACEOF
10413cat confdefs.h >>conftest.$ac_ext
10414cat >>conftest.$ac_ext <<_ACEOF
10415/* end confdefs.h.  */
10416/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10417   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10418#define dlopen innocuous_dlopen
10419
10420/* System header to define __stub macros and hopefully few prototypes,
10421    which can conflict with char dlopen (); below.
10422    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10423    <limits.h> exists even on freestanding compilers.  */
10424
10425#ifdef __STDC__
10426# include <limits.h>
10427#else
10428# include <assert.h>
10429#endif
10430
10431#undef dlopen
10432
10433/* Override any GCC internal prototype to avoid an error.
10434   Use char because int might match the return type of a GCC
10435   builtin and then its argument prototype would still apply.  */
10436#ifdef __cplusplus
10437extern "C"
10438#endif
10439char dlopen ();
10440/* The GNU C library defines this for functions which it implements
10441    to always fail with ENOSYS.  Some functions are actually named
10442    something starting with __ and the normal name is an alias.  */
10443#if defined __stub_dlopen || defined __stub___dlopen
10444choke me
10445#endif
10446
10447int
10448main ()
10449{
10450return dlopen ();
10451  ;
10452  return 0;
10453}
10454_ACEOF
10455rm -f conftest.$ac_objext conftest$ac_exeext
10456if { (ac_try="$ac_link"
10457case "(($ac_try" in
10458  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10459  *) ac_try_echo=$ac_try;;
10460esac
10461eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10462$as_echo "$ac_try_echo") >&5
10463  (eval "$ac_link") 2>conftest.er1
10464  ac_status=$?
10465  grep -v '^ *+' conftest.er1 >conftest.err
10466  rm -f conftest.er1
10467  cat conftest.err >&5
10468  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469  (exit $ac_status); } && {
10470	 test -z "$ac_c_werror_flag" ||
10471	 test ! -s conftest.err
10472       } && test -s conftest$ac_exeext && {
10473	 test "$cross_compiling" = yes ||
10474	 $as_test_x conftest$ac_exeext
10475       }; then
10476  ac_cv_func_dlopen=yes
10477else
10478  $as_echo "$as_me: failed program was:" >&5
10479sed 's/^/| /' conftest.$ac_ext >&5
10480
10481	ac_cv_func_dlopen=no
10482fi
10483
10484rm -rf conftest.dSYM
10485rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10486      conftest$ac_exeext conftest.$ac_ext
10487fi
10488{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10489$as_echo "$ac_cv_func_dlopen" >&6; }
10490if test $ac_cv_func_dlopen = yes; then
10491  lt_cv_dlopen="dlopen"
10492else
10493  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10494$as_echo_n "checking for dlopen in -ldl... " >&6; }
10495if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10496  $as_echo_n "(cached) " >&6
10497else
10498  ac_check_lib_save_LIBS=$LIBS
10499LIBS="-ldl  $LIBS"
10500cat >conftest.$ac_ext <<_ACEOF
10501/* confdefs.h.  */
10502_ACEOF
10503cat confdefs.h >>conftest.$ac_ext
10504cat >>conftest.$ac_ext <<_ACEOF
10505/* end confdefs.h.  */
10506
10507/* Override any GCC internal prototype to avoid an error.
10508   Use char because int might match the return type of a GCC
10509   builtin and then its argument prototype would still apply.  */
10510#ifdef __cplusplus
10511extern "C"
10512#endif
10513char dlopen ();
10514int
10515main ()
10516{
10517return dlopen ();
10518  ;
10519  return 0;
10520}
10521_ACEOF
10522rm -f conftest.$ac_objext conftest$ac_exeext
10523if { (ac_try="$ac_link"
10524case "(($ac_try" in
10525  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10526  *) ac_try_echo=$ac_try;;
10527esac
10528eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10529$as_echo "$ac_try_echo") >&5
10530  (eval "$ac_link") 2>conftest.er1
10531  ac_status=$?
10532  grep -v '^ *+' conftest.er1 >conftest.err
10533  rm -f conftest.er1
10534  cat conftest.err >&5
10535  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536  (exit $ac_status); } && {
10537	 test -z "$ac_c_werror_flag" ||
10538	 test ! -s conftest.err
10539       } && test -s conftest$ac_exeext && {
10540	 test "$cross_compiling" = yes ||
10541	 $as_test_x conftest$ac_exeext
10542       }; then
10543  ac_cv_lib_dl_dlopen=yes
10544else
10545  $as_echo "$as_me: failed program was:" >&5
10546sed 's/^/| /' conftest.$ac_ext >&5
10547
10548	ac_cv_lib_dl_dlopen=no
10549fi
10550
10551rm -rf conftest.dSYM
10552rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10553      conftest$ac_exeext conftest.$ac_ext
10554LIBS=$ac_check_lib_save_LIBS
10555fi
10556{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10557$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10558if test $ac_cv_lib_dl_dlopen = yes; then
10559  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10560else
10561  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10562$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10563if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10564  $as_echo_n "(cached) " >&6
10565else
10566  ac_check_lib_save_LIBS=$LIBS
10567LIBS="-lsvld  $LIBS"
10568cat >conftest.$ac_ext <<_ACEOF
10569/* confdefs.h.  */
10570_ACEOF
10571cat confdefs.h >>conftest.$ac_ext
10572cat >>conftest.$ac_ext <<_ACEOF
10573/* end confdefs.h.  */
10574
10575/* Override any GCC internal prototype to avoid an error.
10576   Use char because int might match the return type of a GCC
10577   builtin and then its argument prototype would still apply.  */
10578#ifdef __cplusplus
10579extern "C"
10580#endif
10581char dlopen ();
10582int
10583main ()
10584{
10585return dlopen ();
10586  ;
10587  return 0;
10588}
10589_ACEOF
10590rm -f conftest.$ac_objext conftest$ac_exeext
10591if { (ac_try="$ac_link"
10592case "(($ac_try" in
10593  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10594  *) ac_try_echo=$ac_try;;
10595esac
10596eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10597$as_echo "$ac_try_echo") >&5
10598  (eval "$ac_link") 2>conftest.er1
10599  ac_status=$?
10600  grep -v '^ *+' conftest.er1 >conftest.err
10601  rm -f conftest.er1
10602  cat conftest.err >&5
10603  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604  (exit $ac_status); } && {
10605	 test -z "$ac_c_werror_flag" ||
10606	 test ! -s conftest.err
10607       } && test -s conftest$ac_exeext && {
10608	 test "$cross_compiling" = yes ||
10609	 $as_test_x conftest$ac_exeext
10610       }; then
10611  ac_cv_lib_svld_dlopen=yes
10612else
10613  $as_echo "$as_me: failed program was:" >&5
10614sed 's/^/| /' conftest.$ac_ext >&5
10615
10616	ac_cv_lib_svld_dlopen=no
10617fi
10618
10619rm -rf conftest.dSYM
10620rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10621      conftest$ac_exeext conftest.$ac_ext
10622LIBS=$ac_check_lib_save_LIBS
10623fi
10624{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10625$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10626if test $ac_cv_lib_svld_dlopen = yes; then
10627  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10628else
10629  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10630$as_echo_n "checking for dld_link in -ldld... " >&6; }
10631if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10632  $as_echo_n "(cached) " >&6
10633else
10634  ac_check_lib_save_LIBS=$LIBS
10635LIBS="-ldld  $LIBS"
10636cat >conftest.$ac_ext <<_ACEOF
10637/* confdefs.h.  */
10638_ACEOF
10639cat confdefs.h >>conftest.$ac_ext
10640cat >>conftest.$ac_ext <<_ACEOF
10641/* end confdefs.h.  */
10642
10643/* Override any GCC internal prototype to avoid an error.
10644   Use char because int might match the return type of a GCC
10645   builtin and then its argument prototype would still apply.  */
10646#ifdef __cplusplus
10647extern "C"
10648#endif
10649char dld_link ();
10650int
10651main ()
10652{
10653return dld_link ();
10654  ;
10655  return 0;
10656}
10657_ACEOF
10658rm -f conftest.$ac_objext conftest$ac_exeext
10659if { (ac_try="$ac_link"
10660case "(($ac_try" in
10661  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10662  *) ac_try_echo=$ac_try;;
10663esac
10664eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10665$as_echo "$ac_try_echo") >&5
10666  (eval "$ac_link") 2>conftest.er1
10667  ac_status=$?
10668  grep -v '^ *+' conftest.er1 >conftest.err
10669  rm -f conftest.er1
10670  cat conftest.err >&5
10671  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672  (exit $ac_status); } && {
10673	 test -z "$ac_c_werror_flag" ||
10674	 test ! -s conftest.err
10675       } && test -s conftest$ac_exeext && {
10676	 test "$cross_compiling" = yes ||
10677	 $as_test_x conftest$ac_exeext
10678       }; then
10679  ac_cv_lib_dld_dld_link=yes
10680else
10681  $as_echo "$as_me: failed program was:" >&5
10682sed 's/^/| /' conftest.$ac_ext >&5
10683
10684	ac_cv_lib_dld_dld_link=no
10685fi
10686
10687rm -rf conftest.dSYM
10688rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10689      conftest$ac_exeext conftest.$ac_ext
10690LIBS=$ac_check_lib_save_LIBS
10691fi
10692{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10693$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10694if test $ac_cv_lib_dld_dld_link = yes; then
10695  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10696fi
10697
10698
10699fi
10700
10701
10702fi
10703
10704
10705fi
10706
10707
10708fi
10709
10710
10711fi
10712
10713    ;;
10714  esac
10715
10716  if test "x$lt_cv_dlopen" != xno; then
10717    enable_dlopen=yes
10718  else
10719    enable_dlopen=no
10720  fi
10721
10722  case $lt_cv_dlopen in
10723  dlopen)
10724    save_CPPFLAGS="$CPPFLAGS"
10725    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10726
10727    save_LDFLAGS="$LDFLAGS"
10728    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10729
10730    save_LIBS="$LIBS"
10731    LIBS="$lt_cv_dlopen_libs $LIBS"
10732
10733    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10734$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10735if test "${lt_cv_dlopen_self+set}" = set; then
10736  $as_echo_n "(cached) " >&6
10737else
10738  	  if test "$cross_compiling" = yes; then :
10739  lt_cv_dlopen_self=cross
10740else
10741  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10742  lt_status=$lt_dlunknown
10743  cat > conftest.$ac_ext <<EOF
10744#line 10744 "configure"
10745#include "confdefs.h"
10746
10747#if HAVE_DLFCN_H
10748#include <dlfcn.h>
10749#endif
10750
10751#include <stdio.h>
10752
10753#ifdef RTLD_GLOBAL
10754#  define LT_DLGLOBAL		RTLD_GLOBAL
10755#else
10756#  ifdef DL_GLOBAL
10757#    define LT_DLGLOBAL		DL_GLOBAL
10758#  else
10759#    define LT_DLGLOBAL		0
10760#  endif
10761#endif
10762
10763/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10764   find out it does not work in some platform. */
10765#ifndef LT_DLLAZY_OR_NOW
10766#  ifdef RTLD_LAZY
10767#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10768#  else
10769#    ifdef DL_LAZY
10770#      define LT_DLLAZY_OR_NOW		DL_LAZY
10771#    else
10772#      ifdef RTLD_NOW
10773#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10774#      else
10775#        ifdef DL_NOW
10776#          define LT_DLLAZY_OR_NOW	DL_NOW
10777#        else
10778#          define LT_DLLAZY_OR_NOW	0
10779#        endif
10780#      endif
10781#    endif
10782#  endif
10783#endif
10784
10785#ifdef __cplusplus
10786extern "C" void exit (int);
10787#endif
10788
10789void fnord() { int i=42;}
10790int main ()
10791{
10792  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10793  int status = $lt_dlunknown;
10794
10795  if (self)
10796    {
10797      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10798      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10799      /* dlclose (self); */
10800    }
10801  else
10802    puts (dlerror ());
10803
10804    exit (status);
10805}
10806EOF
10807  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10808  (eval $ac_link) 2>&5
10809  ac_status=$?
10810  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10812    (./conftest; exit; ) >&5 2>/dev/null
10813    lt_status=$?
10814    case x$lt_status in
10815      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10816      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10817      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10818    esac
10819  else :
10820    # compilation failed
10821    lt_cv_dlopen_self=no
10822  fi
10823fi
10824rm -fr conftest*
10825
10826
10827fi
10828{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10829$as_echo "$lt_cv_dlopen_self" >&6; }
10830
10831    if test "x$lt_cv_dlopen_self" = xyes; then
10832      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10833      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10834$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10835if test "${lt_cv_dlopen_self_static+set}" = set; then
10836  $as_echo_n "(cached) " >&6
10837else
10838  	  if test "$cross_compiling" = yes; then :
10839  lt_cv_dlopen_self_static=cross
10840else
10841  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10842  lt_status=$lt_dlunknown
10843  cat > conftest.$ac_ext <<EOF
10844#line 10844 "configure"
10845#include "confdefs.h"
10846
10847#if HAVE_DLFCN_H
10848#include <dlfcn.h>
10849#endif
10850
10851#include <stdio.h>
10852
10853#ifdef RTLD_GLOBAL
10854#  define LT_DLGLOBAL		RTLD_GLOBAL
10855#else
10856#  ifdef DL_GLOBAL
10857#    define LT_DLGLOBAL		DL_GLOBAL
10858#  else
10859#    define LT_DLGLOBAL		0
10860#  endif
10861#endif
10862
10863/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10864   find out it does not work in some platform. */
10865#ifndef LT_DLLAZY_OR_NOW
10866#  ifdef RTLD_LAZY
10867#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10868#  else
10869#    ifdef DL_LAZY
10870#      define LT_DLLAZY_OR_NOW		DL_LAZY
10871#    else
10872#      ifdef RTLD_NOW
10873#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10874#      else
10875#        ifdef DL_NOW
10876#          define LT_DLLAZY_OR_NOW	DL_NOW
10877#        else
10878#          define LT_DLLAZY_OR_NOW	0
10879#        endif
10880#      endif
10881#    endif
10882#  endif
10883#endif
10884
10885#ifdef __cplusplus
10886extern "C" void exit (int);
10887#endif
10888
10889void fnord() { int i=42;}
10890int main ()
10891{
10892  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10893  int status = $lt_dlunknown;
10894
10895  if (self)
10896    {
10897      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10898      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10899      /* dlclose (self); */
10900    }
10901  else
10902    puts (dlerror ());
10903
10904    exit (status);
10905}
10906EOF
10907  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10908  (eval $ac_link) 2>&5
10909  ac_status=$?
10910  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10912    (./conftest; exit; ) >&5 2>/dev/null
10913    lt_status=$?
10914    case x$lt_status in
10915      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10916      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10917      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10918    esac
10919  else :
10920    # compilation failed
10921    lt_cv_dlopen_self_static=no
10922  fi
10923fi
10924rm -fr conftest*
10925
10926
10927fi
10928{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10929$as_echo "$lt_cv_dlopen_self_static" >&6; }
10930    fi
10931
10932    CPPFLAGS="$save_CPPFLAGS"
10933    LDFLAGS="$save_LDFLAGS"
10934    LIBS="$save_LIBS"
10935    ;;
10936  esac
10937
10938  case $lt_cv_dlopen_self in
10939  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10940  *) enable_dlopen_self=unknown ;;
10941  esac
10942
10943  case $lt_cv_dlopen_self_static in
10944  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10945  *) enable_dlopen_self_static=unknown ;;
10946  esac
10947fi
10948
10949
10950# Report which library types will actually be built
10951{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10952$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10953{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10954$as_echo "$can_build_shared" >&6; }
10955
10956{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10957$as_echo_n "checking whether to build shared libraries... " >&6; }
10958test "$can_build_shared" = "no" && enable_shared=no
10959
10960# On AIX, shared libraries and static libraries use the same namespace, and
10961# are all built from PIC.
10962case $host_os in
10963aix3*)
10964  test "$enable_shared" = yes && enable_static=no
10965  if test -n "$RANLIB"; then
10966    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10967    postinstall_cmds='$RANLIB $lib'
10968  fi
10969  ;;
10970
10971aix[4-9]*)
10972  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10973    test "$enable_shared" = yes && enable_static=no
10974  fi
10975    ;;
10976esac
10977{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10978$as_echo "$enable_shared" >&6; }
10979
10980{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10981$as_echo_n "checking whether to build static libraries... " >&6; }
10982# Make sure either enable_shared or enable_static is yes.
10983test "$enable_shared" = yes || enable_static=yes
10984{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10985$as_echo "$enable_static" >&6; }
10986
10987# The else clause should only fire when bootstrapping the
10988# libtool distribution, otherwise you forgot to ship ltmain.sh
10989# with your package, and you will get complaints that there are
10990# no rules to generate ltmain.sh.
10991if test -f "$ltmain"; then
10992  # See if we are running on zsh, and set the options which allow our commands through
10993  # without removal of \ escapes.
10994  if test -n "${ZSH_VERSION+set}" ; then
10995    setopt NO_GLOB_SUBST
10996  fi
10997  # Now quote all the things that may contain metacharacters while being
10998  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10999  # variables and quote the copies for generation of the libtool script.
11000  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11001    SED SHELL STRIP \
11002    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11003    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11004    deplibs_check_method reload_flag reload_cmds need_locks \
11005    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11006    lt_cv_sys_global_symbol_to_c_name_address \
11007    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11008    old_postinstall_cmds old_postuninstall_cmds \
11009    compiler \
11010    CC \
11011    LD \
11012    lt_prog_compiler_wl \
11013    lt_prog_compiler_pic \
11014    lt_prog_compiler_static \
11015    lt_prog_compiler_no_builtin_flag \
11016    export_dynamic_flag_spec \
11017    thread_safe_flag_spec \
11018    whole_archive_flag_spec \
11019    enable_shared_with_static_runtimes \
11020    old_archive_cmds \
11021    old_archive_from_new_cmds \
11022    predep_objects \
11023    postdep_objects \
11024    predeps \
11025    postdeps \
11026    compiler_lib_search_path \
11027    compiler_lib_search_dirs \
11028    archive_cmds \
11029    archive_expsym_cmds \
11030    postinstall_cmds \
11031    postuninstall_cmds \
11032    old_archive_from_expsyms_cmds \
11033    allow_undefined_flag \
11034    no_undefined_flag \
11035    export_symbols_cmds \
11036    hardcode_libdir_flag_spec \
11037    hardcode_libdir_flag_spec_ld \
11038    hardcode_libdir_separator \
11039    hardcode_automatic \
11040    module_cmds \
11041    module_expsym_cmds \
11042    lt_cv_prog_compiler_c_o \
11043    fix_srcfile_path \
11044    exclude_expsyms \
11045    include_expsyms; do
11046
11047    case $var in
11048    old_archive_cmds | \
11049    old_archive_from_new_cmds | \
11050    archive_cmds | \
11051    archive_expsym_cmds | \
11052    module_cmds | \
11053    module_expsym_cmds | \
11054    old_archive_from_expsyms_cmds | \
11055    export_symbols_cmds | \
11056    extract_expsyms_cmds | reload_cmds | finish_cmds | \
11057    postinstall_cmds | postuninstall_cmds | \
11058    old_postinstall_cmds | old_postuninstall_cmds | \
11059    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11060      # Double-quote double-evaled strings.
11061      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11062      ;;
11063    *)
11064      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11065      ;;
11066    esac
11067  done
11068
11069  case $lt_echo in
11070  *'\$0 --fallback-echo"')
11071    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11072    ;;
11073  esac
11074
11075cfgfile="${ofile}T"
11076  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11077  $rm -f "$cfgfile"
11078  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
11079$as_echo "$as_me: creating $ofile" >&6;}
11080
11081  cat <<__EOF__ >> "$cfgfile"
11082#! $SHELL
11083
11084# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11085# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11086# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11087#
11088# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11089# Free Software Foundation, Inc.
11090#
11091# This file is part of GNU Libtool:
11092# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11093#
11094# This program is free software; you can redistribute it and/or modify
11095# it under the terms of the GNU General Public License as published by
11096# the Free Software Foundation; either version 2 of the License, or
11097# (at your option) any later version.
11098#
11099# This program is distributed in the hope that it will be useful, but
11100# WITHOUT ANY WARRANTY; without even the implied warranty of
11101# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11102# General Public License for more details.
11103#
11104# You should have received a copy of the GNU General Public License
11105# along with this program; if not, write to the Free Software
11106# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11107#
11108# As a special exception to the GNU General Public License, if you
11109# distribute this file as part of a program that contains a
11110# configuration script generated by Autoconf, you may include it under
11111# the same distribution terms that you use for the rest of that program.
11112
11113# A sed program that does not truncate output.
11114SED=$lt_SED
11115
11116# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11117Xsed="$SED -e 1s/^X//"
11118
11119# The HP-UX ksh and POSIX shell print the target directory to stdout
11120# if CDPATH is set.
11121(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11122
11123# The names of the tagged configurations supported by this script.
11124available_tags=
11125
11126# ### BEGIN LIBTOOL CONFIG
11127
11128# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11129
11130# Shell to use when invoking shell scripts.
11131SHELL=$lt_SHELL
11132
11133# Whether or not to build shared libraries.
11134build_libtool_libs=$enable_shared
11135
11136# Whether or not to build static libraries.
11137build_old_libs=$enable_static
11138
11139# Whether or not to add -lc for building shared libraries.
11140build_libtool_need_lc=$archive_cmds_need_lc
11141
11142# Whether or not to disallow shared libs when runtime libs are static
11143allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11144
11145# Whether or not to optimize for fast installation.
11146fast_install=$enable_fast_install
11147
11148# The host system.
11149host_alias=$host_alias
11150host=$host
11151host_os=$host_os
11152
11153# The build system.
11154build_alias=$build_alias
11155build=$build
11156build_os=$build_os
11157
11158# An echo program that does not interpret backslashes.
11159echo=$lt_echo
11160
11161# The archiver.
11162AR=$lt_AR
11163AR_FLAGS=$lt_AR_FLAGS
11164
11165# A C compiler.
11166LTCC=$lt_LTCC
11167
11168# LTCC compiler flags.
11169LTCFLAGS=$lt_LTCFLAGS
11170
11171# A language-specific compiler.
11172CC=$lt_compiler
11173
11174# Is the compiler the GNU C compiler?
11175with_gcc=$GCC
11176
11177# An ERE matcher.
11178EGREP=$lt_EGREP
11179
11180# The linker used to build libraries.
11181LD=$lt_LD
11182
11183# Whether we need hard or soft links.
11184LN_S=$lt_LN_S
11185
11186# A BSD-compatible nm program.
11187NM=$lt_NM
11188
11189# A symbol stripping program
11190STRIP=$lt_STRIP
11191
11192# Used to examine libraries when file_magic_cmd begins "file"
11193MAGIC_CMD=$MAGIC_CMD
11194
11195# Used on cygwin: DLL creation program.
11196DLLTOOL="$DLLTOOL"
11197
11198# Used on cygwin: object dumper.
11199OBJDUMP="$OBJDUMP"
11200
11201# Used on cygwin: assembler.
11202AS="$AS"
11203
11204# The name of the directory that contains temporary libtool files.
11205objdir=$objdir
11206
11207# How to create reloadable object files.
11208reload_flag=$lt_reload_flag
11209reload_cmds=$lt_reload_cmds
11210
11211# How to pass a linker flag through the compiler.
11212wl=$lt_lt_prog_compiler_wl
11213
11214# Object file suffix (normally "o").
11215objext="$ac_objext"
11216
11217# Old archive suffix (normally "a").
11218libext="$libext"
11219
11220# Shared library suffix (normally ".so").
11221shrext_cmds='$shrext_cmds'
11222
11223# Executable file suffix (normally "").
11224exeext="$exeext"
11225
11226# Additional compiler flags for building library objects.
11227pic_flag=$lt_lt_prog_compiler_pic
11228pic_mode=$pic_mode
11229
11230# What is the maximum length of a command?
11231max_cmd_len=$lt_cv_sys_max_cmd_len
11232
11233# Does compiler simultaneously support -c and -o options?
11234compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11235
11236# Must we lock files when doing compilation?
11237need_locks=$lt_need_locks
11238
11239# Do we need the lib prefix for modules?
11240need_lib_prefix=$need_lib_prefix
11241
11242# Do we need a version for libraries?
11243need_version=$need_version
11244
11245# Whether dlopen is supported.
11246dlopen_support=$enable_dlopen
11247
11248# Whether dlopen of programs is supported.
11249dlopen_self=$enable_dlopen_self
11250
11251# Whether dlopen of statically linked programs is supported.
11252dlopen_self_static=$enable_dlopen_self_static
11253
11254# Compiler flag to prevent dynamic linking.
11255link_static_flag=$lt_lt_prog_compiler_static
11256
11257# Compiler flag to turn off builtin functions.
11258no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11259
11260# Compiler flag to allow reflexive dlopens.
11261export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11262
11263# Compiler flag to generate shared objects directly from archives.
11264whole_archive_flag_spec=$lt_whole_archive_flag_spec
11265
11266# Compiler flag to generate thread-safe objects.
11267thread_safe_flag_spec=$lt_thread_safe_flag_spec
11268
11269# Library versioning type.
11270version_type=$version_type
11271
11272# Format of library name prefix.
11273libname_spec=$lt_libname_spec
11274
11275# List of archive names.  First name is the real one, the rest are links.
11276# The last name is the one that the linker finds with -lNAME.
11277library_names_spec=$lt_library_names_spec
11278
11279# The coded name of the library, if different from the real name.
11280soname_spec=$lt_soname_spec
11281
11282# Commands used to build and install an old-style archive.
11283RANLIB=$lt_RANLIB
11284old_archive_cmds=$lt_old_archive_cmds
11285old_postinstall_cmds=$lt_old_postinstall_cmds
11286old_postuninstall_cmds=$lt_old_postuninstall_cmds
11287
11288# Create an old-style archive from a shared archive.
11289old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11290
11291# Create a temporary old-style archive to link instead of a shared archive.
11292old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11293
11294# Commands used to build and install a shared archive.
11295archive_cmds=$lt_archive_cmds
11296archive_expsym_cmds=$lt_archive_expsym_cmds
11297postinstall_cmds=$lt_postinstall_cmds
11298postuninstall_cmds=$lt_postuninstall_cmds
11299
11300# Commands used to build a loadable module (assumed same as above if empty)
11301module_cmds=$lt_module_cmds
11302module_expsym_cmds=$lt_module_expsym_cmds
11303
11304# Commands to strip libraries.
11305old_striplib=$lt_old_striplib
11306striplib=$lt_striplib
11307
11308# Dependencies to place before the objects being linked to create a
11309# shared library.
11310predep_objects=$lt_predep_objects
11311
11312# Dependencies to place after the objects being linked to create a
11313# shared library.
11314postdep_objects=$lt_postdep_objects
11315
11316# Dependencies to place before the objects being linked to create a
11317# shared library.
11318predeps=$lt_predeps
11319
11320# Dependencies to place after the objects being linked to create a
11321# shared library.
11322postdeps=$lt_postdeps
11323
11324# The directories searched by this compiler when creating a shared
11325# library
11326compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11327
11328# The library search path used internally by the compiler when linking
11329# a shared library.
11330compiler_lib_search_path=$lt_compiler_lib_search_path
11331
11332# Method to check whether dependent libraries are shared objects.
11333deplibs_check_method=$lt_deplibs_check_method
11334
11335# Command to use when deplibs_check_method == file_magic.
11336file_magic_cmd=$lt_file_magic_cmd
11337
11338# Flag that allows shared libraries with undefined symbols to be built.
11339allow_undefined_flag=$lt_allow_undefined_flag
11340
11341# Flag that forces no undefined symbols.
11342no_undefined_flag=$lt_no_undefined_flag
11343
11344# Commands used to finish a libtool library installation in a directory.
11345finish_cmds=$lt_finish_cmds
11346
11347# Same as above, but a single script fragment to be evaled but not shown.
11348finish_eval=$lt_finish_eval
11349
11350# Take the output of nm and produce a listing of raw symbols and C names.
11351global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11352
11353# Transform the output of nm in a proper C declaration
11354global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11355
11356# Transform the output of nm in a C name address pair
11357global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11358
11359# This is the shared library runtime path variable.
11360runpath_var=$runpath_var
11361
11362# This is the shared library path variable.
11363shlibpath_var=$shlibpath_var
11364
11365# Is shlibpath searched before the hard-coded library search path?
11366shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11367
11368# How to hardcode a shared library path into an executable.
11369hardcode_action=$hardcode_action
11370
11371# Whether we should hardcode library paths into libraries.
11372hardcode_into_libs=$hardcode_into_libs
11373
11374# Flag to hardcode \$libdir into a binary during linking.
11375# This must work even if \$libdir does not exist.
11376hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11377
11378# If ld is used when linking, flag to hardcode \$libdir into
11379# a binary during linking. This must work even if \$libdir does
11380# not exist.
11381hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11382
11383# Whether we need a single -rpath flag with a separated argument.
11384hardcode_libdir_separator=$lt_hardcode_libdir_separator
11385
11386# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11387# resulting binary.
11388hardcode_direct=$hardcode_direct
11389
11390# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11391# resulting binary.
11392hardcode_minus_L=$hardcode_minus_L
11393
11394# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11395# the resulting binary.
11396hardcode_shlibpath_var=$hardcode_shlibpath_var
11397
11398# Set to yes if building a shared library automatically hardcodes DIR into the library
11399# and all subsequent libraries and executables linked against it.
11400hardcode_automatic=$hardcode_automatic
11401
11402# Variables whose values should be saved in libtool wrapper scripts and
11403# restored at relink time.
11404variables_saved_for_relink="$variables_saved_for_relink"
11405
11406# Whether libtool must link a program against all its dependency libraries.
11407link_all_deplibs=$link_all_deplibs
11408
11409# Compile-time system search path for libraries
11410sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11411
11412# Run-time system search path for libraries
11413sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11414
11415# Fix the shell variable \$srcfile for the compiler.
11416fix_srcfile_path=$lt_fix_srcfile_path
11417
11418# Set to yes if exported symbols are required.
11419always_export_symbols=$always_export_symbols
11420
11421# The commands to list exported symbols.
11422export_symbols_cmds=$lt_export_symbols_cmds
11423
11424# The commands to extract the exported symbol list from a shared archive.
11425extract_expsyms_cmds=$lt_extract_expsyms_cmds
11426
11427# Symbols that should not be listed in the preloaded symbols.
11428exclude_expsyms=$lt_exclude_expsyms
11429
11430# Symbols that must always be exported.
11431include_expsyms=$lt_include_expsyms
11432
11433# ### END LIBTOOL CONFIG
11434
11435__EOF__
11436
11437
11438  case $host_os in
11439  aix3*)
11440    cat <<\EOF >> "$cfgfile"
11441
11442# AIX sometimes has problems with the GCC collect2 program.  For some
11443# reason, if we set the COLLECT_NAMES environment variable, the problems
11444# vanish in a puff of smoke.
11445if test "X${COLLECT_NAMES+set}" != Xset; then
11446  COLLECT_NAMES=
11447  export COLLECT_NAMES
11448fi
11449EOF
11450    ;;
11451  esac
11452
11453  # We use sed instead of cat because bash on DJGPP gets confused if
11454  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11455  # text mode, it properly converts lines to CR/LF.  This bash problem
11456  # is reportedly fixed, but why not run on old versions too?
11457  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11458
11459  mv -f "$cfgfile" "$ofile" || \
11460    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11461  chmod +x "$ofile"
11462
11463else
11464  # If there is no Makefile yet, we rely on a make rule to execute
11465  # `config.status --recheck' to rerun these tests and create the
11466  # libtool script then.
11467  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11468  if test -f "$ltmain_in"; then
11469    test -f Makefile && make "$ltmain"
11470  fi
11471fi
11472
11473
11474ac_ext=c
11475ac_cpp='$CPP $CPPFLAGS'
11476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11478ac_compiler_gnu=$ac_cv_c_compiler_gnu
11479
11480CC="$lt_save_CC"
11481
11482
11483# Check whether --with-tags was given.
11484if test "${with_tags+set}" = set; then
11485  withval=$with_tags; tagnames="$withval"
11486fi
11487
11488
11489if test -f "$ltmain" && test -n "$tagnames"; then
11490  if test ! -f "${ofile}"; then
11491    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11492$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11493  fi
11494
11495  if test -z "$LTCC"; then
11496    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11497    if test -z "$LTCC"; then
11498      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11499$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11500    else
11501      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11502$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11503    fi
11504  fi
11505  if test -z "$LTCFLAGS"; then
11506    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11507  fi
11508
11509  # Extract list of available tagged configurations in $ofile.
11510  # Note that this assumes the entire list is on one line.
11511  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11512
11513  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11514  for tagname in $tagnames; do
11515    IFS="$lt_save_ifs"
11516    # Check whether tagname contains only valid characters
11517    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11518    "") ;;
11519    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11520$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
11521   { (exit 1); exit 1; }; }
11522	;;
11523    esac
11524
11525    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11526    then
11527      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11528$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11529   { (exit 1); exit 1; }; }
11530    fi
11531
11532    # Update the list of available tags.
11533    if test -n "$tagname"; then
11534      echo appending configuration tag \"$tagname\" to $ofile
11535
11536      case $tagname in
11537      CXX)
11538	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11539	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11540	    (test "X$CXX" != "Xg++"))) ; then
11541	  ac_ext=cpp
11542ac_cpp='$CXXCPP $CPPFLAGS'
11543ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11544ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11545ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11546
11547
11548
11549
11550archive_cmds_need_lc_CXX=no
11551allow_undefined_flag_CXX=
11552always_export_symbols_CXX=no
11553archive_expsym_cmds_CXX=
11554export_dynamic_flag_spec_CXX=
11555hardcode_direct_CXX=no
11556hardcode_libdir_flag_spec_CXX=
11557hardcode_libdir_flag_spec_ld_CXX=
11558hardcode_libdir_separator_CXX=
11559hardcode_minus_L_CXX=no
11560hardcode_shlibpath_var_CXX=unsupported
11561hardcode_automatic_CXX=no
11562module_cmds_CXX=
11563module_expsym_cmds_CXX=
11564link_all_deplibs_CXX=unknown
11565old_archive_cmds_CXX=$old_archive_cmds
11566no_undefined_flag_CXX=
11567whole_archive_flag_spec_CXX=
11568enable_shared_with_static_runtimes_CXX=no
11569
11570# Dependencies to place before and after the object being linked:
11571predep_objects_CXX=
11572postdep_objects_CXX=
11573predeps_CXX=
11574postdeps_CXX=
11575compiler_lib_search_path_CXX=
11576compiler_lib_search_dirs_CXX=
11577
11578# Source file extension for C++ test sources.
11579ac_ext=cpp
11580
11581# Object file extension for compiled C++ test sources.
11582objext=o
11583objext_CXX=$objext
11584
11585# Code to be used in simple compile tests
11586lt_simple_compile_test_code="int some_variable = 0;"
11587
11588# Code to be used in simple link tests
11589lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11590
11591# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11592
11593# If no C compiler was specified, use CC.
11594LTCC=${LTCC-"$CC"}
11595
11596# If no C compiler flags were specified, use CFLAGS.
11597LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11598
11599# Allow CC to be a program name with arguments.
11600compiler=$CC
11601
11602
11603# save warnings/boilerplate of simple test code
11604ac_outfile=conftest.$ac_objext
11605echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11606eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11607_lt_compiler_boilerplate=`cat conftest.err`
11608$rm conftest*
11609
11610ac_outfile=conftest.$ac_objext
11611echo "$lt_simple_link_test_code" >conftest.$ac_ext
11612eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11613_lt_linker_boilerplate=`cat conftest.err`
11614$rm -r conftest*
11615
11616
11617# Allow CC to be a program name with arguments.
11618lt_save_CC=$CC
11619lt_save_LD=$LD
11620lt_save_GCC=$GCC
11621GCC=$GXX
11622lt_save_with_gnu_ld=$with_gnu_ld
11623lt_save_path_LD=$lt_cv_path_LD
11624if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11625  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11626else
11627  $as_unset lt_cv_prog_gnu_ld
11628fi
11629if test -n "${lt_cv_path_LDCXX+set}"; then
11630  lt_cv_path_LD=$lt_cv_path_LDCXX
11631else
11632  $as_unset lt_cv_path_LD
11633fi
11634test -z "${LDCXX+set}" || LD=$LDCXX
11635CC=${CXX-"c++"}
11636compiler=$CC
11637compiler_CXX=$CC
11638for cc_temp in $compiler""; do
11639  case $cc_temp in
11640    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11641    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11642    \-*) ;;
11643    *) break;;
11644  esac
11645done
11646cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11647
11648
11649# We don't want -fno-exception wen compiling C++ code, so set the
11650# no_builtin_flag separately
11651if test "$GXX" = yes; then
11652  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11653else
11654  lt_prog_compiler_no_builtin_flag_CXX=
11655fi
11656
11657if test "$GXX" = yes; then
11658  # Set up default GNU C++ configuration
11659
11660
11661# Check whether --with-gnu-ld was given.
11662if test "${with_gnu_ld+set}" = set; then
11663  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11664else
11665  with_gnu_ld=no
11666fi
11667
11668ac_prog=ld
11669if test "$GCC" = yes; then
11670  # Check if gcc -print-prog-name=ld gives a path.
11671  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11672$as_echo_n "checking for ld used by $CC... " >&6; }
11673  case $host in
11674  *-*-mingw*)
11675    # gcc leaves a trailing carriage return which upsets mingw
11676    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11677  *)
11678    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11679  esac
11680  case $ac_prog in
11681    # Accept absolute paths.
11682    [\\/]* | ?:[\\/]*)
11683      re_direlt='/[^/][^/]*/\.\./'
11684      # Canonicalize the pathname of ld
11685      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11686      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11687	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11688      done
11689      test -z "$LD" && LD="$ac_prog"
11690      ;;
11691  "")
11692    # If it fails, then pretend we aren't using GCC.
11693    ac_prog=ld
11694    ;;
11695  *)
11696    # If it is relative, then search for the first ld in PATH.
11697    with_gnu_ld=unknown
11698    ;;
11699  esac
11700elif test "$with_gnu_ld" = yes; then
11701  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
11702$as_echo_n "checking for GNU ld... " >&6; }
11703else
11704  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11705$as_echo_n "checking for non-GNU ld... " >&6; }
11706fi
11707if test "${lt_cv_path_LD+set}" = set; then
11708  $as_echo_n "(cached) " >&6
11709else
11710  if test -z "$LD"; then
11711  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11712  for ac_dir in $PATH; do
11713    IFS="$lt_save_ifs"
11714    test -z "$ac_dir" && ac_dir=.
11715    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11716      lt_cv_path_LD="$ac_dir/$ac_prog"
11717      # Check to see if the program is GNU ld.  I'd rather use --version,
11718      # but apparently some variants of GNU ld only accept -v.
11719      # Break only if it was the GNU/non-GNU ld that we prefer.
11720      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11721      *GNU* | *'with BFD'*)
11722	test "$with_gnu_ld" != no && break
11723	;;
11724      *)
11725	test "$with_gnu_ld" != yes && break
11726	;;
11727      esac
11728    fi
11729  done
11730  IFS="$lt_save_ifs"
11731else
11732  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11733fi
11734fi
11735
11736LD="$lt_cv_path_LD"
11737if test -n "$LD"; then
11738  { $as_echo "$as_me:$LINENO: result: $LD" >&5
11739$as_echo "$LD" >&6; }
11740else
11741  { $as_echo "$as_me:$LINENO: result: no" >&5
11742$as_echo "no" >&6; }
11743fi
11744test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11745$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11746   { (exit 1); exit 1; }; }
11747{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11748$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11749if test "${lt_cv_prog_gnu_ld+set}" = set; then
11750  $as_echo_n "(cached) " >&6
11751else
11752  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11753case `$LD -v 2>&1 </dev/null` in
11754*GNU* | *'with BFD'*)
11755  lt_cv_prog_gnu_ld=yes
11756  ;;
11757*)
11758  lt_cv_prog_gnu_ld=no
11759  ;;
11760esac
11761fi
11762{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11763$as_echo "$lt_cv_prog_gnu_ld" >&6; }
11764with_gnu_ld=$lt_cv_prog_gnu_ld
11765
11766
11767
11768  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11769  # archiving commands below assume that GNU ld is being used.
11770  if test "$with_gnu_ld" = yes; then
11771    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11772    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11773
11774    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11775    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11776
11777    # If archive_cmds runs LD, not CC, wlarc should be empty
11778    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11779    #     investigate it a little bit more. (MM)
11780    wlarc='${wl}'
11781
11782    # ancient GNU ld didn't support --whole-archive et. al.
11783    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11784	grep 'no-whole-archive' > /dev/null; then
11785      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11786    else
11787      whole_archive_flag_spec_CXX=
11788    fi
11789  else
11790    with_gnu_ld=no
11791    wlarc=
11792
11793    # A generic and very simple default shared library creation
11794    # command for GNU C++ for the case where it uses the native
11795    # linker, instead of GNU ld.  If possible, this setting should
11796    # overridden to take advantage of the native linker features on
11797    # the platform it is being used on.
11798    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11799  fi
11800
11801  # Commands to make compiler produce verbose output that lists
11802  # what "hidden" libraries, object files and flags are used when
11803  # linking a shared library.
11804  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11805
11806else
11807  GXX=no
11808  with_gnu_ld=no
11809  wlarc=
11810fi
11811
11812# PORTME: fill in a description of your system's C++ link characteristics
11813{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11814$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11815ld_shlibs_CXX=yes
11816case $host_os in
11817  aix3*)
11818    # FIXME: insert proper C++ library support
11819    ld_shlibs_CXX=no
11820    ;;
11821  aix[4-9]*)
11822    if test "$host_cpu" = ia64; then
11823      # On IA64, the linker does run time linking by default, so we don't
11824      # have to do anything special.
11825      aix_use_runtimelinking=no
11826      exp_sym_flag='-Bexport'
11827      no_entry_flag=""
11828    else
11829      aix_use_runtimelinking=no
11830
11831      # Test if we are trying to use run time linking or normal
11832      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11833      # need to do runtime linking.
11834      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11835	for ld_flag in $LDFLAGS; do
11836	  case $ld_flag in
11837	  *-brtl*)
11838	    aix_use_runtimelinking=yes
11839	    break
11840	    ;;
11841	  esac
11842	done
11843	;;
11844      esac
11845
11846      exp_sym_flag='-bexport'
11847      no_entry_flag='-bnoentry'
11848    fi
11849
11850    # When large executables or shared objects are built, AIX ld can
11851    # have problems creating the table of contents.  If linking a library
11852    # or program results in "error TOC overflow" add -mminimal-toc to
11853    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11854    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11855
11856    archive_cmds_CXX=''
11857    hardcode_direct_CXX=yes
11858    hardcode_libdir_separator_CXX=':'
11859    link_all_deplibs_CXX=yes
11860
11861    if test "$GXX" = yes; then
11862      case $host_os in aix4.[012]|aix4.[012].*)
11863      # We only want to do this on AIX 4.2 and lower, the check
11864      # below for broken collect2 doesn't work under 4.3+
11865	collect2name=`${CC} -print-prog-name=collect2`
11866	if test -f "$collect2name" && \
11867	   strings "$collect2name" | grep resolve_lib_name >/dev/null
11868	then
11869	  # We have reworked collect2
11870	  :
11871	else
11872	  # We have old collect2
11873	  hardcode_direct_CXX=unsupported
11874	  # It fails to find uninstalled libraries when the uninstalled
11875	  # path is not listed in the libpath.  Setting hardcode_minus_L
11876	  # to unsupported forces relinking
11877	  hardcode_minus_L_CXX=yes
11878	  hardcode_libdir_flag_spec_CXX='-L$libdir'
11879	  hardcode_libdir_separator_CXX=
11880	fi
11881	;;
11882      esac
11883      shared_flag='-shared'
11884      if test "$aix_use_runtimelinking" = yes; then
11885	shared_flag="$shared_flag "'${wl}-G'
11886      fi
11887    else
11888      # not using gcc
11889      if test "$host_cpu" = ia64; then
11890	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11891	# chokes on -Wl,-G. The following line is correct:
11892	shared_flag='-G'
11893      else
11894	if test "$aix_use_runtimelinking" = yes; then
11895	  shared_flag='${wl}-G'
11896	else
11897	  shared_flag='${wl}-bM:SRE'
11898	fi
11899      fi
11900    fi
11901
11902    # It seems that -bexpall does not export symbols beginning with
11903    # underscore (_), so it is better to generate a list of symbols to export.
11904    always_export_symbols_CXX=yes
11905    if test "$aix_use_runtimelinking" = yes; then
11906      # Warning - without using the other runtime loading flags (-brtl),
11907      # -berok will link without error, but may produce a broken library.
11908      allow_undefined_flag_CXX='-berok'
11909      # Determine the default libpath from the value encoded in an empty executable.
11910      cat >conftest.$ac_ext <<_ACEOF
11911/* confdefs.h.  */
11912_ACEOF
11913cat confdefs.h >>conftest.$ac_ext
11914cat >>conftest.$ac_ext <<_ACEOF
11915/* end confdefs.h.  */
11916
11917int
11918main ()
11919{
11920
11921  ;
11922  return 0;
11923}
11924_ACEOF
11925rm -f conftest.$ac_objext conftest$ac_exeext
11926if { (ac_try="$ac_link"
11927case "(($ac_try" in
11928  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11929  *) ac_try_echo=$ac_try;;
11930esac
11931eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11932$as_echo "$ac_try_echo") >&5
11933  (eval "$ac_link") 2>conftest.er1
11934  ac_status=$?
11935  grep -v '^ *+' conftest.er1 >conftest.err
11936  rm -f conftest.er1
11937  cat conftest.err >&5
11938  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939  (exit $ac_status); } && {
11940	 test -z "$ac_cxx_werror_flag" ||
11941	 test ! -s conftest.err
11942       } && test -s conftest$ac_exeext && {
11943	 test "$cross_compiling" = yes ||
11944	 $as_test_x conftest$ac_exeext
11945       }; then
11946
11947lt_aix_libpath_sed='
11948    /Import File Strings/,/^$/ {
11949	/^0/ {
11950	    s/^0  *\(.*\)$/\1/
11951	    p
11952	}
11953    }'
11954aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11955# Check for a 64-bit object if we didn't find anything.
11956if test -z "$aix_libpath"; then
11957  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11958fi
11959else
11960  $as_echo "$as_me: failed program was:" >&5
11961sed 's/^/| /' conftest.$ac_ext >&5
11962
11963
11964fi
11965
11966rm -rf conftest.dSYM
11967rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11968      conftest$ac_exeext conftest.$ac_ext
11969if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11970
11971      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11972
11973      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11974     else
11975      if test "$host_cpu" = ia64; then
11976	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11977	allow_undefined_flag_CXX="-z nodefs"
11978	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11979      else
11980	# Determine the default libpath from the value encoded in an empty executable.
11981	cat >conftest.$ac_ext <<_ACEOF
11982/* confdefs.h.  */
11983_ACEOF
11984cat confdefs.h >>conftest.$ac_ext
11985cat >>conftest.$ac_ext <<_ACEOF
11986/* end confdefs.h.  */
11987
11988int
11989main ()
11990{
11991
11992  ;
11993  return 0;
11994}
11995_ACEOF
11996rm -f conftest.$ac_objext conftest$ac_exeext
11997if { (ac_try="$ac_link"
11998case "(($ac_try" in
11999  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12000  *) ac_try_echo=$ac_try;;
12001esac
12002eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12003$as_echo "$ac_try_echo") >&5
12004  (eval "$ac_link") 2>conftest.er1
12005  ac_status=$?
12006  grep -v '^ *+' conftest.er1 >conftest.err
12007  rm -f conftest.er1
12008  cat conftest.err >&5
12009  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010  (exit $ac_status); } && {
12011	 test -z "$ac_cxx_werror_flag" ||
12012	 test ! -s conftest.err
12013       } && test -s conftest$ac_exeext && {
12014	 test "$cross_compiling" = yes ||
12015	 $as_test_x conftest$ac_exeext
12016       }; then
12017
12018lt_aix_libpath_sed='
12019    /Import File Strings/,/^$/ {
12020	/^0/ {
12021	    s/^0  *\(.*\)$/\1/
12022	    p
12023	}
12024    }'
12025aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12026# Check for a 64-bit object if we didn't find anything.
12027if test -z "$aix_libpath"; then
12028  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12029fi
12030else
12031  $as_echo "$as_me: failed program was:" >&5
12032sed 's/^/| /' conftest.$ac_ext >&5
12033
12034
12035fi
12036
12037rm -rf conftest.dSYM
12038rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12039      conftest$ac_exeext conftest.$ac_ext
12040if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12041
12042	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12043	# Warning - without using the other run time loading flags,
12044	# -berok will link without error, but may produce a broken library.
12045	no_undefined_flag_CXX=' ${wl}-bernotok'
12046	allow_undefined_flag_CXX=' ${wl}-berok'
12047	# Exported symbols can be pulled into shared objects from archives
12048	whole_archive_flag_spec_CXX='$convenience'
12049	archive_cmds_need_lc_CXX=yes
12050	# This is similar to how AIX traditionally builds its shared libraries.
12051	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12052      fi
12053    fi
12054    ;;
12055
12056  beos*)
12057    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12058      allow_undefined_flag_CXX=unsupported
12059      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12060      # support --undefined.  This deserves some investigation.  FIXME
12061      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12062    else
12063      ld_shlibs_CXX=no
12064    fi
12065    ;;
12066
12067  chorus*)
12068    case $cc_basename in
12069      *)
12070	# FIXME: insert proper C++ library support
12071	ld_shlibs_CXX=no
12072	;;
12073    esac
12074    ;;
12075
12076  cygwin* | mingw* | pw32*)
12077    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12078    # as there is no search path for DLLs.
12079    hardcode_libdir_flag_spec_CXX='-L$libdir'
12080    allow_undefined_flag_CXX=unsupported
12081    always_export_symbols_CXX=no
12082    enable_shared_with_static_runtimes_CXX=yes
12083
12084    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12085      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12086      # If the export-symbols file already is a .def file (1st line
12087      # is EXPORTS), use it as is; otherwise, prepend...
12088      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12089	cp $export_symbols $output_objdir/$soname.def;
12090      else
12091	echo EXPORTS > $output_objdir/$soname.def;
12092	cat $export_symbols >> $output_objdir/$soname.def;
12093      fi~
12094      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12095    else
12096      ld_shlibs_CXX=no
12097    fi
12098  ;;
12099      darwin* | rhapsody*)
12100      archive_cmds_need_lc_CXX=no
12101      hardcode_direct_CXX=no
12102      hardcode_automatic_CXX=yes
12103      hardcode_shlibpath_var_CXX=unsupported
12104      whole_archive_flag_spec_CXX=''
12105      link_all_deplibs_CXX=yes
12106      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12107      if test "$GXX" = yes ; then
12108      output_verbose_link_cmd='echo'
12109      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12110      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12111      archive_expsym_cmds_CXX="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}"
12112      module_expsym_cmds_CXX="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}"
12113      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12114        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12115        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12116      fi
12117      else
12118      case $cc_basename in
12119        xlc*)
12120         output_verbose_link_cmd='echo'
12121          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12122          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12123          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12124          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12125          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12126          ;;
12127       *)
12128         ld_shlibs_CXX=no
12129          ;;
12130      esac
12131      fi
12132        ;;
12133
12134  dgux*)
12135    case $cc_basename in
12136      ec++*)
12137	# FIXME: insert proper C++ library support
12138	ld_shlibs_CXX=no
12139	;;
12140      ghcx*)
12141	# Green Hills C++ Compiler
12142	# FIXME: insert proper C++ library support
12143	ld_shlibs_CXX=no
12144	;;
12145      *)
12146	# FIXME: insert proper C++ library support
12147	ld_shlibs_CXX=no
12148	;;
12149    esac
12150    ;;
12151  freebsd[12]*)
12152    # C++ shared libraries reported to be fairly broken before switch to ELF
12153    ld_shlibs_CXX=no
12154    ;;
12155  freebsd-elf*)
12156    archive_cmds_need_lc_CXX=no
12157    ;;
12158  freebsd* | dragonfly*)
12159    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12160    # conventions
12161    ld_shlibs_CXX=yes
12162    ;;
12163  gnu*)
12164    ;;
12165  hpux9*)
12166    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12167    hardcode_libdir_separator_CXX=:
12168    export_dynamic_flag_spec_CXX='${wl}-E'
12169    hardcode_direct_CXX=yes
12170    hardcode_minus_L_CXX=yes # Not in the search PATH,
12171				# but as the default
12172				# location of the library.
12173
12174    case $cc_basename in
12175    CC*)
12176      # FIXME: insert proper C++ library support
12177      ld_shlibs_CXX=no
12178      ;;
12179    aCC*)
12180      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12181      # Commands to make compiler produce verbose output that lists
12182      # what "hidden" libraries, object files and flags are used when
12183      # linking a shared library.
12184      #
12185      # There doesn't appear to be a way to prevent this compiler from
12186      # explicitly linking system object files so we need to strip them
12187      # from the output so that they don't get included in the library
12188      # dependencies.
12189      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12190      ;;
12191    *)
12192      if test "$GXX" = yes; then
12193        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12194      else
12195        # FIXME: insert proper C++ library support
12196        ld_shlibs_CXX=no
12197      fi
12198      ;;
12199    esac
12200    ;;
12201  hpux10*|hpux11*)
12202    if test $with_gnu_ld = no; then
12203      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12204      hardcode_libdir_separator_CXX=:
12205
12206      case $host_cpu in
12207      hppa*64*|ia64*) ;;
12208      *)
12209	export_dynamic_flag_spec_CXX='${wl}-E'
12210        ;;
12211      esac
12212    fi
12213    case $host_cpu in
12214    hppa*64*|ia64*)
12215      hardcode_direct_CXX=no
12216      hardcode_shlibpath_var_CXX=no
12217      ;;
12218    *)
12219      hardcode_direct_CXX=yes
12220      hardcode_minus_L_CXX=yes # Not in the search PATH,
12221					      # but as the default
12222					      # location of the library.
12223      ;;
12224    esac
12225
12226    case $cc_basename in
12227      CC*)
12228	# FIXME: insert proper C++ library support
12229	ld_shlibs_CXX=no
12230	;;
12231      aCC*)
12232	case $host_cpu in
12233	hppa*64*)
12234	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12235	  ;;
12236	ia64*)
12237	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12238	  ;;
12239	*)
12240	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12241	  ;;
12242	esac
12243	# Commands to make compiler produce verbose output that lists
12244	# what "hidden" libraries, object files and flags are used when
12245	# linking a shared library.
12246	#
12247	# There doesn't appear to be a way to prevent this compiler from
12248	# explicitly linking system object files so we need to strip them
12249	# from the output so that they don't get included in the library
12250	# dependencies.
12251	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12252	;;
12253      *)
12254	if test "$GXX" = yes; then
12255	  if test $with_gnu_ld = no; then
12256	    case $host_cpu in
12257	    hppa*64*)
12258	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12259	      ;;
12260	    ia64*)
12261	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12262	      ;;
12263	    *)
12264	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12265	      ;;
12266	    esac
12267	  fi
12268	else
12269	  # FIXME: insert proper C++ library support
12270	  ld_shlibs_CXX=no
12271	fi
12272	;;
12273    esac
12274    ;;
12275  interix[3-9]*)
12276    hardcode_direct_CXX=no
12277    hardcode_shlibpath_var_CXX=no
12278    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12279    export_dynamic_flag_spec_CXX='${wl}-E'
12280    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12281    # Instead, shared libraries are loaded at an image base (0x10000000 by
12282    # default) and relocated if they conflict, which is a slow very memory
12283    # consuming and fragmenting process.  To avoid this, we pick a random,
12284    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12285    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12286    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12287    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12288    ;;
12289  irix5* | irix6*)
12290    case $cc_basename in
12291      CC*)
12292	# SGI C++
12293	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12294
12295	# Archives containing C++ object files must be created using
12296	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12297	# necessary to make sure instantiated templates are included
12298	# in the archive.
12299	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12300	;;
12301      *)
12302	if test "$GXX" = yes; then
12303	  if test "$with_gnu_ld" = no; then
12304	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12305	  else
12306	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
12307	  fi
12308	fi
12309	link_all_deplibs_CXX=yes
12310	;;
12311    esac
12312    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12313    hardcode_libdir_separator_CXX=:
12314    ;;
12315  linux* | k*bsd*-gnu)
12316    case $cc_basename in
12317      KCC*)
12318	# Kuck and Associates, Inc. (KAI) C++ Compiler
12319
12320	# KCC will only create a shared library if the output file
12321	# ends with ".so" (or ".sl" for HP-UX), so rename the library
12322	# to its proper name (with version) after linking.
12323	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12324	archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12325	# Commands to make compiler produce verbose output that lists
12326	# what "hidden" libraries, object files and flags are used when
12327	# linking a shared library.
12328	#
12329	# There doesn't appear to be a way to prevent this compiler from
12330	# explicitly linking system object files so we need to strip them
12331	# from the output so that they don't get included in the library
12332	# dependencies.
12333	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12334
12335	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12336	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12337
12338	# Archives containing C++ object files must be created using
12339	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12340	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12341	;;
12342      icpc*)
12343	# Intel C++
12344	with_gnu_ld=yes
12345	# version 8.0 and above of icpc choke on multiply defined symbols
12346	# if we add $predep_objects and $postdep_objects, however 7.1 and
12347	# earlier do not add the objects themselves.
12348	case `$CC -V 2>&1` in
12349	*"Version 7."*)
12350  	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12351  	  archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12352	  ;;
12353	*)  # Version 8.0 or newer
12354	  tmp_idyn=
12355	  case $host_cpu in
12356	    ia64*) tmp_idyn=' -i_dynamic';;
12357	  esac
12358  	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12359	  archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12360	  ;;
12361	esac
12362	archive_cmds_need_lc_CXX=no
12363	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12364	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12365	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12366	;;
12367      pgCC* | pgcpp*)
12368        # Portland Group C++ compiler
12369	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12370  	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12371
12372	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12373	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12374	whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12375        ;;
12376      cxx*)
12377	# Compaq C++
12378	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12379	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12380
12381	runpath_var=LD_RUN_PATH
12382	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12383	hardcode_libdir_separator_CXX=:
12384
12385	# Commands to make compiler produce verbose output that lists
12386	# what "hidden" libraries, object files and flags are used when
12387	# linking a shared library.
12388	#
12389	# There doesn't appear to be a way to prevent this compiler from
12390	# explicitly linking system object files so we need to strip them
12391	# from the output so that they don't get included in the library
12392	# dependencies.
12393	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12394	;;
12395      *)
12396	case `$CC -V 2>&1 | sed 5q` in
12397	*Sun\ C*)
12398	  # Sun C++ 5.9
12399	  no_undefined_flag_CXX=' -zdefs'
12400	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12401	  archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12402	  hardcode_libdir_flag_spec_CXX='-R$libdir'
12403	  whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12404
12405	  # Not sure whether something based on
12406	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12407	  # would be better.
12408	  output_verbose_link_cmd='echo'
12409
12410	  # Archives containing C++ object files must be created using
12411	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12412	  # necessary to make sure instantiated templates are included
12413	  # in the archive.
12414	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12415	  ;;
12416	esac
12417	;;
12418    esac
12419    ;;
12420  lynxos*)
12421    # FIXME: insert proper C++ library support
12422    ld_shlibs_CXX=no
12423    ;;
12424  m88k*)
12425    # FIXME: insert proper C++ library support
12426    ld_shlibs_CXX=no
12427    ;;
12428  mvs*)
12429    case $cc_basename in
12430      cxx*)
12431	# FIXME: insert proper C++ library support
12432	ld_shlibs_CXX=no
12433	;;
12434      *)
12435	# FIXME: insert proper C++ library support
12436	ld_shlibs_CXX=no
12437	;;
12438    esac
12439    ;;
12440  netbsd*)
12441    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12442      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12443      wlarc=
12444      hardcode_libdir_flag_spec_CXX='-R$libdir'
12445      hardcode_direct_CXX=yes
12446      hardcode_shlibpath_var_CXX=no
12447    fi
12448    # Workaround some broken pre-1.5 toolchains
12449    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12450    ;;
12451  openbsd2*)
12452    # C++ shared libraries are fairly broken
12453    ld_shlibs_CXX=no
12454    ;;
12455  openbsd*)
12456    if test -f /usr/libexec/ld.so; then
12457      hardcode_direct_CXX=yes
12458      hardcode_shlibpath_var_CXX=no
12459      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12460      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12461      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12462	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12463	export_dynamic_flag_spec_CXX='${wl}-E'
12464	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12465      fi
12466      output_verbose_link_cmd='echo'
12467    else
12468      ld_shlibs_CXX=no
12469    fi
12470    ;;
12471  osf3*)
12472    case $cc_basename in
12473      KCC*)
12474	# Kuck and Associates, Inc. (KAI) C++ Compiler
12475
12476	# KCC will only create a shared library if the output file
12477	# ends with ".so" (or ".sl" for HP-UX), so rename the library
12478	# to its proper name (with version) after linking.
12479	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12480
12481	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12482	hardcode_libdir_separator_CXX=:
12483
12484	# Archives containing C++ object files must be created using
12485	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12486	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12487
12488	;;
12489      RCC*)
12490	# Rational C++ 2.4.1
12491	# FIXME: insert proper C++ library support
12492	ld_shlibs_CXX=no
12493	;;
12494      cxx*)
12495	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12496	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12497
12498	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12499	hardcode_libdir_separator_CXX=:
12500
12501	# Commands to make compiler produce verbose output that lists
12502	# what "hidden" libraries, object files and flags are used when
12503	# linking a shared library.
12504	#
12505	# There doesn't appear to be a way to prevent this compiler from
12506	# explicitly linking system object files so we need to strip them
12507	# from the output so that they don't get included in the library
12508	# dependencies.
12509	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12510	;;
12511      *)
12512	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12513	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12514	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12515
12516	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12517	  hardcode_libdir_separator_CXX=:
12518
12519	  # Commands to make compiler produce verbose output that lists
12520	  # what "hidden" libraries, object files and flags are used when
12521	  # linking a shared library.
12522	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12523
12524	else
12525	  # FIXME: insert proper C++ library support
12526	  ld_shlibs_CXX=no
12527	fi
12528	;;
12529    esac
12530    ;;
12531  osf4* | osf5*)
12532    case $cc_basename in
12533      KCC*)
12534	# Kuck and Associates, Inc. (KAI) C++ Compiler
12535
12536	# KCC will only create a shared library if the output file
12537	# ends with ".so" (or ".sl" for HP-UX), so rename the library
12538	# to its proper name (with version) after linking.
12539	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12540
12541	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12542	hardcode_libdir_separator_CXX=:
12543
12544	# Archives containing C++ object files must be created using
12545	# the KAI C++ compiler.
12546	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12547	;;
12548      RCC*)
12549	# Rational C++ 2.4.1
12550	# FIXME: insert proper C++ library support
12551	ld_shlibs_CXX=no
12552	;;
12553      cxx*)
12554	allow_undefined_flag_CXX=' -expect_unresolved \*'
12555	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12556	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12557	  echo "-hidden">> $lib.exp~
12558	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry ${output_objdir}/so_locations -o $lib~
12559	  $rm $lib.exp'
12560
12561	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12562	hardcode_libdir_separator_CXX=:
12563
12564	# Commands to make compiler produce verbose output that lists
12565	# what "hidden" libraries, object files and flags are used when
12566	# linking a shared library.
12567	#
12568	# There doesn't appear to be a way to prevent this compiler from
12569	# explicitly linking system object files so we need to strip them
12570	# from the output so that they don't get included in the library
12571	# dependencies.
12572	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12573	;;
12574      *)
12575	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12576	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12577	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12578
12579	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12580	  hardcode_libdir_separator_CXX=:
12581
12582	  # Commands to make compiler produce verbose output that lists
12583	  # what "hidden" libraries, object files and flags are used when
12584	  # linking a shared library.
12585	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12586
12587	else
12588	  # FIXME: insert proper C++ library support
12589	  ld_shlibs_CXX=no
12590	fi
12591	;;
12592    esac
12593    ;;
12594  psos*)
12595    # FIXME: insert proper C++ library support
12596    ld_shlibs_CXX=no
12597    ;;
12598  sunos4*)
12599    case $cc_basename in
12600      CC*)
12601	# Sun C++ 4.x
12602	# FIXME: insert proper C++ library support
12603	ld_shlibs_CXX=no
12604	;;
12605      lcc*)
12606	# Lucid
12607	# FIXME: insert proper C++ library support
12608	ld_shlibs_CXX=no
12609	;;
12610      *)
12611	# FIXME: insert proper C++ library support
12612	ld_shlibs_CXX=no
12613	;;
12614    esac
12615    ;;
12616  solaris*)
12617    case $cc_basename in
12618      CC*)
12619	# Sun C++ 4.2, 5.x and Centerline C++
12620        archive_cmds_need_lc_CXX=yes
12621	no_undefined_flag_CXX=' -zdefs'
12622	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12623	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12624	$CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12625
12626	hardcode_libdir_flag_spec_CXX='-R$libdir'
12627	hardcode_shlibpath_var_CXX=no
12628	case $host_os in
12629	  solaris2.[0-5] | solaris2.[0-5].*) ;;
12630	  *)
12631	    # The compiler driver will combine and reorder linker options,
12632	    # but understands `-z linker_flag'.
12633	    # Supported since Solaris 2.6 (maybe 2.5.1?)
12634	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12635	    ;;
12636	esac
12637	link_all_deplibs_CXX=yes
12638
12639	output_verbose_link_cmd='echo'
12640
12641	# Archives containing C++ object files must be created using
12642	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
12643	# necessary to make sure instantiated templates are included
12644	# in the archive.
12645	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12646	;;
12647      gcx*)
12648	# Green Hills C++ Compiler
12649	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12650
12651	# The C++ compiler must be used to create the archive.
12652	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12653	;;
12654      *)
12655	# GNU C++ compiler with Solaris linker
12656	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12657	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12658	  if $CC --version | grep -v '^2\.7' > /dev/null; then
12659	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12660	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12661		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12662
12663	    # Commands to make compiler produce verbose output that lists
12664	    # what "hidden" libraries, object files and flags are used when
12665	    # linking a shared library.
12666	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12667	  else
12668	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
12669	    # platform.
12670	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12671	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12672		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12673
12674	    # Commands to make compiler produce verbose output that lists
12675	    # what "hidden" libraries, object files and flags are used when
12676	    # linking a shared library.
12677	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12678	  fi
12679
12680	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12681	  case $host_os in
12682	  solaris2.[0-5] | solaris2.[0-5].*) ;;
12683	  *)
12684	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12685	    ;;
12686	  esac
12687	fi
12688	;;
12689    esac
12690    ;;
12691  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12692    no_undefined_flag_CXX='${wl}-z,text'
12693    archive_cmds_need_lc_CXX=no
12694    hardcode_shlibpath_var_CXX=no
12695    runpath_var='LD_RUN_PATH'
12696
12697    case $cc_basename in
12698      CC*)
12699	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12700	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12701	;;
12702      *)
12703	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12704	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12705	;;
12706    esac
12707    ;;
12708  sysv5* | sco3.2v5* | sco5v6*)
12709    # Note: We can NOT use -z defs as we might desire, because we do not
12710    # link with -lc, and that would cause any symbols used from libc to
12711    # always be unresolved, which means just about no library would
12712    # ever link correctly.  If we're not using GNU ld we use -z text
12713    # though, which does catch some bad symbols but isn't as heavy-handed
12714    # as -z defs.
12715    # For security reasons, it is highly recommended that you always
12716    # use absolute paths for naming shared libraries, and exclude the
12717    # DT_RUNPATH tag from executables and libraries.  But doing so
12718    # requires that you compile everything twice, which is a pain.
12719    # So that behaviour is only enabled if SCOABSPATH is set to a
12720    # non-empty value in the environment.  Most likely only useful for
12721    # creating official distributions of packages.
12722    # This is a hack until libtool officially supports absolute path
12723    # names for shared libraries.
12724    no_undefined_flag_CXX='${wl}-z,text'
12725    allow_undefined_flag_CXX='${wl}-z,nodefs'
12726    archive_cmds_need_lc_CXX=no
12727    hardcode_shlibpath_var_CXX=no
12728    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12729    hardcode_libdir_separator_CXX=':'
12730    link_all_deplibs_CXX=yes
12731    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12732    runpath_var='LD_RUN_PATH'
12733
12734    case $cc_basename in
12735      CC*)
12736	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12737	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12738	;;
12739      *)
12740	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12741	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12742	;;
12743    esac
12744    ;;
12745  tandem*)
12746    case $cc_basename in
12747      NCC*)
12748	# NonStop-UX NCC 3.20
12749	# FIXME: insert proper C++ library support
12750	ld_shlibs_CXX=no
12751	;;
12752      *)
12753	# FIXME: insert proper C++ library support
12754	ld_shlibs_CXX=no
12755	;;
12756    esac
12757    ;;
12758  vxworks*)
12759    # FIXME: insert proper C++ library support
12760    ld_shlibs_CXX=no
12761    ;;
12762  *)
12763    # FIXME: insert proper C++ library support
12764    ld_shlibs_CXX=no
12765    ;;
12766esac
12767{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12768$as_echo "$ld_shlibs_CXX" >&6; }
12769test "$ld_shlibs_CXX" = no && can_build_shared=no
12770
12771GCC_CXX="$GXX"
12772LD_CXX="$LD"
12773
12774cat > conftest.$ac_ext <<EOF
12775class Foo
12776{
12777public:
12778  Foo (void) { a = 0; }
12779private:
12780  int a;
12781};
12782EOF
12783
12784if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12785  (eval $ac_compile) 2>&5
12786  ac_status=$?
12787  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788  (exit $ac_status); }; then
12789  # Parse the compiler output and extract the necessary
12790  # objects, libraries and library flags.
12791
12792  # Sentinel used to keep track of whether or not we are before
12793  # the conftest object file.
12794  pre_test_object_deps_done=no
12795
12796  # The `*' in the case matches for architectures that use `case' in
12797  # $output_verbose_cmd can trigger glob expansion during the loop
12798  # eval without this substitution.
12799  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12800
12801  for p in `eval $output_verbose_link_cmd`; do
12802    case $p in
12803
12804    -L* | -R* | -l*)
12805       # Some compilers place space between "-{L,R}" and the path.
12806       # Remove the space.
12807       if test $p = "-L" \
12808	  || test $p = "-R"; then
12809	 prev=$p
12810	 continue
12811       else
12812	 prev=
12813       fi
12814
12815       if test "$pre_test_object_deps_done" = no; then
12816	 case $p in
12817	 -L* | -R*)
12818	   # Internal compiler library paths should come after those
12819	   # provided the user.  The postdeps already come after the
12820	   # user supplied libs so there is no need to process them.
12821	   if test -z "$compiler_lib_search_path_CXX"; then
12822	     compiler_lib_search_path_CXX="${prev}${p}"
12823	   else
12824	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12825	   fi
12826	   ;;
12827	 # The "-l" case would never come before the object being
12828	 # linked, so don't bother handling this case.
12829	 esac
12830       else
12831	 if test -z "$postdeps_CXX"; then
12832	   postdeps_CXX="${prev}${p}"
12833	 else
12834	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12835	 fi
12836       fi
12837       ;;
12838
12839    *.$objext)
12840       # This assumes that the test object file only shows up
12841       # once in the compiler output.
12842       if test "$p" = "conftest.$objext"; then
12843	 pre_test_object_deps_done=yes
12844	 continue
12845       fi
12846
12847       if test "$pre_test_object_deps_done" = no; then
12848	 if test -z "$predep_objects_CXX"; then
12849	   predep_objects_CXX="$p"
12850	 else
12851	   predep_objects_CXX="$predep_objects_CXX $p"
12852	 fi
12853       else
12854	 if test -z "$postdep_objects_CXX"; then
12855	   postdep_objects_CXX="$p"
12856	 else
12857	   postdep_objects_CXX="$postdep_objects_CXX $p"
12858	 fi
12859       fi
12860       ;;
12861
12862    *) ;; # Ignore the rest.
12863
12864    esac
12865  done
12866
12867  # Clean up.
12868  rm -f a.out a.exe
12869else
12870  echo "libtool.m4: error: problem compiling CXX test program"
12871fi
12872
12873$rm -f confest.$objext
12874
12875compiler_lib_search_dirs_CXX=
12876if test -n "$compiler_lib_search_path_CXX"; then
12877  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12878fi
12879
12880# PORTME: override above test on systems where it is broken
12881case $host_os in
12882interix[3-9]*)
12883  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12884  # hack all around it, let's just trust "g++" to DTRT.
12885  predep_objects_CXX=
12886  postdep_objects_CXX=
12887  postdeps_CXX=
12888  ;;
12889
12890linux*)
12891  case `$CC -V 2>&1 | sed 5q` in
12892  *Sun\ C*)
12893    # Sun C++ 5.9
12894    #
12895    # The more standards-conforming stlport4 library is
12896    # incompatible with the Cstd library. Avoid specifying
12897    # it if it's in CXXFLAGS. Ignore libCrun as
12898    # -library=stlport4 depends on it.
12899    case " $CXX $CXXFLAGS " in
12900    *" -library=stlport4 "*)
12901      solaris_use_stlport4=yes
12902      ;;
12903    esac
12904    if test "$solaris_use_stlport4" != yes; then
12905      postdeps_CXX='-library=Cstd -library=Crun'
12906    fi
12907    ;;
12908  esac
12909  ;;
12910
12911solaris*)
12912  case $cc_basename in
12913  CC*)
12914    # The more standards-conforming stlport4 library is
12915    # incompatible with the Cstd library. Avoid specifying
12916    # it if it's in CXXFLAGS. Ignore libCrun as
12917    # -library=stlport4 depends on it.
12918    case " $CXX $CXXFLAGS " in
12919    *" -library=stlport4 "*)
12920      solaris_use_stlport4=yes
12921      ;;
12922    esac
12923
12924    # Adding this requires a known-good setup of shared libraries for
12925    # Sun compiler versions before 5.6, else PIC objects from an old
12926    # archive will be linked into the output, leading to subtle bugs.
12927    if test "$solaris_use_stlport4" != yes; then
12928      postdeps_CXX='-library=Cstd -library=Crun'
12929    fi
12930    ;;
12931  esac
12932  ;;
12933esac
12934
12935case " $postdeps_CXX " in
12936*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12937esac
12938
12939lt_prog_compiler_wl_CXX=
12940lt_prog_compiler_pic_CXX=
12941lt_prog_compiler_static_CXX=
12942
12943{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12944$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12945
12946  # C++ specific cases for pic, static, wl, etc.
12947  if test "$GXX" = yes; then
12948    lt_prog_compiler_wl_CXX='-Wl,'
12949    lt_prog_compiler_static_CXX='-static'
12950
12951    case $host_os in
12952    aix*)
12953      # All AIX code is PIC.
12954      if test "$host_cpu" = ia64; then
12955	# AIX 5 now supports IA64 processor
12956	lt_prog_compiler_static_CXX='-Bstatic'
12957      fi
12958      ;;
12959    amigaos*)
12960      # FIXME: we need at least 68020 code to build shared libraries, but
12961      # adding the `-m68020' flag to GCC prevents building anything better,
12962      # like `-m68040'.
12963      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12964      ;;
12965    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12966      # PIC is the default for these OSes.
12967      ;;
12968    mingw* | cygwin* | os2* | pw32*)
12969      # This hack is so that the source file can tell whether it is being
12970      # built for inclusion in a dll (and should export symbols for example).
12971      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12972      # (--disable-auto-import) libraries
12973      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12974      ;;
12975    darwin* | rhapsody*)
12976      # PIC is the default on this platform
12977      # Common symbols not allowed in MH_DYLIB files
12978      lt_prog_compiler_pic_CXX='-fno-common'
12979      ;;
12980    *djgpp*)
12981      # DJGPP does not support shared libraries at all
12982      lt_prog_compiler_pic_CXX=
12983      ;;
12984    interix[3-9]*)
12985      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12986      # Instead, we relocate shared libraries at runtime.
12987      ;;
12988    sysv4*MP*)
12989      if test -d /usr/nec; then
12990	lt_prog_compiler_pic_CXX=-Kconform_pic
12991      fi
12992      ;;
12993    hpux*)
12994      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12995      # not for PA HP-UX.
12996      case $host_cpu in
12997      hppa*64*|ia64*)
12998	;;
12999      *)
13000	lt_prog_compiler_pic_CXX='-fPIC'
13001	;;
13002      esac
13003      ;;
13004    *)
13005      lt_prog_compiler_pic_CXX='-fPIC'
13006      ;;
13007    esac
13008  else
13009    case $host_os in
13010      aix[4-9]*)
13011	# All AIX code is PIC.
13012	if test "$host_cpu" = ia64; then
13013	  # AIX 5 now supports IA64 processor
13014	  lt_prog_compiler_static_CXX='-Bstatic'
13015	else
13016	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13017	fi
13018	;;
13019      chorus*)
13020	case $cc_basename in
13021	cxch68*)
13022	  # Green Hills C++ Compiler
13023	  # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13024	  ;;
13025	esac
13026	;;
13027       darwin*)
13028         # PIC is the default on this platform
13029         # Common symbols not allowed in MH_DYLIB files
13030         case $cc_basename in
13031           xlc*)
13032           lt_prog_compiler_pic_CXX='-qnocommon'
13033           lt_prog_compiler_wl_CXX='-Wl,'
13034           ;;
13035         esac
13036       ;;
13037      dgux*)
13038	case $cc_basename in
13039	  ec++*)
13040	    lt_prog_compiler_pic_CXX='-KPIC'
13041	    ;;
13042	  ghcx*)
13043	    # Green Hills C++ Compiler
13044	    lt_prog_compiler_pic_CXX='-pic'
13045	    ;;
13046	  *)
13047	    ;;
13048	esac
13049	;;
13050      freebsd* | dragonfly*)
13051	# FreeBSD uses GNU C++
13052	;;
13053      hpux9* | hpux10* | hpux11*)
13054	case $cc_basename in
13055	  CC*)
13056	    lt_prog_compiler_wl_CXX='-Wl,'
13057	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13058	    if test "$host_cpu" != ia64; then
13059	      lt_prog_compiler_pic_CXX='+Z'
13060	    fi
13061	    ;;
13062	  aCC*)
13063	    lt_prog_compiler_wl_CXX='-Wl,'
13064	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13065	    case $host_cpu in
13066	    hppa*64*|ia64*)
13067	      # +Z the default
13068	      ;;
13069	    *)
13070	      lt_prog_compiler_pic_CXX='+Z'
13071	      ;;
13072	    esac
13073	    ;;
13074	  *)
13075	    ;;
13076	esac
13077	;;
13078      interix*)
13079	# This is c89, which is MS Visual C++ (no shared libs)
13080	# Anyone wants to do a port?
13081	;;
13082      irix5* | irix6* | nonstopux*)
13083	case $cc_basename in
13084	  CC*)
13085	    lt_prog_compiler_wl_CXX='-Wl,'
13086	    lt_prog_compiler_static_CXX='-non_shared'
13087	    # CC pic flag -KPIC is the default.
13088	    ;;
13089	  *)
13090	    ;;
13091	esac
13092	;;
13093      linux* | k*bsd*-gnu)
13094	case $cc_basename in
13095	  KCC*)
13096	    # KAI C++ Compiler
13097	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13098	    lt_prog_compiler_pic_CXX='-fPIC'
13099	    ;;
13100	  icpc* | ecpc*)
13101	    # Intel C++
13102	    lt_prog_compiler_wl_CXX='-Wl,'
13103	    lt_prog_compiler_pic_CXX='-KPIC'
13104	    lt_prog_compiler_static_CXX='-static'
13105	    ;;
13106	  pgCC* | pgcpp*)
13107	    # Portland Group C++ compiler.
13108	    lt_prog_compiler_wl_CXX='-Wl,'
13109	    lt_prog_compiler_pic_CXX='-fpic'
13110	    lt_prog_compiler_static_CXX='-Bstatic'
13111	    ;;
13112	  cxx*)
13113	    # Compaq C++
13114	    # Make sure the PIC flag is empty.  It appears that all Alpha
13115	    # Linux and Compaq Tru64 Unix objects are PIC.
13116	    lt_prog_compiler_pic_CXX=
13117	    lt_prog_compiler_static_CXX='-non_shared'
13118	    ;;
13119	  *)
13120	    case `$CC -V 2>&1 | sed 5q` in
13121	    *Sun\ C*)
13122	      # Sun C++ 5.9
13123	      lt_prog_compiler_pic_CXX='-KPIC'
13124	      lt_prog_compiler_static_CXX='-Bstatic'
13125	      lt_prog_compiler_wl_CXX='-Qoption ld '
13126	      ;;
13127	    esac
13128	    ;;
13129	esac
13130	;;
13131      lynxos*)
13132	;;
13133      m88k*)
13134	;;
13135      mvs*)
13136	case $cc_basename in
13137	  cxx*)
13138	    lt_prog_compiler_pic_CXX='-W c,exportall'
13139	    ;;
13140	  *)
13141	    ;;
13142	esac
13143	;;
13144      netbsd*)
13145	;;
13146      osf3* | osf4* | osf5*)
13147	case $cc_basename in
13148	  KCC*)
13149	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13150	    ;;
13151	  RCC*)
13152	    # Rational C++ 2.4.1
13153	    lt_prog_compiler_pic_CXX='-pic'
13154	    ;;
13155	  cxx*)
13156	    # Digital/Compaq C++
13157	    lt_prog_compiler_wl_CXX='-Wl,'
13158	    # Make sure the PIC flag is empty.  It appears that all Alpha
13159	    # Linux and Compaq Tru64 Unix objects are PIC.
13160	    lt_prog_compiler_pic_CXX=
13161	    lt_prog_compiler_static_CXX='-non_shared'
13162	    ;;
13163	  *)
13164	    ;;
13165	esac
13166	;;
13167      psos*)
13168	;;
13169      solaris*)
13170	case $cc_basename in
13171	  CC*)
13172	    # Sun C++ 4.2, 5.x and Centerline C++
13173	    lt_prog_compiler_pic_CXX='-KPIC'
13174	    lt_prog_compiler_static_CXX='-Bstatic'
13175	    lt_prog_compiler_wl_CXX='-Qoption ld '
13176	    ;;
13177	  gcx*)
13178	    # Green Hills C++ Compiler
13179	    lt_prog_compiler_pic_CXX='-PIC'
13180	    ;;
13181	  *)
13182	    ;;
13183	esac
13184	;;
13185      sunos4*)
13186	case $cc_basename in
13187	  CC*)
13188	    # Sun C++ 4.x
13189	    lt_prog_compiler_pic_CXX='-pic'
13190	    lt_prog_compiler_static_CXX='-Bstatic'
13191	    ;;
13192	  lcc*)
13193	    # Lucid
13194	    lt_prog_compiler_pic_CXX='-pic'
13195	    ;;
13196	  *)
13197	    ;;
13198	esac
13199	;;
13200      tandem*)
13201	case $cc_basename in
13202	  NCC*)
13203	    # NonStop-UX NCC 3.20
13204	    lt_prog_compiler_pic_CXX='-KPIC'
13205	    ;;
13206	  *)
13207	    ;;
13208	esac
13209	;;
13210      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13211	case $cc_basename in
13212	  CC*)
13213	    lt_prog_compiler_wl_CXX='-Wl,'
13214	    lt_prog_compiler_pic_CXX='-KPIC'
13215	    lt_prog_compiler_static_CXX='-Bstatic'
13216	    ;;
13217	esac
13218	;;
13219      vxworks*)
13220	;;
13221      *)
13222	lt_prog_compiler_can_build_shared_CXX=no
13223	;;
13224    esac
13225  fi
13226
13227{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13228$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13229
13230#
13231# Check to make sure the PIC flag actually works.
13232#
13233if test -n "$lt_prog_compiler_pic_CXX"; then
13234
13235{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13236$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13237if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13238  $as_echo_n "(cached) " >&6
13239else
13240  lt_cv_prog_compiler_pic_works_CXX=no
13241  ac_outfile=conftest.$ac_objext
13242   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13243   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13244   # Insert the option either (1) after the last *FLAGS variable, or
13245   # (2) before a word containing "conftest.", or (3) at the end.
13246   # Note that $ac_compile itself does not contain backslashes and begins
13247   # with a dollar sign (not a hyphen), so the echo should work correctly.
13248   # The option is referenced via a variable to avoid confusing sed.
13249   lt_compile=`echo "$ac_compile" | $SED \
13250   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13251   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13252   -e 's:$: $lt_compiler_flag:'`
13253   (eval echo "\"\$as_me:13253: $lt_compile\"" >&5)
13254   (eval "$lt_compile" 2>conftest.err)
13255   ac_status=$?
13256   cat conftest.err >&5
13257   echo "$as_me:13257: \$? = $ac_status" >&5
13258   if (exit $ac_status) && test -s "$ac_outfile"; then
13259     # The compiler can only warn and ignore the option if not recognized
13260     # So say no if there are warnings other than the usual output.
13261     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13262     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13263     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13264       lt_cv_prog_compiler_pic_works_CXX=yes
13265     fi
13266   fi
13267   $rm conftest*
13268
13269fi
13270{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13271$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13272
13273if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13274    case $lt_prog_compiler_pic_CXX in
13275     "" | " "*) ;;
13276     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13277     esac
13278else
13279    lt_prog_compiler_pic_CXX=
13280     lt_prog_compiler_can_build_shared_CXX=no
13281fi
13282
13283fi
13284case $host_os in
13285  # For platforms which do not support PIC, -DPIC is meaningless:
13286  *djgpp*)
13287    lt_prog_compiler_pic_CXX=
13288    ;;
13289  *)
13290    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13291    ;;
13292esac
13293
13294#
13295# Check to make sure the static flag actually works.
13296#
13297wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13298{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13299$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13300if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13301  $as_echo_n "(cached) " >&6
13302else
13303  lt_cv_prog_compiler_static_works_CXX=no
13304   save_LDFLAGS="$LDFLAGS"
13305   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13306   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13307   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13308     # The linker can only warn and ignore the option if not recognized
13309     # So say no if there are warnings
13310     if test -s conftest.err; then
13311       # Append any errors to the config.log.
13312       cat conftest.err 1>&5
13313       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13314       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13315       if diff conftest.exp conftest.er2 >/dev/null; then
13316         lt_cv_prog_compiler_static_works_CXX=yes
13317       fi
13318     else
13319       lt_cv_prog_compiler_static_works_CXX=yes
13320     fi
13321   fi
13322   $rm -r conftest*
13323   LDFLAGS="$save_LDFLAGS"
13324
13325fi
13326{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13327$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13328
13329if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13330    :
13331else
13332    lt_prog_compiler_static_CXX=
13333fi
13334
13335
13336{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13337$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13338if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13339  $as_echo_n "(cached) " >&6
13340else
13341  lt_cv_prog_compiler_c_o_CXX=no
13342   $rm -r conftest 2>/dev/null
13343   mkdir conftest
13344   cd conftest
13345   mkdir out
13346   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13347
13348   lt_compiler_flag="-o out/conftest2.$ac_objext"
13349   # Insert the option either (1) after the last *FLAGS variable, or
13350   # (2) before a word containing "conftest.", or (3) at the end.
13351   # Note that $ac_compile itself does not contain backslashes and begins
13352   # with a dollar sign (not a hyphen), so the echo should work correctly.
13353   lt_compile=`echo "$ac_compile" | $SED \
13354   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13355   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13356   -e 's:$: $lt_compiler_flag:'`
13357   (eval echo "\"\$as_me:13357: $lt_compile\"" >&5)
13358   (eval "$lt_compile" 2>out/conftest.err)
13359   ac_status=$?
13360   cat out/conftest.err >&5
13361   echo "$as_me:13361: \$? = $ac_status" >&5
13362   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13363   then
13364     # The compiler can only warn and ignore the option if not recognized
13365     # So say no if there are warnings
13366     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13367     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13368     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13369       lt_cv_prog_compiler_c_o_CXX=yes
13370     fi
13371   fi
13372   chmod u+w . 2>&5
13373   $rm conftest*
13374   # SGI C++ compiler will create directory out/ii_files/ for
13375   # template instantiation
13376   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13377   $rm out/* && rmdir out
13378   cd ..
13379   rmdir conftest
13380   $rm conftest*
13381
13382fi
13383{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13384$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13385
13386
13387hard_links="nottested"
13388if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13389  # do not overwrite the value of need_locks provided by the user
13390  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13391$as_echo_n "checking if we can lock with hard links... " >&6; }
13392  hard_links=yes
13393  $rm conftest*
13394  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13395  touch conftest.a
13396  ln conftest.a conftest.b 2>&5 || hard_links=no
13397  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13398  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
13399$as_echo "$hard_links" >&6; }
13400  if test "$hard_links" = no; then
13401    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13402$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13403    need_locks=warn
13404  fi
13405else
13406  need_locks=no
13407fi
13408
13409{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13410$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13411
13412  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13413  case $host_os in
13414  aix[4-9]*)
13415    # If we're using GNU nm, then we don't want the "-C" option.
13416    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13417    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13418      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13419    else
13420      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13421    fi
13422    ;;
13423  pw32*)
13424    export_symbols_cmds_CXX="$ltdll_cmds"
13425  ;;
13426  cygwin* | mingw*)
13427    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13428  ;;
13429  *)
13430    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13431  ;;
13432  esac
13433  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13434
13435{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13436$as_echo "$ld_shlibs_CXX" >&6; }
13437test "$ld_shlibs_CXX" = no && can_build_shared=no
13438
13439#
13440# Do we need to explicitly link libc?
13441#
13442case "x$archive_cmds_need_lc_CXX" in
13443x|xyes)
13444  # Assume -lc should be added
13445  archive_cmds_need_lc_CXX=yes
13446
13447  if test "$enable_shared" = yes && test "$GCC" = yes; then
13448    case $archive_cmds_CXX in
13449    *'~'*)
13450      # FIXME: we may have to deal with multi-command sequences.
13451      ;;
13452    '$CC '*)
13453      # Test whether the compiler implicitly links with -lc since on some
13454      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13455      # to ld, don't add -lc before -lgcc.
13456      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13457$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13458      $rm conftest*
13459      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13460
13461      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13462  (eval $ac_compile) 2>&5
13463  ac_status=$?
13464  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465  (exit $ac_status); } 2>conftest.err; then
13466        soname=conftest
13467        lib=conftest
13468        libobjs=conftest.$ac_objext
13469        deplibs=
13470        wl=$lt_prog_compiler_wl_CXX
13471	pic_flag=$lt_prog_compiler_pic_CXX
13472        compiler_flags=-v
13473        linker_flags=-v
13474        verstring=
13475        output_objdir=.
13476        libname=conftest
13477        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13478        allow_undefined_flag_CXX=
13479        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13480  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13481  ac_status=$?
13482  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483  (exit $ac_status); }
13484        then
13485	  archive_cmds_need_lc_CXX=no
13486        else
13487	  archive_cmds_need_lc_CXX=yes
13488        fi
13489        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13490      else
13491        cat conftest.err 1>&5
13492      fi
13493      $rm conftest*
13494      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13495$as_echo "$archive_cmds_need_lc_CXX" >&6; }
13496      ;;
13497    esac
13498  fi
13499  ;;
13500esac
13501
13502{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13503$as_echo_n "checking dynamic linker characteristics... " >&6; }
13504library_names_spec=
13505libname_spec='lib$name'
13506soname_spec=
13507shrext_cmds=".so"
13508postinstall_cmds=
13509postuninstall_cmds=
13510finish_cmds=
13511finish_eval=
13512shlibpath_var=
13513shlibpath_overrides_runpath=unknown
13514version_type=none
13515dynamic_linker="$host_os ld.so"
13516sys_lib_dlsearch_path_spec="/lib /usr/lib"
13517
13518need_lib_prefix=unknown
13519hardcode_into_libs=no
13520
13521# when you set need_version to no, make sure it does not cause -set_version
13522# flags to be left without arguments
13523need_version=unknown
13524
13525case $host_os in
13526aix3*)
13527  version_type=linux
13528  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13529  shlibpath_var=LIBPATH
13530
13531  # AIX 3 has no versioning support, so we append a major version to the name.
13532  soname_spec='${libname}${release}${shared_ext}$major'
13533  ;;
13534
13535aix[4-9]*)
13536  version_type=linux
13537  need_lib_prefix=no
13538  need_version=no
13539  hardcode_into_libs=yes
13540  if test "$host_cpu" = ia64; then
13541    # AIX 5 supports IA64
13542    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13543    shlibpath_var=LD_LIBRARY_PATH
13544  else
13545    # With GCC up to 2.95.x, collect2 would create an import file
13546    # for dependence libraries.  The import file would start with
13547    # the line `#! .'.  This would cause the generated library to
13548    # depend on `.', always an invalid library.  This was fixed in
13549    # development snapshots of GCC prior to 3.0.
13550    case $host_os in
13551      aix4 | aix4.[01] | aix4.[01].*)
13552      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13553	   echo ' yes '
13554	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13555	:
13556      else
13557	can_build_shared=no
13558      fi
13559      ;;
13560    esac
13561    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13562    # soname into executable. Probably we can add versioning support to
13563    # collect2, so additional links can be useful in future.
13564    if test "$aix_use_runtimelinking" = yes; then
13565      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13566      # instead of lib<name>.a to let people know that these are not
13567      # typical AIX shared libraries.
13568      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13569    else
13570      # We preserve .a as extension for shared libraries through AIX4.2
13571      # and later when we are not doing run time linking.
13572      library_names_spec='${libname}${release}.a $libname.a'
13573      soname_spec='${libname}${release}${shared_ext}$major'
13574    fi
13575    shlibpath_var=LIBPATH
13576  fi
13577  ;;
13578
13579amigaos*)
13580  library_names_spec='$libname.ixlibrary $libname.a'
13581  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13582  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13583  ;;
13584
13585beos*)
13586  library_names_spec='${libname}${shared_ext}'
13587  dynamic_linker="$host_os ld.so"
13588  shlibpath_var=LIBRARY_PATH
13589  ;;
13590
13591bsdi[45]*)
13592  version_type=linux
13593  need_version=no
13594  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13595  soname_spec='${libname}${release}${shared_ext}$major'
13596  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13597  shlibpath_var=LD_LIBRARY_PATH
13598  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13599  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13600  # the default ld.so.conf also contains /usr/contrib/lib and
13601  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13602  # libtool to hard-code these into programs
13603  ;;
13604
13605cygwin* | mingw* | pw32*)
13606  version_type=windows
13607  shrext_cmds=".dll"
13608  need_version=no
13609  need_lib_prefix=no
13610
13611  case $GCC,$host_os in
13612  yes,cygwin* | yes,mingw* | yes,pw32*)
13613    library_names_spec='$libname.dll.a'
13614    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13615    postinstall_cmds='base_file=`basename \${file}`~
13616      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13617      dldir=$destdir/`dirname \$dlpath`~
13618      test -d \$dldir || mkdir -p \$dldir~
13619      $install_prog $dir/$dlname \$dldir/$dlname~
13620      chmod a+x \$dldir/$dlname'
13621    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13622      dlpath=$dir/\$dldll~
13623       $rm \$dlpath'
13624    shlibpath_overrides_runpath=yes
13625
13626    case $host_os in
13627    cygwin*)
13628      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13629      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13630      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13631      ;;
13632    mingw*)
13633      # MinGW DLLs use traditional 'lib' prefix
13634      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13635      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13636      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13637        # It is most probably a Windows format PATH printed by
13638        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13639        # path with ; separators, and with drive letters. We can handle the
13640        # drive letters (cygwin fileutils understands them), so leave them,
13641        # especially as we might pass files found there to a mingw objdump,
13642        # which wouldn't understand a cygwinified path. Ahh.
13643        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13644      else
13645        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13646      fi
13647      ;;
13648    pw32*)
13649      # pw32 DLLs use 'pw' prefix rather than 'lib'
13650      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13651      ;;
13652    esac
13653    ;;
13654
13655  *)
13656    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13657    ;;
13658  esac
13659  dynamic_linker='Win32 ld.exe'
13660  # FIXME: first we should search . and the directory the executable is in
13661  shlibpath_var=PATH
13662  ;;
13663
13664darwin* | rhapsody*)
13665  dynamic_linker="$host_os dyld"
13666  version_type=darwin
13667  need_lib_prefix=no
13668  need_version=no
13669  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13670  soname_spec='${libname}${release}${major}$shared_ext'
13671  shlibpath_overrides_runpath=yes
13672  shlibpath_var=DYLD_LIBRARY_PATH
13673  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13674
13675  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13676  ;;
13677
13678dgux*)
13679  version_type=linux
13680  need_lib_prefix=no
13681  need_version=no
13682  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13683  soname_spec='${libname}${release}${shared_ext}$major'
13684  shlibpath_var=LD_LIBRARY_PATH
13685  ;;
13686
13687freebsd1*)
13688  dynamic_linker=no
13689  ;;
13690
13691freebsd* | dragonfly*)
13692  # DragonFly does not have aout.  When/if they implement a new
13693  # versioning mechanism, adjust this.
13694  if test -x /usr/bin/objformat; then
13695    objformat=`/usr/bin/objformat`
13696  else
13697    case $host_os in
13698    freebsd[123]*) objformat=aout ;;
13699    *) objformat=elf ;;
13700    esac
13701  fi
13702  version_type=freebsd-$objformat
13703  case $version_type in
13704    freebsd-elf*)
13705      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13706      need_version=no
13707      need_lib_prefix=no
13708      ;;
13709    freebsd-*)
13710      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13711      need_version=yes
13712      ;;
13713  esac
13714  shlibpath_var=LD_LIBRARY_PATH
13715  case $host_os in
13716  freebsd2*)
13717    shlibpath_overrides_runpath=yes
13718    ;;
13719  freebsd3.[01]* | freebsdelf3.[01]*)
13720    shlibpath_overrides_runpath=yes
13721    hardcode_into_libs=yes
13722    ;;
13723  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13724  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13725    shlibpath_overrides_runpath=no
13726    hardcode_into_libs=yes
13727    ;;
13728  *) # from 4.6 on, and DragonFly
13729    shlibpath_overrides_runpath=yes
13730    hardcode_into_libs=yes
13731    ;;
13732  esac
13733  ;;
13734
13735gnu*)
13736  version_type=linux
13737  need_lib_prefix=no
13738  need_version=no
13739  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13740  soname_spec='${libname}${release}${shared_ext}$major'
13741  shlibpath_var=LD_LIBRARY_PATH
13742  hardcode_into_libs=yes
13743  ;;
13744
13745hpux9* | hpux10* | hpux11*)
13746  # Give a soname corresponding to the major version so that dld.sl refuses to
13747  # link against other versions.
13748  version_type=sunos
13749  need_lib_prefix=no
13750  need_version=no
13751  case $host_cpu in
13752  ia64*)
13753    shrext_cmds='.so'
13754    hardcode_into_libs=yes
13755    dynamic_linker="$host_os dld.so"
13756    shlibpath_var=LD_LIBRARY_PATH
13757    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13758    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13759    soname_spec='${libname}${release}${shared_ext}$major'
13760    if test "X$HPUX_IA64_MODE" = X32; then
13761      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13762    else
13763      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13764    fi
13765    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13766    ;;
13767   hppa*64*)
13768     shrext_cmds='.sl'
13769     hardcode_into_libs=yes
13770     dynamic_linker="$host_os dld.sl"
13771     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13772     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13773     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13774     soname_spec='${libname}${release}${shared_ext}$major'
13775     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13776     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13777     ;;
13778   *)
13779    shrext_cmds='.sl'
13780    dynamic_linker="$host_os dld.sl"
13781    shlibpath_var=SHLIB_PATH
13782    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13783    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13784    soname_spec='${libname}${release}${shared_ext}$major'
13785    ;;
13786  esac
13787  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13788  postinstall_cmds='chmod 555 $lib'
13789  ;;
13790
13791interix[3-9]*)
13792  version_type=linux
13793  need_lib_prefix=no
13794  need_version=no
13795  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13796  soname_spec='${libname}${release}${shared_ext}$major'
13797  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13798  shlibpath_var=LD_LIBRARY_PATH
13799  shlibpath_overrides_runpath=no
13800  hardcode_into_libs=yes
13801  ;;
13802
13803irix5* | irix6* | nonstopux*)
13804  case $host_os in
13805    nonstopux*) version_type=nonstopux ;;
13806    *)
13807	if test "$lt_cv_prog_gnu_ld" = yes; then
13808		version_type=linux
13809	else
13810		version_type=irix
13811	fi ;;
13812  esac
13813  need_lib_prefix=no
13814  need_version=no
13815  soname_spec='${libname}${release}${shared_ext}$major'
13816  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13817  case $host_os in
13818  irix5* | nonstopux*)
13819    libsuff= shlibsuff=
13820    ;;
13821  *)
13822    case $LD in # libtool.m4 will add one of these switches to LD
13823    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13824      libsuff= shlibsuff= libmagic=32-bit;;
13825    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13826      libsuff=32 shlibsuff=N32 libmagic=N32;;
13827    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13828      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13829    *) libsuff= shlibsuff= libmagic=never-match;;
13830    esac
13831    ;;
13832  esac
13833  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13834  shlibpath_overrides_runpath=no
13835  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13836  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13837  hardcode_into_libs=yes
13838  ;;
13839
13840# No shared lib support for Linux oldld, aout, or coff.
13841linux*oldld* | linux*aout* | linux*coff*)
13842  dynamic_linker=no
13843  ;;
13844
13845# This must be Linux ELF.
13846linux* | k*bsd*-gnu)
13847  version_type=linux
13848  need_lib_prefix=no
13849  need_version=no
13850  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13851  soname_spec='${libname}${release}${shared_ext}$major'
13852  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13853  shlibpath_var=LD_LIBRARY_PATH
13854  shlibpath_overrides_runpath=no
13855  # This implies no fast_install, which is unacceptable.
13856  # Some rework will be needed to allow for fast_install
13857  # before this can be enabled.
13858  hardcode_into_libs=yes
13859  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13860  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13861
13862  # Append ld.so.conf contents to the search path
13863  if test -f /etc/ld.so.conf; then
13864    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13865    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13866  fi
13867
13868  # We used to test for /lib/ld.so.1 and disable shared libraries on
13869  # powerpc, because MkLinux only supported shared libraries with the
13870  # GNU dynamic linker.  Since this was broken with cross compilers,
13871  # most powerpc-linux boxes support dynamic linking these days and
13872  # people can always --disable-shared, the test was removed, and we
13873  # assume the GNU/Linux dynamic linker is in use.
13874  dynamic_linker='GNU/Linux ld.so'
13875  ;;
13876
13877netbsd*)
13878  version_type=sunos
13879  need_lib_prefix=no
13880  need_version=no
13881  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13882    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13883    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13884    dynamic_linker='NetBSD (a.out) ld.so'
13885  else
13886    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13887    soname_spec='${libname}${release}${shared_ext}$major'
13888    dynamic_linker='NetBSD ld.elf_so'
13889  fi
13890  shlibpath_var=LD_LIBRARY_PATH
13891  shlibpath_overrides_runpath=yes
13892  hardcode_into_libs=yes
13893  ;;
13894
13895newsos6)
13896  version_type=linux
13897  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13898  shlibpath_var=LD_LIBRARY_PATH
13899  shlibpath_overrides_runpath=yes
13900  ;;
13901
13902nto-qnx*)
13903  version_type=linux
13904  need_lib_prefix=no
13905  need_version=no
13906  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13907  soname_spec='${libname}${release}${shared_ext}$major'
13908  shlibpath_var=LD_LIBRARY_PATH
13909  shlibpath_overrides_runpath=yes
13910  ;;
13911
13912openbsd*)
13913  version_type=sunos
13914  sys_lib_dlsearch_path_spec="/usr/lib"
13915  need_lib_prefix=no
13916  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13917  case $host_os in
13918    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13919    *)                         need_version=no  ;;
13920  esac
13921  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13922  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13923  shlibpath_var=LD_LIBRARY_PATH
13924  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13925    case $host_os in
13926      openbsd2.[89] | openbsd2.[89].*)
13927	shlibpath_overrides_runpath=no
13928	;;
13929      *)
13930	shlibpath_overrides_runpath=yes
13931	;;
13932      esac
13933  else
13934    shlibpath_overrides_runpath=yes
13935  fi
13936  ;;
13937
13938os2*)
13939  libname_spec='$name'
13940  shrext_cmds=".dll"
13941  need_lib_prefix=no
13942  library_names_spec='$libname${shared_ext} $libname.a'
13943  dynamic_linker='OS/2 ld.exe'
13944  shlibpath_var=LIBPATH
13945  ;;
13946
13947osf3* | osf4* | osf5*)
13948  version_type=osf
13949  need_lib_prefix=no
13950  need_version=no
13951  soname_spec='${libname}${release}${shared_ext}$major'
13952  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13953  shlibpath_var=LD_LIBRARY_PATH
13954  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13955  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13956  ;;
13957
13958rdos*)
13959  dynamic_linker=no
13960  ;;
13961
13962solaris*)
13963  version_type=linux
13964  need_lib_prefix=no
13965  need_version=no
13966  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13967  soname_spec='${libname}${release}${shared_ext}$major'
13968  shlibpath_var=LD_LIBRARY_PATH
13969  shlibpath_overrides_runpath=yes
13970  hardcode_into_libs=yes
13971  # ldd complains unless libraries are executable
13972  postinstall_cmds='chmod +x $lib'
13973  ;;
13974
13975sunos4*)
13976  version_type=sunos
13977  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13978  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13979  shlibpath_var=LD_LIBRARY_PATH
13980  shlibpath_overrides_runpath=yes
13981  if test "$with_gnu_ld" = yes; then
13982    need_lib_prefix=no
13983  fi
13984  need_version=yes
13985  ;;
13986
13987sysv4 | sysv4.3*)
13988  version_type=linux
13989  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13990  soname_spec='${libname}${release}${shared_ext}$major'
13991  shlibpath_var=LD_LIBRARY_PATH
13992  case $host_vendor in
13993    sni)
13994      shlibpath_overrides_runpath=no
13995      need_lib_prefix=no
13996      export_dynamic_flag_spec='${wl}-Blargedynsym'
13997      runpath_var=LD_RUN_PATH
13998      ;;
13999    siemens)
14000      need_lib_prefix=no
14001      ;;
14002    motorola)
14003      need_lib_prefix=no
14004      need_version=no
14005      shlibpath_overrides_runpath=no
14006      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14007      ;;
14008  esac
14009  ;;
14010
14011sysv4*MP*)
14012  if test -d /usr/nec ;then
14013    version_type=linux
14014    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14015    soname_spec='$libname${shared_ext}.$major'
14016    shlibpath_var=LD_LIBRARY_PATH
14017  fi
14018  ;;
14019
14020sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14021  version_type=freebsd-elf
14022  need_lib_prefix=no
14023  need_version=no
14024  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14025  soname_spec='${libname}${release}${shared_ext}$major'
14026  shlibpath_var=LD_LIBRARY_PATH
14027  hardcode_into_libs=yes
14028  if test "$with_gnu_ld" = yes; then
14029    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14030    shlibpath_overrides_runpath=no
14031  else
14032    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14033    shlibpath_overrides_runpath=yes
14034    case $host_os in
14035      sco3.2v5*)
14036        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14037	;;
14038    esac
14039  fi
14040  sys_lib_dlsearch_path_spec='/usr/lib'
14041  ;;
14042
14043uts4*)
14044  version_type=linux
14045  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14046  soname_spec='${libname}${release}${shared_ext}$major'
14047  shlibpath_var=LD_LIBRARY_PATH
14048  ;;
14049
14050*)
14051  dynamic_linker=no
14052  ;;
14053esac
14054{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14055$as_echo "$dynamic_linker" >&6; }
14056test "$dynamic_linker" = no && can_build_shared=no
14057
14058if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14059  $as_echo_n "(cached) " >&6
14060else
14061  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
14062fi
14063
14064sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14065if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14066  $as_echo_n "(cached) " >&6
14067else
14068  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
14069fi
14070
14071sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14072
14073variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14074if test "$GCC" = yes; then
14075  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14076fi
14077
14078{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14079$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14080hardcode_action_CXX=
14081if test -n "$hardcode_libdir_flag_spec_CXX" || \
14082   test -n "$runpath_var_CXX" || \
14083   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14084
14085  # We can hardcode non-existant directories.
14086  if test "$hardcode_direct_CXX" != no &&
14087     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14088     # have to relink, otherwise we might link with an installed library
14089     # when we should be linking with a yet-to-be-installed one
14090     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14091     test "$hardcode_minus_L_CXX" != no; then
14092    # Linking always hardcodes the temporary library directory.
14093    hardcode_action_CXX=relink
14094  else
14095    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14096    hardcode_action_CXX=immediate
14097  fi
14098else
14099  # We cannot hardcode anything, or else we can only hardcode existing
14100  # directories.
14101  hardcode_action_CXX=unsupported
14102fi
14103{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14104$as_echo "$hardcode_action_CXX" >&6; }
14105
14106if test "$hardcode_action_CXX" = relink; then
14107  # Fast installation is not supported
14108  enable_fast_install=no
14109elif test "$shlibpath_overrides_runpath" = yes ||
14110     test "$enable_shared" = no; then
14111  # Fast installation is not necessary
14112  enable_fast_install=needless
14113fi
14114
14115
14116# The else clause should only fire when bootstrapping the
14117# libtool distribution, otherwise you forgot to ship ltmain.sh
14118# with your package, and you will get complaints that there are
14119# no rules to generate ltmain.sh.
14120if test -f "$ltmain"; then
14121  # See if we are running on zsh, and set the options which allow our commands through
14122  # without removal of \ escapes.
14123  if test -n "${ZSH_VERSION+set}" ; then
14124    setopt NO_GLOB_SUBST
14125  fi
14126  # Now quote all the things that may contain metacharacters while being
14127  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14128  # variables and quote the copies for generation of the libtool script.
14129  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14130    SED SHELL STRIP \
14131    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14132    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14133    deplibs_check_method reload_flag reload_cmds need_locks \
14134    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14135    lt_cv_sys_global_symbol_to_c_name_address \
14136    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14137    old_postinstall_cmds old_postuninstall_cmds \
14138    compiler_CXX \
14139    CC_CXX \
14140    LD_CXX \
14141    lt_prog_compiler_wl_CXX \
14142    lt_prog_compiler_pic_CXX \
14143    lt_prog_compiler_static_CXX \
14144    lt_prog_compiler_no_builtin_flag_CXX \
14145    export_dynamic_flag_spec_CXX \
14146    thread_safe_flag_spec_CXX \
14147    whole_archive_flag_spec_CXX \
14148    enable_shared_with_static_runtimes_CXX \
14149    old_archive_cmds_CXX \
14150    old_archive_from_new_cmds_CXX \
14151    predep_objects_CXX \
14152    postdep_objects_CXX \
14153    predeps_CXX \
14154    postdeps_CXX \
14155    compiler_lib_search_path_CXX \
14156    compiler_lib_search_dirs_CXX \
14157    archive_cmds_CXX \
14158    archive_expsym_cmds_CXX \
14159    postinstall_cmds_CXX \
14160    postuninstall_cmds_CXX \
14161    old_archive_from_expsyms_cmds_CXX \
14162    allow_undefined_flag_CXX \
14163    no_undefined_flag_CXX \
14164    export_symbols_cmds_CXX \
14165    hardcode_libdir_flag_spec_CXX \
14166    hardcode_libdir_flag_spec_ld_CXX \
14167    hardcode_libdir_separator_CXX \
14168    hardcode_automatic_CXX \
14169    module_cmds_CXX \
14170    module_expsym_cmds_CXX \
14171    lt_cv_prog_compiler_c_o_CXX \
14172    fix_srcfile_path_CXX \
14173    exclude_expsyms_CXX \
14174    include_expsyms_CXX; do
14175
14176    case $var in
14177    old_archive_cmds_CXX | \
14178    old_archive_from_new_cmds_CXX | \
14179    archive_cmds_CXX | \
14180    archive_expsym_cmds_CXX | \
14181    module_cmds_CXX | \
14182    module_expsym_cmds_CXX | \
14183    old_archive_from_expsyms_cmds_CXX | \
14184    export_symbols_cmds_CXX | \
14185    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14186    postinstall_cmds | postuninstall_cmds | \
14187    old_postinstall_cmds | old_postuninstall_cmds | \
14188    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14189      # Double-quote double-evaled strings.
14190      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14191      ;;
14192    *)
14193      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14194      ;;
14195    esac
14196  done
14197
14198  case $lt_echo in
14199  *'\$0 --fallback-echo"')
14200    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14201    ;;
14202  esac
14203
14204cfgfile="$ofile"
14205
14206  cat <<__EOF__ >> "$cfgfile"
14207# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14208
14209# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14210
14211# Shell to use when invoking shell scripts.
14212SHELL=$lt_SHELL
14213
14214# Whether or not to build shared libraries.
14215build_libtool_libs=$enable_shared
14216
14217# Whether or not to build static libraries.
14218build_old_libs=$enable_static
14219
14220# Whether or not to add -lc for building shared libraries.
14221build_libtool_need_lc=$archive_cmds_need_lc_CXX
14222
14223# Whether or not to disallow shared libs when runtime libs are static
14224allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14225
14226# Whether or not to optimize for fast installation.
14227fast_install=$enable_fast_install
14228
14229# The host system.
14230host_alias=$host_alias
14231host=$host
14232host_os=$host_os
14233
14234# The build system.
14235build_alias=$build_alias
14236build=$build
14237build_os=$build_os
14238
14239# An echo program that does not interpret backslashes.
14240echo=$lt_echo
14241
14242# The archiver.
14243AR=$lt_AR
14244AR_FLAGS=$lt_AR_FLAGS
14245
14246# A C compiler.
14247LTCC=$lt_LTCC
14248
14249# LTCC compiler flags.
14250LTCFLAGS=$lt_LTCFLAGS
14251
14252# A language-specific compiler.
14253CC=$lt_compiler_CXX
14254
14255# Is the compiler the GNU C compiler?
14256with_gcc=$GCC_CXX
14257
14258# An ERE matcher.
14259EGREP=$lt_EGREP
14260
14261# The linker used to build libraries.
14262LD=$lt_LD_CXX
14263
14264# Whether we need hard or soft links.
14265LN_S=$lt_LN_S
14266
14267# A BSD-compatible nm program.
14268NM=$lt_NM
14269
14270# A symbol stripping program
14271STRIP=$lt_STRIP
14272
14273# Used to examine libraries when file_magic_cmd begins "file"
14274MAGIC_CMD=$MAGIC_CMD
14275
14276# Used on cygwin: DLL creation program.
14277DLLTOOL="$DLLTOOL"
14278
14279# Used on cygwin: object dumper.
14280OBJDUMP="$OBJDUMP"
14281
14282# Used on cygwin: assembler.
14283AS="$AS"
14284
14285# The name of the directory that contains temporary libtool files.
14286objdir=$objdir
14287
14288# How to create reloadable object files.
14289reload_flag=$lt_reload_flag
14290reload_cmds=$lt_reload_cmds
14291
14292# How to pass a linker flag through the compiler.
14293wl=$lt_lt_prog_compiler_wl_CXX
14294
14295# Object file suffix (normally "o").
14296objext="$ac_objext"
14297
14298# Old archive suffix (normally "a").
14299libext="$libext"
14300
14301# Shared library suffix (normally ".so").
14302shrext_cmds='$shrext_cmds'
14303
14304# Executable file suffix (normally "").
14305exeext="$exeext"
14306
14307# Additional compiler flags for building library objects.
14308pic_flag=$lt_lt_prog_compiler_pic_CXX
14309pic_mode=$pic_mode
14310
14311# What is the maximum length of a command?
14312max_cmd_len=$lt_cv_sys_max_cmd_len
14313
14314# Does compiler simultaneously support -c and -o options?
14315compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14316
14317# Must we lock files when doing compilation?
14318need_locks=$lt_need_locks
14319
14320# Do we need the lib prefix for modules?
14321need_lib_prefix=$need_lib_prefix
14322
14323# Do we need a version for libraries?
14324need_version=$need_version
14325
14326# Whether dlopen is supported.
14327dlopen_support=$enable_dlopen
14328
14329# Whether dlopen of programs is supported.
14330dlopen_self=$enable_dlopen_self
14331
14332# Whether dlopen of statically linked programs is supported.
14333dlopen_self_static=$enable_dlopen_self_static
14334
14335# Compiler flag to prevent dynamic linking.
14336link_static_flag=$lt_lt_prog_compiler_static_CXX
14337
14338# Compiler flag to turn off builtin functions.
14339no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14340
14341# Compiler flag to allow reflexive dlopens.
14342export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14343
14344# Compiler flag to generate shared objects directly from archives.
14345whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14346
14347# Compiler flag to generate thread-safe objects.
14348thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14349
14350# Library versioning type.
14351version_type=$version_type
14352
14353# Format of library name prefix.
14354libname_spec=$lt_libname_spec
14355
14356# List of archive names.  First name is the real one, the rest are links.
14357# The last name is the one that the linker finds with -lNAME.
14358library_names_spec=$lt_library_names_spec
14359
14360# The coded name of the library, if different from the real name.
14361soname_spec=$lt_soname_spec
14362
14363# Commands used to build and install an old-style archive.
14364RANLIB=$lt_RANLIB
14365old_archive_cmds=$lt_old_archive_cmds_CXX
14366old_postinstall_cmds=$lt_old_postinstall_cmds
14367old_postuninstall_cmds=$lt_old_postuninstall_cmds
14368
14369# Create an old-style archive from a shared archive.
14370old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14371
14372# Create a temporary old-style archive to link instead of a shared archive.
14373old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14374
14375# Commands used to build and install a shared archive.
14376archive_cmds=$lt_archive_cmds_CXX
14377archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14378postinstall_cmds=$lt_postinstall_cmds
14379postuninstall_cmds=$lt_postuninstall_cmds
14380
14381# Commands used to build a loadable module (assumed same as above if empty)
14382module_cmds=$lt_module_cmds_CXX
14383module_expsym_cmds=$lt_module_expsym_cmds_CXX
14384
14385# Commands to strip libraries.
14386old_striplib=$lt_old_striplib
14387striplib=$lt_striplib
14388
14389# Dependencies to place before the objects being linked to create a
14390# shared library.
14391predep_objects=$lt_predep_objects_CXX
14392
14393# Dependencies to place after the objects being linked to create a
14394# shared library.
14395postdep_objects=$lt_postdep_objects_CXX
14396
14397# Dependencies to place before the objects being linked to create a
14398# shared library.
14399predeps=$lt_predeps_CXX
14400
14401# Dependencies to place after the objects being linked to create a
14402# shared library.
14403postdeps=$lt_postdeps_CXX
14404
14405# The directories searched by this compiler when creating a shared
14406# library
14407compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14408
14409# The library search path used internally by the compiler when linking
14410# a shared library.
14411compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14412
14413# Method to check whether dependent libraries are shared objects.
14414deplibs_check_method=$lt_deplibs_check_method
14415
14416# Command to use when deplibs_check_method == file_magic.
14417file_magic_cmd=$lt_file_magic_cmd
14418
14419# Flag that allows shared libraries with undefined symbols to be built.
14420allow_undefined_flag=$lt_allow_undefined_flag_CXX
14421
14422# Flag that forces no undefined symbols.
14423no_undefined_flag=$lt_no_undefined_flag_CXX
14424
14425# Commands used to finish a libtool library installation in a directory.
14426finish_cmds=$lt_finish_cmds
14427
14428# Same as above, but a single script fragment to be evaled but not shown.
14429finish_eval=$lt_finish_eval
14430
14431# Take the output of nm and produce a listing of raw symbols and C names.
14432global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14433
14434# Transform the output of nm in a proper C declaration
14435global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14436
14437# Transform the output of nm in a C name address pair
14438global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14439
14440# This is the shared library runtime path variable.
14441runpath_var=$runpath_var
14442
14443# This is the shared library path variable.
14444shlibpath_var=$shlibpath_var
14445
14446# Is shlibpath searched before the hard-coded library search path?
14447shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14448
14449# How to hardcode a shared library path into an executable.
14450hardcode_action=$hardcode_action_CXX
14451
14452# Whether we should hardcode library paths into libraries.
14453hardcode_into_libs=$hardcode_into_libs
14454
14455# Flag to hardcode \$libdir into a binary during linking.
14456# This must work even if \$libdir does not exist.
14457hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14458
14459# If ld is used when linking, flag to hardcode \$libdir into
14460# a binary during linking. This must work even if \$libdir does
14461# not exist.
14462hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14463
14464# Whether we need a single -rpath flag with a separated argument.
14465hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14466
14467# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14468# resulting binary.
14469hardcode_direct=$hardcode_direct_CXX
14470
14471# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14472# resulting binary.
14473hardcode_minus_L=$hardcode_minus_L_CXX
14474
14475# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14476# the resulting binary.
14477hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14478
14479# Set to yes if building a shared library automatically hardcodes DIR into the library
14480# and all subsequent libraries and executables linked against it.
14481hardcode_automatic=$hardcode_automatic_CXX
14482
14483# Variables whose values should be saved in libtool wrapper scripts and
14484# restored at relink time.
14485variables_saved_for_relink="$variables_saved_for_relink"
14486
14487# Whether libtool must link a program against all its dependency libraries.
14488link_all_deplibs=$link_all_deplibs_CXX
14489
14490# Compile-time system search path for libraries
14491sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14492
14493# Run-time system search path for libraries
14494sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14495
14496# Fix the shell variable \$srcfile for the compiler.
14497fix_srcfile_path=$lt_fix_srcfile_path
14498
14499# Set to yes if exported symbols are required.
14500always_export_symbols=$always_export_symbols_CXX
14501
14502# The commands to list exported symbols.
14503export_symbols_cmds=$lt_export_symbols_cmds_CXX
14504
14505# The commands to extract the exported symbol list from a shared archive.
14506extract_expsyms_cmds=$lt_extract_expsyms_cmds
14507
14508# Symbols that should not be listed in the preloaded symbols.
14509exclude_expsyms=$lt_exclude_expsyms_CXX
14510
14511# Symbols that must always be exported.
14512include_expsyms=$lt_include_expsyms_CXX
14513
14514# ### END LIBTOOL TAG CONFIG: $tagname
14515
14516__EOF__
14517
14518
14519else
14520  # If there is no Makefile yet, we rely on a make rule to execute
14521  # `config.status --recheck' to rerun these tests and create the
14522  # libtool script then.
14523  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14524  if test -f "$ltmain_in"; then
14525    test -f Makefile && make "$ltmain"
14526  fi
14527fi
14528
14529
14530ac_ext=c
14531ac_cpp='$CPP $CPPFLAGS'
14532ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14533ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14534ac_compiler_gnu=$ac_cv_c_compiler_gnu
14535
14536CC=$lt_save_CC
14537LDCXX=$LD
14538LD=$lt_save_LD
14539GCC=$lt_save_GCC
14540with_gnu_ldcxx=$with_gnu_ld
14541with_gnu_ld=$lt_save_with_gnu_ld
14542lt_cv_path_LDCXX=$lt_cv_path_LD
14543lt_cv_path_LD=$lt_save_path_LD
14544lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14545lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14546
14547	else
14548	  tagname=""
14549	fi
14550	;;
14551
14552      F77)
14553	if test -n "$F77" && test "X$F77" != "Xno"; then
14554
14555ac_ext=f
14556ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14557ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14558ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14559
14560
14561archive_cmds_need_lc_F77=no
14562allow_undefined_flag_F77=
14563always_export_symbols_F77=no
14564archive_expsym_cmds_F77=
14565export_dynamic_flag_spec_F77=
14566hardcode_direct_F77=no
14567hardcode_libdir_flag_spec_F77=
14568hardcode_libdir_flag_spec_ld_F77=
14569hardcode_libdir_separator_F77=
14570hardcode_minus_L_F77=no
14571hardcode_automatic_F77=no
14572module_cmds_F77=
14573module_expsym_cmds_F77=
14574link_all_deplibs_F77=unknown
14575old_archive_cmds_F77=$old_archive_cmds
14576no_undefined_flag_F77=
14577whole_archive_flag_spec_F77=
14578enable_shared_with_static_runtimes_F77=no
14579
14580# Source file extension for f77 test sources.
14581ac_ext=f
14582
14583# Object file extension for compiled f77 test sources.
14584objext=o
14585objext_F77=$objext
14586
14587# Code to be used in simple compile tests
14588lt_simple_compile_test_code="\
14589      subroutine t
14590      return
14591      end
14592"
14593
14594# Code to be used in simple link tests
14595lt_simple_link_test_code="\
14596      program t
14597      end
14598"
14599
14600# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14601
14602# If no C compiler was specified, use CC.
14603LTCC=${LTCC-"$CC"}
14604
14605# If no C compiler flags were specified, use CFLAGS.
14606LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14607
14608# Allow CC to be a program name with arguments.
14609compiler=$CC
14610
14611
14612# save warnings/boilerplate of simple test code
14613ac_outfile=conftest.$ac_objext
14614echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14615eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14616_lt_compiler_boilerplate=`cat conftest.err`
14617$rm conftest*
14618
14619ac_outfile=conftest.$ac_objext
14620echo "$lt_simple_link_test_code" >conftest.$ac_ext
14621eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14622_lt_linker_boilerplate=`cat conftest.err`
14623$rm -r conftest*
14624
14625
14626# Allow CC to be a program name with arguments.
14627lt_save_CC="$CC"
14628CC=${F77-"f77"}
14629compiler=$CC
14630compiler_F77=$CC
14631for cc_temp in $compiler""; do
14632  case $cc_temp in
14633    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14634    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14635    \-*) ;;
14636    *) break;;
14637  esac
14638done
14639cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14640
14641
14642{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14643$as_echo_n "checking if libtool supports shared libraries... " >&6; }
14644{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
14645$as_echo "$can_build_shared" >&6; }
14646
14647{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14648$as_echo_n "checking whether to build shared libraries... " >&6; }
14649test "$can_build_shared" = "no" && enable_shared=no
14650
14651# On AIX, shared libraries and static libraries use the same namespace, and
14652# are all built from PIC.
14653case $host_os in
14654aix3*)
14655  test "$enable_shared" = yes && enable_static=no
14656  if test -n "$RANLIB"; then
14657    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14658    postinstall_cmds='$RANLIB $lib'
14659  fi
14660  ;;
14661aix[4-9]*)
14662  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14663    test "$enable_shared" = yes && enable_static=no
14664  fi
14665  ;;
14666esac
14667{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
14668$as_echo "$enable_shared" >&6; }
14669
14670{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14671$as_echo_n "checking whether to build static libraries... " >&6; }
14672# Make sure either enable_shared or enable_static is yes.
14673test "$enable_shared" = yes || enable_static=yes
14674{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
14675$as_echo "$enable_static" >&6; }
14676
14677GCC_F77="$G77"
14678LD_F77="$LD"
14679
14680lt_prog_compiler_wl_F77=
14681lt_prog_compiler_pic_F77=
14682lt_prog_compiler_static_F77=
14683
14684{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14685$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14686
14687  if test "$GCC" = yes; then
14688    lt_prog_compiler_wl_F77='-Wl,'
14689    lt_prog_compiler_static_F77='-static'
14690
14691    case $host_os in
14692      aix*)
14693      # All AIX code is PIC.
14694      if test "$host_cpu" = ia64; then
14695	# AIX 5 now supports IA64 processor
14696	lt_prog_compiler_static_F77='-Bstatic'
14697      fi
14698      ;;
14699
14700    amigaos*)
14701      # FIXME: we need at least 68020 code to build shared libraries, but
14702      # adding the `-m68020' flag to GCC prevents building anything better,
14703      # like `-m68040'.
14704      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14705      ;;
14706
14707    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14708      # PIC is the default for these OSes.
14709      ;;
14710
14711    mingw* | cygwin* | pw32* | os2*)
14712      # This hack is so that the source file can tell whether it is being
14713      # built for inclusion in a dll (and should export symbols for example).
14714      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14715      # (--disable-auto-import) libraries
14716      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14717      ;;
14718
14719    darwin* | rhapsody*)
14720      # PIC is the default on this platform
14721      # Common symbols not allowed in MH_DYLIB files
14722      lt_prog_compiler_pic_F77='-fno-common'
14723      ;;
14724
14725    interix[3-9]*)
14726      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14727      # Instead, we relocate shared libraries at runtime.
14728      ;;
14729
14730    msdosdjgpp*)
14731      # Just because we use GCC doesn't mean we suddenly get shared libraries
14732      # on systems that don't support them.
14733      lt_prog_compiler_can_build_shared_F77=no
14734      enable_shared=no
14735      ;;
14736
14737    sysv4*MP*)
14738      if test -d /usr/nec; then
14739	lt_prog_compiler_pic_F77=-Kconform_pic
14740      fi
14741      ;;
14742
14743    hpux*)
14744      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14745      # not for PA HP-UX.
14746      case $host_cpu in
14747      hppa*64*|ia64*)
14748	# +Z the default
14749	;;
14750      *)
14751	lt_prog_compiler_pic_F77='-fPIC'
14752	;;
14753      esac
14754      ;;
14755
14756    *)
14757      lt_prog_compiler_pic_F77='-fPIC'
14758      ;;
14759    esac
14760  else
14761    # PORTME Check for flag to pass linker flags through the system compiler.
14762    case $host_os in
14763    aix*)
14764      lt_prog_compiler_wl_F77='-Wl,'
14765      if test "$host_cpu" = ia64; then
14766	# AIX 5 now supports IA64 processor
14767	lt_prog_compiler_static_F77='-Bstatic'
14768      else
14769	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14770      fi
14771      ;;
14772      darwin*)
14773        # PIC is the default on this platform
14774        # Common symbols not allowed in MH_DYLIB files
14775       case $cc_basename in
14776         xlc*)
14777         lt_prog_compiler_pic_F77='-qnocommon'
14778         lt_prog_compiler_wl_F77='-Wl,'
14779         ;;
14780       esac
14781       ;;
14782
14783    mingw* | cygwin* | pw32* | os2*)
14784      # This hack is so that the source file can tell whether it is being
14785      # built for inclusion in a dll (and should export symbols for example).
14786      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14787      ;;
14788
14789    hpux9* | hpux10* | hpux11*)
14790      lt_prog_compiler_wl_F77='-Wl,'
14791      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14792      # not for PA HP-UX.
14793      case $host_cpu in
14794      hppa*64*|ia64*)
14795	# +Z the default
14796	;;
14797      *)
14798	lt_prog_compiler_pic_F77='+Z'
14799	;;
14800      esac
14801      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14802      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14803      ;;
14804
14805    irix5* | irix6* | nonstopux*)
14806      lt_prog_compiler_wl_F77='-Wl,'
14807      # PIC (with -KPIC) is the default.
14808      lt_prog_compiler_static_F77='-non_shared'
14809      ;;
14810
14811    newsos6)
14812      lt_prog_compiler_pic_F77='-KPIC'
14813      lt_prog_compiler_static_F77='-Bstatic'
14814      ;;
14815
14816    linux* | k*bsd*-gnu)
14817      case $cc_basename in
14818      icc* | ecc*)
14819	lt_prog_compiler_wl_F77='-Wl,'
14820	lt_prog_compiler_pic_F77='-KPIC'
14821	lt_prog_compiler_static_F77='-static'
14822        ;;
14823      pgcc* | pgf77* | pgf90* | pgf95*)
14824        # Portland Group compilers (*not* the Pentium gcc compiler,
14825	# which looks to be a dead project)
14826	lt_prog_compiler_wl_F77='-Wl,'
14827	lt_prog_compiler_pic_F77='-fpic'
14828	lt_prog_compiler_static_F77='-Bstatic'
14829        ;;
14830      ccc*)
14831        lt_prog_compiler_wl_F77='-Wl,'
14832        # All Alpha code is PIC.
14833        lt_prog_compiler_static_F77='-non_shared'
14834        ;;
14835      *)
14836        case `$CC -V 2>&1 | sed 5q` in
14837	*Sun\ C*)
14838	  # Sun C 5.9
14839	  lt_prog_compiler_pic_F77='-KPIC'
14840	  lt_prog_compiler_static_F77='-Bstatic'
14841	  lt_prog_compiler_wl_F77='-Wl,'
14842	  ;;
14843	*Sun\ F*)
14844	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
14845	  lt_prog_compiler_pic_F77='-KPIC'
14846	  lt_prog_compiler_static_F77='-Bstatic'
14847	  lt_prog_compiler_wl_F77=''
14848	  ;;
14849	esac
14850	;;
14851      esac
14852      ;;
14853
14854    osf3* | osf4* | osf5*)
14855      lt_prog_compiler_wl_F77='-Wl,'
14856      # All OSF/1 code is PIC.
14857      lt_prog_compiler_static_F77='-non_shared'
14858      ;;
14859
14860    rdos*)
14861      lt_prog_compiler_static_F77='-non_shared'
14862      ;;
14863
14864    solaris*)
14865      lt_prog_compiler_pic_F77='-KPIC'
14866      lt_prog_compiler_static_F77='-Bstatic'
14867      case $cc_basename in
14868      f77* | f90* | f95*)
14869	lt_prog_compiler_wl_F77='-Qoption ld ';;
14870      *)
14871	lt_prog_compiler_wl_F77='-Wl,';;
14872      esac
14873      ;;
14874
14875    sunos4*)
14876      lt_prog_compiler_wl_F77='-Qoption ld '
14877      lt_prog_compiler_pic_F77='-PIC'
14878      lt_prog_compiler_static_F77='-Bstatic'
14879      ;;
14880
14881    sysv4 | sysv4.2uw2* | sysv4.3*)
14882      lt_prog_compiler_wl_F77='-Wl,'
14883      lt_prog_compiler_pic_F77='-KPIC'
14884      lt_prog_compiler_static_F77='-Bstatic'
14885      ;;
14886
14887    sysv4*MP*)
14888      if test -d /usr/nec ;then
14889	lt_prog_compiler_pic_F77='-Kconform_pic'
14890	lt_prog_compiler_static_F77='-Bstatic'
14891      fi
14892      ;;
14893
14894    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14895      lt_prog_compiler_wl_F77='-Wl,'
14896      lt_prog_compiler_pic_F77='-KPIC'
14897      lt_prog_compiler_static_F77='-Bstatic'
14898      ;;
14899
14900    unicos*)
14901      lt_prog_compiler_wl_F77='-Wl,'
14902      lt_prog_compiler_can_build_shared_F77=no
14903      ;;
14904
14905    uts4*)
14906      lt_prog_compiler_pic_F77='-pic'
14907      lt_prog_compiler_static_F77='-Bstatic'
14908      ;;
14909
14910    *)
14911      lt_prog_compiler_can_build_shared_F77=no
14912      ;;
14913    esac
14914  fi
14915
14916{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14917$as_echo "$lt_prog_compiler_pic_F77" >&6; }
14918
14919#
14920# Check to make sure the PIC flag actually works.
14921#
14922if test -n "$lt_prog_compiler_pic_F77"; then
14923
14924{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14925$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
14926if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14927  $as_echo_n "(cached) " >&6
14928else
14929  lt_cv_prog_compiler_pic_works_F77=no
14930  ac_outfile=conftest.$ac_objext
14931   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14932   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14933   # Insert the option either (1) after the last *FLAGS variable, or
14934   # (2) before a word containing "conftest.", or (3) at the end.
14935   # Note that $ac_compile itself does not contain backslashes and begins
14936   # with a dollar sign (not a hyphen), so the echo should work correctly.
14937   # The option is referenced via a variable to avoid confusing sed.
14938   lt_compile=`echo "$ac_compile" | $SED \
14939   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14940   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14941   -e 's:$: $lt_compiler_flag:'`
14942   (eval echo "\"\$as_me:14942: $lt_compile\"" >&5)
14943   (eval "$lt_compile" 2>conftest.err)
14944   ac_status=$?
14945   cat conftest.err >&5
14946   echo "$as_me:14946: \$? = $ac_status" >&5
14947   if (exit $ac_status) && test -s "$ac_outfile"; then
14948     # The compiler can only warn and ignore the option if not recognized
14949     # So say no if there are warnings other than the usual output.
14950     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14951     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14952     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14953       lt_cv_prog_compiler_pic_works_F77=yes
14954     fi
14955   fi
14956   $rm conftest*
14957
14958fi
14959{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14960$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
14961
14962if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14963    case $lt_prog_compiler_pic_F77 in
14964     "" | " "*) ;;
14965     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14966     esac
14967else
14968    lt_prog_compiler_pic_F77=
14969     lt_prog_compiler_can_build_shared_F77=no
14970fi
14971
14972fi
14973case $host_os in
14974  # For platforms which do not support PIC, -DPIC is meaningless:
14975  *djgpp*)
14976    lt_prog_compiler_pic_F77=
14977    ;;
14978  *)
14979    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14980    ;;
14981esac
14982
14983#
14984# Check to make sure the static flag actually works.
14985#
14986wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14987{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14988$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14989if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14990  $as_echo_n "(cached) " >&6
14991else
14992  lt_cv_prog_compiler_static_works_F77=no
14993   save_LDFLAGS="$LDFLAGS"
14994   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14995   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14996   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14997     # The linker can only warn and ignore the option if not recognized
14998     # So say no if there are warnings
14999     if test -s conftest.err; then
15000       # Append any errors to the config.log.
15001       cat conftest.err 1>&5
15002       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15003       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15004       if diff conftest.exp conftest.er2 >/dev/null; then
15005         lt_cv_prog_compiler_static_works_F77=yes
15006       fi
15007     else
15008       lt_cv_prog_compiler_static_works_F77=yes
15009     fi
15010   fi
15011   $rm -r conftest*
15012   LDFLAGS="$save_LDFLAGS"
15013
15014fi
15015{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
15016$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
15017
15018if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
15019    :
15020else
15021    lt_prog_compiler_static_F77=
15022fi
15023
15024
15025{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15026$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15027if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15028  $as_echo_n "(cached) " >&6
15029else
15030  lt_cv_prog_compiler_c_o_F77=no
15031   $rm -r conftest 2>/dev/null
15032   mkdir conftest
15033   cd conftest
15034   mkdir out
15035   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15036
15037   lt_compiler_flag="-o out/conftest2.$ac_objext"
15038   # Insert the option either (1) after the last *FLAGS variable, or
15039   # (2) before a word containing "conftest.", or (3) at the end.
15040   # Note that $ac_compile itself does not contain backslashes and begins
15041   # with a dollar sign (not a hyphen), so the echo should work correctly.
15042   lt_compile=`echo "$ac_compile" | $SED \
15043   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15044   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15045   -e 's:$: $lt_compiler_flag:'`
15046   (eval echo "\"\$as_me:15046: $lt_compile\"" >&5)
15047   (eval "$lt_compile" 2>out/conftest.err)
15048   ac_status=$?
15049   cat out/conftest.err >&5
15050   echo "$as_me:15050: \$? = $ac_status" >&5
15051   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15052   then
15053     # The compiler can only warn and ignore the option if not recognized
15054     # So say no if there are warnings
15055     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15056     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15057     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15058       lt_cv_prog_compiler_c_o_F77=yes
15059     fi
15060   fi
15061   chmod u+w . 2>&5
15062   $rm conftest*
15063   # SGI C++ compiler will create directory out/ii_files/ for
15064   # template instantiation
15065   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15066   $rm out/* && rmdir out
15067   cd ..
15068   rmdir conftest
15069   $rm conftest*
15070
15071fi
15072{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15073$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
15074
15075
15076hard_links="nottested"
15077if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15078  # do not overwrite the value of need_locks provided by the user
15079  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15080$as_echo_n "checking if we can lock with hard links... " >&6; }
15081  hard_links=yes
15082  $rm conftest*
15083  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15084  touch conftest.a
15085  ln conftest.a conftest.b 2>&5 || hard_links=no
15086  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15087  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
15088$as_echo "$hard_links" >&6; }
15089  if test "$hard_links" = no; then
15090    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15091$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15092    need_locks=warn
15093  fi
15094else
15095  need_locks=no
15096fi
15097
15098{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15099$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15100
15101  runpath_var=
15102  allow_undefined_flag_F77=
15103  enable_shared_with_static_runtimes_F77=no
15104  archive_cmds_F77=
15105  archive_expsym_cmds_F77=
15106  old_archive_From_new_cmds_F77=
15107  old_archive_from_expsyms_cmds_F77=
15108  export_dynamic_flag_spec_F77=
15109  whole_archive_flag_spec_F77=
15110  thread_safe_flag_spec_F77=
15111  hardcode_libdir_flag_spec_F77=
15112  hardcode_libdir_flag_spec_ld_F77=
15113  hardcode_libdir_separator_F77=
15114  hardcode_direct_F77=no
15115  hardcode_minus_L_F77=no
15116  hardcode_shlibpath_var_F77=unsupported
15117  link_all_deplibs_F77=unknown
15118  hardcode_automatic_F77=no
15119  module_cmds_F77=
15120  module_expsym_cmds_F77=
15121  always_export_symbols_F77=no
15122  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15123  # include_expsyms should be a list of space-separated symbols to be *always*
15124  # included in the symbol list
15125  include_expsyms_F77=
15126  # exclude_expsyms can be an extended regexp of symbols to exclude
15127  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15128  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15129  # as well as any symbol that contains `d'.
15130  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15131  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15132  # platforms (ab)use it in PIC code, but their linkers get confused if
15133  # the symbol is explicitly referenced.  Since portable code cannot
15134  # rely on this symbol name, it's probably fine to never include it in
15135  # preloaded symbol tables.
15136  # Exclude shared library initialization/finalization symbols.
15137  extract_expsyms_cmds=
15138  # Just being paranoid about ensuring that cc_basename is set.
15139  for cc_temp in $compiler""; do
15140  case $cc_temp in
15141    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15142    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15143    \-*) ;;
15144    *) break;;
15145  esac
15146done
15147cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15148
15149  case $host_os in
15150  cygwin* | mingw* | pw32*)
15151    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15152    # When not using gcc, we currently assume that we are using
15153    # Microsoft Visual C++.
15154    if test "$GCC" != yes; then
15155      with_gnu_ld=no
15156    fi
15157    ;;
15158  interix*)
15159    # we just hope/assume this is gcc and not c89 (= MSVC++)
15160    with_gnu_ld=yes
15161    ;;
15162  openbsd*)
15163    with_gnu_ld=no
15164    ;;
15165  esac
15166
15167  ld_shlibs_F77=yes
15168  if test "$with_gnu_ld" = yes; then
15169    # If archive_cmds runs LD, not CC, wlarc should be empty
15170    wlarc='${wl}'
15171
15172    # Set some defaults for GNU ld with shared library support. These
15173    # are reset later if shared libraries are not supported. Putting them
15174    # here allows them to be overridden if necessary.
15175    runpath_var=LD_RUN_PATH
15176    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15177    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15178    # ancient GNU ld didn't support --whole-archive et. al.
15179    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15180	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15181      else
15182  	whole_archive_flag_spec_F77=
15183    fi
15184    supports_anon_versioning=no
15185    case `$LD -v 2>/dev/null` in
15186      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15187      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15188      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15189      *\ 2.11.*) ;; # other 2.11 versions
15190      *) supports_anon_versioning=yes ;;
15191    esac
15192
15193    # See if GNU ld supports shared libraries.
15194    case $host_os in
15195    aix[3-9]*)
15196      # On AIX/PPC, the GNU linker is very broken
15197      if test "$host_cpu" != ia64; then
15198	ld_shlibs_F77=no
15199	cat <<EOF 1>&2
15200
15201*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15202*** to be unable to reliably create shared libraries on AIX.
15203*** Therefore, libtool is disabling shared libraries support.  If you
15204*** really care for shared libraries, you may want to modify your PATH
15205*** so that a non-GNU linker is found, and then restart.
15206
15207EOF
15208      fi
15209      ;;
15210
15211    amigaos*)
15212      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15213      hardcode_libdir_flag_spec_F77='-L$libdir'
15214      hardcode_minus_L_F77=yes
15215
15216      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15217      # that the semantics of dynamic libraries on AmigaOS, at least up
15218      # to version 4, is to share data among multiple programs linked
15219      # with the same dynamic library.  Since this doesn't match the
15220      # behavior of shared libraries on other platforms, we can't use
15221      # them.
15222      ld_shlibs_F77=no
15223      ;;
15224
15225    beos*)
15226      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15227	allow_undefined_flag_F77=unsupported
15228	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15229	# support --undefined.  This deserves some investigation.  FIXME
15230	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15231      else
15232	ld_shlibs_F77=no
15233      fi
15234      ;;
15235
15236    cygwin* | mingw* | pw32*)
15237      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15238      # as there is no search path for DLLs.
15239      hardcode_libdir_flag_spec_F77='-L$libdir'
15240      allow_undefined_flag_F77=unsupported
15241      always_export_symbols_F77=no
15242      enable_shared_with_static_runtimes_F77=yes
15243      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15244
15245      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15246        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15247	# If the export-symbols file already is a .def file (1st line
15248	# is EXPORTS), use it as is; otherwise, prepend...
15249	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15250	  cp $export_symbols $output_objdir/$soname.def;
15251	else
15252	  echo EXPORTS > $output_objdir/$soname.def;
15253	  cat $export_symbols >> $output_objdir/$soname.def;
15254	fi~
15255	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15256      else
15257	ld_shlibs_F77=no
15258      fi
15259      ;;
15260
15261    interix[3-9]*)
15262      hardcode_direct_F77=no
15263      hardcode_shlibpath_var_F77=no
15264      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15265      export_dynamic_flag_spec_F77='${wl}-E'
15266      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15267      # Instead, shared libraries are loaded at an image base (0x10000000 by
15268      # default) and relocated if they conflict, which is a slow very memory
15269      # consuming and fragmenting process.  To avoid this, we pick a random,
15270      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15271      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15272      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15273      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15274      ;;
15275
15276    gnu* | linux* | k*bsd*-gnu)
15277      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15278	tmp_addflag=
15279	case $cc_basename,$host_cpu in
15280	pgcc*)				# Portland Group C compiler
15281	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15282	  tmp_addflag=' $pic_flag'
15283	  ;;
15284	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
15285	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15286	  tmp_addflag=' $pic_flag -Mnomain' ;;
15287	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
15288	  tmp_addflag=' -i_dynamic' ;;
15289	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
15290	  tmp_addflag=' -i_dynamic -nofor_main' ;;
15291	ifc* | ifort*)			# Intel Fortran compiler
15292	  tmp_addflag=' -nofor_main' ;;
15293	esac
15294	case `$CC -V 2>&1 | sed 5q` in
15295	*Sun\ C*)			# Sun C 5.9
15296	  whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15297	  tmp_sharedflag='-G' ;;
15298	*Sun\ F*)			# Sun Fortran 8.3
15299	  tmp_sharedflag='-G' ;;
15300	*)
15301	  tmp_sharedflag='-shared' ;;
15302	esac
15303	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15304
15305	if test $supports_anon_versioning = yes; then
15306	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15307  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15308  $echo "local: *; };" >> $output_objdir/$libname.ver~
15309	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15310	fi
15311      else
15312	ld_shlibs_F77=no
15313      fi
15314      ;;
15315
15316    netbsd*)
15317      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15318	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15319	wlarc=
15320      else
15321	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15322	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15323      fi
15324      ;;
15325
15326    solaris*)
15327      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15328	ld_shlibs_F77=no
15329	cat <<EOF 1>&2
15330
15331*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15332*** create shared libraries on Solaris systems.  Therefore, libtool
15333*** is disabling shared libraries support.  We urge you to upgrade GNU
15334*** binutils to release 2.9.1 or newer.  Another option is to modify
15335*** your PATH or compiler configuration so that the native linker is
15336*** used, and then restart.
15337
15338EOF
15339      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15340	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15341	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15342      else
15343	ld_shlibs_F77=no
15344      fi
15345      ;;
15346
15347    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15348      case `$LD -v 2>&1` in
15349        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15350	ld_shlibs_F77=no
15351	cat <<_LT_EOF 1>&2
15352
15353*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15354*** reliably create shared libraries on SCO systems.  Therefore, libtool
15355*** is disabling shared libraries support.  We urge you to upgrade GNU
15356*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15357*** your PATH or compiler configuration so that the native linker is
15358*** used, and then restart.
15359
15360_LT_EOF
15361	;;
15362	*)
15363	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15364	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15365	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15366	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15367	  else
15368	    ld_shlibs_F77=no
15369	  fi
15370	;;
15371      esac
15372      ;;
15373
15374    sunos4*)
15375      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15376      wlarc=
15377      hardcode_direct_F77=yes
15378      hardcode_shlibpath_var_F77=no
15379      ;;
15380
15381    *)
15382      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15383	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15384	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15385      else
15386	ld_shlibs_F77=no
15387      fi
15388      ;;
15389    esac
15390
15391    if test "$ld_shlibs_F77" = no; then
15392      runpath_var=
15393      hardcode_libdir_flag_spec_F77=
15394      export_dynamic_flag_spec_F77=
15395      whole_archive_flag_spec_F77=
15396    fi
15397  else
15398    # PORTME fill in a description of your system's linker (not GNU ld)
15399    case $host_os in
15400    aix3*)
15401      allow_undefined_flag_F77=unsupported
15402      always_export_symbols_F77=yes
15403      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15404      # Note: this linker hardcodes the directories in LIBPATH if there
15405      # are no directories specified by -L.
15406      hardcode_minus_L_F77=yes
15407      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15408	# Neither direct hardcoding nor static linking is supported with a
15409	# broken collect2.
15410	hardcode_direct_F77=unsupported
15411      fi
15412      ;;
15413
15414    aix[4-9]*)
15415      if test "$host_cpu" = ia64; then
15416	# On IA64, the linker does run time linking by default, so we don't
15417	# have to do anything special.
15418	aix_use_runtimelinking=no
15419	exp_sym_flag='-Bexport'
15420	no_entry_flag=""
15421      else
15422	# If we're using GNU nm, then we don't want the "-C" option.
15423	# -C means demangle to AIX nm, but means don't demangle with GNU nm
15424	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15425	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15426	else
15427	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15428	fi
15429	aix_use_runtimelinking=no
15430
15431	# Test if we are trying to use run time linking or normal
15432	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
15433	# need to do runtime linking.
15434	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15435	  for ld_flag in $LDFLAGS; do
15436  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15437  	    aix_use_runtimelinking=yes
15438  	    break
15439  	  fi
15440	  done
15441	  ;;
15442	esac
15443
15444	exp_sym_flag='-bexport'
15445	no_entry_flag='-bnoentry'
15446      fi
15447
15448      # When large executables or shared objects are built, AIX ld can
15449      # have problems creating the table of contents.  If linking a library
15450      # or program results in "error TOC overflow" add -mminimal-toc to
15451      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15452      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15453
15454      archive_cmds_F77=''
15455      hardcode_direct_F77=yes
15456      hardcode_libdir_separator_F77=':'
15457      link_all_deplibs_F77=yes
15458
15459      if test "$GCC" = yes; then
15460	case $host_os in aix4.[012]|aix4.[012].*)
15461	# We only want to do this on AIX 4.2 and lower, the check
15462	# below for broken collect2 doesn't work under 4.3+
15463	  collect2name=`${CC} -print-prog-name=collect2`
15464	  if test -f "$collect2name" && \
15465  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
15466	  then
15467  	  # We have reworked collect2
15468  	  :
15469	  else
15470  	  # We have old collect2
15471  	  hardcode_direct_F77=unsupported
15472  	  # It fails to find uninstalled libraries when the uninstalled
15473  	  # path is not listed in the libpath.  Setting hardcode_minus_L
15474  	  # to unsupported forces relinking
15475  	  hardcode_minus_L_F77=yes
15476  	  hardcode_libdir_flag_spec_F77='-L$libdir'
15477  	  hardcode_libdir_separator_F77=
15478	  fi
15479	  ;;
15480	esac
15481	shared_flag='-shared'
15482	if test "$aix_use_runtimelinking" = yes; then
15483	  shared_flag="$shared_flag "'${wl}-G'
15484	fi
15485      else
15486	# not using gcc
15487	if test "$host_cpu" = ia64; then
15488  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15489  	# chokes on -Wl,-G. The following line is correct:
15490	  shared_flag='-G'
15491	else
15492	  if test "$aix_use_runtimelinking" = yes; then
15493	    shared_flag='${wl}-G'
15494	  else
15495	    shared_flag='${wl}-bM:SRE'
15496	  fi
15497	fi
15498      fi
15499
15500      # It seems that -bexpall does not export symbols beginning with
15501      # underscore (_), so it is better to generate a list of symbols to export.
15502      always_export_symbols_F77=yes
15503      if test "$aix_use_runtimelinking" = yes; then
15504	# Warning - without using the other runtime loading flags (-brtl),
15505	# -berok will link without error, but may produce a broken library.
15506	allow_undefined_flag_F77='-berok'
15507       # Determine the default libpath from the value encoded in an empty executable.
15508       cat >conftest.$ac_ext <<_ACEOF
15509      program main
15510
15511      end
15512_ACEOF
15513rm -f conftest.$ac_objext conftest$ac_exeext
15514if { (ac_try="$ac_link"
15515case "(($ac_try" in
15516  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15517  *) ac_try_echo=$ac_try;;
15518esac
15519eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15520$as_echo "$ac_try_echo") >&5
15521  (eval "$ac_link") 2>conftest.er1
15522  ac_status=$?
15523  grep -v '^ *+' conftest.er1 >conftest.err
15524  rm -f conftest.er1
15525  cat conftest.err >&5
15526  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527  (exit $ac_status); } && {
15528	 test -z "$ac_f77_werror_flag" ||
15529	 test ! -s conftest.err
15530       } && test -s conftest$ac_exeext && {
15531	 test "$cross_compiling" = yes ||
15532	 $as_test_x conftest$ac_exeext
15533       }; then
15534
15535lt_aix_libpath_sed='
15536    /Import File Strings/,/^$/ {
15537	/^0/ {
15538	    s/^0  *\(.*\)$/\1/
15539	    p
15540	}
15541    }'
15542aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15543# Check for a 64-bit object if we didn't find anything.
15544if test -z "$aix_libpath"; then
15545  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15546fi
15547else
15548  $as_echo "$as_me: failed program was:" >&5
15549sed 's/^/| /' conftest.$ac_ext >&5
15550
15551
15552fi
15553
15554rm -rf conftest.dSYM
15555rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15556      conftest$ac_exeext conftest.$ac_ext
15557if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15558
15559       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15560	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15561       else
15562	if test "$host_cpu" = ia64; then
15563	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15564	  allow_undefined_flag_F77="-z nodefs"
15565	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15566	else
15567	 # Determine the default libpath from the value encoded in an empty executable.
15568	 cat >conftest.$ac_ext <<_ACEOF
15569      program main
15570
15571      end
15572_ACEOF
15573rm -f conftest.$ac_objext conftest$ac_exeext
15574if { (ac_try="$ac_link"
15575case "(($ac_try" in
15576  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15577  *) ac_try_echo=$ac_try;;
15578esac
15579eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15580$as_echo "$ac_try_echo") >&5
15581  (eval "$ac_link") 2>conftest.er1
15582  ac_status=$?
15583  grep -v '^ *+' conftest.er1 >conftest.err
15584  rm -f conftest.er1
15585  cat conftest.err >&5
15586  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587  (exit $ac_status); } && {
15588	 test -z "$ac_f77_werror_flag" ||
15589	 test ! -s conftest.err
15590       } && test -s conftest$ac_exeext && {
15591	 test "$cross_compiling" = yes ||
15592	 $as_test_x conftest$ac_exeext
15593       }; then
15594
15595lt_aix_libpath_sed='
15596    /Import File Strings/,/^$/ {
15597	/^0/ {
15598	    s/^0  *\(.*\)$/\1/
15599	    p
15600	}
15601    }'
15602aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15603# Check for a 64-bit object if we didn't find anything.
15604if test -z "$aix_libpath"; then
15605  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15606fi
15607else
15608  $as_echo "$as_me: failed program was:" >&5
15609sed 's/^/| /' conftest.$ac_ext >&5
15610
15611
15612fi
15613
15614rm -rf conftest.dSYM
15615rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15616      conftest$ac_exeext conftest.$ac_ext
15617if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15618
15619	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15620	  # Warning - without using the other run time loading flags,
15621	  # -berok will link without error, but may produce a broken library.
15622	  no_undefined_flag_F77=' ${wl}-bernotok'
15623	  allow_undefined_flag_F77=' ${wl}-berok'
15624	  # Exported symbols can be pulled into shared objects from archives
15625	  whole_archive_flag_spec_F77='$convenience'
15626	  archive_cmds_need_lc_F77=yes
15627	  # This is similar to how AIX traditionally builds its shared libraries.
15628	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15629	fi
15630      fi
15631      ;;
15632
15633    amigaos*)
15634      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15635      hardcode_libdir_flag_spec_F77='-L$libdir'
15636      hardcode_minus_L_F77=yes
15637      # see comment about different semantics on the GNU ld section
15638      ld_shlibs_F77=no
15639      ;;
15640
15641    bsdi[45]*)
15642      export_dynamic_flag_spec_F77=-rdynamic
15643      ;;
15644
15645    cygwin* | mingw* | pw32*)
15646      # When not using gcc, we currently assume that we are using
15647      # Microsoft Visual C++.
15648      # hardcode_libdir_flag_spec is actually meaningless, as there is
15649      # no search path for DLLs.
15650      hardcode_libdir_flag_spec_F77=' '
15651      allow_undefined_flag_F77=unsupported
15652      # Tell ltmain to make .lib files, not .a files.
15653      libext=lib
15654      # Tell ltmain to make .dll files, not .so files.
15655      shrext_cmds=".dll"
15656      # FIXME: Setting linknames here is a bad hack.
15657      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15658      # The linker will automatically build a .lib file if we build a DLL.
15659      old_archive_From_new_cmds_F77='true'
15660      # FIXME: Should let the user specify the lib program.
15661      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15662      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15663      enable_shared_with_static_runtimes_F77=yes
15664      ;;
15665
15666    darwin* | rhapsody*)
15667      case $host_os in
15668        rhapsody* | darwin1.[012])
15669         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15670         ;;
15671       *) # Darwin 1.3 on
15672         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15673           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15674         else
15675           case ${MACOSX_DEPLOYMENT_TARGET} in
15676             10.[012])
15677               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15678               ;;
15679             10.*)
15680               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15681               ;;
15682           esac
15683         fi
15684         ;;
15685      esac
15686      archive_cmds_need_lc_F77=no
15687      hardcode_direct_F77=no
15688      hardcode_automatic_F77=yes
15689      hardcode_shlibpath_var_F77=unsupported
15690      whole_archive_flag_spec_F77=''
15691      link_all_deplibs_F77=yes
15692    if test "$GCC" = yes ; then
15693    	output_verbose_link_cmd='echo'
15694        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15695        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15696        archive_expsym_cmds_F77="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}"
15697        module_expsym_cmds_F77="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}"
15698    else
15699      case $cc_basename in
15700        xlc*)
15701         output_verbose_link_cmd='echo'
15702         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15703         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15704          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15705         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15706          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15707          ;;
15708       *)
15709         ld_shlibs_F77=no
15710          ;;
15711      esac
15712    fi
15713      ;;
15714
15715    dgux*)
15716      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15717      hardcode_libdir_flag_spec_F77='-L$libdir'
15718      hardcode_shlibpath_var_F77=no
15719      ;;
15720
15721    freebsd1*)
15722      ld_shlibs_F77=no
15723      ;;
15724
15725    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15726    # support.  Future versions do this automatically, but an explicit c++rt0.o
15727    # does not break anything, and helps significantly (at the cost of a little
15728    # extra space).
15729    freebsd2.2*)
15730      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15731      hardcode_libdir_flag_spec_F77='-R$libdir'
15732      hardcode_direct_F77=yes
15733      hardcode_shlibpath_var_F77=no
15734      ;;
15735
15736    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15737    freebsd2*)
15738      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15739      hardcode_direct_F77=yes
15740      hardcode_minus_L_F77=yes
15741      hardcode_shlibpath_var_F77=no
15742      ;;
15743
15744    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15745    freebsd* | dragonfly*)
15746      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15747      hardcode_libdir_flag_spec_F77='-R$libdir'
15748      hardcode_direct_F77=yes
15749      hardcode_shlibpath_var_F77=no
15750      ;;
15751
15752    hpux9*)
15753      if test "$GCC" = yes; then
15754	archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15755      else
15756	archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15757      fi
15758      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15759      hardcode_libdir_separator_F77=:
15760      hardcode_direct_F77=yes
15761
15762      # hardcode_minus_L: Not really in the search PATH,
15763      # but as the default location of the library.
15764      hardcode_minus_L_F77=yes
15765      export_dynamic_flag_spec_F77='${wl}-E'
15766      ;;
15767
15768    hpux10*)
15769      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15770	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15771      else
15772	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15773      fi
15774      if test "$with_gnu_ld" = no; then
15775	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15776	hardcode_libdir_separator_F77=:
15777
15778	hardcode_direct_F77=yes
15779	export_dynamic_flag_spec_F77='${wl}-E'
15780
15781	# hardcode_minus_L: Not really in the search PATH,
15782	# but as the default location of the library.
15783	hardcode_minus_L_F77=yes
15784      fi
15785      ;;
15786
15787    hpux11*)
15788      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15789	case $host_cpu in
15790	hppa*64*)
15791	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15792	  ;;
15793	ia64*)
15794	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15795	  ;;
15796	*)
15797	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15798	  ;;
15799	esac
15800      else
15801	case $host_cpu in
15802	hppa*64*)
15803	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15804	  ;;
15805	ia64*)
15806	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15807	  ;;
15808	*)
15809	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15810	  ;;
15811	esac
15812      fi
15813      if test "$with_gnu_ld" = no; then
15814	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15815	hardcode_libdir_separator_F77=:
15816
15817	case $host_cpu in
15818	hppa*64*|ia64*)
15819	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15820	  hardcode_direct_F77=no
15821	  hardcode_shlibpath_var_F77=no
15822	  ;;
15823	*)
15824	  hardcode_direct_F77=yes
15825	  export_dynamic_flag_spec_F77='${wl}-E'
15826
15827	  # hardcode_minus_L: Not really in the search PATH,
15828	  # but as the default location of the library.
15829	  hardcode_minus_L_F77=yes
15830	  ;;
15831	esac
15832      fi
15833      ;;
15834
15835    irix5* | irix6* | nonstopux*)
15836      if test "$GCC" = yes; then
15837	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15838      else
15839	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15840	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15841      fi
15842      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15843      hardcode_libdir_separator_F77=:
15844      link_all_deplibs_F77=yes
15845      ;;
15846
15847    netbsd*)
15848      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15849	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15850      else
15851	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15852      fi
15853      hardcode_libdir_flag_spec_F77='-R$libdir'
15854      hardcode_direct_F77=yes
15855      hardcode_shlibpath_var_F77=no
15856      ;;
15857
15858    newsos6)
15859      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15860      hardcode_direct_F77=yes
15861      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15862      hardcode_libdir_separator_F77=:
15863      hardcode_shlibpath_var_F77=no
15864      ;;
15865
15866    openbsd*)
15867      if test -f /usr/libexec/ld.so; then
15868	hardcode_direct_F77=yes
15869	hardcode_shlibpath_var_F77=no
15870	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15871	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15872	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15873	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15874	  export_dynamic_flag_spec_F77='${wl}-E'
15875	else
15876	  case $host_os in
15877	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15878	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15879	     hardcode_libdir_flag_spec_F77='-R$libdir'
15880	     ;;
15881	   *)
15882	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15883	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15884	     ;;
15885	  esac
15886        fi
15887      else
15888	ld_shlibs_F77=no
15889      fi
15890      ;;
15891
15892    os2*)
15893      hardcode_libdir_flag_spec_F77='-L$libdir'
15894      hardcode_minus_L_F77=yes
15895      allow_undefined_flag_F77=unsupported
15896      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15897      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15898      ;;
15899
15900    osf3*)
15901      if test "$GCC" = yes; then
15902	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15903	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15904      else
15905	allow_undefined_flag_F77=' -expect_unresolved \*'
15906	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15907      fi
15908      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15909      hardcode_libdir_separator_F77=:
15910      ;;
15911
15912    osf4* | osf5*)	# as osf3* with the addition of -msym flag
15913      if test "$GCC" = yes; then
15914	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15915	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15916	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15917      else
15918	allow_undefined_flag_F77=' -expect_unresolved \*'
15919	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15920	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15921	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15922
15923	# Both c and cxx compiler support -rpath directly
15924	hardcode_libdir_flag_spec_F77='-rpath $libdir'
15925      fi
15926      hardcode_libdir_separator_F77=:
15927      ;;
15928
15929    solaris*)
15930      no_undefined_flag_F77=' -z text'
15931      if test "$GCC" = yes; then
15932	wlarc='${wl}'
15933	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15934	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15935	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15936      else
15937	wlarc=''
15938	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15939	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15940  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15941      fi
15942      hardcode_libdir_flag_spec_F77='-R$libdir'
15943      hardcode_shlibpath_var_F77=no
15944      case $host_os in
15945      solaris2.[0-5] | solaris2.[0-5].*) ;;
15946      *)
15947	# The compiler driver will combine and reorder linker options,
15948	# but understands `-z linker_flag'.  GCC discards it without `$wl',
15949	# but is careful enough not to reorder.
15950 	# Supported since Solaris 2.6 (maybe 2.5.1?)
15951	if test "$GCC" = yes; then
15952	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15953	else
15954	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15955	fi
15956	;;
15957      esac
15958      link_all_deplibs_F77=yes
15959      ;;
15960
15961    sunos4*)
15962      if test "x$host_vendor" = xsequent; then
15963	# Use $CC to link under sequent, because it throws in some extra .o
15964	# files that make .init and .fini sections work.
15965	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15966      else
15967	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15968      fi
15969      hardcode_libdir_flag_spec_F77='-L$libdir'
15970      hardcode_direct_F77=yes
15971      hardcode_minus_L_F77=yes
15972      hardcode_shlibpath_var_F77=no
15973      ;;
15974
15975    sysv4)
15976      case $host_vendor in
15977	sni)
15978	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15979	  hardcode_direct_F77=yes # is this really true???
15980	;;
15981	siemens)
15982	  ## LD is ld it makes a PLAMLIB
15983	  ## CC just makes a GrossModule.
15984	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15985	  reload_cmds_F77='$CC -r -o $output$reload_objs'
15986	  hardcode_direct_F77=no
15987        ;;
15988	motorola)
15989	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15990	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15991	;;
15992      esac
15993      runpath_var='LD_RUN_PATH'
15994      hardcode_shlibpath_var_F77=no
15995      ;;
15996
15997    sysv4.3*)
15998      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15999      hardcode_shlibpath_var_F77=no
16000      export_dynamic_flag_spec_F77='-Bexport'
16001      ;;
16002
16003    sysv4*MP*)
16004      if test -d /usr/nec; then
16005	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16006	hardcode_shlibpath_var_F77=no
16007	runpath_var=LD_RUN_PATH
16008	hardcode_runpath_var=yes
16009	ld_shlibs_F77=yes
16010      fi
16011      ;;
16012
16013    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16014      no_undefined_flag_F77='${wl}-z,text'
16015      archive_cmds_need_lc_F77=no
16016      hardcode_shlibpath_var_F77=no
16017      runpath_var='LD_RUN_PATH'
16018
16019      if test "$GCC" = yes; then
16020	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16021	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16022      else
16023	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16024	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16025      fi
16026      ;;
16027
16028    sysv5* | sco3.2v5* | sco5v6*)
16029      # Note: We can NOT use -z defs as we might desire, because we do not
16030      # link with -lc, and that would cause any symbols used from libc to
16031      # always be unresolved, which means just about no library would
16032      # ever link correctly.  If we're not using GNU ld we use -z text
16033      # though, which does catch some bad symbols but isn't as heavy-handed
16034      # as -z defs.
16035      no_undefined_flag_F77='${wl}-z,text'
16036      allow_undefined_flag_F77='${wl}-z,nodefs'
16037      archive_cmds_need_lc_F77=no
16038      hardcode_shlibpath_var_F77=no
16039      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16040      hardcode_libdir_separator_F77=':'
16041      link_all_deplibs_F77=yes
16042      export_dynamic_flag_spec_F77='${wl}-Bexport'
16043      runpath_var='LD_RUN_PATH'
16044
16045      if test "$GCC" = yes; then
16046	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16047	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16048      else
16049	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16050	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16051      fi
16052      ;;
16053
16054    uts4*)
16055      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16056      hardcode_libdir_flag_spec_F77='-L$libdir'
16057      hardcode_shlibpath_var_F77=no
16058      ;;
16059
16060    *)
16061      ld_shlibs_F77=no
16062      ;;
16063    esac
16064  fi
16065
16066{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16067$as_echo "$ld_shlibs_F77" >&6; }
16068test "$ld_shlibs_F77" = no && can_build_shared=no
16069
16070#
16071# Do we need to explicitly link libc?
16072#
16073case "x$archive_cmds_need_lc_F77" in
16074x|xyes)
16075  # Assume -lc should be added
16076  archive_cmds_need_lc_F77=yes
16077
16078  if test "$enable_shared" = yes && test "$GCC" = yes; then
16079    case $archive_cmds_F77 in
16080    *'~'*)
16081      # FIXME: we may have to deal with multi-command sequences.
16082      ;;
16083    '$CC '*)
16084      # Test whether the compiler implicitly links with -lc since on some
16085      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16086      # to ld, don't add -lc before -lgcc.
16087      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16088$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16089      $rm conftest*
16090      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16091
16092      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16093  (eval $ac_compile) 2>&5
16094  ac_status=$?
16095  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096  (exit $ac_status); } 2>conftest.err; then
16097        soname=conftest
16098        lib=conftest
16099        libobjs=conftest.$ac_objext
16100        deplibs=
16101        wl=$lt_prog_compiler_wl_F77
16102	pic_flag=$lt_prog_compiler_pic_F77
16103        compiler_flags=-v
16104        linker_flags=-v
16105        verstring=
16106        output_objdir=.
16107        libname=conftest
16108        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16109        allow_undefined_flag_F77=
16110        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16111  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16112  ac_status=$?
16113  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114  (exit $ac_status); }
16115        then
16116	  archive_cmds_need_lc_F77=no
16117        else
16118	  archive_cmds_need_lc_F77=yes
16119        fi
16120        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16121      else
16122        cat conftest.err 1>&5
16123      fi
16124      $rm conftest*
16125      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16126$as_echo "$archive_cmds_need_lc_F77" >&6; }
16127      ;;
16128    esac
16129  fi
16130  ;;
16131esac
16132
16133{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16134$as_echo_n "checking dynamic linker characteristics... " >&6; }
16135library_names_spec=
16136libname_spec='lib$name'
16137soname_spec=
16138shrext_cmds=".so"
16139postinstall_cmds=
16140postuninstall_cmds=
16141finish_cmds=
16142finish_eval=
16143shlibpath_var=
16144shlibpath_overrides_runpath=unknown
16145version_type=none
16146dynamic_linker="$host_os ld.so"
16147sys_lib_dlsearch_path_spec="/lib /usr/lib"
16148
16149need_lib_prefix=unknown
16150hardcode_into_libs=no
16151
16152# when you set need_version to no, make sure it does not cause -set_version
16153# flags to be left without arguments
16154need_version=unknown
16155
16156case $host_os in
16157aix3*)
16158  version_type=linux
16159  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16160  shlibpath_var=LIBPATH
16161
16162  # AIX 3 has no versioning support, so we append a major version to the name.
16163  soname_spec='${libname}${release}${shared_ext}$major'
16164  ;;
16165
16166aix[4-9]*)
16167  version_type=linux
16168  need_lib_prefix=no
16169  need_version=no
16170  hardcode_into_libs=yes
16171  if test "$host_cpu" = ia64; then
16172    # AIX 5 supports IA64
16173    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16174    shlibpath_var=LD_LIBRARY_PATH
16175  else
16176    # With GCC up to 2.95.x, collect2 would create an import file
16177    # for dependence libraries.  The import file would start with
16178    # the line `#! .'.  This would cause the generated library to
16179    # depend on `.', always an invalid library.  This was fixed in
16180    # development snapshots of GCC prior to 3.0.
16181    case $host_os in
16182      aix4 | aix4.[01] | aix4.[01].*)
16183      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16184	   echo ' yes '
16185	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16186	:
16187      else
16188	can_build_shared=no
16189      fi
16190      ;;
16191    esac
16192    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16193    # soname into executable. Probably we can add versioning support to
16194    # collect2, so additional links can be useful in future.
16195    if test "$aix_use_runtimelinking" = yes; then
16196      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16197      # instead of lib<name>.a to let people know that these are not
16198      # typical AIX shared libraries.
16199      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16200    else
16201      # We preserve .a as extension for shared libraries through AIX4.2
16202      # and later when we are not doing run time linking.
16203      library_names_spec='${libname}${release}.a $libname.a'
16204      soname_spec='${libname}${release}${shared_ext}$major'
16205    fi
16206    shlibpath_var=LIBPATH
16207  fi
16208  ;;
16209
16210amigaos*)
16211  library_names_spec='$libname.ixlibrary $libname.a'
16212  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16213  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16214  ;;
16215
16216beos*)
16217  library_names_spec='${libname}${shared_ext}'
16218  dynamic_linker="$host_os ld.so"
16219  shlibpath_var=LIBRARY_PATH
16220  ;;
16221
16222bsdi[45]*)
16223  version_type=linux
16224  need_version=no
16225  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16226  soname_spec='${libname}${release}${shared_ext}$major'
16227  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16228  shlibpath_var=LD_LIBRARY_PATH
16229  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16230  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16231  # the default ld.so.conf also contains /usr/contrib/lib and
16232  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16233  # libtool to hard-code these into programs
16234  ;;
16235
16236cygwin* | mingw* | pw32*)
16237  version_type=windows
16238  shrext_cmds=".dll"
16239  need_version=no
16240  need_lib_prefix=no
16241
16242  case $GCC,$host_os in
16243  yes,cygwin* | yes,mingw* | yes,pw32*)
16244    library_names_spec='$libname.dll.a'
16245    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16246    postinstall_cmds='base_file=`basename \${file}`~
16247      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16248      dldir=$destdir/`dirname \$dlpath`~
16249      test -d \$dldir || mkdir -p \$dldir~
16250      $install_prog $dir/$dlname \$dldir/$dlname~
16251      chmod a+x \$dldir/$dlname'
16252    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16253      dlpath=$dir/\$dldll~
16254       $rm \$dlpath'
16255    shlibpath_overrides_runpath=yes
16256
16257    case $host_os in
16258    cygwin*)
16259      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16260      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16261      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16262      ;;
16263    mingw*)
16264      # MinGW DLLs use traditional 'lib' prefix
16265      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16266      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16267      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16268        # It is most probably a Windows format PATH printed by
16269        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16270        # path with ; separators, and with drive letters. We can handle the
16271        # drive letters (cygwin fileutils understands them), so leave them,
16272        # especially as we might pass files found there to a mingw objdump,
16273        # which wouldn't understand a cygwinified path. Ahh.
16274        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16275      else
16276        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16277      fi
16278      ;;
16279    pw32*)
16280      # pw32 DLLs use 'pw' prefix rather than 'lib'
16281      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16282      ;;
16283    esac
16284    ;;
16285
16286  *)
16287    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16288    ;;
16289  esac
16290  dynamic_linker='Win32 ld.exe'
16291  # FIXME: first we should search . and the directory the executable is in
16292  shlibpath_var=PATH
16293  ;;
16294
16295darwin* | rhapsody*)
16296  dynamic_linker="$host_os dyld"
16297  version_type=darwin
16298  need_lib_prefix=no
16299  need_version=no
16300  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16301  soname_spec='${libname}${release}${major}$shared_ext'
16302  shlibpath_overrides_runpath=yes
16303  shlibpath_var=DYLD_LIBRARY_PATH
16304  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16305
16306  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16307  ;;
16308
16309dgux*)
16310  version_type=linux
16311  need_lib_prefix=no
16312  need_version=no
16313  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16314  soname_spec='${libname}${release}${shared_ext}$major'
16315  shlibpath_var=LD_LIBRARY_PATH
16316  ;;
16317
16318freebsd1*)
16319  dynamic_linker=no
16320  ;;
16321
16322freebsd* | dragonfly*)
16323  # DragonFly does not have aout.  When/if they implement a new
16324  # versioning mechanism, adjust this.
16325  if test -x /usr/bin/objformat; then
16326    objformat=`/usr/bin/objformat`
16327  else
16328    case $host_os in
16329    freebsd[123]*) objformat=aout ;;
16330    *) objformat=elf ;;
16331    esac
16332  fi
16333  version_type=freebsd-$objformat
16334  case $version_type in
16335    freebsd-elf*)
16336      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16337      need_version=no
16338      need_lib_prefix=no
16339      ;;
16340    freebsd-*)
16341      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16342      need_version=yes
16343      ;;
16344  esac
16345  shlibpath_var=LD_LIBRARY_PATH
16346  case $host_os in
16347  freebsd2*)
16348    shlibpath_overrides_runpath=yes
16349    ;;
16350  freebsd3.[01]* | freebsdelf3.[01]*)
16351    shlibpath_overrides_runpath=yes
16352    hardcode_into_libs=yes
16353    ;;
16354  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16355  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16356    shlibpath_overrides_runpath=no
16357    hardcode_into_libs=yes
16358    ;;
16359  *) # from 4.6 on, and DragonFly
16360    shlibpath_overrides_runpath=yes
16361    hardcode_into_libs=yes
16362    ;;
16363  esac
16364  ;;
16365
16366gnu*)
16367  version_type=linux
16368  need_lib_prefix=no
16369  need_version=no
16370  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16371  soname_spec='${libname}${release}${shared_ext}$major'
16372  shlibpath_var=LD_LIBRARY_PATH
16373  hardcode_into_libs=yes
16374  ;;
16375
16376hpux9* | hpux10* | hpux11*)
16377  # Give a soname corresponding to the major version so that dld.sl refuses to
16378  # link against other versions.
16379  version_type=sunos
16380  need_lib_prefix=no
16381  need_version=no
16382  case $host_cpu in
16383  ia64*)
16384    shrext_cmds='.so'
16385    hardcode_into_libs=yes
16386    dynamic_linker="$host_os dld.so"
16387    shlibpath_var=LD_LIBRARY_PATH
16388    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16389    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16390    soname_spec='${libname}${release}${shared_ext}$major'
16391    if test "X$HPUX_IA64_MODE" = X32; then
16392      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16393    else
16394      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16395    fi
16396    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16397    ;;
16398   hppa*64*)
16399     shrext_cmds='.sl'
16400     hardcode_into_libs=yes
16401     dynamic_linker="$host_os dld.sl"
16402     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16403     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16404     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16405     soname_spec='${libname}${release}${shared_ext}$major'
16406     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16407     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16408     ;;
16409   *)
16410    shrext_cmds='.sl'
16411    dynamic_linker="$host_os dld.sl"
16412    shlibpath_var=SHLIB_PATH
16413    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16414    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16415    soname_spec='${libname}${release}${shared_ext}$major'
16416    ;;
16417  esac
16418  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16419  postinstall_cmds='chmod 555 $lib'
16420  ;;
16421
16422interix[3-9]*)
16423  version_type=linux
16424  need_lib_prefix=no
16425  need_version=no
16426  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16427  soname_spec='${libname}${release}${shared_ext}$major'
16428  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16429  shlibpath_var=LD_LIBRARY_PATH
16430  shlibpath_overrides_runpath=no
16431  hardcode_into_libs=yes
16432  ;;
16433
16434irix5* | irix6* | nonstopux*)
16435  case $host_os in
16436    nonstopux*) version_type=nonstopux ;;
16437    *)
16438	if test "$lt_cv_prog_gnu_ld" = yes; then
16439		version_type=linux
16440	else
16441		version_type=irix
16442	fi ;;
16443  esac
16444  need_lib_prefix=no
16445  need_version=no
16446  soname_spec='${libname}${release}${shared_ext}$major'
16447  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16448  case $host_os in
16449  irix5* | nonstopux*)
16450    libsuff= shlibsuff=
16451    ;;
16452  *)
16453    case $LD in # libtool.m4 will add one of these switches to LD
16454    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16455      libsuff= shlibsuff= libmagic=32-bit;;
16456    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16457      libsuff=32 shlibsuff=N32 libmagic=N32;;
16458    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16459      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16460    *) libsuff= shlibsuff= libmagic=never-match;;
16461    esac
16462    ;;
16463  esac
16464  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16465  shlibpath_overrides_runpath=no
16466  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16467  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16468  hardcode_into_libs=yes
16469  ;;
16470
16471# No shared lib support for Linux oldld, aout, or coff.
16472linux*oldld* | linux*aout* | linux*coff*)
16473  dynamic_linker=no
16474  ;;
16475
16476# This must be Linux ELF.
16477linux* | k*bsd*-gnu)
16478  version_type=linux
16479  need_lib_prefix=no
16480  need_version=no
16481  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16482  soname_spec='${libname}${release}${shared_ext}$major'
16483  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16484  shlibpath_var=LD_LIBRARY_PATH
16485  shlibpath_overrides_runpath=no
16486  # This implies no fast_install, which is unacceptable.
16487  # Some rework will be needed to allow for fast_install
16488  # before this can be enabled.
16489  hardcode_into_libs=yes
16490  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16491  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16492
16493  # Append ld.so.conf contents to the search path
16494  if test -f /etc/ld.so.conf; then
16495    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16496    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16497  fi
16498
16499  # We used to test for /lib/ld.so.1 and disable shared libraries on
16500  # powerpc, because MkLinux only supported shared libraries with the
16501  # GNU dynamic linker.  Since this was broken with cross compilers,
16502  # most powerpc-linux boxes support dynamic linking these days and
16503  # people can always --disable-shared, the test was removed, and we
16504  # assume the GNU/Linux dynamic linker is in use.
16505  dynamic_linker='GNU/Linux ld.so'
16506  ;;
16507
16508netbsd*)
16509  version_type=sunos
16510  need_lib_prefix=no
16511  need_version=no
16512  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16513    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16514    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16515    dynamic_linker='NetBSD (a.out) ld.so'
16516  else
16517    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16518    soname_spec='${libname}${release}${shared_ext}$major'
16519    dynamic_linker='NetBSD ld.elf_so'
16520  fi
16521  shlibpath_var=LD_LIBRARY_PATH
16522  shlibpath_overrides_runpath=yes
16523  hardcode_into_libs=yes
16524  ;;
16525
16526newsos6)
16527  version_type=linux
16528  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16529  shlibpath_var=LD_LIBRARY_PATH
16530  shlibpath_overrides_runpath=yes
16531  ;;
16532
16533nto-qnx*)
16534  version_type=linux
16535  need_lib_prefix=no
16536  need_version=no
16537  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16538  soname_spec='${libname}${release}${shared_ext}$major'
16539  shlibpath_var=LD_LIBRARY_PATH
16540  shlibpath_overrides_runpath=yes
16541  ;;
16542
16543openbsd*)
16544  version_type=sunos
16545  sys_lib_dlsearch_path_spec="/usr/lib"
16546  need_lib_prefix=no
16547  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16548  case $host_os in
16549    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16550    *)                         need_version=no  ;;
16551  esac
16552  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16553  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16554  shlibpath_var=LD_LIBRARY_PATH
16555  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16556    case $host_os in
16557      openbsd2.[89] | openbsd2.[89].*)
16558	shlibpath_overrides_runpath=no
16559	;;
16560      *)
16561	shlibpath_overrides_runpath=yes
16562	;;
16563      esac
16564  else
16565    shlibpath_overrides_runpath=yes
16566  fi
16567  ;;
16568
16569os2*)
16570  libname_spec='$name'
16571  shrext_cmds=".dll"
16572  need_lib_prefix=no
16573  library_names_spec='$libname${shared_ext} $libname.a'
16574  dynamic_linker='OS/2 ld.exe'
16575  shlibpath_var=LIBPATH
16576  ;;
16577
16578osf3* | osf4* | osf5*)
16579  version_type=osf
16580  need_lib_prefix=no
16581  need_version=no
16582  soname_spec='${libname}${release}${shared_ext}$major'
16583  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16584  shlibpath_var=LD_LIBRARY_PATH
16585  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16586  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16587  ;;
16588
16589rdos*)
16590  dynamic_linker=no
16591  ;;
16592
16593solaris*)
16594  version_type=linux
16595  need_lib_prefix=no
16596  need_version=no
16597  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16598  soname_spec='${libname}${release}${shared_ext}$major'
16599  shlibpath_var=LD_LIBRARY_PATH
16600  shlibpath_overrides_runpath=yes
16601  hardcode_into_libs=yes
16602  # ldd complains unless libraries are executable
16603  postinstall_cmds='chmod +x $lib'
16604  ;;
16605
16606sunos4*)
16607  version_type=sunos
16608  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16609  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16610  shlibpath_var=LD_LIBRARY_PATH
16611  shlibpath_overrides_runpath=yes
16612  if test "$with_gnu_ld" = yes; then
16613    need_lib_prefix=no
16614  fi
16615  need_version=yes
16616  ;;
16617
16618sysv4 | sysv4.3*)
16619  version_type=linux
16620  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16621  soname_spec='${libname}${release}${shared_ext}$major'
16622  shlibpath_var=LD_LIBRARY_PATH
16623  case $host_vendor in
16624    sni)
16625      shlibpath_overrides_runpath=no
16626      need_lib_prefix=no
16627      export_dynamic_flag_spec='${wl}-Blargedynsym'
16628      runpath_var=LD_RUN_PATH
16629      ;;
16630    siemens)
16631      need_lib_prefix=no
16632      ;;
16633    motorola)
16634      need_lib_prefix=no
16635      need_version=no
16636      shlibpath_overrides_runpath=no
16637      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16638      ;;
16639  esac
16640  ;;
16641
16642sysv4*MP*)
16643  if test -d /usr/nec ;then
16644    version_type=linux
16645    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16646    soname_spec='$libname${shared_ext}.$major'
16647    shlibpath_var=LD_LIBRARY_PATH
16648  fi
16649  ;;
16650
16651sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16652  version_type=freebsd-elf
16653  need_lib_prefix=no
16654  need_version=no
16655  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16656  soname_spec='${libname}${release}${shared_ext}$major'
16657  shlibpath_var=LD_LIBRARY_PATH
16658  hardcode_into_libs=yes
16659  if test "$with_gnu_ld" = yes; then
16660    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16661    shlibpath_overrides_runpath=no
16662  else
16663    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16664    shlibpath_overrides_runpath=yes
16665    case $host_os in
16666      sco3.2v5*)
16667        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16668	;;
16669    esac
16670  fi
16671  sys_lib_dlsearch_path_spec='/usr/lib'
16672  ;;
16673
16674uts4*)
16675  version_type=linux
16676  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16677  soname_spec='${libname}${release}${shared_ext}$major'
16678  shlibpath_var=LD_LIBRARY_PATH
16679  ;;
16680
16681*)
16682  dynamic_linker=no
16683  ;;
16684esac
16685{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16686$as_echo "$dynamic_linker" >&6; }
16687test "$dynamic_linker" = no && can_build_shared=no
16688
16689if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16690  $as_echo_n "(cached) " >&6
16691else
16692  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
16693fi
16694
16695sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16696if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16697  $as_echo_n "(cached) " >&6
16698else
16699  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
16700fi
16701
16702sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16703
16704variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16705if test "$GCC" = yes; then
16706  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16707fi
16708
16709{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16710$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16711hardcode_action_F77=
16712if test -n "$hardcode_libdir_flag_spec_F77" || \
16713   test -n "$runpath_var_F77" || \
16714   test "X$hardcode_automatic_F77" = "Xyes" ; then
16715
16716  # We can hardcode non-existant directories.
16717  if test "$hardcode_direct_F77" != no &&
16718     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16719     # have to relink, otherwise we might link with an installed library
16720     # when we should be linking with a yet-to-be-installed one
16721     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16722     test "$hardcode_minus_L_F77" != no; then
16723    # Linking always hardcodes the temporary library directory.
16724    hardcode_action_F77=relink
16725  else
16726    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16727    hardcode_action_F77=immediate
16728  fi
16729else
16730  # We cannot hardcode anything, or else we can only hardcode existing
16731  # directories.
16732  hardcode_action_F77=unsupported
16733fi
16734{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16735$as_echo "$hardcode_action_F77" >&6; }
16736
16737if test "$hardcode_action_F77" = relink; then
16738  # Fast installation is not supported
16739  enable_fast_install=no
16740elif test "$shlibpath_overrides_runpath" = yes ||
16741     test "$enable_shared" = no; then
16742  # Fast installation is not necessary
16743  enable_fast_install=needless
16744fi
16745
16746
16747# The else clause should only fire when bootstrapping the
16748# libtool distribution, otherwise you forgot to ship ltmain.sh
16749# with your package, and you will get complaints that there are
16750# no rules to generate ltmain.sh.
16751if test -f "$ltmain"; then
16752  # See if we are running on zsh, and set the options which allow our commands through
16753  # without removal of \ escapes.
16754  if test -n "${ZSH_VERSION+set}" ; then
16755    setopt NO_GLOB_SUBST
16756  fi
16757  # Now quote all the things that may contain metacharacters while being
16758  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16759  # variables and quote the copies for generation of the libtool script.
16760  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16761    SED SHELL STRIP \
16762    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16763    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16764    deplibs_check_method reload_flag reload_cmds need_locks \
16765    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16766    lt_cv_sys_global_symbol_to_c_name_address \
16767    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16768    old_postinstall_cmds old_postuninstall_cmds \
16769    compiler_F77 \
16770    CC_F77 \
16771    LD_F77 \
16772    lt_prog_compiler_wl_F77 \
16773    lt_prog_compiler_pic_F77 \
16774    lt_prog_compiler_static_F77 \
16775    lt_prog_compiler_no_builtin_flag_F77 \
16776    export_dynamic_flag_spec_F77 \
16777    thread_safe_flag_spec_F77 \
16778    whole_archive_flag_spec_F77 \
16779    enable_shared_with_static_runtimes_F77 \
16780    old_archive_cmds_F77 \
16781    old_archive_from_new_cmds_F77 \
16782    predep_objects_F77 \
16783    postdep_objects_F77 \
16784    predeps_F77 \
16785    postdeps_F77 \
16786    compiler_lib_search_path_F77 \
16787    compiler_lib_search_dirs_F77 \
16788    archive_cmds_F77 \
16789    archive_expsym_cmds_F77 \
16790    postinstall_cmds_F77 \
16791    postuninstall_cmds_F77 \
16792    old_archive_from_expsyms_cmds_F77 \
16793    allow_undefined_flag_F77 \
16794    no_undefined_flag_F77 \
16795    export_symbols_cmds_F77 \
16796    hardcode_libdir_flag_spec_F77 \
16797    hardcode_libdir_flag_spec_ld_F77 \
16798    hardcode_libdir_separator_F77 \
16799    hardcode_automatic_F77 \
16800    module_cmds_F77 \
16801    module_expsym_cmds_F77 \
16802    lt_cv_prog_compiler_c_o_F77 \
16803    fix_srcfile_path_F77 \
16804    exclude_expsyms_F77 \
16805    include_expsyms_F77; do
16806
16807    case $var in
16808    old_archive_cmds_F77 | \
16809    old_archive_from_new_cmds_F77 | \
16810    archive_cmds_F77 | \
16811    archive_expsym_cmds_F77 | \
16812    module_cmds_F77 | \
16813    module_expsym_cmds_F77 | \
16814    old_archive_from_expsyms_cmds_F77 | \
16815    export_symbols_cmds_F77 | \
16816    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16817    postinstall_cmds | postuninstall_cmds | \
16818    old_postinstall_cmds | old_postuninstall_cmds | \
16819    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16820      # Double-quote double-evaled strings.
16821      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16822      ;;
16823    *)
16824      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16825      ;;
16826    esac
16827  done
16828
16829  case $lt_echo in
16830  *'\$0 --fallback-echo"')
16831    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16832    ;;
16833  esac
16834
16835cfgfile="$ofile"
16836
16837  cat <<__EOF__ >> "$cfgfile"
16838# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16839
16840# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16841
16842# Shell to use when invoking shell scripts.
16843SHELL=$lt_SHELL
16844
16845# Whether or not to build shared libraries.
16846build_libtool_libs=$enable_shared
16847
16848# Whether or not to build static libraries.
16849build_old_libs=$enable_static
16850
16851# Whether or not to add -lc for building shared libraries.
16852build_libtool_need_lc=$archive_cmds_need_lc_F77
16853
16854# Whether or not to disallow shared libs when runtime libs are static
16855allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16856
16857# Whether or not to optimize for fast installation.
16858fast_install=$enable_fast_install
16859
16860# The host system.
16861host_alias=$host_alias
16862host=$host
16863host_os=$host_os
16864
16865# The build system.
16866build_alias=$build_alias
16867build=$build
16868build_os=$build_os
16869
16870# An echo program that does not interpret backslashes.
16871echo=$lt_echo
16872
16873# The archiver.
16874AR=$lt_AR
16875AR_FLAGS=$lt_AR_FLAGS
16876
16877# A C compiler.
16878LTCC=$lt_LTCC
16879
16880# LTCC compiler flags.
16881LTCFLAGS=$lt_LTCFLAGS
16882
16883# A language-specific compiler.
16884CC=$lt_compiler_F77
16885
16886# Is the compiler the GNU C compiler?
16887with_gcc=$GCC_F77
16888
16889# An ERE matcher.
16890EGREP=$lt_EGREP
16891
16892# The linker used to build libraries.
16893LD=$lt_LD_F77
16894
16895# Whether we need hard or soft links.
16896LN_S=$lt_LN_S
16897
16898# A BSD-compatible nm program.
16899NM=$lt_NM
16900
16901# A symbol stripping program
16902STRIP=$lt_STRIP
16903
16904# Used to examine libraries when file_magic_cmd begins "file"
16905MAGIC_CMD=$MAGIC_CMD
16906
16907# Used on cygwin: DLL creation program.
16908DLLTOOL="$DLLTOOL"
16909
16910# Used on cygwin: object dumper.
16911OBJDUMP="$OBJDUMP"
16912
16913# Used on cygwin: assembler.
16914AS="$AS"
16915
16916# The name of the directory that contains temporary libtool files.
16917objdir=$objdir
16918
16919# How to create reloadable object files.
16920reload_flag=$lt_reload_flag
16921reload_cmds=$lt_reload_cmds
16922
16923# How to pass a linker flag through the compiler.
16924wl=$lt_lt_prog_compiler_wl_F77
16925
16926# Object file suffix (normally "o").
16927objext="$ac_objext"
16928
16929# Old archive suffix (normally "a").
16930libext="$libext"
16931
16932# Shared library suffix (normally ".so").
16933shrext_cmds='$shrext_cmds'
16934
16935# Executable file suffix (normally "").
16936exeext="$exeext"
16937
16938# Additional compiler flags for building library objects.
16939pic_flag=$lt_lt_prog_compiler_pic_F77
16940pic_mode=$pic_mode
16941
16942# What is the maximum length of a command?
16943max_cmd_len=$lt_cv_sys_max_cmd_len
16944
16945# Does compiler simultaneously support -c and -o options?
16946compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16947
16948# Must we lock files when doing compilation?
16949need_locks=$lt_need_locks
16950
16951# Do we need the lib prefix for modules?
16952need_lib_prefix=$need_lib_prefix
16953
16954# Do we need a version for libraries?
16955need_version=$need_version
16956
16957# Whether dlopen is supported.
16958dlopen_support=$enable_dlopen
16959
16960# Whether dlopen of programs is supported.
16961dlopen_self=$enable_dlopen_self
16962
16963# Whether dlopen of statically linked programs is supported.
16964dlopen_self_static=$enable_dlopen_self_static
16965
16966# Compiler flag to prevent dynamic linking.
16967link_static_flag=$lt_lt_prog_compiler_static_F77
16968
16969# Compiler flag to turn off builtin functions.
16970no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16971
16972# Compiler flag to allow reflexive dlopens.
16973export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16974
16975# Compiler flag to generate shared objects directly from archives.
16976whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16977
16978# Compiler flag to generate thread-safe objects.
16979thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16980
16981# Library versioning type.
16982version_type=$version_type
16983
16984# Format of library name prefix.
16985libname_spec=$lt_libname_spec
16986
16987# List of archive names.  First name is the real one, the rest are links.
16988# The last name is the one that the linker finds with -lNAME.
16989library_names_spec=$lt_library_names_spec
16990
16991# The coded name of the library, if different from the real name.
16992soname_spec=$lt_soname_spec
16993
16994# Commands used to build and install an old-style archive.
16995RANLIB=$lt_RANLIB
16996old_archive_cmds=$lt_old_archive_cmds_F77
16997old_postinstall_cmds=$lt_old_postinstall_cmds
16998old_postuninstall_cmds=$lt_old_postuninstall_cmds
16999
17000# Create an old-style archive from a shared archive.
17001old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17002
17003# Create a temporary old-style archive to link instead of a shared archive.
17004old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17005
17006# Commands used to build and install a shared archive.
17007archive_cmds=$lt_archive_cmds_F77
17008archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17009postinstall_cmds=$lt_postinstall_cmds
17010postuninstall_cmds=$lt_postuninstall_cmds
17011
17012# Commands used to build a loadable module (assumed same as above if empty)
17013module_cmds=$lt_module_cmds_F77
17014module_expsym_cmds=$lt_module_expsym_cmds_F77
17015
17016# Commands to strip libraries.
17017old_striplib=$lt_old_striplib
17018striplib=$lt_striplib
17019
17020# Dependencies to place before the objects being linked to create a
17021# shared library.
17022predep_objects=$lt_predep_objects_F77
17023
17024# Dependencies to place after the objects being linked to create a
17025# shared library.
17026postdep_objects=$lt_postdep_objects_F77
17027
17028# Dependencies to place before the objects being linked to create a
17029# shared library.
17030predeps=$lt_predeps_F77
17031
17032# Dependencies to place after the objects being linked to create a
17033# shared library.
17034postdeps=$lt_postdeps_F77
17035
17036# The directories searched by this compiler when creating a shared
17037# library
17038compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
17039
17040# The library search path used internally by the compiler when linking
17041# a shared library.
17042compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17043
17044# Method to check whether dependent libraries are shared objects.
17045deplibs_check_method=$lt_deplibs_check_method
17046
17047# Command to use when deplibs_check_method == file_magic.
17048file_magic_cmd=$lt_file_magic_cmd
17049
17050# Flag that allows shared libraries with undefined symbols to be built.
17051allow_undefined_flag=$lt_allow_undefined_flag_F77
17052
17053# Flag that forces no undefined symbols.
17054no_undefined_flag=$lt_no_undefined_flag_F77
17055
17056# Commands used to finish a libtool library installation in a directory.
17057finish_cmds=$lt_finish_cmds
17058
17059# Same as above, but a single script fragment to be evaled but not shown.
17060finish_eval=$lt_finish_eval
17061
17062# Take the output of nm and produce a listing of raw symbols and C names.
17063global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17064
17065# Transform the output of nm in a proper C declaration
17066global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17067
17068# Transform the output of nm in a C name address pair
17069global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17070
17071# This is the shared library runtime path variable.
17072runpath_var=$runpath_var
17073
17074# This is the shared library path variable.
17075shlibpath_var=$shlibpath_var
17076
17077# Is shlibpath searched before the hard-coded library search path?
17078shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17079
17080# How to hardcode a shared library path into an executable.
17081hardcode_action=$hardcode_action_F77
17082
17083# Whether we should hardcode library paths into libraries.
17084hardcode_into_libs=$hardcode_into_libs
17085
17086# Flag to hardcode \$libdir into a binary during linking.
17087# This must work even if \$libdir does not exist.
17088hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17089
17090# If ld is used when linking, flag to hardcode \$libdir into
17091# a binary during linking. This must work even if \$libdir does
17092# not exist.
17093hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17094
17095# Whether we need a single -rpath flag with a separated argument.
17096hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17097
17098# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17099# resulting binary.
17100hardcode_direct=$hardcode_direct_F77
17101
17102# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17103# resulting binary.
17104hardcode_minus_L=$hardcode_minus_L_F77
17105
17106# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17107# the resulting binary.
17108hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17109
17110# Set to yes if building a shared library automatically hardcodes DIR into the library
17111# and all subsequent libraries and executables linked against it.
17112hardcode_automatic=$hardcode_automatic_F77
17113
17114# Variables whose values should be saved in libtool wrapper scripts and
17115# restored at relink time.
17116variables_saved_for_relink="$variables_saved_for_relink"
17117
17118# Whether libtool must link a program against all its dependency libraries.
17119link_all_deplibs=$link_all_deplibs_F77
17120
17121# Compile-time system search path for libraries
17122sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17123
17124# Run-time system search path for libraries
17125sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17126
17127# Fix the shell variable \$srcfile for the compiler.
17128fix_srcfile_path=$lt_fix_srcfile_path
17129
17130# Set to yes if exported symbols are required.
17131always_export_symbols=$always_export_symbols_F77
17132
17133# The commands to list exported symbols.
17134export_symbols_cmds=$lt_export_symbols_cmds_F77
17135
17136# The commands to extract the exported symbol list from a shared archive.
17137extract_expsyms_cmds=$lt_extract_expsyms_cmds
17138
17139# Symbols that should not be listed in the preloaded symbols.
17140exclude_expsyms=$lt_exclude_expsyms_F77
17141
17142# Symbols that must always be exported.
17143include_expsyms=$lt_include_expsyms_F77
17144
17145# ### END LIBTOOL TAG CONFIG: $tagname
17146
17147__EOF__
17148
17149
17150else
17151  # If there is no Makefile yet, we rely on a make rule to execute
17152  # `config.status --recheck' to rerun these tests and create the
17153  # libtool script then.
17154  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17155  if test -f "$ltmain_in"; then
17156    test -f Makefile && make "$ltmain"
17157  fi
17158fi
17159
17160
17161ac_ext=c
17162ac_cpp='$CPP $CPPFLAGS'
17163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17165ac_compiler_gnu=$ac_cv_c_compiler_gnu
17166
17167CC="$lt_save_CC"
17168
17169	else
17170	  tagname=""
17171	fi
17172	;;
17173
17174      GCJ)
17175	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17176
17177
17178# Source file extension for Java test sources.
17179ac_ext=java
17180
17181# Object file extension for compiled Java test sources.
17182objext=o
17183objext_GCJ=$objext
17184
17185# Code to be used in simple compile tests
17186lt_simple_compile_test_code="class foo {}"
17187
17188# Code to be used in simple link tests
17189lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17190
17191# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17192
17193# If no C compiler was specified, use CC.
17194LTCC=${LTCC-"$CC"}
17195
17196# If no C compiler flags were specified, use CFLAGS.
17197LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17198
17199# Allow CC to be a program name with arguments.
17200compiler=$CC
17201
17202
17203# save warnings/boilerplate of simple test code
17204ac_outfile=conftest.$ac_objext
17205echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17206eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17207_lt_compiler_boilerplate=`cat conftest.err`
17208$rm conftest*
17209
17210ac_outfile=conftest.$ac_objext
17211echo "$lt_simple_link_test_code" >conftest.$ac_ext
17212eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17213_lt_linker_boilerplate=`cat conftest.err`
17214$rm -r conftest*
17215
17216
17217# Allow CC to be a program name with arguments.
17218lt_save_CC="$CC"
17219CC=${GCJ-"gcj"}
17220compiler=$CC
17221compiler_GCJ=$CC
17222for cc_temp in $compiler""; do
17223  case $cc_temp in
17224    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17225    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17226    \-*) ;;
17227    *) break;;
17228  esac
17229done
17230cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17231
17232
17233# GCJ did not exist at the time GCC didn't implicitly link libc in.
17234archive_cmds_need_lc_GCJ=no
17235
17236old_archive_cmds_GCJ=$old_archive_cmds
17237
17238
17239lt_prog_compiler_no_builtin_flag_GCJ=
17240
17241if test "$GCC" = yes; then
17242  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17243
17244
17245{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17246$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17247if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17248  $as_echo_n "(cached) " >&6
17249else
17250  lt_cv_prog_compiler_rtti_exceptions=no
17251  ac_outfile=conftest.$ac_objext
17252   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17253   lt_compiler_flag="-fno-rtti -fno-exceptions"
17254   # Insert the option either (1) after the last *FLAGS variable, or
17255   # (2) before a word containing "conftest.", or (3) at the end.
17256   # Note that $ac_compile itself does not contain backslashes and begins
17257   # with a dollar sign (not a hyphen), so the echo should work correctly.
17258   # The option is referenced via a variable to avoid confusing sed.
17259   lt_compile=`echo "$ac_compile" | $SED \
17260   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17261   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17262   -e 's:$: $lt_compiler_flag:'`
17263   (eval echo "\"\$as_me:17263: $lt_compile\"" >&5)
17264   (eval "$lt_compile" 2>conftest.err)
17265   ac_status=$?
17266   cat conftest.err >&5
17267   echo "$as_me:17267: \$? = $ac_status" >&5
17268   if (exit $ac_status) && test -s "$ac_outfile"; then
17269     # The compiler can only warn and ignore the option if not recognized
17270     # So say no if there are warnings other than the usual output.
17271     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17272     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17273     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17274       lt_cv_prog_compiler_rtti_exceptions=yes
17275     fi
17276   fi
17277   $rm conftest*
17278
17279fi
17280{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17281$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17282
17283if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17284    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17285else
17286    :
17287fi
17288
17289fi
17290
17291lt_prog_compiler_wl_GCJ=
17292lt_prog_compiler_pic_GCJ=
17293lt_prog_compiler_static_GCJ=
17294
17295{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17296$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17297
17298  if test "$GCC" = yes; then
17299    lt_prog_compiler_wl_GCJ='-Wl,'
17300    lt_prog_compiler_static_GCJ='-static'
17301
17302    case $host_os in
17303      aix*)
17304      # All AIX code is PIC.
17305      if test "$host_cpu" = ia64; then
17306	# AIX 5 now supports IA64 processor
17307	lt_prog_compiler_static_GCJ='-Bstatic'
17308      fi
17309      ;;
17310
17311    amigaos*)
17312      # FIXME: we need at least 68020 code to build shared libraries, but
17313      # adding the `-m68020' flag to GCC prevents building anything better,
17314      # like `-m68040'.
17315      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17316      ;;
17317
17318    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17319      # PIC is the default for these OSes.
17320      ;;
17321
17322    mingw* | cygwin* | pw32* | os2*)
17323      # This hack is so that the source file can tell whether it is being
17324      # built for inclusion in a dll (and should export symbols for example).
17325      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17326      # (--disable-auto-import) libraries
17327
17328      ;;
17329
17330    darwin* | rhapsody*)
17331      # PIC is the default on this platform
17332      # Common symbols not allowed in MH_DYLIB files
17333      lt_prog_compiler_pic_GCJ='-fno-common'
17334      ;;
17335
17336    interix[3-9]*)
17337      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17338      # Instead, we relocate shared libraries at runtime.
17339      ;;
17340
17341    msdosdjgpp*)
17342      # Just because we use GCC doesn't mean we suddenly get shared libraries
17343      # on systems that don't support them.
17344      lt_prog_compiler_can_build_shared_GCJ=no
17345      enable_shared=no
17346      ;;
17347
17348    sysv4*MP*)
17349      if test -d /usr/nec; then
17350	lt_prog_compiler_pic_GCJ=-Kconform_pic
17351      fi
17352      ;;
17353
17354    hpux*)
17355      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17356      # not for PA HP-UX.
17357      case $host_cpu in
17358      hppa*64*|ia64*)
17359	# +Z the default
17360	;;
17361      *)
17362	lt_prog_compiler_pic_GCJ='-fPIC'
17363	;;
17364      esac
17365      ;;
17366
17367    *)
17368      lt_prog_compiler_pic_GCJ='-fPIC'
17369      ;;
17370    esac
17371  else
17372    # PORTME Check for flag to pass linker flags through the system compiler.
17373    case $host_os in
17374    aix*)
17375      lt_prog_compiler_wl_GCJ='-Wl,'
17376      if test "$host_cpu" = ia64; then
17377	# AIX 5 now supports IA64 processor
17378	lt_prog_compiler_static_GCJ='-Bstatic'
17379      else
17380	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17381      fi
17382      ;;
17383      darwin*)
17384        # PIC is the default on this platform
17385        # Common symbols not allowed in MH_DYLIB files
17386       case $cc_basename in
17387         xlc*)
17388         lt_prog_compiler_pic_GCJ='-qnocommon'
17389         lt_prog_compiler_wl_GCJ='-Wl,'
17390         ;;
17391       esac
17392       ;;
17393
17394    mingw* | cygwin* | pw32* | os2*)
17395      # This hack is so that the source file can tell whether it is being
17396      # built for inclusion in a dll (and should export symbols for example).
17397
17398      ;;
17399
17400    hpux9* | hpux10* | hpux11*)
17401      lt_prog_compiler_wl_GCJ='-Wl,'
17402      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17403      # not for PA HP-UX.
17404      case $host_cpu in
17405      hppa*64*|ia64*)
17406	# +Z the default
17407	;;
17408      *)
17409	lt_prog_compiler_pic_GCJ='+Z'
17410	;;
17411      esac
17412      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17413      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17414      ;;
17415
17416    irix5* | irix6* | nonstopux*)
17417      lt_prog_compiler_wl_GCJ='-Wl,'
17418      # PIC (with -KPIC) is the default.
17419      lt_prog_compiler_static_GCJ='-non_shared'
17420      ;;
17421
17422    newsos6)
17423      lt_prog_compiler_pic_GCJ='-KPIC'
17424      lt_prog_compiler_static_GCJ='-Bstatic'
17425      ;;
17426
17427    linux* | k*bsd*-gnu)
17428      case $cc_basename in
17429      icc* | ecc*)
17430	lt_prog_compiler_wl_GCJ='-Wl,'
17431	lt_prog_compiler_pic_GCJ='-KPIC'
17432	lt_prog_compiler_static_GCJ='-static'
17433        ;;
17434      pgcc* | pgf77* | pgf90* | pgf95*)
17435        # Portland Group compilers (*not* the Pentium gcc compiler,
17436	# which looks to be a dead project)
17437	lt_prog_compiler_wl_GCJ='-Wl,'
17438	lt_prog_compiler_pic_GCJ='-fpic'
17439	lt_prog_compiler_static_GCJ='-Bstatic'
17440        ;;
17441      ccc*)
17442        lt_prog_compiler_wl_GCJ='-Wl,'
17443        # All Alpha code is PIC.
17444        lt_prog_compiler_static_GCJ='-non_shared'
17445        ;;
17446      *)
17447        case `$CC -V 2>&1 | sed 5q` in
17448	*Sun\ C*)
17449	  # Sun C 5.9
17450	  lt_prog_compiler_pic_GCJ='-KPIC'
17451	  lt_prog_compiler_static_GCJ='-Bstatic'
17452	  lt_prog_compiler_wl_GCJ='-Wl,'
17453	  ;;
17454	*Sun\ F*)
17455	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
17456	  lt_prog_compiler_pic_GCJ='-KPIC'
17457	  lt_prog_compiler_static_GCJ='-Bstatic'
17458	  lt_prog_compiler_wl_GCJ=''
17459	  ;;
17460	esac
17461	;;
17462      esac
17463      ;;
17464
17465    osf3* | osf4* | osf5*)
17466      lt_prog_compiler_wl_GCJ='-Wl,'
17467      # All OSF/1 code is PIC.
17468      lt_prog_compiler_static_GCJ='-non_shared'
17469      ;;
17470
17471    rdos*)
17472      lt_prog_compiler_static_GCJ='-non_shared'
17473      ;;
17474
17475    solaris*)
17476      lt_prog_compiler_pic_GCJ='-KPIC'
17477      lt_prog_compiler_static_GCJ='-Bstatic'
17478      case $cc_basename in
17479      f77* | f90* | f95*)
17480	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17481      *)
17482	lt_prog_compiler_wl_GCJ='-Wl,';;
17483      esac
17484      ;;
17485
17486    sunos4*)
17487      lt_prog_compiler_wl_GCJ='-Qoption ld '
17488      lt_prog_compiler_pic_GCJ='-PIC'
17489      lt_prog_compiler_static_GCJ='-Bstatic'
17490      ;;
17491
17492    sysv4 | sysv4.2uw2* | sysv4.3*)
17493      lt_prog_compiler_wl_GCJ='-Wl,'
17494      lt_prog_compiler_pic_GCJ='-KPIC'
17495      lt_prog_compiler_static_GCJ='-Bstatic'
17496      ;;
17497
17498    sysv4*MP*)
17499      if test -d /usr/nec ;then
17500	lt_prog_compiler_pic_GCJ='-Kconform_pic'
17501	lt_prog_compiler_static_GCJ='-Bstatic'
17502      fi
17503      ;;
17504
17505    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17506      lt_prog_compiler_wl_GCJ='-Wl,'
17507      lt_prog_compiler_pic_GCJ='-KPIC'
17508      lt_prog_compiler_static_GCJ='-Bstatic'
17509      ;;
17510
17511    unicos*)
17512      lt_prog_compiler_wl_GCJ='-Wl,'
17513      lt_prog_compiler_can_build_shared_GCJ=no
17514      ;;
17515
17516    uts4*)
17517      lt_prog_compiler_pic_GCJ='-pic'
17518      lt_prog_compiler_static_GCJ='-Bstatic'
17519      ;;
17520
17521    *)
17522      lt_prog_compiler_can_build_shared_GCJ=no
17523      ;;
17524    esac
17525  fi
17526
17527{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17528$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17529
17530#
17531# Check to make sure the PIC flag actually works.
17532#
17533if test -n "$lt_prog_compiler_pic_GCJ"; then
17534
17535{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17536$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17537if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17538  $as_echo_n "(cached) " >&6
17539else
17540  lt_cv_prog_compiler_pic_works_GCJ=no
17541  ac_outfile=conftest.$ac_objext
17542   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17543   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17544   # Insert the option either (1) after the last *FLAGS variable, or
17545   # (2) before a word containing "conftest.", or (3) at the end.
17546   # Note that $ac_compile itself does not contain backslashes and begins
17547   # with a dollar sign (not a hyphen), so the echo should work correctly.
17548   # The option is referenced via a variable to avoid confusing sed.
17549   lt_compile=`echo "$ac_compile" | $SED \
17550   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17551   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17552   -e 's:$: $lt_compiler_flag:'`
17553   (eval echo "\"\$as_me:17553: $lt_compile\"" >&5)
17554   (eval "$lt_compile" 2>conftest.err)
17555   ac_status=$?
17556   cat conftest.err >&5
17557   echo "$as_me:17557: \$? = $ac_status" >&5
17558   if (exit $ac_status) && test -s "$ac_outfile"; then
17559     # The compiler can only warn and ignore the option if not recognized
17560     # So say no if there are warnings other than the usual output.
17561     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17562     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17563     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17564       lt_cv_prog_compiler_pic_works_GCJ=yes
17565     fi
17566   fi
17567   $rm conftest*
17568
17569fi
17570{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17571$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17572
17573if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17574    case $lt_prog_compiler_pic_GCJ in
17575     "" | " "*) ;;
17576     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17577     esac
17578else
17579    lt_prog_compiler_pic_GCJ=
17580     lt_prog_compiler_can_build_shared_GCJ=no
17581fi
17582
17583fi
17584case $host_os in
17585  # For platforms which do not support PIC, -DPIC is meaningless:
17586  *djgpp*)
17587    lt_prog_compiler_pic_GCJ=
17588    ;;
17589  *)
17590    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17591    ;;
17592esac
17593
17594#
17595# Check to make sure the static flag actually works.
17596#
17597wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17598{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17599$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17600if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17601  $as_echo_n "(cached) " >&6
17602else
17603  lt_cv_prog_compiler_static_works_GCJ=no
17604   save_LDFLAGS="$LDFLAGS"
17605   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17606   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17607   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17608     # The linker can only warn and ignore the option if not recognized
17609     # So say no if there are warnings
17610     if test -s conftest.err; then
17611       # Append any errors to the config.log.
17612       cat conftest.err 1>&5
17613       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17614       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17615       if diff conftest.exp conftest.er2 >/dev/null; then
17616         lt_cv_prog_compiler_static_works_GCJ=yes
17617       fi
17618     else
17619       lt_cv_prog_compiler_static_works_GCJ=yes
17620     fi
17621   fi
17622   $rm -r conftest*
17623   LDFLAGS="$save_LDFLAGS"
17624
17625fi
17626{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17627$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17628
17629if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17630    :
17631else
17632    lt_prog_compiler_static_GCJ=
17633fi
17634
17635
17636{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17637$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17638if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17639  $as_echo_n "(cached) " >&6
17640else
17641  lt_cv_prog_compiler_c_o_GCJ=no
17642   $rm -r conftest 2>/dev/null
17643   mkdir conftest
17644   cd conftest
17645   mkdir out
17646   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17647
17648   lt_compiler_flag="-o out/conftest2.$ac_objext"
17649   # Insert the option either (1) after the last *FLAGS variable, or
17650   # (2) before a word containing "conftest.", or (3) at the end.
17651   # Note that $ac_compile itself does not contain backslashes and begins
17652   # with a dollar sign (not a hyphen), so the echo should work correctly.
17653   lt_compile=`echo "$ac_compile" | $SED \
17654   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17655   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17656   -e 's:$: $lt_compiler_flag:'`
17657   (eval echo "\"\$as_me:17657: $lt_compile\"" >&5)
17658   (eval "$lt_compile" 2>out/conftest.err)
17659   ac_status=$?
17660   cat out/conftest.err >&5
17661   echo "$as_me:17661: \$? = $ac_status" >&5
17662   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17663   then
17664     # The compiler can only warn and ignore the option if not recognized
17665     # So say no if there are warnings
17666     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17667     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17668     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17669       lt_cv_prog_compiler_c_o_GCJ=yes
17670     fi
17671   fi
17672   chmod u+w . 2>&5
17673   $rm conftest*
17674   # SGI C++ compiler will create directory out/ii_files/ for
17675   # template instantiation
17676   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17677   $rm out/* && rmdir out
17678   cd ..
17679   rmdir conftest
17680   $rm conftest*
17681
17682fi
17683{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17684$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17685
17686
17687hard_links="nottested"
17688if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17689  # do not overwrite the value of need_locks provided by the user
17690  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17691$as_echo_n "checking if we can lock with hard links... " >&6; }
17692  hard_links=yes
17693  $rm conftest*
17694  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17695  touch conftest.a
17696  ln conftest.a conftest.b 2>&5 || hard_links=no
17697  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17698  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
17699$as_echo "$hard_links" >&6; }
17700  if test "$hard_links" = no; then
17701    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17702$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17703    need_locks=warn
17704  fi
17705else
17706  need_locks=no
17707fi
17708
17709{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17710$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17711
17712  runpath_var=
17713  allow_undefined_flag_GCJ=
17714  enable_shared_with_static_runtimes_GCJ=no
17715  archive_cmds_GCJ=
17716  archive_expsym_cmds_GCJ=
17717  old_archive_From_new_cmds_GCJ=
17718  old_archive_from_expsyms_cmds_GCJ=
17719  export_dynamic_flag_spec_GCJ=
17720  whole_archive_flag_spec_GCJ=
17721  thread_safe_flag_spec_GCJ=
17722  hardcode_libdir_flag_spec_GCJ=
17723  hardcode_libdir_flag_spec_ld_GCJ=
17724  hardcode_libdir_separator_GCJ=
17725  hardcode_direct_GCJ=no
17726  hardcode_minus_L_GCJ=no
17727  hardcode_shlibpath_var_GCJ=unsupported
17728  link_all_deplibs_GCJ=unknown
17729  hardcode_automatic_GCJ=no
17730  module_cmds_GCJ=
17731  module_expsym_cmds_GCJ=
17732  always_export_symbols_GCJ=no
17733  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17734  # include_expsyms should be a list of space-separated symbols to be *always*
17735  # included in the symbol list
17736  include_expsyms_GCJ=
17737  # exclude_expsyms can be an extended regexp of symbols to exclude
17738  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17739  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17740  # as well as any symbol that contains `d'.
17741  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17742  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17743  # platforms (ab)use it in PIC code, but their linkers get confused if
17744  # the symbol is explicitly referenced.  Since portable code cannot
17745  # rely on this symbol name, it's probably fine to never include it in
17746  # preloaded symbol tables.
17747  # Exclude shared library initialization/finalization symbols.
17748  extract_expsyms_cmds=
17749  # Just being paranoid about ensuring that cc_basename is set.
17750  for cc_temp in $compiler""; do
17751  case $cc_temp in
17752    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17753    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17754    \-*) ;;
17755    *) break;;
17756  esac
17757done
17758cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17759
17760  case $host_os in
17761  cygwin* | mingw* | pw32*)
17762    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17763    # When not using gcc, we currently assume that we are using
17764    # Microsoft Visual C++.
17765    if test "$GCC" != yes; then
17766      with_gnu_ld=no
17767    fi
17768    ;;
17769  interix*)
17770    # we just hope/assume this is gcc and not c89 (= MSVC++)
17771    with_gnu_ld=yes
17772    ;;
17773  openbsd*)
17774    with_gnu_ld=no
17775    ;;
17776  esac
17777
17778  ld_shlibs_GCJ=yes
17779  if test "$with_gnu_ld" = yes; then
17780    # If archive_cmds runs LD, not CC, wlarc should be empty
17781    wlarc='${wl}'
17782
17783    # Set some defaults for GNU ld with shared library support. These
17784    # are reset later if shared libraries are not supported. Putting them
17785    # here allows them to be overridden if necessary.
17786    runpath_var=LD_RUN_PATH
17787    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17788    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17789    # ancient GNU ld didn't support --whole-archive et. al.
17790    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17791	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17792      else
17793  	whole_archive_flag_spec_GCJ=
17794    fi
17795    supports_anon_versioning=no
17796    case `$LD -v 2>/dev/null` in
17797      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17798      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17799      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17800      *\ 2.11.*) ;; # other 2.11 versions
17801      *) supports_anon_versioning=yes ;;
17802    esac
17803
17804    # See if GNU ld supports shared libraries.
17805    case $host_os in
17806    aix[3-9]*)
17807      # On AIX/PPC, the GNU linker is very broken
17808      if test "$host_cpu" != ia64; then
17809	ld_shlibs_GCJ=no
17810	cat <<EOF 1>&2
17811
17812*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17813*** to be unable to reliably create shared libraries on AIX.
17814*** Therefore, libtool is disabling shared libraries support.  If you
17815*** really care for shared libraries, you may want to modify your PATH
17816*** so that a non-GNU linker is found, and then restart.
17817
17818EOF
17819      fi
17820      ;;
17821
17822    amigaos*)
17823      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17824      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17825      hardcode_minus_L_GCJ=yes
17826
17827      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17828      # that the semantics of dynamic libraries on AmigaOS, at least up
17829      # to version 4, is to share data among multiple programs linked
17830      # with the same dynamic library.  Since this doesn't match the
17831      # behavior of shared libraries on other platforms, we can't use
17832      # them.
17833      ld_shlibs_GCJ=no
17834      ;;
17835
17836    beos*)
17837      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17838	allow_undefined_flag_GCJ=unsupported
17839	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17840	# support --undefined.  This deserves some investigation.  FIXME
17841	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17842      else
17843	ld_shlibs_GCJ=no
17844      fi
17845      ;;
17846
17847    cygwin* | mingw* | pw32*)
17848      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17849      # as there is no search path for DLLs.
17850      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17851      allow_undefined_flag_GCJ=unsupported
17852      always_export_symbols_GCJ=no
17853      enable_shared_with_static_runtimes_GCJ=yes
17854      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17855
17856      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17857        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17858	# If the export-symbols file already is a .def file (1st line
17859	# is EXPORTS), use it as is; otherwise, prepend...
17860	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17861	  cp $export_symbols $output_objdir/$soname.def;
17862	else
17863	  echo EXPORTS > $output_objdir/$soname.def;
17864	  cat $export_symbols >> $output_objdir/$soname.def;
17865	fi~
17866	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17867      else
17868	ld_shlibs_GCJ=no
17869      fi
17870      ;;
17871
17872    interix[3-9]*)
17873      hardcode_direct_GCJ=no
17874      hardcode_shlibpath_var_GCJ=no
17875      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17876      export_dynamic_flag_spec_GCJ='${wl}-E'
17877      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17878      # Instead, shared libraries are loaded at an image base (0x10000000 by
17879      # default) and relocated if they conflict, which is a slow very memory
17880      # consuming and fragmenting process.  To avoid this, we pick a random,
17881      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17882      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17883      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17884      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17885      ;;
17886
17887    gnu* | linux* | k*bsd*-gnu)
17888      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17889	tmp_addflag=
17890	case $cc_basename,$host_cpu in
17891	pgcc*)				# Portland Group C compiler
17892	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17893	  tmp_addflag=' $pic_flag'
17894	  ;;
17895	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
17896	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17897	  tmp_addflag=' $pic_flag -Mnomain' ;;
17898	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
17899	  tmp_addflag=' -i_dynamic' ;;
17900	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
17901	  tmp_addflag=' -i_dynamic -nofor_main' ;;
17902	ifc* | ifort*)			# Intel Fortran compiler
17903	  tmp_addflag=' -nofor_main' ;;
17904	esac
17905	case `$CC -V 2>&1 | sed 5q` in
17906	*Sun\ C*)			# Sun C 5.9
17907	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17908	  tmp_sharedflag='-G' ;;
17909	*Sun\ F*)			# Sun Fortran 8.3
17910	  tmp_sharedflag='-G' ;;
17911	*)
17912	  tmp_sharedflag='-shared' ;;
17913	esac
17914	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17915
17916	if test $supports_anon_versioning = yes; then
17917	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17918  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17919  $echo "local: *; };" >> $output_objdir/$libname.ver~
17920	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17921	fi
17922      else
17923	ld_shlibs_GCJ=no
17924      fi
17925      ;;
17926
17927    netbsd*)
17928      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17929	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17930	wlarc=
17931      else
17932	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17933	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17934      fi
17935      ;;
17936
17937    solaris*)
17938      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17939	ld_shlibs_GCJ=no
17940	cat <<EOF 1>&2
17941
17942*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17943*** create shared libraries on Solaris systems.  Therefore, libtool
17944*** is disabling shared libraries support.  We urge you to upgrade GNU
17945*** binutils to release 2.9.1 or newer.  Another option is to modify
17946*** your PATH or compiler configuration so that the native linker is
17947*** used, and then restart.
17948
17949EOF
17950      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17951	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17952	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17953      else
17954	ld_shlibs_GCJ=no
17955      fi
17956      ;;
17957
17958    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17959      case `$LD -v 2>&1` in
17960        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17961	ld_shlibs_GCJ=no
17962	cat <<_LT_EOF 1>&2
17963
17964*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17965*** reliably create shared libraries on SCO systems.  Therefore, libtool
17966*** is disabling shared libraries support.  We urge you to upgrade GNU
17967*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17968*** your PATH or compiler configuration so that the native linker is
17969*** used, and then restart.
17970
17971_LT_EOF
17972	;;
17973	*)
17974	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17975	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17976	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17977	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17978	  else
17979	    ld_shlibs_GCJ=no
17980	  fi
17981	;;
17982      esac
17983      ;;
17984
17985    sunos4*)
17986      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17987      wlarc=
17988      hardcode_direct_GCJ=yes
17989      hardcode_shlibpath_var_GCJ=no
17990      ;;
17991
17992    *)
17993      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17994	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17995	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17996      else
17997	ld_shlibs_GCJ=no
17998      fi
17999      ;;
18000    esac
18001
18002    if test "$ld_shlibs_GCJ" = no; then
18003      runpath_var=
18004      hardcode_libdir_flag_spec_GCJ=
18005      export_dynamic_flag_spec_GCJ=
18006      whole_archive_flag_spec_GCJ=
18007    fi
18008  else
18009    # PORTME fill in a description of your system's linker (not GNU ld)
18010    case $host_os in
18011    aix3*)
18012      allow_undefined_flag_GCJ=unsupported
18013      always_export_symbols_GCJ=yes
18014      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
18015      # Note: this linker hardcodes the directories in LIBPATH if there
18016      # are no directories specified by -L.
18017      hardcode_minus_L_GCJ=yes
18018      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18019	# Neither direct hardcoding nor static linking is supported with a
18020	# broken collect2.
18021	hardcode_direct_GCJ=unsupported
18022      fi
18023      ;;
18024
18025    aix[4-9]*)
18026      if test "$host_cpu" = ia64; then
18027	# On IA64, the linker does run time linking by default, so we don't
18028	# have to do anything special.
18029	aix_use_runtimelinking=no
18030	exp_sym_flag='-Bexport'
18031	no_entry_flag=""
18032      else
18033	# If we're using GNU nm, then we don't want the "-C" option.
18034	# -C means demangle to AIX nm, but means don't demangle with GNU nm
18035	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18036	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18037	else
18038	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18039	fi
18040	aix_use_runtimelinking=no
18041
18042	# Test if we are trying to use run time linking or normal
18043	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
18044	# need to do runtime linking.
18045	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18046	  for ld_flag in $LDFLAGS; do
18047  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18048  	    aix_use_runtimelinking=yes
18049  	    break
18050  	  fi
18051	  done
18052	  ;;
18053	esac
18054
18055	exp_sym_flag='-bexport'
18056	no_entry_flag='-bnoentry'
18057      fi
18058
18059      # When large executables or shared objects are built, AIX ld can
18060      # have problems creating the table of contents.  If linking a library
18061      # or program results in "error TOC overflow" add -mminimal-toc to
18062      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18063      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18064
18065      archive_cmds_GCJ=''
18066      hardcode_direct_GCJ=yes
18067      hardcode_libdir_separator_GCJ=':'
18068      link_all_deplibs_GCJ=yes
18069
18070      if test "$GCC" = yes; then
18071	case $host_os in aix4.[012]|aix4.[012].*)
18072	# We only want to do this on AIX 4.2 and lower, the check
18073	# below for broken collect2 doesn't work under 4.3+
18074	  collect2name=`${CC} -print-prog-name=collect2`
18075	  if test -f "$collect2name" && \
18076  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
18077	  then
18078  	  # We have reworked collect2
18079  	  :
18080	  else
18081  	  # We have old collect2
18082  	  hardcode_direct_GCJ=unsupported
18083  	  # It fails to find uninstalled libraries when the uninstalled
18084  	  # path is not listed in the libpath.  Setting hardcode_minus_L
18085  	  # to unsupported forces relinking
18086  	  hardcode_minus_L_GCJ=yes
18087  	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
18088  	  hardcode_libdir_separator_GCJ=
18089	  fi
18090	  ;;
18091	esac
18092	shared_flag='-shared'
18093	if test "$aix_use_runtimelinking" = yes; then
18094	  shared_flag="$shared_flag "'${wl}-G'
18095	fi
18096      else
18097	# not using gcc
18098	if test "$host_cpu" = ia64; then
18099  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18100  	# chokes on -Wl,-G. The following line is correct:
18101	  shared_flag='-G'
18102	else
18103	  if test "$aix_use_runtimelinking" = yes; then
18104	    shared_flag='${wl}-G'
18105	  else
18106	    shared_flag='${wl}-bM:SRE'
18107	  fi
18108	fi
18109      fi
18110
18111      # It seems that -bexpall does not export symbols beginning with
18112      # underscore (_), so it is better to generate a list of symbols to export.
18113      always_export_symbols_GCJ=yes
18114      if test "$aix_use_runtimelinking" = yes; then
18115	# Warning - without using the other runtime loading flags (-brtl),
18116	# -berok will link without error, but may produce a broken library.
18117	allow_undefined_flag_GCJ='-berok'
18118       # Determine the default libpath from the value encoded in an empty executable.
18119       cat >conftest.$ac_ext <<_ACEOF
18120/* confdefs.h.  */
18121_ACEOF
18122cat confdefs.h >>conftest.$ac_ext
18123cat >>conftest.$ac_ext <<_ACEOF
18124/* end confdefs.h.  */
18125
18126int
18127main ()
18128{
18129
18130  ;
18131  return 0;
18132}
18133_ACEOF
18134rm -f conftest.$ac_objext conftest$ac_exeext
18135if { (ac_try="$ac_link"
18136case "(($ac_try" in
18137  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18138  *) ac_try_echo=$ac_try;;
18139esac
18140eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18141$as_echo "$ac_try_echo") >&5
18142  (eval "$ac_link") 2>conftest.er1
18143  ac_status=$?
18144  grep -v '^ *+' conftest.er1 >conftest.err
18145  rm -f conftest.er1
18146  cat conftest.err >&5
18147  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148  (exit $ac_status); } && {
18149	 test -z "$ac_c_werror_flag" ||
18150	 test ! -s conftest.err
18151       } && test -s conftest$ac_exeext && {
18152	 test "$cross_compiling" = yes ||
18153	 $as_test_x conftest$ac_exeext
18154       }; then
18155
18156lt_aix_libpath_sed='
18157    /Import File Strings/,/^$/ {
18158	/^0/ {
18159	    s/^0  *\(.*\)$/\1/
18160	    p
18161	}
18162    }'
18163aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18164# Check for a 64-bit object if we didn't find anything.
18165if test -z "$aix_libpath"; then
18166  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18167fi
18168else
18169  $as_echo "$as_me: failed program was:" >&5
18170sed 's/^/| /' conftest.$ac_ext >&5
18171
18172
18173fi
18174
18175rm -rf conftest.dSYM
18176rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18177      conftest$ac_exeext conftest.$ac_ext
18178if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18179
18180       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18181	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18182       else
18183	if test "$host_cpu" = ia64; then
18184	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18185	  allow_undefined_flag_GCJ="-z nodefs"
18186	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
18187	else
18188	 # Determine the default libpath from the value encoded in an empty executable.
18189	 cat >conftest.$ac_ext <<_ACEOF
18190/* confdefs.h.  */
18191_ACEOF
18192cat confdefs.h >>conftest.$ac_ext
18193cat >>conftest.$ac_ext <<_ACEOF
18194/* end confdefs.h.  */
18195
18196int
18197main ()
18198{
18199
18200  ;
18201  return 0;
18202}
18203_ACEOF
18204rm -f conftest.$ac_objext conftest$ac_exeext
18205if { (ac_try="$ac_link"
18206case "(($ac_try" in
18207  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18208  *) ac_try_echo=$ac_try;;
18209esac
18210eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18211$as_echo "$ac_try_echo") >&5
18212  (eval "$ac_link") 2>conftest.er1
18213  ac_status=$?
18214  grep -v '^ *+' conftest.er1 >conftest.err
18215  rm -f conftest.er1
18216  cat conftest.err >&5
18217  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218  (exit $ac_status); } && {
18219	 test -z "$ac_c_werror_flag" ||
18220	 test ! -s conftest.err
18221       } && test -s conftest$ac_exeext && {
18222	 test "$cross_compiling" = yes ||
18223	 $as_test_x conftest$ac_exeext
18224       }; then
18225
18226lt_aix_libpath_sed='
18227    /Import File Strings/,/^$/ {
18228	/^0/ {
18229	    s/^0  *\(.*\)$/\1/
18230	    p
18231	}
18232    }'
18233aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18234# Check for a 64-bit object if we didn't find anything.
18235if test -z "$aix_libpath"; then
18236  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18237fi
18238else
18239  $as_echo "$as_me: failed program was:" >&5
18240sed 's/^/| /' conftest.$ac_ext >&5
18241
18242
18243fi
18244
18245rm -rf conftest.dSYM
18246rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18247      conftest$ac_exeext conftest.$ac_ext
18248if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18249
18250	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18251	  # Warning - without using the other run time loading flags,
18252	  # -berok will link without error, but may produce a broken library.
18253	  no_undefined_flag_GCJ=' ${wl}-bernotok'
18254	  allow_undefined_flag_GCJ=' ${wl}-berok'
18255	  # Exported symbols can be pulled into shared objects from archives
18256	  whole_archive_flag_spec_GCJ='$convenience'
18257	  archive_cmds_need_lc_GCJ=yes
18258	  # This is similar to how AIX traditionally builds its shared libraries.
18259	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18260	fi
18261      fi
18262      ;;
18263
18264    amigaos*)
18265      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18266      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18267      hardcode_minus_L_GCJ=yes
18268      # see comment about different semantics on the GNU ld section
18269      ld_shlibs_GCJ=no
18270      ;;
18271
18272    bsdi[45]*)
18273      export_dynamic_flag_spec_GCJ=-rdynamic
18274      ;;
18275
18276    cygwin* | mingw* | pw32*)
18277      # When not using gcc, we currently assume that we are using
18278      # Microsoft Visual C++.
18279      # hardcode_libdir_flag_spec is actually meaningless, as there is
18280      # no search path for DLLs.
18281      hardcode_libdir_flag_spec_GCJ=' '
18282      allow_undefined_flag_GCJ=unsupported
18283      # Tell ltmain to make .lib files, not .a files.
18284      libext=lib
18285      # Tell ltmain to make .dll files, not .so files.
18286      shrext_cmds=".dll"
18287      # FIXME: Setting linknames here is a bad hack.
18288      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18289      # The linker will automatically build a .lib file if we build a DLL.
18290      old_archive_From_new_cmds_GCJ='true'
18291      # FIXME: Should let the user specify the lib program.
18292      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18293      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18294      enable_shared_with_static_runtimes_GCJ=yes
18295      ;;
18296
18297    darwin* | rhapsody*)
18298      case $host_os in
18299        rhapsody* | darwin1.[012])
18300         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18301         ;;
18302       *) # Darwin 1.3 on
18303         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18304           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18305         else
18306           case ${MACOSX_DEPLOYMENT_TARGET} in
18307             10.[012])
18308               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18309               ;;
18310             10.*)
18311               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18312               ;;
18313           esac
18314         fi
18315         ;;
18316      esac
18317      archive_cmds_need_lc_GCJ=no
18318      hardcode_direct_GCJ=no
18319      hardcode_automatic_GCJ=yes
18320      hardcode_shlibpath_var_GCJ=unsupported
18321      whole_archive_flag_spec_GCJ=''
18322      link_all_deplibs_GCJ=yes
18323    if test "$GCC" = yes ; then
18324    	output_verbose_link_cmd='echo'
18325        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18326        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18327        archive_expsym_cmds_GCJ="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}"
18328        module_expsym_cmds_GCJ="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}"
18329    else
18330      case $cc_basename in
18331        xlc*)
18332         output_verbose_link_cmd='echo'
18333         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18334         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18335          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18336         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18337          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18338          ;;
18339       *)
18340         ld_shlibs_GCJ=no
18341          ;;
18342      esac
18343    fi
18344      ;;
18345
18346    dgux*)
18347      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18348      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18349      hardcode_shlibpath_var_GCJ=no
18350      ;;
18351
18352    freebsd1*)
18353      ld_shlibs_GCJ=no
18354      ;;
18355
18356    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18357    # support.  Future versions do this automatically, but an explicit c++rt0.o
18358    # does not break anything, and helps significantly (at the cost of a little
18359    # extra space).
18360    freebsd2.2*)
18361      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18362      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18363      hardcode_direct_GCJ=yes
18364      hardcode_shlibpath_var_GCJ=no
18365      ;;
18366
18367    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18368    freebsd2*)
18369      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18370      hardcode_direct_GCJ=yes
18371      hardcode_minus_L_GCJ=yes
18372      hardcode_shlibpath_var_GCJ=no
18373      ;;
18374
18375    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18376    freebsd* | dragonfly*)
18377      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18378      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18379      hardcode_direct_GCJ=yes
18380      hardcode_shlibpath_var_GCJ=no
18381      ;;
18382
18383    hpux9*)
18384      if test "$GCC" = yes; then
18385	archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18386      else
18387	archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18388      fi
18389      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18390      hardcode_libdir_separator_GCJ=:
18391      hardcode_direct_GCJ=yes
18392
18393      # hardcode_minus_L: Not really in the search PATH,
18394      # but as the default location of the library.
18395      hardcode_minus_L_GCJ=yes
18396      export_dynamic_flag_spec_GCJ='${wl}-E'
18397      ;;
18398
18399    hpux10*)
18400      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18401	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18402      else
18403	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18404      fi
18405      if test "$with_gnu_ld" = no; then
18406	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18407	hardcode_libdir_separator_GCJ=:
18408
18409	hardcode_direct_GCJ=yes
18410	export_dynamic_flag_spec_GCJ='${wl}-E'
18411
18412	# hardcode_minus_L: Not really in the search PATH,
18413	# but as the default location of the library.
18414	hardcode_minus_L_GCJ=yes
18415      fi
18416      ;;
18417
18418    hpux11*)
18419      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18420	case $host_cpu in
18421	hppa*64*)
18422	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18423	  ;;
18424	ia64*)
18425	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18426	  ;;
18427	*)
18428	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18429	  ;;
18430	esac
18431      else
18432	case $host_cpu in
18433	hppa*64*)
18434	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18435	  ;;
18436	ia64*)
18437	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18438	  ;;
18439	*)
18440	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18441	  ;;
18442	esac
18443      fi
18444      if test "$with_gnu_ld" = no; then
18445	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18446	hardcode_libdir_separator_GCJ=:
18447
18448	case $host_cpu in
18449	hppa*64*|ia64*)
18450	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18451	  hardcode_direct_GCJ=no
18452	  hardcode_shlibpath_var_GCJ=no
18453	  ;;
18454	*)
18455	  hardcode_direct_GCJ=yes
18456	  export_dynamic_flag_spec_GCJ='${wl}-E'
18457
18458	  # hardcode_minus_L: Not really in the search PATH,
18459	  # but as the default location of the library.
18460	  hardcode_minus_L_GCJ=yes
18461	  ;;
18462	esac
18463      fi
18464      ;;
18465
18466    irix5* | irix6* | nonstopux*)
18467      if test "$GCC" = yes; then
18468	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18469      else
18470	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18471	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18472      fi
18473      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18474      hardcode_libdir_separator_GCJ=:
18475      link_all_deplibs_GCJ=yes
18476      ;;
18477
18478    netbsd*)
18479      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18480	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18481      else
18482	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18483      fi
18484      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18485      hardcode_direct_GCJ=yes
18486      hardcode_shlibpath_var_GCJ=no
18487      ;;
18488
18489    newsos6)
18490      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18491      hardcode_direct_GCJ=yes
18492      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18493      hardcode_libdir_separator_GCJ=:
18494      hardcode_shlibpath_var_GCJ=no
18495      ;;
18496
18497    openbsd*)
18498      if test -f /usr/libexec/ld.so; then
18499	hardcode_direct_GCJ=yes
18500	hardcode_shlibpath_var_GCJ=no
18501	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18502	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18503	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18504	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18505	  export_dynamic_flag_spec_GCJ='${wl}-E'
18506	else
18507	  case $host_os in
18508	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18509	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18510	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
18511	     ;;
18512	   *)
18513	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18514	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18515	     ;;
18516	  esac
18517        fi
18518      else
18519	ld_shlibs_GCJ=no
18520      fi
18521      ;;
18522
18523    os2*)
18524      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18525      hardcode_minus_L_GCJ=yes
18526      allow_undefined_flag_GCJ=unsupported
18527      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18528      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18529      ;;
18530
18531    osf3*)
18532      if test "$GCC" = yes; then
18533	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18534	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18535      else
18536	allow_undefined_flag_GCJ=' -expect_unresolved \*'
18537	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18538      fi
18539      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18540      hardcode_libdir_separator_GCJ=:
18541      ;;
18542
18543    osf4* | osf5*)	# as osf3* with the addition of -msym flag
18544      if test "$GCC" = yes; then
18545	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18546	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18547	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18548      else
18549	allow_undefined_flag_GCJ=' -expect_unresolved \*'
18550	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18551	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18552	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18553
18554	# Both c and cxx compiler support -rpath directly
18555	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18556      fi
18557      hardcode_libdir_separator_GCJ=:
18558      ;;
18559
18560    solaris*)
18561      no_undefined_flag_GCJ=' -z text'
18562      if test "$GCC" = yes; then
18563	wlarc='${wl}'
18564	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18565	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18566	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18567      else
18568	wlarc=''
18569	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18570	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18571  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18572      fi
18573      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18574      hardcode_shlibpath_var_GCJ=no
18575      case $host_os in
18576      solaris2.[0-5] | solaris2.[0-5].*) ;;
18577      *)
18578	# The compiler driver will combine and reorder linker options,
18579	# but understands `-z linker_flag'.  GCC discards it without `$wl',
18580	# but is careful enough not to reorder.
18581 	# Supported since Solaris 2.6 (maybe 2.5.1?)
18582	if test "$GCC" = yes; then
18583	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18584	else
18585	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18586	fi
18587	;;
18588      esac
18589      link_all_deplibs_GCJ=yes
18590      ;;
18591
18592    sunos4*)
18593      if test "x$host_vendor" = xsequent; then
18594	# Use $CC to link under sequent, because it throws in some extra .o
18595	# files that make .init and .fini sections work.
18596	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18597      else
18598	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18599      fi
18600      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18601      hardcode_direct_GCJ=yes
18602      hardcode_minus_L_GCJ=yes
18603      hardcode_shlibpath_var_GCJ=no
18604      ;;
18605
18606    sysv4)
18607      case $host_vendor in
18608	sni)
18609	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18610	  hardcode_direct_GCJ=yes # is this really true???
18611	;;
18612	siemens)
18613	  ## LD is ld it makes a PLAMLIB
18614	  ## CC just makes a GrossModule.
18615	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18616	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18617	  hardcode_direct_GCJ=no
18618        ;;
18619	motorola)
18620	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18621	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18622	;;
18623      esac
18624      runpath_var='LD_RUN_PATH'
18625      hardcode_shlibpath_var_GCJ=no
18626      ;;
18627
18628    sysv4.3*)
18629      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18630      hardcode_shlibpath_var_GCJ=no
18631      export_dynamic_flag_spec_GCJ='-Bexport'
18632      ;;
18633
18634    sysv4*MP*)
18635      if test -d /usr/nec; then
18636	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18637	hardcode_shlibpath_var_GCJ=no
18638	runpath_var=LD_RUN_PATH
18639	hardcode_runpath_var=yes
18640	ld_shlibs_GCJ=yes
18641      fi
18642      ;;
18643
18644    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18645      no_undefined_flag_GCJ='${wl}-z,text'
18646      archive_cmds_need_lc_GCJ=no
18647      hardcode_shlibpath_var_GCJ=no
18648      runpath_var='LD_RUN_PATH'
18649
18650      if test "$GCC" = yes; then
18651	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18652	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18653      else
18654	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18655	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18656      fi
18657      ;;
18658
18659    sysv5* | sco3.2v5* | sco5v6*)
18660      # Note: We can NOT use -z defs as we might desire, because we do not
18661      # link with -lc, and that would cause any symbols used from libc to
18662      # always be unresolved, which means just about no library would
18663      # ever link correctly.  If we're not using GNU ld we use -z text
18664      # though, which does catch some bad symbols but isn't as heavy-handed
18665      # as -z defs.
18666      no_undefined_flag_GCJ='${wl}-z,text'
18667      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18668      archive_cmds_need_lc_GCJ=no
18669      hardcode_shlibpath_var_GCJ=no
18670      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18671      hardcode_libdir_separator_GCJ=':'
18672      link_all_deplibs_GCJ=yes
18673      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18674      runpath_var='LD_RUN_PATH'
18675
18676      if test "$GCC" = yes; then
18677	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18678	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18679      else
18680	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18681	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18682      fi
18683      ;;
18684
18685    uts4*)
18686      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18687      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18688      hardcode_shlibpath_var_GCJ=no
18689      ;;
18690
18691    *)
18692      ld_shlibs_GCJ=no
18693      ;;
18694    esac
18695  fi
18696
18697{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18698$as_echo "$ld_shlibs_GCJ" >&6; }
18699test "$ld_shlibs_GCJ" = no && can_build_shared=no
18700
18701#
18702# Do we need to explicitly link libc?
18703#
18704case "x$archive_cmds_need_lc_GCJ" in
18705x|xyes)
18706  # Assume -lc should be added
18707  archive_cmds_need_lc_GCJ=yes
18708
18709  if test "$enable_shared" = yes && test "$GCC" = yes; then
18710    case $archive_cmds_GCJ in
18711    *'~'*)
18712      # FIXME: we may have to deal with multi-command sequences.
18713      ;;
18714    '$CC '*)
18715      # Test whether the compiler implicitly links with -lc since on some
18716      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18717      # to ld, don't add -lc before -lgcc.
18718      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18719$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18720      $rm conftest*
18721      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18722
18723      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18724  (eval $ac_compile) 2>&5
18725  ac_status=$?
18726  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727  (exit $ac_status); } 2>conftest.err; then
18728        soname=conftest
18729        lib=conftest
18730        libobjs=conftest.$ac_objext
18731        deplibs=
18732        wl=$lt_prog_compiler_wl_GCJ
18733	pic_flag=$lt_prog_compiler_pic_GCJ
18734        compiler_flags=-v
18735        linker_flags=-v
18736        verstring=
18737        output_objdir=.
18738        libname=conftest
18739        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18740        allow_undefined_flag_GCJ=
18741        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18742  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18743  ac_status=$?
18744  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745  (exit $ac_status); }
18746        then
18747	  archive_cmds_need_lc_GCJ=no
18748        else
18749	  archive_cmds_need_lc_GCJ=yes
18750        fi
18751        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18752      else
18753        cat conftest.err 1>&5
18754      fi
18755      $rm conftest*
18756      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18757$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
18758      ;;
18759    esac
18760  fi
18761  ;;
18762esac
18763
18764{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18765$as_echo_n "checking dynamic linker characteristics... " >&6; }
18766library_names_spec=
18767libname_spec='lib$name'
18768soname_spec=
18769shrext_cmds=".so"
18770postinstall_cmds=
18771postuninstall_cmds=
18772finish_cmds=
18773finish_eval=
18774shlibpath_var=
18775shlibpath_overrides_runpath=unknown
18776version_type=none
18777dynamic_linker="$host_os ld.so"
18778sys_lib_dlsearch_path_spec="/lib /usr/lib"
18779
18780need_lib_prefix=unknown
18781hardcode_into_libs=no
18782
18783# when you set need_version to no, make sure it does not cause -set_version
18784# flags to be left without arguments
18785need_version=unknown
18786
18787case $host_os in
18788aix3*)
18789  version_type=linux
18790  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18791  shlibpath_var=LIBPATH
18792
18793  # AIX 3 has no versioning support, so we append a major version to the name.
18794  soname_spec='${libname}${release}${shared_ext}$major'
18795  ;;
18796
18797aix[4-9]*)
18798  version_type=linux
18799  need_lib_prefix=no
18800  need_version=no
18801  hardcode_into_libs=yes
18802  if test "$host_cpu" = ia64; then
18803    # AIX 5 supports IA64
18804    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18805    shlibpath_var=LD_LIBRARY_PATH
18806  else
18807    # With GCC up to 2.95.x, collect2 would create an import file
18808    # for dependence libraries.  The import file would start with
18809    # the line `#! .'.  This would cause the generated library to
18810    # depend on `.', always an invalid library.  This was fixed in
18811    # development snapshots of GCC prior to 3.0.
18812    case $host_os in
18813      aix4 | aix4.[01] | aix4.[01].*)
18814      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18815	   echo ' yes '
18816	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18817	:
18818      else
18819	can_build_shared=no
18820      fi
18821      ;;
18822    esac
18823    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18824    # soname into executable. Probably we can add versioning support to
18825    # collect2, so additional links can be useful in future.
18826    if test "$aix_use_runtimelinking" = yes; then
18827      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18828      # instead of lib<name>.a to let people know that these are not
18829      # typical AIX shared libraries.
18830      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18831    else
18832      # We preserve .a as extension for shared libraries through AIX4.2
18833      # and later when we are not doing run time linking.
18834      library_names_spec='${libname}${release}.a $libname.a'
18835      soname_spec='${libname}${release}${shared_ext}$major'
18836    fi
18837    shlibpath_var=LIBPATH
18838  fi
18839  ;;
18840
18841amigaos*)
18842  library_names_spec='$libname.ixlibrary $libname.a'
18843  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18844  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
18845  ;;
18846
18847beos*)
18848  library_names_spec='${libname}${shared_ext}'
18849  dynamic_linker="$host_os ld.so"
18850  shlibpath_var=LIBRARY_PATH
18851  ;;
18852
18853bsdi[45]*)
18854  version_type=linux
18855  need_version=no
18856  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18857  soname_spec='${libname}${release}${shared_ext}$major'
18858  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18859  shlibpath_var=LD_LIBRARY_PATH
18860  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18861  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18862  # the default ld.so.conf also contains /usr/contrib/lib and
18863  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18864  # libtool to hard-code these into programs
18865  ;;
18866
18867cygwin* | mingw* | pw32*)
18868  version_type=windows
18869  shrext_cmds=".dll"
18870  need_version=no
18871  need_lib_prefix=no
18872
18873  case $GCC,$host_os in
18874  yes,cygwin* | yes,mingw* | yes,pw32*)
18875    library_names_spec='$libname.dll.a'
18876    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18877    postinstall_cmds='base_file=`basename \${file}`~
18878      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18879      dldir=$destdir/`dirname \$dlpath`~
18880      test -d \$dldir || mkdir -p \$dldir~
18881      $install_prog $dir/$dlname \$dldir/$dlname~
18882      chmod a+x \$dldir/$dlname'
18883    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18884      dlpath=$dir/\$dldll~
18885       $rm \$dlpath'
18886    shlibpath_overrides_runpath=yes
18887
18888    case $host_os in
18889    cygwin*)
18890      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18891      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18892      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18893      ;;
18894    mingw*)
18895      # MinGW DLLs use traditional 'lib' prefix
18896      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18897      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18898      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18899        # It is most probably a Windows format PATH printed by
18900        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18901        # path with ; separators, and with drive letters. We can handle the
18902        # drive letters (cygwin fileutils understands them), so leave them,
18903        # especially as we might pass files found there to a mingw objdump,
18904        # which wouldn't understand a cygwinified path. Ahh.
18905        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18906      else
18907        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18908      fi
18909      ;;
18910    pw32*)
18911      # pw32 DLLs use 'pw' prefix rather than 'lib'
18912      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18913      ;;
18914    esac
18915    ;;
18916
18917  *)
18918    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18919    ;;
18920  esac
18921  dynamic_linker='Win32 ld.exe'
18922  # FIXME: first we should search . and the directory the executable is in
18923  shlibpath_var=PATH
18924  ;;
18925
18926darwin* | rhapsody*)
18927  dynamic_linker="$host_os dyld"
18928  version_type=darwin
18929  need_lib_prefix=no
18930  need_version=no
18931  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18932  soname_spec='${libname}${release}${major}$shared_ext'
18933  shlibpath_overrides_runpath=yes
18934  shlibpath_var=DYLD_LIBRARY_PATH
18935  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18936
18937  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18938  ;;
18939
18940dgux*)
18941  version_type=linux
18942  need_lib_prefix=no
18943  need_version=no
18944  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18945  soname_spec='${libname}${release}${shared_ext}$major'
18946  shlibpath_var=LD_LIBRARY_PATH
18947  ;;
18948
18949freebsd1*)
18950  dynamic_linker=no
18951  ;;
18952
18953freebsd* | dragonfly*)
18954  # DragonFly does not have aout.  When/if they implement a new
18955  # versioning mechanism, adjust this.
18956  if test -x /usr/bin/objformat; then
18957    objformat=`/usr/bin/objformat`
18958  else
18959    case $host_os in
18960    freebsd[123]*) objformat=aout ;;
18961    *) objformat=elf ;;
18962    esac
18963  fi
18964  version_type=freebsd-$objformat
18965  case $version_type in
18966    freebsd-elf*)
18967      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18968      need_version=no
18969      need_lib_prefix=no
18970      ;;
18971    freebsd-*)
18972      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18973      need_version=yes
18974      ;;
18975  esac
18976  shlibpath_var=LD_LIBRARY_PATH
18977  case $host_os in
18978  freebsd2*)
18979    shlibpath_overrides_runpath=yes
18980    ;;
18981  freebsd3.[01]* | freebsdelf3.[01]*)
18982    shlibpath_overrides_runpath=yes
18983    hardcode_into_libs=yes
18984    ;;
18985  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18986  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18987    shlibpath_overrides_runpath=no
18988    hardcode_into_libs=yes
18989    ;;
18990  *) # from 4.6 on, and DragonFly
18991    shlibpath_overrides_runpath=yes
18992    hardcode_into_libs=yes
18993    ;;
18994  esac
18995  ;;
18996
18997gnu*)
18998  version_type=linux
18999  need_lib_prefix=no
19000  need_version=no
19001  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19002  soname_spec='${libname}${release}${shared_ext}$major'
19003  shlibpath_var=LD_LIBRARY_PATH
19004  hardcode_into_libs=yes
19005  ;;
19006
19007hpux9* | hpux10* | hpux11*)
19008  # Give a soname corresponding to the major version so that dld.sl refuses to
19009  # link against other versions.
19010  version_type=sunos
19011  need_lib_prefix=no
19012  need_version=no
19013  case $host_cpu in
19014  ia64*)
19015    shrext_cmds='.so'
19016    hardcode_into_libs=yes
19017    dynamic_linker="$host_os dld.so"
19018    shlibpath_var=LD_LIBRARY_PATH
19019    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19020    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19021    soname_spec='${libname}${release}${shared_ext}$major'
19022    if test "X$HPUX_IA64_MODE" = X32; then
19023      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19024    else
19025      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19026    fi
19027    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19028    ;;
19029   hppa*64*)
19030     shrext_cmds='.sl'
19031     hardcode_into_libs=yes
19032     dynamic_linker="$host_os dld.sl"
19033     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19034     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19035     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19036     soname_spec='${libname}${release}${shared_ext}$major'
19037     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19038     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19039     ;;
19040   *)
19041    shrext_cmds='.sl'
19042    dynamic_linker="$host_os dld.sl"
19043    shlibpath_var=SHLIB_PATH
19044    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19045    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19046    soname_spec='${libname}${release}${shared_ext}$major'
19047    ;;
19048  esac
19049  # HP-UX runs *really* slowly unless shared libraries are mode 555.
19050  postinstall_cmds='chmod 555 $lib'
19051  ;;
19052
19053interix[3-9]*)
19054  version_type=linux
19055  need_lib_prefix=no
19056  need_version=no
19057  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19058  soname_spec='${libname}${release}${shared_ext}$major'
19059  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19060  shlibpath_var=LD_LIBRARY_PATH
19061  shlibpath_overrides_runpath=no
19062  hardcode_into_libs=yes
19063  ;;
19064
19065irix5* | irix6* | nonstopux*)
19066  case $host_os in
19067    nonstopux*) version_type=nonstopux ;;
19068    *)
19069	if test "$lt_cv_prog_gnu_ld" = yes; then
19070		version_type=linux
19071	else
19072		version_type=irix
19073	fi ;;
19074  esac
19075  need_lib_prefix=no
19076  need_version=no
19077  soname_spec='${libname}${release}${shared_ext}$major'
19078  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19079  case $host_os in
19080  irix5* | nonstopux*)
19081    libsuff= shlibsuff=
19082    ;;
19083  *)
19084    case $LD in # libtool.m4 will add one of these switches to LD
19085    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19086      libsuff= shlibsuff= libmagic=32-bit;;
19087    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19088      libsuff=32 shlibsuff=N32 libmagic=N32;;
19089    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19090      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19091    *) libsuff= shlibsuff= libmagic=never-match;;
19092    esac
19093    ;;
19094  esac
19095  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19096  shlibpath_overrides_runpath=no
19097  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19098  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19099  hardcode_into_libs=yes
19100  ;;
19101
19102# No shared lib support for Linux oldld, aout, or coff.
19103linux*oldld* | linux*aout* | linux*coff*)
19104  dynamic_linker=no
19105  ;;
19106
19107# This must be Linux ELF.
19108linux* | k*bsd*-gnu)
19109  version_type=linux
19110  need_lib_prefix=no
19111  need_version=no
19112  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19113  soname_spec='${libname}${release}${shared_ext}$major'
19114  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19115  shlibpath_var=LD_LIBRARY_PATH
19116  shlibpath_overrides_runpath=no
19117  # This implies no fast_install, which is unacceptable.
19118  # Some rework will be needed to allow for fast_install
19119  # before this can be enabled.
19120  hardcode_into_libs=yes
19121  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19122  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19123
19124  # Append ld.so.conf contents to the search path
19125  if test -f /etc/ld.so.conf; then
19126    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19127    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
19128  fi
19129
19130  # We used to test for /lib/ld.so.1 and disable shared libraries on
19131  # powerpc, because MkLinux only supported shared libraries with the
19132  # GNU dynamic linker.  Since this was broken with cross compilers,
19133  # most powerpc-linux boxes support dynamic linking these days and
19134  # people can always --disable-shared, the test was removed, and we
19135  # assume the GNU/Linux dynamic linker is in use.
19136  dynamic_linker='GNU/Linux ld.so'
19137  ;;
19138
19139netbsd*)
19140  version_type=sunos
19141  need_lib_prefix=no
19142  need_version=no
19143  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19144    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19145    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19146    dynamic_linker='NetBSD (a.out) ld.so'
19147  else
19148    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19149    soname_spec='${libname}${release}${shared_ext}$major'
19150    dynamic_linker='NetBSD ld.elf_so'
19151  fi
19152  shlibpath_var=LD_LIBRARY_PATH
19153  shlibpath_overrides_runpath=yes
19154  hardcode_into_libs=yes
19155  ;;
19156
19157newsos6)
19158  version_type=linux
19159  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19160  shlibpath_var=LD_LIBRARY_PATH
19161  shlibpath_overrides_runpath=yes
19162  ;;
19163
19164nto-qnx*)
19165  version_type=linux
19166  need_lib_prefix=no
19167  need_version=no
19168  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19169  soname_spec='${libname}${release}${shared_ext}$major'
19170  shlibpath_var=LD_LIBRARY_PATH
19171  shlibpath_overrides_runpath=yes
19172  ;;
19173
19174openbsd*)
19175  version_type=sunos
19176  sys_lib_dlsearch_path_spec="/usr/lib"
19177  need_lib_prefix=no
19178  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19179  case $host_os in
19180    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19181    *)                         need_version=no  ;;
19182  esac
19183  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19184  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19185  shlibpath_var=LD_LIBRARY_PATH
19186  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19187    case $host_os in
19188      openbsd2.[89] | openbsd2.[89].*)
19189	shlibpath_overrides_runpath=no
19190	;;
19191      *)
19192	shlibpath_overrides_runpath=yes
19193	;;
19194      esac
19195  else
19196    shlibpath_overrides_runpath=yes
19197  fi
19198  ;;
19199
19200os2*)
19201  libname_spec='$name'
19202  shrext_cmds=".dll"
19203  need_lib_prefix=no
19204  library_names_spec='$libname${shared_ext} $libname.a'
19205  dynamic_linker='OS/2 ld.exe'
19206  shlibpath_var=LIBPATH
19207  ;;
19208
19209osf3* | osf4* | osf5*)
19210  version_type=osf
19211  need_lib_prefix=no
19212  need_version=no
19213  soname_spec='${libname}${release}${shared_ext}$major'
19214  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19215  shlibpath_var=LD_LIBRARY_PATH
19216  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19217  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19218  ;;
19219
19220rdos*)
19221  dynamic_linker=no
19222  ;;
19223
19224solaris*)
19225  version_type=linux
19226  need_lib_prefix=no
19227  need_version=no
19228  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19229  soname_spec='${libname}${release}${shared_ext}$major'
19230  shlibpath_var=LD_LIBRARY_PATH
19231  shlibpath_overrides_runpath=yes
19232  hardcode_into_libs=yes
19233  # ldd complains unless libraries are executable
19234  postinstall_cmds='chmod +x $lib'
19235  ;;
19236
19237sunos4*)
19238  version_type=sunos
19239  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19240  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19241  shlibpath_var=LD_LIBRARY_PATH
19242  shlibpath_overrides_runpath=yes
19243  if test "$with_gnu_ld" = yes; then
19244    need_lib_prefix=no
19245  fi
19246  need_version=yes
19247  ;;
19248
19249sysv4 | sysv4.3*)
19250  version_type=linux
19251  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19252  soname_spec='${libname}${release}${shared_ext}$major'
19253  shlibpath_var=LD_LIBRARY_PATH
19254  case $host_vendor in
19255    sni)
19256      shlibpath_overrides_runpath=no
19257      need_lib_prefix=no
19258      export_dynamic_flag_spec='${wl}-Blargedynsym'
19259      runpath_var=LD_RUN_PATH
19260      ;;
19261    siemens)
19262      need_lib_prefix=no
19263      ;;
19264    motorola)
19265      need_lib_prefix=no
19266      need_version=no
19267      shlibpath_overrides_runpath=no
19268      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19269      ;;
19270  esac
19271  ;;
19272
19273sysv4*MP*)
19274  if test -d /usr/nec ;then
19275    version_type=linux
19276    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19277    soname_spec='$libname${shared_ext}.$major'
19278    shlibpath_var=LD_LIBRARY_PATH
19279  fi
19280  ;;
19281
19282sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19283  version_type=freebsd-elf
19284  need_lib_prefix=no
19285  need_version=no
19286  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19287  soname_spec='${libname}${release}${shared_ext}$major'
19288  shlibpath_var=LD_LIBRARY_PATH
19289  hardcode_into_libs=yes
19290  if test "$with_gnu_ld" = yes; then
19291    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19292    shlibpath_overrides_runpath=no
19293  else
19294    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19295    shlibpath_overrides_runpath=yes
19296    case $host_os in
19297      sco3.2v5*)
19298        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19299	;;
19300    esac
19301  fi
19302  sys_lib_dlsearch_path_spec='/usr/lib'
19303  ;;
19304
19305uts4*)
19306  version_type=linux
19307  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19308  soname_spec='${libname}${release}${shared_ext}$major'
19309  shlibpath_var=LD_LIBRARY_PATH
19310  ;;
19311
19312*)
19313  dynamic_linker=no
19314  ;;
19315esac
19316{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19317$as_echo "$dynamic_linker" >&6; }
19318test "$dynamic_linker" = no && can_build_shared=no
19319
19320if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19321  $as_echo_n "(cached) " >&6
19322else
19323  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
19324fi
19325
19326sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19327if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19328  $as_echo_n "(cached) " >&6
19329else
19330  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
19331fi
19332
19333sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19334
19335variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19336if test "$GCC" = yes; then
19337  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19338fi
19339
19340{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19341$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19342hardcode_action_GCJ=
19343if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19344   test -n "$runpath_var_GCJ" || \
19345   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19346
19347  # We can hardcode non-existant directories.
19348  if test "$hardcode_direct_GCJ" != no &&
19349     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19350     # have to relink, otherwise we might link with an installed library
19351     # when we should be linking with a yet-to-be-installed one
19352     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19353     test "$hardcode_minus_L_GCJ" != no; then
19354    # Linking always hardcodes the temporary library directory.
19355    hardcode_action_GCJ=relink
19356  else
19357    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19358    hardcode_action_GCJ=immediate
19359  fi
19360else
19361  # We cannot hardcode anything, or else we can only hardcode existing
19362  # directories.
19363  hardcode_action_GCJ=unsupported
19364fi
19365{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19366$as_echo "$hardcode_action_GCJ" >&6; }
19367
19368if test "$hardcode_action_GCJ" = relink; then
19369  # Fast installation is not supported
19370  enable_fast_install=no
19371elif test "$shlibpath_overrides_runpath" = yes ||
19372     test "$enable_shared" = no; then
19373  # Fast installation is not necessary
19374  enable_fast_install=needless
19375fi
19376
19377
19378# The else clause should only fire when bootstrapping the
19379# libtool distribution, otherwise you forgot to ship ltmain.sh
19380# with your package, and you will get complaints that there are
19381# no rules to generate ltmain.sh.
19382if test -f "$ltmain"; then
19383  # See if we are running on zsh, and set the options which allow our commands through
19384  # without removal of \ escapes.
19385  if test -n "${ZSH_VERSION+set}" ; then
19386    setopt NO_GLOB_SUBST
19387  fi
19388  # Now quote all the things that may contain metacharacters while being
19389  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19390  # variables and quote the copies for generation of the libtool script.
19391  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19392    SED SHELL STRIP \
19393    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19394    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19395    deplibs_check_method reload_flag reload_cmds need_locks \
19396    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19397    lt_cv_sys_global_symbol_to_c_name_address \
19398    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19399    old_postinstall_cmds old_postuninstall_cmds \
19400    compiler_GCJ \
19401    CC_GCJ \
19402    LD_GCJ \
19403    lt_prog_compiler_wl_GCJ \
19404    lt_prog_compiler_pic_GCJ \
19405    lt_prog_compiler_static_GCJ \
19406    lt_prog_compiler_no_builtin_flag_GCJ \
19407    export_dynamic_flag_spec_GCJ \
19408    thread_safe_flag_spec_GCJ \
19409    whole_archive_flag_spec_GCJ \
19410    enable_shared_with_static_runtimes_GCJ \
19411    old_archive_cmds_GCJ \
19412    old_archive_from_new_cmds_GCJ \
19413    predep_objects_GCJ \
19414    postdep_objects_GCJ \
19415    predeps_GCJ \
19416    postdeps_GCJ \
19417    compiler_lib_search_path_GCJ \
19418    compiler_lib_search_dirs_GCJ \
19419    archive_cmds_GCJ \
19420    archive_expsym_cmds_GCJ \
19421    postinstall_cmds_GCJ \
19422    postuninstall_cmds_GCJ \
19423    old_archive_from_expsyms_cmds_GCJ \
19424    allow_undefined_flag_GCJ \
19425    no_undefined_flag_GCJ \
19426    export_symbols_cmds_GCJ \
19427    hardcode_libdir_flag_spec_GCJ \
19428    hardcode_libdir_flag_spec_ld_GCJ \
19429    hardcode_libdir_separator_GCJ \
19430    hardcode_automatic_GCJ \
19431    module_cmds_GCJ \
19432    module_expsym_cmds_GCJ \
19433    lt_cv_prog_compiler_c_o_GCJ \
19434    fix_srcfile_path_GCJ \
19435    exclude_expsyms_GCJ \
19436    include_expsyms_GCJ; do
19437
19438    case $var in
19439    old_archive_cmds_GCJ | \
19440    old_archive_from_new_cmds_GCJ | \
19441    archive_cmds_GCJ | \
19442    archive_expsym_cmds_GCJ | \
19443    module_cmds_GCJ | \
19444    module_expsym_cmds_GCJ | \
19445    old_archive_from_expsyms_cmds_GCJ | \
19446    export_symbols_cmds_GCJ | \
19447    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19448    postinstall_cmds | postuninstall_cmds | \
19449    old_postinstall_cmds | old_postuninstall_cmds | \
19450    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19451      # Double-quote double-evaled strings.
19452      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19453      ;;
19454    *)
19455      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19456      ;;
19457    esac
19458  done
19459
19460  case $lt_echo in
19461  *'\$0 --fallback-echo"')
19462    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19463    ;;
19464  esac
19465
19466cfgfile="$ofile"
19467
19468  cat <<__EOF__ >> "$cfgfile"
19469# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19470
19471# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19472
19473# Shell to use when invoking shell scripts.
19474SHELL=$lt_SHELL
19475
19476# Whether or not to build shared libraries.
19477build_libtool_libs=$enable_shared
19478
19479# Whether or not to build static libraries.
19480build_old_libs=$enable_static
19481
19482# Whether or not to add -lc for building shared libraries.
19483build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19484
19485# Whether or not to disallow shared libs when runtime libs are static
19486allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19487
19488# Whether or not to optimize for fast installation.
19489fast_install=$enable_fast_install
19490
19491# The host system.
19492host_alias=$host_alias
19493host=$host
19494host_os=$host_os
19495
19496# The build system.
19497build_alias=$build_alias
19498build=$build
19499build_os=$build_os
19500
19501# An echo program that does not interpret backslashes.
19502echo=$lt_echo
19503
19504# The archiver.
19505AR=$lt_AR
19506AR_FLAGS=$lt_AR_FLAGS
19507
19508# A C compiler.
19509LTCC=$lt_LTCC
19510
19511# LTCC compiler flags.
19512LTCFLAGS=$lt_LTCFLAGS
19513
19514# A language-specific compiler.
19515CC=$lt_compiler_GCJ
19516
19517# Is the compiler the GNU C compiler?
19518with_gcc=$GCC_GCJ
19519
19520# An ERE matcher.
19521EGREP=$lt_EGREP
19522
19523# The linker used to build libraries.
19524LD=$lt_LD_GCJ
19525
19526# Whether we need hard or soft links.
19527LN_S=$lt_LN_S
19528
19529# A BSD-compatible nm program.
19530NM=$lt_NM
19531
19532# A symbol stripping program
19533STRIP=$lt_STRIP
19534
19535# Used to examine libraries when file_magic_cmd begins "file"
19536MAGIC_CMD=$MAGIC_CMD
19537
19538# Used on cygwin: DLL creation program.
19539DLLTOOL="$DLLTOOL"
19540
19541# Used on cygwin: object dumper.
19542OBJDUMP="$OBJDUMP"
19543
19544# Used on cygwin: assembler.
19545AS="$AS"
19546
19547# The name of the directory that contains temporary libtool files.
19548objdir=$objdir
19549
19550# How to create reloadable object files.
19551reload_flag=$lt_reload_flag
19552reload_cmds=$lt_reload_cmds
19553
19554# How to pass a linker flag through the compiler.
19555wl=$lt_lt_prog_compiler_wl_GCJ
19556
19557# Object file suffix (normally "o").
19558objext="$ac_objext"
19559
19560# Old archive suffix (normally "a").
19561libext="$libext"
19562
19563# Shared library suffix (normally ".so").
19564shrext_cmds='$shrext_cmds'
19565
19566# Executable file suffix (normally "").
19567exeext="$exeext"
19568
19569# Additional compiler flags for building library objects.
19570pic_flag=$lt_lt_prog_compiler_pic_GCJ
19571pic_mode=$pic_mode
19572
19573# What is the maximum length of a command?
19574max_cmd_len=$lt_cv_sys_max_cmd_len
19575
19576# Does compiler simultaneously support -c and -o options?
19577compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19578
19579# Must we lock files when doing compilation?
19580need_locks=$lt_need_locks
19581
19582# Do we need the lib prefix for modules?
19583need_lib_prefix=$need_lib_prefix
19584
19585# Do we need a version for libraries?
19586need_version=$need_version
19587
19588# Whether dlopen is supported.
19589dlopen_support=$enable_dlopen
19590
19591# Whether dlopen of programs is supported.
19592dlopen_self=$enable_dlopen_self
19593
19594# Whether dlopen of statically linked programs is supported.
19595dlopen_self_static=$enable_dlopen_self_static
19596
19597# Compiler flag to prevent dynamic linking.
19598link_static_flag=$lt_lt_prog_compiler_static_GCJ
19599
19600# Compiler flag to turn off builtin functions.
19601no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19602
19603# Compiler flag to allow reflexive dlopens.
19604export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19605
19606# Compiler flag to generate shared objects directly from archives.
19607whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19608
19609# Compiler flag to generate thread-safe objects.
19610thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19611
19612# Library versioning type.
19613version_type=$version_type
19614
19615# Format of library name prefix.
19616libname_spec=$lt_libname_spec
19617
19618# List of archive names.  First name is the real one, the rest are links.
19619# The last name is the one that the linker finds with -lNAME.
19620library_names_spec=$lt_library_names_spec
19621
19622# The coded name of the library, if different from the real name.
19623soname_spec=$lt_soname_spec
19624
19625# Commands used to build and install an old-style archive.
19626RANLIB=$lt_RANLIB
19627old_archive_cmds=$lt_old_archive_cmds_GCJ
19628old_postinstall_cmds=$lt_old_postinstall_cmds
19629old_postuninstall_cmds=$lt_old_postuninstall_cmds
19630
19631# Create an old-style archive from a shared archive.
19632old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19633
19634# Create a temporary old-style archive to link instead of a shared archive.
19635old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19636
19637# Commands used to build and install a shared archive.
19638archive_cmds=$lt_archive_cmds_GCJ
19639archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19640postinstall_cmds=$lt_postinstall_cmds
19641postuninstall_cmds=$lt_postuninstall_cmds
19642
19643# Commands used to build a loadable module (assumed same as above if empty)
19644module_cmds=$lt_module_cmds_GCJ
19645module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19646
19647# Commands to strip libraries.
19648old_striplib=$lt_old_striplib
19649striplib=$lt_striplib
19650
19651# Dependencies to place before the objects being linked to create a
19652# shared library.
19653predep_objects=$lt_predep_objects_GCJ
19654
19655# Dependencies to place after the objects being linked to create a
19656# shared library.
19657postdep_objects=$lt_postdep_objects_GCJ
19658
19659# Dependencies to place before the objects being linked to create a
19660# shared library.
19661predeps=$lt_predeps_GCJ
19662
19663# Dependencies to place after the objects being linked to create a
19664# shared library.
19665postdeps=$lt_postdeps_GCJ
19666
19667# The directories searched by this compiler when creating a shared
19668# library
19669compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19670
19671# The library search path used internally by the compiler when linking
19672# a shared library.
19673compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19674
19675# Method to check whether dependent libraries are shared objects.
19676deplibs_check_method=$lt_deplibs_check_method
19677
19678# Command to use when deplibs_check_method == file_magic.
19679file_magic_cmd=$lt_file_magic_cmd
19680
19681# Flag that allows shared libraries with undefined symbols to be built.
19682allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19683
19684# Flag that forces no undefined symbols.
19685no_undefined_flag=$lt_no_undefined_flag_GCJ
19686
19687# Commands used to finish a libtool library installation in a directory.
19688finish_cmds=$lt_finish_cmds
19689
19690# Same as above, but a single script fragment to be evaled but not shown.
19691finish_eval=$lt_finish_eval
19692
19693# Take the output of nm and produce a listing of raw symbols and C names.
19694global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19695
19696# Transform the output of nm in a proper C declaration
19697global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19698
19699# Transform the output of nm in a C name address pair
19700global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19701
19702# This is the shared library runtime path variable.
19703runpath_var=$runpath_var
19704
19705# This is the shared library path variable.
19706shlibpath_var=$shlibpath_var
19707
19708# Is shlibpath searched before the hard-coded library search path?
19709shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19710
19711# How to hardcode a shared library path into an executable.
19712hardcode_action=$hardcode_action_GCJ
19713
19714# Whether we should hardcode library paths into libraries.
19715hardcode_into_libs=$hardcode_into_libs
19716
19717# Flag to hardcode \$libdir into a binary during linking.
19718# This must work even if \$libdir does not exist.
19719hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19720
19721# If ld is used when linking, flag to hardcode \$libdir into
19722# a binary during linking. This must work even if \$libdir does
19723# not exist.
19724hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19725
19726# Whether we need a single -rpath flag with a separated argument.
19727hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19728
19729# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19730# resulting binary.
19731hardcode_direct=$hardcode_direct_GCJ
19732
19733# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19734# resulting binary.
19735hardcode_minus_L=$hardcode_minus_L_GCJ
19736
19737# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19738# the resulting binary.
19739hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19740
19741# Set to yes if building a shared library automatically hardcodes DIR into the library
19742# and all subsequent libraries and executables linked against it.
19743hardcode_automatic=$hardcode_automatic_GCJ
19744
19745# Variables whose values should be saved in libtool wrapper scripts and
19746# restored at relink time.
19747variables_saved_for_relink="$variables_saved_for_relink"
19748
19749# Whether libtool must link a program against all its dependency libraries.
19750link_all_deplibs=$link_all_deplibs_GCJ
19751
19752# Compile-time system search path for libraries
19753sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19754
19755# Run-time system search path for libraries
19756sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19757
19758# Fix the shell variable \$srcfile for the compiler.
19759fix_srcfile_path=$lt_fix_srcfile_path
19760
19761# Set to yes if exported symbols are required.
19762always_export_symbols=$always_export_symbols_GCJ
19763
19764# The commands to list exported symbols.
19765export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19766
19767# The commands to extract the exported symbol list from a shared archive.
19768extract_expsyms_cmds=$lt_extract_expsyms_cmds
19769
19770# Symbols that should not be listed in the preloaded symbols.
19771exclude_expsyms=$lt_exclude_expsyms_GCJ
19772
19773# Symbols that must always be exported.
19774include_expsyms=$lt_include_expsyms_GCJ
19775
19776# ### END LIBTOOL TAG CONFIG: $tagname
19777
19778__EOF__
19779
19780
19781else
19782  # If there is no Makefile yet, we rely on a make rule to execute
19783  # `config.status --recheck' to rerun these tests and create the
19784  # libtool script then.
19785  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19786  if test -f "$ltmain_in"; then
19787    test -f Makefile && make "$ltmain"
19788  fi
19789fi
19790
19791
19792ac_ext=c
19793ac_cpp='$CPP $CPPFLAGS'
19794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19796ac_compiler_gnu=$ac_cv_c_compiler_gnu
19797
19798CC="$lt_save_CC"
19799
19800	else
19801	  tagname=""
19802	fi
19803	;;
19804
19805      RC)
19806
19807
19808# Source file extension for RC test sources.
19809ac_ext=rc
19810
19811# Object file extension for compiled RC test sources.
19812objext=o
19813objext_RC=$objext
19814
19815# Code to be used in simple compile tests
19816lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19817
19818# Code to be used in simple link tests
19819lt_simple_link_test_code="$lt_simple_compile_test_code"
19820
19821# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19822
19823# If no C compiler was specified, use CC.
19824LTCC=${LTCC-"$CC"}
19825
19826# If no C compiler flags were specified, use CFLAGS.
19827LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19828
19829# Allow CC to be a program name with arguments.
19830compiler=$CC
19831
19832
19833# save warnings/boilerplate of simple test code
19834ac_outfile=conftest.$ac_objext
19835echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19836eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19837_lt_compiler_boilerplate=`cat conftest.err`
19838$rm conftest*
19839
19840ac_outfile=conftest.$ac_objext
19841echo "$lt_simple_link_test_code" >conftest.$ac_ext
19842eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19843_lt_linker_boilerplate=`cat conftest.err`
19844$rm -r conftest*
19845
19846
19847# Allow CC to be a program name with arguments.
19848lt_save_CC="$CC"
19849CC=${RC-"windres"}
19850compiler=$CC
19851compiler_RC=$CC
19852for cc_temp in $compiler""; do
19853  case $cc_temp in
19854    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19855    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19856    \-*) ;;
19857    *) break;;
19858  esac
19859done
19860cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19861
19862lt_cv_prog_compiler_c_o_RC=yes
19863
19864# The else clause should only fire when bootstrapping the
19865# libtool distribution, otherwise you forgot to ship ltmain.sh
19866# with your package, and you will get complaints that there are
19867# no rules to generate ltmain.sh.
19868if test -f "$ltmain"; then
19869  # See if we are running on zsh, and set the options which allow our commands through
19870  # without removal of \ escapes.
19871  if test -n "${ZSH_VERSION+set}" ; then
19872    setopt NO_GLOB_SUBST
19873  fi
19874  # Now quote all the things that may contain metacharacters while being
19875  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19876  # variables and quote the copies for generation of the libtool script.
19877  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19878    SED SHELL STRIP \
19879    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19880    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19881    deplibs_check_method reload_flag reload_cmds need_locks \
19882    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19883    lt_cv_sys_global_symbol_to_c_name_address \
19884    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19885    old_postinstall_cmds old_postuninstall_cmds \
19886    compiler_RC \
19887    CC_RC \
19888    LD_RC \
19889    lt_prog_compiler_wl_RC \
19890    lt_prog_compiler_pic_RC \
19891    lt_prog_compiler_static_RC \
19892    lt_prog_compiler_no_builtin_flag_RC \
19893    export_dynamic_flag_spec_RC \
19894    thread_safe_flag_spec_RC \
19895    whole_archive_flag_spec_RC \
19896    enable_shared_with_static_runtimes_RC \
19897    old_archive_cmds_RC \
19898    old_archive_from_new_cmds_RC \
19899    predep_objects_RC \
19900    postdep_objects_RC \
19901    predeps_RC \
19902    postdeps_RC \
19903    compiler_lib_search_path_RC \
19904    compiler_lib_search_dirs_RC \
19905    archive_cmds_RC \
19906    archive_expsym_cmds_RC \
19907    postinstall_cmds_RC \
19908    postuninstall_cmds_RC \
19909    old_archive_from_expsyms_cmds_RC \
19910    allow_undefined_flag_RC \
19911    no_undefined_flag_RC \
19912    export_symbols_cmds_RC \
19913    hardcode_libdir_flag_spec_RC \
19914    hardcode_libdir_flag_spec_ld_RC \
19915    hardcode_libdir_separator_RC \
19916    hardcode_automatic_RC \
19917    module_cmds_RC \
19918    module_expsym_cmds_RC \
19919    lt_cv_prog_compiler_c_o_RC \
19920    fix_srcfile_path_RC \
19921    exclude_expsyms_RC \
19922    include_expsyms_RC; do
19923
19924    case $var in
19925    old_archive_cmds_RC | \
19926    old_archive_from_new_cmds_RC | \
19927    archive_cmds_RC | \
19928    archive_expsym_cmds_RC | \
19929    module_cmds_RC | \
19930    module_expsym_cmds_RC | \
19931    old_archive_from_expsyms_cmds_RC | \
19932    export_symbols_cmds_RC | \
19933    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19934    postinstall_cmds | postuninstall_cmds | \
19935    old_postinstall_cmds | old_postuninstall_cmds | \
19936    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19937      # Double-quote double-evaled strings.
19938      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19939      ;;
19940    *)
19941      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19942      ;;
19943    esac
19944  done
19945
19946  case $lt_echo in
19947  *'\$0 --fallback-echo"')
19948    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19949    ;;
19950  esac
19951
19952cfgfile="$ofile"
19953
19954  cat <<__EOF__ >> "$cfgfile"
19955# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19956
19957# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19958
19959# Shell to use when invoking shell scripts.
19960SHELL=$lt_SHELL
19961
19962# Whether or not to build shared libraries.
19963build_libtool_libs=$enable_shared
19964
19965# Whether or not to build static libraries.
19966build_old_libs=$enable_static
19967
19968# Whether or not to add -lc for building shared libraries.
19969build_libtool_need_lc=$archive_cmds_need_lc_RC
19970
19971# Whether or not to disallow shared libs when runtime libs are static
19972allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19973
19974# Whether or not to optimize for fast installation.
19975fast_install=$enable_fast_install
19976
19977# The host system.
19978host_alias=$host_alias
19979host=$host
19980host_os=$host_os
19981
19982# The build system.
19983build_alias=$build_alias
19984build=$build
19985build_os=$build_os
19986
19987# An echo program that does not interpret backslashes.
19988echo=$lt_echo
19989
19990# The archiver.
19991AR=$lt_AR
19992AR_FLAGS=$lt_AR_FLAGS
19993
19994# A C compiler.
19995LTCC=$lt_LTCC
19996
19997# LTCC compiler flags.
19998LTCFLAGS=$lt_LTCFLAGS
19999
20000# A language-specific compiler.
20001CC=$lt_compiler_RC
20002
20003# Is the compiler the GNU C compiler?
20004with_gcc=$GCC_RC
20005
20006# An ERE matcher.
20007EGREP=$lt_EGREP
20008
20009# The linker used to build libraries.
20010LD=$lt_LD_RC
20011
20012# Whether we need hard or soft links.
20013LN_S=$lt_LN_S
20014
20015# A BSD-compatible nm program.
20016NM=$lt_NM
20017
20018# A symbol stripping program
20019STRIP=$lt_STRIP
20020
20021# Used to examine libraries when file_magic_cmd begins "file"
20022MAGIC_CMD=$MAGIC_CMD
20023
20024# Used on cygwin: DLL creation program.
20025DLLTOOL="$DLLTOOL"
20026
20027# Used on cygwin: object dumper.
20028OBJDUMP="$OBJDUMP"
20029
20030# Used on cygwin: assembler.
20031AS="$AS"
20032
20033# The name of the directory that contains temporary libtool files.
20034objdir=$objdir
20035
20036# How to create reloadable object files.
20037reload_flag=$lt_reload_flag
20038reload_cmds=$lt_reload_cmds
20039
20040# How to pass a linker flag through the compiler.
20041wl=$lt_lt_prog_compiler_wl_RC
20042
20043# Object file suffix (normally "o").
20044objext="$ac_objext"
20045
20046# Old archive suffix (normally "a").
20047libext="$libext"
20048
20049# Shared library suffix (normally ".so").
20050shrext_cmds='$shrext_cmds'
20051
20052# Executable file suffix (normally "").
20053exeext="$exeext"
20054
20055# Additional compiler flags for building library objects.
20056pic_flag=$lt_lt_prog_compiler_pic_RC
20057pic_mode=$pic_mode
20058
20059# What is the maximum length of a command?
20060max_cmd_len=$lt_cv_sys_max_cmd_len
20061
20062# Does compiler simultaneously support -c and -o options?
20063compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20064
20065# Must we lock files when doing compilation?
20066need_locks=$lt_need_locks
20067
20068# Do we need the lib prefix for modules?
20069need_lib_prefix=$need_lib_prefix
20070
20071# Do we need a version for libraries?
20072need_version=$need_version
20073
20074# Whether dlopen is supported.
20075dlopen_support=$enable_dlopen
20076
20077# Whether dlopen of programs is supported.
20078dlopen_self=$enable_dlopen_self
20079
20080# Whether dlopen of statically linked programs is supported.
20081dlopen_self_static=$enable_dlopen_self_static
20082
20083# Compiler flag to prevent dynamic linking.
20084link_static_flag=$lt_lt_prog_compiler_static_RC
20085
20086# Compiler flag to turn off builtin functions.
20087no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20088
20089# Compiler flag to allow reflexive dlopens.
20090export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20091
20092# Compiler flag to generate shared objects directly from archives.
20093whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20094
20095# Compiler flag to generate thread-safe objects.
20096thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20097
20098# Library versioning type.
20099version_type=$version_type
20100
20101# Format of library name prefix.
20102libname_spec=$lt_libname_spec
20103
20104# List of archive names.  First name is the real one, the rest are links.
20105# The last name is the one that the linker finds with -lNAME.
20106library_names_spec=$lt_library_names_spec
20107
20108# The coded name of the library, if different from the real name.
20109soname_spec=$lt_soname_spec
20110
20111# Commands used to build and install an old-style archive.
20112RANLIB=$lt_RANLIB
20113old_archive_cmds=$lt_old_archive_cmds_RC
20114old_postinstall_cmds=$lt_old_postinstall_cmds
20115old_postuninstall_cmds=$lt_old_postuninstall_cmds
20116
20117# Create an old-style archive from a shared archive.
20118old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20119
20120# Create a temporary old-style archive to link instead of a shared archive.
20121old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20122
20123# Commands used to build and install a shared archive.
20124archive_cmds=$lt_archive_cmds_RC
20125archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20126postinstall_cmds=$lt_postinstall_cmds
20127postuninstall_cmds=$lt_postuninstall_cmds
20128
20129# Commands used to build a loadable module (assumed same as above if empty)
20130module_cmds=$lt_module_cmds_RC
20131module_expsym_cmds=$lt_module_expsym_cmds_RC
20132
20133# Commands to strip libraries.
20134old_striplib=$lt_old_striplib
20135striplib=$lt_striplib
20136
20137# Dependencies to place before the objects being linked to create a
20138# shared library.
20139predep_objects=$lt_predep_objects_RC
20140
20141# Dependencies to place after the objects being linked to create a
20142# shared library.
20143postdep_objects=$lt_postdep_objects_RC
20144
20145# Dependencies to place before the objects being linked to create a
20146# shared library.
20147predeps=$lt_predeps_RC
20148
20149# Dependencies to place after the objects being linked to create a
20150# shared library.
20151postdeps=$lt_postdeps_RC
20152
20153# The directories searched by this compiler when creating a shared
20154# library
20155compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
20156
20157# The library search path used internally by the compiler when linking
20158# a shared library.
20159compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20160
20161# Method to check whether dependent libraries are shared objects.
20162deplibs_check_method=$lt_deplibs_check_method
20163
20164# Command to use when deplibs_check_method == file_magic.
20165file_magic_cmd=$lt_file_magic_cmd
20166
20167# Flag that allows shared libraries with undefined symbols to be built.
20168allow_undefined_flag=$lt_allow_undefined_flag_RC
20169
20170# Flag that forces no undefined symbols.
20171no_undefined_flag=$lt_no_undefined_flag_RC
20172
20173# Commands used to finish a libtool library installation in a directory.
20174finish_cmds=$lt_finish_cmds
20175
20176# Same as above, but a single script fragment to be evaled but not shown.
20177finish_eval=$lt_finish_eval
20178
20179# Take the output of nm and produce a listing of raw symbols and C names.
20180global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20181
20182# Transform the output of nm in a proper C declaration
20183global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20184
20185# Transform the output of nm in a C name address pair
20186global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20187
20188# This is the shared library runtime path variable.
20189runpath_var=$runpath_var
20190
20191# This is the shared library path variable.
20192shlibpath_var=$shlibpath_var
20193
20194# Is shlibpath searched before the hard-coded library search path?
20195shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20196
20197# How to hardcode a shared library path into an executable.
20198hardcode_action=$hardcode_action_RC
20199
20200# Whether we should hardcode library paths into libraries.
20201hardcode_into_libs=$hardcode_into_libs
20202
20203# Flag to hardcode \$libdir into a binary during linking.
20204# This must work even if \$libdir does not exist.
20205hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20206
20207# If ld is used when linking, flag to hardcode \$libdir into
20208# a binary during linking. This must work even if \$libdir does
20209# not exist.
20210hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20211
20212# Whether we need a single -rpath flag with a separated argument.
20213hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20214
20215# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20216# resulting binary.
20217hardcode_direct=$hardcode_direct_RC
20218
20219# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20220# resulting binary.
20221hardcode_minus_L=$hardcode_minus_L_RC
20222
20223# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20224# the resulting binary.
20225hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20226
20227# Set to yes if building a shared library automatically hardcodes DIR into the library
20228# and all subsequent libraries and executables linked against it.
20229hardcode_automatic=$hardcode_automatic_RC
20230
20231# Variables whose values should be saved in libtool wrapper scripts and
20232# restored at relink time.
20233variables_saved_for_relink="$variables_saved_for_relink"
20234
20235# Whether libtool must link a program against all its dependency libraries.
20236link_all_deplibs=$link_all_deplibs_RC
20237
20238# Compile-time system search path for libraries
20239sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20240
20241# Run-time system search path for libraries
20242sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20243
20244# Fix the shell variable \$srcfile for the compiler.
20245fix_srcfile_path=$lt_fix_srcfile_path
20246
20247# Set to yes if exported symbols are required.
20248always_export_symbols=$always_export_symbols_RC
20249
20250# The commands to list exported symbols.
20251export_symbols_cmds=$lt_export_symbols_cmds_RC
20252
20253# The commands to extract the exported symbol list from a shared archive.
20254extract_expsyms_cmds=$lt_extract_expsyms_cmds
20255
20256# Symbols that should not be listed in the preloaded symbols.
20257exclude_expsyms=$lt_exclude_expsyms_RC
20258
20259# Symbols that must always be exported.
20260include_expsyms=$lt_include_expsyms_RC
20261
20262# ### END LIBTOOL TAG CONFIG: $tagname
20263
20264__EOF__
20265
20266
20267else
20268  # If there is no Makefile yet, we rely on a make rule to execute
20269  # `config.status --recheck' to rerun these tests and create the
20270  # libtool script then.
20271  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20272  if test -f "$ltmain_in"; then
20273    test -f Makefile && make "$ltmain"
20274  fi
20275fi
20276
20277
20278ac_ext=c
20279ac_cpp='$CPP $CPPFLAGS'
20280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20282ac_compiler_gnu=$ac_cv_c_compiler_gnu
20283
20284CC="$lt_save_CC"
20285
20286	;;
20287
20288      *)
20289	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20290$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20291   { (exit 1); exit 1; }; }
20292	;;
20293      esac
20294
20295      # Append the new tag name to the list of available tags.
20296      if test -n "$tagname" ; then
20297      available_tags="$available_tags $tagname"
20298    fi
20299    fi
20300  done
20301  IFS="$lt_save_ifs"
20302
20303  # Now substitute the updated list of available tags.
20304  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20305    mv "${ofile}T" "$ofile"
20306    chmod +x "$ofile"
20307  else
20308    rm -f "${ofile}T"
20309    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20310$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20311   { (exit 1); exit 1; }; }
20312  fi
20313fi
20314
20315
20316
20317# This can be used to rebuild libtool when needed
20318LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20319
20320# Always use our own libtool.
20321LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20322
20323# Prevent multiple expansion
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345{ $as_echo "$as_me:$LINENO: checking for some Win32 platform" >&5
20346$as_echo_n "checking for some Win32 platform... " >&6; }
20347case "$host" in
20348  *-*-mingw*|*-*-cygwin*)
20349    platform_win32=yes
20350    ;;
20351  *)
20352    platform_win32=no
20353    ;;
20354esac
20355{ $as_echo "$as_me:$LINENO: result: $platform_win32" >&5
20356$as_echo "$platform_win32" >&6; }
20357 if test "$platform_win32" = "yes"; then
20358  PLATFORM_WIN32_TRUE=
20359  PLATFORM_WIN32_FALSE='#'
20360else
20361  PLATFORM_WIN32_TRUE='#'
20362  PLATFORM_WIN32_FALSE=
20363fi
20364
20365
20366{ $as_echo "$as_me:$LINENO: checking for native Win32" >&5
20367$as_echo_n "checking for native Win32... " >&6; }
20368case "$host" in
20369  *-*-mingw*)
20370    os_win32=yes
20371    ;;
20372  *)
20373    os_win32=no
20374    ;;
20375esac
20376{ $as_echo "$as_me:$LINENO: result: $os_win32" >&5
20377$as_echo "$os_win32" >&6; }
20378 if test "$os_win32" = "yes"; then
20379  OS_WIN32_TRUE=
20380  OS_WIN32_FALSE='#'
20381else
20382  OS_WIN32_TRUE='#'
20383  OS_WIN32_FALSE=
20384fi
20385
20386
20387# Ensure MSVC-compatible struct packing convention is used when
20388# compiling for Win32 with gcc.
20389# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
20390# gcc2 uses "-fnative-struct".
20391if test x"$os_win32" = xyes; then
20392  if test x"$GCC" = xyes; then
20393    msnative_struct=''
20394    { $as_echo "$as_me:$LINENO: checking how to get MSVC-compatible struct packing" >&5
20395$as_echo_n "checking how to get MSVC-compatible struct packing... " >&6; }
20396    if test -z "$ac_cv_prog_CC"; then
20397      our_gcc="$CC"
20398    else
20399      our_gcc="$ac_cv_prog_CC"
20400    fi
20401    case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
20402      2.)
20403	if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
20404	  msnative_struct='-fnative-struct'
20405	fi
20406	;;
20407      *)
20408	if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
20409	  msnative_struct='-mms-bitfields'
20410	fi
20411	;;
20412    esac
20413    if test x"$msnative_struct" = x ; then
20414      { $as_echo "$as_me:$LINENO: result: no way" >&5
20415$as_echo "no way" >&6; }
20416      { $as_echo "$as_me:$LINENO: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5
20417$as_echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;}
20418    else
20419      CXXFLAGS="$CXXFLAGS $msnative_struct"
20420      { $as_echo "$as_me:$LINENO: result: ${msnative_struct}" >&5
20421$as_echo "${msnative_struct}" >&6; }
20422    fi
20423  fi
20424fi
20425
20426
20427for ac_prog in gm4 m4
20428do
20429  # Extract the first word of "$ac_prog", so it can be a program name with args.
20430set dummy $ac_prog; ac_word=$2
20431{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20432$as_echo_n "checking for $ac_word... " >&6; }
20433if test "${ac_cv_prog_M4+set}" = set; then
20434  $as_echo_n "(cached) " >&6
20435else
20436  if test -n "$M4"; then
20437  ac_cv_prog_M4="$M4" # Let the user override the test.
20438else
20439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20440for as_dir in $PATH
20441do
20442  IFS=$as_save_IFS
20443  test -z "$as_dir" && as_dir=.
20444  for ac_exec_ext in '' $ac_executable_extensions; do
20445  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20446    ac_cv_prog_M4="$ac_prog"
20447    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20448    break 2
20449  fi
20450done
20451done
20452IFS=$as_save_IFS
20453
20454fi
20455fi
20456M4=$ac_cv_prog_M4
20457if test -n "$M4"; then
20458  { $as_echo "$as_me:$LINENO: result: $M4" >&5
20459$as_echo "$M4" >&6; }
20460else
20461  { $as_echo "$as_me:$LINENO: result: no" >&5
20462$as_echo "no" >&6; }
20463fi
20464
20465
20466  test -n "$M4" && break
20467done
20468test -n "$M4" || M4="m4"
20469
20470
20471if test "$M4" = "m4"; then
20472  { $as_echo "$as_me:$LINENO: checking whether m4 is GNU m4" >&5
20473$as_echo_n "checking whether m4 is GNU m4... " >&6; }
20474  if $M4 --version </dev/null 2>/dev/null | grep '^GNU Mm4 ' >/dev/null ; then
20475    { $as_echo "$as_me:$LINENO: result: yes" >&5
20476$as_echo "yes" >&6; }
20477  else
20478    { $as_echo "$as_me:$LINENO: result: no" >&5
20479$as_echo "no" >&6; }
20480    if test "$host_vendor" = "sun"; then
20481      { { $as_echo "$as_me:$LINENO: error: SUN m4 does not work for building gtkmm.
20482Please install GNU m4." >&5
20483$as_echo "$as_me: error: SUN m4 does not work for building gtkmm.
20484Please install GNU m4." >&2;}
20485   { (exit 1); exit 1; }; }
20486    fi
20487  fi
20488fi
20489
20490
20491
20492{ $as_echo "$as_me:$LINENO: checking whether make is GNU Make" >&5
20493$as_echo_n "checking whether make is GNU Make... " >&6; }
20494if $ac_make --version 2>/dev/null | grep '^GNU Make ' >/dev/null ; then
20495        { $as_echo "$as_me:$LINENO: result: yes" >&5
20496$as_echo "yes" >&6; }
20497else
20498        { $as_echo "$as_me:$LINENO: result: no" >&5
20499$as_echo "no" >&6; }
20500        if test "$host_vendor" = "sun" ; then
20501           { { $as_echo "$as_me:$LINENO: error: SUN make does not work for building gtkmm.
20502Please install GNU make." >&5
20503$as_echo "$as_me: error: SUN make does not work for building gtkmm.
20504Please install GNU make." >&2;}
20505   { (exit 1); exit 1; }; }
20506        fi
20507fi
20508
20509
20510# This macro is installed by glibmm
20511# Doxygen needs the path to the installed perl.
20512
20513  glibmm_perl_result=no
20514
20515  for ac_prog in perl perl5
20516do
20517  # Extract the first word of "$ac_prog", so it can be a program name with args.
20518set dummy $ac_prog; ac_word=$2
20519{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20520$as_echo_n "checking for $ac_word... " >&6; }
20521if test "${ac_cv_path_PERL_PATH+set}" = set; then
20522  $as_echo_n "(cached) " >&6
20523else
20524  case $PERL_PATH in
20525  [\\/]* | ?:[\\/]*)
20526  ac_cv_path_PERL_PATH="$PERL_PATH" # Let the user override the test with a path.
20527  ;;
20528  *)
20529  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20530for as_dir in $PATH
20531do
20532  IFS=$as_save_IFS
20533  test -z "$as_dir" && as_dir=.
20534  for ac_exec_ext in '' $ac_executable_extensions; do
20535  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20536    ac_cv_path_PERL_PATH="$as_dir/$ac_word$ac_exec_ext"
20537    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20538    break 2
20539  fi
20540done
20541done
20542IFS=$as_save_IFS
20543
20544  ;;
20545esac
20546fi
20547PERL_PATH=$ac_cv_path_PERL_PATH
20548if test -n "$PERL_PATH"; then
20549  { $as_echo "$as_me:$LINENO: result: $PERL_PATH" >&5
20550$as_echo "$PERL_PATH" >&6; }
20551else
20552  { $as_echo "$as_me:$LINENO: result: no" >&5
20553$as_echo "no" >&6; }
20554fi
20555
20556
20557  test -n "$PERL_PATH" && break
20558done
20559test -n "$PERL_PATH" || PERL_PATH="not found"
20560
20561
20562  if test "x$PERL_PATH" != "xnot found"; then
20563  {
20564    { $as_echo "$as_me:$LINENO: checking whether Perl is new enough" >&5
20565$as_echo_n "checking whether Perl is new enough... " >&6; }
20566if test "${glibmm_cv_perl_version_5_6_0+set}" = set; then
20567  $as_echo_n "(cached) " >&6
20568else
20569
20570      glibmm_cv_perl_version_5_6_0=no
20571      "$PERL_PATH" -e "require v5.6.0; exit 0;" >/dev/null 2>&1 && glibmm_cv_perl_version_5_6_0=yes
20572
20573fi
20574{ $as_echo "$as_me:$LINENO: result: $glibmm_cv_perl_version_5_6_0" >&5
20575$as_echo "$glibmm_cv_perl_version_5_6_0" >&6; }
20576    test "x${glibmm_cv_perl_version_5_6_0}" = xyes && glibmm_perl_result=yes
20577  }
20578  else
20579  {
20580    # Make sure we have something sensible, even if it doesn't work.
20581    PERL_PATH=perl
20582  }
20583  fi
20584
20585  if test "x$glibmm_perl_result" = xno && test "x$USE_MAINTAINER_MODE" = xyes; then
20586  {
20587    { { $as_echo "$as_me:$LINENO: error:
20588*** Perl >= 5.6.0 is required for building $PACKAGE in maintainer-mode.
20589" >&5
20590$as_echo "$as_me: error:
20591*** Perl >= 5.6.0 is required for building $PACKAGE in maintainer-mode.
20592" >&2;}
20593   { (exit 1); exit 1; }; }
20594  }
20595  fi
20596
20597
20598
20599
20600#########################################################################
20601#  Dependancy checks
20602#########################################################################
20603
20604# Make LIBGLADE_VERSION_NEEDED available to both PKG_CHECK_MODULES(), the .pc.in file, and init.cc:
20605LIBGLADE_VERSION_NEEDED=2.6.1
20606
20607cat >>confdefs.h <<_ACEOF
20608#define LIBGLADE_VERSION_NEEDED_QUOTED "$LIBGLADE_VERSION_NEEDED"
20609_ACEOF
20610
20611
20612# Make these available to both PKG_CHECK_MODULES and the .pc.in file:
20613GTKMM_VERSION_NEEDED=2.6.0
20614
20615
20616
20617
20618if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20619	if test -n "$ac_tool_prefix"; then
20620  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20621set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20622{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20623$as_echo_n "checking for $ac_word... " >&6; }
20624if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20625  $as_echo_n "(cached) " >&6
20626else
20627  case $PKG_CONFIG in
20628  [\\/]* | ?:[\\/]*)
20629  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20630  ;;
20631  *)
20632  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20633for as_dir in $PATH
20634do
20635  IFS=$as_save_IFS
20636  test -z "$as_dir" && as_dir=.
20637  for ac_exec_ext in '' $ac_executable_extensions; do
20638  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20639    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20640    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20641    break 2
20642  fi
20643done
20644done
20645IFS=$as_save_IFS
20646
20647  ;;
20648esac
20649fi
20650PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20651if test -n "$PKG_CONFIG"; then
20652  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20653$as_echo "$PKG_CONFIG" >&6; }
20654else
20655  { $as_echo "$as_me:$LINENO: result: no" >&5
20656$as_echo "no" >&6; }
20657fi
20658
20659
20660fi
20661if test -z "$ac_cv_path_PKG_CONFIG"; then
20662  ac_pt_PKG_CONFIG=$PKG_CONFIG
20663  # Extract the first word of "pkg-config", so it can be a program name with args.
20664set dummy pkg-config; ac_word=$2
20665{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20666$as_echo_n "checking for $ac_word... " >&6; }
20667if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20668  $as_echo_n "(cached) " >&6
20669else
20670  case $ac_pt_PKG_CONFIG in
20671  [\\/]* | ?:[\\/]*)
20672  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20673  ;;
20674  *)
20675  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20676for as_dir in $PATH
20677do
20678  IFS=$as_save_IFS
20679  test -z "$as_dir" && as_dir=.
20680  for ac_exec_ext in '' $ac_executable_extensions; do
20681  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20682    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20683    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20684    break 2
20685  fi
20686done
20687done
20688IFS=$as_save_IFS
20689
20690  ;;
20691esac
20692fi
20693ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20694if test -n "$ac_pt_PKG_CONFIG"; then
20695  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
20696$as_echo "$ac_pt_PKG_CONFIG" >&6; }
20697else
20698  { $as_echo "$as_me:$LINENO: result: no" >&5
20699$as_echo "no" >&6; }
20700fi
20701
20702  if test "x$ac_pt_PKG_CONFIG" = x; then
20703    PKG_CONFIG=""
20704  else
20705    case $cross_compiling:$ac_tool_warned in
20706yes:)
20707{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20708whose name does not start with the host triplet.  If you think this
20709configuration is useful to you, please write to autoconf@gnu.org." >&5
20710$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20711whose name does not start with the host triplet.  If you think this
20712configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20713ac_tool_warned=yes ;;
20714esac
20715    PKG_CONFIG=$ac_pt_PKG_CONFIG
20716  fi
20717else
20718  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20719fi
20720
20721fi
20722if test -n "$PKG_CONFIG"; then
20723	_pkg_min_version=0.9.0
20724	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20725$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20726	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20727		{ $as_echo "$as_me:$LINENO: result: yes" >&5
20728$as_echo "yes" >&6; }
20729	else
20730		{ $as_echo "$as_me:$LINENO: result: no" >&5
20731$as_echo "no" >&6; }
20732		PKG_CONFIG=""
20733	fi
20734
20735fi
20736
20737pkg_failed=no
20738{ $as_echo "$as_me:$LINENO: checking for LIBGLADEMM" >&5
20739$as_echo_n "checking for LIBGLADEMM... " >&6; }
20740
20741if test -n "$LIBGLADEMM_CFLAGS"; then
20742    pkg_cv_LIBGLADEMM_CFLAGS="$LIBGLADEMM_CFLAGS"
20743 elif test -n "$PKG_CONFIG"; then
20744    if test -n "$PKG_CONFIG" && \
20745    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= \$GTKMM_VERSION_NEEDED libglade-2.0 >= \$LIBGLADE_VERSION_NEEDED\"") >&5
20746  ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= $GTKMM_VERSION_NEEDED libglade-2.0 >= $LIBGLADE_VERSION_NEEDED") 2>&5
20747  ac_status=$?
20748  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749  (exit $ac_status); }; then
20750  pkg_cv_LIBGLADEMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= $GTKMM_VERSION_NEEDED libglade-2.0 >= $LIBGLADE_VERSION_NEEDED" 2>/dev/null`
20751else
20752  pkg_failed=yes
20753fi
20754 else
20755    pkg_failed=untried
20756fi
20757if test -n "$LIBGLADEMM_LIBS"; then
20758    pkg_cv_LIBGLADEMM_LIBS="$LIBGLADEMM_LIBS"
20759 elif test -n "$PKG_CONFIG"; then
20760    if test -n "$PKG_CONFIG" && \
20761    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= \$GTKMM_VERSION_NEEDED libglade-2.0 >= \$LIBGLADE_VERSION_NEEDED\"") >&5
20762  ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= $GTKMM_VERSION_NEEDED libglade-2.0 >= $LIBGLADE_VERSION_NEEDED") 2>&5
20763  ac_status=$?
20764  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765  (exit $ac_status); }; then
20766  pkg_cv_LIBGLADEMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= $GTKMM_VERSION_NEEDED libglade-2.0 >= $LIBGLADE_VERSION_NEEDED" 2>/dev/null`
20767else
20768  pkg_failed=yes
20769fi
20770 else
20771    pkg_failed=untried
20772fi
20773
20774
20775
20776if test $pkg_failed = yes; then
20777
20778if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20779        _pkg_short_errors_supported=yes
20780else
20781        _pkg_short_errors_supported=no
20782fi
20783        if test $_pkg_short_errors_supported = yes; then
20784	        LIBGLADEMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtkmm-2.4 >= $GTKMM_VERSION_NEEDED libglade-2.0 >= $LIBGLADE_VERSION_NEEDED" 2>&1`
20785        else
20786	        LIBGLADEMM_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtkmm-2.4 >= $GTKMM_VERSION_NEEDED libglade-2.0 >= $LIBGLADE_VERSION_NEEDED" 2>&1`
20787        fi
20788	# Put the nasty error message in config.log where it belongs
20789	echo "$LIBGLADEMM_PKG_ERRORS" >&5
20790
20791	{ { $as_echo "$as_me:$LINENO: error: Package requirements (gtkmm-2.4 >= $GTKMM_VERSION_NEEDED libglade-2.0 >= $LIBGLADE_VERSION_NEEDED) were not met:
20792
20793$LIBGLADEMM_PKG_ERRORS
20794
20795Consider adjusting the PKG_CONFIG_PATH environment variable if you
20796installed software in a non-standard prefix.
20797
20798Alternatively, you may set the environment variables LIBGLADEMM_CFLAGS
20799and LIBGLADEMM_LIBS to avoid the need to call pkg-config.
20800See the pkg-config man page for more details.
20801" >&5
20802$as_echo "$as_me: error: Package requirements (gtkmm-2.4 >= $GTKMM_VERSION_NEEDED libglade-2.0 >= $LIBGLADE_VERSION_NEEDED) were not met:
20803
20804$LIBGLADEMM_PKG_ERRORS
20805
20806Consider adjusting the PKG_CONFIG_PATH environment variable if you
20807installed software in a non-standard prefix.
20808
20809Alternatively, you may set the environment variables LIBGLADEMM_CFLAGS
20810and LIBGLADEMM_LIBS to avoid the need to call pkg-config.
20811See the pkg-config man page for more details.
20812" >&2;}
20813   { (exit 1); exit 1; }; }
20814elif test $pkg_failed = untried; then
20815	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
20816is in your PATH or set the PKG_CONFIG environment variable to the full
20817path to pkg-config.
20818
20819Alternatively, you may set the environment variables LIBGLADEMM_CFLAGS
20820and LIBGLADEMM_LIBS to avoid the need to call pkg-config.
20821See the pkg-config man page for more details.
20822
20823To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20824See \`config.log' for more details." >&5
20825$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
20826is in your PATH or set the PKG_CONFIG environment variable to the full
20827path to pkg-config.
20828
20829Alternatively, you may set the environment variables LIBGLADEMM_CFLAGS
20830and LIBGLADEMM_LIBS to avoid the need to call pkg-config.
20831See the pkg-config man page for more details.
20832
20833To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20834See \`config.log' for more details." >&2;}
20835   { (exit 1); exit 1; }; }
20836else
20837	LIBGLADEMM_CFLAGS=$pkg_cv_LIBGLADEMM_CFLAGS
20838	LIBGLADEMM_LIBS=$pkg_cv_LIBGLADEMM_LIBS
20839        { $as_echo "$as_me:$LINENO: result: yes" >&5
20840$as_echo "yes" >&6; }
20841	:
20842fi
20843
20844
20845
20846GLIBMM_LIBDIR=`pkg-config --variable=libdir glibmm-2.4`
20847GMM_PROCDIR=$GLIBMM_LIBDIR/glibmm-2.4/proc
20848
20849GMM_PROC=$GMM_PROCDIR/gmmproc
20850
20851
20852#########################################################################
20853#  C++ checks
20854#########################################################################
20855ac_ext=cpp
20856ac_cpp='$CXXCPP $CPPFLAGS'
20857ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20858ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20859ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20860if test -z "$CXX"; then
20861  if test -n "$CCC"; then
20862    CXX=$CCC
20863  else
20864    if test -n "$ac_tool_prefix"; then
20865  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
20866  do
20867    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20868set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20869{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20870$as_echo_n "checking for $ac_word... " >&6; }
20871if test "${ac_cv_prog_CXX+set}" = set; then
20872  $as_echo_n "(cached) " >&6
20873else
20874  if test -n "$CXX"; then
20875  ac_cv_prog_CXX="$CXX" # Let the user override the test.
20876else
20877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20878for as_dir in $PATH
20879do
20880  IFS=$as_save_IFS
20881  test -z "$as_dir" && as_dir=.
20882  for ac_exec_ext in '' $ac_executable_extensions; do
20883  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20884    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
20885    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20886    break 2
20887  fi
20888done
20889done
20890IFS=$as_save_IFS
20891
20892fi
20893fi
20894CXX=$ac_cv_prog_CXX
20895if test -n "$CXX"; then
20896  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
20897$as_echo "$CXX" >&6; }
20898else
20899  { $as_echo "$as_me:$LINENO: result: no" >&5
20900$as_echo "no" >&6; }
20901fi
20902
20903
20904    test -n "$CXX" && break
20905  done
20906fi
20907if test -z "$CXX"; then
20908  ac_ct_CXX=$CXX
20909  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
20910do
20911  # Extract the first word of "$ac_prog", so it can be a program name with args.
20912set dummy $ac_prog; ac_word=$2
20913{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20914$as_echo_n "checking for $ac_word... " >&6; }
20915if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
20916  $as_echo_n "(cached) " >&6
20917else
20918  if test -n "$ac_ct_CXX"; then
20919  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
20920else
20921as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20922for as_dir in $PATH
20923do
20924  IFS=$as_save_IFS
20925  test -z "$as_dir" && as_dir=.
20926  for ac_exec_ext in '' $ac_executable_extensions; do
20927  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20928    ac_cv_prog_ac_ct_CXX="$ac_prog"
20929    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20930    break 2
20931  fi
20932done
20933done
20934IFS=$as_save_IFS
20935
20936fi
20937fi
20938ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
20939if test -n "$ac_ct_CXX"; then
20940  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
20941$as_echo "$ac_ct_CXX" >&6; }
20942else
20943  { $as_echo "$as_me:$LINENO: result: no" >&5
20944$as_echo "no" >&6; }
20945fi
20946
20947
20948  test -n "$ac_ct_CXX" && break
20949done
20950
20951  if test "x$ac_ct_CXX" = x; then
20952    CXX="g++"
20953  else
20954    case $cross_compiling:$ac_tool_warned in
20955yes:)
20956{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20957whose name does not start with the host triplet.  If you think this
20958configuration is useful to you, please write to autoconf@gnu.org." >&5
20959$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20960whose name does not start with the host triplet.  If you think this
20961configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20962ac_tool_warned=yes ;;
20963esac
20964    CXX=$ac_ct_CXX
20965  fi
20966fi
20967
20968  fi
20969fi
20970# Provide some information about the compiler.
20971$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
20972set X $ac_compile
20973ac_compiler=$2
20974{ (ac_try="$ac_compiler --version >&5"
20975case "(($ac_try" in
20976  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20977  *) ac_try_echo=$ac_try;;
20978esac
20979eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20980$as_echo "$ac_try_echo") >&5
20981  (eval "$ac_compiler --version >&5") 2>&5
20982  ac_status=$?
20983  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984  (exit $ac_status); }
20985{ (ac_try="$ac_compiler -v >&5"
20986case "(($ac_try" in
20987  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20988  *) ac_try_echo=$ac_try;;
20989esac
20990eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20991$as_echo "$ac_try_echo") >&5
20992  (eval "$ac_compiler -v >&5") 2>&5
20993  ac_status=$?
20994  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995  (exit $ac_status); }
20996{ (ac_try="$ac_compiler -V >&5"
20997case "(($ac_try" in
20998  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20999  *) ac_try_echo=$ac_try;;
21000esac
21001eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21002$as_echo "$ac_try_echo") >&5
21003  (eval "$ac_compiler -V >&5") 2>&5
21004  ac_status=$?
21005  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006  (exit $ac_status); }
21007
21008{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
21009$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
21010if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
21011  $as_echo_n "(cached) " >&6
21012else
21013  cat >conftest.$ac_ext <<_ACEOF
21014/* confdefs.h.  */
21015_ACEOF
21016cat confdefs.h >>conftest.$ac_ext
21017cat >>conftest.$ac_ext <<_ACEOF
21018/* end confdefs.h.  */
21019
21020int
21021main ()
21022{
21023#ifndef __GNUC__
21024       choke me
21025#endif
21026
21027  ;
21028  return 0;
21029}
21030_ACEOF
21031rm -f conftest.$ac_objext
21032if { (ac_try="$ac_compile"
21033case "(($ac_try" in
21034  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21035  *) ac_try_echo=$ac_try;;
21036esac
21037eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21038$as_echo "$ac_try_echo") >&5
21039  (eval "$ac_compile") 2>conftest.er1
21040  ac_status=$?
21041  grep -v '^ *+' conftest.er1 >conftest.err
21042  rm -f conftest.er1
21043  cat conftest.err >&5
21044  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045  (exit $ac_status); } && {
21046	 test -z "$ac_cxx_werror_flag" ||
21047	 test ! -s conftest.err
21048       } && test -s conftest.$ac_objext; then
21049  ac_compiler_gnu=yes
21050else
21051  $as_echo "$as_me: failed program was:" >&5
21052sed 's/^/| /' conftest.$ac_ext >&5
21053
21054	ac_compiler_gnu=no
21055fi
21056
21057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21058ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
21059
21060fi
21061{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
21062$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
21063if test $ac_compiler_gnu = yes; then
21064  GXX=yes
21065else
21066  GXX=
21067fi
21068ac_test_CXXFLAGS=${CXXFLAGS+set}
21069ac_save_CXXFLAGS=$CXXFLAGS
21070{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
21071$as_echo_n "checking whether $CXX accepts -g... " >&6; }
21072if test "${ac_cv_prog_cxx_g+set}" = set; then
21073  $as_echo_n "(cached) " >&6
21074else
21075  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
21076   ac_cxx_werror_flag=yes
21077   ac_cv_prog_cxx_g=no
21078   CXXFLAGS="-g"
21079   cat >conftest.$ac_ext <<_ACEOF
21080/* confdefs.h.  */
21081_ACEOF
21082cat confdefs.h >>conftest.$ac_ext
21083cat >>conftest.$ac_ext <<_ACEOF
21084/* end confdefs.h.  */
21085
21086int
21087main ()
21088{
21089
21090  ;
21091  return 0;
21092}
21093_ACEOF
21094rm -f conftest.$ac_objext
21095if { (ac_try="$ac_compile"
21096case "(($ac_try" in
21097  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21098  *) ac_try_echo=$ac_try;;
21099esac
21100eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21101$as_echo "$ac_try_echo") >&5
21102  (eval "$ac_compile") 2>conftest.er1
21103  ac_status=$?
21104  grep -v '^ *+' conftest.er1 >conftest.err
21105  rm -f conftest.er1
21106  cat conftest.err >&5
21107  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108  (exit $ac_status); } && {
21109	 test -z "$ac_cxx_werror_flag" ||
21110	 test ! -s conftest.err
21111       } && test -s conftest.$ac_objext; then
21112  ac_cv_prog_cxx_g=yes
21113else
21114  $as_echo "$as_me: failed program was:" >&5
21115sed 's/^/| /' conftest.$ac_ext >&5
21116
21117	CXXFLAGS=""
21118      cat >conftest.$ac_ext <<_ACEOF
21119/* confdefs.h.  */
21120_ACEOF
21121cat confdefs.h >>conftest.$ac_ext
21122cat >>conftest.$ac_ext <<_ACEOF
21123/* end confdefs.h.  */
21124
21125int
21126main ()
21127{
21128
21129  ;
21130  return 0;
21131}
21132_ACEOF
21133rm -f conftest.$ac_objext
21134if { (ac_try="$ac_compile"
21135case "(($ac_try" in
21136  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21137  *) ac_try_echo=$ac_try;;
21138esac
21139eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21140$as_echo "$ac_try_echo") >&5
21141  (eval "$ac_compile") 2>conftest.er1
21142  ac_status=$?
21143  grep -v '^ *+' conftest.er1 >conftest.err
21144  rm -f conftest.er1
21145  cat conftest.err >&5
21146  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147  (exit $ac_status); } && {
21148	 test -z "$ac_cxx_werror_flag" ||
21149	 test ! -s conftest.err
21150       } && test -s conftest.$ac_objext; then
21151  :
21152else
21153  $as_echo "$as_me: failed program was:" >&5
21154sed 's/^/| /' conftest.$ac_ext >&5
21155
21156	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
21157	 CXXFLAGS="-g"
21158	 cat >conftest.$ac_ext <<_ACEOF
21159/* confdefs.h.  */
21160_ACEOF
21161cat confdefs.h >>conftest.$ac_ext
21162cat >>conftest.$ac_ext <<_ACEOF
21163/* end confdefs.h.  */
21164
21165int
21166main ()
21167{
21168
21169  ;
21170  return 0;
21171}
21172_ACEOF
21173rm -f conftest.$ac_objext
21174if { (ac_try="$ac_compile"
21175case "(($ac_try" in
21176  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21177  *) ac_try_echo=$ac_try;;
21178esac
21179eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21180$as_echo "$ac_try_echo") >&5
21181  (eval "$ac_compile") 2>conftest.er1
21182  ac_status=$?
21183  grep -v '^ *+' conftest.er1 >conftest.err
21184  rm -f conftest.er1
21185  cat conftest.err >&5
21186  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187  (exit $ac_status); } && {
21188	 test -z "$ac_cxx_werror_flag" ||
21189	 test ! -s conftest.err
21190       } && test -s conftest.$ac_objext; then
21191  ac_cv_prog_cxx_g=yes
21192else
21193  $as_echo "$as_me: failed program was:" >&5
21194sed 's/^/| /' conftest.$ac_ext >&5
21195
21196
21197fi
21198
21199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21200fi
21201
21202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21203fi
21204
21205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21206   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
21207fi
21208{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
21209$as_echo "$ac_cv_prog_cxx_g" >&6; }
21210if test "$ac_test_CXXFLAGS" = set; then
21211  CXXFLAGS=$ac_save_CXXFLAGS
21212elif test $ac_cv_prog_cxx_g = yes; then
21213  if test "$GXX" = yes; then
21214    CXXFLAGS="-g -O2"
21215  else
21216    CXXFLAGS="-g"
21217  fi
21218else
21219  if test "$GXX" = yes; then
21220    CXXFLAGS="-O2"
21221  else
21222    CXXFLAGS=
21223  fi
21224fi
21225ac_ext=c
21226ac_cpp='$CPP $CPPFLAGS'
21227ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21228ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21229ac_compiler_gnu=$ac_cv_c_compiler_gnu
21230
21231depcc="$CXX"  am_compiler_list=
21232
21233{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
21234$as_echo_n "checking dependency style of $depcc... " >&6; }
21235if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
21236  $as_echo_n "(cached) " >&6
21237else
21238  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21239  # We make a subdir and do the tests there.  Otherwise we can end up
21240  # making bogus files that we don't know about and never remove.  For
21241  # instance it was reported that on HP-UX the gcc test will end up
21242  # making a dummy file named `D' -- because `-MD' means `put the output
21243  # in D'.
21244  mkdir conftest.dir
21245  # Copy depcomp to subdir because otherwise we won't find it if we're
21246  # using a relative directory.
21247  cp "$am_depcomp" conftest.dir
21248  cd conftest.dir
21249  # We will build objects and dependencies in a subdirectory because
21250  # it helps to detect inapplicable dependency modes.  For instance
21251  # both Tru64's cc and ICC support -MD to output dependencies as a
21252  # side effect of compilation, but ICC will put the dependencies in
21253  # the current directory while Tru64 will put them in the object
21254  # directory.
21255  mkdir sub
21256
21257  am_cv_CXX_dependencies_compiler_type=none
21258  if test "$am_compiler_list" = ""; then
21259     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21260  fi
21261  for depmode in $am_compiler_list; do
21262    # Setup a source with many dependencies, because some compilers
21263    # like to wrap large dependency lists on column 80 (with \), and
21264    # we should not choose a depcomp mode which is confused by this.
21265    #
21266    # We need to recreate these files for each test, as the compiler may
21267    # overwrite some of them when testing with obscure command lines.
21268    # This happens at least with the AIX C compiler.
21269    : > sub/conftest.c
21270    for i in 1 2 3 4 5 6; do
21271      echo '#include "conftst'$i'.h"' >> sub/conftest.c
21272      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21273      # Solaris 8's {/usr,}/bin/sh.
21274      touch sub/conftst$i.h
21275    done
21276    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21277
21278    case $depmode in
21279    nosideeffect)
21280      # after this tag, mechanisms are not by side-effect, so they'll
21281      # only be used when explicitly requested
21282      if test "x$enable_dependency_tracking" = xyes; then
21283	continue
21284      else
21285	break
21286      fi
21287      ;;
21288    none) break ;;
21289    esac
21290    # We check with `-c' and `-o' for the sake of the "dashmstdout"
21291    # mode.  It turns out that the SunPro C++ compiler does not properly
21292    # handle `-M -o', and we need to detect this.
21293    if depmode=$depmode \
21294       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
21295       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21296       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
21297         >/dev/null 2>conftest.err &&
21298       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21299       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21300       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
21301       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21302      # icc doesn't choke on unknown options, it will just issue warnings
21303      # or remarks (even with -Werror).  So we grep stderr for any message
21304      # that says an option was ignored or not supported.
21305      # When given -MP, icc 7.0 and 7.1 complain thusly:
21306      #   icc: Command line warning: ignoring option '-M'; no argument required
21307      # The diagnosis changed in icc 8.0:
21308      #   icc: Command line remark: option '-MP' not supported
21309      if (grep 'ignoring option' conftest.err ||
21310          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21311        am_cv_CXX_dependencies_compiler_type=$depmode
21312        break
21313      fi
21314    fi
21315  done
21316
21317  cd ..
21318  rm -rf conftest.dir
21319else
21320  am_cv_CXX_dependencies_compiler_type=none
21321fi
21322
21323fi
21324{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
21325$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
21326CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
21327
21328 if
21329  test "x$enable_dependency_tracking" != xno \
21330  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
21331  am__fastdepCXX_TRUE=
21332  am__fastdepCXX_FALSE='#'
21333else
21334  am__fastdepCXX_TRUE='#'
21335  am__fastdepCXX_FALSE=
21336fi
21337
21338
21339ac_ext=cpp
21340ac_cpp='$CXXCPP $CPPFLAGS'
21341ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21342ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21343ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21344
21345
21346
21347# Create a list of input directories for Doxygen.  We have to check wether
21348# we are building in the source directory, because Doxygen doesn't like
21349# duplicated directories in the input list.
21350LIBGLADEMM_DOXYGEN_INPUT=''
21351gtkmm_srcdir=`cd "$srcdir" && pwd`
21352gtkmm_builddir=`pwd`
21353for sublib in libglade
21354do
21355  LIBGLADEMM_DOXYGEN_INPUT="$LIBGLADEMM_DOXYGEN_INPUT $gtkmm_builddir/$sublib/$sublib""mm/"
21356  test "x$gtkmm_builddir" = "x$gtkmm_srcdir" || \
21357    LIBGLADEMM_DOXYGEN_INPUT="$LIBGLADEMM_DOXYGEN_INPUT $gtkmm_srcdir/$sublib/$sublib""mm/"
21358done
21359
21360
21361
21362# Used in build_shared/Makefile_gensrc.am_fragment:
21363GTKMMPROC_MERGECDOCS=''
21364test "x$gtkmm_enable_fulldocs" = "xyes" && GTKMMPROC_MERGECDOCS='--mergecdocs'
21365
21366
21367# Dummy conditional just to make automake-1.4 happy.
21368# We need an always-false condition in docs/Makefile.am.
21369 if false; then
21370  LIBGLADEMM_FALSE_TRUE=
21371  LIBGLADEMM_FALSE_FALSE='#'
21372else
21373  LIBGLADEMM_FALSE_TRUE='#'
21374  LIBGLADEMM_FALSE_FALSE=
21375fi
21376
21377
21378# HACK:  Assign a dummy in order to prevent execution of autoheader by the
21379# maintainer-mode rules.  That would fail since we aren't using autoheader.
21380AUTOHEADER=':'
21381
21382
21383ac_config_files="$ac_config_files Makefile libglade/Makefile libglade/libglademm-2.4.pc libglade/libglademm-2.4-uninstalled.pc libglade/src/Makefile libglade/libglademm/Makefile libglade/libglademm/private/Makefile tools/Makefile tools/extra_defs_gen/Makefile tools/m4/Makefile examples/Makefile examples/basic/Makefile examples/basic_from_buffer/Makefile examples/derived/Makefile examples/menus/Makefile examples/variablesmap/Makefile scripts/Makefile docs/Makefile docs/reference/Makefile docs/reference/Doxyfile libglademm.spec MSVC_Net2005/Makefile MSVC_Net2005/gendef/Makefile MSVC_Net2005/libglademm/Makefile MSVC_Net2005/libglademm/libglademm-2.4.rc MSVC_Net2005/examples/Makefile MSVC_Net2005/examples/basic/Makefile MSVC_Net2005/examples/derived/Makefile MSVC_Net2005/examples/menus/Makefile MSVC_Net2005/examples/variablesmap/Makefile"
21384
21385cat >confcache <<\_ACEOF
21386# This file is a shell script that caches the results of configure
21387# tests run on this system so they can be shared between configure
21388# scripts and configure runs, see configure's option --config-cache.
21389# It is not useful on other systems.  If it contains results you don't
21390# want to keep, you may remove or edit it.
21391#
21392# config.status only pays attention to the cache file if you give it
21393# the --recheck option to rerun configure.
21394#
21395# `ac_cv_env_foo' variables (set or unset) will be overridden when
21396# loading this file, other *unset* `ac_cv_foo' will be assigned the
21397# following values.
21398
21399_ACEOF
21400
21401# The following way of writing the cache mishandles newlines in values,
21402# but we know of no workaround that is simple, portable, and efficient.
21403# So, we kill variables containing newlines.
21404# Ultrix sh set writes to stderr and can't be redirected directly,
21405# and sets the high bit in the cache file unless we assign to the vars.
21406(
21407  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21408    eval ac_val=\$$ac_var
21409    case $ac_val in #(
21410    *${as_nl}*)
21411      case $ac_var in #(
21412      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21413$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21414      esac
21415      case $ac_var in #(
21416      _ | IFS | as_nl) ;; #(
21417      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21418      *) $as_unset $ac_var ;;
21419      esac ;;
21420    esac
21421  done
21422
21423  (set) 2>&1 |
21424    case $as_nl`(ac_space=' '; set) 2>&1` in #(
21425    *${as_nl}ac_space=\ *)
21426      # `set' does not quote correctly, so add quotes (double-quote
21427      # substitution turns \\\\ into \\, and sed turns \\ into \).
21428      sed -n \
21429	"s/'/'\\\\''/g;
21430	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21431      ;; #(
21432    *)
21433      # `set' quotes correctly as required by POSIX, so do not add quotes.
21434      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21435      ;;
21436    esac |
21437    sort
21438) |
21439  sed '
21440     /^ac_cv_env_/b end
21441     t clear
21442     :clear
21443     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21444     t end
21445     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21446     :end' >>confcache
21447if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21448  if test -w "$cache_file"; then
21449    test "x$cache_file" != "x/dev/null" &&
21450      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
21451$as_echo "$as_me: updating cache $cache_file" >&6;}
21452    cat confcache >$cache_file
21453  else
21454    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21455$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21456  fi
21457fi
21458rm -f confcache
21459
21460test "x$prefix" = xNONE && prefix=$ac_default_prefix
21461# Let make expand exec_prefix.
21462test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21463
21464DEFS=-DHAVE_CONFIG_H
21465
21466ac_libobjs=
21467ac_ltlibobjs=
21468for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21469  # 1. Remove the extension, and $U if already installed.
21470  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21471  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21472  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
21473  #    will be set to the directory where LIBOBJS objects are built.
21474  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21475  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21476done
21477LIBOBJS=$ac_libobjs
21478
21479LTLIBOBJS=$ac_ltlibobjs
21480
21481
21482if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21483  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21484Usually this means the macro was only invoked conditionally." >&5
21485$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21486Usually this means the macro was only invoked conditionally." >&2;}
21487   { (exit 1); exit 1; }; }
21488fi
21489if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21490  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21491Usually this means the macro was only invoked conditionally." >&5
21492$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
21493Usually this means the macro was only invoked conditionally." >&2;}
21494   { (exit 1); exit 1; }; }
21495fi
21496if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21497  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21498Usually this means the macro was only invoked conditionally." >&5
21499$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21500Usually this means the macro was only invoked conditionally." >&2;}
21501   { (exit 1); exit 1; }; }
21502fi
21503if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21504  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21505Usually this means the macro was only invoked conditionally." >&5
21506$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21507Usually this means the macro was only invoked conditionally." >&2;}
21508   { (exit 1); exit 1; }; }
21509fi
21510if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
21511  { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
21512Usually this means the macro was only invoked conditionally." >&5
21513$as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
21514Usually this means the macro was only invoked conditionally." >&2;}
21515   { (exit 1); exit 1; }; }
21516fi
21517if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
21518  { { $as_echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined.
21519Usually this means the macro was only invoked conditionally." >&5
21520$as_echo "$as_me: error: conditional \"OS_WIN32\" was never defined.
21521Usually this means the macro was only invoked conditionally." >&2;}
21522   { (exit 1); exit 1; }; }
21523fi
21524if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21525  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21526Usually this means the macro was only invoked conditionally." >&5
21527$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21528Usually this means the macro was only invoked conditionally." >&2;}
21529   { (exit 1); exit 1; }; }
21530fi
21531if test -z "${LIBGLADEMM_FALSE_TRUE}" && test -z "${LIBGLADEMM_FALSE_FALSE}"; then
21532  { { $as_echo "$as_me:$LINENO: error: conditional \"LIBGLADEMM_FALSE\" was never defined.
21533Usually this means the macro was only invoked conditionally." >&5
21534$as_echo "$as_me: error: conditional \"LIBGLADEMM_FALSE\" was never defined.
21535Usually this means the macro was only invoked conditionally." >&2;}
21536   { (exit 1); exit 1; }; }
21537fi
21538
21539: ${CONFIG_STATUS=./config.status}
21540ac_write_fail=0
21541ac_clean_files_save=$ac_clean_files
21542ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21543{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21544$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21545cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21546#! $SHELL
21547# Generated by $as_me.
21548# Run this file to recreate the current configuration.
21549# Compiler output produced by configure, useful for debugging
21550# configure, is in config.log if it exists.
21551
21552debug=false
21553ac_cs_recheck=false
21554ac_cs_silent=false
21555SHELL=\${CONFIG_SHELL-$SHELL}
21556_ACEOF
21557
21558cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21559## --------------------- ##
21560## M4sh Initialization.  ##
21561## --------------------- ##
21562
21563# Be more Bourne compatible
21564DUALCASE=1; export DUALCASE # for MKS sh
21565if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21566  emulate sh
21567  NULLCMD=:
21568  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21569  # is contrary to our usage.  Disable this feature.
21570  alias -g '${1+"$@"}'='"$@"'
21571  setopt NO_GLOB_SUBST
21572else
21573  case `(set -o) 2>/dev/null` in
21574  *posix*) set -o posix ;;
21575esac
21576
21577fi
21578
21579
21580
21581
21582# PATH needs CR
21583# Avoid depending upon Character Ranges.
21584as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21585as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21586as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21587as_cr_digits='0123456789'
21588as_cr_alnum=$as_cr_Letters$as_cr_digits
21589
21590as_nl='
21591'
21592export as_nl
21593# Printing a long string crashes Solaris 7 /usr/bin/printf.
21594as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21595as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21596as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21597if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21598  as_echo='printf %s\n'
21599  as_echo_n='printf %s'
21600else
21601  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21602    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21603    as_echo_n='/usr/ucb/echo -n'
21604  else
21605    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21606    as_echo_n_body='eval
21607      arg=$1;
21608      case $arg in
21609      *"$as_nl"*)
21610	expr "X$arg" : "X\\(.*\\)$as_nl";
21611	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21612      esac;
21613      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21614    '
21615    export as_echo_n_body
21616    as_echo_n='sh -c $as_echo_n_body as_echo'
21617  fi
21618  export as_echo_body
21619  as_echo='sh -c $as_echo_body as_echo'
21620fi
21621
21622# The user is always right.
21623if test "${PATH_SEPARATOR+set}" != set; then
21624  PATH_SEPARATOR=:
21625  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21626    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21627      PATH_SEPARATOR=';'
21628  }
21629fi
21630
21631# Support unset when possible.
21632if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21633  as_unset=unset
21634else
21635  as_unset=false
21636fi
21637
21638
21639# IFS
21640# We need space, tab and new line, in precisely that order.  Quoting is
21641# there to prevent editors from complaining about space-tab.
21642# (If _AS_PATH_WALK were called with IFS unset, it would disable word
21643# splitting by setting IFS to empty value.)
21644IFS=" ""	$as_nl"
21645
21646# Find who we are.  Look in the path if we contain no directory separator.
21647case $0 in
21648  *[\\/]* ) as_myself=$0 ;;
21649  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21650for as_dir in $PATH
21651do
21652  IFS=$as_save_IFS
21653  test -z "$as_dir" && as_dir=.
21654  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21655done
21656IFS=$as_save_IFS
21657
21658     ;;
21659esac
21660# We did not find ourselves, most probably we were run as `sh COMMAND'
21661# in which case we are not to be found in the path.
21662if test "x$as_myself" = x; then
21663  as_myself=$0
21664fi
21665if test ! -f "$as_myself"; then
21666  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21667  { (exit 1); exit 1; }
21668fi
21669
21670# Work around bugs in pre-3.0 UWIN ksh.
21671for as_var in ENV MAIL MAILPATH
21672do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21673done
21674PS1='$ '
21675PS2='> '
21676PS4='+ '
21677
21678# NLS nuisances.
21679LC_ALL=C
21680export LC_ALL
21681LANGUAGE=C
21682export LANGUAGE
21683
21684# Required to use basename.
21685if expr a : '\(a\)' >/dev/null 2>&1 &&
21686   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21687  as_expr=expr
21688else
21689  as_expr=false
21690fi
21691
21692if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21693  as_basename=basename
21694else
21695  as_basename=false
21696fi
21697
21698
21699# Name of the executable.
21700as_me=`$as_basename -- "$0" ||
21701$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21702	 X"$0" : 'X\(//\)$' \| \
21703	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21704$as_echo X/"$0" |
21705    sed '/^.*\/\([^/][^/]*\)\/*$/{
21706	    s//\1/
21707	    q
21708	  }
21709	  /^X\/\(\/\/\)$/{
21710	    s//\1/
21711	    q
21712	  }
21713	  /^X\/\(\/\).*/{
21714	    s//\1/
21715	    q
21716	  }
21717	  s/.*/./; q'`
21718
21719# CDPATH.
21720$as_unset CDPATH
21721
21722
21723
21724  as_lineno_1=$LINENO
21725  as_lineno_2=$LINENO
21726  test "x$as_lineno_1" != "x$as_lineno_2" &&
21727  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21728
21729  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21730  # uniformly replaced by the line number.  The first 'sed' inserts a
21731  # line-number line after each line using $LINENO; the second 'sed'
21732  # does the real work.  The second script uses 'N' to pair each
21733  # line-number line with the line containing $LINENO, and appends
21734  # trailing '-' during substitution so that $LINENO is not a special
21735  # case at line end.
21736  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21737  # scripts with optimization help from Paolo Bonzini.  Blame Lee
21738  # E. McMahon (1931-1989) for sed's syntax.  :-)
21739  sed -n '
21740    p
21741    /[$]LINENO/=
21742  ' <$as_myself |
21743    sed '
21744      s/[$]LINENO.*/&-/
21745      t lineno
21746      b
21747      :lineno
21748      N
21749      :loop
21750      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21751      t loop
21752      s/-\n.*//
21753    ' >$as_me.lineno &&
21754  chmod +x "$as_me.lineno" ||
21755    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21756   { (exit 1); exit 1; }; }
21757
21758  # Don't try to exec as it changes $[0], causing all sort of problems
21759  # (the dirname of $[0] is not the place where we might find the
21760  # original and so on.  Autoconf is especially sensitive to this).
21761  . "./$as_me.lineno"
21762  # Exit status is that of the last command.
21763  exit
21764}
21765
21766
21767if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21768  as_dirname=dirname
21769else
21770  as_dirname=false
21771fi
21772
21773ECHO_C= ECHO_N= ECHO_T=
21774case `echo -n x` in
21775-n*)
21776  case `echo 'x\c'` in
21777  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
21778  *)   ECHO_C='\c';;
21779  esac;;
21780*)
21781  ECHO_N='-n';;
21782esac
21783if expr a : '\(a\)' >/dev/null 2>&1 &&
21784   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21785  as_expr=expr
21786else
21787  as_expr=false
21788fi
21789
21790rm -f conf$$ conf$$.exe conf$$.file
21791if test -d conf$$.dir; then
21792  rm -f conf$$.dir/conf$$.file
21793else
21794  rm -f conf$$.dir
21795  mkdir conf$$.dir 2>/dev/null
21796fi
21797if (echo >conf$$.file) 2>/dev/null; then
21798  if ln -s conf$$.file conf$$ 2>/dev/null; then
21799    as_ln_s='ln -s'
21800    # ... but there are two gotchas:
21801    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21802    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21803    # In both cases, we have to default to `cp -p'.
21804    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21805      as_ln_s='cp -p'
21806  elif ln conf$$.file conf$$ 2>/dev/null; then
21807    as_ln_s=ln
21808  else
21809    as_ln_s='cp -p'
21810  fi
21811else
21812  as_ln_s='cp -p'
21813fi
21814rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21815rmdir conf$$.dir 2>/dev/null
21816
21817if mkdir -p . 2>/dev/null; then
21818  as_mkdir_p=:
21819else
21820  test -d ./-p && rmdir ./-p
21821  as_mkdir_p=false
21822fi
21823
21824if test -x / >/dev/null 2>&1; then
21825  as_test_x='test -x'
21826else
21827  if ls -dL / >/dev/null 2>&1; then
21828    as_ls_L_option=L
21829  else
21830    as_ls_L_option=
21831  fi
21832  as_test_x='
21833    eval sh -c '\''
21834      if test -d "$1"; then
21835	test -d "$1/.";
21836      else
21837	case $1 in
21838	-*)set "./$1";;
21839	esac;
21840	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21841	???[sx]*):;;*)false;;esac;fi
21842    '\'' sh
21843  '
21844fi
21845as_executable_p=$as_test_x
21846
21847# Sed expression to map a string onto a valid CPP name.
21848as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21849
21850# Sed expression to map a string onto a valid variable name.
21851as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21852
21853
21854exec 6>&1
21855
21856# Save the log message, to keep $[0] and so on meaningful, and to
21857# report actual input values of CONFIG_FILES etc. instead of their
21858# values after options handling.
21859ac_log="
21860This file was extended by $as_me, which was
21861generated by GNU Autoconf 2.62.  Invocation command line was
21862
21863  CONFIG_FILES    = $CONFIG_FILES
21864  CONFIG_HEADERS  = $CONFIG_HEADERS
21865  CONFIG_LINKS    = $CONFIG_LINKS
21866  CONFIG_COMMANDS = $CONFIG_COMMANDS
21867  $ $0 $@
21868
21869on `(hostname || uname -n) 2>/dev/null | sed 1q`
21870"
21871
21872_ACEOF
21873
21874cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21875# Files that config.status was made for.
21876config_files="$ac_config_files"
21877config_headers="$ac_config_headers"
21878config_commands="$ac_config_commands"
21879
21880_ACEOF
21881
21882cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21883ac_cs_usage="\
21884\`$as_me' instantiates files from templates according to the
21885current configuration.
21886
21887Usage: $0 [OPTIONS] [FILE]...
21888
21889  -h, --help       print this help, then exit
21890  -V, --version    print version number and configuration settings, then exit
21891  -q, --quiet      do not print progress messages
21892  -d, --debug      don't remove temporary files
21893      --recheck    update $as_me by reconfiguring in the same conditions
21894  --file=FILE[:TEMPLATE]
21895                   instantiate the configuration file FILE
21896  --header=FILE[:TEMPLATE]
21897                   instantiate the configuration header FILE
21898
21899Configuration files:
21900$config_files
21901
21902Configuration headers:
21903$config_headers
21904
21905Configuration commands:
21906$config_commands
21907
21908Report bugs to <bug-autoconf@gnu.org>."
21909
21910_ACEOF
21911cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21912ac_cs_version="\\
21913config.status
21914configured by $0, generated by GNU Autoconf 2.62,
21915  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21916
21917Copyright (C) 2008 Free Software Foundation, Inc.
21918This config.status script is free software; the Free Software Foundation
21919gives unlimited permission to copy, distribute and modify it."
21920
21921ac_pwd='$ac_pwd'
21922srcdir='$srcdir'
21923INSTALL='$INSTALL'
21924MKDIR_P='$MKDIR_P'
21925AWK='$AWK'
21926test -n "\$AWK" || AWK=awk
21927_ACEOF
21928
21929cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21930# The default lists apply if the user does not specify any file.
21931ac_need_defaults=:
21932while test $# != 0
21933do
21934  case $1 in
21935  --*=*)
21936    ac_option=`expr "X$1" : 'X\([^=]*\)='`
21937    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21938    ac_shift=:
21939    ;;
21940  *)
21941    ac_option=$1
21942    ac_optarg=$2
21943    ac_shift=shift
21944    ;;
21945  esac
21946
21947  case $ac_option in
21948  # Handling of the options.
21949  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21950    ac_cs_recheck=: ;;
21951  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21952    $as_echo "$ac_cs_version"; exit ;;
21953  --debug | --debu | --deb | --de | --d | -d )
21954    debug=: ;;
21955  --file | --fil | --fi | --f )
21956    $ac_shift
21957    case $ac_optarg in
21958    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21959    esac
21960    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
21961    ac_need_defaults=false;;
21962  --header | --heade | --head | --hea )
21963    $ac_shift
21964    case $ac_optarg in
21965    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21966    esac
21967    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
21968    ac_need_defaults=false;;
21969  --he | --h)
21970    # Conflict between --help and --header
21971    { $as_echo "$as_me: error: ambiguous option: $1
21972Try \`$0 --help' for more information." >&2
21973   { (exit 1); exit 1; }; };;
21974  --help | --hel | -h )
21975    $as_echo "$ac_cs_usage"; exit ;;
21976  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21977  | -silent | --silent | --silen | --sile | --sil | --si | --s)
21978    ac_cs_silent=: ;;
21979
21980  # This is an error.
21981  -*) { $as_echo "$as_me: error: unrecognized option: $1
21982Try \`$0 --help' for more information." >&2
21983   { (exit 1); exit 1; }; } ;;
21984
21985  *) ac_config_targets="$ac_config_targets $1"
21986     ac_need_defaults=false ;;
21987
21988  esac
21989  shift
21990done
21991
21992ac_configure_extra_args=
21993
21994if $ac_cs_silent; then
21995  exec 6>/dev/null
21996  ac_configure_extra_args="$ac_configure_extra_args --silent"
21997fi
21998
21999_ACEOF
22000cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22001if \$ac_cs_recheck; then
22002  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22003  shift
22004  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22005  CONFIG_SHELL='$SHELL'
22006  export CONFIG_SHELL
22007  exec "\$@"
22008fi
22009
22010_ACEOF
22011cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22012exec 5>>config.log
22013{
22014  echo
22015  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22016## Running $as_me. ##
22017_ASBOX
22018  $as_echo "$ac_log"
22019} >&5
22020
22021_ACEOF
22022cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22023#
22024# INIT-COMMANDS
22025#
22026AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22027
22028_ACEOF
22029
22030cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22031
22032# Handling of arguments.
22033for ac_config_target in $ac_config_targets
22034do
22035  case $ac_config_target in
22036    "libglade/libglademmconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS libglade/libglademmconfig.h" ;;
22037    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22038    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22039    "libglade/Makefile") CONFIG_FILES="$CONFIG_FILES libglade/Makefile" ;;
22040    "libglade/libglademm-2.4.pc") CONFIG_FILES="$CONFIG_FILES libglade/libglademm-2.4.pc" ;;
22041    "libglade/libglademm-2.4-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libglade/libglademm-2.4-uninstalled.pc" ;;
22042    "libglade/src/Makefile") CONFIG_FILES="$CONFIG_FILES libglade/src/Makefile" ;;
22043    "libglade/libglademm/Makefile") CONFIG_FILES="$CONFIG_FILES libglade/libglademm/Makefile" ;;
22044    "libglade/libglademm/private/Makefile") CONFIG_FILES="$CONFIG_FILES libglade/libglademm/private/Makefile" ;;
22045    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22046    "tools/extra_defs_gen/Makefile") CONFIG_FILES="$CONFIG_FILES tools/extra_defs_gen/Makefile" ;;
22047    "tools/m4/Makefile") CONFIG_FILES="$CONFIG_FILES tools/m4/Makefile" ;;
22048    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
22049    "examples/basic/Makefile") CONFIG_FILES="$CONFIG_FILES examples/basic/Makefile" ;;
22050    "examples/basic_from_buffer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/basic_from_buffer/Makefile" ;;
22051    "examples/derived/Makefile") CONFIG_FILES="$CONFIG_FILES examples/derived/Makefile" ;;
22052    "examples/menus/Makefile") CONFIG_FILES="$CONFIG_FILES examples/menus/Makefile" ;;
22053    "examples/variablesmap/Makefile") CONFIG_FILES="$CONFIG_FILES examples/variablesmap/Makefile" ;;
22054    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
22055    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
22056    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
22057    "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
22058    "libglademm.spec") CONFIG_FILES="$CONFIG_FILES libglademm.spec" ;;
22059    "MSVC_Net2005/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/Makefile" ;;
22060    "MSVC_Net2005/gendef/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/gendef/Makefile" ;;
22061    "MSVC_Net2005/libglademm/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/libglademm/Makefile" ;;
22062    "MSVC_Net2005/libglademm/libglademm-2.4.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/libglademm/libglademm-2.4.rc" ;;
22063    "MSVC_Net2005/examples/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/examples/Makefile" ;;
22064    "MSVC_Net2005/examples/basic/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/examples/basic/Makefile" ;;
22065    "MSVC_Net2005/examples/derived/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/examples/derived/Makefile" ;;
22066    "MSVC_Net2005/examples/menus/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/examples/menus/Makefile" ;;
22067    "MSVC_Net2005/examples/variablesmap/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/examples/variablesmap/Makefile" ;;
22068
22069  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22070$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22071   { (exit 1); exit 1; }; };;
22072  esac
22073done
22074
22075
22076# If the user did not use the arguments to specify the items to instantiate,
22077# then the envvar interface is used.  Set only those that are not.
22078# We use the long form for the default assignment because of an extremely
22079# bizarre bug on SunOS 4.1.3.
22080if $ac_need_defaults; then
22081  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22082  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22083  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22084fi
22085
22086# Have a temporary directory for convenience.  Make it in the build tree
22087# simply because there is no reason against having it here, and in addition,
22088# creating and moving files from /tmp can sometimes cause problems.
22089# Hook for its removal unless debugging.
22090# Note that there is a small window in which the directory will not be cleaned:
22091# after its creation but before its name has been assigned to `$tmp'.
22092$debug ||
22093{
22094  tmp=
22095  trap 'exit_status=$?
22096  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22097' 0
22098  trap '{ (exit 1); exit 1; }' 1 2 13 15
22099}
22100# Create a (secure) tmp directory for tmp files.
22101
22102{
22103  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22104  test -n "$tmp" && test -d "$tmp"
22105}  ||
22106{
22107  tmp=./conf$$-$RANDOM
22108  (umask 077 && mkdir "$tmp")
22109} ||
22110{
22111   $as_echo "$as_me: cannot create a temporary directory in ." >&2
22112   { (exit 1); exit 1; }
22113}
22114
22115# Set up the scripts for CONFIG_FILES section.
22116# No need to generate them if there are no CONFIG_FILES.
22117# This happens for instance with `./config.status config.h'.
22118if test -n "$CONFIG_FILES"; then
22119
22120
22121ac_cr='
22122'
22123ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22124if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22125  ac_cs_awk_cr='\\r'
22126else
22127  ac_cs_awk_cr=$ac_cr
22128fi
22129
22130echo 'BEGIN {' >"$tmp/subs1.awk" &&
22131_ACEOF
22132
22133
22134{
22135  echo "cat >conf$$subs.awk <<_ACEOF" &&
22136  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22137  echo "_ACEOF"
22138} >conf$$subs.sh ||
22139  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22140$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22141   { (exit 1); exit 1; }; }
22142ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
22143ac_delim='%!_!# '
22144for ac_last_try in false false false false false :; do
22145  . ./conf$$subs.sh ||
22146    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22147$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22148   { (exit 1); exit 1; }; }
22149
22150  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
22151    break
22152  elif $ac_last_try; then
22153    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22154$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22155   { (exit 1); exit 1; }; }
22156  else
22157    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22158  fi
22159done
22160rm -f conf$$subs.sh
22161
22162cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22163cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
22164_ACEOF
22165sed -n '
22166h
22167s/^/S["/; s/!.*/"]=/
22168p
22169g
22170s/^[^!]*!//
22171:repl
22172t repl
22173s/'"$ac_delim"'$//
22174t delim
22175:nl
22176h
22177s/\(.\{148\}\).*/\1/
22178t more1
22179s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22180p
22181n
22182b repl
22183:more1
22184s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22185p
22186g
22187s/.\{148\}//
22188t nl
22189:delim
22190h
22191s/\(.\{148\}\).*/\1/
22192t more2
22193s/["\\]/\\&/g; s/^/"/; s/$/"/
22194p
22195b
22196:more2
22197s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22198p
22199g
22200s/.\{148\}//
22201t delim
22202' <conf$$subs.awk | sed '
22203/^[^""]/{
22204  N
22205  s/\n//
22206}
22207' >>$CONFIG_STATUS || ac_write_fail=1
22208rm -f conf$$subs.awk
22209cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22210_ACAWK
22211cat >>"\$tmp/subs1.awk" <<_ACAWK &&
22212  for (key in S) S_is_set[key] = 1
22213  FS = ""
22214
22215}
22216{
22217  line = $ 0
22218  nfields = split(line, field, "@")
22219  substed = 0
22220  len = length(field[1])
22221  for (i = 2; i < nfields; i++) {
22222    key = field[i]
22223    keylen = length(key)
22224    if (S_is_set[key]) {
22225      value = S[key]
22226      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22227      len += length(value) + length(field[++i])
22228      substed = 1
22229    } else
22230      len += 1 + keylen
22231  }
22232
22233  print line
22234}
22235
22236_ACAWK
22237_ACEOF
22238cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22239if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22240  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22241else
22242  cat
22243fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
22244  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
22245$as_echo "$as_me: error: could not setup config files machinery" >&2;}
22246   { (exit 1); exit 1; }; }
22247_ACEOF
22248
22249# VPATH may cause trouble with some makes, so we remove $(srcdir),
22250# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22251# trailing colons and then remove the whole line if VPATH becomes empty
22252# (actually we leave an empty line to preserve line numbers).
22253if test "x$srcdir" = x.; then
22254  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
22255s/:*\$(srcdir):*/:/
22256s/:*\${srcdir}:*/:/
22257s/:*@srcdir@:*/:/
22258s/^\([^=]*=[	 ]*\):*/\1/
22259s/:*$//
22260s/^[^=]*=[	 ]*$//
22261}'
22262fi
22263
22264cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22265fi # test -n "$CONFIG_FILES"
22266
22267# Set up the scripts for CONFIG_HEADERS section.
22268# No need to generate them if there are no CONFIG_HEADERS.
22269# This happens for instance with `./config.status Makefile'.
22270if test -n "$CONFIG_HEADERS"; then
22271cat >"$tmp/defines.awk" <<\_ACAWK ||
22272BEGIN {
22273_ACEOF
22274
22275# Transform confdefs.h into an awk script `defines.awk', embedded as
22276# here-document in config.status, that substitutes the proper values into
22277# config.h.in to produce config.h.
22278
22279# Create a delimiter string that does not exist in confdefs.h, to ease
22280# handling of long lines.
22281ac_delim='%!_!# '
22282for ac_last_try in false false :; do
22283  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
22284  if test -z "$ac_t"; then
22285    break
22286  elif $ac_last_try; then
22287    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
22288$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
22289   { (exit 1); exit 1; }; }
22290  else
22291    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22292  fi
22293done
22294
22295# For the awk script, D is an array of macro values keyed by name,
22296# likewise P contains macro parameters if any.  Preserve backslash
22297# newline sequences.
22298
22299ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22300sed -n '
22301s/.\{148\}/&'"$ac_delim"'/g
22302t rset
22303:rset
22304s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
22305t def
22306d
22307:def
22308s/\\$//
22309t bsnl
22310s/["\\]/\\&/g
22311s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
22312D["\1"]=" \3"/p
22313s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
22314d
22315:bsnl
22316s/["\\]/\\&/g
22317s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
22318D["\1"]=" \3\\\\\\n"\\/p
22319t cont
22320s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22321t cont
22322d
22323:cont
22324n
22325s/.\{148\}/&'"$ac_delim"'/g
22326t clear
22327:clear
22328s/\\$//
22329t bsnlc
22330s/["\\]/\\&/g; s/^/"/; s/$/"/p
22331d
22332:bsnlc
22333s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22334b cont
22335' <confdefs.h | sed '
22336s/'"$ac_delim"'/"\\\
22337"/g' >>$CONFIG_STATUS || ac_write_fail=1
22338
22339cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22340  for (key in D) D_is_set[key] = 1
22341  FS = ""
22342}
22343/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22344  line = \$ 0
22345  split(line, arg, " ")
22346  if (arg[1] == "#") {
22347    defundef = arg[2]
22348    mac1 = arg[3]
22349  } else {
22350    defundef = substr(arg[1], 2)
22351    mac1 = arg[2]
22352  }
22353  split(mac1, mac2, "(") #)
22354  macro = mac2[1]
22355  if (D_is_set[macro]) {
22356    # Preserve the white space surrounding the "#".
22357    prefix = substr(line, 1, index(line, defundef) - 1)
22358    print prefix "define", macro P[macro] D[macro]
22359    next
22360  } else {
22361    # Replace #undef with comments.  This is necessary, for example,
22362    # in the case of _POSIX_SOURCE, which is predefined and required
22363    # on some systems where configure will not decide to define it.
22364    if (defundef == "undef") {
22365      print "/*", line, "*/"
22366      next
22367    }
22368  }
22369}
22370{ print }
22371_ACAWK
22372_ACEOF
22373cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22374  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
22375$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
22376   { (exit 1); exit 1; }; }
22377fi # test -n "$CONFIG_HEADERS"
22378
22379
22380eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
22381shift
22382for ac_tag
22383do
22384  case $ac_tag in
22385  :[FHLC]) ac_mode=$ac_tag; continue;;
22386  esac
22387  case $ac_mode$ac_tag in
22388  :[FHL]*:*);;
22389  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22390$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22391   { (exit 1); exit 1; }; };;
22392  :[FH]-) ac_tag=-:-;;
22393  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22394  esac
22395  ac_save_IFS=$IFS
22396  IFS=:
22397  set x $ac_tag
22398  IFS=$ac_save_IFS
22399  shift
22400  ac_file=$1
22401  shift
22402
22403  case $ac_mode in
22404  :L) ac_source=$1;;
22405  :[FH])
22406    ac_file_inputs=
22407    for ac_f
22408    do
22409      case $ac_f in
22410      -) ac_f="$tmp/stdin";;
22411      *) # Look for the file first in the build tree, then in the source tree
22412	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
22413	 # because $ac_f cannot contain `:'.
22414	 test -f "$ac_f" ||
22415	   case $ac_f in
22416	   [\\/$]*) false;;
22417	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22418	   esac ||
22419	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22420$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22421   { (exit 1); exit 1; }; };;
22422      esac
22423      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22424      ac_file_inputs="$ac_file_inputs '$ac_f'"
22425    done
22426
22427    # Let's still pretend it is `configure' which instantiates (i.e., don't
22428    # use $as_me), people would be surprised to read:
22429    #    /* config.h.  Generated by config.status.  */
22430    configure_input='Generated from '`
22431	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22432	`' by configure.'
22433    if test x"$ac_file" != x-; then
22434      configure_input="$ac_file.  $configure_input"
22435      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
22436$as_echo "$as_me: creating $ac_file" >&6;}
22437    fi
22438    # Neutralize special characters interpreted by sed in replacement strings.
22439    case $configure_input in #(
22440    *\&* | *\|* | *\\* )
22441       ac_sed_conf_input=`$as_echo "$configure_input" |
22442       sed 's/[\\\\&|]/\\\\&/g'`;; #(
22443    *) ac_sed_conf_input=$configure_input;;
22444    esac
22445
22446    case $ac_tag in
22447    *:-:* | *:-) cat >"$tmp/stdin" \
22448      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22449$as_echo "$as_me: error: could not create $ac_file" >&2;}
22450   { (exit 1); exit 1; }; } ;;
22451    esac
22452    ;;
22453  esac
22454
22455  ac_dir=`$as_dirname -- "$ac_file" ||
22456$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22457	 X"$ac_file" : 'X\(//\)[^/]' \| \
22458	 X"$ac_file" : 'X\(//\)$' \| \
22459	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22460$as_echo X"$ac_file" |
22461    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22462	    s//\1/
22463	    q
22464	  }
22465	  /^X\(\/\/\)[^/].*/{
22466	    s//\1/
22467	    q
22468	  }
22469	  /^X\(\/\/\)$/{
22470	    s//\1/
22471	    q
22472	  }
22473	  /^X\(\/\).*/{
22474	    s//\1/
22475	    q
22476	  }
22477	  s/.*/./; q'`
22478  { as_dir="$ac_dir"
22479  case $as_dir in #(
22480  -*) as_dir=./$as_dir;;
22481  esac
22482  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22483    as_dirs=
22484    while :; do
22485      case $as_dir in #(
22486      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22487      *) as_qdir=$as_dir;;
22488      esac
22489      as_dirs="'$as_qdir' $as_dirs"
22490      as_dir=`$as_dirname -- "$as_dir" ||
22491$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22492	 X"$as_dir" : 'X\(//\)[^/]' \| \
22493	 X"$as_dir" : 'X\(//\)$' \| \
22494	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22495$as_echo X"$as_dir" |
22496    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22497	    s//\1/
22498	    q
22499	  }
22500	  /^X\(\/\/\)[^/].*/{
22501	    s//\1/
22502	    q
22503	  }
22504	  /^X\(\/\/\)$/{
22505	    s//\1/
22506	    q
22507	  }
22508	  /^X\(\/\).*/{
22509	    s//\1/
22510	    q
22511	  }
22512	  s/.*/./; q'`
22513      test -d "$as_dir" && break
22514    done
22515    test -z "$as_dirs" || eval "mkdir $as_dirs"
22516  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22517$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22518   { (exit 1); exit 1; }; }; }
22519  ac_builddir=.
22520
22521case "$ac_dir" in
22522.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22523*)
22524  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22525  # A ".." for each directory in $ac_dir_suffix.
22526  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22527  case $ac_top_builddir_sub in
22528  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22529  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22530  esac ;;
22531esac
22532ac_abs_top_builddir=$ac_pwd
22533ac_abs_builddir=$ac_pwd$ac_dir_suffix
22534# for backward compatibility:
22535ac_top_builddir=$ac_top_build_prefix
22536
22537case $srcdir in
22538  .)  # We are building in place.
22539    ac_srcdir=.
22540    ac_top_srcdir=$ac_top_builddir_sub
22541    ac_abs_top_srcdir=$ac_pwd ;;
22542  [\\/]* | ?:[\\/]* )  # Absolute name.
22543    ac_srcdir=$srcdir$ac_dir_suffix;
22544    ac_top_srcdir=$srcdir
22545    ac_abs_top_srcdir=$srcdir ;;
22546  *) # Relative name.
22547    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22548    ac_top_srcdir=$ac_top_build_prefix$srcdir
22549    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22550esac
22551ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22552
22553
22554  case $ac_mode in
22555  :F)
22556  #
22557  # CONFIG_FILE
22558  #
22559
22560  case $INSTALL in
22561  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22562  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22563  esac
22564  ac_MKDIR_P=$MKDIR_P
22565  case $MKDIR_P in
22566  [\\/$]* | ?:[\\/]* ) ;;
22567  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
22568  esac
22569_ACEOF
22570
22571cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22572# If the template does not know about datarootdir, expand it.
22573# FIXME: This hack should be removed a few years after 2.60.
22574ac_datarootdir_hack=; ac_datarootdir_seen=
22575
22576ac_sed_dataroot='
22577/datarootdir/ {
22578  p
22579  q
22580}
22581/@datadir@/p
22582/@docdir@/p
22583/@infodir@/p
22584/@localedir@/p
22585/@mandir@/p
22586'
22587case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22588*datarootdir*) ac_datarootdir_seen=yes;;
22589*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22590  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22591$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22592_ACEOF
22593cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22594  ac_datarootdir_hack='
22595  s&@datadir@&$datadir&g
22596  s&@docdir@&$docdir&g
22597  s&@infodir@&$infodir&g
22598  s&@localedir@&$localedir&g
22599  s&@mandir@&$mandir&g
22600    s&\\\${datarootdir}&$datarootdir&g' ;;
22601esac
22602_ACEOF
22603
22604# Neutralize VPATH when `$srcdir' = `.'.
22605# Shell code in configure.ac might set extrasub.
22606# FIXME: do we really want to maintain this feature?
22607cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22608ac_sed_extra="$ac_vpsub
22609$extrasub
22610_ACEOF
22611cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22612:t
22613/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22614s|@configure_input@|$ac_sed_conf_input|;t t
22615s&@top_builddir@&$ac_top_builddir_sub&;t t
22616s&@top_build_prefix@&$ac_top_build_prefix&;t t
22617s&@srcdir@&$ac_srcdir&;t t
22618s&@abs_srcdir@&$ac_abs_srcdir&;t t
22619s&@top_srcdir@&$ac_top_srcdir&;t t
22620s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22621s&@builddir@&$ac_builddir&;t t
22622s&@abs_builddir@&$ac_abs_builddir&;t t
22623s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22624s&@INSTALL@&$ac_INSTALL&;t t
22625s&@MKDIR_P@&$ac_MKDIR_P&;t t
22626$ac_datarootdir_hack
22627"
22628eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22629  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22630$as_echo "$as_me: error: could not create $ac_file" >&2;}
22631   { (exit 1); exit 1; }; }
22632
22633test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22634  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22635  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22636  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22637which seems to be undefined.  Please make sure it is defined." >&5
22638$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22639which seems to be undefined.  Please make sure it is defined." >&2;}
22640
22641  rm -f "$tmp/stdin"
22642  case $ac_file in
22643  -) cat "$tmp/out" && rm -f "$tmp/out";;
22644  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22645  esac \
22646  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22647$as_echo "$as_me: error: could not create $ac_file" >&2;}
22648   { (exit 1); exit 1; }; }
22649 ;;
22650  :H)
22651  #
22652  # CONFIG_HEADER
22653  #
22654  if test x"$ac_file" != x-; then
22655    {
22656      $as_echo "/* $configure_input  */" \
22657      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22658    } >"$tmp/config.h" \
22659      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22660$as_echo "$as_me: error: could not create $ac_file" >&2;}
22661   { (exit 1); exit 1; }; }
22662    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22663      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22664$as_echo "$as_me: $ac_file is unchanged" >&6;}
22665    else
22666      rm -f "$ac_file"
22667      mv "$tmp/config.h" "$ac_file" \
22668	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22669$as_echo "$as_me: error: could not create $ac_file" >&2;}
22670   { (exit 1); exit 1; }; }
22671    fi
22672  else
22673    $as_echo "/* $configure_input  */" \
22674      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22675      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
22676$as_echo "$as_me: error: could not create -" >&2;}
22677   { (exit 1); exit 1; }; }
22678  fi
22679# Compute "$ac_file"'s index in $config_headers.
22680_am_arg="$ac_file"
22681_am_stamp_count=1
22682for _am_header in $config_headers :; do
22683  case $_am_header in
22684    $_am_arg | $_am_arg:* )
22685      break ;;
22686    * )
22687      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22688  esac
22689done
22690echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22691$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22692	 X"$_am_arg" : 'X\(//\)[^/]' \| \
22693	 X"$_am_arg" : 'X\(//\)$' \| \
22694	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22695$as_echo X"$_am_arg" |
22696    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22697	    s//\1/
22698	    q
22699	  }
22700	  /^X\(\/\/\)[^/].*/{
22701	    s//\1/
22702	    q
22703	  }
22704	  /^X\(\/\/\)$/{
22705	    s//\1/
22706	    q
22707	  }
22708	  /^X\(\/\).*/{
22709	    s//\1/
22710	    q
22711	  }
22712	  s/.*/./; q'`/stamp-h$_am_stamp_count
22713 ;;
22714
22715  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
22716$as_echo "$as_me: executing $ac_file commands" >&6;}
22717 ;;
22718  esac
22719
22720
22721  case $ac_file$ac_mode in
22722    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22723  # Strip MF so we end up with the name of the file.
22724  mf=`echo "$mf" | sed -e 's/:.*$//'`
22725  # Check whether this is an Automake generated Makefile or not.
22726  # We used to match only the files named `Makefile.in', but
22727  # some people rename them; so instead we look at the file content.
22728  # Grep'ing the first line is not enough: some people post-process
22729  # each Makefile.in and add a new line on top of each file to say so.
22730  # Grep'ing the whole file is not good either: AIX grep has a line
22731  # limit of 2048, but all sed's we know have understand at least 4000.
22732  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
22733    dirpart=`$as_dirname -- "$mf" ||
22734$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22735	 X"$mf" : 'X\(//\)[^/]' \| \
22736	 X"$mf" : 'X\(//\)$' \| \
22737	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22738$as_echo X"$mf" |
22739    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22740	    s//\1/
22741	    q
22742	  }
22743	  /^X\(\/\/\)[^/].*/{
22744	    s//\1/
22745	    q
22746	  }
22747	  /^X\(\/\/\)$/{
22748	    s//\1/
22749	    q
22750	  }
22751	  /^X\(\/\).*/{
22752	    s//\1/
22753	    q
22754	  }
22755	  s/.*/./; q'`
22756  else
22757    continue
22758  fi
22759  # Extract the definition of DEPDIR, am__include, and am__quote
22760  # from the Makefile without running `make'.
22761  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
22762  test -z "$DEPDIR" && continue
22763  am__include=`sed -n 's/^am__include = //p' < "$mf"`
22764  test -z "am__include" && continue
22765  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
22766  # When using ansi2knr, U may be empty or an underscore; expand it
22767  U=`sed -n 's/^U = //p' < "$mf"`
22768  # Find all dependency output files, they are included files with
22769  # $(DEPDIR) in their names.  We invoke sed twice because it is the
22770  # simplest approach to changing $(DEPDIR) to its actual value in the
22771  # expansion.
22772  for file in `sed -n "
22773    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22774       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22775    # Make sure the directory exists.
22776    test -f "$dirpart/$file" && continue
22777    fdir=`$as_dirname -- "$file" ||
22778$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22779	 X"$file" : 'X\(//\)[^/]' \| \
22780	 X"$file" : 'X\(//\)$' \| \
22781	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22782$as_echo X"$file" |
22783    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22784	    s//\1/
22785	    q
22786	  }
22787	  /^X\(\/\/\)[^/].*/{
22788	    s//\1/
22789	    q
22790	  }
22791	  /^X\(\/\/\)$/{
22792	    s//\1/
22793	    q
22794	  }
22795	  /^X\(\/\).*/{
22796	    s//\1/
22797	    q
22798	  }
22799	  s/.*/./; q'`
22800    { as_dir=$dirpart/$fdir
22801  case $as_dir in #(
22802  -*) as_dir=./$as_dir;;
22803  esac
22804  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22805    as_dirs=
22806    while :; do
22807      case $as_dir in #(
22808      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22809      *) as_qdir=$as_dir;;
22810      esac
22811      as_dirs="'$as_qdir' $as_dirs"
22812      as_dir=`$as_dirname -- "$as_dir" ||
22813$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22814	 X"$as_dir" : 'X\(//\)[^/]' \| \
22815	 X"$as_dir" : 'X\(//\)$' \| \
22816	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22817$as_echo X"$as_dir" |
22818    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22819	    s//\1/
22820	    q
22821	  }
22822	  /^X\(\/\/\)[^/].*/{
22823	    s//\1/
22824	    q
22825	  }
22826	  /^X\(\/\/\)$/{
22827	    s//\1/
22828	    q
22829	  }
22830	  /^X\(\/\).*/{
22831	    s//\1/
22832	    q
22833	  }
22834	  s/.*/./; q'`
22835      test -d "$as_dir" && break
22836    done
22837    test -z "$as_dirs" || eval "mkdir $as_dirs"
22838  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22839$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22840   { (exit 1); exit 1; }; }; }
22841    # echo "creating $dirpart/$file"
22842    echo '# dummy' > "$dirpart/$file"
22843  done
22844done
22845 ;;
22846
22847  esac
22848done # for ac_tag
22849
22850
22851{ (exit 0); exit 0; }
22852_ACEOF
22853chmod +x $CONFIG_STATUS
22854ac_clean_files=$ac_clean_files_save
22855
22856test $ac_write_fail = 0 ||
22857  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
22858$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
22859   { (exit 1); exit 1; }; }
22860
22861
22862# configure is writing to config.log, and then calls config.status.
22863# config.status does its own redirection, appending to config.log.
22864# Unfortunately, on DOS this fails, as config.log is still kept open
22865# by configure, so config.status won't be able to write to it; its
22866# output is simply discarded.  So we exec the FD to /dev/null,
22867# effectively closing config.log, so it can be properly (re)opened and
22868# appended to by config.status.  When coming back to configure, we
22869# need to make the FD available again.
22870if test "$no_create" != yes; then
22871  ac_cs_success=:
22872  ac_config_status_args=
22873  test "$silent" = yes &&
22874    ac_config_status_args="$ac_config_status_args --quiet"
22875  exec 5>/dev/null
22876  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22877  exec 5>>config.log
22878  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22879  # would make configure fail if this is the last instruction.
22880  $ac_cs_success || { (exit 1); exit 1; }
22881fi
22882if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22883  { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
22884$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
22885fi
22886
22887
22888