1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65.
4#
5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8# Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92case $0 in #((
93  *[\\/]* ) as_myself=$0 ;;
94  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH
96do
97  IFS=$as_save_IFS
98  test -z "$as_dir" && as_dir=.
99    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100  done
101IFS=$as_save_IFS
102
103     ;;
104esac
105# We did not find ourselves, most probably we were run as `sh COMMAND'
106# in which case we are not to be found in the path.
107if test "x$as_myself" = x; then
108  as_myself=$0
109fi
110if test ! -f "$as_myself"; then
111  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112  exit 1
113fi
114
115# Unset variables that we do not need and which cause bugs (e.g. in
116# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117# suppresses any "Segmentation fault" message there.  '((' could
118# trigger a bug in pdksh 5.2.14.
119for as_var in BASH_ENV ENV MAIL MAILPATH
120do eval test x\${$as_var+set} = xset \
121  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122done
123PS1='$ '
124PS2='> '
125PS4='+ '
126
127# NLS nuisances.
128LC_ALL=C
129export LC_ALL
130LANGUAGE=C
131export LANGUAGE
132
133# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136if test "x$CONFIG_SHELL" = x; then
137  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138  emulate sh
139  NULLCMD=:
140  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141  # is contrary to our usage.  Disable this feature.
142  alias -g '\${1+\"\$@\"}'='\"\$@\"'
143  setopt NO_GLOB_SUBST
144else
145  case \`(set -o) 2>/dev/null\` in #(
146  *posix*) :
147    set -o posix ;; #(
148  *) :
149     ;;
150esac
151fi
152"
153  as_required="as_fn_return () { (exit \$1); }
154as_fn_success () { as_fn_return 0; }
155as_fn_failure () { as_fn_return 1; }
156as_fn_ret_success () { return 0; }
157as_fn_ret_failure () { return 1; }
158
159exitcode=0
160as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166else
167  exitcode=1; echo positional parameters were not saved.
168fi
169test x\$exitcode = x0 || exit 1"
170  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174test \$(( 1 + 1 )) = 2 || exit 1"
175  if (eval "$as_required") 2>/dev/null; then :
176  as_have_required=yes
177else
178  as_have_required=no
179fi
180  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182else
183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184as_found=false
185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186do
187  IFS=$as_save_IFS
188  test -z "$as_dir" && as_dir=.
189  as_found=:
190  case $as_dir in #(
191	 /*)
192	   for as_base in sh bash ksh sh5; do
193	     # Try only shells that exist, to save several forks.
194	     as_shell=$as_dir/$as_base
195	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197  CONFIG_SHELL=$as_shell as_have_required=yes
198		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199  break 2
200fi
201fi
202	   done;;
203       esac
204  as_found=false
205done
206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208  CONFIG_SHELL=$SHELL as_have_required=yes
209fi; }
210IFS=$as_save_IFS
211
212
213      if test "x$CONFIG_SHELL" != x; then :
214  # We cannot yet assume a decent shell, so we have to provide a
215	# neutralization value for shells without unset; and this also
216	# works around shells that cannot unset nonexistent variables.
217	BASH_ENV=/dev/null
218	ENV=/dev/null
219	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220	export CONFIG_SHELL
221	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222fi
223
224    if test x$as_have_required = xno; then :
225  $as_echo "$0: This script requires a shell more modern than all"
226  $as_echo "$0: the shells that I found on your system."
227  if test x${ZSH_VERSION+set} = xset ; then
228    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230  else
231    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232$0: including any error possibly output before this
233$0: message. Then install a modern shell, or manually run
234$0: the script under such a shell if you do have one."
235  fi
236  exit 1
237fi
238fi
239fi
240SHELL=${CONFIG_SHELL-/bin/sh}
241export SHELL
242# Unset more variables known to interfere with behavior of common tools.
243CLICOLOR_FORCE= GREP_OPTIONS=
244unset CLICOLOR_FORCE GREP_OPTIONS
245
246## --------------------- ##
247## M4sh Shell Functions. ##
248## --------------------- ##
249# as_fn_unset VAR
250# ---------------
251# Portably unset VAR.
252as_fn_unset ()
253{
254  { eval $1=; unset $1;}
255}
256as_unset=as_fn_unset
257
258# as_fn_set_status STATUS
259# -----------------------
260# Set $? to STATUS, without forking.
261as_fn_set_status ()
262{
263  return $1
264} # as_fn_set_status
265
266# as_fn_exit STATUS
267# -----------------
268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269as_fn_exit ()
270{
271  set +e
272  as_fn_set_status $1
273  exit $1
274} # as_fn_exit
275
276# as_fn_mkdir_p
277# -------------
278# Create "$as_dir" as a directory, including parents if necessary.
279as_fn_mkdir_p ()
280{
281
282  case $as_dir in #(
283  -*) as_dir=./$as_dir;;
284  esac
285  test -d "$as_dir" || eval $as_mkdir_p || {
286    as_dirs=
287    while :; do
288      case $as_dir in #(
289      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290      *) as_qdir=$as_dir;;
291      esac
292      as_dirs="'$as_qdir' $as_dirs"
293      as_dir=`$as_dirname -- "$as_dir" ||
294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295	 X"$as_dir" : 'X\(//\)[^/]' \| \
296	 X"$as_dir" : 'X\(//\)$' \| \
297	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298$as_echo X"$as_dir" |
299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300	    s//\1/
301	    q
302	  }
303	  /^X\(\/\/\)[^/].*/{
304	    s//\1/
305	    q
306	  }
307	  /^X\(\/\/\)$/{
308	    s//\1/
309	    q
310	  }
311	  /^X\(\/\).*/{
312	    s//\1/
313	    q
314	  }
315	  s/.*/./; q'`
316      test -d "$as_dir" && break
317    done
318    test -z "$as_dirs" || eval "mkdir $as_dirs"
319  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322} # as_fn_mkdir_p
323# as_fn_append VAR VALUE
324# ----------------------
325# Append the text in VALUE to the end of the definition contained in VAR. Take
326# advantage of any shell optimizations that allow amortized linear growth over
327# repeated appends, instead of the typical quadratic growth present in naive
328# implementations.
329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330  eval 'as_fn_append ()
331  {
332    eval $1+=\$2
333  }'
334else
335  as_fn_append ()
336  {
337    eval $1=\$$1\$2
338  }
339fi # as_fn_append
340
341# as_fn_arith ARG...
342# ------------------
343# Perform arithmetic evaluation on the ARGs, and store the result in the
344# global $as_val. Take advantage of shells that can avoid forks. The arguments
345# must be portable across $(()) and expr.
346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347  eval 'as_fn_arith ()
348  {
349    as_val=$(( $* ))
350  }'
351else
352  as_fn_arith ()
353  {
354    as_val=`expr "$@" || test $? -eq 1`
355  }
356fi # as_fn_arith
357
358
359# as_fn_error ERROR [LINENO LOG_FD]
360# ---------------------------------
361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363# script with status $?, using 1 if that was 0.
364as_fn_error ()
365{
366  as_status=$?; test $as_status -eq 0 && as_status=1
367  if test "$3"; then
368    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370  fi
371  $as_echo "$as_me: error: $1" >&2
372  as_fn_exit $as_status
373} # as_fn_error
374
375if expr a : '\(a\)' >/dev/null 2>&1 &&
376   test "X`expr 00001 : '.*\(...\)'`" = X001; then
377  as_expr=expr
378else
379  as_expr=false
380fi
381
382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383  as_basename=basename
384else
385  as_basename=false
386fi
387
388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389  as_dirname=dirname
390else
391  as_dirname=false
392fi
393
394as_me=`$as_basename -- "$0" ||
395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396	 X"$0" : 'X\(//\)$' \| \
397	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398$as_echo X/"$0" |
399    sed '/^.*\/\([^/][^/]*\)\/*$/{
400	    s//\1/
401	    q
402	  }
403	  /^X\/\(\/\/\)$/{
404	    s//\1/
405	    q
406	  }
407	  /^X\/\(\/\).*/{
408	    s//\1/
409	    q
410	  }
411	  s/.*/./; q'`
412
413# Avoid depending upon Character Ranges.
414as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417as_cr_digits='0123456789'
418as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421  as_lineno_1=$LINENO as_lineno_1a=$LINENO
422  as_lineno_2=$LINENO as_lineno_2a=$LINENO
423  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426  sed -n '
427    p
428    /[$]LINENO/=
429  ' <$as_myself |
430    sed '
431      s/[$]LINENO.*/&-/
432      t lineno
433      b
434      :lineno
435      N
436      :loop
437      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438      t loop
439      s/-\n.*//
440    ' >$as_me.lineno &&
441  chmod +x "$as_me.lineno" ||
442    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444  # Don't try to exec as it changes $[0], causing all sort of problems
445  # (the dirname of $[0] is not the place where we might find the
446  # original and so on.  Autoconf is especially sensitive to this).
447  . "./$as_me.lineno"
448  # Exit status is that of the last command.
449  exit
450}
451
452ECHO_C= ECHO_N= ECHO_T=
453case `echo -n x` in #(((((
454-n*)
455  case `echo 'xy\c'` in
456  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
457  xy)  ECHO_C='\c';;
458  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459       ECHO_T='	';;
460  esac;;
461*)
462  ECHO_N='-n';;
463esac
464
465rm -f conf$$ conf$$.exe conf$$.file
466if test -d conf$$.dir; then
467  rm -f conf$$.dir/conf$$.file
468else
469  rm -f conf$$.dir
470  mkdir conf$$.dir 2>/dev/null
471fi
472if (echo >conf$$.file) 2>/dev/null; then
473  if ln -s conf$$.file conf$$ 2>/dev/null; then
474    as_ln_s='ln -s'
475    # ... but there are two gotchas:
476    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478    # In both cases, we have to default to `cp -p'.
479    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480      as_ln_s='cp -p'
481  elif ln conf$$.file conf$$ 2>/dev/null; then
482    as_ln_s=ln
483  else
484    as_ln_s='cp -p'
485  fi
486else
487  as_ln_s='cp -p'
488fi
489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null
491
492if mkdir -p . 2>/dev/null; then
493  as_mkdir_p='mkdir -p "$as_dir"'
494else
495  test -d ./-p && rmdir ./-p
496  as_mkdir_p=false
497fi
498
499if test -x / >/dev/null 2>&1; then
500  as_test_x='test -x'
501else
502  if ls -dL / >/dev/null 2>&1; then
503    as_ls_L_option=L
504  else
505    as_ls_L_option=
506  fi
507  as_test_x='
508    eval sh -c '\''
509      if test -d "$1"; then
510	test -d "$1/.";
511      else
512	case $1 in #(
513	-*)set "./$1";;
514	esac;
515	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516	???[sx]*):;;*)false;;esac;fi
517    '\'' sh
518  '
519fi
520as_executable_p=$as_test_x
521
522# Sed expression to map a string onto a valid CPP name.
523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525# Sed expression to map a string onto a valid variable name.
526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529
530# Check that we are running under the correct shell.
531SHELL=${CONFIG_SHELL-/bin/sh}
532
533case X$lt_ECHO in
534X*--fallback-echo)
535  # Remove one level of quotation (which was required for Make).
536  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537  ;;
538esac
539
540ECHO=${lt_ECHO-echo}
541if test "X$1" = X--no-reexec; then
542  # Discard the --no-reexec flag, and continue.
543  shift
544elif test "X$1" = X--fallback-echo; then
545  # Avoid inline document here, it may be left over
546  :
547elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548  # Yippee, $ECHO works!
549  :
550else
551  # Restart under the correct shell.
552  exec $SHELL "$0" --no-reexec ${1+"$@"}
553fi
554
555if test "X$1" = X--fallback-echo; then
556  # used as fallback echo
557  shift
558  cat <<_LT_EOF
559$*
560_LT_EOF
561  exit 0
562fi
563
564# The HP-UX ksh and POSIX shell print the target directory to stdout
565# if CDPATH is set.
566(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
568if test -z "$lt_ECHO"; then
569  if test "X${echo_test_string+set}" != Xset; then
570    # find a string as large as possible, as long as the shell can cope with it
571    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575      then
576        break
577      fi
578    done
579  fi
580
581  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583     test "X$echo_testing_string" = "X$echo_test_string"; then
584    :
585  else
586    # The Solaris, AIX, and Digital Unix default echo programs unquote
587    # backslashes.  This makes it impossible to quote backslashes using
588    #   echo "$something" | sed 's/\\/\\\\/g'
589    #
590    # So, first we look for a working echo in the user's PATH.
591
592    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593    for dir in $PATH /usr/ucb; do
594      IFS="$lt_save_ifs"
595      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598         test "X$echo_testing_string" = "X$echo_test_string"; then
599        ECHO="$dir/echo"
600        break
601      fi
602    done
603    IFS="$lt_save_ifs"
604
605    if test "X$ECHO" = Xecho; then
606      # We didn't find a better echo, so look for alternatives.
607      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609         test "X$echo_testing_string" = "X$echo_test_string"; then
610        # This shell has a builtin print -r that does the trick.
611        ECHO='print -r'
612      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613	   test "X$CONFIG_SHELL" != X/bin/ksh; then
614        # If we have ksh, try running configure again with it.
615        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616        export ORIGINAL_CONFIG_SHELL
617        CONFIG_SHELL=/bin/ksh
618        export CONFIG_SHELL
619        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620      else
621        # Try using printf.
622        ECHO='printf %s\n'
623        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625	   test "X$echo_testing_string" = "X$echo_test_string"; then
626	  # Cool, printf works
627	  :
628        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629	     test "X$echo_testing_string" = 'X\t' &&
630	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631	     test "X$echo_testing_string" = "X$echo_test_string"; then
632	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633	  export CONFIG_SHELL
634	  SHELL="$CONFIG_SHELL"
635	  export SHELL
636	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
637        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638	     test "X$echo_testing_string" = 'X\t' &&
639	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640	     test "X$echo_testing_string" = "X$echo_test_string"; then
641	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
642        else
643	  # maybe with a smaller string...
644	  prev=:
645
646	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648	    then
649	      break
650	    fi
651	    prev="$cmd"
652	  done
653
654	  if test "$prev" != 'sed 50q "$0"'; then
655	    echo_test_string=`eval $prev`
656	    export echo_test_string
657	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658	  else
659	    # Oops.  We lost completely, so just stick with echo.
660	    ECHO=echo
661	  fi
662        fi
663      fi
664    fi
665  fi
666fi
667
668# Copy echo and quote the copy suitably for passing to libtool from
669# the Makefile, instead of quoting the original, which is used later.
670lt_ECHO=$ECHO
671if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673fi
674
675
676
677
678test -n "$DJDIR" || exec 7<&0 </dev/null
679exec 6>&1
680
681# Name of the host.
682# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683# so uname gets run too.
684ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
686#
687# Initializations.
688#
689ac_default_prefix=/usr/local
690ac_clean_files=
691ac_config_libobj_dir=.
692LIBOBJS=
693cross_compiling=no
694subdirs=
695MFLAGS=
696MAKEFLAGS=
697
698# Identity of this package.
699PACKAGE_NAME=
700PACKAGE_TARNAME=
701PACKAGE_VERSION=
702PACKAGE_STRING=
703PACKAGE_BUGREPORT=
704PACKAGE_URL=
705
706ac_unique_file="src/Gnome.Keyring/Ring.cs"
707# Factoring default headers for most tests.
708ac_includes_default="\
709#include <stdio.h>
710#ifdef HAVE_SYS_TYPES_H
711# include <sys/types.h>
712#endif
713#ifdef HAVE_SYS_STAT_H
714# include <sys/stat.h>
715#endif
716#ifdef STDC_HEADERS
717# include <stdlib.h>
718# include <stddef.h>
719#else
720# ifdef HAVE_STDLIB_H
721#  include <stdlib.h>
722# endif
723#endif
724#ifdef HAVE_STRING_H
725# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
726#  include <memory.h>
727# endif
728# include <string.h>
729#endif
730#ifdef HAVE_STRINGS_H
731# include <strings.h>
732#endif
733#ifdef HAVE_INTTYPES_H
734# include <inttypes.h>
735#endif
736#ifdef HAVE_STDINT_H
737# include <stdint.h>
738#endif
739#ifdef HAVE_UNISTD_H
740# include <unistd.h>
741#endif"
742
743ac_subst_vars='am__EXEEXT_FALSE
744am__EXEEXT_TRUE
745LTLIBOBJS
746LIBOBJS
747ENABLE_MONODOC_FALSE
748ENABLE_MONODOC_TRUE
749MONODOCER
750MDASSEMBLER
751CSFLAGS
752GNOME_KEYRING_LIBS
753GNOME_KEYRING_CFLAGS
754GLIB_SHARP_LIBS
755GLIB_SHARP_CFLAGS
756PKG_CONFIG
757GACUTIL_FLAGS
758GACUTIL
759RUNTIME
760MCS
761GMCS
762CSC
763MAINT
764MAINTAINER_MODE_FALSE
765MAINTAINER_MODE_TRUE
766am__fastdepCC_FALSE
767am__fastdepCC_TRUE
768CCDEPMODE
769AMDEPBACKSLASH
770AMDEP_FALSE
771AMDEP_TRUE
772am__quote
773am__include
774DEPDIR
775am__untar
776am__tar
777AMTAR
778am__leading_dot
779SET_MAKE
780AWK
781mkdir_p
782MKDIR_P
783INSTALL_STRIP_PROGRAM
784install_sh
785MAKEINFO
786AUTOHEADER
787AUTOMAKE
788AUTOCONF
789ACLOCAL
790PACKAGE
791CYGPATH_W
792am__isrc
793INSTALL_DATA
794INSTALL_SCRIPT
795INSTALL_PROGRAM
796VERSION
797API_VERSION
798CPP
799OTOOL64
800OTOOL
801LIPO
802NMEDIT
803DSYMUTIL
804lt_ECHO
805RANLIB
806STRIP
807AR
808OBJDUMP
809LN_S
810NM
811ac_ct_DUMPBIN
812DUMPBIN
813LD
814FGREP
815EGREP
816GREP
817SED
818LIBTOOL
819OBJEXT
820EXEEXT
821ac_ct_CC
822CPPFLAGS
823LDFLAGS
824CFLAGS
825CC
826target_os
827target_vendor
828target_cpu
829target
830host_os
831host_vendor
832host_cpu
833host
834build_os
835build_vendor
836build_cpu
837build
838target_alias
839host_alias
840build_alias
841LIBS
842ECHO_T
843ECHO_N
844ECHO_C
845DEFS
846mandir
847localedir
848libdir
849psdir
850pdfdir
851dvidir
852htmldir
853infodir
854docdir
855oldincludedir
856includedir
857localstatedir
858sharedstatedir
859sysconfdir
860datadir
861datarootdir
862libexecdir
863sbindir
864bindir
865program_transform_name
866prefix
867exec_prefix
868PACKAGE_URL
869PACKAGE_BUGREPORT
870PACKAGE_STRING
871PACKAGE_VERSION
872PACKAGE_TARNAME
873PACKAGE_NAME
874PATH_SEPARATOR
875SHELL'
876ac_subst_files=''
877ac_user_opts='
878enable_option_checking
879enable_shared
880enable_static
881with_pic
882enable_fast_install
883with_gnu_ld
884enable_libtool_lock
885enable_dependency_tracking
886enable_maintainer_mode
887enable_monodoc
888'
889      ac_precious_vars='build_alias
890host_alias
891target_alias
892CC
893CFLAGS
894LDFLAGS
895LIBS
896CPPFLAGS
897CPP
898PKG_CONFIG
899GLIB_SHARP_CFLAGS
900GLIB_SHARP_LIBS
901GNOME_KEYRING_CFLAGS
902GNOME_KEYRING_LIBS'
903
904
905# Initialize some variables set by options.
906ac_init_help=
907ac_init_version=false
908ac_unrecognized_opts=
909ac_unrecognized_sep=
910# The variables have the same names as the options, with
911# dashes changed to underlines.
912cache_file=/dev/null
913exec_prefix=NONE
914no_create=
915no_recursion=
916prefix=NONE
917program_prefix=NONE
918program_suffix=NONE
919program_transform_name=s,x,x,
920silent=
921site=
922srcdir=
923verbose=
924x_includes=NONE
925x_libraries=NONE
926
927# Installation directory options.
928# These are left unexpanded so users can "make install exec_prefix=/foo"
929# and all the variables that are supposed to be based on exec_prefix
930# by default will actually change.
931# Use braces instead of parens because sh, perl, etc. also accept them.
932# (The list follows the same order as the GNU Coding Standards.)
933bindir='${exec_prefix}/bin'
934sbindir='${exec_prefix}/sbin'
935libexecdir='${exec_prefix}/libexec'
936datarootdir='${prefix}/share'
937datadir='${datarootdir}'
938sysconfdir='${prefix}/etc'
939sharedstatedir='${prefix}/com'
940localstatedir='${prefix}/var'
941includedir='${prefix}/include'
942oldincludedir='/usr/include'
943docdir='${datarootdir}/doc/${PACKAGE}'
944infodir='${datarootdir}/info'
945htmldir='${docdir}'
946dvidir='${docdir}'
947pdfdir='${docdir}'
948psdir='${docdir}'
949libdir='${exec_prefix}/lib'
950localedir='${datarootdir}/locale'
951mandir='${datarootdir}/man'
952
953ac_prev=
954ac_dashdash=
955for ac_option
956do
957  # If the previous option needs an argument, assign it.
958  if test -n "$ac_prev"; then
959    eval $ac_prev=\$ac_option
960    ac_prev=
961    continue
962  fi
963
964  case $ac_option in
965  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
966  *)	ac_optarg=yes ;;
967  esac
968
969  # Accept the important Cygnus configure options, so we can diagnose typos.
970
971  case $ac_dashdash$ac_option in
972  --)
973    ac_dashdash=yes ;;
974
975  -bindir | --bindir | --bindi | --bind | --bin | --bi)
976    ac_prev=bindir ;;
977  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
978    bindir=$ac_optarg ;;
979
980  -build | --build | --buil | --bui | --bu)
981    ac_prev=build_alias ;;
982  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
983    build_alias=$ac_optarg ;;
984
985  -cache-file | --cache-file | --cache-fil | --cache-fi \
986  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
987    ac_prev=cache_file ;;
988  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
989  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
990    cache_file=$ac_optarg ;;
991
992  --config-cache | -C)
993    cache_file=config.cache ;;
994
995  -datadir | --datadir | --datadi | --datad)
996    ac_prev=datadir ;;
997  -datadir=* | --datadir=* | --datadi=* | --datad=*)
998    datadir=$ac_optarg ;;
999
1000  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1001  | --dataroo | --dataro | --datar)
1002    ac_prev=datarootdir ;;
1003  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1004  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1005    datarootdir=$ac_optarg ;;
1006
1007  -disable-* | --disable-*)
1008    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1009    # Reject names that are not valid shell variable names.
1010    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011      as_fn_error "invalid feature name: $ac_useropt"
1012    ac_useropt_orig=$ac_useropt
1013    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014    case $ac_user_opts in
1015      *"
1016"enable_$ac_useropt"
1017"*) ;;
1018      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1019	 ac_unrecognized_sep=', ';;
1020    esac
1021    eval enable_$ac_useropt=no ;;
1022
1023  -docdir | --docdir | --docdi | --doc | --do)
1024    ac_prev=docdir ;;
1025  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1026    docdir=$ac_optarg ;;
1027
1028  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1029    ac_prev=dvidir ;;
1030  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1031    dvidir=$ac_optarg ;;
1032
1033  -enable-* | --enable-*)
1034    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1035    # Reject names that are not valid shell variable names.
1036    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037      as_fn_error "invalid feature name: $ac_useropt"
1038    ac_useropt_orig=$ac_useropt
1039    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040    case $ac_user_opts in
1041      *"
1042"enable_$ac_useropt"
1043"*) ;;
1044      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1045	 ac_unrecognized_sep=', ';;
1046    esac
1047    eval enable_$ac_useropt=\$ac_optarg ;;
1048
1049  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1050  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1051  | --exec | --exe | --ex)
1052    ac_prev=exec_prefix ;;
1053  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1054  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1055  | --exec=* | --exe=* | --ex=*)
1056    exec_prefix=$ac_optarg ;;
1057
1058  -gas | --gas | --ga | --g)
1059    # Obsolete; use --with-gas.
1060    with_gas=yes ;;
1061
1062  -help | --help | --hel | --he | -h)
1063    ac_init_help=long ;;
1064  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1065    ac_init_help=recursive ;;
1066  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1067    ac_init_help=short ;;
1068
1069  -host | --host | --hos | --ho)
1070    ac_prev=host_alias ;;
1071  -host=* | --host=* | --hos=* | --ho=*)
1072    host_alias=$ac_optarg ;;
1073
1074  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1075    ac_prev=htmldir ;;
1076  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1077  | --ht=*)
1078    htmldir=$ac_optarg ;;
1079
1080  -includedir | --includedir | --includedi | --included | --include \
1081  | --includ | --inclu | --incl | --inc)
1082    ac_prev=includedir ;;
1083  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1084  | --includ=* | --inclu=* | --incl=* | --inc=*)
1085    includedir=$ac_optarg ;;
1086
1087  -infodir | --infodir | --infodi | --infod | --info | --inf)
1088    ac_prev=infodir ;;
1089  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1090    infodir=$ac_optarg ;;
1091
1092  -libdir | --libdir | --libdi | --libd)
1093    ac_prev=libdir ;;
1094  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1095    libdir=$ac_optarg ;;
1096
1097  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1098  | --libexe | --libex | --libe)
1099    ac_prev=libexecdir ;;
1100  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1101  | --libexe=* | --libex=* | --libe=*)
1102    libexecdir=$ac_optarg ;;
1103
1104  -localedir | --localedir | --localedi | --localed | --locale)
1105    ac_prev=localedir ;;
1106  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1107    localedir=$ac_optarg ;;
1108
1109  -localstatedir | --localstatedir | --localstatedi | --localstated \
1110  | --localstate | --localstat | --localsta | --localst | --locals)
1111    ac_prev=localstatedir ;;
1112  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1113  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1114    localstatedir=$ac_optarg ;;
1115
1116  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1117    ac_prev=mandir ;;
1118  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1119    mandir=$ac_optarg ;;
1120
1121  -nfp | --nfp | --nf)
1122    # Obsolete; use --without-fp.
1123    with_fp=no ;;
1124
1125  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1126  | --no-cr | --no-c | -n)
1127    no_create=yes ;;
1128
1129  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1130  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1131    no_recursion=yes ;;
1132
1133  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1134  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1135  | --oldin | --oldi | --old | --ol | --o)
1136    ac_prev=oldincludedir ;;
1137  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1138  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1139  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1140    oldincludedir=$ac_optarg ;;
1141
1142  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1143    ac_prev=prefix ;;
1144  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1145    prefix=$ac_optarg ;;
1146
1147  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1148  | --program-pre | --program-pr | --program-p)
1149    ac_prev=program_prefix ;;
1150  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1151  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1152    program_prefix=$ac_optarg ;;
1153
1154  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1155  | --program-suf | --program-su | --program-s)
1156    ac_prev=program_suffix ;;
1157  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1158  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1159    program_suffix=$ac_optarg ;;
1160
1161  -program-transform-name | --program-transform-name \
1162  | --program-transform-nam | --program-transform-na \
1163  | --program-transform-n | --program-transform- \
1164  | --program-transform | --program-transfor \
1165  | --program-transfo | --program-transf \
1166  | --program-trans | --program-tran \
1167  | --progr-tra | --program-tr | --program-t)
1168    ac_prev=program_transform_name ;;
1169  -program-transform-name=* | --program-transform-name=* \
1170  | --program-transform-nam=* | --program-transform-na=* \
1171  | --program-transform-n=* | --program-transform-=* \
1172  | --program-transform=* | --program-transfor=* \
1173  | --program-transfo=* | --program-transf=* \
1174  | --program-trans=* | --program-tran=* \
1175  | --progr-tra=* | --program-tr=* | --program-t=*)
1176    program_transform_name=$ac_optarg ;;
1177
1178  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1179    ac_prev=pdfdir ;;
1180  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1181    pdfdir=$ac_optarg ;;
1182
1183  -psdir | --psdir | --psdi | --psd | --ps)
1184    ac_prev=psdir ;;
1185  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1186    psdir=$ac_optarg ;;
1187
1188  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1189  | -silent | --silent | --silen | --sile | --sil)
1190    silent=yes ;;
1191
1192  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1193    ac_prev=sbindir ;;
1194  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1195  | --sbi=* | --sb=*)
1196    sbindir=$ac_optarg ;;
1197
1198  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1199  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1200  | --sharedst | --shareds | --shared | --share | --shar \
1201  | --sha | --sh)
1202    ac_prev=sharedstatedir ;;
1203  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1204  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1205  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1206  | --sha=* | --sh=*)
1207    sharedstatedir=$ac_optarg ;;
1208
1209  -site | --site | --sit)
1210    ac_prev=site ;;
1211  -site=* | --site=* | --sit=*)
1212    site=$ac_optarg ;;
1213
1214  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1215    ac_prev=srcdir ;;
1216  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1217    srcdir=$ac_optarg ;;
1218
1219  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1220  | --syscon | --sysco | --sysc | --sys | --sy)
1221    ac_prev=sysconfdir ;;
1222  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1223  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1224    sysconfdir=$ac_optarg ;;
1225
1226  -target | --target | --targe | --targ | --tar | --ta | --t)
1227    ac_prev=target_alias ;;
1228  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1229    target_alias=$ac_optarg ;;
1230
1231  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1232    verbose=yes ;;
1233
1234  -version | --version | --versio | --versi | --vers | -V)
1235    ac_init_version=: ;;
1236
1237  -with-* | --with-*)
1238    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1239    # Reject names that are not valid shell variable names.
1240    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1241      as_fn_error "invalid package name: $ac_useropt"
1242    ac_useropt_orig=$ac_useropt
1243    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1244    case $ac_user_opts in
1245      *"
1246"with_$ac_useropt"
1247"*) ;;
1248      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1249	 ac_unrecognized_sep=', ';;
1250    esac
1251    eval with_$ac_useropt=\$ac_optarg ;;
1252
1253  -without-* | --without-*)
1254    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1255    # Reject names that are not valid shell variable names.
1256    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1257      as_fn_error "invalid package name: $ac_useropt"
1258    ac_useropt_orig=$ac_useropt
1259    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1260    case $ac_user_opts in
1261      *"
1262"with_$ac_useropt"
1263"*) ;;
1264      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1265	 ac_unrecognized_sep=', ';;
1266    esac
1267    eval with_$ac_useropt=no ;;
1268
1269  --x)
1270    # Obsolete; use --with-x.
1271    with_x=yes ;;
1272
1273  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1274  | --x-incl | --x-inc | --x-in | --x-i)
1275    ac_prev=x_includes ;;
1276  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1277  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1278    x_includes=$ac_optarg ;;
1279
1280  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1281  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1282    ac_prev=x_libraries ;;
1283  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1284  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1285    x_libraries=$ac_optarg ;;
1286
1287  -*) as_fn_error "unrecognized option: \`$ac_option'
1288Try \`$0 --help' for more information."
1289    ;;
1290
1291  *=*)
1292    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1293    # Reject names that are not valid shell variable names.
1294    case $ac_envvar in #(
1295      '' | [0-9]* | *[!_$as_cr_alnum]* )
1296      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1297    esac
1298    eval $ac_envvar=\$ac_optarg
1299    export $ac_envvar ;;
1300
1301  *)
1302    # FIXME: should be removed in autoconf 3.0.
1303    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1304    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1305      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1306    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1307    ;;
1308
1309  esac
1310done
1311
1312if test -n "$ac_prev"; then
1313  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1314  as_fn_error "missing argument to $ac_option"
1315fi
1316
1317if test -n "$ac_unrecognized_opts"; then
1318  case $enable_option_checking in
1319    no) ;;
1320    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1321    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1322  esac
1323fi
1324
1325# Check all directory arguments for consistency.
1326for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1327		datadir sysconfdir sharedstatedir localstatedir includedir \
1328		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1329		libdir localedir mandir
1330do
1331  eval ac_val=\$$ac_var
1332  # Remove trailing slashes.
1333  case $ac_val in
1334    */ )
1335      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1336      eval $ac_var=\$ac_val;;
1337  esac
1338  # Be sure to have absolute directory names.
1339  case $ac_val in
1340    [\\/$]* | ?:[\\/]* )  continue;;
1341    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1342  esac
1343  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1344done
1345
1346# There might be people who depend on the old broken behavior: `$host'
1347# used to hold the argument of --host etc.
1348# FIXME: To remove some day.
1349build=$build_alias
1350host=$host_alias
1351target=$target_alias
1352
1353# FIXME: To remove some day.
1354if test "x$host_alias" != x; then
1355  if test "x$build_alias" = x; then
1356    cross_compiling=maybe
1357    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1358    If a cross compiler is detected then cross compile mode will be used." >&2
1359  elif test "x$build_alias" != "x$host_alias"; then
1360    cross_compiling=yes
1361  fi
1362fi
1363
1364ac_tool_prefix=
1365test -n "$host_alias" && ac_tool_prefix=$host_alias-
1366
1367test "$silent" = yes && exec 6>/dev/null
1368
1369
1370ac_pwd=`pwd` && test -n "$ac_pwd" &&
1371ac_ls_di=`ls -di .` &&
1372ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1373  as_fn_error "working directory cannot be determined"
1374test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1375  as_fn_error "pwd does not report name of working directory"
1376
1377
1378# Find the source files, if location was not specified.
1379if test -z "$srcdir"; then
1380  ac_srcdir_defaulted=yes
1381  # Try the directory containing this script, then the parent directory.
1382  ac_confdir=`$as_dirname -- "$as_myself" ||
1383$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1384	 X"$as_myself" : 'X\(//\)[^/]' \| \
1385	 X"$as_myself" : 'X\(//\)$' \| \
1386	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1387$as_echo X"$as_myself" |
1388    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1389	    s//\1/
1390	    q
1391	  }
1392	  /^X\(\/\/\)[^/].*/{
1393	    s//\1/
1394	    q
1395	  }
1396	  /^X\(\/\/\)$/{
1397	    s//\1/
1398	    q
1399	  }
1400	  /^X\(\/\).*/{
1401	    s//\1/
1402	    q
1403	  }
1404	  s/.*/./; q'`
1405  srcdir=$ac_confdir
1406  if test ! -r "$srcdir/$ac_unique_file"; then
1407    srcdir=..
1408  fi
1409else
1410  ac_srcdir_defaulted=no
1411fi
1412if test ! -r "$srcdir/$ac_unique_file"; then
1413  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1414  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1415fi
1416ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1417ac_abs_confdir=`(
1418	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1419	pwd)`
1420# When building in place, set srcdir=.
1421if test "$ac_abs_confdir" = "$ac_pwd"; then
1422  srcdir=.
1423fi
1424# Remove unnecessary trailing slashes from srcdir.
1425# Double slashes in file names in object file debugging info
1426# mess up M-x gdb in Emacs.
1427case $srcdir in
1428*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1429esac
1430for ac_var in $ac_precious_vars; do
1431  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1432  eval ac_env_${ac_var}_value=\$${ac_var}
1433  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1434  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1435done
1436
1437#
1438# Report the --help message.
1439#
1440if test "$ac_init_help" = "long"; then
1441  # Omit some internal or obsolete options to make the list less imposing.
1442  # This message is too long to be a string in the A/UX 3.1 sh.
1443  cat <<_ACEOF
1444\`configure' configures this package to adapt to many kinds of systems.
1445
1446Usage: $0 [OPTION]... [VAR=VALUE]...
1447
1448To assign environment variables (e.g., CC, CFLAGS...), specify them as
1449VAR=VALUE.  See below for descriptions of some of the useful variables.
1450
1451Defaults for the options are specified in brackets.
1452
1453Configuration:
1454  -h, --help              display this help and exit
1455      --help=short        display options specific to this package
1456      --help=recursive    display the short help of all the included packages
1457  -V, --version           display version information and exit
1458  -q, --quiet, --silent   do not print \`checking...' messages
1459      --cache-file=FILE   cache test results in FILE [disabled]
1460  -C, --config-cache      alias for \`--cache-file=config.cache'
1461  -n, --no-create         do not create output files
1462      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1463
1464Installation directories:
1465  --prefix=PREFIX         install architecture-independent files in PREFIX
1466                          [$ac_default_prefix]
1467  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1468                          [PREFIX]
1469
1470By default, \`make install' will install all the files in
1471\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1472an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1473for instance \`--prefix=\$HOME'.
1474
1475For better control, use the options below.
1476
1477Fine tuning of the installation directories:
1478  --bindir=DIR            user executables [EPREFIX/bin]
1479  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1480  --libexecdir=DIR        program executables [EPREFIX/libexec]
1481  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1482  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1483  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1484  --libdir=DIR            object code libraries [EPREFIX/lib]
1485  --includedir=DIR        C header files [PREFIX/include]
1486  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1487  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1488  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1489  --infodir=DIR           info documentation [DATAROOTDIR/info]
1490  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1491  --mandir=DIR            man documentation [DATAROOTDIR/man]
1492  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1493  --htmldir=DIR           html documentation [DOCDIR]
1494  --dvidir=DIR            dvi documentation [DOCDIR]
1495  --pdfdir=DIR            pdf documentation [DOCDIR]
1496  --psdir=DIR             ps documentation [DOCDIR]
1497_ACEOF
1498
1499  cat <<\_ACEOF
1500
1501Program names:
1502  --program-prefix=PREFIX            prepend PREFIX to installed program names
1503  --program-suffix=SUFFIX            append SUFFIX to installed program names
1504  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1505
1506System types:
1507  --build=BUILD     configure for building on BUILD [guessed]
1508  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1509  --target=TARGET   configure for building compilers for TARGET [HOST]
1510_ACEOF
1511fi
1512
1513if test -n "$ac_init_help"; then
1514
1515  cat <<\_ACEOF
1516
1517Optional Features:
1518  --disable-option-checking  ignore unrecognized --enable/--with options
1519  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1520  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1521  --enable-shared[=PKGS]  build shared libraries [default=yes]
1522  --enable-static[=PKGS]  build static libraries [default=yes]
1523  --enable-fast-install[=PKGS]
1524                          optimize for fast installation [default=yes]
1525  --disable-libtool-lock  avoid locking (might break parallel builds)
1526  --disable-dependency-tracking  speeds up one-time build
1527  --enable-dependency-tracking   do not reject slow dependency extractors
1528  --enable-maintainer-mode  enable make rules and dependencies not useful
1529			  (and sometimes confusing) to the casual installer
1530  --enable-monodoc        install monodoc documents default: yes
1531
1532Optional Packages:
1533  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1534  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1535  --with-pic              try to use only PIC/non-PIC objects [default=use
1536                          both]
1537  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1538
1539Some influential environment variables:
1540  CC          C compiler command
1541  CFLAGS      C compiler flags
1542  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1543              nonstandard directory <lib dir>
1544  LIBS        libraries to pass to the linker, e.g. -l<library>
1545  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1546              you have headers in a nonstandard directory <include dir>
1547  CPP         C preprocessor
1548  PKG_CONFIG  path to pkg-config utility
1549  GLIB_SHARP_CFLAGS
1550              C compiler flags for GLIB_SHARP, overriding pkg-config
1551  GLIB_SHARP_LIBS
1552              linker flags for GLIB_SHARP, overriding pkg-config
1553  GNOME_KEYRING_CFLAGS
1554              C compiler flags for GNOME_KEYRING, overriding pkg-config
1555  GNOME_KEYRING_LIBS
1556              linker flags for GNOME_KEYRING, overriding pkg-config
1557
1558Use these variables to override the choices made by `configure' or to help
1559it to find libraries and programs with nonstandard names/locations.
1560
1561Report bugs to the package provider.
1562_ACEOF
1563ac_status=$?
1564fi
1565
1566if test "$ac_init_help" = "recursive"; then
1567  # If there are subdirs, report their specific --help.
1568  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1569    test -d "$ac_dir" ||
1570      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1571      continue
1572    ac_builddir=.
1573
1574case "$ac_dir" in
1575.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576*)
1577  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1578  # A ".." for each directory in $ac_dir_suffix.
1579  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1580  case $ac_top_builddir_sub in
1581  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1582  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1583  esac ;;
1584esac
1585ac_abs_top_builddir=$ac_pwd
1586ac_abs_builddir=$ac_pwd$ac_dir_suffix
1587# for backward compatibility:
1588ac_top_builddir=$ac_top_build_prefix
1589
1590case $srcdir in
1591  .)  # We are building in place.
1592    ac_srcdir=.
1593    ac_top_srcdir=$ac_top_builddir_sub
1594    ac_abs_top_srcdir=$ac_pwd ;;
1595  [\\/]* | ?:[\\/]* )  # Absolute name.
1596    ac_srcdir=$srcdir$ac_dir_suffix;
1597    ac_top_srcdir=$srcdir
1598    ac_abs_top_srcdir=$srcdir ;;
1599  *) # Relative name.
1600    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1601    ac_top_srcdir=$ac_top_build_prefix$srcdir
1602    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1603esac
1604ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1605
1606    cd "$ac_dir" || { ac_status=$?; continue; }
1607    # Check for guested configure.
1608    if test -f "$ac_srcdir/configure.gnu"; then
1609      echo &&
1610      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1611    elif test -f "$ac_srcdir/configure"; then
1612      echo &&
1613      $SHELL "$ac_srcdir/configure" --help=recursive
1614    else
1615      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1616    fi || ac_status=$?
1617    cd "$ac_pwd" || { ac_status=$?; break; }
1618  done
1619fi
1620
1621test -n "$ac_init_help" && exit $ac_status
1622if $ac_init_version; then
1623  cat <<\_ACEOF
1624configure
1625generated by GNU Autoconf 2.65
1626
1627Copyright (C) 2009 Free Software Foundation, Inc.
1628This configure script is free software; the Free Software Foundation
1629gives unlimited permission to copy, distribute and modify it.
1630_ACEOF
1631  exit
1632fi
1633
1634## ------------------------ ##
1635## Autoconf initialization. ##
1636## ------------------------ ##
1637
1638# ac_fn_c_try_compile LINENO
1639# --------------------------
1640# Try to compile conftest.$ac_ext, and return whether this succeeded.
1641ac_fn_c_try_compile ()
1642{
1643  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644  rm -f conftest.$ac_objext
1645  if { { ac_try="$ac_compile"
1646case "(($ac_try" in
1647  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1648  *) ac_try_echo=$ac_try;;
1649esac
1650eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651$as_echo "$ac_try_echo"; } >&5
1652  (eval "$ac_compile") 2>conftest.err
1653  ac_status=$?
1654  if test -s conftest.err; then
1655    grep -v '^ *+' conftest.err >conftest.er1
1656    cat conftest.er1 >&5
1657    mv -f conftest.er1 conftest.err
1658  fi
1659  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660  test $ac_status = 0; } && {
1661	 test -z "$ac_c_werror_flag" ||
1662	 test ! -s conftest.err
1663       } && test -s conftest.$ac_objext; then :
1664  ac_retval=0
1665else
1666  $as_echo "$as_me: failed program was:" >&5
1667sed 's/^/| /' conftest.$ac_ext >&5
1668
1669	ac_retval=1
1670fi
1671  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1672  as_fn_set_status $ac_retval
1673
1674} # ac_fn_c_try_compile
1675
1676# ac_fn_c_try_link LINENO
1677# -----------------------
1678# Try to link conftest.$ac_ext, and return whether this succeeded.
1679ac_fn_c_try_link ()
1680{
1681  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682  rm -f conftest.$ac_objext conftest$ac_exeext
1683  if { { ac_try="$ac_link"
1684case "(($ac_try" in
1685  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686  *) ac_try_echo=$ac_try;;
1687esac
1688eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689$as_echo "$ac_try_echo"; } >&5
1690  (eval "$ac_link") 2>conftest.err
1691  ac_status=$?
1692  if test -s conftest.err; then
1693    grep -v '^ *+' conftest.err >conftest.er1
1694    cat conftest.er1 >&5
1695    mv -f conftest.er1 conftest.err
1696  fi
1697  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698  test $ac_status = 0; } && {
1699	 test -z "$ac_c_werror_flag" ||
1700	 test ! -s conftest.err
1701       } && test -s conftest$ac_exeext && {
1702	 test "$cross_compiling" = yes ||
1703	 $as_test_x conftest$ac_exeext
1704       }; then :
1705  ac_retval=0
1706else
1707  $as_echo "$as_me: failed program was:" >&5
1708sed 's/^/| /' conftest.$ac_ext >&5
1709
1710	ac_retval=1
1711fi
1712  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1713  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1714  # interfere with the next link command; also delete a directory that is
1715  # left behind by Apple's compiler.  We do this before executing the actions.
1716  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1717  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1718  as_fn_set_status $ac_retval
1719
1720} # ac_fn_c_try_link
1721
1722# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1723# -------------------------------------------------------
1724# Tests whether HEADER exists and can be compiled using the include files in
1725# INCLUDES, setting the cache variable VAR accordingly.
1726ac_fn_c_check_header_compile ()
1727{
1728  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1730$as_echo_n "checking for $2... " >&6; }
1731if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1732  $as_echo_n "(cached) " >&6
1733else
1734  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1735/* end confdefs.h.  */
1736$4
1737#include <$2>
1738_ACEOF
1739if ac_fn_c_try_compile "$LINENO"; then :
1740  eval "$3=yes"
1741else
1742  eval "$3=no"
1743fi
1744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1745fi
1746eval ac_res=\$$3
1747	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1748$as_echo "$ac_res" >&6; }
1749  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1750
1751} # ac_fn_c_check_header_compile
1752
1753# ac_fn_c_try_cpp LINENO
1754# ----------------------
1755# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1756ac_fn_c_try_cpp ()
1757{
1758  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759  if { { ac_try="$ac_cpp conftest.$ac_ext"
1760case "(($ac_try" in
1761  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762  *) ac_try_echo=$ac_try;;
1763esac
1764eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765$as_echo "$ac_try_echo"; } >&5
1766  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1767  ac_status=$?
1768  if test -s conftest.err; then
1769    grep -v '^ *+' conftest.err >conftest.er1
1770    cat conftest.er1 >&5
1771    mv -f conftest.er1 conftest.err
1772  fi
1773  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774  test $ac_status = 0; } >/dev/null && {
1775	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1776	 test ! -s conftest.err
1777       }; then :
1778  ac_retval=0
1779else
1780  $as_echo "$as_me: failed program was:" >&5
1781sed 's/^/| /' conftest.$ac_ext >&5
1782
1783    ac_retval=1
1784fi
1785  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1786  as_fn_set_status $ac_retval
1787
1788} # ac_fn_c_try_cpp
1789
1790# ac_fn_c_try_run LINENO
1791# ----------------------
1792# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1793# that executables *can* be run.
1794ac_fn_c_try_run ()
1795{
1796  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797  if { { ac_try="$ac_link"
1798case "(($ac_try" in
1799  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1800  *) ac_try_echo=$ac_try;;
1801esac
1802eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803$as_echo "$ac_try_echo"; } >&5
1804  (eval "$ac_link") 2>&5
1805  ac_status=$?
1806  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1808  { { case "(($ac_try" in
1809  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810  *) ac_try_echo=$ac_try;;
1811esac
1812eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813$as_echo "$ac_try_echo"; } >&5
1814  (eval "$ac_try") 2>&5
1815  ac_status=$?
1816  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817  test $ac_status = 0; }; }; then :
1818  ac_retval=0
1819else
1820  $as_echo "$as_me: program exited with status $ac_status" >&5
1821       $as_echo "$as_me: failed program was:" >&5
1822sed 's/^/| /' conftest.$ac_ext >&5
1823
1824       ac_retval=$ac_status
1825fi
1826  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1827  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1828  as_fn_set_status $ac_retval
1829
1830} # ac_fn_c_try_run
1831
1832# ac_fn_c_check_func LINENO FUNC VAR
1833# ----------------------------------
1834# Tests whether FUNC exists, setting the cache variable VAR accordingly
1835ac_fn_c_check_func ()
1836{
1837  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839$as_echo_n "checking for $2... " >&6; }
1840if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1841  $as_echo_n "(cached) " >&6
1842else
1843  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844/* end confdefs.h.  */
1845/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1846   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1847#define $2 innocuous_$2
1848
1849/* System header to define __stub macros and hopefully few prototypes,
1850    which can conflict with char $2 (); below.
1851    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1852    <limits.h> exists even on freestanding compilers.  */
1853
1854#ifdef __STDC__
1855# include <limits.h>
1856#else
1857# include <assert.h>
1858#endif
1859
1860#undef $2
1861
1862/* Override any GCC internal prototype to avoid an error.
1863   Use char because int might match the return type of a GCC
1864   builtin and then its argument prototype would still apply.  */
1865#ifdef __cplusplus
1866extern "C"
1867#endif
1868char $2 ();
1869/* The GNU C library defines this for functions which it implements
1870    to always fail with ENOSYS.  Some functions are actually named
1871    something starting with __ and the normal name is an alias.  */
1872#if defined __stub_$2 || defined __stub___$2
1873choke me
1874#endif
1875
1876int
1877main ()
1878{
1879return $2 ();
1880  ;
1881  return 0;
1882}
1883_ACEOF
1884if ac_fn_c_try_link "$LINENO"; then :
1885  eval "$3=yes"
1886else
1887  eval "$3=no"
1888fi
1889rm -f core conftest.err conftest.$ac_objext \
1890    conftest$ac_exeext conftest.$ac_ext
1891fi
1892eval ac_res=\$$3
1893	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894$as_echo "$ac_res" >&6; }
1895  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1896
1897} # ac_fn_c_check_func
1898cat >config.log <<_ACEOF
1899This file contains any messages produced by compilers while
1900running configure, to aid debugging if configure makes a mistake.
1901
1902It was created by $as_me, which was
1903generated by GNU Autoconf 2.65.  Invocation command line was
1904
1905  $ $0 $@
1906
1907_ACEOF
1908exec 5>>config.log
1909{
1910cat <<_ASUNAME
1911## --------- ##
1912## Platform. ##
1913## --------- ##
1914
1915hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1916uname -m = `(uname -m) 2>/dev/null || echo unknown`
1917uname -r = `(uname -r) 2>/dev/null || echo unknown`
1918uname -s = `(uname -s) 2>/dev/null || echo unknown`
1919uname -v = `(uname -v) 2>/dev/null || echo unknown`
1920
1921/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1922/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1923
1924/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1925/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1926/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1927/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1928/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1929/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1930/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1931
1932_ASUNAME
1933
1934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935for as_dir in $PATH
1936do
1937  IFS=$as_save_IFS
1938  test -z "$as_dir" && as_dir=.
1939    $as_echo "PATH: $as_dir"
1940  done
1941IFS=$as_save_IFS
1942
1943} >&5
1944
1945cat >&5 <<_ACEOF
1946
1947
1948## ----------- ##
1949## Core tests. ##
1950## ----------- ##
1951
1952_ACEOF
1953
1954
1955# Keep a trace of the command line.
1956# Strip out --no-create and --no-recursion so they do not pile up.
1957# Strip out --silent because we don't want to record it for future runs.
1958# Also quote any args containing shell meta-characters.
1959# Make two passes to allow for proper duplicate-argument suppression.
1960ac_configure_args=
1961ac_configure_args0=
1962ac_configure_args1=
1963ac_must_keep_next=false
1964for ac_pass in 1 2
1965do
1966  for ac_arg
1967  do
1968    case $ac_arg in
1969    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1970    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1971    | -silent | --silent | --silen | --sile | --sil)
1972      continue ;;
1973    *\'*)
1974      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1975    esac
1976    case $ac_pass in
1977    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1978    2)
1979      as_fn_append ac_configure_args1 " '$ac_arg'"
1980      if test $ac_must_keep_next = true; then
1981	ac_must_keep_next=false # Got value, back to normal.
1982      else
1983	case $ac_arg in
1984	  *=* | --config-cache | -C | -disable-* | --disable-* \
1985	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1986	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1987	  | -with-* | --with-* | -without-* | --without-* | --x)
1988	    case "$ac_configure_args0 " in
1989	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1990	    esac
1991	    ;;
1992	  -* ) ac_must_keep_next=true ;;
1993	esac
1994      fi
1995      as_fn_append ac_configure_args " '$ac_arg'"
1996      ;;
1997    esac
1998  done
1999done
2000{ ac_configure_args0=; unset ac_configure_args0;}
2001{ ac_configure_args1=; unset ac_configure_args1;}
2002
2003# When interrupted or exit'd, cleanup temporary files, and complete
2004# config.log.  We remove comments because anyway the quotes in there
2005# would cause problems or look ugly.
2006# WARNING: Use '\'' to represent an apostrophe within the trap.
2007# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2008trap 'exit_status=$?
2009  # Save into config.log some information that might help in debugging.
2010  {
2011    echo
2012
2013    cat <<\_ASBOX
2014## ---------------- ##
2015## Cache variables. ##
2016## ---------------- ##
2017_ASBOX
2018    echo
2019    # The following way of writing the cache mishandles newlines in values,
2020(
2021  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2022    eval ac_val=\$$ac_var
2023    case $ac_val in #(
2024    *${as_nl}*)
2025      case $ac_var in #(
2026      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2027$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2028      esac
2029      case $ac_var in #(
2030      _ | IFS | as_nl) ;; #(
2031      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2032      *) { eval $ac_var=; unset $ac_var;} ;;
2033      esac ;;
2034    esac
2035  done
2036  (set) 2>&1 |
2037    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2038    *${as_nl}ac_space=\ *)
2039      sed -n \
2040	"s/'\''/'\''\\\\'\'''\''/g;
2041	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2042      ;; #(
2043    *)
2044      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2045      ;;
2046    esac |
2047    sort
2048)
2049    echo
2050
2051    cat <<\_ASBOX
2052## ----------------- ##
2053## Output variables. ##
2054## ----------------- ##
2055_ASBOX
2056    echo
2057    for ac_var in $ac_subst_vars
2058    do
2059      eval ac_val=\$$ac_var
2060      case $ac_val in
2061      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2062      esac
2063      $as_echo "$ac_var='\''$ac_val'\''"
2064    done | sort
2065    echo
2066
2067    if test -n "$ac_subst_files"; then
2068      cat <<\_ASBOX
2069## ------------------- ##
2070## File substitutions. ##
2071## ------------------- ##
2072_ASBOX
2073      echo
2074      for ac_var in $ac_subst_files
2075      do
2076	eval ac_val=\$$ac_var
2077	case $ac_val in
2078	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2079	esac
2080	$as_echo "$ac_var='\''$ac_val'\''"
2081      done | sort
2082      echo
2083    fi
2084
2085    if test -s confdefs.h; then
2086      cat <<\_ASBOX
2087## ----------- ##
2088## confdefs.h. ##
2089## ----------- ##
2090_ASBOX
2091      echo
2092      cat confdefs.h
2093      echo
2094    fi
2095    test "$ac_signal" != 0 &&
2096      $as_echo "$as_me: caught signal $ac_signal"
2097    $as_echo "$as_me: exit $exit_status"
2098  } >&5
2099  rm -f core *.core core.conftest.* &&
2100    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2101    exit $exit_status
2102' 0
2103for ac_signal in 1 2 13 15; do
2104  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2105done
2106ac_signal=0
2107
2108# confdefs.h avoids OS command line length limits that DEFS can exceed.
2109rm -f -r conftest* confdefs.h
2110
2111$as_echo "/* confdefs.h */" > confdefs.h
2112
2113# Predefined preprocessor variables.
2114
2115cat >>confdefs.h <<_ACEOF
2116#define PACKAGE_NAME "$PACKAGE_NAME"
2117_ACEOF
2118
2119cat >>confdefs.h <<_ACEOF
2120#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2121_ACEOF
2122
2123cat >>confdefs.h <<_ACEOF
2124#define PACKAGE_VERSION "$PACKAGE_VERSION"
2125_ACEOF
2126
2127cat >>confdefs.h <<_ACEOF
2128#define PACKAGE_STRING "$PACKAGE_STRING"
2129_ACEOF
2130
2131cat >>confdefs.h <<_ACEOF
2132#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2133_ACEOF
2134
2135cat >>confdefs.h <<_ACEOF
2136#define PACKAGE_URL "$PACKAGE_URL"
2137_ACEOF
2138
2139
2140# Let the site file select an alternate cache file if it wants to.
2141# Prefer an explicitly selected file to automatically selected ones.
2142ac_site_file1=NONE
2143ac_site_file2=NONE
2144if test -n "$CONFIG_SITE"; then
2145  ac_site_file1=$CONFIG_SITE
2146elif test "x$prefix" != xNONE; then
2147  ac_site_file1=$prefix/share/config.site
2148  ac_site_file2=$prefix/etc/config.site
2149else
2150  ac_site_file1=$ac_default_prefix/share/config.site
2151  ac_site_file2=$ac_default_prefix/etc/config.site
2152fi
2153for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2154do
2155  test "x$ac_site_file" = xNONE && continue
2156  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2157    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2158$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2159    sed 's/^/| /' "$ac_site_file" >&5
2160    . "$ac_site_file"
2161  fi
2162done
2163
2164if test -r "$cache_file"; then
2165  # Some versions of bash will fail to source /dev/null (special files
2166  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2167  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2168    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2169$as_echo "$as_me: loading cache $cache_file" >&6;}
2170    case $cache_file in
2171      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2172      *)                      . "./$cache_file";;
2173    esac
2174  fi
2175else
2176  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2177$as_echo "$as_me: creating cache $cache_file" >&6;}
2178  >$cache_file
2179fi
2180
2181# Check that the precious variables saved in the cache have kept the same
2182# value.
2183ac_cache_corrupted=false
2184for ac_var in $ac_precious_vars; do
2185  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2186  eval ac_new_set=\$ac_env_${ac_var}_set
2187  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2188  eval ac_new_val=\$ac_env_${ac_var}_value
2189  case $ac_old_set,$ac_new_set in
2190    set,)
2191      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2192$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2193      ac_cache_corrupted=: ;;
2194    ,set)
2195      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2196$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2197      ac_cache_corrupted=: ;;
2198    ,);;
2199    *)
2200      if test "x$ac_old_val" != "x$ac_new_val"; then
2201	# differences in whitespace do not lead to failure.
2202	ac_old_val_w=`echo x $ac_old_val`
2203	ac_new_val_w=`echo x $ac_new_val`
2204	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2205	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2206$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2207	  ac_cache_corrupted=:
2208	else
2209	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2210$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2211	  eval $ac_var=\$ac_old_val
2212	fi
2213	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2214$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2215	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2216$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2217      fi;;
2218  esac
2219  # Pass precious variables to config.status.
2220  if test "$ac_new_set" = set; then
2221    case $ac_new_val in
2222    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2223    *) ac_arg=$ac_var=$ac_new_val ;;
2224    esac
2225    case " $ac_configure_args " in
2226      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2227      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2228    esac
2229  fi
2230done
2231if $ac_cache_corrupted; then
2232  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2233$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2234  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2235$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2236  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2237fi
2238## -------------------- ##
2239## Main body of script. ##
2240## -------------------- ##
2241
2242ac_ext=c
2243ac_cpp='$CPP $CPPFLAGS'
2244ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2245ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2246ac_compiler_gnu=$ac_cv_c_compiler_gnu
2247
2248
2249ac_aux_dir=
2250for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2251  for ac_t in install-sh install.sh shtool; do
2252    if test -f "$ac_dir/$ac_t"; then
2253      ac_aux_dir=$ac_dir
2254      ac_install_sh="$ac_aux_dir/$ac_t -c"
2255      break 2
2256    fi
2257  done
2258done
2259if test -z "$ac_aux_dir"; then
2260  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2261fi
2262
2263# These three variables are undocumented and unsupported,
2264# and are intended to be withdrawn in a future Autoconf release.
2265# They can cause serious problems if a builder's source tree is in a directory
2266# whose full name contains unusual characters.
2267ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2268ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2269ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2270
2271
2272# Make sure we can run config.sub.
2273$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2274  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2275
2276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2277$as_echo_n "checking build system type... " >&6; }
2278if test "${ac_cv_build+set}" = set; then :
2279  $as_echo_n "(cached) " >&6
2280else
2281  ac_build_alias=$build_alias
2282test "x$ac_build_alias" = x &&
2283  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2284test "x$ac_build_alias" = x &&
2285  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2286ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2287  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2288
2289fi
2290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2291$as_echo "$ac_cv_build" >&6; }
2292case $ac_cv_build in
2293*-*-*) ;;
2294*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2295esac
2296build=$ac_cv_build
2297ac_save_IFS=$IFS; IFS='-'
2298set x $ac_cv_build
2299shift
2300build_cpu=$1
2301build_vendor=$2
2302shift; shift
2303# Remember, the first character of IFS is used to create $*,
2304# except with old shells:
2305build_os=$*
2306IFS=$ac_save_IFS
2307case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2308
2309
2310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2311$as_echo_n "checking host system type... " >&6; }
2312if test "${ac_cv_host+set}" = set; then :
2313  $as_echo_n "(cached) " >&6
2314else
2315  if test "x$host_alias" = x; then
2316  ac_cv_host=$ac_cv_build
2317else
2318  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2319    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2320fi
2321
2322fi
2323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2324$as_echo "$ac_cv_host" >&6; }
2325case $ac_cv_host in
2326*-*-*) ;;
2327*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2328esac
2329host=$ac_cv_host
2330ac_save_IFS=$IFS; IFS='-'
2331set x $ac_cv_host
2332shift
2333host_cpu=$1
2334host_vendor=$2
2335shift; shift
2336# Remember, the first character of IFS is used to create $*,
2337# except with old shells:
2338host_os=$*
2339IFS=$ac_save_IFS
2340case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2341
2342
2343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2344$as_echo_n "checking target system type... " >&6; }
2345if test "${ac_cv_target+set}" = set; then :
2346  $as_echo_n "(cached) " >&6
2347else
2348  if test "x$target_alias" = x; then
2349  ac_cv_target=$ac_cv_host
2350else
2351  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2352    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2353fi
2354
2355fi
2356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2357$as_echo "$ac_cv_target" >&6; }
2358case $ac_cv_target in
2359*-*-*) ;;
2360*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2361esac
2362target=$ac_cv_target
2363ac_save_IFS=$IFS; IFS='-'
2364set x $ac_cv_target
2365shift
2366target_cpu=$1
2367target_vendor=$2
2368shift; shift
2369# Remember, the first character of IFS is used to create $*,
2370# except with old shells:
2371target_os=$*
2372IFS=$ac_save_IFS
2373case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2374
2375
2376# The aliases save the names the user supplied, while $host etc.
2377# will get canonicalized.
2378test -n "$target_alias" &&
2379  test "$program_prefix$program_suffix$program_transform_name" = \
2380    NONENONEs,x,x, &&
2381  program_prefix=${target_alias}-
2382
2383
2384ac_ext=c
2385ac_cpp='$CPP $CPPFLAGS'
2386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2388ac_compiler_gnu=$ac_cv_c_compiler_gnu
2389if test -n "$ac_tool_prefix"; then
2390  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2391set dummy ${ac_tool_prefix}gcc; ac_word=$2
2392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2393$as_echo_n "checking for $ac_word... " >&6; }
2394if test "${ac_cv_prog_CC+set}" = set; then :
2395  $as_echo_n "(cached) " >&6
2396else
2397  if test -n "$CC"; then
2398  ac_cv_prog_CC="$CC" # Let the user override the test.
2399else
2400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401for as_dir in $PATH
2402do
2403  IFS=$as_save_IFS
2404  test -z "$as_dir" && as_dir=.
2405    for ac_exec_ext in '' $ac_executable_extensions; do
2406  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2407    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2408    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2409    break 2
2410  fi
2411done
2412  done
2413IFS=$as_save_IFS
2414
2415fi
2416fi
2417CC=$ac_cv_prog_CC
2418if test -n "$CC"; then
2419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2420$as_echo "$CC" >&6; }
2421else
2422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2423$as_echo "no" >&6; }
2424fi
2425
2426
2427fi
2428if test -z "$ac_cv_prog_CC"; then
2429  ac_ct_CC=$CC
2430  # Extract the first word of "gcc", so it can be a program name with args.
2431set dummy gcc; ac_word=$2
2432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2433$as_echo_n "checking for $ac_word... " >&6; }
2434if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2435  $as_echo_n "(cached) " >&6
2436else
2437  if test -n "$ac_ct_CC"; then
2438  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2439else
2440as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441for as_dir in $PATH
2442do
2443  IFS=$as_save_IFS
2444  test -z "$as_dir" && as_dir=.
2445    for ac_exec_ext in '' $ac_executable_extensions; do
2446  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447    ac_cv_prog_ac_ct_CC="gcc"
2448    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2449    break 2
2450  fi
2451done
2452  done
2453IFS=$as_save_IFS
2454
2455fi
2456fi
2457ac_ct_CC=$ac_cv_prog_ac_ct_CC
2458if test -n "$ac_ct_CC"; then
2459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2460$as_echo "$ac_ct_CC" >&6; }
2461else
2462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2463$as_echo "no" >&6; }
2464fi
2465
2466  if test "x$ac_ct_CC" = x; then
2467    CC=""
2468  else
2469    case $cross_compiling:$ac_tool_warned in
2470yes:)
2471{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2472$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2473ac_tool_warned=yes ;;
2474esac
2475    CC=$ac_ct_CC
2476  fi
2477else
2478  CC="$ac_cv_prog_CC"
2479fi
2480
2481if test -z "$CC"; then
2482          if test -n "$ac_tool_prefix"; then
2483    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2484set dummy ${ac_tool_prefix}cc; ac_word=$2
2485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2486$as_echo_n "checking for $ac_word... " >&6; }
2487if test "${ac_cv_prog_CC+set}" = set; then :
2488  $as_echo_n "(cached) " >&6
2489else
2490  if test -n "$CC"; then
2491  ac_cv_prog_CC="$CC" # Let the user override the test.
2492else
2493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494for as_dir in $PATH
2495do
2496  IFS=$as_save_IFS
2497  test -z "$as_dir" && as_dir=.
2498    for ac_exec_ext in '' $ac_executable_extensions; do
2499  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2500    ac_cv_prog_CC="${ac_tool_prefix}cc"
2501    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2502    break 2
2503  fi
2504done
2505  done
2506IFS=$as_save_IFS
2507
2508fi
2509fi
2510CC=$ac_cv_prog_CC
2511if test -n "$CC"; then
2512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2513$as_echo "$CC" >&6; }
2514else
2515  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516$as_echo "no" >&6; }
2517fi
2518
2519
2520  fi
2521fi
2522if test -z "$CC"; then
2523  # Extract the first word of "cc", so it can be a program name with args.
2524set dummy cc; ac_word=$2
2525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526$as_echo_n "checking for $ac_word... " >&6; }
2527if test "${ac_cv_prog_CC+set}" = set; then :
2528  $as_echo_n "(cached) " >&6
2529else
2530  if test -n "$CC"; then
2531  ac_cv_prog_CC="$CC" # Let the user override the test.
2532else
2533  ac_prog_rejected=no
2534as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2535for as_dir in $PATH
2536do
2537  IFS=$as_save_IFS
2538  test -z "$as_dir" && as_dir=.
2539    for ac_exec_ext in '' $ac_executable_extensions; do
2540  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2541    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2542       ac_prog_rejected=yes
2543       continue
2544     fi
2545    ac_cv_prog_CC="cc"
2546    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2547    break 2
2548  fi
2549done
2550  done
2551IFS=$as_save_IFS
2552
2553if test $ac_prog_rejected = yes; then
2554  # We found a bogon in the path, so make sure we never use it.
2555  set dummy $ac_cv_prog_CC
2556  shift
2557  if test $# != 0; then
2558    # We chose a different compiler from the bogus one.
2559    # However, it has the same basename, so the bogon will be chosen
2560    # first if we set CC to just the basename; use the full file name.
2561    shift
2562    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2563  fi
2564fi
2565fi
2566fi
2567CC=$ac_cv_prog_CC
2568if test -n "$CC"; then
2569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2570$as_echo "$CC" >&6; }
2571else
2572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2573$as_echo "no" >&6; }
2574fi
2575
2576
2577fi
2578if test -z "$CC"; then
2579  if test -n "$ac_tool_prefix"; then
2580  for ac_prog in cl.exe
2581  do
2582    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2583set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2585$as_echo_n "checking for $ac_word... " >&6; }
2586if test "${ac_cv_prog_CC+set}" = set; then :
2587  $as_echo_n "(cached) " >&6
2588else
2589  if test -n "$CC"; then
2590  ac_cv_prog_CC="$CC" # Let the user override the test.
2591else
2592as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593for as_dir in $PATH
2594do
2595  IFS=$as_save_IFS
2596  test -z "$as_dir" && as_dir=.
2597    for ac_exec_ext in '' $ac_executable_extensions; do
2598  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2599    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2600    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2601    break 2
2602  fi
2603done
2604  done
2605IFS=$as_save_IFS
2606
2607fi
2608fi
2609CC=$ac_cv_prog_CC
2610if test -n "$CC"; then
2611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2612$as_echo "$CC" >&6; }
2613else
2614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2615$as_echo "no" >&6; }
2616fi
2617
2618
2619    test -n "$CC" && break
2620  done
2621fi
2622if test -z "$CC"; then
2623  ac_ct_CC=$CC
2624  for ac_prog in cl.exe
2625do
2626  # Extract the first word of "$ac_prog", so it can be a program name with args.
2627set dummy $ac_prog; ac_word=$2
2628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2629$as_echo_n "checking for $ac_word... " >&6; }
2630if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2631  $as_echo_n "(cached) " >&6
2632else
2633  if test -n "$ac_ct_CC"; then
2634  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2635else
2636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2637for as_dir in $PATH
2638do
2639  IFS=$as_save_IFS
2640  test -z "$as_dir" && as_dir=.
2641    for ac_exec_ext in '' $ac_executable_extensions; do
2642  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2643    ac_cv_prog_ac_ct_CC="$ac_prog"
2644    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2645    break 2
2646  fi
2647done
2648  done
2649IFS=$as_save_IFS
2650
2651fi
2652fi
2653ac_ct_CC=$ac_cv_prog_ac_ct_CC
2654if test -n "$ac_ct_CC"; then
2655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2656$as_echo "$ac_ct_CC" >&6; }
2657else
2658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659$as_echo "no" >&6; }
2660fi
2661
2662
2663  test -n "$ac_ct_CC" && break
2664done
2665
2666  if test "x$ac_ct_CC" = x; then
2667    CC=""
2668  else
2669    case $cross_compiling:$ac_tool_warned in
2670yes:)
2671{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2672$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2673ac_tool_warned=yes ;;
2674esac
2675    CC=$ac_ct_CC
2676  fi
2677fi
2678
2679fi
2680
2681
2682test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2683$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2684as_fn_error "no acceptable C compiler found in \$PATH
2685See \`config.log' for more details." "$LINENO" 5; }
2686
2687# Provide some information about the compiler.
2688$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2689set X $ac_compile
2690ac_compiler=$2
2691for ac_option in --version -v -V -qversion; do
2692  { { ac_try="$ac_compiler $ac_option >&5"
2693case "(($ac_try" in
2694  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2695  *) ac_try_echo=$ac_try;;
2696esac
2697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2698$as_echo "$ac_try_echo"; } >&5
2699  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2700  ac_status=$?
2701  if test -s conftest.err; then
2702    sed '10a\
2703... rest of stderr output deleted ...
2704         10q' conftest.err >conftest.er1
2705    cat conftest.er1 >&5
2706  fi
2707  rm -f conftest.er1 conftest.err
2708  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709  test $ac_status = 0; }
2710done
2711
2712cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2713/* end confdefs.h.  */
2714
2715int
2716main ()
2717{
2718
2719  ;
2720  return 0;
2721}
2722_ACEOF
2723ac_clean_files_save=$ac_clean_files
2724ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2725# Try to create an executable without -o first, disregard a.out.
2726# It will help us diagnose broken compilers, and finding out an intuition
2727# of exeext.
2728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2729$as_echo_n "checking whether the C compiler works... " >&6; }
2730ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2731
2732# The possible output files:
2733ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2734
2735ac_rmfiles=
2736for ac_file in $ac_files
2737do
2738  case $ac_file in
2739    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2740    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2741  esac
2742done
2743rm -f $ac_rmfiles
2744
2745if { { ac_try="$ac_link_default"
2746case "(($ac_try" in
2747  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2748  *) ac_try_echo=$ac_try;;
2749esac
2750eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2751$as_echo "$ac_try_echo"; } >&5
2752  (eval "$ac_link_default") 2>&5
2753  ac_status=$?
2754  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755  test $ac_status = 0; }; then :
2756  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2757# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2758# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2759# so that the user can short-circuit this test for compilers unknown to
2760# Autoconf.
2761for ac_file in $ac_files ''
2762do
2763  test -f "$ac_file" || continue
2764  case $ac_file in
2765    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2766	;;
2767    [ab].out )
2768	# We found the default executable, but exeext='' is most
2769	# certainly right.
2770	break;;
2771    *.* )
2772	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2773	then :; else
2774	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2775	fi
2776	# We set ac_cv_exeext here because the later test for it is not
2777	# safe: cross compilers may not add the suffix if given an `-o'
2778	# argument, so we may need to know it at that point already.
2779	# Even if this section looks crufty: it has the advantage of
2780	# actually working.
2781	break;;
2782    * )
2783	break;;
2784  esac
2785done
2786test "$ac_cv_exeext" = no && ac_cv_exeext=
2787
2788else
2789  ac_file=''
2790fi
2791if test -z "$ac_file"; then :
2792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793$as_echo "no" >&6; }
2794$as_echo "$as_me: failed program was:" >&5
2795sed 's/^/| /' conftest.$ac_ext >&5
2796
2797{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2798$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2799{ as_fn_set_status 77
2800as_fn_error "C compiler cannot create executables
2801See \`config.log' for more details." "$LINENO" 5; }; }
2802else
2803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2804$as_echo "yes" >&6; }
2805fi
2806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2807$as_echo_n "checking for C compiler default output file name... " >&6; }
2808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2809$as_echo "$ac_file" >&6; }
2810ac_exeext=$ac_cv_exeext
2811
2812rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2813ac_clean_files=$ac_clean_files_save
2814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2815$as_echo_n "checking for suffix of executables... " >&6; }
2816if { { ac_try="$ac_link"
2817case "(($ac_try" in
2818  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2819  *) ac_try_echo=$ac_try;;
2820esac
2821eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2822$as_echo "$ac_try_echo"; } >&5
2823  (eval "$ac_link") 2>&5
2824  ac_status=$?
2825  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2826  test $ac_status = 0; }; then :
2827  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2828# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2829# work properly (i.e., refer to `conftest.exe'), while it won't with
2830# `rm'.
2831for ac_file in conftest.exe conftest conftest.*; do
2832  test -f "$ac_file" || continue
2833  case $ac_file in
2834    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2835    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2836	  break;;
2837    * ) break;;
2838  esac
2839done
2840else
2841  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2842$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2843as_fn_error "cannot compute suffix of executables: cannot compile and link
2844See \`config.log' for more details." "$LINENO" 5; }
2845fi
2846rm -f conftest conftest$ac_cv_exeext
2847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2848$as_echo "$ac_cv_exeext" >&6; }
2849
2850rm -f conftest.$ac_ext
2851EXEEXT=$ac_cv_exeext
2852ac_exeext=$EXEEXT
2853cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854/* end confdefs.h.  */
2855#include <stdio.h>
2856int
2857main ()
2858{
2859FILE *f = fopen ("conftest.out", "w");
2860 return ferror (f) || fclose (f) != 0;
2861
2862  ;
2863  return 0;
2864}
2865_ACEOF
2866ac_clean_files="$ac_clean_files conftest.out"
2867# Check that the compiler produces executables we can run.  If not, either
2868# the compiler is broken, or we cross compile.
2869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2870$as_echo_n "checking whether we are cross compiling... " >&6; }
2871if test "$cross_compiling" != yes; then
2872  { { ac_try="$ac_link"
2873case "(($ac_try" in
2874  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875  *) ac_try_echo=$ac_try;;
2876esac
2877eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2878$as_echo "$ac_try_echo"; } >&5
2879  (eval "$ac_link") 2>&5
2880  ac_status=$?
2881  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2882  test $ac_status = 0; }
2883  if { ac_try='./conftest$ac_cv_exeext'
2884  { { case "(($ac_try" in
2885  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2886  *) ac_try_echo=$ac_try;;
2887esac
2888eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2889$as_echo "$ac_try_echo"; } >&5
2890  (eval "$ac_try") 2>&5
2891  ac_status=$?
2892  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2893  test $ac_status = 0; }; }; then
2894    cross_compiling=no
2895  else
2896    if test "$cross_compiling" = maybe; then
2897	cross_compiling=yes
2898    else
2899	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2900$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2901as_fn_error "cannot run C compiled programs.
2902If you meant to cross compile, use \`--host'.
2903See \`config.log' for more details." "$LINENO" 5; }
2904    fi
2905  fi
2906fi
2907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2908$as_echo "$cross_compiling" >&6; }
2909
2910rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2911ac_clean_files=$ac_clean_files_save
2912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2913$as_echo_n "checking for suffix of object files... " >&6; }
2914if test "${ac_cv_objext+set}" = set; then :
2915  $as_echo_n "(cached) " >&6
2916else
2917  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918/* end confdefs.h.  */
2919
2920int
2921main ()
2922{
2923
2924  ;
2925  return 0;
2926}
2927_ACEOF
2928rm -f conftest.o conftest.obj
2929if { { ac_try="$ac_compile"
2930case "(($ac_try" in
2931  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932  *) ac_try_echo=$ac_try;;
2933esac
2934eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2935$as_echo "$ac_try_echo"; } >&5
2936  (eval "$ac_compile") 2>&5
2937  ac_status=$?
2938  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2939  test $ac_status = 0; }; then :
2940  for ac_file in conftest.o conftest.obj conftest.*; do
2941  test -f "$ac_file" || continue;
2942  case $ac_file in
2943    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2944    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2945       break;;
2946  esac
2947done
2948else
2949  $as_echo "$as_me: failed program was:" >&5
2950sed 's/^/| /' conftest.$ac_ext >&5
2951
2952{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2953$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2954as_fn_error "cannot compute suffix of object files: cannot compile
2955See \`config.log' for more details." "$LINENO" 5; }
2956fi
2957rm -f conftest.$ac_cv_objext conftest.$ac_ext
2958fi
2959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2960$as_echo "$ac_cv_objext" >&6; }
2961OBJEXT=$ac_cv_objext
2962ac_objext=$OBJEXT
2963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2964$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2965if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2966  $as_echo_n "(cached) " >&6
2967else
2968  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2969/* end confdefs.h.  */
2970
2971int
2972main ()
2973{
2974#ifndef __GNUC__
2975       choke me
2976#endif
2977
2978  ;
2979  return 0;
2980}
2981_ACEOF
2982if ac_fn_c_try_compile "$LINENO"; then :
2983  ac_compiler_gnu=yes
2984else
2985  ac_compiler_gnu=no
2986fi
2987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2988ac_cv_c_compiler_gnu=$ac_compiler_gnu
2989
2990fi
2991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2992$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2993if test $ac_compiler_gnu = yes; then
2994  GCC=yes
2995else
2996  GCC=
2997fi
2998ac_test_CFLAGS=${CFLAGS+set}
2999ac_save_CFLAGS=$CFLAGS
3000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3001$as_echo_n "checking whether $CC accepts -g... " >&6; }
3002if test "${ac_cv_prog_cc_g+set}" = set; then :
3003  $as_echo_n "(cached) " >&6
3004else
3005  ac_save_c_werror_flag=$ac_c_werror_flag
3006   ac_c_werror_flag=yes
3007   ac_cv_prog_cc_g=no
3008   CFLAGS="-g"
3009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010/* end confdefs.h.  */
3011
3012int
3013main ()
3014{
3015
3016  ;
3017  return 0;
3018}
3019_ACEOF
3020if ac_fn_c_try_compile "$LINENO"; then :
3021  ac_cv_prog_cc_g=yes
3022else
3023  CFLAGS=""
3024      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025/* end confdefs.h.  */
3026
3027int
3028main ()
3029{
3030
3031  ;
3032  return 0;
3033}
3034_ACEOF
3035if ac_fn_c_try_compile "$LINENO"; then :
3036
3037else
3038  ac_c_werror_flag=$ac_save_c_werror_flag
3039	 CFLAGS="-g"
3040	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041/* end confdefs.h.  */
3042
3043int
3044main ()
3045{
3046
3047  ;
3048  return 0;
3049}
3050_ACEOF
3051if ac_fn_c_try_compile "$LINENO"; then :
3052  ac_cv_prog_cc_g=yes
3053fi
3054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055fi
3056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057fi
3058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059   ac_c_werror_flag=$ac_save_c_werror_flag
3060fi
3061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3062$as_echo "$ac_cv_prog_cc_g" >&6; }
3063if test "$ac_test_CFLAGS" = set; then
3064  CFLAGS=$ac_save_CFLAGS
3065elif test $ac_cv_prog_cc_g = yes; then
3066  if test "$GCC" = yes; then
3067    CFLAGS="-g -O2"
3068  else
3069    CFLAGS="-g"
3070  fi
3071else
3072  if test "$GCC" = yes; then
3073    CFLAGS="-O2"
3074  else
3075    CFLAGS=
3076  fi
3077fi
3078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3079$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3080if test "${ac_cv_prog_cc_c89+set}" = set; then :
3081  $as_echo_n "(cached) " >&6
3082else
3083  ac_cv_prog_cc_c89=no
3084ac_save_CC=$CC
3085cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086/* end confdefs.h.  */
3087#include <stdarg.h>
3088#include <stdio.h>
3089#include <sys/types.h>
3090#include <sys/stat.h>
3091/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3092struct buf { int x; };
3093FILE * (*rcsopen) (struct buf *, struct stat *, int);
3094static char *e (p, i)
3095     char **p;
3096     int i;
3097{
3098  return p[i];
3099}
3100static char *f (char * (*g) (char **, int), char **p, ...)
3101{
3102  char *s;
3103  va_list v;
3104  va_start (v,p);
3105  s = g (p, va_arg (v,int));
3106  va_end (v);
3107  return s;
3108}
3109
3110/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3111   function prototypes and stuff, but not '\xHH' hex character constants.
3112   These don't provoke an error unfortunately, instead are silently treated
3113   as 'x'.  The following induces an error, until -std is added to get
3114   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3115   array size at least.  It's necessary to write '\x00'==0 to get something
3116   that's true only with -std.  */
3117int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3118
3119/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3120   inside strings and character constants.  */
3121#define FOO(x) 'x'
3122int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3123
3124int test (int i, double x);
3125struct s1 {int (*f) (int a);};
3126struct s2 {int (*f) (double a);};
3127int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3128int argc;
3129char **argv;
3130int
3131main ()
3132{
3133return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3134  ;
3135  return 0;
3136}
3137_ACEOF
3138for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3139	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3140do
3141  CC="$ac_save_CC $ac_arg"
3142  if ac_fn_c_try_compile "$LINENO"; then :
3143  ac_cv_prog_cc_c89=$ac_arg
3144fi
3145rm -f core conftest.err conftest.$ac_objext
3146  test "x$ac_cv_prog_cc_c89" != "xno" && break
3147done
3148rm -f conftest.$ac_ext
3149CC=$ac_save_CC
3150
3151fi
3152# AC_CACHE_VAL
3153case "x$ac_cv_prog_cc_c89" in
3154  x)
3155    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3156$as_echo "none needed" >&6; } ;;
3157  xno)
3158    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3159$as_echo "unsupported" >&6; } ;;
3160  *)
3161    CC="$CC $ac_cv_prog_cc_c89"
3162    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3163$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3164esac
3165if test "x$ac_cv_prog_cc_c89" != xno; then :
3166
3167fi
3168
3169ac_ext=c
3170ac_cpp='$CPP $CPPFLAGS'
3171ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173ac_compiler_gnu=$ac_cv_c_compiler_gnu
3174
3175case `pwd` in
3176  *\ * | *\	*)
3177    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3178$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3179esac
3180
3181
3182
3183macro_version='2.2.6b'
3184macro_revision='1.3017'
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198ltmain="$ac_aux_dir/ltmain.sh"
3199
3200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3201$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3202if test "${ac_cv_path_SED+set}" = set; then :
3203  $as_echo_n "(cached) " >&6
3204else
3205            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3206     for ac_i in 1 2 3 4 5 6 7; do
3207       ac_script="$ac_script$as_nl$ac_script"
3208     done
3209     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3210     { ac_script=; unset ac_script;}
3211     if test -z "$SED"; then
3212  ac_path_SED_found=false
3213  # Loop through the user's path and test for each of PROGNAME-LIST
3214  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215for as_dir in $PATH
3216do
3217  IFS=$as_save_IFS
3218  test -z "$as_dir" && as_dir=.
3219    for ac_prog in sed gsed; do
3220    for ac_exec_ext in '' $ac_executable_extensions; do
3221      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3222      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3223# Check for GNU ac_path_SED and select it if it is found.
3224  # Check for GNU $ac_path_SED
3225case `"$ac_path_SED" --version 2>&1` in
3226*GNU*)
3227  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3228*)
3229  ac_count=0
3230  $as_echo_n 0123456789 >"conftest.in"
3231  while :
3232  do
3233    cat "conftest.in" "conftest.in" >"conftest.tmp"
3234    mv "conftest.tmp" "conftest.in"
3235    cp "conftest.in" "conftest.nl"
3236    $as_echo '' >> "conftest.nl"
3237    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3238    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3239    as_fn_arith $ac_count + 1 && ac_count=$as_val
3240    if test $ac_count -gt ${ac_path_SED_max-0}; then
3241      # Best one so far, save it but keep looking for a better one
3242      ac_cv_path_SED="$ac_path_SED"
3243      ac_path_SED_max=$ac_count
3244    fi
3245    # 10*(2^10) chars as input seems more than enough
3246    test $ac_count -gt 10 && break
3247  done
3248  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3249esac
3250
3251      $ac_path_SED_found && break 3
3252    done
3253  done
3254  done
3255IFS=$as_save_IFS
3256  if test -z "$ac_cv_path_SED"; then
3257    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3258  fi
3259else
3260  ac_cv_path_SED=$SED
3261fi
3262
3263fi
3264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3265$as_echo "$ac_cv_path_SED" >&6; }
3266 SED="$ac_cv_path_SED"
3267  rm -f conftest.sed
3268
3269test -z "$SED" && SED=sed
3270Xsed="$SED -e 1s/^X//"
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3283$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3284if test "${ac_cv_path_GREP+set}" = set; then :
3285  $as_echo_n "(cached) " >&6
3286else
3287  if test -z "$GREP"; then
3288  ac_path_GREP_found=false
3289  # Loop through the user's path and test for each of PROGNAME-LIST
3290  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3292do
3293  IFS=$as_save_IFS
3294  test -z "$as_dir" && as_dir=.
3295    for ac_prog in grep ggrep; do
3296    for ac_exec_ext in '' $ac_executable_extensions; do
3297      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3298      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3299# Check for GNU ac_path_GREP and select it if it is found.
3300  # Check for GNU $ac_path_GREP
3301case `"$ac_path_GREP" --version 2>&1` in
3302*GNU*)
3303  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3304*)
3305  ac_count=0
3306  $as_echo_n 0123456789 >"conftest.in"
3307  while :
3308  do
3309    cat "conftest.in" "conftest.in" >"conftest.tmp"
3310    mv "conftest.tmp" "conftest.in"
3311    cp "conftest.in" "conftest.nl"
3312    $as_echo 'GREP' >> "conftest.nl"
3313    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3314    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3315    as_fn_arith $ac_count + 1 && ac_count=$as_val
3316    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3317      # Best one so far, save it but keep looking for a better one
3318      ac_cv_path_GREP="$ac_path_GREP"
3319      ac_path_GREP_max=$ac_count
3320    fi
3321    # 10*(2^10) chars as input seems more than enough
3322    test $ac_count -gt 10 && break
3323  done
3324  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3325esac
3326
3327      $ac_path_GREP_found && break 3
3328    done
3329  done
3330  done
3331IFS=$as_save_IFS
3332  if test -z "$ac_cv_path_GREP"; then
3333    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3334  fi
3335else
3336  ac_cv_path_GREP=$GREP
3337fi
3338
3339fi
3340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3341$as_echo "$ac_cv_path_GREP" >&6; }
3342 GREP="$ac_cv_path_GREP"
3343
3344
3345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3346$as_echo_n "checking for egrep... " >&6; }
3347if test "${ac_cv_path_EGREP+set}" = set; then :
3348  $as_echo_n "(cached) " >&6
3349else
3350  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3351   then ac_cv_path_EGREP="$GREP -E"
3352   else
3353     if test -z "$EGREP"; then
3354  ac_path_EGREP_found=false
3355  # Loop through the user's path and test for each of PROGNAME-LIST
3356  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3358do
3359  IFS=$as_save_IFS
3360  test -z "$as_dir" && as_dir=.
3361    for ac_prog in egrep; do
3362    for ac_exec_ext in '' $ac_executable_extensions; do
3363      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3364      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3365# Check for GNU ac_path_EGREP and select it if it is found.
3366  # Check for GNU $ac_path_EGREP
3367case `"$ac_path_EGREP" --version 2>&1` in
3368*GNU*)
3369  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3370*)
3371  ac_count=0
3372  $as_echo_n 0123456789 >"conftest.in"
3373  while :
3374  do
3375    cat "conftest.in" "conftest.in" >"conftest.tmp"
3376    mv "conftest.tmp" "conftest.in"
3377    cp "conftest.in" "conftest.nl"
3378    $as_echo 'EGREP' >> "conftest.nl"
3379    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3380    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3381    as_fn_arith $ac_count + 1 && ac_count=$as_val
3382    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3383      # Best one so far, save it but keep looking for a better one
3384      ac_cv_path_EGREP="$ac_path_EGREP"
3385      ac_path_EGREP_max=$ac_count
3386    fi
3387    # 10*(2^10) chars as input seems more than enough
3388    test $ac_count -gt 10 && break
3389  done
3390  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3391esac
3392
3393      $ac_path_EGREP_found && break 3
3394    done
3395  done
3396  done
3397IFS=$as_save_IFS
3398  if test -z "$ac_cv_path_EGREP"; then
3399    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3400  fi
3401else
3402  ac_cv_path_EGREP=$EGREP
3403fi
3404
3405   fi
3406fi
3407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3408$as_echo "$ac_cv_path_EGREP" >&6; }
3409 EGREP="$ac_cv_path_EGREP"
3410
3411
3412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3413$as_echo_n "checking for fgrep... " >&6; }
3414if test "${ac_cv_path_FGREP+set}" = set; then :
3415  $as_echo_n "(cached) " >&6
3416else
3417  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3418   then ac_cv_path_FGREP="$GREP -F"
3419   else
3420     if test -z "$FGREP"; then
3421  ac_path_FGREP_found=false
3422  # Loop through the user's path and test for each of PROGNAME-LIST
3423  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3424for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3425do
3426  IFS=$as_save_IFS
3427  test -z "$as_dir" && as_dir=.
3428    for ac_prog in fgrep; do
3429    for ac_exec_ext in '' $ac_executable_extensions; do
3430      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3431      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3432# Check for GNU ac_path_FGREP and select it if it is found.
3433  # Check for GNU $ac_path_FGREP
3434case `"$ac_path_FGREP" --version 2>&1` in
3435*GNU*)
3436  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3437*)
3438  ac_count=0
3439  $as_echo_n 0123456789 >"conftest.in"
3440  while :
3441  do
3442    cat "conftest.in" "conftest.in" >"conftest.tmp"
3443    mv "conftest.tmp" "conftest.in"
3444    cp "conftest.in" "conftest.nl"
3445    $as_echo 'FGREP' >> "conftest.nl"
3446    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3447    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3448    as_fn_arith $ac_count + 1 && ac_count=$as_val
3449    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3450      # Best one so far, save it but keep looking for a better one
3451      ac_cv_path_FGREP="$ac_path_FGREP"
3452      ac_path_FGREP_max=$ac_count
3453    fi
3454    # 10*(2^10) chars as input seems more than enough
3455    test $ac_count -gt 10 && break
3456  done
3457  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3458esac
3459
3460      $ac_path_FGREP_found && break 3
3461    done
3462  done
3463  done
3464IFS=$as_save_IFS
3465  if test -z "$ac_cv_path_FGREP"; then
3466    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3467  fi
3468else
3469  ac_cv_path_FGREP=$FGREP
3470fi
3471
3472   fi
3473fi
3474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3475$as_echo "$ac_cv_path_FGREP" >&6; }
3476 FGREP="$ac_cv_path_FGREP"
3477
3478
3479test -z "$GREP" && GREP=grep
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499# Check whether --with-gnu-ld was given.
3500if test "${with_gnu_ld+set}" = set; then :
3501  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3502else
3503  with_gnu_ld=no
3504fi
3505
3506ac_prog=ld
3507if test "$GCC" = yes; then
3508  # Check if gcc -print-prog-name=ld gives a path.
3509  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3510$as_echo_n "checking for ld used by $CC... " >&6; }
3511  case $host in
3512  *-*-mingw*)
3513    # gcc leaves a trailing carriage return which upsets mingw
3514    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3515  *)
3516    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3517  esac
3518  case $ac_prog in
3519    # Accept absolute paths.
3520    [\\/]* | ?:[\\/]*)
3521      re_direlt='/[^/][^/]*/\.\./'
3522      # Canonicalize the pathname of ld
3523      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3524      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3525	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3526      done
3527      test -z "$LD" && LD="$ac_prog"
3528      ;;
3529  "")
3530    # If it fails, then pretend we aren't using GCC.
3531    ac_prog=ld
3532    ;;
3533  *)
3534    # If it is relative, then search for the first ld in PATH.
3535    with_gnu_ld=unknown
3536    ;;
3537  esac
3538elif test "$with_gnu_ld" = yes; then
3539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3540$as_echo_n "checking for GNU ld... " >&6; }
3541else
3542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3543$as_echo_n "checking for non-GNU ld... " >&6; }
3544fi
3545if test "${lt_cv_path_LD+set}" = set; then :
3546  $as_echo_n "(cached) " >&6
3547else
3548  if test -z "$LD"; then
3549  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3550  for ac_dir in $PATH; do
3551    IFS="$lt_save_ifs"
3552    test -z "$ac_dir" && ac_dir=.
3553    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3554      lt_cv_path_LD="$ac_dir/$ac_prog"
3555      # Check to see if the program is GNU ld.  I'd rather use --version,
3556      # but apparently some variants of GNU ld only accept -v.
3557      # Break only if it was the GNU/non-GNU ld that we prefer.
3558      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3559      *GNU* | *'with BFD'*)
3560	test "$with_gnu_ld" != no && break
3561	;;
3562      *)
3563	test "$with_gnu_ld" != yes && break
3564	;;
3565      esac
3566    fi
3567  done
3568  IFS="$lt_save_ifs"
3569else
3570  lt_cv_path_LD="$LD" # Let the user override the test with a path.
3571fi
3572fi
3573
3574LD="$lt_cv_path_LD"
3575if test -n "$LD"; then
3576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3577$as_echo "$LD" >&6; }
3578else
3579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580$as_echo "no" >&6; }
3581fi
3582test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3584$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3585if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3586  $as_echo_n "(cached) " >&6
3587else
3588  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3589case `$LD -v 2>&1 </dev/null` in
3590*GNU* | *'with BFD'*)
3591  lt_cv_prog_gnu_ld=yes
3592  ;;
3593*)
3594  lt_cv_prog_gnu_ld=no
3595  ;;
3596esac
3597fi
3598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3599$as_echo "$lt_cv_prog_gnu_ld" >&6; }
3600with_gnu_ld=$lt_cv_prog_gnu_ld
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3611$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3612if test "${lt_cv_path_NM+set}" = set; then :
3613  $as_echo_n "(cached) " >&6
3614else
3615  if test -n "$NM"; then
3616  # Let the user override the test.
3617  lt_cv_path_NM="$NM"
3618else
3619  lt_nm_to_check="${ac_tool_prefix}nm"
3620  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3621    lt_nm_to_check="$lt_nm_to_check nm"
3622  fi
3623  for lt_tmp_nm in $lt_nm_to_check; do
3624    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3625    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3626      IFS="$lt_save_ifs"
3627      test -z "$ac_dir" && ac_dir=.
3628      tmp_nm="$ac_dir/$lt_tmp_nm"
3629      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3630	# Check to see if the nm accepts a BSD-compat flag.
3631	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
3632	#   nm: unknown option "B" ignored
3633	# Tru64's nm complains that /dev/null is an invalid object file
3634	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3635	*/dev/null* | *'Invalid file or object type'*)
3636	  lt_cv_path_NM="$tmp_nm -B"
3637	  break
3638	  ;;
3639	*)
3640	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3641	  */dev/null*)
3642	    lt_cv_path_NM="$tmp_nm -p"
3643	    break
3644	    ;;
3645	  *)
3646	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3647	    continue # so that we can try to find one that supports BSD flags
3648	    ;;
3649	  esac
3650	  ;;
3651	esac
3652      fi
3653    done
3654    IFS="$lt_save_ifs"
3655  done
3656  : ${lt_cv_path_NM=no}
3657fi
3658fi
3659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3660$as_echo "$lt_cv_path_NM" >&6; }
3661if test "$lt_cv_path_NM" != "no"; then
3662  NM="$lt_cv_path_NM"
3663else
3664  # Didn't find any BSD compatible name lister, look for dumpbin.
3665  if test -n "$ac_tool_prefix"; then
3666  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
3667  do
3668    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3669set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671$as_echo_n "checking for $ac_word... " >&6; }
3672if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3673  $as_echo_n "(cached) " >&6
3674else
3675  if test -n "$DUMPBIN"; then
3676  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
3677else
3678as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679for as_dir in $PATH
3680do
3681  IFS=$as_save_IFS
3682  test -z "$as_dir" && as_dir=.
3683    for ac_exec_ext in '' $ac_executable_extensions; do
3684  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
3686    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687    break 2
3688  fi
3689done
3690  done
3691IFS=$as_save_IFS
3692
3693fi
3694fi
3695DUMPBIN=$ac_cv_prog_DUMPBIN
3696if test -n "$DUMPBIN"; then
3697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3698$as_echo "$DUMPBIN" >&6; }
3699else
3700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701$as_echo "no" >&6; }
3702fi
3703
3704
3705    test -n "$DUMPBIN" && break
3706  done
3707fi
3708if test -z "$DUMPBIN"; then
3709  ac_ct_DUMPBIN=$DUMPBIN
3710  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
3711do
3712  # Extract the first word of "$ac_prog", so it can be a program name with args.
3713set dummy $ac_prog; ac_word=$2
3714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3715$as_echo_n "checking for $ac_word... " >&6; }
3716if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
3717  $as_echo_n "(cached) " >&6
3718else
3719  if test -n "$ac_ct_DUMPBIN"; then
3720  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
3721else
3722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723for as_dir in $PATH
3724do
3725  IFS=$as_save_IFS
3726  test -z "$as_dir" && as_dir=.
3727    for ac_exec_ext in '' $ac_executable_extensions; do
3728  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3729    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
3730    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3731    break 2
3732  fi
3733done
3734  done
3735IFS=$as_save_IFS
3736
3737fi
3738fi
3739ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
3740if test -n "$ac_ct_DUMPBIN"; then
3741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3742$as_echo "$ac_ct_DUMPBIN" >&6; }
3743else
3744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3745$as_echo "no" >&6; }
3746fi
3747
3748
3749  test -n "$ac_ct_DUMPBIN" && break
3750done
3751
3752  if test "x$ac_ct_DUMPBIN" = x; then
3753    DUMPBIN=":"
3754  else
3755    case $cross_compiling:$ac_tool_warned in
3756yes:)
3757{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3758$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3759ac_tool_warned=yes ;;
3760esac
3761    DUMPBIN=$ac_ct_DUMPBIN
3762  fi
3763fi
3764
3765
3766  if test "$DUMPBIN" != ":"; then
3767    NM="$DUMPBIN"
3768  fi
3769fi
3770test -z "$NM" && NM=nm
3771
3772
3773
3774
3775
3776
3777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3778$as_echo_n "checking the name lister ($NM) interface... " >&6; }
3779if test "${lt_cv_nm_interface+set}" = set; then :
3780  $as_echo_n "(cached) " >&6
3781else
3782  lt_cv_nm_interface="BSD nm"
3783  echo "int some_variable = 0;" > conftest.$ac_ext
3784  (eval echo "\"\$as_me:3784: $ac_compile\"" >&5)
3785  (eval "$ac_compile" 2>conftest.err)
3786  cat conftest.err >&5
3787  (eval echo "\"\$as_me:3787: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3788  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3789  cat conftest.err >&5
3790  (eval echo "\"\$as_me:3790: output\"" >&5)
3791  cat conftest.out >&5
3792  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3793    lt_cv_nm_interface="MS dumpbin"
3794  fi
3795  rm -f conftest*
3796fi
3797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3798$as_echo "$lt_cv_nm_interface" >&6; }
3799
3800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3801$as_echo_n "checking whether ln -s works... " >&6; }
3802LN_S=$as_ln_s
3803if test "$LN_S" = "ln -s"; then
3804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3805$as_echo "yes" >&6; }
3806else
3807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3808$as_echo "no, using $LN_S" >&6; }
3809fi
3810
3811# find the maximum length of command line arguments
3812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3813$as_echo_n "checking the maximum length of command line arguments... " >&6; }
3814if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
3815  $as_echo_n "(cached) " >&6
3816else
3817    i=0
3818  teststring="ABCD"
3819
3820  case $build_os in
3821  msdosdjgpp*)
3822    # On DJGPP, this test can blow up pretty badly due to problems in libc
3823    # (any single argument exceeding 2000 bytes causes a buffer overrun
3824    # during glob expansion).  Even if it were fixed, the result of this
3825    # check would be larger than it should be.
3826    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
3827    ;;
3828
3829  gnu*)
3830    # Under GNU Hurd, this test is not required because there is
3831    # no limit to the length of command line arguments.
3832    # Libtool will interpret -1 as no limit whatsoever
3833    lt_cv_sys_max_cmd_len=-1;
3834    ;;
3835
3836  cygwin* | mingw* | cegcc*)
3837    # On Win9x/ME, this test blows up -- it succeeds, but takes
3838    # about 5 minutes as the teststring grows exponentially.
3839    # Worse, since 9x/ME are not pre-emptively multitasking,
3840    # you end up with a "frozen" computer, even though with patience
3841    # the test eventually succeeds (with a max line length of 256k).
3842    # Instead, let's just punt: use the minimum linelength reported by
3843    # all of the supported platforms: 8192 (on NT/2K/XP).
3844    lt_cv_sys_max_cmd_len=8192;
3845    ;;
3846
3847  amigaos*)
3848    # On AmigaOS with pdksh, this test takes hours, literally.
3849    # So we just punt and use a minimum line length of 8192.
3850    lt_cv_sys_max_cmd_len=8192;
3851    ;;
3852
3853  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3854    # This has been around since 386BSD, at least.  Likely further.
3855    if test -x /sbin/sysctl; then
3856      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3857    elif test -x /usr/sbin/sysctl; then
3858      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3859    else
3860      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
3861    fi
3862    # And add a safety zone
3863    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3864    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3865    ;;
3866
3867  interix*)
3868    # We know the value 262144 and hardcode it with a safety zone (like BSD)
3869    lt_cv_sys_max_cmd_len=196608
3870    ;;
3871
3872  osf*)
3873    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3874    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3875    # nice to cause kernel panics so lets avoid the loop below.
3876    # First set a reasonable default.
3877    lt_cv_sys_max_cmd_len=16384
3878    #
3879    if test -x /sbin/sysconfig; then
3880      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3881        *1*) lt_cv_sys_max_cmd_len=-1 ;;
3882      esac
3883    fi
3884    ;;
3885  sco3.2v5*)
3886    lt_cv_sys_max_cmd_len=102400
3887    ;;
3888  sysv5* | sco5v6* | sysv4.2uw2*)
3889    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3890    if test -n "$kargmax"; then
3891      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
3892    else
3893      lt_cv_sys_max_cmd_len=32768
3894    fi
3895    ;;
3896  *)
3897    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
3898    if test -n "$lt_cv_sys_max_cmd_len"; then
3899      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3900      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3901    else
3902      # Make teststring a little bigger before we do anything with it.
3903      # a 1K string should be a reasonable start.
3904      for i in 1 2 3 4 5 6 7 8 ; do
3905        teststring=$teststring$teststring
3906      done
3907      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3908      # If test is not a shell built-in, we'll probably end up computing a
3909      # maximum length that is only half of the actual maximum length, but
3910      # we can't tell.
3911      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3912	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
3913	      test $i != 17 # 1/2 MB should be enough
3914      do
3915        i=`expr $i + 1`
3916        teststring=$teststring$teststring
3917      done
3918      # Only check the string length outside the loop.
3919      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
3920      teststring=
3921      # Add a significant safety factor because C++ compilers can tack on
3922      # massive amounts of additional arguments before passing them to the
3923      # linker.  It appears as though 1/2 is a usable value.
3924      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3925    fi
3926    ;;
3927  esac
3928
3929fi
3930
3931if test -n $lt_cv_sys_max_cmd_len ; then
3932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
3933$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
3934else
3935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
3936$as_echo "none" >&6; }
3937fi
3938max_cmd_len=$lt_cv_sys_max_cmd_len
3939
3940
3941
3942
3943
3944
3945: ${CP="cp -f"}
3946: ${MV="mv -f"}
3947: ${RM="rm -f"}
3948
3949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
3950$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
3951# Try some XSI features
3952xsi_shell=no
3953( _lt_dummy="a/b/c"
3954  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
3955      = c,a/b,, \
3956    && eval 'test $(( 1 + 1 )) -eq 2 \
3957    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
3958  && xsi_shell=yes
3959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
3960$as_echo "$xsi_shell" >&6; }
3961
3962
3963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
3964$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
3965lt_shell_append=no
3966( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
3967    >/dev/null 2>&1 \
3968  && lt_shell_append=yes
3969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
3970$as_echo "$lt_shell_append" >&6; }
3971
3972
3973if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3974  lt_unset=unset
3975else
3976  lt_unset=false
3977fi
3978
3979
3980
3981
3982
3983# test EBCDIC or ASCII
3984case `echo X|tr X '\101'` in
3985 A) # ASCII based system
3986    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
3987  lt_SP2NL='tr \040 \012'
3988  lt_NL2SP='tr \015\012 \040\040'
3989  ;;
3990 *) # EBCDIC based system
3991  lt_SP2NL='tr \100 \n'
3992  lt_NL2SP='tr \r\n \100\100'
3993  ;;
3994esac
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4005$as_echo_n "checking for $LD option to reload object files... " >&6; }
4006if test "${lt_cv_ld_reload_flag+set}" = set; then :
4007  $as_echo_n "(cached) " >&6
4008else
4009  lt_cv_ld_reload_flag='-r'
4010fi
4011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4012$as_echo "$lt_cv_ld_reload_flag" >&6; }
4013reload_flag=$lt_cv_ld_reload_flag
4014case $reload_flag in
4015"" | " "*) ;;
4016*) reload_flag=" $reload_flag" ;;
4017esac
4018reload_cmds='$LD$reload_flag -o $output$reload_objs'
4019case $host_os in
4020  darwin*)
4021    if test "$GCC" = yes; then
4022      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4023    else
4024      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4025    fi
4026    ;;
4027esac
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037if test -n "$ac_tool_prefix"; then
4038  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4039set dummy ${ac_tool_prefix}objdump; ac_word=$2
4040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4041$as_echo_n "checking for $ac_word... " >&6; }
4042if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4043  $as_echo_n "(cached) " >&6
4044else
4045  if test -n "$OBJDUMP"; then
4046  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4047else
4048as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4049for as_dir in $PATH
4050do
4051  IFS=$as_save_IFS
4052  test -z "$as_dir" && as_dir=.
4053    for ac_exec_ext in '' $ac_executable_extensions; do
4054  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4055    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4056    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4057    break 2
4058  fi
4059done
4060  done
4061IFS=$as_save_IFS
4062
4063fi
4064fi
4065OBJDUMP=$ac_cv_prog_OBJDUMP
4066if test -n "$OBJDUMP"; then
4067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4068$as_echo "$OBJDUMP" >&6; }
4069else
4070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071$as_echo "no" >&6; }
4072fi
4073
4074
4075fi
4076if test -z "$ac_cv_prog_OBJDUMP"; then
4077  ac_ct_OBJDUMP=$OBJDUMP
4078  # Extract the first word of "objdump", so it can be a program name with args.
4079set dummy objdump; ac_word=$2
4080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4081$as_echo_n "checking for $ac_word... " >&6; }
4082if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4083  $as_echo_n "(cached) " >&6
4084else
4085  if test -n "$ac_ct_OBJDUMP"; then
4086  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4087else
4088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4089for as_dir in $PATH
4090do
4091  IFS=$as_save_IFS
4092  test -z "$as_dir" && as_dir=.
4093    for ac_exec_ext in '' $ac_executable_extensions; do
4094  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4095    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4096    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4097    break 2
4098  fi
4099done
4100  done
4101IFS=$as_save_IFS
4102
4103fi
4104fi
4105ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4106if test -n "$ac_ct_OBJDUMP"; then
4107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4108$as_echo "$ac_ct_OBJDUMP" >&6; }
4109else
4110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4111$as_echo "no" >&6; }
4112fi
4113
4114  if test "x$ac_ct_OBJDUMP" = x; then
4115    OBJDUMP="false"
4116  else
4117    case $cross_compiling:$ac_tool_warned in
4118yes:)
4119{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4120$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4121ac_tool_warned=yes ;;
4122esac
4123    OBJDUMP=$ac_ct_OBJDUMP
4124  fi
4125else
4126  OBJDUMP="$ac_cv_prog_OBJDUMP"
4127fi
4128
4129test -z "$OBJDUMP" && OBJDUMP=objdump
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4140$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4141if test "${lt_cv_deplibs_check_method+set}" = set; then :
4142  $as_echo_n "(cached) " >&6
4143else
4144  lt_cv_file_magic_cmd='$MAGIC_CMD'
4145lt_cv_file_magic_test_file=
4146lt_cv_deplibs_check_method='unknown'
4147# Need to set the preceding variable on all platforms that support
4148# interlibrary dependencies.
4149# 'none' -- dependencies not supported.
4150# `unknown' -- same as none, but documents that we really don't know.
4151# 'pass_all' -- all dependencies passed with no checks.
4152# 'test_compile' -- check by making test program.
4153# 'file_magic [[regex]]' -- check by looking for files in library path
4154# which responds to the $file_magic_cmd with a given extended regex.
4155# If you have `file' or equivalent on your system and you're not sure
4156# whether `pass_all' will *always* work, you probably want this one.
4157
4158case $host_os in
4159aix[4-9]*)
4160  lt_cv_deplibs_check_method=pass_all
4161  ;;
4162
4163beos*)
4164  lt_cv_deplibs_check_method=pass_all
4165  ;;
4166
4167bsdi[45]*)
4168  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4169  lt_cv_file_magic_cmd='/usr/bin/file -L'
4170  lt_cv_file_magic_test_file=/shlib/libc.so
4171  ;;
4172
4173cygwin*)
4174  # func_win32_libid is a shell function defined in ltmain.sh
4175  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4176  lt_cv_file_magic_cmd='func_win32_libid'
4177  ;;
4178
4179mingw* | pw32*)
4180  # Base MSYS/MinGW do not provide the 'file' command needed by
4181  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4182  # unless we find 'file', for example because we are cross-compiling.
4183  if ( file / ) >/dev/null 2>&1; then
4184    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4185    lt_cv_file_magic_cmd='func_win32_libid'
4186  else
4187    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4188    lt_cv_file_magic_cmd='$OBJDUMP -f'
4189  fi
4190  ;;
4191
4192cegcc)
4193  # use the weaker test based on 'objdump'. See mingw*.
4194  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4195  lt_cv_file_magic_cmd='$OBJDUMP -f'
4196  ;;
4197
4198darwin* | rhapsody*)
4199  lt_cv_deplibs_check_method=pass_all
4200  ;;
4201
4202freebsd* | dragonfly*)
4203  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4204    case $host_cpu in
4205    i*86 )
4206      # Not sure whether the presence of OpenBSD here was a mistake.
4207      # Let's accept both of them until this is cleared up.
4208      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4209      lt_cv_file_magic_cmd=/usr/bin/file
4210      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4211      ;;
4212    esac
4213  else
4214    lt_cv_deplibs_check_method=pass_all
4215  fi
4216  ;;
4217
4218gnu*)
4219  lt_cv_deplibs_check_method=pass_all
4220  ;;
4221
4222hpux10.20* | hpux11*)
4223  lt_cv_file_magic_cmd=/usr/bin/file
4224  case $host_cpu in
4225  ia64*)
4226    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4227    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4228    ;;
4229  hppa*64*)
4230    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]'
4231    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4232    ;;
4233  *)
4234    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4235    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4236    ;;
4237  esac
4238  ;;
4239
4240interix[3-9]*)
4241  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4242  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4243  ;;
4244
4245irix5* | irix6* | nonstopux*)
4246  case $LD in
4247  *-32|*"-32 ") libmagic=32-bit;;
4248  *-n32|*"-n32 ") libmagic=N32;;
4249  *-64|*"-64 ") libmagic=64-bit;;
4250  *) libmagic=never-match;;
4251  esac
4252  lt_cv_deplibs_check_method=pass_all
4253  ;;
4254
4255# This must be Linux ELF.
4256linux* | k*bsd*-gnu | kopensolaris*-gnu)
4257  lt_cv_deplibs_check_method=pass_all
4258  ;;
4259
4260netbsd* | netbsdelf*-gnu)
4261  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4262    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4263  else
4264    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4265  fi
4266  ;;
4267
4268newos6*)
4269  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4270  lt_cv_file_magic_cmd=/usr/bin/file
4271  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4272  ;;
4273
4274*nto* | *qnx*)
4275  lt_cv_deplibs_check_method=pass_all
4276  ;;
4277
4278openbsd*)
4279  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4280    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4281  else
4282    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4283  fi
4284  ;;
4285
4286osf3* | osf4* | osf5*)
4287  lt_cv_deplibs_check_method=pass_all
4288  ;;
4289
4290rdos*)
4291  lt_cv_deplibs_check_method=pass_all
4292  ;;
4293
4294solaris*)
4295  lt_cv_deplibs_check_method=pass_all
4296  ;;
4297
4298sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4299  lt_cv_deplibs_check_method=pass_all
4300  ;;
4301
4302sysv4 | sysv4.3*)
4303  case $host_vendor in
4304  motorola)
4305    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]'
4306    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4307    ;;
4308  ncr)
4309    lt_cv_deplibs_check_method=pass_all
4310    ;;
4311  sequent)
4312    lt_cv_file_magic_cmd='/bin/file'
4313    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4314    ;;
4315  sni)
4316    lt_cv_file_magic_cmd='/bin/file'
4317    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4318    lt_cv_file_magic_test_file=/lib/libc.so
4319    ;;
4320  siemens)
4321    lt_cv_deplibs_check_method=pass_all
4322    ;;
4323  pc)
4324    lt_cv_deplibs_check_method=pass_all
4325    ;;
4326  esac
4327  ;;
4328
4329tpf*)
4330  lt_cv_deplibs_check_method=pass_all
4331  ;;
4332esac
4333
4334fi
4335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4336$as_echo "$lt_cv_deplibs_check_method" >&6; }
4337file_magic_cmd=$lt_cv_file_magic_cmd
4338deplibs_check_method=$lt_cv_deplibs_check_method
4339test -z "$deplibs_check_method" && deplibs_check_method=unknown
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352if test -n "$ac_tool_prefix"; then
4353  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4354set dummy ${ac_tool_prefix}ar; ac_word=$2
4355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356$as_echo_n "checking for $ac_word... " >&6; }
4357if test "${ac_cv_prog_AR+set}" = set; then :
4358  $as_echo_n "(cached) " >&6
4359else
4360  if test -n "$AR"; then
4361  ac_cv_prog_AR="$AR" # Let the user override the test.
4362else
4363as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364for as_dir in $PATH
4365do
4366  IFS=$as_save_IFS
4367  test -z "$as_dir" && as_dir=.
4368    for ac_exec_ext in '' $ac_executable_extensions; do
4369  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4370    ac_cv_prog_AR="${ac_tool_prefix}ar"
4371    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372    break 2
4373  fi
4374done
4375  done
4376IFS=$as_save_IFS
4377
4378fi
4379fi
4380AR=$ac_cv_prog_AR
4381if test -n "$AR"; then
4382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4383$as_echo "$AR" >&6; }
4384else
4385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386$as_echo "no" >&6; }
4387fi
4388
4389
4390fi
4391if test -z "$ac_cv_prog_AR"; then
4392  ac_ct_AR=$AR
4393  # Extract the first word of "ar", so it can be a program name with args.
4394set dummy ar; ac_word=$2
4395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396$as_echo_n "checking for $ac_word... " >&6; }
4397if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4398  $as_echo_n "(cached) " >&6
4399else
4400  if test -n "$ac_ct_AR"; then
4401  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4402else
4403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404for as_dir in $PATH
4405do
4406  IFS=$as_save_IFS
4407  test -z "$as_dir" && as_dir=.
4408    for ac_exec_ext in '' $ac_executable_extensions; do
4409  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4410    ac_cv_prog_ac_ct_AR="ar"
4411    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4412    break 2
4413  fi
4414done
4415  done
4416IFS=$as_save_IFS
4417
4418fi
4419fi
4420ac_ct_AR=$ac_cv_prog_ac_ct_AR
4421if test -n "$ac_ct_AR"; then
4422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4423$as_echo "$ac_ct_AR" >&6; }
4424else
4425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426$as_echo "no" >&6; }
4427fi
4428
4429  if test "x$ac_ct_AR" = x; then
4430    AR="false"
4431  else
4432    case $cross_compiling:$ac_tool_warned in
4433yes:)
4434{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4435$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4436ac_tool_warned=yes ;;
4437esac
4438    AR=$ac_ct_AR
4439  fi
4440else
4441  AR="$ac_cv_prog_AR"
4442fi
4443
4444test -z "$AR" && AR=ar
4445test -z "$AR_FLAGS" && AR_FLAGS=cru
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457if test -n "$ac_tool_prefix"; then
4458  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4459set dummy ${ac_tool_prefix}strip; ac_word=$2
4460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4461$as_echo_n "checking for $ac_word... " >&6; }
4462if test "${ac_cv_prog_STRIP+set}" = set; then :
4463  $as_echo_n "(cached) " >&6
4464else
4465  if test -n "$STRIP"; then
4466  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4467else
4468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4469for as_dir in $PATH
4470do
4471  IFS=$as_save_IFS
4472  test -z "$as_dir" && as_dir=.
4473    for ac_exec_ext in '' $ac_executable_extensions; do
4474  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4475    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4476    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4477    break 2
4478  fi
4479done
4480  done
4481IFS=$as_save_IFS
4482
4483fi
4484fi
4485STRIP=$ac_cv_prog_STRIP
4486if test -n "$STRIP"; then
4487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4488$as_echo "$STRIP" >&6; }
4489else
4490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491$as_echo "no" >&6; }
4492fi
4493
4494
4495fi
4496if test -z "$ac_cv_prog_STRIP"; then
4497  ac_ct_STRIP=$STRIP
4498  # Extract the first word of "strip", so it can be a program name with args.
4499set dummy strip; ac_word=$2
4500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4501$as_echo_n "checking for $ac_word... " >&6; }
4502if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4503  $as_echo_n "(cached) " >&6
4504else
4505  if test -n "$ac_ct_STRIP"; then
4506  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4507else
4508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509for as_dir in $PATH
4510do
4511  IFS=$as_save_IFS
4512  test -z "$as_dir" && as_dir=.
4513    for ac_exec_ext in '' $ac_executable_extensions; do
4514  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4515    ac_cv_prog_ac_ct_STRIP="strip"
4516    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4517    break 2
4518  fi
4519done
4520  done
4521IFS=$as_save_IFS
4522
4523fi
4524fi
4525ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4526if test -n "$ac_ct_STRIP"; then
4527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4528$as_echo "$ac_ct_STRIP" >&6; }
4529else
4530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4531$as_echo "no" >&6; }
4532fi
4533
4534  if test "x$ac_ct_STRIP" = x; then
4535    STRIP=":"
4536  else
4537    case $cross_compiling:$ac_tool_warned in
4538yes:)
4539{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4540$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4541ac_tool_warned=yes ;;
4542esac
4543    STRIP=$ac_ct_STRIP
4544  fi
4545else
4546  STRIP="$ac_cv_prog_STRIP"
4547fi
4548
4549test -z "$STRIP" && STRIP=:
4550
4551
4552
4553
4554
4555
4556if test -n "$ac_tool_prefix"; then
4557  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4558set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560$as_echo_n "checking for $ac_word... " >&6; }
4561if test "${ac_cv_prog_RANLIB+set}" = set; then :
4562  $as_echo_n "(cached) " >&6
4563else
4564  if test -n "$RANLIB"; then
4565  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4566else
4567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568for as_dir in $PATH
4569do
4570  IFS=$as_save_IFS
4571  test -z "$as_dir" && as_dir=.
4572    for ac_exec_ext in '' $ac_executable_extensions; do
4573  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4574    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4576    break 2
4577  fi
4578done
4579  done
4580IFS=$as_save_IFS
4581
4582fi
4583fi
4584RANLIB=$ac_cv_prog_RANLIB
4585if test -n "$RANLIB"; then
4586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4587$as_echo "$RANLIB" >&6; }
4588else
4589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4590$as_echo "no" >&6; }
4591fi
4592
4593
4594fi
4595if test -z "$ac_cv_prog_RANLIB"; then
4596  ac_ct_RANLIB=$RANLIB
4597  # Extract the first word of "ranlib", so it can be a program name with args.
4598set dummy ranlib; ac_word=$2
4599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600$as_echo_n "checking for $ac_word... " >&6; }
4601if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4602  $as_echo_n "(cached) " >&6
4603else
4604  if test -n "$ac_ct_RANLIB"; then
4605  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4606else
4607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4608for as_dir in $PATH
4609do
4610  IFS=$as_save_IFS
4611  test -z "$as_dir" && as_dir=.
4612    for ac_exec_ext in '' $ac_executable_extensions; do
4613  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4614    ac_cv_prog_ac_ct_RANLIB="ranlib"
4615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4616    break 2
4617  fi
4618done
4619  done
4620IFS=$as_save_IFS
4621
4622fi
4623fi
4624ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4625if test -n "$ac_ct_RANLIB"; then
4626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4627$as_echo "$ac_ct_RANLIB" >&6; }
4628else
4629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630$as_echo "no" >&6; }
4631fi
4632
4633  if test "x$ac_ct_RANLIB" = x; then
4634    RANLIB=":"
4635  else
4636    case $cross_compiling:$ac_tool_warned in
4637yes:)
4638{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4639$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4640ac_tool_warned=yes ;;
4641esac
4642    RANLIB=$ac_ct_RANLIB
4643  fi
4644else
4645  RANLIB="$ac_cv_prog_RANLIB"
4646fi
4647
4648test -z "$RANLIB" && RANLIB=:
4649
4650
4651
4652
4653
4654
4655# Determine commands to create old-style static archives.
4656old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4657old_postinstall_cmds='chmod 644 $oldlib'
4658old_postuninstall_cmds=
4659
4660if test -n "$RANLIB"; then
4661  case $host_os in
4662  openbsd*)
4663    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4664    ;;
4665  *)
4666    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
4667    ;;
4668  esac
4669  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
4670fi
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705# If no C compiler was specified, use CC.
4706LTCC=${LTCC-"$CC"}
4707
4708# If no C compiler flags were specified, use CFLAGS.
4709LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4710
4711# Allow CC to be a program name with arguments.
4712compiler=$CC
4713
4714
4715# Check for command to grab the raw symbol name followed by C symbol from nm.
4716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
4717$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
4718if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
4719  $as_echo_n "(cached) " >&6
4720else
4721
4722# These are sane defaults that work on at least a few old systems.
4723# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
4724
4725# Character class describing NM global symbol codes.
4726symcode='[BCDEGRST]'
4727
4728# Regexp to match symbols that can be accessed directly from C.
4729sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4730
4731# Define system-specific variables.
4732case $host_os in
4733aix*)
4734  symcode='[BCDT]'
4735  ;;
4736cygwin* | mingw* | pw32* | cegcc*)
4737  symcode='[ABCDGISTW]'
4738  ;;
4739hpux*)
4740  if test "$host_cpu" = ia64; then
4741    symcode='[ABCDEGRST]'
4742  fi
4743  ;;
4744irix* | nonstopux*)
4745  symcode='[BCDEGRST]'
4746  ;;
4747osf*)
4748  symcode='[BCDEGQRST]'
4749  ;;
4750solaris*)
4751  symcode='[BDRT]'
4752  ;;
4753sco3.2v5*)
4754  symcode='[DT]'
4755  ;;
4756sysv4.2uw2*)
4757  symcode='[DT]'
4758  ;;
4759sysv5* | sco5v6* | unixware* | OpenUNIX*)
4760  symcode='[ABDT]'
4761  ;;
4762sysv4)
4763  symcode='[DFNSTU]'
4764  ;;
4765esac
4766
4767# If we're using GNU nm, then use its standard symbol codes.
4768case `$NM -V 2>&1` in
4769*GNU* | *'with BFD'*)
4770  symcode='[ABCDGIRSTW]' ;;
4771esac
4772
4773# Transform an extracted symbol line into a proper C declaration.
4774# Some systems (esp. on ia64) link data and code symbols differently,
4775# so use this general approach.
4776lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4777
4778# Transform an extracted symbol line into symbol name and symbol address
4779lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
4780lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
4781
4782# Handle CRLF in mingw tool chain
4783opt_cr=
4784case $build_os in
4785mingw*)
4786  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4787  ;;
4788esac
4789
4790# Try without a prefix underscore, then with it.
4791for ac_symprfx in "" "_"; do
4792
4793  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4794  symxfrm="\\1 $ac_symprfx\\2 \\2"
4795
4796  # Write the raw and C identifiers.
4797  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4798    # Fake it for dumpbin and say T for any non-static function
4799    # and D for any global variable.
4800    # Also find C++ and __fastcall symbols from MSVC++,
4801    # which start with @ or ?.
4802    lt_cv_sys_global_symbol_pipe="$AWK '"\
4803"     {last_section=section; section=\$ 3};"\
4804"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4805"     \$ 0!~/External *\|/{next};"\
4806"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4807"     {if(hide[section]) next};"\
4808"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4809"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4810"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
4811"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4812"     ' prfx=^$ac_symprfx"
4813  else
4814    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4815  fi
4816
4817  # Check to see that the pipe works correctly.
4818  pipe_works=no
4819
4820  rm -f conftest*
4821  cat > conftest.$ac_ext <<_LT_EOF
4822#ifdef __cplusplus
4823extern "C" {
4824#endif
4825char nm_test_var;
4826void nm_test_func(void);
4827void nm_test_func(void){}
4828#ifdef __cplusplus
4829}
4830#endif
4831int main(){nm_test_var='a';nm_test_func();return(0);}
4832_LT_EOF
4833
4834  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4835  (eval $ac_compile) 2>&5
4836  ac_status=$?
4837  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4838  test $ac_status = 0; }; then
4839    # Now try to grab the symbols.
4840    nlist=conftest.nm
4841    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
4842  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4843  ac_status=$?
4844  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4845  test $ac_status = 0; } && test -s "$nlist"; then
4846      # Try sorting and uniquifying the output.
4847      if sort "$nlist" | uniq > "$nlist"T; then
4848	mv -f "$nlist"T "$nlist"
4849      else
4850	rm -f "$nlist"T
4851      fi
4852
4853      # Make sure that we snagged all the symbols we need.
4854      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4855	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4856	  cat <<_LT_EOF > conftest.$ac_ext
4857#ifdef __cplusplus
4858extern "C" {
4859#endif
4860
4861_LT_EOF
4862	  # Now generate the symbol file.
4863	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4864
4865	  cat <<_LT_EOF >> conftest.$ac_ext
4866
4867/* The mapping between symbol names and symbols.  */
4868const struct {
4869  const char *name;
4870  void       *address;
4871}
4872lt__PROGRAM__LTX_preloaded_symbols[] =
4873{
4874  { "@PROGRAM@", (void *) 0 },
4875_LT_EOF
4876	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4877	  cat <<\_LT_EOF >> conftest.$ac_ext
4878  {0, (void *) 0}
4879};
4880
4881/* This works around a problem in FreeBSD linker */
4882#ifdef FREEBSD_WORKAROUND
4883static const void *lt_preloaded_setup() {
4884  return lt__PROGRAM__LTX_preloaded_symbols;
4885}
4886#endif
4887
4888#ifdef __cplusplus
4889}
4890#endif
4891_LT_EOF
4892	  # Now try linking the two files.
4893	  mv conftest.$ac_objext conftstm.$ac_objext
4894	  lt_save_LIBS="$LIBS"
4895	  lt_save_CFLAGS="$CFLAGS"
4896	  LIBS="conftstm.$ac_objext"
4897	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4898	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4899  (eval $ac_link) 2>&5
4900  ac_status=$?
4901  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4902  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
4903	    pipe_works=yes
4904	  fi
4905	  LIBS="$lt_save_LIBS"
4906	  CFLAGS="$lt_save_CFLAGS"
4907	else
4908	  echo "cannot find nm_test_func in $nlist" >&5
4909	fi
4910      else
4911	echo "cannot find nm_test_var in $nlist" >&5
4912      fi
4913    else
4914      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
4915    fi
4916  else
4917    echo "$progname: failed program was:" >&5
4918    cat conftest.$ac_ext >&5
4919  fi
4920  rm -rf conftest* conftst*
4921
4922  # Do not use the global_symbol_pipe unless it works.
4923  if test "$pipe_works" = yes; then
4924    break
4925  else
4926    lt_cv_sys_global_symbol_pipe=
4927  fi
4928done
4929
4930fi
4931
4932if test -z "$lt_cv_sys_global_symbol_pipe"; then
4933  lt_cv_sys_global_symbol_to_cdecl=
4934fi
4935if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
4937$as_echo "failed" >&6; }
4938else
4939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4940$as_echo "ok" >&6; }
4941fi
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965# Check whether --enable-libtool-lock was given.
4966if test "${enable_libtool_lock+set}" = set; then :
4967  enableval=$enable_libtool_lock;
4968fi
4969
4970test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4971
4972# Some flags need to be propagated to the compiler or linker for good
4973# libtool support.
4974case $host in
4975ia64-*-hpux*)
4976  # Find out which ABI we are using.
4977  echo 'int i;' > conftest.$ac_ext
4978  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4979  (eval $ac_compile) 2>&5
4980  ac_status=$?
4981  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4982  test $ac_status = 0; }; then
4983    case `/usr/bin/file conftest.$ac_objext` in
4984      *ELF-32*)
4985	HPUX_IA64_MODE="32"
4986	;;
4987      *ELF-64*)
4988	HPUX_IA64_MODE="64"
4989	;;
4990    esac
4991  fi
4992  rm -rf conftest*
4993  ;;
4994*-*-irix6*)
4995  # Find out which ABI we are using.
4996  echo '#line 4996 "configure"' > conftest.$ac_ext
4997  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4998  (eval $ac_compile) 2>&5
4999  ac_status=$?
5000  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5001  test $ac_status = 0; }; then
5002    if test "$lt_cv_prog_gnu_ld" = yes; then
5003      case `/usr/bin/file conftest.$ac_objext` in
5004	*32-bit*)
5005	  LD="${LD-ld} -melf32bsmip"
5006	  ;;
5007	*N32*)
5008	  LD="${LD-ld} -melf32bmipn32"
5009	  ;;
5010	*64-bit*)
5011	  LD="${LD-ld} -melf64bmip"
5012	;;
5013      esac
5014    else
5015      case `/usr/bin/file conftest.$ac_objext` in
5016	*32-bit*)
5017	  LD="${LD-ld} -32"
5018	  ;;
5019	*N32*)
5020	  LD="${LD-ld} -n32"
5021	  ;;
5022	*64-bit*)
5023	  LD="${LD-ld} -64"
5024	  ;;
5025      esac
5026    fi
5027  fi
5028  rm -rf conftest*
5029  ;;
5030
5031x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5032s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5033  # Find out which ABI we are using.
5034  echo 'int i;' > conftest.$ac_ext
5035  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5036  (eval $ac_compile) 2>&5
5037  ac_status=$?
5038  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5039  test $ac_status = 0; }; then
5040    case `/usr/bin/file conftest.o` in
5041      *32-bit*)
5042	case $host in
5043	  x86_64-*kfreebsd*-gnu)
5044	    LD="${LD-ld} -m elf_i386_fbsd"
5045	    ;;
5046	  x86_64-*linux*)
5047	    LD="${LD-ld} -m elf_i386"
5048	    ;;
5049	  ppc64-*linux*|powerpc64-*linux*)
5050	    LD="${LD-ld} -m elf32ppclinux"
5051	    ;;
5052	  s390x-*linux*)
5053	    LD="${LD-ld} -m elf_s390"
5054	    ;;
5055	  sparc64-*linux*)
5056	    LD="${LD-ld} -m elf32_sparc"
5057	    ;;
5058	esac
5059	;;
5060      *64-bit*)
5061	case $host in
5062	  x86_64-*kfreebsd*-gnu)
5063	    LD="${LD-ld} -m elf_x86_64_fbsd"
5064	    ;;
5065	  x86_64-*linux*)
5066	    LD="${LD-ld} -m elf_x86_64"
5067	    ;;
5068	  ppc*-*linux*|powerpc*-*linux*)
5069	    LD="${LD-ld} -m elf64ppc"
5070	    ;;
5071	  s390*-*linux*|s390*-*tpf*)
5072	    LD="${LD-ld} -m elf64_s390"
5073	    ;;
5074	  sparc*-*linux*)
5075	    LD="${LD-ld} -m elf64_sparc"
5076	    ;;
5077	esac
5078	;;
5079    esac
5080  fi
5081  rm -rf conftest*
5082  ;;
5083
5084*-*-sco3.2v5*)
5085  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5086  SAVE_CFLAGS="$CFLAGS"
5087  CFLAGS="$CFLAGS -belf"
5088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5089$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5090if test "${lt_cv_cc_needs_belf+set}" = set; then :
5091  $as_echo_n "(cached) " >&6
5092else
5093  ac_ext=c
5094ac_cpp='$CPP $CPPFLAGS'
5095ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5096ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5097ac_compiler_gnu=$ac_cv_c_compiler_gnu
5098
5099     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5100/* end confdefs.h.  */
5101
5102int
5103main ()
5104{
5105
5106  ;
5107  return 0;
5108}
5109_ACEOF
5110if ac_fn_c_try_link "$LINENO"; then :
5111  lt_cv_cc_needs_belf=yes
5112else
5113  lt_cv_cc_needs_belf=no
5114fi
5115rm -f core conftest.err conftest.$ac_objext \
5116    conftest$ac_exeext conftest.$ac_ext
5117     ac_ext=c
5118ac_cpp='$CPP $CPPFLAGS'
5119ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5120ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5121ac_compiler_gnu=$ac_cv_c_compiler_gnu
5122
5123fi
5124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5125$as_echo "$lt_cv_cc_needs_belf" >&6; }
5126  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5127    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5128    CFLAGS="$SAVE_CFLAGS"
5129  fi
5130  ;;
5131sparc*-*solaris*)
5132  # Find out which ABI we are using.
5133  echo 'int i;' > conftest.$ac_ext
5134  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5135  (eval $ac_compile) 2>&5
5136  ac_status=$?
5137  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5138  test $ac_status = 0; }; then
5139    case `/usr/bin/file conftest.o` in
5140    *64-bit*)
5141      case $lt_cv_prog_gnu_ld in
5142      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5143      *)
5144	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5145	  LD="${LD-ld} -64"
5146	fi
5147	;;
5148      esac
5149      ;;
5150    esac
5151  fi
5152  rm -rf conftest*
5153  ;;
5154esac
5155
5156need_locks="$enable_libtool_lock"
5157
5158
5159  case $host_os in
5160    rhapsody* | darwin*)
5161    if test -n "$ac_tool_prefix"; then
5162  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5163set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5165$as_echo_n "checking for $ac_word... " >&6; }
5166if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5167  $as_echo_n "(cached) " >&6
5168else
5169  if test -n "$DSYMUTIL"; then
5170  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5171else
5172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173for as_dir in $PATH
5174do
5175  IFS=$as_save_IFS
5176  test -z "$as_dir" && as_dir=.
5177    for ac_exec_ext in '' $ac_executable_extensions; do
5178  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5180    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5181    break 2
5182  fi
5183done
5184  done
5185IFS=$as_save_IFS
5186
5187fi
5188fi
5189DSYMUTIL=$ac_cv_prog_DSYMUTIL
5190if test -n "$DSYMUTIL"; then
5191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5192$as_echo "$DSYMUTIL" >&6; }
5193else
5194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195$as_echo "no" >&6; }
5196fi
5197
5198
5199fi
5200if test -z "$ac_cv_prog_DSYMUTIL"; then
5201  ac_ct_DSYMUTIL=$DSYMUTIL
5202  # Extract the first word of "dsymutil", so it can be a program name with args.
5203set dummy dsymutil; ac_word=$2
5204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205$as_echo_n "checking for $ac_word... " >&6; }
5206if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5207  $as_echo_n "(cached) " >&6
5208else
5209  if test -n "$ac_ct_DSYMUTIL"; then
5210  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5211else
5212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213for as_dir in $PATH
5214do
5215  IFS=$as_save_IFS
5216  test -z "$as_dir" && as_dir=.
5217    for ac_exec_ext in '' $ac_executable_extensions; do
5218  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5220    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221    break 2
5222  fi
5223done
5224  done
5225IFS=$as_save_IFS
5226
5227fi
5228fi
5229ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5230if test -n "$ac_ct_DSYMUTIL"; then
5231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5232$as_echo "$ac_ct_DSYMUTIL" >&6; }
5233else
5234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235$as_echo "no" >&6; }
5236fi
5237
5238  if test "x$ac_ct_DSYMUTIL" = x; then
5239    DSYMUTIL=":"
5240  else
5241    case $cross_compiling:$ac_tool_warned in
5242yes:)
5243{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5244$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5245ac_tool_warned=yes ;;
5246esac
5247    DSYMUTIL=$ac_ct_DSYMUTIL
5248  fi
5249else
5250  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5251fi
5252
5253    if test -n "$ac_tool_prefix"; then
5254  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5255set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257$as_echo_n "checking for $ac_word... " >&6; }
5258if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5259  $as_echo_n "(cached) " >&6
5260else
5261  if test -n "$NMEDIT"; then
5262  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5263else
5264as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265for as_dir in $PATH
5266do
5267  IFS=$as_save_IFS
5268  test -z "$as_dir" && as_dir=.
5269    for ac_exec_ext in '' $ac_executable_extensions; do
5270  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5271    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5272    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273    break 2
5274  fi
5275done
5276  done
5277IFS=$as_save_IFS
5278
5279fi
5280fi
5281NMEDIT=$ac_cv_prog_NMEDIT
5282if test -n "$NMEDIT"; then
5283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5284$as_echo "$NMEDIT" >&6; }
5285else
5286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287$as_echo "no" >&6; }
5288fi
5289
5290
5291fi
5292if test -z "$ac_cv_prog_NMEDIT"; then
5293  ac_ct_NMEDIT=$NMEDIT
5294  # Extract the first word of "nmedit", so it can be a program name with args.
5295set dummy nmedit; ac_word=$2
5296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297$as_echo_n "checking for $ac_word... " >&6; }
5298if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5299  $as_echo_n "(cached) " >&6
5300else
5301  if test -n "$ac_ct_NMEDIT"; then
5302  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5303else
5304as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305for as_dir in $PATH
5306do
5307  IFS=$as_save_IFS
5308  test -z "$as_dir" && as_dir=.
5309    for ac_exec_ext in '' $ac_executable_extensions; do
5310  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5311    ac_cv_prog_ac_ct_NMEDIT="nmedit"
5312    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313    break 2
5314  fi
5315done
5316  done
5317IFS=$as_save_IFS
5318
5319fi
5320fi
5321ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5322if test -n "$ac_ct_NMEDIT"; then
5323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5324$as_echo "$ac_ct_NMEDIT" >&6; }
5325else
5326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327$as_echo "no" >&6; }
5328fi
5329
5330  if test "x$ac_ct_NMEDIT" = x; then
5331    NMEDIT=":"
5332  else
5333    case $cross_compiling:$ac_tool_warned in
5334yes:)
5335{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5336$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5337ac_tool_warned=yes ;;
5338esac
5339    NMEDIT=$ac_ct_NMEDIT
5340  fi
5341else
5342  NMEDIT="$ac_cv_prog_NMEDIT"
5343fi
5344
5345    if test -n "$ac_tool_prefix"; then
5346  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5347set dummy ${ac_tool_prefix}lipo; ac_word=$2
5348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5349$as_echo_n "checking for $ac_word... " >&6; }
5350if test "${ac_cv_prog_LIPO+set}" = set; then :
5351  $as_echo_n "(cached) " >&6
5352else
5353  if test -n "$LIPO"; then
5354  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5355else
5356as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357for as_dir in $PATH
5358do
5359  IFS=$as_save_IFS
5360  test -z "$as_dir" && as_dir=.
5361    for ac_exec_ext in '' $ac_executable_extensions; do
5362  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5363    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5364    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5365    break 2
5366  fi
5367done
5368  done
5369IFS=$as_save_IFS
5370
5371fi
5372fi
5373LIPO=$ac_cv_prog_LIPO
5374if test -n "$LIPO"; then
5375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5376$as_echo "$LIPO" >&6; }
5377else
5378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379$as_echo "no" >&6; }
5380fi
5381
5382
5383fi
5384if test -z "$ac_cv_prog_LIPO"; then
5385  ac_ct_LIPO=$LIPO
5386  # Extract the first word of "lipo", so it can be a program name with args.
5387set dummy lipo; ac_word=$2
5388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389$as_echo_n "checking for $ac_word... " >&6; }
5390if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5391  $as_echo_n "(cached) " >&6
5392else
5393  if test -n "$ac_ct_LIPO"; then
5394  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5395else
5396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397for as_dir in $PATH
5398do
5399  IFS=$as_save_IFS
5400  test -z "$as_dir" && as_dir=.
5401    for ac_exec_ext in '' $ac_executable_extensions; do
5402  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5403    ac_cv_prog_ac_ct_LIPO="lipo"
5404    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5405    break 2
5406  fi
5407done
5408  done
5409IFS=$as_save_IFS
5410
5411fi
5412fi
5413ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5414if test -n "$ac_ct_LIPO"; then
5415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5416$as_echo "$ac_ct_LIPO" >&6; }
5417else
5418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419$as_echo "no" >&6; }
5420fi
5421
5422  if test "x$ac_ct_LIPO" = x; then
5423    LIPO=":"
5424  else
5425    case $cross_compiling:$ac_tool_warned in
5426yes:)
5427{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5428$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5429ac_tool_warned=yes ;;
5430esac
5431    LIPO=$ac_ct_LIPO
5432  fi
5433else
5434  LIPO="$ac_cv_prog_LIPO"
5435fi
5436
5437    if test -n "$ac_tool_prefix"; then
5438  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5439set dummy ${ac_tool_prefix}otool; ac_word=$2
5440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5441$as_echo_n "checking for $ac_word... " >&6; }
5442if test "${ac_cv_prog_OTOOL+set}" = set; then :
5443  $as_echo_n "(cached) " >&6
5444else
5445  if test -n "$OTOOL"; then
5446  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5447else
5448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5449for as_dir in $PATH
5450do
5451  IFS=$as_save_IFS
5452  test -z "$as_dir" && as_dir=.
5453    for ac_exec_ext in '' $ac_executable_extensions; do
5454  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5455    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
5456    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5457    break 2
5458  fi
5459done
5460  done
5461IFS=$as_save_IFS
5462
5463fi
5464fi
5465OTOOL=$ac_cv_prog_OTOOL
5466if test -n "$OTOOL"; then
5467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5468$as_echo "$OTOOL" >&6; }
5469else
5470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471$as_echo "no" >&6; }
5472fi
5473
5474
5475fi
5476if test -z "$ac_cv_prog_OTOOL"; then
5477  ac_ct_OTOOL=$OTOOL
5478  # Extract the first word of "otool", so it can be a program name with args.
5479set dummy otool; ac_word=$2
5480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5481$as_echo_n "checking for $ac_word... " >&6; }
5482if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5483  $as_echo_n "(cached) " >&6
5484else
5485  if test -n "$ac_ct_OTOOL"; then
5486  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5487else
5488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5489for as_dir in $PATH
5490do
5491  IFS=$as_save_IFS
5492  test -z "$as_dir" && as_dir=.
5493    for ac_exec_ext in '' $ac_executable_extensions; do
5494  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5495    ac_cv_prog_ac_ct_OTOOL="otool"
5496    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5497    break 2
5498  fi
5499done
5500  done
5501IFS=$as_save_IFS
5502
5503fi
5504fi
5505ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5506if test -n "$ac_ct_OTOOL"; then
5507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5508$as_echo "$ac_ct_OTOOL" >&6; }
5509else
5510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5511$as_echo "no" >&6; }
5512fi
5513
5514  if test "x$ac_ct_OTOOL" = x; then
5515    OTOOL=":"
5516  else
5517    case $cross_compiling:$ac_tool_warned in
5518yes:)
5519{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5520$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5521ac_tool_warned=yes ;;
5522esac
5523    OTOOL=$ac_ct_OTOOL
5524  fi
5525else
5526  OTOOL="$ac_cv_prog_OTOOL"
5527fi
5528
5529    if test -n "$ac_tool_prefix"; then
5530  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5531set dummy ${ac_tool_prefix}otool64; ac_word=$2
5532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5533$as_echo_n "checking for $ac_word... " >&6; }
5534if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5535  $as_echo_n "(cached) " >&6
5536else
5537  if test -n "$OTOOL64"; then
5538  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5539else
5540as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541for as_dir in $PATH
5542do
5543  IFS=$as_save_IFS
5544  test -z "$as_dir" && as_dir=.
5545    for ac_exec_ext in '' $ac_executable_extensions; do
5546  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
5548    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5549    break 2
5550  fi
5551done
5552  done
5553IFS=$as_save_IFS
5554
5555fi
5556fi
5557OTOOL64=$ac_cv_prog_OTOOL64
5558if test -n "$OTOOL64"; then
5559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5560$as_echo "$OTOOL64" >&6; }
5561else
5562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5563$as_echo "no" >&6; }
5564fi
5565
5566
5567fi
5568if test -z "$ac_cv_prog_OTOOL64"; then
5569  ac_ct_OTOOL64=$OTOOL64
5570  # Extract the first word of "otool64", so it can be a program name with args.
5571set dummy otool64; ac_word=$2
5572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573$as_echo_n "checking for $ac_word... " >&6; }
5574if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5575  $as_echo_n "(cached) " >&6
5576else
5577  if test -n "$ac_ct_OTOOL64"; then
5578  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5579else
5580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581for as_dir in $PATH
5582do
5583  IFS=$as_save_IFS
5584  test -z "$as_dir" && as_dir=.
5585    for ac_exec_ext in '' $ac_executable_extensions; do
5586  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5587    ac_cv_prog_ac_ct_OTOOL64="otool64"
5588    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589    break 2
5590  fi
5591done
5592  done
5593IFS=$as_save_IFS
5594
5595fi
5596fi
5597ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5598if test -n "$ac_ct_OTOOL64"; then
5599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5600$as_echo "$ac_ct_OTOOL64" >&6; }
5601else
5602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603$as_echo "no" >&6; }
5604fi
5605
5606  if test "x$ac_ct_OTOOL64" = x; then
5607    OTOOL64=":"
5608  else
5609    case $cross_compiling:$ac_tool_warned in
5610yes:)
5611{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5612$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5613ac_tool_warned=yes ;;
5614esac
5615    OTOOL64=$ac_ct_OTOOL64
5616  fi
5617else
5618  OTOOL64="$ac_cv_prog_OTOOL64"
5619fi
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5648$as_echo_n "checking for -single_module linker flag... " >&6; }
5649if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5650  $as_echo_n "(cached) " >&6
5651else
5652  lt_cv_apple_cc_single_mod=no
5653      if test -z "${LT_MULTI_MODULE}"; then
5654	# By default we will add the -single_module flag. You can override
5655	# by either setting the environment variable LT_MULTI_MODULE
5656	# non-empty at configure time, or by adding -multi_module to the
5657	# link flags.
5658	rm -rf libconftest.dylib*
5659	echo "int foo(void){return 1;}" > conftest.c
5660	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5661-dynamiclib -Wl,-single_module conftest.c" >&5
5662	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5663	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5664        _lt_result=$?
5665	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5666	  lt_cv_apple_cc_single_mod=yes
5667	else
5668	  cat conftest.err >&5
5669	fi
5670	rm -rf libconftest.dylib*
5671	rm -f conftest.*
5672      fi
5673fi
5674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5675$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5677$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5678if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5679  $as_echo_n "(cached) " >&6
5680else
5681  lt_cv_ld_exported_symbols_list=no
5682      save_LDFLAGS=$LDFLAGS
5683      echo "_main" > conftest.sym
5684      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5685      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5686/* end confdefs.h.  */
5687
5688int
5689main ()
5690{
5691
5692  ;
5693  return 0;
5694}
5695_ACEOF
5696if ac_fn_c_try_link "$LINENO"; then :
5697  lt_cv_ld_exported_symbols_list=yes
5698else
5699  lt_cv_ld_exported_symbols_list=no
5700fi
5701rm -f core conftest.err conftest.$ac_objext \
5702    conftest$ac_exeext conftest.$ac_ext
5703	LDFLAGS="$save_LDFLAGS"
5704
5705fi
5706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
5707$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5708    case $host_os in
5709    rhapsody* | darwin1.[012])
5710      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
5711    darwin1.*)
5712      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5713    darwin*) # darwin 5.x on
5714      # if running on 10.5 or later, the deployment target defaults
5715      # to the OS version, if on x86, and 10.4, the deployment
5716      # target defaults to 10.4. Don't you love it?
5717      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5718	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5719	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5720	10.[012]*)
5721	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5722	10.*)
5723	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5724      esac
5725    ;;
5726  esac
5727    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5728      _lt_dar_single_mod='$single_module'
5729    fi
5730    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5731      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5732    else
5733      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5734    fi
5735    if test "$DSYMUTIL" != ":"; then
5736      _lt_dsymutil='~$DSYMUTIL $lib || :'
5737    else
5738      _lt_dsymutil=
5739    fi
5740    ;;
5741  esac
5742
5743ac_ext=c
5744ac_cpp='$CPP $CPPFLAGS'
5745ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5746ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5747ac_compiler_gnu=$ac_cv_c_compiler_gnu
5748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5749$as_echo_n "checking how to run the C preprocessor... " >&6; }
5750# On Suns, sometimes $CPP names a directory.
5751if test -n "$CPP" && test -d "$CPP"; then
5752  CPP=
5753fi
5754if test -z "$CPP"; then
5755  if test "${ac_cv_prog_CPP+set}" = set; then :
5756  $as_echo_n "(cached) " >&6
5757else
5758      # Double quotes because CPP needs to be expanded
5759    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5760    do
5761      ac_preproc_ok=false
5762for ac_c_preproc_warn_flag in '' yes
5763do
5764  # Use a header file that comes with gcc, so configuring glibc
5765  # with a fresh cross-compiler works.
5766  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5767  # <limits.h> exists even on freestanding compilers.
5768  # On the NeXT, cc -E runs the code through the compiler's parser,
5769  # not just through cpp. "Syntax error" is here to catch this case.
5770  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5771/* end confdefs.h.  */
5772#ifdef __STDC__
5773# include <limits.h>
5774#else
5775# include <assert.h>
5776#endif
5777		     Syntax error
5778_ACEOF
5779if ac_fn_c_try_cpp "$LINENO"; then :
5780
5781else
5782  # Broken: fails on valid input.
5783continue
5784fi
5785rm -f conftest.err conftest.$ac_ext
5786
5787  # OK, works on sane cases.  Now check whether nonexistent headers
5788  # can be detected and how.
5789  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5790/* end confdefs.h.  */
5791#include <ac_nonexistent.h>
5792_ACEOF
5793if ac_fn_c_try_cpp "$LINENO"; then :
5794  # Broken: success on invalid input.
5795continue
5796else
5797  # Passes both tests.
5798ac_preproc_ok=:
5799break
5800fi
5801rm -f conftest.err conftest.$ac_ext
5802
5803done
5804# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5805rm -f conftest.err conftest.$ac_ext
5806if $ac_preproc_ok; then :
5807  break
5808fi
5809
5810    done
5811    ac_cv_prog_CPP=$CPP
5812
5813fi
5814  CPP=$ac_cv_prog_CPP
5815else
5816  ac_cv_prog_CPP=$CPP
5817fi
5818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5819$as_echo "$CPP" >&6; }
5820ac_preproc_ok=false
5821for ac_c_preproc_warn_flag in '' yes
5822do
5823  # Use a header file that comes with gcc, so configuring glibc
5824  # with a fresh cross-compiler works.
5825  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5826  # <limits.h> exists even on freestanding compilers.
5827  # On the NeXT, cc -E runs the code through the compiler's parser,
5828  # not just through cpp. "Syntax error" is here to catch this case.
5829  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5830/* end confdefs.h.  */
5831#ifdef __STDC__
5832# include <limits.h>
5833#else
5834# include <assert.h>
5835#endif
5836		     Syntax error
5837_ACEOF
5838if ac_fn_c_try_cpp "$LINENO"; then :
5839
5840else
5841  # Broken: fails on valid input.
5842continue
5843fi
5844rm -f conftest.err conftest.$ac_ext
5845
5846  # OK, works on sane cases.  Now check whether nonexistent headers
5847  # can be detected and how.
5848  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5849/* end confdefs.h.  */
5850#include <ac_nonexistent.h>
5851_ACEOF
5852if ac_fn_c_try_cpp "$LINENO"; then :
5853  # Broken: success on invalid input.
5854continue
5855else
5856  # Passes both tests.
5857ac_preproc_ok=:
5858break
5859fi
5860rm -f conftest.err conftest.$ac_ext
5861
5862done
5863# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5864rm -f conftest.err conftest.$ac_ext
5865if $ac_preproc_ok; then :
5866
5867else
5868  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5869$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5870as_fn_error "C preprocessor \"$CPP\" fails sanity check
5871See \`config.log' for more details." "$LINENO" 5; }
5872fi
5873
5874ac_ext=c
5875ac_cpp='$CPP $CPPFLAGS'
5876ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5877ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5878ac_compiler_gnu=$ac_cv_c_compiler_gnu
5879
5880
5881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5882$as_echo_n "checking for ANSI C header files... " >&6; }
5883if test "${ac_cv_header_stdc+set}" = set; then :
5884  $as_echo_n "(cached) " >&6
5885else
5886  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5887/* end confdefs.h.  */
5888#include <stdlib.h>
5889#include <stdarg.h>
5890#include <string.h>
5891#include <float.h>
5892
5893int
5894main ()
5895{
5896
5897  ;
5898  return 0;
5899}
5900_ACEOF
5901if ac_fn_c_try_compile "$LINENO"; then :
5902  ac_cv_header_stdc=yes
5903else
5904  ac_cv_header_stdc=no
5905fi
5906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5907
5908if test $ac_cv_header_stdc = yes; then
5909  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5910  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5911/* end confdefs.h.  */
5912#include <string.h>
5913
5914_ACEOF
5915if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5916  $EGREP "memchr" >/dev/null 2>&1; then :
5917
5918else
5919  ac_cv_header_stdc=no
5920fi
5921rm -f conftest*
5922
5923fi
5924
5925if test $ac_cv_header_stdc = yes; then
5926  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5927  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5928/* end confdefs.h.  */
5929#include <stdlib.h>
5930
5931_ACEOF
5932if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5933  $EGREP "free" >/dev/null 2>&1; then :
5934
5935else
5936  ac_cv_header_stdc=no
5937fi
5938rm -f conftest*
5939
5940fi
5941
5942if test $ac_cv_header_stdc = yes; then
5943  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5944  if test "$cross_compiling" = yes; then :
5945  :
5946else
5947  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5948/* end confdefs.h.  */
5949#include <ctype.h>
5950#include <stdlib.h>
5951#if ((' ' & 0x0FF) == 0x020)
5952# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5953# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5954#else
5955# define ISLOWER(c) \
5956		   (('a' <= (c) && (c) <= 'i') \
5957		     || ('j' <= (c) && (c) <= 'r') \
5958		     || ('s' <= (c) && (c) <= 'z'))
5959# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5960#endif
5961
5962#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5963int
5964main ()
5965{
5966  int i;
5967  for (i = 0; i < 256; i++)
5968    if (XOR (islower (i), ISLOWER (i))
5969	|| toupper (i) != TOUPPER (i))
5970      return 2;
5971  return 0;
5972}
5973_ACEOF
5974if ac_fn_c_try_run "$LINENO"; then :
5975
5976else
5977  ac_cv_header_stdc=no
5978fi
5979rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5980  conftest.$ac_objext conftest.beam conftest.$ac_ext
5981fi
5982
5983fi
5984fi
5985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5986$as_echo "$ac_cv_header_stdc" >&6; }
5987if test $ac_cv_header_stdc = yes; then
5988
5989$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5990
5991fi
5992
5993# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5994for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5995		  inttypes.h stdint.h unistd.h
5996do :
5997  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5998ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5999"
6000eval as_val=\$$as_ac_Header
6001   if test "x$as_val" = x""yes; then :
6002  cat >>confdefs.h <<_ACEOF
6003#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6004_ACEOF
6005
6006fi
6007
6008done
6009
6010
6011for ac_header in dlfcn.h
6012do :
6013  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6014"
6015if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6016  cat >>confdefs.h <<_ACEOF
6017#define HAVE_DLFCN_H 1
6018_ACEOF
6019
6020fi
6021
6022done
6023
6024
6025
6026# Set options
6027
6028
6029
6030        enable_dlopen=no
6031
6032
6033  enable_win32_dll=no
6034
6035
6036            # Check whether --enable-shared was given.
6037if test "${enable_shared+set}" = set; then :
6038  enableval=$enable_shared; p=${PACKAGE-default}
6039    case $enableval in
6040    yes) enable_shared=yes ;;
6041    no) enable_shared=no ;;
6042    *)
6043      enable_shared=no
6044      # Look at the argument we got.  We use all the common list separators.
6045      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6046      for pkg in $enableval; do
6047	IFS="$lt_save_ifs"
6048	if test "X$pkg" = "X$p"; then
6049	  enable_shared=yes
6050	fi
6051      done
6052      IFS="$lt_save_ifs"
6053      ;;
6054    esac
6055else
6056  enable_shared=yes
6057fi
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067  # Check whether --enable-static was given.
6068if test "${enable_static+set}" = set; then :
6069  enableval=$enable_static; p=${PACKAGE-default}
6070    case $enableval in
6071    yes) enable_static=yes ;;
6072    no) enable_static=no ;;
6073    *)
6074     enable_static=no
6075      # Look at the argument we got.  We use all the common list separators.
6076      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6077      for pkg in $enableval; do
6078	IFS="$lt_save_ifs"
6079	if test "X$pkg" = "X$p"; then
6080	  enable_static=yes
6081	fi
6082      done
6083      IFS="$lt_save_ifs"
6084      ;;
6085    esac
6086else
6087  enable_static=yes
6088fi
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099# Check whether --with-pic was given.
6100if test "${with_pic+set}" = set; then :
6101  withval=$with_pic; pic_mode="$withval"
6102else
6103  pic_mode=default
6104fi
6105
6106
6107test -z "$pic_mode" && pic_mode=default
6108
6109
6110
6111
6112
6113
6114
6115  # Check whether --enable-fast-install was given.
6116if test "${enable_fast_install+set}" = set; then :
6117  enableval=$enable_fast_install; p=${PACKAGE-default}
6118    case $enableval in
6119    yes) enable_fast_install=yes ;;
6120    no) enable_fast_install=no ;;
6121    *)
6122      enable_fast_install=no
6123      # Look at the argument we got.  We use all the common list separators.
6124      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6125      for pkg in $enableval; do
6126	IFS="$lt_save_ifs"
6127	if test "X$pkg" = "X$p"; then
6128	  enable_fast_install=yes
6129	fi
6130      done
6131      IFS="$lt_save_ifs"
6132      ;;
6133    esac
6134else
6135  enable_fast_install=yes
6136fi
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148# This can be used to rebuild libtool when needed
6149LIBTOOL_DEPS="$ltmain"
6150
6151# Always use our own libtool.
6152LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178test -z "$LN_S" && LN_S="ln -s"
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193if test -n "${ZSH_VERSION+set}" ; then
6194   setopt NO_GLOB_SUBST
6195fi
6196
6197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6198$as_echo_n "checking for objdir... " >&6; }
6199if test "${lt_cv_objdir+set}" = set; then :
6200  $as_echo_n "(cached) " >&6
6201else
6202  rm -f .libs 2>/dev/null
6203mkdir .libs 2>/dev/null
6204if test -d .libs; then
6205  lt_cv_objdir=.libs
6206else
6207  # MS-DOS does not allow filenames that begin with a dot.
6208  lt_cv_objdir=_libs
6209fi
6210rmdir .libs 2>/dev/null
6211fi
6212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6213$as_echo "$lt_cv_objdir" >&6; }
6214objdir=$lt_cv_objdir
6215
6216
6217
6218
6219
6220cat >>confdefs.h <<_ACEOF
6221#define LT_OBJDIR "$lt_cv_objdir/"
6222_ACEOF
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240case $host_os in
6241aix3*)
6242  # AIX sometimes has problems with the GCC collect2 program.  For some
6243  # reason, if we set the COLLECT_NAMES environment variable, the problems
6244  # vanish in a puff of smoke.
6245  if test "X${COLLECT_NAMES+set}" != Xset; then
6246    COLLECT_NAMES=
6247    export COLLECT_NAMES
6248  fi
6249  ;;
6250esac
6251
6252# Sed substitution that helps us do robust quoting.  It backslashifies
6253# metacharacters that are still active within double-quoted strings.
6254sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6255
6256# Same as above, but do not quote variable references.
6257double_quote_subst='s/\(["`\\]\)/\\\1/g'
6258
6259# Sed substitution to delay expansion of an escaped shell variable in a
6260# double_quote_subst'ed string.
6261delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6262
6263# Sed substitution to delay expansion of an escaped single quote.
6264delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6265
6266# Sed substitution to avoid accidental globbing in evaled expressions
6267no_glob_subst='s/\*/\\\*/g'
6268
6269# Global variables:
6270ofile=libtool
6271can_build_shared=yes
6272
6273# All known linkers require a `.a' archive for static linking (except MSVC,
6274# which needs '.lib').
6275libext=a
6276
6277with_gnu_ld="$lt_cv_prog_gnu_ld"
6278
6279old_CC="$CC"
6280old_CFLAGS="$CFLAGS"
6281
6282# Set sane defaults for various variables
6283test -z "$CC" && CC=cc
6284test -z "$LTCC" && LTCC=$CC
6285test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6286test -z "$LD" && LD=ld
6287test -z "$ac_objext" && ac_objext=o
6288
6289for cc_temp in $compiler""; do
6290  case $cc_temp in
6291    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6292    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6293    \-*) ;;
6294    *) break;;
6295  esac
6296done
6297cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6298
6299
6300# Only perform the check for file, if the check method requires it
6301test -z "$MAGIC_CMD" && MAGIC_CMD=file
6302case $deplibs_check_method in
6303file_magic*)
6304  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6305    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6306$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6307if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6308  $as_echo_n "(cached) " >&6
6309else
6310  case $MAGIC_CMD in
6311[\\/*] |  ?:[\\/]*)
6312  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6313  ;;
6314*)
6315  lt_save_MAGIC_CMD="$MAGIC_CMD"
6316  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6317  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6318  for ac_dir in $ac_dummy; do
6319    IFS="$lt_save_ifs"
6320    test -z "$ac_dir" && ac_dir=.
6321    if test -f $ac_dir/${ac_tool_prefix}file; then
6322      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6323      if test -n "$file_magic_test_file"; then
6324	case $deplibs_check_method in
6325	"file_magic "*)
6326	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6327	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6328	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6329	    $EGREP "$file_magic_regex" > /dev/null; then
6330	    :
6331	  else
6332	    cat <<_LT_EOF 1>&2
6333
6334*** Warning: the command libtool uses to detect shared libraries,
6335*** $file_magic_cmd, produces output that libtool cannot recognize.
6336*** The result is that libtool may fail to recognize shared libraries
6337*** as such.  This will affect the creation of libtool libraries that
6338*** depend on shared libraries, but programs linked with such libtool
6339*** libraries will work regardless of this problem.  Nevertheless, you
6340*** may want to report the problem to your system manager and/or to
6341*** bug-libtool@gnu.org
6342
6343_LT_EOF
6344	  fi ;;
6345	esac
6346      fi
6347      break
6348    fi
6349  done
6350  IFS="$lt_save_ifs"
6351  MAGIC_CMD="$lt_save_MAGIC_CMD"
6352  ;;
6353esac
6354fi
6355
6356MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6357if test -n "$MAGIC_CMD"; then
6358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6359$as_echo "$MAGIC_CMD" >&6; }
6360else
6361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6362$as_echo "no" >&6; }
6363fi
6364
6365
6366
6367
6368
6369if test -z "$lt_cv_path_MAGIC_CMD"; then
6370  if test -n "$ac_tool_prefix"; then
6371    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6372$as_echo_n "checking for file... " >&6; }
6373if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6374  $as_echo_n "(cached) " >&6
6375else
6376  case $MAGIC_CMD in
6377[\\/*] |  ?:[\\/]*)
6378  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6379  ;;
6380*)
6381  lt_save_MAGIC_CMD="$MAGIC_CMD"
6382  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6383  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6384  for ac_dir in $ac_dummy; do
6385    IFS="$lt_save_ifs"
6386    test -z "$ac_dir" && ac_dir=.
6387    if test -f $ac_dir/file; then
6388      lt_cv_path_MAGIC_CMD="$ac_dir/file"
6389      if test -n "$file_magic_test_file"; then
6390	case $deplibs_check_method in
6391	"file_magic "*)
6392	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6393	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6394	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6395	    $EGREP "$file_magic_regex" > /dev/null; then
6396	    :
6397	  else
6398	    cat <<_LT_EOF 1>&2
6399
6400*** Warning: the command libtool uses to detect shared libraries,
6401*** $file_magic_cmd, produces output that libtool cannot recognize.
6402*** The result is that libtool may fail to recognize shared libraries
6403*** as such.  This will affect the creation of libtool libraries that
6404*** depend on shared libraries, but programs linked with such libtool
6405*** libraries will work regardless of this problem.  Nevertheless, you
6406*** may want to report the problem to your system manager and/or to
6407*** bug-libtool@gnu.org
6408
6409_LT_EOF
6410	  fi ;;
6411	esac
6412      fi
6413      break
6414    fi
6415  done
6416  IFS="$lt_save_ifs"
6417  MAGIC_CMD="$lt_save_MAGIC_CMD"
6418  ;;
6419esac
6420fi
6421
6422MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6423if test -n "$MAGIC_CMD"; then
6424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6425$as_echo "$MAGIC_CMD" >&6; }
6426else
6427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428$as_echo "no" >&6; }
6429fi
6430
6431
6432  else
6433    MAGIC_CMD=:
6434  fi
6435fi
6436
6437  fi
6438  ;;
6439esac
6440
6441# Use C for the default configuration in the libtool script
6442
6443lt_save_CC="$CC"
6444ac_ext=c
6445ac_cpp='$CPP $CPPFLAGS'
6446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6448ac_compiler_gnu=$ac_cv_c_compiler_gnu
6449
6450
6451# Source file extension for C test sources.
6452ac_ext=c
6453
6454# Object file extension for compiled C test sources.
6455objext=o
6456objext=$objext
6457
6458# Code to be used in simple compile tests
6459lt_simple_compile_test_code="int some_variable = 0;"
6460
6461# Code to be used in simple link tests
6462lt_simple_link_test_code='int main(){return(0);}'
6463
6464
6465
6466
6467
6468
6469
6470# If no C compiler was specified, use CC.
6471LTCC=${LTCC-"$CC"}
6472
6473# If no C compiler flags were specified, use CFLAGS.
6474LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6475
6476# Allow CC to be a program name with arguments.
6477compiler=$CC
6478
6479# Save the default compiler, since it gets overwritten when the other
6480# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6481compiler_DEFAULT=$CC
6482
6483# save warnings/boilerplate of simple test code
6484ac_outfile=conftest.$ac_objext
6485echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6486eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6487_lt_compiler_boilerplate=`cat conftest.err`
6488$RM conftest*
6489
6490ac_outfile=conftest.$ac_objext
6491echo "$lt_simple_link_test_code" >conftest.$ac_ext
6492eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6493_lt_linker_boilerplate=`cat conftest.err`
6494$RM -r conftest*
6495
6496
6497if test -n "$compiler"; then
6498
6499lt_prog_compiler_no_builtin_flag=
6500
6501if test "$GCC" = yes; then
6502  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6503
6504  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6505$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6506if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6507  $as_echo_n "(cached) " >&6
6508else
6509  lt_cv_prog_compiler_rtti_exceptions=no
6510   ac_outfile=conftest.$ac_objext
6511   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6512   lt_compiler_flag="-fno-rtti -fno-exceptions"
6513   # Insert the option either (1) after the last *FLAGS variable, or
6514   # (2) before a word containing "conftest.", or (3) at the end.
6515   # Note that $ac_compile itself does not contain backslashes and begins
6516   # with a dollar sign (not a hyphen), so the echo should work correctly.
6517   # The option is referenced via a variable to avoid confusing sed.
6518   lt_compile=`echo "$ac_compile" | $SED \
6519   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6520   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6521   -e 's:$: $lt_compiler_flag:'`
6522   (eval echo "\"\$as_me:6522: $lt_compile\"" >&5)
6523   (eval "$lt_compile" 2>conftest.err)
6524   ac_status=$?
6525   cat conftest.err >&5
6526   echo "$as_me:6526: \$? = $ac_status" >&5
6527   if (exit $ac_status) && test -s "$ac_outfile"; then
6528     # The compiler can only warn and ignore the option if not recognized
6529     # So say no if there are warnings other than the usual output.
6530     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6531     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6532     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6533       lt_cv_prog_compiler_rtti_exceptions=yes
6534     fi
6535   fi
6536   $RM conftest*
6537
6538fi
6539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6540$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6541
6542if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6543    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6544else
6545    :
6546fi
6547
6548fi
6549
6550
6551
6552
6553
6554
6555  lt_prog_compiler_wl=
6556lt_prog_compiler_pic=
6557lt_prog_compiler_static=
6558
6559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6560$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6561
6562  if test "$GCC" = yes; then
6563    lt_prog_compiler_wl='-Wl,'
6564    lt_prog_compiler_static='-static'
6565
6566    case $host_os in
6567      aix*)
6568      # All AIX code is PIC.
6569      if test "$host_cpu" = ia64; then
6570	# AIX 5 now supports IA64 processor
6571	lt_prog_compiler_static='-Bstatic'
6572      fi
6573      ;;
6574
6575    amigaos*)
6576      case $host_cpu in
6577      powerpc)
6578            # see comment about AmigaOS4 .so support
6579            lt_prog_compiler_pic='-fPIC'
6580        ;;
6581      m68k)
6582            # FIXME: we need at least 68020 code to build shared libraries, but
6583            # adding the `-m68020' flag to GCC prevents building anything better,
6584            # like `-m68040'.
6585            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6586        ;;
6587      esac
6588      ;;
6589
6590    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6591      # PIC is the default for these OSes.
6592      ;;
6593
6594    mingw* | cygwin* | pw32* | os2* | cegcc*)
6595      # This hack is so that the source file can tell whether it is being
6596      # built for inclusion in a dll (and should export symbols for example).
6597      # Although the cygwin gcc ignores -fPIC, still need this for old-style
6598      # (--disable-auto-import) libraries
6599      lt_prog_compiler_pic='-DDLL_EXPORT'
6600      ;;
6601
6602    darwin* | rhapsody*)
6603      # PIC is the default on this platform
6604      # Common symbols not allowed in MH_DYLIB files
6605      lt_prog_compiler_pic='-fno-common'
6606      ;;
6607
6608    hpux*)
6609      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6610      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
6611      # sets the default TLS model and affects inlining.
6612      case $host_cpu in
6613      hppa*64*)
6614	# +Z the default
6615	;;
6616      *)
6617	lt_prog_compiler_pic='-fPIC'
6618	;;
6619      esac
6620      ;;
6621
6622    interix[3-9]*)
6623      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6624      # Instead, we relocate shared libraries at runtime.
6625      ;;
6626
6627    msdosdjgpp*)
6628      # Just because we use GCC doesn't mean we suddenly get shared libraries
6629      # on systems that don't support them.
6630      lt_prog_compiler_can_build_shared=no
6631      enable_shared=no
6632      ;;
6633
6634    *nto* | *qnx*)
6635      # QNX uses GNU C++, but need to define -shared option too, otherwise
6636      # it will coredump.
6637      lt_prog_compiler_pic='-fPIC -shared'
6638      ;;
6639
6640    sysv4*MP*)
6641      if test -d /usr/nec; then
6642	lt_prog_compiler_pic=-Kconform_pic
6643      fi
6644      ;;
6645
6646    *)
6647      lt_prog_compiler_pic='-fPIC'
6648      ;;
6649    esac
6650  else
6651    # PORTME Check for flag to pass linker flags through the system compiler.
6652    case $host_os in
6653    aix*)
6654      lt_prog_compiler_wl='-Wl,'
6655      if test "$host_cpu" = ia64; then
6656	# AIX 5 now supports IA64 processor
6657	lt_prog_compiler_static='-Bstatic'
6658      else
6659	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6660      fi
6661      ;;
6662
6663    mingw* | cygwin* | pw32* | os2* | cegcc*)
6664      # This hack is so that the source file can tell whether it is being
6665      # built for inclusion in a dll (and should export symbols for example).
6666      lt_prog_compiler_pic='-DDLL_EXPORT'
6667      ;;
6668
6669    hpux9* | hpux10* | hpux11*)
6670      lt_prog_compiler_wl='-Wl,'
6671      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6672      # not for PA HP-UX.
6673      case $host_cpu in
6674      hppa*64*|ia64*)
6675	# +Z the default
6676	;;
6677      *)
6678	lt_prog_compiler_pic='+Z'
6679	;;
6680      esac
6681      # Is there a better lt_prog_compiler_static that works with the bundled CC?
6682      lt_prog_compiler_static='${wl}-a ${wl}archive'
6683      ;;
6684
6685    irix5* | irix6* | nonstopux*)
6686      lt_prog_compiler_wl='-Wl,'
6687      # PIC (with -KPIC) is the default.
6688      lt_prog_compiler_static='-non_shared'
6689      ;;
6690
6691    linux* | k*bsd*-gnu | kopensolaris*-gnu)
6692      case $cc_basename in
6693      # old Intel for x86_64 which still supported -KPIC.
6694      ecc*)
6695	lt_prog_compiler_wl='-Wl,'
6696	lt_prog_compiler_pic='-KPIC'
6697	lt_prog_compiler_static='-static'
6698        ;;
6699      # icc used to be incompatible with GCC.
6700      # ICC 10 doesn't accept -KPIC any more.
6701      icc* | ifort*)
6702	lt_prog_compiler_wl='-Wl,'
6703	lt_prog_compiler_pic='-fPIC'
6704	lt_prog_compiler_static='-static'
6705        ;;
6706      # Lahey Fortran 8.1.
6707      lf95*)
6708	lt_prog_compiler_wl='-Wl,'
6709	lt_prog_compiler_pic='--shared'
6710	lt_prog_compiler_static='--static'
6711	;;
6712      pgcc* | pgf77* | pgf90* | pgf95*)
6713        # Portland Group compilers (*not* the Pentium gcc compiler,
6714	# which looks to be a dead project)
6715	lt_prog_compiler_wl='-Wl,'
6716	lt_prog_compiler_pic='-fpic'
6717	lt_prog_compiler_static='-Bstatic'
6718        ;;
6719      ccc*)
6720        lt_prog_compiler_wl='-Wl,'
6721        # All Alpha code is PIC.
6722        lt_prog_compiler_static='-non_shared'
6723        ;;
6724      xl*)
6725	# IBM XL C 8.0/Fortran 10.1 on PPC
6726	lt_prog_compiler_wl='-Wl,'
6727	lt_prog_compiler_pic='-qpic'
6728	lt_prog_compiler_static='-qstaticlink'
6729	;;
6730      *)
6731	case `$CC -V 2>&1 | sed 5q` in
6732	*Sun\ C*)
6733	  # Sun C 5.9
6734	  lt_prog_compiler_pic='-KPIC'
6735	  lt_prog_compiler_static='-Bstatic'
6736	  lt_prog_compiler_wl='-Wl,'
6737	  ;;
6738	*Sun\ F*)
6739	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
6740	  lt_prog_compiler_pic='-KPIC'
6741	  lt_prog_compiler_static='-Bstatic'
6742	  lt_prog_compiler_wl=''
6743	  ;;
6744	esac
6745	;;
6746      esac
6747      ;;
6748
6749    newsos6)
6750      lt_prog_compiler_pic='-KPIC'
6751      lt_prog_compiler_static='-Bstatic'
6752      ;;
6753
6754    *nto* | *qnx*)
6755      # QNX uses GNU C++, but need to define -shared option too, otherwise
6756      # it will coredump.
6757      lt_prog_compiler_pic='-fPIC -shared'
6758      ;;
6759
6760    osf3* | osf4* | osf5*)
6761      lt_prog_compiler_wl='-Wl,'
6762      # All OSF/1 code is PIC.
6763      lt_prog_compiler_static='-non_shared'
6764      ;;
6765
6766    rdos*)
6767      lt_prog_compiler_static='-non_shared'
6768      ;;
6769
6770    solaris*)
6771      lt_prog_compiler_pic='-KPIC'
6772      lt_prog_compiler_static='-Bstatic'
6773      case $cc_basename in
6774      f77* | f90* | f95*)
6775	lt_prog_compiler_wl='-Qoption ld ';;
6776      *)
6777	lt_prog_compiler_wl='-Wl,';;
6778      esac
6779      ;;
6780
6781    sunos4*)
6782      lt_prog_compiler_wl='-Qoption ld '
6783      lt_prog_compiler_pic='-PIC'
6784      lt_prog_compiler_static='-Bstatic'
6785      ;;
6786
6787    sysv4 | sysv4.2uw2* | sysv4.3*)
6788      lt_prog_compiler_wl='-Wl,'
6789      lt_prog_compiler_pic='-KPIC'
6790      lt_prog_compiler_static='-Bstatic'
6791      ;;
6792
6793    sysv4*MP*)
6794      if test -d /usr/nec ;then
6795	lt_prog_compiler_pic='-Kconform_pic'
6796	lt_prog_compiler_static='-Bstatic'
6797      fi
6798      ;;
6799
6800    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6801      lt_prog_compiler_wl='-Wl,'
6802      lt_prog_compiler_pic='-KPIC'
6803      lt_prog_compiler_static='-Bstatic'
6804      ;;
6805
6806    unicos*)
6807      lt_prog_compiler_wl='-Wl,'
6808      lt_prog_compiler_can_build_shared=no
6809      ;;
6810
6811    uts4*)
6812      lt_prog_compiler_pic='-pic'
6813      lt_prog_compiler_static='-Bstatic'
6814      ;;
6815
6816    *)
6817      lt_prog_compiler_can_build_shared=no
6818      ;;
6819    esac
6820  fi
6821
6822case $host_os in
6823  # For platforms which do not support PIC, -DPIC is meaningless:
6824  *djgpp*)
6825    lt_prog_compiler_pic=
6826    ;;
6827  *)
6828    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6829    ;;
6830esac
6831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
6832$as_echo "$lt_prog_compiler_pic" >&6; }
6833
6834
6835
6836
6837
6838
6839#
6840# Check to make sure the PIC flag actually works.
6841#
6842if test -n "$lt_prog_compiler_pic"; then
6843  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6844$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
6845if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
6846  $as_echo_n "(cached) " >&6
6847else
6848  lt_cv_prog_compiler_pic_works=no
6849   ac_outfile=conftest.$ac_objext
6850   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6851   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6852   # Insert the option either (1) after the last *FLAGS variable, or
6853   # (2) before a word containing "conftest.", or (3) at the end.
6854   # Note that $ac_compile itself does not contain backslashes and begins
6855   # with a dollar sign (not a hyphen), so the echo should work correctly.
6856   # The option is referenced via a variable to avoid confusing sed.
6857   lt_compile=`echo "$ac_compile" | $SED \
6858   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6859   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6860   -e 's:$: $lt_compiler_flag:'`
6861   (eval echo "\"\$as_me:6861: $lt_compile\"" >&5)
6862   (eval "$lt_compile" 2>conftest.err)
6863   ac_status=$?
6864   cat conftest.err >&5
6865   echo "$as_me:6865: \$? = $ac_status" >&5
6866   if (exit $ac_status) && test -s "$ac_outfile"; then
6867     # The compiler can only warn and ignore the option if not recognized
6868     # So say no if there are warnings other than the usual output.
6869     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6870     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6871     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6872       lt_cv_prog_compiler_pic_works=yes
6873     fi
6874   fi
6875   $RM conftest*
6876
6877fi
6878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
6879$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
6880
6881if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
6882    case $lt_prog_compiler_pic in
6883     "" | " "*) ;;
6884     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6885     esac
6886else
6887    lt_prog_compiler_pic=
6888     lt_prog_compiler_can_build_shared=no
6889fi
6890
6891fi
6892
6893
6894
6895
6896
6897
6898#
6899# Check to make sure the static flag actually works.
6900#
6901wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6903$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
6904if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
6905  $as_echo_n "(cached) " >&6
6906else
6907  lt_cv_prog_compiler_static_works=no
6908   save_LDFLAGS="$LDFLAGS"
6909   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6910   echo "$lt_simple_link_test_code" > conftest.$ac_ext
6911   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6912     # The linker can only warn and ignore the option if not recognized
6913     # So say no if there are warnings
6914     if test -s conftest.err; then
6915       # Append any errors to the config.log.
6916       cat conftest.err 1>&5
6917       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6918       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6919       if diff conftest.exp conftest.er2 >/dev/null; then
6920         lt_cv_prog_compiler_static_works=yes
6921       fi
6922     else
6923       lt_cv_prog_compiler_static_works=yes
6924     fi
6925   fi
6926   $RM -r conftest*
6927   LDFLAGS="$save_LDFLAGS"
6928
6929fi
6930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
6931$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
6932
6933if test x"$lt_cv_prog_compiler_static_works" = xyes; then
6934    :
6935else
6936    lt_prog_compiler_static=
6937fi
6938
6939
6940
6941
6942
6943
6944
6945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
6946$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
6947if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
6948  $as_echo_n "(cached) " >&6
6949else
6950  lt_cv_prog_compiler_c_o=no
6951   $RM -r conftest 2>/dev/null
6952   mkdir conftest
6953   cd conftest
6954   mkdir out
6955   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6956
6957   lt_compiler_flag="-o out/conftest2.$ac_objext"
6958   # Insert the option either (1) after the last *FLAGS variable, or
6959   # (2) before a word containing "conftest.", or (3) at the end.
6960   # Note that $ac_compile itself does not contain backslashes and begins
6961   # with a dollar sign (not a hyphen), so the echo should work correctly.
6962   lt_compile=`echo "$ac_compile" | $SED \
6963   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6964   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6965   -e 's:$: $lt_compiler_flag:'`
6966   (eval echo "\"\$as_me:6966: $lt_compile\"" >&5)
6967   (eval "$lt_compile" 2>out/conftest.err)
6968   ac_status=$?
6969   cat out/conftest.err >&5
6970   echo "$as_me:6970: \$? = $ac_status" >&5
6971   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6972   then
6973     # The compiler can only warn and ignore the option if not recognized
6974     # So say no if there are warnings
6975     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6976     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6977     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6978       lt_cv_prog_compiler_c_o=yes
6979     fi
6980   fi
6981   chmod u+w . 2>&5
6982   $RM conftest*
6983   # SGI C++ compiler will create directory out/ii_files/ for
6984   # template instantiation
6985   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6986   $RM out/* && rmdir out
6987   cd ..
6988   $RM -r conftest
6989   $RM conftest*
6990
6991fi
6992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
6993$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
6994
6995
6996
6997
6998
6999
7000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7001$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7002if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7003  $as_echo_n "(cached) " >&6
7004else
7005  lt_cv_prog_compiler_c_o=no
7006   $RM -r conftest 2>/dev/null
7007   mkdir conftest
7008   cd conftest
7009   mkdir out
7010   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7011
7012   lt_compiler_flag="-o out/conftest2.$ac_objext"
7013   # Insert the option either (1) after the last *FLAGS variable, or
7014   # (2) before a word containing "conftest.", or (3) at the end.
7015   # Note that $ac_compile itself does not contain backslashes and begins
7016   # with a dollar sign (not a hyphen), so the echo should work correctly.
7017   lt_compile=`echo "$ac_compile" | $SED \
7018   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7019   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7020   -e 's:$: $lt_compiler_flag:'`
7021   (eval echo "\"\$as_me:7021: $lt_compile\"" >&5)
7022   (eval "$lt_compile" 2>out/conftest.err)
7023   ac_status=$?
7024   cat out/conftest.err >&5
7025   echo "$as_me:7025: \$? = $ac_status" >&5
7026   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7027   then
7028     # The compiler can only warn and ignore the option if not recognized
7029     # So say no if there are warnings
7030     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7031     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7032     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7033       lt_cv_prog_compiler_c_o=yes
7034     fi
7035   fi
7036   chmod u+w . 2>&5
7037   $RM conftest*
7038   # SGI C++ compiler will create directory out/ii_files/ for
7039   # template instantiation
7040   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7041   $RM out/* && rmdir out
7042   cd ..
7043   $RM -r conftest
7044   $RM conftest*
7045
7046fi
7047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7048$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7049
7050
7051
7052
7053hard_links="nottested"
7054if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7055  # do not overwrite the value of need_locks provided by the user
7056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7057$as_echo_n "checking if we can lock with hard links... " >&6; }
7058  hard_links=yes
7059  $RM conftest*
7060  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7061  touch conftest.a
7062  ln conftest.a conftest.b 2>&5 || hard_links=no
7063  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7065$as_echo "$hard_links" >&6; }
7066  if test "$hard_links" = no; then
7067    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7068$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7069    need_locks=warn
7070  fi
7071else
7072  need_locks=no
7073fi
7074
7075
7076
7077
7078
7079
7080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7081$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7082
7083  runpath_var=
7084  allow_undefined_flag=
7085  always_export_symbols=no
7086  archive_cmds=
7087  archive_expsym_cmds=
7088  compiler_needs_object=no
7089  enable_shared_with_static_runtimes=no
7090  export_dynamic_flag_spec=
7091  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7092  hardcode_automatic=no
7093  hardcode_direct=no
7094  hardcode_direct_absolute=no
7095  hardcode_libdir_flag_spec=
7096  hardcode_libdir_flag_spec_ld=
7097  hardcode_libdir_separator=
7098  hardcode_minus_L=no
7099  hardcode_shlibpath_var=unsupported
7100  inherit_rpath=no
7101  link_all_deplibs=unknown
7102  module_cmds=
7103  module_expsym_cmds=
7104  old_archive_from_new_cmds=
7105  old_archive_from_expsyms_cmds=
7106  thread_safe_flag_spec=
7107  whole_archive_flag_spec=
7108  # include_expsyms should be a list of space-separated symbols to be *always*
7109  # included in the symbol list
7110  include_expsyms=
7111  # exclude_expsyms can be an extended regexp of symbols to exclude
7112  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7113  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7114  # as well as any symbol that contains `d'.
7115  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7116  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7117  # platforms (ab)use it in PIC code, but their linkers get confused if
7118  # the symbol is explicitly referenced.  Since portable code cannot
7119  # rely on this symbol name, it's probably fine to never include it in
7120  # preloaded symbol tables.
7121  # Exclude shared library initialization/finalization symbols.
7122  extract_expsyms_cmds=
7123
7124  case $host_os in
7125  cygwin* | mingw* | pw32* | cegcc*)
7126    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7127    # When not using gcc, we currently assume that we are using
7128    # Microsoft Visual C++.
7129    if test "$GCC" != yes; then
7130      with_gnu_ld=no
7131    fi
7132    ;;
7133  interix*)
7134    # we just hope/assume this is gcc and not c89 (= MSVC++)
7135    with_gnu_ld=yes
7136    ;;
7137  openbsd*)
7138    with_gnu_ld=no
7139    ;;
7140  linux* | k*bsd*-gnu)
7141    link_all_deplibs=no
7142    ;;
7143  esac
7144
7145  ld_shlibs=yes
7146  if test "$with_gnu_ld" = yes; then
7147    # If archive_cmds runs LD, not CC, wlarc should be empty
7148    wlarc='${wl}'
7149
7150    # Set some defaults for GNU ld with shared library support. These
7151    # are reset later if shared libraries are not supported. Putting them
7152    # here allows them to be overridden if necessary.
7153    runpath_var=LD_RUN_PATH
7154    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7155    export_dynamic_flag_spec='${wl}--export-dynamic'
7156    # ancient GNU ld didn't support --whole-archive et. al.
7157    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7158      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7159    else
7160      whole_archive_flag_spec=
7161    fi
7162    supports_anon_versioning=no
7163    case `$LD -v 2>&1` in
7164      *GNU\ gold*) supports_anon_versioning=yes ;;
7165      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7166      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7167      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7168      *\ 2.11.*) ;; # other 2.11 versions
7169      *) supports_anon_versioning=yes ;;
7170    esac
7171
7172    # See if GNU ld supports shared libraries.
7173    case $host_os in
7174    aix[3-9]*)
7175      # On AIX/PPC, the GNU linker is very broken
7176      if test "$host_cpu" != ia64; then
7177	ld_shlibs=no
7178	cat <<_LT_EOF 1>&2
7179
7180*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7181*** to be unable to reliably create shared libraries on AIX.
7182*** Therefore, libtool is disabling shared libraries support.  If you
7183*** really care for shared libraries, you may want to modify your PATH
7184*** so that a non-GNU linker is found, and then restart.
7185
7186_LT_EOF
7187      fi
7188      ;;
7189
7190    amigaos*)
7191      case $host_cpu in
7192      powerpc)
7193            # see comment about AmigaOS4 .so support
7194            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7195            archive_expsym_cmds=''
7196        ;;
7197      m68k)
7198            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)'
7199            hardcode_libdir_flag_spec='-L$libdir'
7200            hardcode_minus_L=yes
7201        ;;
7202      esac
7203      ;;
7204
7205    beos*)
7206      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7207	allow_undefined_flag=unsupported
7208	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7209	# support --undefined.  This deserves some investigation.  FIXME
7210	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7211      else
7212	ld_shlibs=no
7213      fi
7214      ;;
7215
7216    cygwin* | mingw* | pw32* | cegcc*)
7217      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7218      # as there is no search path for DLLs.
7219      hardcode_libdir_flag_spec='-L$libdir'
7220      allow_undefined_flag=unsupported
7221      always_export_symbols=no
7222      enable_shared_with_static_runtimes=yes
7223      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7224
7225      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7226        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7227	# If the export-symbols file already is a .def file (1st line
7228	# is EXPORTS), use it as is; otherwise, prepend...
7229	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7230	  cp $export_symbols $output_objdir/$soname.def;
7231	else
7232	  echo EXPORTS > $output_objdir/$soname.def;
7233	  cat $export_symbols >> $output_objdir/$soname.def;
7234	fi~
7235	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7236      else
7237	ld_shlibs=no
7238      fi
7239      ;;
7240
7241    interix[3-9]*)
7242      hardcode_direct=no
7243      hardcode_shlibpath_var=no
7244      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7245      export_dynamic_flag_spec='${wl}-E'
7246      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7247      # Instead, shared libraries are loaded at an image base (0x10000000 by
7248      # default) and relocated if they conflict, which is a slow very memory
7249      # consuming and fragmenting process.  To avoid this, we pick a random,
7250      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7251      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7252      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7253      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'
7254      ;;
7255
7256    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
7257      tmp_diet=no
7258      if test "$host_os" = linux-dietlibc; then
7259	case $cc_basename in
7260	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
7261	esac
7262      fi
7263      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7264	 && test "$tmp_diet" = no
7265      then
7266	tmp_addflag=
7267	tmp_sharedflag='-shared'
7268	case $cc_basename,$host_cpu in
7269        pgcc*)				# Portland Group C compiler
7270	  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'
7271	  tmp_addflag=' $pic_flag'
7272	  ;;
7273	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
7274	  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'
7275	  tmp_addflag=' $pic_flag -Mnomain' ;;
7276	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
7277	  tmp_addflag=' -i_dynamic' ;;
7278	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
7279	  tmp_addflag=' -i_dynamic -nofor_main' ;;
7280	ifc* | ifort*)			# Intel Fortran compiler
7281	  tmp_addflag=' -nofor_main' ;;
7282	lf95*)				# Lahey Fortran 8.1
7283	  whole_archive_flag_spec=
7284	  tmp_sharedflag='--shared' ;;
7285	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
7286	  tmp_sharedflag='-qmkshrobj'
7287	  tmp_addflag= ;;
7288	esac
7289	case `$CC -V 2>&1 | sed 5q` in
7290	*Sun\ C*)			# Sun C 5.9
7291	  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'
7292	  compiler_needs_object=yes
7293	  tmp_sharedflag='-G' ;;
7294	*Sun\ F*)			# Sun Fortran 8.3
7295	  tmp_sharedflag='-G' ;;
7296	esac
7297	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7298
7299        if test "x$supports_anon_versioning" = xyes; then
7300          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7301	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7302	    echo "local: *; };" >> $output_objdir/$libname.ver~
7303	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7304        fi
7305
7306	case $cc_basename in
7307	xlf*)
7308	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7309	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
7310	  hardcode_libdir_flag_spec=
7311	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
7312	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7313	  if test "x$supports_anon_versioning" = xyes; then
7314	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7315	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7316	      echo "local: *; };" >> $output_objdir/$libname.ver~
7317	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7318	  fi
7319	  ;;
7320	esac
7321      else
7322        ld_shlibs=no
7323      fi
7324      ;;
7325
7326    netbsd* | netbsdelf*-gnu)
7327      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7328	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7329	wlarc=
7330      else
7331	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7332	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7333      fi
7334      ;;
7335
7336    solaris*)
7337      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7338	ld_shlibs=no
7339	cat <<_LT_EOF 1>&2
7340
7341*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7342*** create shared libraries on Solaris systems.  Therefore, libtool
7343*** is disabling shared libraries support.  We urge you to upgrade GNU
7344*** binutils to release 2.9.1 or newer.  Another option is to modify
7345*** your PATH or compiler configuration so that the native linker is
7346*** used, and then restart.
7347
7348_LT_EOF
7349      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7350	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7351	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7352      else
7353	ld_shlibs=no
7354      fi
7355      ;;
7356
7357    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7358      case `$LD -v 2>&1` in
7359        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7360	ld_shlibs=no
7361	cat <<_LT_EOF 1>&2
7362
7363*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7364*** reliably create shared libraries on SCO systems.  Therefore, libtool
7365*** is disabling shared libraries support.  We urge you to upgrade GNU
7366*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7367*** your PATH or compiler configuration so that the native linker is
7368*** used, and then restart.
7369
7370_LT_EOF
7371	;;
7372	*)
7373	  # For security reasons, it is highly recommended that you always
7374	  # use absolute paths for naming shared libraries, and exclude the
7375	  # DT_RUNPATH tag from executables and libraries.  But doing so
7376	  # requires that you compile everything twice, which is a pain.
7377	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7378	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7379	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7380	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7381	  else
7382	    ld_shlibs=no
7383	  fi
7384	;;
7385      esac
7386      ;;
7387
7388    sunos4*)
7389      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7390      wlarc=
7391      hardcode_direct=yes
7392      hardcode_shlibpath_var=no
7393      ;;
7394
7395    *)
7396      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7397	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7398	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7399      else
7400	ld_shlibs=no
7401      fi
7402      ;;
7403    esac
7404
7405    if test "$ld_shlibs" = no; then
7406      runpath_var=
7407      hardcode_libdir_flag_spec=
7408      export_dynamic_flag_spec=
7409      whole_archive_flag_spec=
7410    fi
7411  else
7412    # PORTME fill in a description of your system's linker (not GNU ld)
7413    case $host_os in
7414    aix3*)
7415      allow_undefined_flag=unsupported
7416      always_export_symbols=yes
7417      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'
7418      # Note: this linker hardcodes the directories in LIBPATH if there
7419      # are no directories specified by -L.
7420      hardcode_minus_L=yes
7421      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7422	# Neither direct hardcoding nor static linking is supported with a
7423	# broken collect2.
7424	hardcode_direct=unsupported
7425      fi
7426      ;;
7427
7428    aix[4-9]*)
7429      if test "$host_cpu" = ia64; then
7430	# On IA64, the linker does run time linking by default, so we don't
7431	# have to do anything special.
7432	aix_use_runtimelinking=no
7433	exp_sym_flag='-Bexport'
7434	no_entry_flag=""
7435      else
7436	# If we're using GNU nm, then we don't want the "-C" option.
7437	# -C means demangle to AIX nm, but means don't demangle with GNU nm
7438	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7439	  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'
7440	else
7441	  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'
7442	fi
7443	aix_use_runtimelinking=no
7444
7445	# Test if we are trying to use run time linking or normal
7446	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
7447	# need to do runtime linking.
7448	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7449	  for ld_flag in $LDFLAGS; do
7450	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7451	    aix_use_runtimelinking=yes
7452	    break
7453	  fi
7454	  done
7455	  ;;
7456	esac
7457
7458	exp_sym_flag='-bexport'
7459	no_entry_flag='-bnoentry'
7460      fi
7461
7462      # When large executables or shared objects are built, AIX ld can
7463      # have problems creating the table of contents.  If linking a library
7464      # or program results in "error TOC overflow" add -mminimal-toc to
7465      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7466      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7467
7468      archive_cmds=''
7469      hardcode_direct=yes
7470      hardcode_direct_absolute=yes
7471      hardcode_libdir_separator=':'
7472      link_all_deplibs=yes
7473      file_list_spec='${wl}-f,'
7474
7475      if test "$GCC" = yes; then
7476	case $host_os in aix4.[012]|aix4.[012].*)
7477	# We only want to do this on AIX 4.2 and lower, the check
7478	# below for broken collect2 doesn't work under 4.3+
7479	  collect2name=`${CC} -print-prog-name=collect2`
7480	  if test -f "$collect2name" &&
7481	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7482	  then
7483	  # We have reworked collect2
7484	  :
7485	  else
7486	  # We have old collect2
7487	  hardcode_direct=unsupported
7488	  # It fails to find uninstalled libraries when the uninstalled
7489	  # path is not listed in the libpath.  Setting hardcode_minus_L
7490	  # to unsupported forces relinking
7491	  hardcode_minus_L=yes
7492	  hardcode_libdir_flag_spec='-L$libdir'
7493	  hardcode_libdir_separator=
7494	  fi
7495	  ;;
7496	esac
7497	shared_flag='-shared'
7498	if test "$aix_use_runtimelinking" = yes; then
7499	  shared_flag="$shared_flag "'${wl}-G'
7500	fi
7501	link_all_deplibs=no
7502      else
7503	# not using gcc
7504	if test "$host_cpu" = ia64; then
7505	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7506	# chokes on -Wl,-G. The following line is correct:
7507	  shared_flag='-G'
7508	else
7509	  if test "$aix_use_runtimelinking" = yes; then
7510	    shared_flag='${wl}-G'
7511	  else
7512	    shared_flag='${wl}-bM:SRE'
7513	  fi
7514	fi
7515      fi
7516
7517      export_dynamic_flag_spec='${wl}-bexpall'
7518      # It seems that -bexpall does not export symbols beginning with
7519      # underscore (_), so it is better to generate a list of symbols to export.
7520      always_export_symbols=yes
7521      if test "$aix_use_runtimelinking" = yes; then
7522	# Warning - without using the other runtime loading flags (-brtl),
7523	# -berok will link without error, but may produce a broken library.
7524	allow_undefined_flag='-berok'
7525        # Determine the default libpath from the value encoded in an
7526        # empty executable.
7527        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7528/* end confdefs.h.  */
7529
7530int
7531main ()
7532{
7533
7534  ;
7535  return 0;
7536}
7537_ACEOF
7538if ac_fn_c_try_link "$LINENO"; then :
7539
7540lt_aix_libpath_sed='
7541    /Import File Strings/,/^$/ {
7542	/^0/ {
7543	    s/^0  *\(.*\)$/\1/
7544	    p
7545	}
7546    }'
7547aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7548# Check for a 64-bit object if we didn't find anything.
7549if test -z "$aix_libpath"; then
7550  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7551fi
7552fi
7553rm -f core conftest.err conftest.$ac_objext \
7554    conftest$ac_exeext conftest.$ac_ext
7555if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7556
7557        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7558        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7559      else
7560	if test "$host_cpu" = ia64; then
7561	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7562	  allow_undefined_flag="-z nodefs"
7563	  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"
7564	else
7565	 # Determine the default libpath from the value encoded in an
7566	 # empty executable.
7567	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7568/* end confdefs.h.  */
7569
7570int
7571main ()
7572{
7573
7574  ;
7575  return 0;
7576}
7577_ACEOF
7578if ac_fn_c_try_link "$LINENO"; then :
7579
7580lt_aix_libpath_sed='
7581    /Import File Strings/,/^$/ {
7582	/^0/ {
7583	    s/^0  *\(.*\)$/\1/
7584	    p
7585	}
7586    }'
7587aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7588# Check for a 64-bit object if we didn't find anything.
7589if test -z "$aix_libpath"; then
7590  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7591fi
7592fi
7593rm -f core conftest.err conftest.$ac_objext \
7594    conftest$ac_exeext conftest.$ac_ext
7595if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7596
7597	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7598	  # Warning - without using the other run time loading flags,
7599	  # -berok will link without error, but may produce a broken library.
7600	  no_undefined_flag=' ${wl}-bernotok'
7601	  allow_undefined_flag=' ${wl}-berok'
7602	  # Exported symbols can be pulled into shared objects from archives
7603	  whole_archive_flag_spec='$convenience'
7604	  archive_cmds_need_lc=yes
7605	  # This is similar to how AIX traditionally builds its shared libraries.
7606	  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'
7607	fi
7608      fi
7609      ;;
7610
7611    amigaos*)
7612      case $host_cpu in
7613      powerpc)
7614            # see comment about AmigaOS4 .so support
7615            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7616            archive_expsym_cmds=''
7617        ;;
7618      m68k)
7619            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)'
7620            hardcode_libdir_flag_spec='-L$libdir'
7621            hardcode_minus_L=yes
7622        ;;
7623      esac
7624      ;;
7625
7626    bsdi[45]*)
7627      export_dynamic_flag_spec=-rdynamic
7628      ;;
7629
7630    cygwin* | mingw* | pw32* | cegcc*)
7631      # When not using gcc, we currently assume that we are using
7632      # Microsoft Visual C++.
7633      # hardcode_libdir_flag_spec is actually meaningless, as there is
7634      # no search path for DLLs.
7635      hardcode_libdir_flag_spec=' '
7636      allow_undefined_flag=unsupported
7637      # Tell ltmain to make .lib files, not .a files.
7638      libext=lib
7639      # Tell ltmain to make .dll files, not .so files.
7640      shrext_cmds=".dll"
7641      # FIXME: Setting linknames here is a bad hack.
7642      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7643      # The linker will automatically build a .lib file if we build a DLL.
7644      old_archive_from_new_cmds='true'
7645      # FIXME: Should let the user specify the lib program.
7646      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7647      fix_srcfile_path='`cygpath -w "$srcfile"`'
7648      enable_shared_with_static_runtimes=yes
7649      ;;
7650
7651    darwin* | rhapsody*)
7652
7653
7654  archive_cmds_need_lc=no
7655  hardcode_direct=no
7656  hardcode_automatic=yes
7657  hardcode_shlibpath_var=unsupported
7658  whole_archive_flag_spec=''
7659  link_all_deplibs=yes
7660  allow_undefined_flag="$_lt_dar_allow_undefined"
7661  case $cc_basename in
7662     ifort*) _lt_dar_can_shared=yes ;;
7663     *) _lt_dar_can_shared=$GCC ;;
7664  esac
7665  if test "$_lt_dar_can_shared" = "yes"; then
7666    output_verbose_link_cmd=echo
7667    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7668    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7669    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}"
7670    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}"
7671
7672  else
7673  ld_shlibs=no
7674  fi
7675
7676      ;;
7677
7678    dgux*)
7679      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7680      hardcode_libdir_flag_spec='-L$libdir'
7681      hardcode_shlibpath_var=no
7682      ;;
7683
7684    freebsd1*)
7685      ld_shlibs=no
7686      ;;
7687
7688    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7689    # support.  Future versions do this automatically, but an explicit c++rt0.o
7690    # does not break anything, and helps significantly (at the cost of a little
7691    # extra space).
7692    freebsd2.2*)
7693      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7694      hardcode_libdir_flag_spec='-R$libdir'
7695      hardcode_direct=yes
7696      hardcode_shlibpath_var=no
7697      ;;
7698
7699    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7700    freebsd2*)
7701      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7702      hardcode_direct=yes
7703      hardcode_minus_L=yes
7704      hardcode_shlibpath_var=no
7705      ;;
7706
7707    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7708    freebsd* | dragonfly*)
7709      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7710      hardcode_libdir_flag_spec='-R$libdir'
7711      hardcode_direct=yes
7712      hardcode_shlibpath_var=no
7713      ;;
7714
7715    hpux9*)
7716      if test "$GCC" = yes; then
7717	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'
7718      else
7719	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'
7720      fi
7721      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7722      hardcode_libdir_separator=:
7723      hardcode_direct=yes
7724
7725      # hardcode_minus_L: Not really in the search PATH,
7726      # but as the default location of the library.
7727      hardcode_minus_L=yes
7728      export_dynamic_flag_spec='${wl}-E'
7729      ;;
7730
7731    hpux10*)
7732      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7733	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7734      else
7735	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7736      fi
7737      if test "$with_gnu_ld" = no; then
7738	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7739	hardcode_libdir_flag_spec_ld='+b $libdir'
7740	hardcode_libdir_separator=:
7741	hardcode_direct=yes
7742	hardcode_direct_absolute=yes
7743	export_dynamic_flag_spec='${wl}-E'
7744	# hardcode_minus_L: Not really in the search PATH,
7745	# but as the default location of the library.
7746	hardcode_minus_L=yes
7747      fi
7748      ;;
7749
7750    hpux11*)
7751      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7752	case $host_cpu in
7753	hppa*64*)
7754	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7755	  ;;
7756	ia64*)
7757	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7758	  ;;
7759	*)
7760	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7761	  ;;
7762	esac
7763      else
7764	case $host_cpu in
7765	hppa*64*)
7766	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7767	  ;;
7768	ia64*)
7769	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7770	  ;;
7771	*)
7772	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7773	  ;;
7774	esac
7775      fi
7776      if test "$with_gnu_ld" = no; then
7777	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7778	hardcode_libdir_separator=:
7779
7780	case $host_cpu in
7781	hppa*64*|ia64*)
7782	  hardcode_direct=no
7783	  hardcode_shlibpath_var=no
7784	  ;;
7785	*)
7786	  hardcode_direct=yes
7787	  hardcode_direct_absolute=yes
7788	  export_dynamic_flag_spec='${wl}-E'
7789
7790	  # hardcode_minus_L: Not really in the search PATH,
7791	  # but as the default location of the library.
7792	  hardcode_minus_L=yes
7793	  ;;
7794	esac
7795      fi
7796      ;;
7797
7798    irix5* | irix6* | nonstopux*)
7799      if test "$GCC" = yes; then
7800	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7801	# Try to use the -exported_symbol ld option, if it does not
7802	# work, assume that -exports_file does not work either and
7803	# implicitly export all symbols.
7804        save_LDFLAGS="$LDFLAGS"
7805        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7806        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7807/* end confdefs.h.  */
7808int foo(void) {}
7809_ACEOF
7810if ac_fn_c_try_link "$LINENO"; then :
7811  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
7812
7813fi
7814rm -f core conftest.err conftest.$ac_objext \
7815    conftest$ac_exeext conftest.$ac_ext
7816        LDFLAGS="$save_LDFLAGS"
7817      else
7818	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7819	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
7820      fi
7821      archive_cmds_need_lc='no'
7822      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7823      hardcode_libdir_separator=:
7824      inherit_rpath=yes
7825      link_all_deplibs=yes
7826      ;;
7827
7828    netbsd* | netbsdelf*-gnu)
7829      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7830	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7831      else
7832	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
7833      fi
7834      hardcode_libdir_flag_spec='-R$libdir'
7835      hardcode_direct=yes
7836      hardcode_shlibpath_var=no
7837      ;;
7838
7839    newsos6)
7840      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7841      hardcode_direct=yes
7842      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7843      hardcode_libdir_separator=:
7844      hardcode_shlibpath_var=no
7845      ;;
7846
7847    *nto* | *qnx*)
7848      ;;
7849
7850    openbsd*)
7851      if test -f /usr/libexec/ld.so; then
7852	hardcode_direct=yes
7853	hardcode_shlibpath_var=no
7854	hardcode_direct_absolute=yes
7855	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7856	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7857	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7858	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7859	  export_dynamic_flag_spec='${wl}-E'
7860	else
7861	  case $host_os in
7862	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7863	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7864	     hardcode_libdir_flag_spec='-R$libdir'
7865	     ;;
7866	   *)
7867	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7868	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7869	     ;;
7870	  esac
7871	fi
7872      else
7873	ld_shlibs=no
7874      fi
7875      ;;
7876
7877    os2*)
7878      hardcode_libdir_flag_spec='-L$libdir'
7879      hardcode_minus_L=yes
7880      allow_undefined_flag=unsupported
7881      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'
7882      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7883      ;;
7884
7885    osf3*)
7886      if test "$GCC" = yes; then
7887	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7888	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7889      else
7890	allow_undefined_flag=' -expect_unresolved \*'
7891	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7892      fi
7893      archive_cmds_need_lc='no'
7894      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7895      hardcode_libdir_separator=:
7896      ;;
7897
7898    osf4* | osf5*)	# as osf3* with the addition of -msym flag
7899      if test "$GCC" = yes; then
7900	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7901	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7902	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7903      else
7904	allow_undefined_flag=' -expect_unresolved \*'
7905	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7906	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
7907	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
7908
7909	# Both c and cxx compiler support -rpath directly
7910	hardcode_libdir_flag_spec='-rpath $libdir'
7911      fi
7912      archive_cmds_need_lc='no'
7913      hardcode_libdir_separator=:
7914      ;;
7915
7916    solaris*)
7917      no_undefined_flag=' -z defs'
7918      if test "$GCC" = yes; then
7919	wlarc='${wl}'
7920	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7921	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7922	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7923      else
7924	case `$CC -V 2>&1` in
7925	*"Compilers 5.0"*)
7926	  wlarc=''
7927	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7928	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7929	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7930	  ;;
7931	*)
7932	  wlarc='${wl}'
7933	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7934	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7935	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7936	  ;;
7937	esac
7938      fi
7939      hardcode_libdir_flag_spec='-R$libdir'
7940      hardcode_shlibpath_var=no
7941      case $host_os in
7942      solaris2.[0-5] | solaris2.[0-5].*) ;;
7943      *)
7944	# The compiler driver will combine and reorder linker options,
7945	# but understands `-z linker_flag'.  GCC discards it without `$wl',
7946	# but is careful enough not to reorder.
7947	# Supported since Solaris 2.6 (maybe 2.5.1?)
7948	if test "$GCC" = yes; then
7949	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7950	else
7951	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
7952	fi
7953	;;
7954      esac
7955      link_all_deplibs=yes
7956      ;;
7957
7958    sunos4*)
7959      if test "x$host_vendor" = xsequent; then
7960	# Use $CC to link under sequent, because it throws in some extra .o
7961	# files that make .init and .fini sections work.
7962	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7963      else
7964	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7965      fi
7966      hardcode_libdir_flag_spec='-L$libdir'
7967      hardcode_direct=yes
7968      hardcode_minus_L=yes
7969      hardcode_shlibpath_var=no
7970      ;;
7971
7972    sysv4)
7973      case $host_vendor in
7974	sni)
7975	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7976	  hardcode_direct=yes # is this really true???
7977	;;
7978	siemens)
7979	  ## LD is ld it makes a PLAMLIB
7980	  ## CC just makes a GrossModule.
7981	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7982	  reload_cmds='$CC -r -o $output$reload_objs'
7983	  hardcode_direct=no
7984        ;;
7985	motorola)
7986	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7987	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7988	;;
7989      esac
7990      runpath_var='LD_RUN_PATH'
7991      hardcode_shlibpath_var=no
7992      ;;
7993
7994    sysv4.3*)
7995      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7996      hardcode_shlibpath_var=no
7997      export_dynamic_flag_spec='-Bexport'
7998      ;;
7999
8000    sysv4*MP*)
8001      if test -d /usr/nec; then
8002	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8003	hardcode_shlibpath_var=no
8004	runpath_var=LD_RUN_PATH
8005	hardcode_runpath_var=yes
8006	ld_shlibs=yes
8007      fi
8008      ;;
8009
8010    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8011      no_undefined_flag='${wl}-z,text'
8012      archive_cmds_need_lc=no
8013      hardcode_shlibpath_var=no
8014      runpath_var='LD_RUN_PATH'
8015
8016      if test "$GCC" = yes; then
8017	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8018	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8019      else
8020	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8021	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8022      fi
8023      ;;
8024
8025    sysv5* | sco3.2v5* | sco5v6*)
8026      # Note: We can NOT use -z defs as we might desire, because we do not
8027      # link with -lc, and that would cause any symbols used from libc to
8028      # always be unresolved, which means just about no library would
8029      # ever link correctly.  If we're not using GNU ld we use -z text
8030      # though, which does catch some bad symbols but isn't as heavy-handed
8031      # as -z defs.
8032      no_undefined_flag='${wl}-z,text'
8033      allow_undefined_flag='${wl}-z,nodefs'
8034      archive_cmds_need_lc=no
8035      hardcode_shlibpath_var=no
8036      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8037      hardcode_libdir_separator=':'
8038      link_all_deplibs=yes
8039      export_dynamic_flag_spec='${wl}-Bexport'
8040      runpath_var='LD_RUN_PATH'
8041
8042      if test "$GCC" = yes; then
8043	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8044	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8045      else
8046	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8047	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8048      fi
8049      ;;
8050
8051    uts4*)
8052      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8053      hardcode_libdir_flag_spec='-L$libdir'
8054      hardcode_shlibpath_var=no
8055      ;;
8056
8057    *)
8058      ld_shlibs=no
8059      ;;
8060    esac
8061
8062    if test x$host_vendor = xsni; then
8063      case $host in
8064      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8065	export_dynamic_flag_spec='${wl}-Blargedynsym'
8066	;;
8067      esac
8068    fi
8069  fi
8070
8071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8072$as_echo "$ld_shlibs" >&6; }
8073test "$ld_shlibs" = no && can_build_shared=no
8074
8075with_gnu_ld=$with_gnu_ld
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091#
8092# Do we need to explicitly link libc?
8093#
8094case "x$archive_cmds_need_lc" in
8095x|xyes)
8096  # Assume -lc should be added
8097  archive_cmds_need_lc=yes
8098
8099  if test "$enable_shared" = yes && test "$GCC" = yes; then
8100    case $archive_cmds in
8101    *'~'*)
8102      # FIXME: we may have to deal with multi-command sequences.
8103      ;;
8104    '$CC '*)
8105      # Test whether the compiler implicitly links with -lc since on some
8106      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8107      # to ld, don't add -lc before -lgcc.
8108      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8109$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8110      $RM conftest*
8111      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8112
8113      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8114  (eval $ac_compile) 2>&5
8115  ac_status=$?
8116  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8117  test $ac_status = 0; } 2>conftest.err; then
8118        soname=conftest
8119        lib=conftest
8120        libobjs=conftest.$ac_objext
8121        deplibs=
8122        wl=$lt_prog_compiler_wl
8123	pic_flag=$lt_prog_compiler_pic
8124        compiler_flags=-v
8125        linker_flags=-v
8126        verstring=
8127        output_objdir=.
8128        libname=conftest
8129        lt_save_allow_undefined_flag=$allow_undefined_flag
8130        allow_undefined_flag=
8131        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8132  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8133  ac_status=$?
8134  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8135  test $ac_status = 0; }
8136        then
8137	  archive_cmds_need_lc=no
8138        else
8139	  archive_cmds_need_lc=yes
8140        fi
8141        allow_undefined_flag=$lt_save_allow_undefined_flag
8142      else
8143        cat conftest.err 1>&5
8144      fi
8145      $RM conftest*
8146      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8147$as_echo "$archive_cmds_need_lc" >&6; }
8148      ;;
8149    esac
8150  fi
8151  ;;
8152esac
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8311$as_echo_n "checking dynamic linker characteristics... " >&6; }
8312
8313if test "$GCC" = yes; then
8314  case $host_os in
8315    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8316    *) lt_awk_arg="/^libraries:/" ;;
8317  esac
8318  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8319  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8320    # if the path contains ";" then we assume it to be the separator
8321    # otherwise default to the standard path separator (i.e. ":") - it is
8322    # assumed that no part of a normal pathname contains ";" but that should
8323    # okay in the real world where ";" in dirpaths is itself problematic.
8324    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8325  else
8326    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8327  fi
8328  # Ok, now we have the path, separated by spaces, we can step through it
8329  # and add multilib dir if necessary.
8330  lt_tmp_lt_search_path_spec=
8331  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8332  for lt_sys_path in $lt_search_path_spec; do
8333    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8334      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8335    else
8336      test -d "$lt_sys_path" && \
8337	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8338    fi
8339  done
8340  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8341BEGIN {RS=" "; FS="/|\n";} {
8342  lt_foo="";
8343  lt_count=0;
8344  for (lt_i = NF; lt_i > 0; lt_i--) {
8345    if ($lt_i != "" && $lt_i != ".") {
8346      if ($lt_i == "..") {
8347        lt_count++;
8348      } else {
8349        if (lt_count == 0) {
8350          lt_foo="/" $lt_i lt_foo;
8351        } else {
8352          lt_count--;
8353        }
8354      }
8355    }
8356  }
8357  if (lt_foo != "") { lt_freq[lt_foo]++; }
8358  if (lt_freq[lt_foo] == 1) { print lt_foo; }
8359}'`
8360  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8361else
8362  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8363fi
8364library_names_spec=
8365libname_spec='lib$name'
8366soname_spec=
8367shrext_cmds=".so"
8368postinstall_cmds=
8369postuninstall_cmds=
8370finish_cmds=
8371finish_eval=
8372shlibpath_var=
8373shlibpath_overrides_runpath=unknown
8374version_type=none
8375dynamic_linker="$host_os ld.so"
8376sys_lib_dlsearch_path_spec="/lib /usr/lib"
8377need_lib_prefix=unknown
8378hardcode_into_libs=no
8379
8380# when you set need_version to no, make sure it does not cause -set_version
8381# flags to be left without arguments
8382need_version=unknown
8383
8384case $host_os in
8385aix3*)
8386  version_type=linux
8387  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8388  shlibpath_var=LIBPATH
8389
8390  # AIX 3 has no versioning support, so we append a major version to the name.
8391  soname_spec='${libname}${release}${shared_ext}$major'
8392  ;;
8393
8394aix[4-9]*)
8395  version_type=linux
8396  need_lib_prefix=no
8397  need_version=no
8398  hardcode_into_libs=yes
8399  if test "$host_cpu" = ia64; then
8400    # AIX 5 supports IA64
8401    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8402    shlibpath_var=LD_LIBRARY_PATH
8403  else
8404    # With GCC up to 2.95.x, collect2 would create an import file
8405    # for dependence libraries.  The import file would start with
8406    # the line `#! .'.  This would cause the generated library to
8407    # depend on `.', always an invalid library.  This was fixed in
8408    # development snapshots of GCC prior to 3.0.
8409    case $host_os in
8410      aix4 | aix4.[01] | aix4.[01].*)
8411      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8412	   echo ' yes '
8413	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8414	:
8415      else
8416	can_build_shared=no
8417      fi
8418      ;;
8419    esac
8420    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8421    # soname into executable. Probably we can add versioning support to
8422    # collect2, so additional links can be useful in future.
8423    if test "$aix_use_runtimelinking" = yes; then
8424      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8425      # instead of lib<name>.a to let people know that these are not
8426      # typical AIX shared libraries.
8427      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8428    else
8429      # We preserve .a as extension for shared libraries through AIX4.2
8430      # and later when we are not doing run time linking.
8431      library_names_spec='${libname}${release}.a $libname.a'
8432      soname_spec='${libname}${release}${shared_ext}$major'
8433    fi
8434    shlibpath_var=LIBPATH
8435  fi
8436  ;;
8437
8438amigaos*)
8439  case $host_cpu in
8440  powerpc)
8441    # Since July 2007 AmigaOS4 officially supports .so libraries.
8442    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8443    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8444    ;;
8445  m68k)
8446    library_names_spec='$libname.ixlibrary $libname.a'
8447    # Create ${libname}_ixlibrary.a entries in /sys/libs.
8448    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'
8449    ;;
8450  esac
8451  ;;
8452
8453beos*)
8454  library_names_spec='${libname}${shared_ext}'
8455  dynamic_linker="$host_os ld.so"
8456  shlibpath_var=LIBRARY_PATH
8457  ;;
8458
8459bsdi[45]*)
8460  version_type=linux
8461  need_version=no
8462  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8463  soname_spec='${libname}${release}${shared_ext}$major'
8464  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8465  shlibpath_var=LD_LIBRARY_PATH
8466  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8467  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8468  # the default ld.so.conf also contains /usr/contrib/lib and
8469  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8470  # libtool to hard-code these into programs
8471  ;;
8472
8473cygwin* | mingw* | pw32* | cegcc*)
8474  version_type=windows
8475  shrext_cmds=".dll"
8476  need_version=no
8477  need_lib_prefix=no
8478
8479  case $GCC,$host_os in
8480  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
8481    library_names_spec='$libname.dll.a'
8482    # DLL is installed to $(libdir)/../bin by postinstall_cmds
8483    postinstall_cmds='base_file=`basename \${file}`~
8484      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8485      dldir=$destdir/`dirname \$dlpath`~
8486      test -d \$dldir || mkdir -p \$dldir~
8487      $install_prog $dir/$dlname \$dldir/$dlname~
8488      chmod a+x \$dldir/$dlname~
8489      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8490        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8491      fi'
8492    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8493      dlpath=$dir/\$dldll~
8494       $RM \$dlpath'
8495    shlibpath_overrides_runpath=yes
8496
8497    case $host_os in
8498    cygwin*)
8499      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8500      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8501      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8502      ;;
8503    mingw* | cegcc*)
8504      # MinGW DLLs use traditional 'lib' prefix
8505      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8506      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8507      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8508        # It is most probably a Windows format PATH printed by
8509        # mingw gcc, but we are running on Cygwin. Gcc prints its search
8510        # path with ; separators, and with drive letters. We can handle the
8511        # drive letters (cygwin fileutils understands them), so leave them,
8512        # especially as we might pass files found there to a mingw objdump,
8513        # which wouldn't understand a cygwinified path. Ahh.
8514        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8515      else
8516        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8517      fi
8518      ;;
8519    pw32*)
8520      # pw32 DLLs use 'pw' prefix rather than 'lib'
8521      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8522      ;;
8523    esac
8524    ;;
8525
8526  *)
8527    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8528    ;;
8529  esac
8530  dynamic_linker='Win32 ld.exe'
8531  # FIXME: first we should search . and the directory the executable is in
8532  shlibpath_var=PATH
8533  ;;
8534
8535darwin* | rhapsody*)
8536  dynamic_linker="$host_os dyld"
8537  version_type=darwin
8538  need_lib_prefix=no
8539  need_version=no
8540  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8541  soname_spec='${libname}${release}${major}$shared_ext'
8542  shlibpath_overrides_runpath=yes
8543  shlibpath_var=DYLD_LIBRARY_PATH
8544  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8545
8546  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8547  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8548  ;;
8549
8550dgux*)
8551  version_type=linux
8552  need_lib_prefix=no
8553  need_version=no
8554  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8555  soname_spec='${libname}${release}${shared_ext}$major'
8556  shlibpath_var=LD_LIBRARY_PATH
8557  ;;
8558
8559freebsd1*)
8560  dynamic_linker=no
8561  ;;
8562
8563freebsd* | dragonfly*)
8564  # DragonFly does not have aout.  When/if they implement a new
8565  # versioning mechanism, adjust this.
8566  if test -x /usr/bin/objformat; then
8567    objformat=`/usr/bin/objformat`
8568  else
8569    case $host_os in
8570    freebsd[123]*) objformat=aout ;;
8571    *) objformat=elf ;;
8572    esac
8573  fi
8574  version_type=freebsd-$objformat
8575  case $version_type in
8576    freebsd-elf*)
8577      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8578      need_version=no
8579      need_lib_prefix=no
8580      ;;
8581    freebsd-*)
8582      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8583      need_version=yes
8584      ;;
8585  esac
8586  shlibpath_var=LD_LIBRARY_PATH
8587  case $host_os in
8588  freebsd2*)
8589    shlibpath_overrides_runpath=yes
8590    ;;
8591  freebsd3.[01]* | freebsdelf3.[01]*)
8592    shlibpath_overrides_runpath=yes
8593    hardcode_into_libs=yes
8594    ;;
8595  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8596  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8597    shlibpath_overrides_runpath=no
8598    hardcode_into_libs=yes
8599    ;;
8600  *) # from 4.6 on, and DragonFly
8601    shlibpath_overrides_runpath=yes
8602    hardcode_into_libs=yes
8603    ;;
8604  esac
8605  ;;
8606
8607gnu*)
8608  version_type=linux
8609  need_lib_prefix=no
8610  need_version=no
8611  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8612  soname_spec='${libname}${release}${shared_ext}$major'
8613  shlibpath_var=LD_LIBRARY_PATH
8614  hardcode_into_libs=yes
8615  ;;
8616
8617hpux9* | hpux10* | hpux11*)
8618  # Give a soname corresponding to the major version so that dld.sl refuses to
8619  # link against other versions.
8620  version_type=sunos
8621  need_lib_prefix=no
8622  need_version=no
8623  case $host_cpu in
8624  ia64*)
8625    shrext_cmds='.so'
8626    hardcode_into_libs=yes
8627    dynamic_linker="$host_os dld.so"
8628    shlibpath_var=LD_LIBRARY_PATH
8629    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8630    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8631    soname_spec='${libname}${release}${shared_ext}$major'
8632    if test "X$HPUX_IA64_MODE" = X32; then
8633      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8634    else
8635      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8636    fi
8637    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8638    ;;
8639  hppa*64*)
8640    shrext_cmds='.sl'
8641    hardcode_into_libs=yes
8642    dynamic_linker="$host_os dld.sl"
8643    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8644    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8645    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8646    soname_spec='${libname}${release}${shared_ext}$major'
8647    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8648    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8649    ;;
8650  *)
8651    shrext_cmds='.sl'
8652    dynamic_linker="$host_os dld.sl"
8653    shlibpath_var=SHLIB_PATH
8654    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8655    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8656    soname_spec='${libname}${release}${shared_ext}$major'
8657    ;;
8658  esac
8659  # HP-UX runs *really* slowly unless shared libraries are mode 555.
8660  postinstall_cmds='chmod 555 $lib'
8661  ;;
8662
8663interix[3-9]*)
8664  version_type=linux
8665  need_lib_prefix=no
8666  need_version=no
8667  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8668  soname_spec='${libname}${release}${shared_ext}$major'
8669  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8670  shlibpath_var=LD_LIBRARY_PATH
8671  shlibpath_overrides_runpath=no
8672  hardcode_into_libs=yes
8673  ;;
8674
8675irix5* | irix6* | nonstopux*)
8676  case $host_os in
8677    nonstopux*) version_type=nonstopux ;;
8678    *)
8679	if test "$lt_cv_prog_gnu_ld" = yes; then
8680		version_type=linux
8681	else
8682		version_type=irix
8683	fi ;;
8684  esac
8685  need_lib_prefix=no
8686  need_version=no
8687  soname_spec='${libname}${release}${shared_ext}$major'
8688  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8689  case $host_os in
8690  irix5* | nonstopux*)
8691    libsuff= shlibsuff=
8692    ;;
8693  *)
8694    case $LD in # libtool.m4 will add one of these switches to LD
8695    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8696      libsuff= shlibsuff= libmagic=32-bit;;
8697    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8698      libsuff=32 shlibsuff=N32 libmagic=N32;;
8699    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8700      libsuff=64 shlibsuff=64 libmagic=64-bit;;
8701    *) libsuff= shlibsuff= libmagic=never-match;;
8702    esac
8703    ;;
8704  esac
8705  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8706  shlibpath_overrides_runpath=no
8707  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8708  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8709  hardcode_into_libs=yes
8710  ;;
8711
8712# No shared lib support for Linux oldld, aout, or coff.
8713linux*oldld* | linux*aout* | linux*coff*)
8714  dynamic_linker=no
8715  ;;
8716
8717# This must be Linux ELF.
8718linux* | k*bsd*-gnu | kopensolaris*-gnu)
8719  version_type=linux
8720  need_lib_prefix=no
8721  need_version=no
8722  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8723  soname_spec='${libname}${release}${shared_ext}$major'
8724  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8725  shlibpath_var=LD_LIBRARY_PATH
8726  shlibpath_overrides_runpath=no
8727  # Some binutils ld are patched to set DT_RUNPATH
8728  save_LDFLAGS=$LDFLAGS
8729  save_libdir=$libdir
8730  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8731       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8732  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733/* end confdefs.h.  */
8734
8735int
8736main ()
8737{
8738
8739  ;
8740  return 0;
8741}
8742_ACEOF
8743if ac_fn_c_try_link "$LINENO"; then :
8744  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
8745  shlibpath_overrides_runpath=yes
8746fi
8747fi
8748rm -f core conftest.err conftest.$ac_objext \
8749    conftest$ac_exeext conftest.$ac_ext
8750  LDFLAGS=$save_LDFLAGS
8751  libdir=$save_libdir
8752
8753  # This implies no fast_install, which is unacceptable.
8754  # Some rework will be needed to allow for fast_install
8755  # before this can be enabled.
8756  hardcode_into_libs=yes
8757
8758  # Append ld.so.conf contents to the search path
8759  if test -f /etc/ld.so.conf; then
8760    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' ' '`
8761    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8762  fi
8763
8764  # We used to test for /lib/ld.so.1 and disable shared libraries on
8765  # powerpc, because MkLinux only supported shared libraries with the
8766  # GNU dynamic linker.  Since this was broken with cross compilers,
8767  # most powerpc-linux boxes support dynamic linking these days and
8768  # people can always --disable-shared, the test was removed, and we
8769  # assume the GNU/Linux dynamic linker is in use.
8770  dynamic_linker='GNU/Linux ld.so'
8771  ;;
8772
8773netbsdelf*-gnu)
8774  version_type=linux
8775  need_lib_prefix=no
8776  need_version=no
8777  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8778  soname_spec='${libname}${release}${shared_ext}$major'
8779  shlibpath_var=LD_LIBRARY_PATH
8780  shlibpath_overrides_runpath=no
8781  hardcode_into_libs=yes
8782  dynamic_linker='NetBSD ld.elf_so'
8783  ;;
8784
8785netbsd*)
8786  version_type=sunos
8787  need_lib_prefix=no
8788  need_version=no
8789  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8790    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8791    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8792    dynamic_linker='NetBSD (a.out) ld.so'
8793  else
8794    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8795    soname_spec='${libname}${release}${shared_ext}$major'
8796    dynamic_linker='NetBSD ld.elf_so'
8797  fi
8798  shlibpath_var=LD_LIBRARY_PATH
8799  shlibpath_overrides_runpath=yes
8800  hardcode_into_libs=yes
8801  ;;
8802
8803newsos6)
8804  version_type=linux
8805  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8806  shlibpath_var=LD_LIBRARY_PATH
8807  shlibpath_overrides_runpath=yes
8808  ;;
8809
8810*nto* | *qnx*)
8811  version_type=qnx
8812  need_lib_prefix=no
8813  need_version=no
8814  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8815  soname_spec='${libname}${release}${shared_ext}$major'
8816  shlibpath_var=LD_LIBRARY_PATH
8817  shlibpath_overrides_runpath=no
8818  hardcode_into_libs=yes
8819  dynamic_linker='ldqnx.so'
8820  ;;
8821
8822openbsd*)
8823  version_type=sunos
8824  sys_lib_dlsearch_path_spec="/usr/lib"
8825  need_lib_prefix=no
8826  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8827  case $host_os in
8828    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
8829    *)				need_version=no  ;;
8830  esac
8831  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8832  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8833  shlibpath_var=LD_LIBRARY_PATH
8834  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8835    case $host_os in
8836      openbsd2.[89] | openbsd2.[89].*)
8837	shlibpath_overrides_runpath=no
8838	;;
8839      *)
8840	shlibpath_overrides_runpath=yes
8841	;;
8842      esac
8843  else
8844    shlibpath_overrides_runpath=yes
8845  fi
8846  ;;
8847
8848os2*)
8849  libname_spec='$name'
8850  shrext_cmds=".dll"
8851  need_lib_prefix=no
8852  library_names_spec='$libname${shared_ext} $libname.a'
8853  dynamic_linker='OS/2 ld.exe'
8854  shlibpath_var=LIBPATH
8855  ;;
8856
8857osf3* | osf4* | osf5*)
8858  version_type=osf
8859  need_lib_prefix=no
8860  need_version=no
8861  soname_spec='${libname}${release}${shared_ext}$major'
8862  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8863  shlibpath_var=LD_LIBRARY_PATH
8864  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8865  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8866  ;;
8867
8868rdos*)
8869  dynamic_linker=no
8870  ;;
8871
8872solaris*)
8873  version_type=linux
8874  need_lib_prefix=no
8875  need_version=no
8876  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8877  soname_spec='${libname}${release}${shared_ext}$major'
8878  shlibpath_var=LD_LIBRARY_PATH
8879  shlibpath_overrides_runpath=yes
8880  hardcode_into_libs=yes
8881  # ldd complains unless libraries are executable
8882  postinstall_cmds='chmod +x $lib'
8883  ;;
8884
8885sunos4*)
8886  version_type=sunos
8887  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8888  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8889  shlibpath_var=LD_LIBRARY_PATH
8890  shlibpath_overrides_runpath=yes
8891  if test "$with_gnu_ld" = yes; then
8892    need_lib_prefix=no
8893  fi
8894  need_version=yes
8895  ;;
8896
8897sysv4 | sysv4.3*)
8898  version_type=linux
8899  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8900  soname_spec='${libname}${release}${shared_ext}$major'
8901  shlibpath_var=LD_LIBRARY_PATH
8902  case $host_vendor in
8903    sni)
8904      shlibpath_overrides_runpath=no
8905      need_lib_prefix=no
8906      runpath_var=LD_RUN_PATH
8907      ;;
8908    siemens)
8909      need_lib_prefix=no
8910      ;;
8911    motorola)
8912      need_lib_prefix=no
8913      need_version=no
8914      shlibpath_overrides_runpath=no
8915      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8916      ;;
8917  esac
8918  ;;
8919
8920sysv4*MP*)
8921  if test -d /usr/nec ;then
8922    version_type=linux
8923    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8924    soname_spec='$libname${shared_ext}.$major'
8925    shlibpath_var=LD_LIBRARY_PATH
8926  fi
8927  ;;
8928
8929sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8930  version_type=freebsd-elf
8931  need_lib_prefix=no
8932  need_version=no
8933  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8934  soname_spec='${libname}${release}${shared_ext}$major'
8935  shlibpath_var=LD_LIBRARY_PATH
8936  shlibpath_overrides_runpath=yes
8937  hardcode_into_libs=yes
8938  if test "$with_gnu_ld" = yes; then
8939    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8940  else
8941    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
8942    case $host_os in
8943      sco3.2v5*)
8944        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
8945	;;
8946    esac
8947  fi
8948  sys_lib_dlsearch_path_spec='/usr/lib'
8949  ;;
8950
8951tpf*)
8952  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
8953  version_type=linux
8954  need_lib_prefix=no
8955  need_version=no
8956  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8957  shlibpath_var=LD_LIBRARY_PATH
8958  shlibpath_overrides_runpath=no
8959  hardcode_into_libs=yes
8960  ;;
8961
8962uts4*)
8963  version_type=linux
8964  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8965  soname_spec='${libname}${release}${shared_ext}$major'
8966  shlibpath_var=LD_LIBRARY_PATH
8967  ;;
8968
8969*)
8970  dynamic_linker=no
8971  ;;
8972esac
8973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
8974$as_echo "$dynamic_linker" >&6; }
8975test "$dynamic_linker" = no && can_build_shared=no
8976
8977variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8978if test "$GCC" = yes; then
8979  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8980fi
8981
8982if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
8983  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
8984fi
8985if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
8986  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
8987fi
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9076$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9077hardcode_action=
9078if test -n "$hardcode_libdir_flag_spec" ||
9079   test -n "$runpath_var" ||
9080   test "X$hardcode_automatic" = "Xyes" ; then
9081
9082  # We can hardcode non-existent directories.
9083  if test "$hardcode_direct" != no &&
9084     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9085     # have to relink, otherwise we might link with an installed library
9086     # when we should be linking with a yet-to-be-installed one
9087     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9088     test "$hardcode_minus_L" != no; then
9089    # Linking always hardcodes the temporary library directory.
9090    hardcode_action=relink
9091  else
9092    # We can link without hardcoding, and we can hardcode nonexisting dirs.
9093    hardcode_action=immediate
9094  fi
9095else
9096  # We cannot hardcode anything, or else we can only hardcode existing
9097  # directories.
9098  hardcode_action=unsupported
9099fi
9100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9101$as_echo "$hardcode_action" >&6; }
9102
9103if test "$hardcode_action" = relink ||
9104   test "$inherit_rpath" = yes; then
9105  # Fast installation is not supported
9106  enable_fast_install=no
9107elif test "$shlibpath_overrides_runpath" = yes ||
9108     test "$enable_shared" = no; then
9109  # Fast installation is not necessary
9110  enable_fast_install=needless
9111fi
9112
9113
9114
9115
9116
9117
9118  if test "x$enable_dlopen" != xyes; then
9119  enable_dlopen=unknown
9120  enable_dlopen_self=unknown
9121  enable_dlopen_self_static=unknown
9122else
9123  lt_cv_dlopen=no
9124  lt_cv_dlopen_libs=
9125
9126  case $host_os in
9127  beos*)
9128    lt_cv_dlopen="load_add_on"
9129    lt_cv_dlopen_libs=
9130    lt_cv_dlopen_self=yes
9131    ;;
9132
9133  mingw* | pw32* | cegcc*)
9134    lt_cv_dlopen="LoadLibrary"
9135    lt_cv_dlopen_libs=
9136    ;;
9137
9138  cygwin*)
9139    lt_cv_dlopen="dlopen"
9140    lt_cv_dlopen_libs=
9141    ;;
9142
9143  darwin*)
9144  # if libdl is installed we need to link against it
9145    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9146$as_echo_n "checking for dlopen in -ldl... " >&6; }
9147if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9148  $as_echo_n "(cached) " >&6
9149else
9150  ac_check_lib_save_LIBS=$LIBS
9151LIBS="-ldl  $LIBS"
9152cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9153/* end confdefs.h.  */
9154
9155/* Override any GCC internal prototype to avoid an error.
9156   Use char because int might match the return type of a GCC
9157   builtin and then its argument prototype would still apply.  */
9158#ifdef __cplusplus
9159extern "C"
9160#endif
9161char dlopen ();
9162int
9163main ()
9164{
9165return dlopen ();
9166  ;
9167  return 0;
9168}
9169_ACEOF
9170if ac_fn_c_try_link "$LINENO"; then :
9171  ac_cv_lib_dl_dlopen=yes
9172else
9173  ac_cv_lib_dl_dlopen=no
9174fi
9175rm -f core conftest.err conftest.$ac_objext \
9176    conftest$ac_exeext conftest.$ac_ext
9177LIBS=$ac_check_lib_save_LIBS
9178fi
9179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9180$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9181if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9182  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9183else
9184
9185    lt_cv_dlopen="dyld"
9186    lt_cv_dlopen_libs=
9187    lt_cv_dlopen_self=yes
9188
9189fi
9190
9191    ;;
9192
9193  *)
9194    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
9195if test "x$ac_cv_func_shl_load" = x""yes; then :
9196  lt_cv_dlopen="shl_load"
9197else
9198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9199$as_echo_n "checking for shl_load in -ldld... " >&6; }
9200if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9201  $as_echo_n "(cached) " >&6
9202else
9203  ac_check_lib_save_LIBS=$LIBS
9204LIBS="-ldld  $LIBS"
9205cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9206/* end confdefs.h.  */
9207
9208/* Override any GCC internal prototype to avoid an error.
9209   Use char because int might match the return type of a GCC
9210   builtin and then its argument prototype would still apply.  */
9211#ifdef __cplusplus
9212extern "C"
9213#endif
9214char shl_load ();
9215int
9216main ()
9217{
9218return shl_load ();
9219  ;
9220  return 0;
9221}
9222_ACEOF
9223if ac_fn_c_try_link "$LINENO"; then :
9224  ac_cv_lib_dld_shl_load=yes
9225else
9226  ac_cv_lib_dld_shl_load=no
9227fi
9228rm -f core conftest.err conftest.$ac_objext \
9229    conftest$ac_exeext conftest.$ac_ext
9230LIBS=$ac_check_lib_save_LIBS
9231fi
9232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9233$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9234if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
9235  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9236else
9237  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
9238if test "x$ac_cv_func_dlopen" = x""yes; then :
9239  lt_cv_dlopen="dlopen"
9240else
9241  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9242$as_echo_n "checking for dlopen in -ldl... " >&6; }
9243if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9244  $as_echo_n "(cached) " >&6
9245else
9246  ac_check_lib_save_LIBS=$LIBS
9247LIBS="-ldl  $LIBS"
9248cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9249/* end confdefs.h.  */
9250
9251/* Override any GCC internal prototype to avoid an error.
9252   Use char because int might match the return type of a GCC
9253   builtin and then its argument prototype would still apply.  */
9254#ifdef __cplusplus
9255extern "C"
9256#endif
9257char dlopen ();
9258int
9259main ()
9260{
9261return dlopen ();
9262  ;
9263  return 0;
9264}
9265_ACEOF
9266if ac_fn_c_try_link "$LINENO"; then :
9267  ac_cv_lib_dl_dlopen=yes
9268else
9269  ac_cv_lib_dl_dlopen=no
9270fi
9271rm -f core conftest.err conftest.$ac_objext \
9272    conftest$ac_exeext conftest.$ac_ext
9273LIBS=$ac_check_lib_save_LIBS
9274fi
9275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9276$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9277if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9278  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9279else
9280  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9281$as_echo_n "checking for dlopen in -lsvld... " >&6; }
9282if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9283  $as_echo_n "(cached) " >&6
9284else
9285  ac_check_lib_save_LIBS=$LIBS
9286LIBS="-lsvld  $LIBS"
9287cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9288/* end confdefs.h.  */
9289
9290/* Override any GCC internal prototype to avoid an error.
9291   Use char because int might match the return type of a GCC
9292   builtin and then its argument prototype would still apply.  */
9293#ifdef __cplusplus
9294extern "C"
9295#endif
9296char dlopen ();
9297int
9298main ()
9299{
9300return dlopen ();
9301  ;
9302  return 0;
9303}
9304_ACEOF
9305if ac_fn_c_try_link "$LINENO"; then :
9306  ac_cv_lib_svld_dlopen=yes
9307else
9308  ac_cv_lib_svld_dlopen=no
9309fi
9310rm -f core conftest.err conftest.$ac_objext \
9311    conftest$ac_exeext conftest.$ac_ext
9312LIBS=$ac_check_lib_save_LIBS
9313fi
9314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9315$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9316if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
9317  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9318else
9319  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9320$as_echo_n "checking for dld_link in -ldld... " >&6; }
9321if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9322  $as_echo_n "(cached) " >&6
9323else
9324  ac_check_lib_save_LIBS=$LIBS
9325LIBS="-ldld  $LIBS"
9326cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9327/* end confdefs.h.  */
9328
9329/* Override any GCC internal prototype to avoid an error.
9330   Use char because int might match the return type of a GCC
9331   builtin and then its argument prototype would still apply.  */
9332#ifdef __cplusplus
9333extern "C"
9334#endif
9335char dld_link ();
9336int
9337main ()
9338{
9339return dld_link ();
9340  ;
9341  return 0;
9342}
9343_ACEOF
9344if ac_fn_c_try_link "$LINENO"; then :
9345  ac_cv_lib_dld_dld_link=yes
9346else
9347  ac_cv_lib_dld_dld_link=no
9348fi
9349rm -f core conftest.err conftest.$ac_objext \
9350    conftest$ac_exeext conftest.$ac_ext
9351LIBS=$ac_check_lib_save_LIBS
9352fi
9353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9354$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9355if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
9356  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9357fi
9358
9359
9360fi
9361
9362
9363fi
9364
9365
9366fi
9367
9368
9369fi
9370
9371
9372fi
9373
9374    ;;
9375  esac
9376
9377  if test "x$lt_cv_dlopen" != xno; then
9378    enable_dlopen=yes
9379  else
9380    enable_dlopen=no
9381  fi
9382
9383  case $lt_cv_dlopen in
9384  dlopen)
9385    save_CPPFLAGS="$CPPFLAGS"
9386    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9387
9388    save_LDFLAGS="$LDFLAGS"
9389    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9390
9391    save_LIBS="$LIBS"
9392    LIBS="$lt_cv_dlopen_libs $LIBS"
9393
9394    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9395$as_echo_n "checking whether a program can dlopen itself... " >&6; }
9396if test "${lt_cv_dlopen_self+set}" = set; then :
9397  $as_echo_n "(cached) " >&6
9398else
9399  	  if test "$cross_compiling" = yes; then :
9400  lt_cv_dlopen_self=cross
9401else
9402  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9403  lt_status=$lt_dlunknown
9404  cat > conftest.$ac_ext <<_LT_EOF
9405#line 9405 "configure"
9406#include "confdefs.h"
9407
9408#if HAVE_DLFCN_H
9409#include <dlfcn.h>
9410#endif
9411
9412#include <stdio.h>
9413
9414#ifdef RTLD_GLOBAL
9415#  define LT_DLGLOBAL		RTLD_GLOBAL
9416#else
9417#  ifdef DL_GLOBAL
9418#    define LT_DLGLOBAL		DL_GLOBAL
9419#  else
9420#    define LT_DLGLOBAL		0
9421#  endif
9422#endif
9423
9424/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9425   find out it does not work in some platform. */
9426#ifndef LT_DLLAZY_OR_NOW
9427#  ifdef RTLD_LAZY
9428#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
9429#  else
9430#    ifdef DL_LAZY
9431#      define LT_DLLAZY_OR_NOW		DL_LAZY
9432#    else
9433#      ifdef RTLD_NOW
9434#        define LT_DLLAZY_OR_NOW	RTLD_NOW
9435#      else
9436#        ifdef DL_NOW
9437#          define LT_DLLAZY_OR_NOW	DL_NOW
9438#        else
9439#          define LT_DLLAZY_OR_NOW	0
9440#        endif
9441#      endif
9442#    endif
9443#  endif
9444#endif
9445
9446void fnord() { int i=42;}
9447int main ()
9448{
9449  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9450  int status = $lt_dlunknown;
9451
9452  if (self)
9453    {
9454      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9455      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9456      /* dlclose (self); */
9457    }
9458  else
9459    puts (dlerror ());
9460
9461  return status;
9462}
9463_LT_EOF
9464  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9465  (eval $ac_link) 2>&5
9466  ac_status=$?
9467  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9468  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
9469    (./conftest; exit; ) >&5 2>/dev/null
9470    lt_status=$?
9471    case x$lt_status in
9472      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9473      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9474      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9475    esac
9476  else :
9477    # compilation failed
9478    lt_cv_dlopen_self=no
9479  fi
9480fi
9481rm -fr conftest*
9482
9483
9484fi
9485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9486$as_echo "$lt_cv_dlopen_self" >&6; }
9487
9488    if test "x$lt_cv_dlopen_self" = xyes; then
9489      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9490      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9491$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9492if test "${lt_cv_dlopen_self_static+set}" = set; then :
9493  $as_echo_n "(cached) " >&6
9494else
9495  	  if test "$cross_compiling" = yes; then :
9496  lt_cv_dlopen_self_static=cross
9497else
9498  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9499  lt_status=$lt_dlunknown
9500  cat > conftest.$ac_ext <<_LT_EOF
9501#line 9501 "configure"
9502#include "confdefs.h"
9503
9504#if HAVE_DLFCN_H
9505#include <dlfcn.h>
9506#endif
9507
9508#include <stdio.h>
9509
9510#ifdef RTLD_GLOBAL
9511#  define LT_DLGLOBAL		RTLD_GLOBAL
9512#else
9513#  ifdef DL_GLOBAL
9514#    define LT_DLGLOBAL		DL_GLOBAL
9515#  else
9516#    define LT_DLGLOBAL		0
9517#  endif
9518#endif
9519
9520/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9521   find out it does not work in some platform. */
9522#ifndef LT_DLLAZY_OR_NOW
9523#  ifdef RTLD_LAZY
9524#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
9525#  else
9526#    ifdef DL_LAZY
9527#      define LT_DLLAZY_OR_NOW		DL_LAZY
9528#    else
9529#      ifdef RTLD_NOW
9530#        define LT_DLLAZY_OR_NOW	RTLD_NOW
9531#      else
9532#        ifdef DL_NOW
9533#          define LT_DLLAZY_OR_NOW	DL_NOW
9534#        else
9535#          define LT_DLLAZY_OR_NOW	0
9536#        endif
9537#      endif
9538#    endif
9539#  endif
9540#endif
9541
9542void fnord() { int i=42;}
9543int main ()
9544{
9545  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9546  int status = $lt_dlunknown;
9547
9548  if (self)
9549    {
9550      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9551      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9552      /* dlclose (self); */
9553    }
9554  else
9555    puts (dlerror ());
9556
9557  return status;
9558}
9559_LT_EOF
9560  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9561  (eval $ac_link) 2>&5
9562  ac_status=$?
9563  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9564  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
9565    (./conftest; exit; ) >&5 2>/dev/null
9566    lt_status=$?
9567    case x$lt_status in
9568      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9569      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9570      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9571    esac
9572  else :
9573    # compilation failed
9574    lt_cv_dlopen_self_static=no
9575  fi
9576fi
9577rm -fr conftest*
9578
9579
9580fi
9581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9582$as_echo "$lt_cv_dlopen_self_static" >&6; }
9583    fi
9584
9585    CPPFLAGS="$save_CPPFLAGS"
9586    LDFLAGS="$save_LDFLAGS"
9587    LIBS="$save_LIBS"
9588    ;;
9589  esac
9590
9591  case $lt_cv_dlopen_self in
9592  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9593  *) enable_dlopen_self=unknown ;;
9594  esac
9595
9596  case $lt_cv_dlopen_self_static in
9597  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9598  *) enable_dlopen_self_static=unknown ;;
9599  esac
9600fi
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618striplib=
9619old_striplib=
9620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9621$as_echo_n "checking whether stripping libraries is possible... " >&6; }
9622if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
9623  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9624  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9626$as_echo "yes" >&6; }
9627else
9628# FIXME - insert some real tests, host_os isn't really good enough
9629  case $host_os in
9630  darwin*)
9631    if test -n "$STRIP" ; then
9632      striplib="$STRIP -x"
9633      old_striplib="$STRIP -S"
9634      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9635$as_echo "yes" >&6; }
9636    else
9637      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9638$as_echo "no" >&6; }
9639    fi
9640    ;;
9641  *)
9642    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9643$as_echo "no" >&6; }
9644    ;;
9645  esac
9646fi
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659  # Report which library types will actually be built
9660  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9661$as_echo_n "checking if libtool supports shared libraries... " >&6; }
9662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9663$as_echo "$can_build_shared" >&6; }
9664
9665  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9666$as_echo_n "checking whether to build shared libraries... " >&6; }
9667  test "$can_build_shared" = "no" && enable_shared=no
9668
9669  # On AIX, shared libraries and static libraries use the same namespace, and
9670  # are all built from PIC.
9671  case $host_os in
9672  aix3*)
9673    test "$enable_shared" = yes && enable_static=no
9674    if test -n "$RANLIB"; then
9675      archive_cmds="$archive_cmds~\$RANLIB \$lib"
9676      postinstall_cmds='$RANLIB $lib'
9677    fi
9678    ;;
9679
9680  aix[4-9]*)
9681    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9682      test "$enable_shared" = yes && enable_static=no
9683    fi
9684    ;;
9685  esac
9686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9687$as_echo "$enable_shared" >&6; }
9688
9689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9690$as_echo_n "checking whether to build static libraries... " >&6; }
9691  # Make sure either enable_shared or enable_static is yes.
9692  test "$enable_shared" = yes || enable_static=yes
9693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9694$as_echo "$enable_static" >&6; }
9695
9696
9697
9698
9699fi
9700ac_ext=c
9701ac_cpp='$CPP $CPPFLAGS'
9702ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9703ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9704ac_compiler_gnu=$ac_cv_c_compiler_gnu
9705
9706CC="$lt_save_CC"
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720        ac_config_commands="$ac_config_commands libtool"
9721
9722
9723
9724
9725# Only expand once:
9726
9727
9728
9729API_VERSION=1.0
9730VERSION=$API_VERSION.2
9731
9732
9733
9734
9735am__api_version='1.11'
9736
9737# Find a good install program.  We prefer a C program (faster),
9738# so one script is as good as another.  But avoid the broken or
9739# incompatible versions:
9740# SysV /etc/install, /usr/sbin/install
9741# SunOS /usr/etc/install
9742# IRIX /sbin/install
9743# AIX /bin/install
9744# AmigaOS /C/install, which installs bootblocks on floppy discs
9745# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9746# AFS /usr/afsws/bin/install, which mishandles nonexistent args
9747# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9748# OS/2's system install, which has a completely different semantic
9749# ./install, which can be erroneously created by make from ./install.sh.
9750# Reject install programs that cannot install multiple files.
9751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
9752$as_echo_n "checking for a BSD-compatible install... " >&6; }
9753if test -z "$INSTALL"; then
9754if test "${ac_cv_path_install+set}" = set; then :
9755  $as_echo_n "(cached) " >&6
9756else
9757  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9758for as_dir in $PATH
9759do
9760  IFS=$as_save_IFS
9761  test -z "$as_dir" && as_dir=.
9762    # Account for people who put trailing slashes in PATH elements.
9763case $as_dir/ in #((
9764  ./ | .// | /[cC]/* | \
9765  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
9766  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
9767  /usr/ucb/* ) ;;
9768  *)
9769    # OSF1 and SCO ODT 3.0 have their own names for install.
9770    # Don't use installbsd from OSF since it installs stuff as root
9771    # by default.
9772    for ac_prog in ginstall scoinst install; do
9773      for ac_exec_ext in '' $ac_executable_extensions; do
9774	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
9775	  if test $ac_prog = install &&
9776	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9777	    # AIX install.  It has an incompatible calling convention.
9778	    :
9779	  elif test $ac_prog = install &&
9780	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9781	    # program-specific install script used by HP pwplus--don't use.
9782	    :
9783	  else
9784	    rm -rf conftest.one conftest.two conftest.dir
9785	    echo one > conftest.one
9786	    echo two > conftest.two
9787	    mkdir conftest.dir
9788	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
9789	      test -s conftest.one && test -s conftest.two &&
9790	      test -s conftest.dir/conftest.one &&
9791	      test -s conftest.dir/conftest.two
9792	    then
9793	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
9794	      break 3
9795	    fi
9796	  fi
9797	fi
9798      done
9799    done
9800    ;;
9801esac
9802
9803  done
9804IFS=$as_save_IFS
9805
9806rm -rf conftest.one conftest.two conftest.dir
9807
9808fi
9809  if test "${ac_cv_path_install+set}" = set; then
9810    INSTALL=$ac_cv_path_install
9811  else
9812    # As a last resort, use the slow shell script.  Don't cache a
9813    # value for INSTALL within a source directory, because that will
9814    # break other packages using the cache if that directory is
9815    # removed, or if the value is a relative name.
9816    INSTALL=$ac_install_sh
9817  fi
9818fi
9819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
9820$as_echo "$INSTALL" >&6; }
9821
9822# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9823# It thinks the first close brace ends the variable substitution.
9824test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
9825
9826test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
9827
9828test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9829
9830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
9831$as_echo_n "checking whether build environment is sane... " >&6; }
9832# Just in case
9833sleep 1
9834echo timestamp > conftest.file
9835# Reject unsafe characters in $srcdir or the absolute working directory
9836# name.  Accept space and tab only in the latter.
9837am_lf='
9838'
9839case `pwd` in
9840  *[\\\"\#\$\&\'\`$am_lf]*)
9841    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
9842esac
9843case $srcdir in
9844  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
9845    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
9846esac
9847
9848# Do `set' in a subshell so we don't clobber the current shell's
9849# arguments.  Must try -L first in case configure is actually a
9850# symlink; some systems play weird games with the mod time of symlinks
9851# (eg FreeBSD returns the mod time of the symlink's containing
9852# directory).
9853if (
9854   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9855   if test "$*" = "X"; then
9856      # -L didn't work.
9857      set X `ls -t "$srcdir/configure" conftest.file`
9858   fi
9859   rm -f conftest.file
9860   if test "$*" != "X $srcdir/configure conftest.file" \
9861      && test "$*" != "X conftest.file $srcdir/configure"; then
9862
9863      # If neither matched, then we have a broken ls.  This can happen
9864      # if, for instance, CONFIG_SHELL is bash and it inherits a
9865      # broken ls alias from the environment.  This has actually
9866      # happened.  Such a system could not be considered "sane".
9867      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
9868alias in your environment" "$LINENO" 5
9869   fi
9870
9871   test "$2" = conftest.file
9872   )
9873then
9874   # Ok.
9875   :
9876else
9877   as_fn_error "newly created file is older than distributed files!
9878Check your system clock" "$LINENO" 5
9879fi
9880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9881$as_echo "yes" >&6; }
9882test "$program_prefix" != NONE &&
9883  program_transform_name="s&^&$program_prefix&;$program_transform_name"
9884# Use a double $ so make ignores it.
9885test "$program_suffix" != NONE &&
9886  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
9887# Double any \ or $.
9888# By default was `s,x,x', remove it if useless.
9889ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
9890program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
9891
9892# expand $ac_aux_dir to an absolute path
9893am_aux_dir=`cd $ac_aux_dir && pwd`
9894
9895if test x"${MISSING+set}" != xset; then
9896  case $am_aux_dir in
9897  *\ * | *\	*)
9898    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
9899  *)
9900    MISSING="\${SHELL} $am_aux_dir/missing" ;;
9901  esac
9902fi
9903# Use eval to expand $SHELL
9904if eval "$MISSING --run true"; then
9905  am_missing_run="$MISSING --run "
9906else
9907  am_missing_run=
9908  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
9909$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
9910fi
9911
9912if test x"${install_sh}" != xset; then
9913  case $am_aux_dir in
9914  *\ * | *\	*)
9915    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
9916  *)
9917    install_sh="\${SHELL} $am_aux_dir/install-sh"
9918  esac
9919fi
9920
9921# Installed binaries are usually stripped using `strip' when the user
9922# run `make install-strip'.  However `strip' might not be the right
9923# tool to use in cross-compilation environments, therefore Automake
9924# will honor the `STRIP' environment variable to overrule this program.
9925if test "$cross_compiling" != no; then
9926  if test -n "$ac_tool_prefix"; then
9927  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9928set dummy ${ac_tool_prefix}strip; ac_word=$2
9929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9930$as_echo_n "checking for $ac_word... " >&6; }
9931if test "${ac_cv_prog_STRIP+set}" = set; then :
9932  $as_echo_n "(cached) " >&6
9933else
9934  if test -n "$STRIP"; then
9935  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9936else
9937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9938for as_dir in $PATH
9939do
9940  IFS=$as_save_IFS
9941  test -z "$as_dir" && as_dir=.
9942    for ac_exec_ext in '' $ac_executable_extensions; do
9943  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9944    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9945    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9946    break 2
9947  fi
9948done
9949  done
9950IFS=$as_save_IFS
9951
9952fi
9953fi
9954STRIP=$ac_cv_prog_STRIP
9955if test -n "$STRIP"; then
9956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9957$as_echo "$STRIP" >&6; }
9958else
9959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9960$as_echo "no" >&6; }
9961fi
9962
9963
9964fi
9965if test -z "$ac_cv_prog_STRIP"; then
9966  ac_ct_STRIP=$STRIP
9967  # Extract the first word of "strip", so it can be a program name with args.
9968set dummy strip; ac_word=$2
9969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9970$as_echo_n "checking for $ac_word... " >&6; }
9971if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
9972  $as_echo_n "(cached) " >&6
9973else
9974  if test -n "$ac_ct_STRIP"; then
9975  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9976else
9977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9978for as_dir in $PATH
9979do
9980  IFS=$as_save_IFS
9981  test -z "$as_dir" && as_dir=.
9982    for ac_exec_ext in '' $ac_executable_extensions; do
9983  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9984    ac_cv_prog_ac_ct_STRIP="strip"
9985    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9986    break 2
9987  fi
9988done
9989  done
9990IFS=$as_save_IFS
9991
9992fi
9993fi
9994ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9995if test -n "$ac_ct_STRIP"; then
9996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9997$as_echo "$ac_ct_STRIP" >&6; }
9998else
9999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10000$as_echo "no" >&6; }
10001fi
10002
10003  if test "x$ac_ct_STRIP" = x; then
10004    STRIP=":"
10005  else
10006    case $cross_compiling:$ac_tool_warned in
10007yes:)
10008{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10009$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10010ac_tool_warned=yes ;;
10011esac
10012    STRIP=$ac_ct_STRIP
10013  fi
10014else
10015  STRIP="$ac_cv_prog_STRIP"
10016fi
10017
10018fi
10019INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10020
10021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
10022$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
10023if test -z "$MKDIR_P"; then
10024  if test "${ac_cv_path_mkdir+set}" = set; then :
10025  $as_echo_n "(cached) " >&6
10026else
10027  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10028for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
10029do
10030  IFS=$as_save_IFS
10031  test -z "$as_dir" && as_dir=.
10032    for ac_prog in mkdir gmkdir; do
10033	 for ac_exec_ext in '' $ac_executable_extensions; do
10034	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
10035	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
10036	     'mkdir (GNU coreutils) '* | \
10037	     'mkdir (coreutils) '* | \
10038	     'mkdir (fileutils) '4.1*)
10039	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
10040	       break 3;;
10041	   esac
10042	 done
10043       done
10044  done
10045IFS=$as_save_IFS
10046
10047fi
10048
10049  test -d ./--version && rmdir ./--version
10050  if test "${ac_cv_path_mkdir+set}" = set; then
10051    MKDIR_P="$ac_cv_path_mkdir -p"
10052  else
10053    # As a last resort, use the slow shell script.  Don't cache a
10054    # value for MKDIR_P within a source directory, because that will
10055    # break other packages using the cache if that directory is
10056    # removed, or if the value is a relative name.
10057    MKDIR_P="$ac_install_sh -d"
10058  fi
10059fi
10060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
10061$as_echo "$MKDIR_P" >&6; }
10062
10063mkdir_p="$MKDIR_P"
10064case $mkdir_p in
10065  [\\/$]* | ?:[\\/]*) ;;
10066  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
10067esac
10068
10069for ac_prog in gawk mawk nawk awk
10070do
10071  # Extract the first word of "$ac_prog", so it can be a program name with args.
10072set dummy $ac_prog; ac_word=$2
10073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10074$as_echo_n "checking for $ac_word... " >&6; }
10075if test "${ac_cv_prog_AWK+set}" = set; then :
10076  $as_echo_n "(cached) " >&6
10077else
10078  if test -n "$AWK"; then
10079  ac_cv_prog_AWK="$AWK" # Let the user override the test.
10080else
10081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10082for as_dir in $PATH
10083do
10084  IFS=$as_save_IFS
10085  test -z "$as_dir" && as_dir=.
10086    for ac_exec_ext in '' $ac_executable_extensions; do
10087  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10088    ac_cv_prog_AWK="$ac_prog"
10089    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10090    break 2
10091  fi
10092done
10093  done
10094IFS=$as_save_IFS
10095
10096fi
10097fi
10098AWK=$ac_cv_prog_AWK
10099if test -n "$AWK"; then
10100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
10101$as_echo "$AWK" >&6; }
10102else
10103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10104$as_echo "no" >&6; }
10105fi
10106
10107
10108  test -n "$AWK" && break
10109done
10110
10111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
10112$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
10113set x ${MAKE-make}
10114ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
10115if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
10116  $as_echo_n "(cached) " >&6
10117else
10118  cat >conftest.make <<\_ACEOF
10119SHELL = /bin/sh
10120all:
10121	@echo '@@@%%%=$(MAKE)=@@@%%%'
10122_ACEOF
10123# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10124case `${MAKE-make} -f conftest.make 2>/dev/null` in
10125  *@@@%%%=?*=@@@%%%*)
10126    eval ac_cv_prog_make_${ac_make}_set=yes;;
10127  *)
10128    eval ac_cv_prog_make_${ac_make}_set=no;;
10129esac
10130rm -f conftest.make
10131fi
10132if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
10133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10134$as_echo "yes" >&6; }
10135  SET_MAKE=
10136else
10137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10138$as_echo "no" >&6; }
10139  SET_MAKE="MAKE=${MAKE-make}"
10140fi
10141
10142rm -rf .tst 2>/dev/null
10143mkdir .tst 2>/dev/null
10144if test -d .tst; then
10145  am__leading_dot=.
10146else
10147  am__leading_dot=_
10148fi
10149rmdir .tst 2>/dev/null
10150
10151DEPDIR="${am__leading_dot}deps"
10152
10153ac_config_commands="$ac_config_commands depfiles"
10154
10155
10156am_make=${MAKE-make}
10157cat > confinc << 'END'
10158am__doit:
10159	@echo this is the am__doit target
10160.PHONY: am__doit
10161END
10162# If we don't find an include directive, just comment out the code.
10163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
10164$as_echo_n "checking for style of include used by $am_make... " >&6; }
10165am__include="#"
10166am__quote=
10167_am_result=none
10168# First try GNU make style include.
10169echo "include confinc" > confmf
10170# Ignore all kinds of additional output from `make'.
10171case `$am_make -s -f confmf 2> /dev/null` in #(
10172*the\ am__doit\ target*)
10173  am__include=include
10174  am__quote=
10175  _am_result=GNU
10176  ;;
10177esac
10178# Now try BSD make style include.
10179if test "$am__include" = "#"; then
10180   echo '.include "confinc"' > confmf
10181   case `$am_make -s -f confmf 2> /dev/null` in #(
10182   *the\ am__doit\ target*)
10183     am__include=.include
10184     am__quote="\""
10185     _am_result=BSD
10186     ;;
10187   esac
10188fi
10189
10190
10191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
10192$as_echo "$_am_result" >&6; }
10193rm -f confinc confmf
10194
10195# Check whether --enable-dependency-tracking was given.
10196if test "${enable_dependency_tracking+set}" = set; then :
10197  enableval=$enable_dependency_tracking;
10198fi
10199
10200if test "x$enable_dependency_tracking" != xno; then
10201  am_depcomp="$ac_aux_dir/depcomp"
10202  AMDEPBACKSLASH='\'
10203fi
10204 if test "x$enable_dependency_tracking" != xno; then
10205  AMDEP_TRUE=
10206  AMDEP_FALSE='#'
10207else
10208  AMDEP_TRUE='#'
10209  AMDEP_FALSE=
10210fi
10211
10212
10213if test "`cd $srcdir && pwd`" != "`pwd`"; then
10214  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
10215  # is not polluted with repeated "-I."
10216  am__isrc=' -I$(srcdir)'
10217  # test to see if srcdir already configured
10218  if test -f $srcdir/config.status; then
10219    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
10220  fi
10221fi
10222
10223# test whether we have cygpath
10224if test -z "$CYGPATH_W"; then
10225  if (cygpath --version) >/dev/null 2>/dev/null; then
10226    CYGPATH_W='cygpath -w'
10227  else
10228    CYGPATH_W=echo
10229  fi
10230fi
10231
10232
10233# Define the identity of the package.
10234 PACKAGE=gnome-keyring-sharp
10235 VERSION=$VERSION
10236
10237
10238cat >>confdefs.h <<_ACEOF
10239#define PACKAGE "$PACKAGE"
10240_ACEOF
10241
10242
10243cat >>confdefs.h <<_ACEOF
10244#define VERSION "$VERSION"
10245_ACEOF
10246
10247# Some tools Automake needs.
10248
10249ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
10250
10251
10252AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
10253
10254
10255AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
10256
10257
10258AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
10259
10260
10261MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
10262
10263# We need awk for the "check" target.  The system "awk" is bad on
10264# some platforms.
10265# Always define AMTAR for backward compatibility.
10266
10267AMTAR=${AMTAR-"${am_missing_run}tar"}
10268
10269am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
10270
10271
10272
10273
10274depcc="$CC"   am_compiler_list=
10275
10276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
10277$as_echo_n "checking dependency style of $depcc... " >&6; }
10278if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
10279  $as_echo_n "(cached) " >&6
10280else
10281  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10282  # We make a subdir and do the tests there.  Otherwise we can end up
10283  # making bogus files that we don't know about and never remove.  For
10284  # instance it was reported that on HP-UX the gcc test will end up
10285  # making a dummy file named `D' -- because `-MD' means `put the output
10286  # in D'.
10287  mkdir conftest.dir
10288  # Copy depcomp to subdir because otherwise we won't find it if we're
10289  # using a relative directory.
10290  cp "$am_depcomp" conftest.dir
10291  cd conftest.dir
10292  # We will build objects and dependencies in a subdirectory because
10293  # it helps to detect inapplicable dependency modes.  For instance
10294  # both Tru64's cc and ICC support -MD to output dependencies as a
10295  # side effect of compilation, but ICC will put the dependencies in
10296  # the current directory while Tru64 will put them in the object
10297  # directory.
10298  mkdir sub
10299
10300  am_cv_CC_dependencies_compiler_type=none
10301  if test "$am_compiler_list" = ""; then
10302     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10303  fi
10304  am__universal=false
10305  case " $depcc " in #(
10306     *\ -arch\ *\ -arch\ *) am__universal=true ;;
10307     esac
10308
10309  for depmode in $am_compiler_list; do
10310    # Setup a source with many dependencies, because some compilers
10311    # like to wrap large dependency lists on column 80 (with \), and
10312    # we should not choose a depcomp mode which is confused by this.
10313    #
10314    # We need to recreate these files for each test, as the compiler may
10315    # overwrite some of them when testing with obscure command lines.
10316    # This happens at least with the AIX C compiler.
10317    : > sub/conftest.c
10318    for i in 1 2 3 4 5 6; do
10319      echo '#include "conftst'$i'.h"' >> sub/conftest.c
10320      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10321      # Solaris 8's {/usr,}/bin/sh.
10322      touch sub/conftst$i.h
10323    done
10324    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10325
10326    # We check with `-c' and `-o' for the sake of the "dashmstdout"
10327    # mode.  It turns out that the SunPro C++ compiler does not properly
10328    # handle `-M -o', and we need to detect this.  Also, some Intel
10329    # versions had trouble with output in subdirs
10330    am__obj=sub/conftest.${OBJEXT-o}
10331    am__minus_obj="-o $am__obj"
10332    case $depmode in
10333    gcc)
10334      # This depmode causes a compiler race in universal mode.
10335      test "$am__universal" = false || continue
10336      ;;
10337    nosideeffect)
10338      # after this tag, mechanisms are not by side-effect, so they'll
10339      # only be used when explicitly requested
10340      if test "x$enable_dependency_tracking" = xyes; then
10341	continue
10342      else
10343	break
10344      fi
10345      ;;
10346    msvisualcpp | msvcmsys)
10347      # This compiler won't grok `-c -o', but also, the minuso test has
10348      # not run yet.  These depmodes are late enough in the game, and
10349      # so weak that their functioning should not be impacted.
10350      am__obj=conftest.${OBJEXT-o}
10351      am__minus_obj=
10352      ;;
10353    none) break ;;
10354    esac
10355    if depmode=$depmode \
10356       source=sub/conftest.c object=$am__obj \
10357       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10358       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
10359         >/dev/null 2>conftest.err &&
10360       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10361       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10362       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
10363       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10364      # icc doesn't choke on unknown options, it will just issue warnings
10365      # or remarks (even with -Werror).  So we grep stderr for any message
10366      # that says an option was ignored or not supported.
10367      # When given -MP, icc 7.0 and 7.1 complain thusly:
10368      #   icc: Command line warning: ignoring option '-M'; no argument required
10369      # The diagnosis changed in icc 8.0:
10370      #   icc: Command line remark: option '-MP' not supported
10371      if (grep 'ignoring option' conftest.err ||
10372          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10373        am_cv_CC_dependencies_compiler_type=$depmode
10374        break
10375      fi
10376    fi
10377  done
10378
10379  cd ..
10380  rm -rf conftest.dir
10381else
10382  am_cv_CC_dependencies_compiler_type=none
10383fi
10384
10385fi
10386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
10387$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
10388CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
10389
10390 if
10391  test "x$enable_dependency_tracking" != xno \
10392  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
10393  am__fastdepCC_TRUE=
10394  am__fastdepCC_FALSE='#'
10395else
10396  am__fastdepCC_TRUE='#'
10397  am__fastdepCC_FALSE=
10398fi
10399
10400
10401
10402
10403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
10404$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
10405    # Check whether --enable-maintainer-mode was given.
10406if test "${enable_maintainer_mode+set}" = set; then :
10407  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
10408else
10409  USE_MAINTAINER_MODE=no
10410fi
10411
10412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
10413$as_echo "$USE_MAINTAINER_MODE" >&6; }
10414   if test $USE_MAINTAINER_MODE = yes; then
10415  MAINTAINER_MODE_TRUE=
10416  MAINTAINER_MODE_FALSE='#'
10417else
10418  MAINTAINER_MODE_TRUE='#'
10419  MAINTAINER_MODE_FALSE=
10420fi
10421
10422  MAINT=$MAINTAINER_MODE_TRUE
10423
10424
10425
10426
10427
10428# Extract the first word of "csc", so it can be a program name with args.
10429set dummy csc; ac_word=$2
10430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10431$as_echo_n "checking for $ac_word... " >&6; }
10432if test "${ac_cv_path_CSC+set}" = set; then :
10433  $as_echo_n "(cached) " >&6
10434else
10435  case $CSC in
10436  [\\/]* | ?:[\\/]*)
10437  ac_cv_path_CSC="$CSC" # Let the user override the test with a path.
10438  ;;
10439  *)
10440  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10441for as_dir in $PATH
10442do
10443  IFS=$as_save_IFS
10444  test -z "$as_dir" && as_dir=.
10445    for ac_exec_ext in '' $ac_executable_extensions; do
10446  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10447    ac_cv_path_CSC="$as_dir/$ac_word$ac_exec_ext"
10448    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10449    break 2
10450  fi
10451done
10452  done
10453IFS=$as_save_IFS
10454
10455  test -z "$ac_cv_path_CSC" && ac_cv_path_CSC="no"
10456  ;;
10457esac
10458fi
10459CSC=$ac_cv_path_CSC
10460if test -n "$CSC"; then
10461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CSC" >&5
10462$as_echo "$CSC" >&6; }
10463else
10464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10465$as_echo "no" >&6; }
10466fi
10467
10468
10469# Extract the first word of "gmcs", so it can be a program name with args.
10470set dummy gmcs; ac_word=$2
10471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10472$as_echo_n "checking for $ac_word... " >&6; }
10473if test "${ac_cv_path_GMCS+set}" = set; then :
10474  $as_echo_n "(cached) " >&6
10475else
10476  case $GMCS in
10477  [\\/]* | ?:[\\/]*)
10478  ac_cv_path_GMCS="$GMCS" # Let the user override the test with a path.
10479  ;;
10480  *)
10481  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10482for as_dir in $PATH
10483do
10484  IFS=$as_save_IFS
10485  test -z "$as_dir" && as_dir=.
10486    for ac_exec_ext in '' $ac_executable_extensions; do
10487  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10488    ac_cv_path_GMCS="$as_dir/$ac_word$ac_exec_ext"
10489    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10490    break 2
10491  fi
10492done
10493  done
10494IFS=$as_save_IFS
10495
10496  test -z "$ac_cv_path_GMCS" && ac_cv_path_GMCS="no"
10497  ;;
10498esac
10499fi
10500GMCS=$ac_cv_path_GMCS
10501if test -n "$GMCS"; then
10502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMCS" >&5
10503$as_echo "$GMCS" >&6; }
10504else
10505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10506$as_echo "no" >&6; }
10507fi
10508
10509
10510# Extract the first word of "mcs", so it can be a program name with args.
10511set dummy mcs; ac_word=$2
10512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10513$as_echo_n "checking for $ac_word... " >&6; }
10514if test "${ac_cv_path_MCS+set}" = set; then :
10515  $as_echo_n "(cached) " >&6
10516else
10517  case $MCS in
10518  [\\/]* | ?:[\\/]*)
10519  ac_cv_path_MCS="$MCS" # Let the user override the test with a path.
10520  ;;
10521  *)
10522  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10523for as_dir in $PATH
10524do
10525  IFS=$as_save_IFS
10526  test -z "$as_dir" && as_dir=.
10527    for ac_exec_ext in '' $ac_executable_extensions; do
10528  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10529    ac_cv_path_MCS="$as_dir/$ac_word$ac_exec_ext"
10530    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10531    break 2
10532  fi
10533done
10534  done
10535IFS=$as_save_IFS
10536
10537  test -z "$ac_cv_path_MCS" && ac_cv_path_MCS="no"
10538  ;;
10539esac
10540fi
10541MCS=$ac_cv_path_MCS
10542if test -n "$MCS"; then
10543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCS" >&5
10544$as_echo "$MCS" >&6; }
10545else
10546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10547$as_echo "no" >&6; }
10548fi
10549
10550
10551# Extract the first word of "mono", so it can be a program name with args.
10552set dummy mono; ac_word=$2
10553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10554$as_echo_n "checking for $ac_word... " >&6; }
10555if test "${ac_cv_path_RUNTIME+set}" = set; then :
10556  $as_echo_n "(cached) " >&6
10557else
10558  case $RUNTIME in
10559  [\\/]* | ?:[\\/]*)
10560  ac_cv_path_RUNTIME="$RUNTIME" # Let the user override the test with a path.
10561  ;;
10562  *)
10563  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10564for as_dir in $PATH
10565do
10566  IFS=$as_save_IFS
10567  test -z "$as_dir" && as_dir=.
10568    for ac_exec_ext in '' $ac_executable_extensions; do
10569  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10570    ac_cv_path_RUNTIME="$as_dir/$ac_word$ac_exec_ext"
10571    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10572    break 2
10573  fi
10574done
10575  done
10576IFS=$as_save_IFS
10577
10578  test -z "$ac_cv_path_RUNTIME" && ac_cv_path_RUNTIME="no"
10579  ;;
10580esac
10581fi
10582RUNTIME=$ac_cv_path_RUNTIME
10583if test -n "$RUNTIME"; then
10584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTIME" >&5
10585$as_echo "$RUNTIME" >&6; }
10586else
10587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10588$as_echo "no" >&6; }
10589fi
10590
10591
10592CS="C#"
10593
10594if test "x$CSC" = "xno" ; then
10595	if test "x$GMCS" = "xno" ; then
10596		if test "x$MCS" = "xno" ; then
10597			as_fn_error "No $CS compiler found" "$LINENO" 5
10598		else
10599			CSC=$MCS
10600			ENABLE_DBUS="no"
10601		fi
10602	else
10603		CSC=$GMCS
10604	fi
10605fi
10606
10607#
10608# The GAC tool
10609#
10610
10611# Extract the first word of "gacutil", so it can be a program name with args.
10612set dummy gacutil; ac_word=$2
10613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10614$as_echo_n "checking for $ac_word... " >&6; }
10615if test "${ac_cv_path_GACUTIL+set}" = set; then :
10616  $as_echo_n "(cached) " >&6
10617else
10618  case $GACUTIL in
10619  [\\/]* | ?:[\\/]*)
10620  ac_cv_path_GACUTIL="$GACUTIL" # Let the user override the test with a path.
10621  ;;
10622  *)
10623  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10624for as_dir in $PATH
10625do
10626  IFS=$as_save_IFS
10627  test -z "$as_dir" && as_dir=.
10628    for ac_exec_ext in '' $ac_executable_extensions; do
10629  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10630    ac_cv_path_GACUTIL="$as_dir/$ac_word$ac_exec_ext"
10631    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10632    break 2
10633  fi
10634done
10635  done
10636IFS=$as_save_IFS
10637
10638  test -z "$ac_cv_path_GACUTIL" && ac_cv_path_GACUTIL="no"
10639  ;;
10640esac
10641fi
10642GACUTIL=$ac_cv_path_GACUTIL
10643if test -n "$GACUTIL"; then
10644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GACUTIL" >&5
10645$as_echo "$GACUTIL" >&6; }
10646else
10647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10648$as_echo "no" >&6; }
10649fi
10650
10651
10652if test "x$GACUTIL" = "xno" ; then
10653	as_fn_error "No gacutil tool found" "$LINENO" 5
10654fi
10655
10656
10657
10658GACUTIL_FLAGS='/gacdir $(DESTDIR)$(prefix)'
10659
10660
10661
10662
10663
10664if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10665	if test -n "$ac_tool_prefix"; then
10666  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10667set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10669$as_echo_n "checking for $ac_word... " >&6; }
10670if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10671  $as_echo_n "(cached) " >&6
10672else
10673  case $PKG_CONFIG in
10674  [\\/]* | ?:[\\/]*)
10675  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10676  ;;
10677  *)
10678  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10679for as_dir in $PATH
10680do
10681  IFS=$as_save_IFS
10682  test -z "$as_dir" && as_dir=.
10683    for ac_exec_ext in '' $ac_executable_extensions; do
10684  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10685    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10686    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10687    break 2
10688  fi
10689done
10690  done
10691IFS=$as_save_IFS
10692
10693  ;;
10694esac
10695fi
10696PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10697if test -n "$PKG_CONFIG"; then
10698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10699$as_echo "$PKG_CONFIG" >&6; }
10700else
10701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10702$as_echo "no" >&6; }
10703fi
10704
10705
10706fi
10707if test -z "$ac_cv_path_PKG_CONFIG"; then
10708  ac_pt_PKG_CONFIG=$PKG_CONFIG
10709  # Extract the first word of "pkg-config", so it can be a program name with args.
10710set dummy pkg-config; ac_word=$2
10711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10712$as_echo_n "checking for $ac_word... " >&6; }
10713if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10714  $as_echo_n "(cached) " >&6
10715else
10716  case $ac_pt_PKG_CONFIG in
10717  [\\/]* | ?:[\\/]*)
10718  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10719  ;;
10720  *)
10721  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10722for as_dir in $PATH
10723do
10724  IFS=$as_save_IFS
10725  test -z "$as_dir" && as_dir=.
10726    for ac_exec_ext in '' $ac_executable_extensions; do
10727  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10728    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10729    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10730    break 2
10731  fi
10732done
10733  done
10734IFS=$as_save_IFS
10735
10736  ;;
10737esac
10738fi
10739ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10740if test -n "$ac_pt_PKG_CONFIG"; then
10741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10742$as_echo "$ac_pt_PKG_CONFIG" >&6; }
10743else
10744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10745$as_echo "no" >&6; }
10746fi
10747
10748  if test "x$ac_pt_PKG_CONFIG" = x; then
10749    PKG_CONFIG=""
10750  else
10751    case $cross_compiling:$ac_tool_warned in
10752yes:)
10753{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10754$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10755ac_tool_warned=yes ;;
10756esac
10757    PKG_CONFIG=$ac_pt_PKG_CONFIG
10758  fi
10759else
10760  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10761fi
10762
10763fi
10764if test -n "$PKG_CONFIG"; then
10765	_pkg_min_version=0.9.0
10766	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10767$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10768	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10769		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10770$as_echo "yes" >&6; }
10771	else
10772		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10773$as_echo "no" >&6; }
10774		PKG_CONFIG=""
10775	fi
10776
10777fi
10778
10779pkg_failed=no
10780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB_SHARP" >&5
10781$as_echo_n "checking for GLIB_SHARP... " >&6; }
10782
10783if test -n "$PKG_CONFIG"; then
10784    if test -n "$GLIB_SHARP_CFLAGS"; then
10785        pkg_cv_GLIB_SHARP_CFLAGS="$GLIB_SHARP_CFLAGS"
10786    else
10787        if test -n "$PKG_CONFIG" && \
10788    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-sharp-2.0\""; } >&5
10789  ($PKG_CONFIG --exists --print-errors "glib-sharp-2.0") 2>&5
10790  ac_status=$?
10791  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10792  test $ac_status = 0; }; then
10793  pkg_cv_GLIB_SHARP_CFLAGS=`$PKG_CONFIG --cflags "glib-sharp-2.0" 2>/dev/null`
10794else
10795  pkg_failed=yes
10796fi
10797    fi
10798else
10799	pkg_failed=untried
10800fi
10801if test -n "$PKG_CONFIG"; then
10802    if test -n "$GLIB_SHARP_LIBS"; then
10803        pkg_cv_GLIB_SHARP_LIBS="$GLIB_SHARP_LIBS"
10804    else
10805        if test -n "$PKG_CONFIG" && \
10806    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-sharp-2.0\""; } >&5
10807  ($PKG_CONFIG --exists --print-errors "glib-sharp-2.0") 2>&5
10808  ac_status=$?
10809  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10810  test $ac_status = 0; }; then
10811  pkg_cv_GLIB_SHARP_LIBS=`$PKG_CONFIG --libs "glib-sharp-2.0" 2>/dev/null`
10812else
10813  pkg_failed=yes
10814fi
10815    fi
10816else
10817	pkg_failed=untried
10818fi
10819
10820
10821
10822if test $pkg_failed = yes; then
10823
10824if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10825        _pkg_short_errors_supported=yes
10826else
10827        _pkg_short_errors_supported=no
10828fi
10829        if test $_pkg_short_errors_supported = yes; then
10830	        GLIB_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-sharp-2.0"`
10831        else
10832	        GLIB_SHARP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-sharp-2.0"`
10833        fi
10834	# Put the nasty error message in config.log where it belongs
10835	echo "$GLIB_SHARP_PKG_ERRORS" >&5
10836
10837	as_fn_error "Package requirements (glib-sharp-2.0) were not met:
10838
10839$GLIB_SHARP_PKG_ERRORS
10840
10841Consider adjusting the PKG_CONFIG_PATH environment variable if you
10842installed software in a non-standard prefix.
10843
10844Alternatively, you may set the environment variables GLIB_SHARP_CFLAGS
10845and GLIB_SHARP_LIBS to avoid the need to call pkg-config.
10846See the pkg-config man page for more details.
10847" "$LINENO" 5
10848elif test $pkg_failed = untried; then
10849	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10850$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10851as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
10852is in your PATH or set the PKG_CONFIG environment variable to the full
10853path to pkg-config.
10854
10855Alternatively, you may set the environment variables GLIB_SHARP_CFLAGS
10856and GLIB_SHARP_LIBS to avoid the need to call pkg-config.
10857See the pkg-config man page for more details.
10858
10859To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10860See \`config.log' for more details." "$LINENO" 5; }
10861else
10862	GLIB_SHARP_CFLAGS=$pkg_cv_GLIB_SHARP_CFLAGS
10863	GLIB_SHARP_LIBS=$pkg_cv_GLIB_SHARP_LIBS
10864        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10865$as_echo "yes" >&6; }
10866	:
10867fi
10868
10869pkg_failed=no
10870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_KEYRING" >&5
10871$as_echo_n "checking for GNOME_KEYRING... " >&6; }
10872
10873if test -n "$PKG_CONFIG"; then
10874    if test -n "$GNOME_KEYRING_CFLAGS"; then
10875        pkg_cv_GNOME_KEYRING_CFLAGS="$GNOME_KEYRING_CFLAGS"
10876    else
10877        if test -n "$PKG_CONFIG" && \
10878    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\""; } >&5
10879  ($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
10880  ac_status=$?
10881  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10882  test $ac_status = 0; }; then
10883  pkg_cv_GNOME_KEYRING_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1" 2>/dev/null`
10884else
10885  pkg_failed=yes
10886fi
10887    fi
10888else
10889	pkg_failed=untried
10890fi
10891if test -n "$PKG_CONFIG"; then
10892    if test -n "$GNOME_KEYRING_LIBS"; then
10893        pkg_cv_GNOME_KEYRING_LIBS="$GNOME_KEYRING_LIBS"
10894    else
10895        if test -n "$PKG_CONFIG" && \
10896    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\""; } >&5
10897  ($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
10898  ac_status=$?
10899  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10900  test $ac_status = 0; }; then
10901  pkg_cv_GNOME_KEYRING_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1" 2>/dev/null`
10902else
10903  pkg_failed=yes
10904fi
10905    fi
10906else
10907	pkg_failed=untried
10908fi
10909
10910
10911
10912if test $pkg_failed = yes; then
10913
10914if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10915        _pkg_short_errors_supported=yes
10916else
10917        _pkg_short_errors_supported=no
10918fi
10919        if test $_pkg_short_errors_supported = yes; then
10920	        GNOME_KEYRING_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-keyring-1"`
10921        else
10922	        GNOME_KEYRING_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-keyring-1"`
10923        fi
10924	# Put the nasty error message in config.log where it belongs
10925	echo "$GNOME_KEYRING_PKG_ERRORS" >&5
10926
10927	as_fn_error "Package requirements (gnome-keyring-1) were not met:
10928
10929$GNOME_KEYRING_PKG_ERRORS
10930
10931Consider adjusting the PKG_CONFIG_PATH environment variable if you
10932installed software in a non-standard prefix.
10933
10934Alternatively, you may set the environment variables GNOME_KEYRING_CFLAGS
10935and GNOME_KEYRING_LIBS to avoid the need to call pkg-config.
10936See the pkg-config man page for more details.
10937" "$LINENO" 5
10938elif test $pkg_failed = untried; then
10939	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10940$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10941as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
10942is in your PATH or set the PKG_CONFIG environment variable to the full
10943path to pkg-config.
10944
10945Alternatively, you may set the environment variables GNOME_KEYRING_CFLAGS
10946and GNOME_KEYRING_LIBS to avoid the need to call pkg-config.
10947See the pkg-config man page for more details.
10948
10949To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10950See \`config.log' for more details." "$LINENO" 5; }
10951else
10952	GNOME_KEYRING_CFLAGS=$pkg_cv_GNOME_KEYRING_CFLAGS
10953	GNOME_KEYRING_LIBS=$pkg_cv_GNOME_KEYRING_LIBS
10954        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10955$as_echo "yes" >&6; }
10956	:
10957fi
10958
10959
10960
10961
10962
10963
10964# Check whether --enable-monodoc was given.
10965if test "${enable_monodoc+set}" = set; then :
10966  enableval=$enable_monodoc; ENABLE_MONODOC="$enableval"
10967fi
10968
10969
10970if test "x$ENABLE_MONODOC" != "xno" ; then
10971	# Extract the first word of "mdassembler", so it can be a program name with args.
10972set dummy mdassembler; ac_word=$2
10973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10974$as_echo_n "checking for $ac_word... " >&6; }
10975if test "${ac_cv_path_MDASSEMBLER+set}" = set; then :
10976  $as_echo_n "(cached) " >&6
10977else
10978  case $MDASSEMBLER in
10979  [\\/]* | ?:[\\/]*)
10980  ac_cv_path_MDASSEMBLER="$MDASSEMBLER" # Let the user override the test with a path.
10981  ;;
10982  *)
10983  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10984for as_dir in $PATH
10985do
10986  IFS=$as_save_IFS
10987  test -z "$as_dir" && as_dir=.
10988    for ac_exec_ext in '' $ac_executable_extensions; do
10989  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10990    ac_cv_path_MDASSEMBLER="$as_dir/$ac_word$ac_exec_ext"
10991    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10992    break 2
10993  fi
10994done
10995  done
10996IFS=$as_save_IFS
10997
10998  test -z "$ac_cv_path_MDASSEMBLER" && ac_cv_path_MDASSEMBLER="no"
10999  ;;
11000esac
11001fi
11002MDASSEMBLER=$ac_cv_path_MDASSEMBLER
11003if test -n "$MDASSEMBLER"; then
11004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MDASSEMBLER" >&5
11005$as_echo "$MDASSEMBLER" >&6; }
11006else
11007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11008$as_echo "no" >&6; }
11009fi
11010
11011
11012	# Extract the first word of "monodocer", so it can be a program name with args.
11013set dummy monodocer; ac_word=$2
11014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11015$as_echo_n "checking for $ac_word... " >&6; }
11016if test "${ac_cv_path_MONODOCER+set}" = set; then :
11017  $as_echo_n "(cached) " >&6
11018else
11019  case $MONODOCER in
11020  [\\/]* | ?:[\\/]*)
11021  ac_cv_path_MONODOCER="$MONODOCER" # Let the user override the test with a path.
11022  ;;
11023  *)
11024  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11025for as_dir in $PATH
11026do
11027  IFS=$as_save_IFS
11028  test -z "$as_dir" && as_dir=.
11029    for ac_exec_ext in '' $ac_executable_extensions; do
11030  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11031    ac_cv_path_MONODOCER="$as_dir/$ac_word$ac_exec_ext"
11032    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11033    break 2
11034  fi
11035done
11036  done
11037IFS=$as_save_IFS
11038
11039  test -z "$ac_cv_path_MONODOCER" && ac_cv_path_MONODOCER="no"
11040  ;;
11041esac
11042fi
11043MONODOCER=$ac_cv_path_MONODOCER
11044if test -n "$MONODOCER"; then
11045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MONODOCER" >&5
11046$as_echo "$MONODOCER" >&6; }
11047else
11048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11049$as_echo "no" >&6; }
11050fi
11051
11052
11053
11054	if test "x$MONODOCER" = "xno" -o "x$MDASSEMBLER" = "xno"; then
11055		if test "x$ENABLE_MONODOC" = "xyes" ; then
11056			as_fn_error "monodoc can't be installed even though it was explicitly enabled. mdassembler or monodocer not found." "$LINENO" 5
11057		else
11058			enable_monodoc=no
11059			doc_sources_dir=
11060		fi
11061	else
11062		enable_monodoc=yes
11063		doc_sources_dir="`pkg-config --variable=sourcesdir monodoc`"
11064	fi
11065fi
11066
11067 if test "x$enable_monodoc" = "xyes"; then
11068  ENABLE_MONODOC_TRUE=
11069  ENABLE_MONODOC_FALSE='#'
11070else
11071  ENABLE_MONODOC_TRUE='#'
11072  ENABLE_MONODOC_FALSE=
11073fi
11074
11075
11076
11077
11078
11079ac_config_files="$ac_config_files Makefile src/Makefile src/gnome-keyring-sharp-1.0.pc src/Gnome.Keyring/Makefile src/Gnome.Keyring/AssemblyInfo.cs gnome-keyring-sharp-glue/Makefile docs/Makefile sample/Makefile"
11080
11081cat >confcache <<\_ACEOF
11082# This file is a shell script that caches the results of configure
11083# tests run on this system so they can be shared between configure
11084# scripts and configure runs, see configure's option --config-cache.
11085# It is not useful on other systems.  If it contains results you don't
11086# want to keep, you may remove or edit it.
11087#
11088# config.status only pays attention to the cache file if you give it
11089# the --recheck option to rerun configure.
11090#
11091# `ac_cv_env_foo' variables (set or unset) will be overridden when
11092# loading this file, other *unset* `ac_cv_foo' will be assigned the
11093# following values.
11094
11095_ACEOF
11096
11097# The following way of writing the cache mishandles newlines in values,
11098# but we know of no workaround that is simple, portable, and efficient.
11099# So, we kill variables containing newlines.
11100# Ultrix sh set writes to stderr and can't be redirected directly,
11101# and sets the high bit in the cache file unless we assign to the vars.
11102(
11103  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11104    eval ac_val=\$$ac_var
11105    case $ac_val in #(
11106    *${as_nl}*)
11107      case $ac_var in #(
11108      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11109$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11110      esac
11111      case $ac_var in #(
11112      _ | IFS | as_nl) ;; #(
11113      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11114      *) { eval $ac_var=; unset $ac_var;} ;;
11115      esac ;;
11116    esac
11117  done
11118
11119  (set) 2>&1 |
11120    case $as_nl`(ac_space=' '; set) 2>&1` in #(
11121    *${as_nl}ac_space=\ *)
11122      # `set' does not quote correctly, so add quotes: double-quote
11123      # substitution turns \\\\ into \\, and sed turns \\ into \.
11124      sed -n \
11125	"s/'/'\\\\''/g;
11126	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11127      ;; #(
11128    *)
11129      # `set' quotes correctly as required by POSIX, so do not add quotes.
11130      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11131      ;;
11132    esac |
11133    sort
11134) |
11135  sed '
11136     /^ac_cv_env_/b end
11137     t clear
11138     :clear
11139     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11140     t end
11141     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11142     :end' >>confcache
11143if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11144  if test -w "$cache_file"; then
11145    test "x$cache_file" != "x/dev/null" &&
11146      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11147$as_echo "$as_me: updating cache $cache_file" >&6;}
11148    cat confcache >$cache_file
11149  else
11150    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11151$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11152  fi
11153fi
11154rm -f confcache
11155
11156test "x$prefix" = xNONE && prefix=$ac_default_prefix
11157# Let make expand exec_prefix.
11158test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11159
11160# Transform confdefs.h into DEFS.
11161# Protect against shell expansion while executing Makefile rules.
11162# Protect against Makefile macro expansion.
11163#
11164# If the first sed substitution is executed (which looks for macros that
11165# take arguments), then branch to the quote section.  Otherwise,
11166# look for a macro that doesn't take arguments.
11167ac_script='
11168:mline
11169/\\$/{
11170 N
11171 s,\\\n,,
11172 b mline
11173}
11174t clear
11175:clear
11176s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
11177t quote
11178s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
11179t quote
11180b any
11181:quote
11182s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11183s/\[/\\&/g
11184s/\]/\\&/g
11185s/\$/$$/g
11186H
11187:any
11188${
11189	g
11190	s/^\n//
11191	s/\n/ /g
11192	p
11193}
11194'
11195DEFS=`sed -n "$ac_script" confdefs.h`
11196
11197
11198ac_libobjs=
11199ac_ltlibobjs=
11200for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11201  # 1. Remove the extension, and $U if already installed.
11202  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11203  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11204  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11205  #    will be set to the directory where LIBOBJS objects are built.
11206  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11207  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11208done
11209LIBOBJS=$ac_libobjs
11210
11211LTLIBOBJS=$ac_ltlibobjs
11212
11213
11214if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11215  as_fn_error "conditional \"AMDEP\" was never defined.
11216Usually this means the macro was only invoked conditionally." "$LINENO" 5
11217fi
11218if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11219  as_fn_error "conditional \"am__fastdepCC\" was never defined.
11220Usually this means the macro was only invoked conditionally." "$LINENO" 5
11221fi
11222 if test -n "$EXEEXT"; then
11223  am__EXEEXT_TRUE=
11224  am__EXEEXT_FALSE='#'
11225else
11226  am__EXEEXT_TRUE='#'
11227  am__EXEEXT_FALSE=
11228fi
11229
11230if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11231  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
11232Usually this means the macro was only invoked conditionally." "$LINENO" 5
11233fi
11234if test -z "${ENABLE_MONODOC_TRUE}" && test -z "${ENABLE_MONODOC_FALSE}"; then
11235  as_fn_error "conditional \"ENABLE_MONODOC\" was never defined.
11236Usually this means the macro was only invoked conditionally." "$LINENO" 5
11237fi
11238
11239: ${CONFIG_STATUS=./config.status}
11240ac_write_fail=0
11241ac_clean_files_save=$ac_clean_files
11242ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11243{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11244$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11245as_write_fail=0
11246cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11247#! $SHELL
11248# Generated by $as_me.
11249# Run this file to recreate the current configuration.
11250# Compiler output produced by configure, useful for debugging
11251# configure, is in config.log if it exists.
11252
11253debug=false
11254ac_cs_recheck=false
11255ac_cs_silent=false
11256
11257SHELL=\${CONFIG_SHELL-$SHELL}
11258export SHELL
11259_ASEOF
11260cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11261## -------------------- ##
11262## M4sh Initialization. ##
11263## -------------------- ##
11264
11265# Be more Bourne compatible
11266DUALCASE=1; export DUALCASE # for MKS sh
11267if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11268  emulate sh
11269  NULLCMD=:
11270  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11271  # is contrary to our usage.  Disable this feature.
11272  alias -g '${1+"$@"}'='"$@"'
11273  setopt NO_GLOB_SUBST
11274else
11275  case `(set -o) 2>/dev/null` in #(
11276  *posix*) :
11277    set -o posix ;; #(
11278  *) :
11279     ;;
11280esac
11281fi
11282
11283
11284as_nl='
11285'
11286export as_nl
11287# Printing a long string crashes Solaris 7 /usr/bin/printf.
11288as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11289as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11290as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11291# Prefer a ksh shell builtin over an external printf program on Solaris,
11292# but without wasting forks for bash or zsh.
11293if test -z "$BASH_VERSION$ZSH_VERSION" \
11294    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11295  as_echo='print -r --'
11296  as_echo_n='print -rn --'
11297elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11298  as_echo='printf %s\n'
11299  as_echo_n='printf %s'
11300else
11301  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11302    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11303    as_echo_n='/usr/ucb/echo -n'
11304  else
11305    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11306    as_echo_n_body='eval
11307      arg=$1;
11308      case $arg in #(
11309      *"$as_nl"*)
11310	expr "X$arg" : "X\\(.*\\)$as_nl";
11311	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11312      esac;
11313      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11314    '
11315    export as_echo_n_body
11316    as_echo_n='sh -c $as_echo_n_body as_echo'
11317  fi
11318  export as_echo_body
11319  as_echo='sh -c $as_echo_body as_echo'
11320fi
11321
11322# The user is always right.
11323if test "${PATH_SEPARATOR+set}" != set; then
11324  PATH_SEPARATOR=:
11325  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11326    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11327      PATH_SEPARATOR=';'
11328  }
11329fi
11330
11331
11332# IFS
11333# We need space, tab and new line, in precisely that order.  Quoting is
11334# there to prevent editors from complaining about space-tab.
11335# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11336# splitting by setting IFS to empty value.)
11337IFS=" ""	$as_nl"
11338
11339# Find who we are.  Look in the path if we contain no directory separator.
11340case $0 in #((
11341  *[\\/]* ) as_myself=$0 ;;
11342  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11343for as_dir in $PATH
11344do
11345  IFS=$as_save_IFS
11346  test -z "$as_dir" && as_dir=.
11347    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11348  done
11349IFS=$as_save_IFS
11350
11351     ;;
11352esac
11353# We did not find ourselves, most probably we were run as `sh COMMAND'
11354# in which case we are not to be found in the path.
11355if test "x$as_myself" = x; then
11356  as_myself=$0
11357fi
11358if test ! -f "$as_myself"; then
11359  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11360  exit 1
11361fi
11362
11363# Unset variables that we do not need and which cause bugs (e.g. in
11364# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
11365# suppresses any "Segmentation fault" message there.  '((' could
11366# trigger a bug in pdksh 5.2.14.
11367for as_var in BASH_ENV ENV MAIL MAILPATH
11368do eval test x\${$as_var+set} = xset \
11369  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11370done
11371PS1='$ '
11372PS2='> '
11373PS4='+ '
11374
11375# NLS nuisances.
11376LC_ALL=C
11377export LC_ALL
11378LANGUAGE=C
11379export LANGUAGE
11380
11381# CDPATH.
11382(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11383
11384
11385# as_fn_error ERROR [LINENO LOG_FD]
11386# ---------------------------------
11387# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11388# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11389# script with status $?, using 1 if that was 0.
11390as_fn_error ()
11391{
11392  as_status=$?; test $as_status -eq 0 && as_status=1
11393  if test "$3"; then
11394    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11395    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11396  fi
11397  $as_echo "$as_me: error: $1" >&2
11398  as_fn_exit $as_status
11399} # as_fn_error
11400
11401
11402# as_fn_set_status STATUS
11403# -----------------------
11404# Set $? to STATUS, without forking.
11405as_fn_set_status ()
11406{
11407  return $1
11408} # as_fn_set_status
11409
11410# as_fn_exit STATUS
11411# -----------------
11412# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11413as_fn_exit ()
11414{
11415  set +e
11416  as_fn_set_status $1
11417  exit $1
11418} # as_fn_exit
11419
11420# as_fn_unset VAR
11421# ---------------
11422# Portably unset VAR.
11423as_fn_unset ()
11424{
11425  { eval $1=; unset $1;}
11426}
11427as_unset=as_fn_unset
11428# as_fn_append VAR VALUE
11429# ----------------------
11430# Append the text in VALUE to the end of the definition contained in VAR. Take
11431# advantage of any shell optimizations that allow amortized linear growth over
11432# repeated appends, instead of the typical quadratic growth present in naive
11433# implementations.
11434if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11435  eval 'as_fn_append ()
11436  {
11437    eval $1+=\$2
11438  }'
11439else
11440  as_fn_append ()
11441  {
11442    eval $1=\$$1\$2
11443  }
11444fi # as_fn_append
11445
11446# as_fn_arith ARG...
11447# ------------------
11448# Perform arithmetic evaluation on the ARGs, and store the result in the
11449# global $as_val. Take advantage of shells that can avoid forks. The arguments
11450# must be portable across $(()) and expr.
11451if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11452  eval 'as_fn_arith ()
11453  {
11454    as_val=$(( $* ))
11455  }'
11456else
11457  as_fn_arith ()
11458  {
11459    as_val=`expr "$@" || test $? -eq 1`
11460  }
11461fi # as_fn_arith
11462
11463
11464if expr a : '\(a\)' >/dev/null 2>&1 &&
11465   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11466  as_expr=expr
11467else
11468  as_expr=false
11469fi
11470
11471if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11472  as_basename=basename
11473else
11474  as_basename=false
11475fi
11476
11477if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11478  as_dirname=dirname
11479else
11480  as_dirname=false
11481fi
11482
11483as_me=`$as_basename -- "$0" ||
11484$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11485	 X"$0" : 'X\(//\)$' \| \
11486	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11487$as_echo X/"$0" |
11488    sed '/^.*\/\([^/][^/]*\)\/*$/{
11489	    s//\1/
11490	    q
11491	  }
11492	  /^X\/\(\/\/\)$/{
11493	    s//\1/
11494	    q
11495	  }
11496	  /^X\/\(\/\).*/{
11497	    s//\1/
11498	    q
11499	  }
11500	  s/.*/./; q'`
11501
11502# Avoid depending upon Character Ranges.
11503as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11504as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11505as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11506as_cr_digits='0123456789'
11507as_cr_alnum=$as_cr_Letters$as_cr_digits
11508
11509ECHO_C= ECHO_N= ECHO_T=
11510case `echo -n x` in #(((((
11511-n*)
11512  case `echo 'xy\c'` in
11513  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
11514  xy)  ECHO_C='\c';;
11515  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
11516       ECHO_T='	';;
11517  esac;;
11518*)
11519  ECHO_N='-n';;
11520esac
11521
11522rm -f conf$$ conf$$.exe conf$$.file
11523if test -d conf$$.dir; then
11524  rm -f conf$$.dir/conf$$.file
11525else
11526  rm -f conf$$.dir
11527  mkdir conf$$.dir 2>/dev/null
11528fi
11529if (echo >conf$$.file) 2>/dev/null; then
11530  if ln -s conf$$.file conf$$ 2>/dev/null; then
11531    as_ln_s='ln -s'
11532    # ... but there are two gotchas:
11533    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11534    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11535    # In both cases, we have to default to `cp -p'.
11536    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11537      as_ln_s='cp -p'
11538  elif ln conf$$.file conf$$ 2>/dev/null; then
11539    as_ln_s=ln
11540  else
11541    as_ln_s='cp -p'
11542  fi
11543else
11544  as_ln_s='cp -p'
11545fi
11546rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11547rmdir conf$$.dir 2>/dev/null
11548
11549
11550# as_fn_mkdir_p
11551# -------------
11552# Create "$as_dir" as a directory, including parents if necessary.
11553as_fn_mkdir_p ()
11554{
11555
11556  case $as_dir in #(
11557  -*) as_dir=./$as_dir;;
11558  esac
11559  test -d "$as_dir" || eval $as_mkdir_p || {
11560    as_dirs=
11561    while :; do
11562      case $as_dir in #(
11563      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11564      *) as_qdir=$as_dir;;
11565      esac
11566      as_dirs="'$as_qdir' $as_dirs"
11567      as_dir=`$as_dirname -- "$as_dir" ||
11568$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11569	 X"$as_dir" : 'X\(//\)[^/]' \| \
11570	 X"$as_dir" : 'X\(//\)$' \| \
11571	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11572$as_echo X"$as_dir" |
11573    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11574	    s//\1/
11575	    q
11576	  }
11577	  /^X\(\/\/\)[^/].*/{
11578	    s//\1/
11579	    q
11580	  }
11581	  /^X\(\/\/\)$/{
11582	    s//\1/
11583	    q
11584	  }
11585	  /^X\(\/\).*/{
11586	    s//\1/
11587	    q
11588	  }
11589	  s/.*/./; q'`
11590      test -d "$as_dir" && break
11591    done
11592    test -z "$as_dirs" || eval "mkdir $as_dirs"
11593  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
11594
11595
11596} # as_fn_mkdir_p
11597if mkdir -p . 2>/dev/null; then
11598  as_mkdir_p='mkdir -p "$as_dir"'
11599else
11600  test -d ./-p && rmdir ./-p
11601  as_mkdir_p=false
11602fi
11603
11604if test -x / >/dev/null 2>&1; then
11605  as_test_x='test -x'
11606else
11607  if ls -dL / >/dev/null 2>&1; then
11608    as_ls_L_option=L
11609  else
11610    as_ls_L_option=
11611  fi
11612  as_test_x='
11613    eval sh -c '\''
11614      if test -d "$1"; then
11615	test -d "$1/.";
11616      else
11617	case $1 in #(
11618	-*)set "./$1";;
11619	esac;
11620	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11621	???[sx]*):;;*)false;;esac;fi
11622    '\'' sh
11623  '
11624fi
11625as_executable_p=$as_test_x
11626
11627# Sed expression to map a string onto a valid CPP name.
11628as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11629
11630# Sed expression to map a string onto a valid variable name.
11631as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11632
11633
11634exec 6>&1
11635## ----------------------------------- ##
11636## Main body of $CONFIG_STATUS script. ##
11637## ----------------------------------- ##
11638_ASEOF
11639test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11640
11641cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11642# Save the log message, to keep $0 and so on meaningful, and to
11643# report actual input values of CONFIG_FILES etc. instead of their
11644# values after options handling.
11645ac_log="
11646This file was extended by $as_me, which was
11647generated by GNU Autoconf 2.65.  Invocation command line was
11648
11649  CONFIG_FILES    = $CONFIG_FILES
11650  CONFIG_HEADERS  = $CONFIG_HEADERS
11651  CONFIG_LINKS    = $CONFIG_LINKS
11652  CONFIG_COMMANDS = $CONFIG_COMMANDS
11653  $ $0 $@
11654
11655on `(hostname || uname -n) 2>/dev/null | sed 1q`
11656"
11657
11658_ACEOF
11659
11660case $ac_config_files in *"
11661"*) set x $ac_config_files; shift; ac_config_files=$*;;
11662esac
11663
11664
11665
11666cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11667# Files that config.status was made for.
11668config_files="$ac_config_files"
11669config_commands="$ac_config_commands"
11670
11671_ACEOF
11672
11673cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11674ac_cs_usage="\
11675\`$as_me' instantiates files and other configuration actions
11676from templates according to the current configuration.  Unless the files
11677and actions are specified as TAGs, all are instantiated by default.
11678
11679Usage: $0 [OPTION]... [TAG]...
11680
11681  -h, --help       print this help, then exit
11682  -V, --version    print version number and configuration settings, then exit
11683      --config     print configuration, then exit
11684  -q, --quiet, --silent
11685                   do not print progress messages
11686  -d, --debug      don't remove temporary files
11687      --recheck    update $as_me by reconfiguring in the same conditions
11688      --file=FILE[:TEMPLATE]
11689                   instantiate the configuration file FILE
11690
11691Configuration files:
11692$config_files
11693
11694Configuration commands:
11695$config_commands
11696
11697Report bugs to the package provider."
11698
11699_ACEOF
11700cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11701ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11702ac_cs_version="\\
11703config.status
11704configured by $0, generated by GNU Autoconf 2.65,
11705  with options \\"\$ac_cs_config\\"
11706
11707Copyright (C) 2009 Free Software Foundation, Inc.
11708This config.status script is free software; the Free Software Foundation
11709gives unlimited permission to copy, distribute and modify it."
11710
11711ac_pwd='$ac_pwd'
11712srcdir='$srcdir'
11713INSTALL='$INSTALL'
11714MKDIR_P='$MKDIR_P'
11715AWK='$AWK'
11716test -n "\$AWK" || AWK=awk
11717_ACEOF
11718
11719cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11720# The default lists apply if the user does not specify any file.
11721ac_need_defaults=:
11722while test $# != 0
11723do
11724  case $1 in
11725  --*=*)
11726    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11727    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11728    ac_shift=:
11729    ;;
11730  *)
11731    ac_option=$1
11732    ac_optarg=$2
11733    ac_shift=shift
11734    ;;
11735  esac
11736
11737  case $ac_option in
11738  # Handling of the options.
11739  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11740    ac_cs_recheck=: ;;
11741  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11742    $as_echo "$ac_cs_version"; exit ;;
11743  --config | --confi | --conf | --con | --co | --c )
11744    $as_echo "$ac_cs_config"; exit ;;
11745  --debug | --debu | --deb | --de | --d | -d )
11746    debug=: ;;
11747  --file | --fil | --fi | --f )
11748    $ac_shift
11749    case $ac_optarg in
11750    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11751    esac
11752    as_fn_append CONFIG_FILES " '$ac_optarg'"
11753    ac_need_defaults=false;;
11754  --he | --h |  --help | --hel | -h )
11755    $as_echo "$ac_cs_usage"; exit ;;
11756  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11757  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11758    ac_cs_silent=: ;;
11759
11760  # This is an error.
11761  -*) as_fn_error "unrecognized option: \`$1'
11762Try \`$0 --help' for more information." ;;
11763
11764  *) as_fn_append ac_config_targets " $1"
11765     ac_need_defaults=false ;;
11766
11767  esac
11768  shift
11769done
11770
11771ac_configure_extra_args=
11772
11773if $ac_cs_silent; then
11774  exec 6>/dev/null
11775  ac_configure_extra_args="$ac_configure_extra_args --silent"
11776fi
11777
11778_ACEOF
11779cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11780if \$ac_cs_recheck; then
11781  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11782  shift
11783  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11784  CONFIG_SHELL='$SHELL'
11785  export CONFIG_SHELL
11786  exec "\$@"
11787fi
11788
11789_ACEOF
11790cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11791exec 5>>config.log
11792{
11793  echo
11794  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11795## Running $as_me. ##
11796_ASBOX
11797  $as_echo "$ac_log"
11798} >&5
11799
11800_ACEOF
11801cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11802#
11803# INIT-COMMANDS
11804#
11805
11806
11807# The HP-UX ksh and POSIX shell print the target directory to stdout
11808# if CDPATH is set.
11809(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11810
11811sed_quote_subst='$sed_quote_subst'
11812double_quote_subst='$double_quote_subst'
11813delay_variable_subst='$delay_variable_subst'
11814macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11815macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11816enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11817enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11818pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11819enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11820host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11821host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11822host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11823build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11824build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11825build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11826SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11827Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11828GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11829EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11830FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11831LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11832NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11833LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11834max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11835ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11836exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11837lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11838lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11839lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11840reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11841reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11842OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11843deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11844file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11845AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11846AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11847STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11848RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11849old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11850old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11851old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11852CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11853CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11854compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11855GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11856lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11857lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11858lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
11859lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11860objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11861SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11862ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11863MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11864lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11865lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11866lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11867lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11868lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11869need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11870DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11871NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11872LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11873OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11874OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11875libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11876shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11877extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11878archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11879enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11880export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11881whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11882compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11883old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11884old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11885archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11886archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11887module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11888module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11889with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11890allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11891no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11892hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11893hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11894hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11895hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11896hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11897hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11898hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11899hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11900inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11901link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11902fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11903always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11904export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11905exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11906include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11907prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11908file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11909variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11910need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11911need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11912version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11913runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11914shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11915shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11916libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11917library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11918soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11919postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11920postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11921finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11922finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11923hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11924sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11925sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11926hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11927enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11928enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11929enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11930old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11931striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11932
11933LTCC='$LTCC'
11934LTCFLAGS='$LTCFLAGS'
11935compiler='$compiler_DEFAULT'
11936
11937# Quote evaled strings.
11938for var in SED \
11939GREP \
11940EGREP \
11941FGREP \
11942LD \
11943NM \
11944LN_S \
11945lt_SP2NL \
11946lt_NL2SP \
11947reload_flag \
11948OBJDUMP \
11949deplibs_check_method \
11950file_magic_cmd \
11951AR \
11952AR_FLAGS \
11953STRIP \
11954RANLIB \
11955CC \
11956CFLAGS \
11957compiler \
11958lt_cv_sys_global_symbol_pipe \
11959lt_cv_sys_global_symbol_to_cdecl \
11960lt_cv_sys_global_symbol_to_c_name_address \
11961lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11962SHELL \
11963ECHO \
11964lt_prog_compiler_no_builtin_flag \
11965lt_prog_compiler_wl \
11966lt_prog_compiler_pic \
11967lt_prog_compiler_static \
11968lt_cv_prog_compiler_c_o \
11969need_locks \
11970DSYMUTIL \
11971NMEDIT \
11972LIPO \
11973OTOOL \
11974OTOOL64 \
11975shrext_cmds \
11976export_dynamic_flag_spec \
11977whole_archive_flag_spec \
11978compiler_needs_object \
11979with_gnu_ld \
11980allow_undefined_flag \
11981no_undefined_flag \
11982hardcode_libdir_flag_spec \
11983hardcode_libdir_flag_spec_ld \
11984hardcode_libdir_separator \
11985fix_srcfile_path \
11986exclude_expsyms \
11987include_expsyms \
11988file_list_spec \
11989variables_saved_for_relink \
11990libname_spec \
11991library_names_spec \
11992soname_spec \
11993finish_eval \
11994old_striplib \
11995striplib; do
11996    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11997    *[\\\\\\\`\\"\\\$]*)
11998      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11999      ;;
12000    *)
12001      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12002      ;;
12003    esac
12004done
12005
12006# Double-quote double-evaled strings.
12007for var in reload_cmds \
12008old_postinstall_cmds \
12009old_postuninstall_cmds \
12010old_archive_cmds \
12011extract_expsyms_cmds \
12012old_archive_from_new_cmds \
12013old_archive_from_expsyms_cmds \
12014archive_cmds \
12015archive_expsym_cmds \
12016module_cmds \
12017module_expsym_cmds \
12018export_symbols_cmds \
12019prelink_cmds \
12020postinstall_cmds \
12021postuninstall_cmds \
12022finish_cmds \
12023sys_lib_search_path_spec \
12024sys_lib_dlsearch_path_spec; do
12025    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12026    *[\\\\\\\`\\"\\\$]*)
12027      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12028      ;;
12029    *)
12030      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12031      ;;
12032    esac
12033done
12034
12035# Fix-up fallback echo if it was mangled by the above quoting rules.
12036case \$lt_ECHO in
12037*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12038  ;;
12039esac
12040
12041ac_aux_dir='$ac_aux_dir'
12042xsi_shell='$xsi_shell'
12043lt_shell_append='$lt_shell_append'
12044
12045# See if we are running on zsh, and set the options which allow our
12046# commands through without removal of \ escapes INIT.
12047if test -n "\${ZSH_VERSION+set}" ; then
12048   setopt NO_GLOB_SUBST
12049fi
12050
12051
12052    PACKAGE='$PACKAGE'
12053    VERSION='$VERSION'
12054    TIMESTAMP='$TIMESTAMP'
12055    RM='$RM'
12056    ofile='$ofile'
12057
12058
12059
12060AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12061
12062_ACEOF
12063
12064cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12065
12066# Handling of arguments.
12067for ac_config_target in $ac_config_targets
12068do
12069  case $ac_config_target in
12070    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12071    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12072    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12073    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12074    "src/gnome-keyring-sharp-1.0.pc") CONFIG_FILES="$CONFIG_FILES src/gnome-keyring-sharp-1.0.pc" ;;
12075    "src/Gnome.Keyring/Makefile") CONFIG_FILES="$CONFIG_FILES src/Gnome.Keyring/Makefile" ;;
12076    "src/Gnome.Keyring/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES src/Gnome.Keyring/AssemblyInfo.cs" ;;
12077    "gnome-keyring-sharp-glue/Makefile") CONFIG_FILES="$CONFIG_FILES gnome-keyring-sharp-glue/Makefile" ;;
12078    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
12079    "sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;;
12080
12081  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12082  esac
12083done
12084
12085
12086# If the user did not use the arguments to specify the items to instantiate,
12087# then the envvar interface is used.  Set only those that are not.
12088# We use the long form for the default assignment because of an extremely
12089# bizarre bug on SunOS 4.1.3.
12090if $ac_need_defaults; then
12091  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12092  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12093fi
12094
12095# Have a temporary directory for convenience.  Make it in the build tree
12096# simply because there is no reason against having it here, and in addition,
12097# creating and moving files from /tmp can sometimes cause problems.
12098# Hook for its removal unless debugging.
12099# Note that there is a small window in which the directory will not be cleaned:
12100# after its creation but before its name has been assigned to `$tmp'.
12101$debug ||
12102{
12103  tmp=
12104  trap 'exit_status=$?
12105  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12106' 0
12107  trap 'as_fn_exit 1' 1 2 13 15
12108}
12109# Create a (secure) tmp directory for tmp files.
12110
12111{
12112  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12113  test -n "$tmp" && test -d "$tmp"
12114}  ||
12115{
12116  tmp=./conf$$-$RANDOM
12117  (umask 077 && mkdir "$tmp")
12118} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
12119
12120# Set up the scripts for CONFIG_FILES section.
12121# No need to generate them if there are no CONFIG_FILES.
12122# This happens for instance with `./config.status config.h'.
12123if test -n "$CONFIG_FILES"; then
12124
12125
12126ac_cr=`echo X | tr X '\015'`
12127# On cygwin, bash can eat \r inside `` if the user requested igncr.
12128# But we know of no other shell where ac_cr would be empty at this
12129# point, so we can use a bashism as a fallback.
12130if test "x$ac_cr" = x; then
12131  eval ac_cr=\$\'\\r\'
12132fi
12133ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12134if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12135  ac_cs_awk_cr='\r'
12136else
12137  ac_cs_awk_cr=$ac_cr
12138fi
12139
12140echo 'BEGIN {' >"$tmp/subs1.awk" &&
12141_ACEOF
12142
12143
12144{
12145  echo "cat >conf$$subs.awk <<_ACEOF" &&
12146  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12147  echo "_ACEOF"
12148} >conf$$subs.sh ||
12149  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12150ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12151ac_delim='%!_!# '
12152for ac_last_try in false false false false false :; do
12153  . ./conf$$subs.sh ||
12154    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12155
12156  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12157  if test $ac_delim_n = $ac_delim_num; then
12158    break
12159  elif $ac_last_try; then
12160    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12161  else
12162    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12163  fi
12164done
12165rm -f conf$$subs.sh
12166
12167cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12168cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12169_ACEOF
12170sed -n '
12171h
12172s/^/S["/; s/!.*/"]=/
12173p
12174g
12175s/^[^!]*!//
12176:repl
12177t repl
12178s/'"$ac_delim"'$//
12179t delim
12180:nl
12181h
12182s/\(.\{148\}\)..*/\1/
12183t more1
12184s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12185p
12186n
12187b repl
12188:more1
12189s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12190p
12191g
12192s/.\{148\}//
12193t nl
12194:delim
12195h
12196s/\(.\{148\}\)..*/\1/
12197t more2
12198s/["\\]/\\&/g; s/^/"/; s/$/"/
12199p
12200b
12201:more2
12202s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12203p
12204g
12205s/.\{148\}//
12206t delim
12207' <conf$$subs.awk | sed '
12208/^[^""]/{
12209  N
12210  s/\n//
12211}
12212' >>$CONFIG_STATUS || ac_write_fail=1
12213rm -f conf$$subs.awk
12214cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12215_ACAWK
12216cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12217  for (key in S) S_is_set[key] = 1
12218  FS = ""
12219
12220}
12221{
12222  line = $ 0
12223  nfields = split(line, field, "@")
12224  substed = 0
12225  len = length(field[1])
12226  for (i = 2; i < nfields; i++) {
12227    key = field[i]
12228    keylen = length(key)
12229    if (S_is_set[key]) {
12230      value = S[key]
12231      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12232      len += length(value) + length(field[++i])
12233      substed = 1
12234    } else
12235      len += 1 + keylen
12236  }
12237
12238  print line
12239}
12240
12241_ACAWK
12242_ACEOF
12243cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12244if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12245  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12246else
12247  cat
12248fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12249  || as_fn_error "could not setup config files machinery" "$LINENO" 5
12250_ACEOF
12251
12252# VPATH may cause trouble with some makes, so we remove $(srcdir),
12253# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12254# trailing colons and then remove the whole line if VPATH becomes empty
12255# (actually we leave an empty line to preserve line numbers).
12256if test "x$srcdir" = x.; then
12257  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
12258s/:*\$(srcdir):*/:/
12259s/:*\${srcdir}:*/:/
12260s/:*@srcdir@:*/:/
12261s/^\([^=]*=[	 ]*\):*/\1/
12262s/:*$//
12263s/^[^=]*=[	 ]*$//
12264}'
12265fi
12266
12267cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12268fi # test -n "$CONFIG_FILES"
12269
12270
12271eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
12272shift
12273for ac_tag
12274do
12275  case $ac_tag in
12276  :[FHLC]) ac_mode=$ac_tag; continue;;
12277  esac
12278  case $ac_mode$ac_tag in
12279  :[FHL]*:*);;
12280  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
12281  :[FH]-) ac_tag=-:-;;
12282  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12283  esac
12284  ac_save_IFS=$IFS
12285  IFS=:
12286  set x $ac_tag
12287  IFS=$ac_save_IFS
12288  shift
12289  ac_file=$1
12290  shift
12291
12292  case $ac_mode in
12293  :L) ac_source=$1;;
12294  :[FH])
12295    ac_file_inputs=
12296    for ac_f
12297    do
12298      case $ac_f in
12299      -) ac_f="$tmp/stdin";;
12300      *) # Look for the file first in the build tree, then in the source tree
12301	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
12302	 # because $ac_f cannot contain `:'.
12303	 test -f "$ac_f" ||
12304	   case $ac_f in
12305	   [\\/$]*) false;;
12306	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12307	   esac ||
12308	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12309      esac
12310      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12311      as_fn_append ac_file_inputs " '$ac_f'"
12312    done
12313
12314    # Let's still pretend it is `configure' which instantiates (i.e., don't
12315    # use $as_me), people would be surprised to read:
12316    #    /* config.h.  Generated by config.status.  */
12317    configure_input='Generated from '`
12318	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12319	`' by configure.'
12320    if test x"$ac_file" != x-; then
12321      configure_input="$ac_file.  $configure_input"
12322      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12323$as_echo "$as_me: creating $ac_file" >&6;}
12324    fi
12325    # Neutralize special characters interpreted by sed in replacement strings.
12326    case $configure_input in #(
12327    *\&* | *\|* | *\\* )
12328       ac_sed_conf_input=`$as_echo "$configure_input" |
12329       sed 's/[\\\\&|]/\\\\&/g'`;; #(
12330    *) ac_sed_conf_input=$configure_input;;
12331    esac
12332
12333    case $ac_tag in
12334    *:-:* | *:-) cat >"$tmp/stdin" \
12335      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
12336    esac
12337    ;;
12338  esac
12339
12340  ac_dir=`$as_dirname -- "$ac_file" ||
12341$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12342	 X"$ac_file" : 'X\(//\)[^/]' \| \
12343	 X"$ac_file" : 'X\(//\)$' \| \
12344	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12345$as_echo X"$ac_file" |
12346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12347	    s//\1/
12348	    q
12349	  }
12350	  /^X\(\/\/\)[^/].*/{
12351	    s//\1/
12352	    q
12353	  }
12354	  /^X\(\/\/\)$/{
12355	    s//\1/
12356	    q
12357	  }
12358	  /^X\(\/\).*/{
12359	    s//\1/
12360	    q
12361	  }
12362	  s/.*/./; q'`
12363  as_dir="$ac_dir"; as_fn_mkdir_p
12364  ac_builddir=.
12365
12366case "$ac_dir" in
12367.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12368*)
12369  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12370  # A ".." for each directory in $ac_dir_suffix.
12371  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12372  case $ac_top_builddir_sub in
12373  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12374  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12375  esac ;;
12376esac
12377ac_abs_top_builddir=$ac_pwd
12378ac_abs_builddir=$ac_pwd$ac_dir_suffix
12379# for backward compatibility:
12380ac_top_builddir=$ac_top_build_prefix
12381
12382case $srcdir in
12383  .)  # We are building in place.
12384    ac_srcdir=.
12385    ac_top_srcdir=$ac_top_builddir_sub
12386    ac_abs_top_srcdir=$ac_pwd ;;
12387  [\\/]* | ?:[\\/]* )  # Absolute name.
12388    ac_srcdir=$srcdir$ac_dir_suffix;
12389    ac_top_srcdir=$srcdir
12390    ac_abs_top_srcdir=$srcdir ;;
12391  *) # Relative name.
12392    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12393    ac_top_srcdir=$ac_top_build_prefix$srcdir
12394    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12395esac
12396ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12397
12398
12399  case $ac_mode in
12400  :F)
12401  #
12402  # CONFIG_FILE
12403  #
12404
12405  case $INSTALL in
12406  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12407  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12408  esac
12409  ac_MKDIR_P=$MKDIR_P
12410  case $MKDIR_P in
12411  [\\/$]* | ?:[\\/]* ) ;;
12412  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12413  esac
12414_ACEOF
12415
12416cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12417# If the template does not know about datarootdir, expand it.
12418# FIXME: This hack should be removed a few years after 2.60.
12419ac_datarootdir_hack=; ac_datarootdir_seen=
12420ac_sed_dataroot='
12421/datarootdir/ {
12422  p
12423  q
12424}
12425/@datadir@/p
12426/@docdir@/p
12427/@infodir@/p
12428/@localedir@/p
12429/@mandir@/p'
12430case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12431*datarootdir*) ac_datarootdir_seen=yes;;
12432*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12433  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12434$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12435_ACEOF
12436cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12437  ac_datarootdir_hack='
12438  s&@datadir@&$datadir&g
12439  s&@docdir@&$docdir&g
12440  s&@infodir@&$infodir&g
12441  s&@localedir@&$localedir&g
12442  s&@mandir@&$mandir&g
12443  s&\\\${datarootdir}&$datarootdir&g' ;;
12444esac
12445_ACEOF
12446
12447# Neutralize VPATH when `$srcdir' = `.'.
12448# Shell code in configure.ac might set extrasub.
12449# FIXME: do we really want to maintain this feature?
12450cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12451ac_sed_extra="$ac_vpsub
12452$extrasub
12453_ACEOF
12454cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12455:t
12456/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12457s|@configure_input@|$ac_sed_conf_input|;t t
12458s&@top_builddir@&$ac_top_builddir_sub&;t t
12459s&@top_build_prefix@&$ac_top_build_prefix&;t t
12460s&@srcdir@&$ac_srcdir&;t t
12461s&@abs_srcdir@&$ac_abs_srcdir&;t t
12462s&@top_srcdir@&$ac_top_srcdir&;t t
12463s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12464s&@builddir@&$ac_builddir&;t t
12465s&@abs_builddir@&$ac_abs_builddir&;t t
12466s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12467s&@INSTALL@&$ac_INSTALL&;t t
12468s&@MKDIR_P@&$ac_MKDIR_P&;t t
12469$ac_datarootdir_hack
12470"
12471eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12472  || as_fn_error "could not create $ac_file" "$LINENO" 5
12473
12474test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12475  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12476  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12477  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12478which seems to be undefined.  Please make sure it is defined." >&5
12479$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12480which seems to be undefined.  Please make sure it is defined." >&2;}
12481
12482  rm -f "$tmp/stdin"
12483  case $ac_file in
12484  -) cat "$tmp/out" && rm -f "$tmp/out";;
12485  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12486  esac \
12487  || as_fn_error "could not create $ac_file" "$LINENO" 5
12488 ;;
12489
12490
12491  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12492$as_echo "$as_me: executing $ac_file commands" >&6;}
12493 ;;
12494  esac
12495
12496
12497  case $ac_file$ac_mode in
12498    "libtool":C)
12499
12500    # See if we are running on zsh, and set the options which allow our
12501    # commands through without removal of \ escapes.
12502    if test -n "${ZSH_VERSION+set}" ; then
12503      setopt NO_GLOB_SUBST
12504    fi
12505
12506    cfgfile="${ofile}T"
12507    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12508    $RM "$cfgfile"
12509
12510    cat <<_LT_EOF >> "$cfgfile"
12511#! $SHELL
12512
12513# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12514# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12515# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12516# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12517#
12518#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12519#                 2006, 2007, 2008 Free Software Foundation, Inc.
12520#   Written by Gordon Matzigkeit, 1996
12521#
12522#   This file is part of GNU Libtool.
12523#
12524# GNU Libtool is free software; you can redistribute it and/or
12525# modify it under the terms of the GNU General Public License as
12526# published by the Free Software Foundation; either version 2 of
12527# the License, or (at your option) any later version.
12528#
12529# As a special exception to the GNU General Public License,
12530# if you distribute this file as part of a program or library that
12531# is built using GNU Libtool, you may include this file under the
12532# same distribution terms that you use for the rest of that program.
12533#
12534# GNU Libtool is distributed in the hope that it will be useful,
12535# but WITHOUT ANY WARRANTY; without even the implied warranty of
12536# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12537# GNU General Public License for more details.
12538#
12539# You should have received a copy of the GNU General Public License
12540# along with GNU Libtool; see the file COPYING.  If not, a copy
12541# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12542# obtained by writing to the Free Software Foundation, Inc.,
12543# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12544
12545
12546# The names of the tagged configurations supported by this script.
12547available_tags=""
12548
12549# ### BEGIN LIBTOOL CONFIG
12550
12551# Which release of libtool.m4 was used?
12552macro_version=$macro_version
12553macro_revision=$macro_revision
12554
12555# Whether or not to build shared libraries.
12556build_libtool_libs=$enable_shared
12557
12558# Whether or not to build static libraries.
12559build_old_libs=$enable_static
12560
12561# What type of objects to build.
12562pic_mode=$pic_mode
12563
12564# Whether or not to optimize for fast installation.
12565fast_install=$enable_fast_install
12566
12567# The host system.
12568host_alias=$host_alias
12569host=$host
12570host_os=$host_os
12571
12572# The build system.
12573build_alias=$build_alias
12574build=$build
12575build_os=$build_os
12576
12577# A sed program that does not truncate output.
12578SED=$lt_SED
12579
12580# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12581Xsed="\$SED -e 1s/^X//"
12582
12583# A grep program that handles long lines.
12584GREP=$lt_GREP
12585
12586# An ERE matcher.
12587EGREP=$lt_EGREP
12588
12589# A literal string matcher.
12590FGREP=$lt_FGREP
12591
12592# A BSD- or MS-compatible name lister.
12593NM=$lt_NM
12594
12595# Whether we need soft or hard links.
12596LN_S=$lt_LN_S
12597
12598# What is the maximum length of a command?
12599max_cmd_len=$max_cmd_len
12600
12601# Object file suffix (normally "o").
12602objext=$ac_objext
12603
12604# Executable file suffix (normally "").
12605exeext=$exeext
12606
12607# whether the shell understands "unset".
12608lt_unset=$lt_unset
12609
12610# turn spaces into newlines.
12611SP2NL=$lt_lt_SP2NL
12612
12613# turn newlines into spaces.
12614NL2SP=$lt_lt_NL2SP
12615
12616# How to create reloadable object files.
12617reload_flag=$lt_reload_flag
12618reload_cmds=$lt_reload_cmds
12619
12620# An object symbol dumper.
12621OBJDUMP=$lt_OBJDUMP
12622
12623# Method to check whether dependent libraries are shared objects.
12624deplibs_check_method=$lt_deplibs_check_method
12625
12626# Command to use when deplibs_check_method == "file_magic".
12627file_magic_cmd=$lt_file_magic_cmd
12628
12629# The archiver.
12630AR=$lt_AR
12631AR_FLAGS=$lt_AR_FLAGS
12632
12633# A symbol stripping program.
12634STRIP=$lt_STRIP
12635
12636# Commands used to install an old-style archive.
12637RANLIB=$lt_RANLIB
12638old_postinstall_cmds=$lt_old_postinstall_cmds
12639old_postuninstall_cmds=$lt_old_postuninstall_cmds
12640
12641# A C compiler.
12642LTCC=$lt_CC
12643
12644# LTCC compiler flags.
12645LTCFLAGS=$lt_CFLAGS
12646
12647# Take the output of nm and produce a listing of raw symbols and C names.
12648global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12649
12650# Transform the output of nm in a proper C declaration.
12651global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12652
12653# Transform the output of nm in a C name address pair.
12654global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12655
12656# Transform the output of nm in a C name address pair when lib prefix is needed.
12657global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12658
12659# The name of the directory that contains temporary libtool files.
12660objdir=$objdir
12661
12662# Shell to use when invoking shell scripts.
12663SHELL=$lt_SHELL
12664
12665# An echo program that does not interpret backslashes.
12666ECHO=$lt_ECHO
12667
12668# Used to examine libraries when file_magic_cmd begins with "file".
12669MAGIC_CMD=$MAGIC_CMD
12670
12671# Must we lock files when doing compilation?
12672need_locks=$lt_need_locks
12673
12674# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12675DSYMUTIL=$lt_DSYMUTIL
12676
12677# Tool to change global to local symbols on Mac OS X.
12678NMEDIT=$lt_NMEDIT
12679
12680# Tool to manipulate fat objects and archives on Mac OS X.
12681LIPO=$lt_LIPO
12682
12683# ldd/readelf like tool for Mach-O binaries on Mac OS X.
12684OTOOL=$lt_OTOOL
12685
12686# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12687OTOOL64=$lt_OTOOL64
12688
12689# Old archive suffix (normally "a").
12690libext=$libext
12691
12692# Shared library suffix (normally ".so").
12693shrext_cmds=$lt_shrext_cmds
12694
12695# The commands to extract the exported symbol list from a shared archive.
12696extract_expsyms_cmds=$lt_extract_expsyms_cmds
12697
12698# Variables whose values should be saved in libtool wrapper scripts and
12699# restored at link time.
12700variables_saved_for_relink=$lt_variables_saved_for_relink
12701
12702# Do we need the "lib" prefix for modules?
12703need_lib_prefix=$need_lib_prefix
12704
12705# Do we need a version for libraries?
12706need_version=$need_version
12707
12708# Library versioning type.
12709version_type=$version_type
12710
12711# Shared library runtime path variable.
12712runpath_var=$runpath_var
12713
12714# Shared library path variable.
12715shlibpath_var=$shlibpath_var
12716
12717# Is shlibpath searched before the hard-coded library search path?
12718shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12719
12720# Format of library name prefix.
12721libname_spec=$lt_libname_spec
12722
12723# List of archive names.  First name is the real one, the rest are links.
12724# The last name is the one that the linker finds with -lNAME
12725library_names_spec=$lt_library_names_spec
12726
12727# The coded name of the library, if different from the real name.
12728soname_spec=$lt_soname_spec
12729
12730# Command to use after installation of a shared archive.
12731postinstall_cmds=$lt_postinstall_cmds
12732
12733# Command to use after uninstallation of a shared archive.
12734postuninstall_cmds=$lt_postuninstall_cmds
12735
12736# Commands used to finish a libtool library installation in a directory.
12737finish_cmds=$lt_finish_cmds
12738
12739# As "finish_cmds", except a single script fragment to be evaled but
12740# not shown.
12741finish_eval=$lt_finish_eval
12742
12743# Whether we should hardcode library paths into libraries.
12744hardcode_into_libs=$hardcode_into_libs
12745
12746# Compile-time system search path for libraries.
12747sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12748
12749# Run-time system search path for libraries.
12750sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12751
12752# Whether dlopen is supported.
12753dlopen_support=$enable_dlopen
12754
12755# Whether dlopen of programs is supported.
12756dlopen_self=$enable_dlopen_self
12757
12758# Whether dlopen of statically linked programs is supported.
12759dlopen_self_static=$enable_dlopen_self_static
12760
12761# Commands to strip libraries.
12762old_striplib=$lt_old_striplib
12763striplib=$lt_striplib
12764
12765
12766# The linker used to build libraries.
12767LD=$lt_LD
12768
12769# Commands used to build an old-style archive.
12770old_archive_cmds=$lt_old_archive_cmds
12771
12772# A language specific compiler.
12773CC=$lt_compiler
12774
12775# Is the compiler the GNU compiler?
12776with_gcc=$GCC
12777
12778# Compiler flag to turn off builtin functions.
12779no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12780
12781# How to pass a linker flag through the compiler.
12782wl=$lt_lt_prog_compiler_wl
12783
12784# Additional compiler flags for building library objects.
12785pic_flag=$lt_lt_prog_compiler_pic
12786
12787# Compiler flag to prevent dynamic linking.
12788link_static_flag=$lt_lt_prog_compiler_static
12789
12790# Does compiler simultaneously support -c and -o options?
12791compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12792
12793# Whether or not to add -lc for building shared libraries.
12794build_libtool_need_lc=$archive_cmds_need_lc
12795
12796# Whether or not to disallow shared libs when runtime libs are static.
12797allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12798
12799# Compiler flag to allow reflexive dlopens.
12800export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12801
12802# Compiler flag to generate shared objects directly from archives.
12803whole_archive_flag_spec=$lt_whole_archive_flag_spec
12804
12805# Whether the compiler copes with passing no objects directly.
12806compiler_needs_object=$lt_compiler_needs_object
12807
12808# Create an old-style archive from a shared archive.
12809old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12810
12811# Create a temporary old-style archive to link instead of a shared archive.
12812old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12813
12814# Commands used to build a shared archive.
12815archive_cmds=$lt_archive_cmds
12816archive_expsym_cmds=$lt_archive_expsym_cmds
12817
12818# Commands used to build a loadable module if different from building
12819# a shared archive.
12820module_cmds=$lt_module_cmds
12821module_expsym_cmds=$lt_module_expsym_cmds
12822
12823# Whether we are building with GNU ld or not.
12824with_gnu_ld=$lt_with_gnu_ld
12825
12826# Flag that allows shared libraries with undefined symbols to be built.
12827allow_undefined_flag=$lt_allow_undefined_flag
12828
12829# Flag that enforces no undefined symbols.
12830no_undefined_flag=$lt_no_undefined_flag
12831
12832# Flag to hardcode \$libdir into a binary during linking.
12833# This must work even if \$libdir does not exist
12834hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12835
12836# If ld is used when linking, flag to hardcode \$libdir into a binary
12837# during linking.  This must work even if \$libdir does not exist.
12838hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12839
12840# Whether we need a single "-rpath" flag with a separated argument.
12841hardcode_libdir_separator=$lt_hardcode_libdir_separator
12842
12843# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12844# DIR into the resulting binary.
12845hardcode_direct=$hardcode_direct
12846
12847# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12848# DIR into the resulting binary and the resulting library dependency is
12849# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12850# library is relocated.
12851hardcode_direct_absolute=$hardcode_direct_absolute
12852
12853# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12854# into the resulting binary.
12855hardcode_minus_L=$hardcode_minus_L
12856
12857# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12858# into the resulting binary.
12859hardcode_shlibpath_var=$hardcode_shlibpath_var
12860
12861# Set to "yes" if building a shared library automatically hardcodes DIR
12862# into the library and all subsequent libraries and executables linked
12863# against it.
12864hardcode_automatic=$hardcode_automatic
12865
12866# Set to yes if linker adds runtime paths of dependent libraries
12867# to runtime path list.
12868inherit_rpath=$inherit_rpath
12869
12870# Whether libtool must link a program against all its dependency libraries.
12871link_all_deplibs=$link_all_deplibs
12872
12873# Fix the shell variable \$srcfile for the compiler.
12874fix_srcfile_path=$lt_fix_srcfile_path
12875
12876# Set to "yes" if exported symbols are required.
12877always_export_symbols=$always_export_symbols
12878
12879# The commands to list exported symbols.
12880export_symbols_cmds=$lt_export_symbols_cmds
12881
12882# Symbols that should not be listed in the preloaded symbols.
12883exclude_expsyms=$lt_exclude_expsyms
12884
12885# Symbols that must always be exported.
12886include_expsyms=$lt_include_expsyms
12887
12888# Commands necessary for linking programs (against libraries) with templates.
12889prelink_cmds=$lt_prelink_cmds
12890
12891# Specify filename containing input files.
12892file_list_spec=$lt_file_list_spec
12893
12894# How to hardcode a shared library path into an executable.
12895hardcode_action=$hardcode_action
12896
12897# ### END LIBTOOL CONFIG
12898
12899_LT_EOF
12900
12901  case $host_os in
12902  aix3*)
12903    cat <<\_LT_EOF >> "$cfgfile"
12904# AIX sometimes has problems with the GCC collect2 program.  For some
12905# reason, if we set the COLLECT_NAMES environment variable, the problems
12906# vanish in a puff of smoke.
12907if test "X${COLLECT_NAMES+set}" != Xset; then
12908  COLLECT_NAMES=
12909  export COLLECT_NAMES
12910fi
12911_LT_EOF
12912    ;;
12913  esac
12914
12915
12916ltmain="$ac_aux_dir/ltmain.sh"
12917
12918
12919  # We use sed instead of cat because bash on DJGPP gets confused if
12920  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
12921  # text mode, it properly converts lines to CR/LF.  This bash problem
12922  # is reportedly fixed, but why not run on old versions too?
12923  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12924    || (rm -f "$cfgfile"; exit 1)
12925
12926  case $xsi_shell in
12927  yes)
12928    cat << \_LT_EOF >> "$cfgfile"
12929
12930# func_dirname file append nondir_replacement
12931# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
12932# otherwise set result to NONDIR_REPLACEMENT.
12933func_dirname ()
12934{
12935  case ${1} in
12936    */*) func_dirname_result="${1%/*}${2}" ;;
12937    *  ) func_dirname_result="${3}" ;;
12938  esac
12939}
12940
12941# func_basename file
12942func_basename ()
12943{
12944  func_basename_result="${1##*/}"
12945}
12946
12947# func_dirname_and_basename file append nondir_replacement
12948# perform func_basename and func_dirname in a single function
12949# call:
12950#   dirname:  Compute the dirname of FILE.  If nonempty,
12951#             add APPEND to the result, otherwise set result
12952#             to NONDIR_REPLACEMENT.
12953#             value returned in "$func_dirname_result"
12954#   basename: Compute filename of FILE.
12955#             value retuned in "$func_basename_result"
12956# Implementation must be kept synchronized with func_dirname
12957# and func_basename. For efficiency, we do not delegate to
12958# those functions but instead duplicate the functionality here.
12959func_dirname_and_basename ()
12960{
12961  case ${1} in
12962    */*) func_dirname_result="${1%/*}${2}" ;;
12963    *  ) func_dirname_result="${3}" ;;
12964  esac
12965  func_basename_result="${1##*/}"
12966}
12967
12968# func_stripname prefix suffix name
12969# strip PREFIX and SUFFIX off of NAME.
12970# PREFIX and SUFFIX must not contain globbing or regex special
12971# characters, hashes, percent signs, but SUFFIX may contain a leading
12972# dot (in which case that matches only a dot).
12973func_stripname ()
12974{
12975  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
12976  # positional parameters, so assign one to ordinary parameter first.
12977  func_stripname_result=${3}
12978  func_stripname_result=${func_stripname_result#"${1}"}
12979  func_stripname_result=${func_stripname_result%"${2}"}
12980}
12981
12982# func_opt_split
12983func_opt_split ()
12984{
12985  func_opt_split_opt=${1%%=*}
12986  func_opt_split_arg=${1#*=}
12987}
12988
12989# func_lo2o object
12990func_lo2o ()
12991{
12992  case ${1} in
12993    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
12994    *)    func_lo2o_result=${1} ;;
12995  esac
12996}
12997
12998# func_xform libobj-or-source
12999func_xform ()
13000{
13001  func_xform_result=${1%.*}.lo
13002}
13003
13004# func_arith arithmetic-term...
13005func_arith ()
13006{
13007  func_arith_result=$(( $* ))
13008}
13009
13010# func_len string
13011# STRING may not start with a hyphen.
13012func_len ()
13013{
13014  func_len_result=${#1}
13015}
13016
13017_LT_EOF
13018    ;;
13019  *) # Bourne compatible functions.
13020    cat << \_LT_EOF >> "$cfgfile"
13021
13022# func_dirname file append nondir_replacement
13023# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13024# otherwise set result to NONDIR_REPLACEMENT.
13025func_dirname ()
13026{
13027  # Extract subdirectory from the argument.
13028  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13029  if test "X$func_dirname_result" = "X${1}"; then
13030    func_dirname_result="${3}"
13031  else
13032    func_dirname_result="$func_dirname_result${2}"
13033  fi
13034}
13035
13036# func_basename file
13037func_basename ()
13038{
13039  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13040}
13041
13042
13043# func_stripname prefix suffix name
13044# strip PREFIX and SUFFIX off of NAME.
13045# PREFIX and SUFFIX must not contain globbing or regex special
13046# characters, hashes, percent signs, but SUFFIX may contain a leading
13047# dot (in which case that matches only a dot).
13048# func_strip_suffix prefix name
13049func_stripname ()
13050{
13051  case ${2} in
13052    .*) func_stripname_result=`$ECHO "X${3}" \
13053           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13054    *)  func_stripname_result=`$ECHO "X${3}" \
13055           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13056  esac
13057}
13058
13059# sed scripts:
13060my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13061my_sed_long_arg='1s/^-[^=]*=//'
13062
13063# func_opt_split
13064func_opt_split ()
13065{
13066  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13067  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13068}
13069
13070# func_lo2o object
13071func_lo2o ()
13072{
13073  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13074}
13075
13076# func_xform libobj-or-source
13077func_xform ()
13078{
13079  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13080}
13081
13082# func_arith arithmetic-term...
13083func_arith ()
13084{
13085  func_arith_result=`expr "$@"`
13086}
13087
13088# func_len string
13089# STRING may not start with a hyphen.
13090func_len ()
13091{
13092  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13093}
13094
13095_LT_EOF
13096esac
13097
13098case $lt_shell_append in
13099  yes)
13100    cat << \_LT_EOF >> "$cfgfile"
13101
13102# func_append var value
13103# Append VALUE to the end of shell variable VAR.
13104func_append ()
13105{
13106  eval "$1+=\$2"
13107}
13108_LT_EOF
13109    ;;
13110  *)
13111    cat << \_LT_EOF >> "$cfgfile"
13112
13113# func_append var value
13114# Append VALUE to the end of shell variable VAR.
13115func_append ()
13116{
13117  eval "$1=\$$1\$2"
13118}
13119
13120_LT_EOF
13121    ;;
13122  esac
13123
13124
13125  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13126    || (rm -f "$cfgfile"; exit 1)
13127
13128  mv -f "$cfgfile" "$ofile" ||
13129    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13130  chmod +x "$ofile"
13131
13132 ;;
13133    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13134  # Autoconf 2.62 quotes --file arguments for eval, but not when files
13135  # are listed without --file.  Let's play safe and only enable the eval
13136  # if we detect the quoting.
13137  case $CONFIG_FILES in
13138  *\'*) eval set x "$CONFIG_FILES" ;;
13139  *)   set x $CONFIG_FILES ;;
13140  esac
13141  shift
13142  for mf
13143  do
13144    # Strip MF so we end up with the name of the file.
13145    mf=`echo "$mf" | sed -e 's/:.*$//'`
13146    # Check whether this is an Automake generated Makefile or not.
13147    # We used to match only the files named `Makefile.in', but
13148    # some people rename them; so instead we look at the file content.
13149    # Grep'ing the first line is not enough: some people post-process
13150    # each Makefile.in and add a new line on top of each file to say so.
13151    # Grep'ing the whole file is not good either: AIX grep has a line
13152    # limit of 2048, but all sed's we know have understand at least 4000.
13153    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13154      dirpart=`$as_dirname -- "$mf" ||
13155$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13156	 X"$mf" : 'X\(//\)[^/]' \| \
13157	 X"$mf" : 'X\(//\)$' \| \
13158	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13159$as_echo X"$mf" |
13160    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13161	    s//\1/
13162	    q
13163	  }
13164	  /^X\(\/\/\)[^/].*/{
13165	    s//\1/
13166	    q
13167	  }
13168	  /^X\(\/\/\)$/{
13169	    s//\1/
13170	    q
13171	  }
13172	  /^X\(\/\).*/{
13173	    s//\1/
13174	    q
13175	  }
13176	  s/.*/./; q'`
13177    else
13178      continue
13179    fi
13180    # Extract the definition of DEPDIR, am__include, and am__quote
13181    # from the Makefile without running `make'.
13182    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13183    test -z "$DEPDIR" && continue
13184    am__include=`sed -n 's/^am__include = //p' < "$mf"`
13185    test -z "am__include" && continue
13186    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13187    # When using ansi2knr, U may be empty or an underscore; expand it
13188    U=`sed -n 's/^U = //p' < "$mf"`
13189    # Find all dependency output files, they are included files with
13190    # $(DEPDIR) in their names.  We invoke sed twice because it is the
13191    # simplest approach to changing $(DEPDIR) to its actual value in the
13192    # expansion.
13193    for file in `sed -n "
13194      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13195	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13196      # Make sure the directory exists.
13197      test -f "$dirpart/$file" && continue
13198      fdir=`$as_dirname -- "$file" ||
13199$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13200	 X"$file" : 'X\(//\)[^/]' \| \
13201	 X"$file" : 'X\(//\)$' \| \
13202	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13203$as_echo X"$file" |
13204    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13205	    s//\1/
13206	    q
13207	  }
13208	  /^X\(\/\/\)[^/].*/{
13209	    s//\1/
13210	    q
13211	  }
13212	  /^X\(\/\/\)$/{
13213	    s//\1/
13214	    q
13215	  }
13216	  /^X\(\/\).*/{
13217	    s//\1/
13218	    q
13219	  }
13220	  s/.*/./; q'`
13221      as_dir=$dirpart/$fdir; as_fn_mkdir_p
13222      # echo "creating $dirpart/$file"
13223      echo '# dummy' > "$dirpart/$file"
13224    done
13225  done
13226}
13227 ;;
13228
13229  esac
13230done # for ac_tag
13231
13232
13233as_fn_exit 0
13234_ACEOF
13235ac_clean_files=$ac_clean_files_save
13236
13237test $ac_write_fail = 0 ||
13238  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
13239
13240
13241# configure is writing to config.log, and then calls config.status.
13242# config.status does its own redirection, appending to config.log.
13243# Unfortunately, on DOS this fails, as config.log is still kept open
13244# by configure, so config.status won't be able to write to it; its
13245# output is simply discarded.  So we exec the FD to /dev/null,
13246# effectively closing config.log, so it can be properly (re)opened and
13247# appended to by config.status.  When coming back to configure, we
13248# need to make the FD available again.
13249if test "$no_create" != yes; then
13250  ac_cs_success=:
13251  ac_config_status_args=
13252  test "$silent" = yes &&
13253    ac_config_status_args="$ac_config_status_args --quiet"
13254  exec 5>/dev/null
13255  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13256  exec 5>>config.log
13257  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13258  # would make configure fail if this is the last instruction.
13259  $ac_cs_success || as_fn_exit $?
13260fi
13261if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13262  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13263$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13264fi
13265
13266
13267echo "   * $CS compiler: $CSC"
13268echo "   * Documentation build enabled: $enable_monodoc "
13269if test "x$enable_monodoc" = "xyes" -a "x$doc_sources_dir" != "x$prefix/lib/monodoc/sources"; then
13270  echo "      WARNING: The install prefix is different than the monodoc prefix."
13271  echo "               Monodoc will not be able to load the documentation."
13272fi
13273
13274