1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for libgnomecanvas 2.30.3.
4#
5# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libgnomecanvas>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141  emulate sh
142  NULLCMD=:
143  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144  # is contrary to our usage.  Disable this feature.
145  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146  setopt NO_GLOB_SUBST
147else
148  case \`(set -o) 2>/dev/null\` in #(
149  *posix*) :
150    set -o posix ;; #(
151  *) :
152     ;;
153esac
154fi
155"
156  as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170  exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177test \$(( 1 + 1 )) = 2 || exit 1
178
179  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183    PATH=/empty FPATH=/empty; export PATH FPATH
184    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186  if (eval "$as_required") 2>/dev/null; then :
187  as_have_required=yes
188else
189  as_have_required=no
190fi
191  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193else
194  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195as_found=false
196for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197do
198  IFS=$as_save_IFS
199  test -z "$as_dir" && as_dir=.
200  as_found=:
201  case $as_dir in #(
202	 /*)
203	   for as_base in sh bash ksh sh5; do
204	     # Try only shells that exist, to save several forks.
205	     as_shell=$as_dir/$as_base
206	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208  CONFIG_SHELL=$as_shell as_have_required=yes
209		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210  break 2
211fi
212fi
213	   done;;
214       esac
215  as_found=false
216done
217$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219  CONFIG_SHELL=$SHELL as_have_required=yes
220fi; }
221IFS=$as_save_IFS
222
223
224      if test "x$CONFIG_SHELL" != x; then :
225  # We cannot yet assume a decent shell, so we have to provide a
226	# neutralization value for shells without unset; and this also
227	# works around shells that cannot unset nonexistent variables.
228	# Preserve -v and -x to the replacement shell.
229	BASH_ENV=/dev/null
230	ENV=/dev/null
231	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232	export CONFIG_SHELL
233	case $- in # ((((
234	  *v*x* | *x*v* ) as_opts=-vx ;;
235	  *v* ) as_opts=-v ;;
236	  *x* ) as_opts=-x ;;
237	  * ) as_opts= ;;
238	esac
239	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240fi
241
242    if test x$as_have_required = xno; then :
243  $as_echo "$0: This script requires a shell more modern than all"
244  $as_echo "$0: the shells that I found on your system."
245  if test x${ZSH_VERSION+set} = xset ; then
246    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248  else
249    $as_echo "$0: Please tell bug-autoconf@gnu.org and
250$0: http://bugzilla.gnome.org/enter_bug.cgi?product=libgnomecanvas
251$0: about your system, including any error possibly output
252$0: before this message. Then install a modern shell, or
253$0: manually run the script under such a shell if you do
254$0: have one."
255  fi
256  exit 1
257fi
258fi
259fi
260SHELL=${CONFIG_SHELL-/bin/sh}
261export SHELL
262# Unset more variables known to interfere with behavior of common tools.
263CLICOLOR_FORCE= GREP_OPTIONS=
264unset CLICOLOR_FORCE GREP_OPTIONS
265
266## --------------------- ##
267## M4sh Shell Functions. ##
268## --------------------- ##
269# as_fn_unset VAR
270# ---------------
271# Portably unset VAR.
272as_fn_unset ()
273{
274  { eval $1=; unset $1;}
275}
276as_unset=as_fn_unset
277
278# as_fn_set_status STATUS
279# -----------------------
280# Set $? to STATUS, without forking.
281as_fn_set_status ()
282{
283  return $1
284} # as_fn_set_status
285
286# as_fn_exit STATUS
287# -----------------
288# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289as_fn_exit ()
290{
291  set +e
292  as_fn_set_status $1
293  exit $1
294} # as_fn_exit
295
296# as_fn_mkdir_p
297# -------------
298# Create "$as_dir" as a directory, including parents if necessary.
299as_fn_mkdir_p ()
300{
301
302  case $as_dir in #(
303  -*) as_dir=./$as_dir;;
304  esac
305  test -d "$as_dir" || eval $as_mkdir_p || {
306    as_dirs=
307    while :; do
308      case $as_dir in #(
309      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310      *) as_qdir=$as_dir;;
311      esac
312      as_dirs="'$as_qdir' $as_dirs"
313      as_dir=`$as_dirname -- "$as_dir" ||
314$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315	 X"$as_dir" : 'X\(//\)[^/]' \| \
316	 X"$as_dir" : 'X\(//\)$' \| \
317	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318$as_echo X"$as_dir" |
319    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320	    s//\1/
321	    q
322	  }
323	  /^X\(\/\/\)[^/].*/{
324	    s//\1/
325	    q
326	  }
327	  /^X\(\/\/\)$/{
328	    s//\1/
329	    q
330	  }
331	  /^X\(\/\).*/{
332	    s//\1/
333	    q
334	  }
335	  s/.*/./; q'`
336      test -d "$as_dir" && break
337    done
338    test -z "$as_dirs" || eval "mkdir $as_dirs"
339  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342} # as_fn_mkdir_p
343# as_fn_append VAR VALUE
344# ----------------------
345# Append the text in VALUE to the end of the definition contained in VAR. Take
346# advantage of any shell optimizations that allow amortized linear growth over
347# repeated appends, instead of the typical quadratic growth present in naive
348# implementations.
349if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350  eval 'as_fn_append ()
351  {
352    eval $1+=\$2
353  }'
354else
355  as_fn_append ()
356  {
357    eval $1=\$$1\$2
358  }
359fi # as_fn_append
360
361# as_fn_arith ARG...
362# ------------------
363# Perform arithmetic evaluation on the ARGs, and store the result in the
364# global $as_val. Take advantage of shells that can avoid forks. The arguments
365# must be portable across $(()) and expr.
366if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367  eval 'as_fn_arith ()
368  {
369    as_val=$(( $* ))
370  }'
371else
372  as_fn_arith ()
373  {
374    as_val=`expr "$@" || test $? -eq 1`
375  }
376fi # as_fn_arith
377
378
379# as_fn_error STATUS ERROR [LINENO LOG_FD]
380# ----------------------------------------
381# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383# script with STATUS, using 1 if that was 0.
384as_fn_error ()
385{
386  as_status=$1; test $as_status -eq 0 && as_status=1
387  if test "$4"; then
388    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390  fi
391  $as_echo "$as_me: error: $2" >&2
392  as_fn_exit $as_status
393} # as_fn_error
394
395if expr a : '\(a\)' >/dev/null 2>&1 &&
396   test "X`expr 00001 : '.*\(...\)'`" = X001; then
397  as_expr=expr
398else
399  as_expr=false
400fi
401
402if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403  as_basename=basename
404else
405  as_basename=false
406fi
407
408if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409  as_dirname=dirname
410else
411  as_dirname=false
412fi
413
414as_me=`$as_basename -- "$0" ||
415$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416	 X"$0" : 'X\(//\)$' \| \
417	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418$as_echo X/"$0" |
419    sed '/^.*\/\([^/][^/]*\)\/*$/{
420	    s//\1/
421	    q
422	  }
423	  /^X\/\(\/\/\)$/{
424	    s//\1/
425	    q
426	  }
427	  /^X\/\(\/\).*/{
428	    s//\1/
429	    q
430	  }
431	  s/.*/./; q'`
432
433# Avoid depending upon Character Ranges.
434as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437as_cr_digits='0123456789'
438as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441  as_lineno_1=$LINENO as_lineno_1a=$LINENO
442  as_lineno_2=$LINENO as_lineno_2a=$LINENO
443  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446  sed -n '
447    p
448    /[$]LINENO/=
449  ' <$as_myself |
450    sed '
451      s/[$]LINENO.*/&-/
452      t lineno
453      b
454      :lineno
455      N
456      :loop
457      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458      t loop
459      s/-\n.*//
460    ' >$as_me.lineno &&
461  chmod +x "$as_me.lineno" ||
462    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464  # Don't try to exec as it changes $[0], causing all sort of problems
465  # (the dirname of $[0] is not the place where we might find the
466  # original and so on.  Autoconf is especially sensitive to this).
467  . "./$as_me.lineno"
468  # Exit status is that of the last command.
469  exit
470}
471
472ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in #(((((
474-n*)
475  case `echo 'xy\c'` in
476  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
477  xy)  ECHO_C='\c';;
478  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479       ECHO_T='	';;
480  esac;;
481*)
482  ECHO_N='-n';;
483esac
484
485rm -f conf$$ conf$$.exe conf$$.file
486if test -d conf$$.dir; then
487  rm -f conf$$.dir/conf$$.file
488else
489  rm -f conf$$.dir
490  mkdir conf$$.dir 2>/dev/null
491fi
492if (echo >conf$$.file) 2>/dev/null; then
493  if ln -s conf$$.file conf$$ 2>/dev/null; then
494    as_ln_s='ln -s'
495    # ... but there are two gotchas:
496    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498    # In both cases, we have to default to `cp -p'.
499    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500      as_ln_s='cp -p'
501  elif ln conf$$.file conf$$ 2>/dev/null; then
502    as_ln_s=ln
503  else
504    as_ln_s='cp -p'
505  fi
506else
507  as_ln_s='cp -p'
508fi
509rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510rmdir conf$$.dir 2>/dev/null
511
512if mkdir -p . 2>/dev/null; then
513  as_mkdir_p='mkdir -p "$as_dir"'
514else
515  test -d ./-p && rmdir ./-p
516  as_mkdir_p=false
517fi
518
519if test -x / >/dev/null 2>&1; then
520  as_test_x='test -x'
521else
522  if ls -dL / >/dev/null 2>&1; then
523    as_ls_L_option=L
524  else
525    as_ls_L_option=
526  fi
527  as_test_x='
528    eval sh -c '\''
529      if test -d "$1"; then
530	test -d "$1/.";
531      else
532	case $1 in #(
533	-*)set "./$1";;
534	esac;
535	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536	???[sx]*):;;*)false;;esac;fi
537    '\'' sh
538  '
539fi
540as_executable_p=$as_test_x
541
542# Sed expression to map a string onto a valid CPP name.
543as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545# Sed expression to map a string onto a valid variable name.
546as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548SHELL=${CONFIG_SHELL-/bin/sh}
549
550
551test -n "$DJDIR" || exec 7<&0 </dev/null
552exec 6>&1
553
554# Name of the host.
555# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556# so uname gets run too.
557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559#
560# Initializations.
561#
562ac_default_prefix=/usr/local
563ac_clean_files=
564ac_config_libobj_dir=.
565LIBOBJS=
566cross_compiling=no
567subdirs=
568MFLAGS=
569MAKEFLAGS=
570
571# Identity of this package.
572PACKAGE_NAME='libgnomecanvas'
573PACKAGE_TARNAME='libgnomecanvas'
574PACKAGE_VERSION='2.30.3'
575PACKAGE_STRING='libgnomecanvas 2.30.3'
576PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=libgnomecanvas'
577PACKAGE_URL=''
578
579ac_unique_file="libgnomecanvas/libgnomecanvas.h"
580# Factoring default headers for most tests.
581ac_includes_default="\
582#include <stdio.h>
583#ifdef HAVE_SYS_TYPES_H
584# include <sys/types.h>
585#endif
586#ifdef HAVE_SYS_STAT_H
587# include <sys/stat.h>
588#endif
589#ifdef STDC_HEADERS
590# include <stdlib.h>
591# include <stddef.h>
592#else
593# ifdef HAVE_STDLIB_H
594#  include <stdlib.h>
595# endif
596#endif
597#ifdef HAVE_STRING_H
598# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599#  include <memory.h>
600# endif
601# include <string.h>
602#endif
603#ifdef HAVE_STRINGS_H
604# include <strings.h>
605#endif
606#ifdef HAVE_INTTYPES_H
607# include <inttypes.h>
608#endif
609#ifdef HAVE_STDINT_H
610# include <stdint.h>
611#endif
612#ifdef HAVE_UNISTD_H
613# include <unistd.h>
614#endif"
615
616ac_subst_vars='am__EXEEXT_FALSE
617am__EXEEXT_TRUE
618LTLIBOBJS
619LIBOBJS
620REBUILD
621DISTCHECK_CONFIGURE_FLAGS
622GTK_DOC_USE_REBASE_FALSE
623GTK_DOC_USE_REBASE_TRUE
624GTK_DOC_USE_LIBTOOL_FALSE
625GTK_DOC_USE_LIBTOOL_TRUE
626GTK_DOC_BUILD_PDF_FALSE
627GTK_DOC_BUILD_PDF_TRUE
628GTK_DOC_BUILD_HTML_FALSE
629GTK_DOC_BUILD_HTML_TRUE
630ENABLE_GTK_DOC_FALSE
631ENABLE_GTK_DOC_TRUE
632HTML_DIR
633GTKDOC_MKPDF
634GTKDOC_REBASE
635GTKDOC_CHECK
636GLIB_GENMARSHAL
637PERL
638PLATFORM_WIN32_FALSE
639PLATFORM_WIN32_TRUE
640OS_WIN32_FALSE
641OS_WIN32_TRUE
642CANVAS_GLADE_LIBS
643CANVAS_GLADE_CFLAGS
644USE_GLADE_FALSE
645USE_GLADE_TRUE
646LIBGNOMECANVAS_DEPRECATED_CFLAGS
647LIBGNOMECANVAS_LIBS
648LIBGNOMECANVAS_CFLAGS
649PKG_CONFIG_LIBDIR
650PKG_CONFIG_PATH
651PKG_CONFIG
652MKINSTALLDIRS
653POSUB
654POFILES
655PO_IN_DATADIR_FALSE
656PO_IN_DATADIR_TRUE
657INTLLIBS
658INSTOBJEXT
659GMOFILES
660CATOBJEXT
661CATALOGS
662MSGFMT_OPTS
663GETTEXT_PACKAGE
664WARN_CFLAGS
665DATADIRNAME
666ALL_LINGUAS
667INTLTOOL_PERL
668GMSGFMT
669MSGFMT
670MSGMERGE
671XGETTEXT
672INTLTOOL_POLICY_RULE
673INTLTOOL_SERVICE_RULE
674INTLTOOL_THEME_RULE
675INTLTOOL_SCHEMAS_RULE
676INTLTOOL_CAVES_RULE
677INTLTOOL_XML_NOMERGE_RULE
678INTLTOOL_XML_RULE
679INTLTOOL_KBD_RULE
680INTLTOOL_XAM_RULE
681INTLTOOL_UI_RULE
682INTLTOOL_SOUNDLIST_RULE
683INTLTOOL_SHEET_RULE
684INTLTOOL_SERVER_RULE
685INTLTOOL_PONG_RULE
686INTLTOOL_OAF_RULE
687INTLTOOL_PROP_RULE
688INTLTOOL_KEYS_RULE
689INTLTOOL_DIRECTORY_RULE
690INTLTOOL_DESKTOP_RULE
691INTLTOOL_EXTRACT
692INTLTOOL_MERGE
693INTLTOOL_UPDATE
694USE_NLS
695OTOOL64
696OTOOL
697LIPO
698NMEDIT
699DSYMUTIL
700MANIFEST_TOOL
701RANLIB
702ac_ct_AR
703AR
704LN_S
705NM
706ac_ct_DUMPBIN
707DUMPBIN
708LD
709FGREP
710SED
711LIBTOOL
712OBJDUMP
713DLLTOOL
714AS
715host_os
716host_vendor
717host_cpu
718host
719build_os
720build_vendor
721build_cpu
722build
723EGREP
724GREP
725CPP
726am__fastdepCC_FALSE
727am__fastdepCC_TRUE
728CCDEPMODE
729AMDEPBACKSLASH
730AMDEP_FALSE
731AMDEP_TRUE
732am__quote
733am__include
734DEPDIR
735OBJEXT
736EXEEXT
737ac_ct_CC
738CPPFLAGS
739LDFLAGS
740CFLAGS
741CC
742ACLOCAL_AMFLAGS
743MAINT
744MAINTAINER_MODE_FALSE
745MAINTAINER_MODE_TRUE
746am__untar
747am__tar
748AMTAR
749am__leading_dot
750SET_MAKE
751AWK
752mkdir_p
753MKDIR_P
754INSTALL_STRIP_PROGRAM
755STRIP
756install_sh
757MAKEINFO
758AUTOHEADER
759AUTOMAKE
760AUTOCONF
761ACLOCAL
762VERSION
763PACKAGE
764CYGPATH_W
765am__isrc
766INSTALL_DATA
767INSTALL_SCRIPT
768INSTALL_PROGRAM
769LIBGNOMECANVAS_CURRENT_MINUS_AGE
770LIBGNOMECANVAS_AGE
771LIBGNOMECANVAS_REVISION
772LIBGNOMECANVAS_CURRENT
773target_alias
774host_alias
775build_alias
776LIBS
777ECHO_T
778ECHO_N
779ECHO_C
780DEFS
781mandir
782localedir
783libdir
784psdir
785pdfdir
786dvidir
787htmldir
788infodir
789docdir
790oldincludedir
791includedir
792localstatedir
793sharedstatedir
794sysconfdir
795datadir
796datarootdir
797libexecdir
798sbindir
799bindir
800program_transform_name
801prefix
802exec_prefix
803PACKAGE_URL
804PACKAGE_BUGREPORT
805PACKAGE_STRING
806PACKAGE_VERSION
807PACKAGE_TARNAME
808PACKAGE_NAME
809PATH_SEPARATOR
810SHELL'
811ac_subst_files=''
812ac_user_opts='
813enable_option_checking
814enable_maintainer_mode
815enable_dependency_tracking
816enable_shared
817enable_static
818with_pic
819enable_fast_install
820with_gnu_ld
821with_sysroot
822enable_libtool_lock
823enable_nls
824enable_compile_warnings
825enable_iso_c
826enable_glade
827with_html_dir
828enable_gtk_doc
829enable_gtk_doc_html
830enable_gtk_doc_pdf
831enable_rebuilds
832'
833      ac_precious_vars='build_alias
834host_alias
835target_alias
836CC
837CFLAGS
838LDFLAGS
839LIBS
840CPPFLAGS
841CC
842LDFLAGS
843LIBS
844CPPFLAGS
845CPP
846CPPFLAGS
847PKG_CONFIG
848PKG_CONFIG_PATH
849PKG_CONFIG_LIBDIR
850LIBGNOMECANVAS_CFLAGS
851LIBGNOMECANVAS_LIBS
852CANVAS_GLADE_CFLAGS
853CANVAS_GLADE_LIBS'
854
855
856# Initialize some variables set by options.
857ac_init_help=
858ac_init_version=false
859ac_unrecognized_opts=
860ac_unrecognized_sep=
861# The variables have the same names as the options, with
862# dashes changed to underlines.
863cache_file=/dev/null
864exec_prefix=NONE
865no_create=
866no_recursion=
867prefix=NONE
868program_prefix=NONE
869program_suffix=NONE
870program_transform_name=s,x,x,
871silent=
872site=
873srcdir=
874verbose=
875x_includes=NONE
876x_libraries=NONE
877
878# Installation directory options.
879# These are left unexpanded so users can "make install exec_prefix=/foo"
880# and all the variables that are supposed to be based on exec_prefix
881# by default will actually change.
882# Use braces instead of parens because sh, perl, etc. also accept them.
883# (The list follows the same order as the GNU Coding Standards.)
884bindir='${exec_prefix}/bin'
885sbindir='${exec_prefix}/sbin'
886libexecdir='${exec_prefix}/libexec'
887datarootdir='${prefix}/share'
888datadir='${datarootdir}'
889sysconfdir='${prefix}/etc'
890sharedstatedir='${prefix}/com'
891localstatedir='${prefix}/var'
892includedir='${prefix}/include'
893oldincludedir='/usr/include'
894docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
895infodir='${datarootdir}/info'
896htmldir='${docdir}'
897dvidir='${docdir}'
898pdfdir='${docdir}'
899psdir='${docdir}'
900libdir='${exec_prefix}/lib'
901localedir='${datarootdir}/locale'
902mandir='${datarootdir}/man'
903
904ac_prev=
905ac_dashdash=
906for ac_option
907do
908  # If the previous option needs an argument, assign it.
909  if test -n "$ac_prev"; then
910    eval $ac_prev=\$ac_option
911    ac_prev=
912    continue
913  fi
914
915  case $ac_option in
916  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
917  *=)   ac_optarg= ;;
918  *)    ac_optarg=yes ;;
919  esac
920
921  # Accept the important Cygnus configure options, so we can diagnose typos.
922
923  case $ac_dashdash$ac_option in
924  --)
925    ac_dashdash=yes ;;
926
927  -bindir | --bindir | --bindi | --bind | --bin | --bi)
928    ac_prev=bindir ;;
929  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
930    bindir=$ac_optarg ;;
931
932  -build | --build | --buil | --bui | --bu)
933    ac_prev=build_alias ;;
934  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
935    build_alias=$ac_optarg ;;
936
937  -cache-file | --cache-file | --cache-fil | --cache-fi \
938  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
939    ac_prev=cache_file ;;
940  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
941  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
942    cache_file=$ac_optarg ;;
943
944  --config-cache | -C)
945    cache_file=config.cache ;;
946
947  -datadir | --datadir | --datadi | --datad)
948    ac_prev=datadir ;;
949  -datadir=* | --datadir=* | --datadi=* | --datad=*)
950    datadir=$ac_optarg ;;
951
952  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
953  | --dataroo | --dataro | --datar)
954    ac_prev=datarootdir ;;
955  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
956  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
957    datarootdir=$ac_optarg ;;
958
959  -disable-* | --disable-*)
960    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
961    # Reject names that are not valid shell variable names.
962    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
963      as_fn_error $? "invalid feature name: $ac_useropt"
964    ac_useropt_orig=$ac_useropt
965    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966    case $ac_user_opts in
967      *"
968"enable_$ac_useropt"
969"*) ;;
970      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
971	 ac_unrecognized_sep=', ';;
972    esac
973    eval enable_$ac_useropt=no ;;
974
975  -docdir | --docdir | --docdi | --doc | --do)
976    ac_prev=docdir ;;
977  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
978    docdir=$ac_optarg ;;
979
980  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
981    ac_prev=dvidir ;;
982  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
983    dvidir=$ac_optarg ;;
984
985  -enable-* | --enable-*)
986    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
987    # Reject names that are not valid shell variable names.
988    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989      as_fn_error $? "invalid feature name: $ac_useropt"
990    ac_useropt_orig=$ac_useropt
991    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992    case $ac_user_opts in
993      *"
994"enable_$ac_useropt"
995"*) ;;
996      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
997	 ac_unrecognized_sep=', ';;
998    esac
999    eval enable_$ac_useropt=\$ac_optarg ;;
1000
1001  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1002  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1003  | --exec | --exe | --ex)
1004    ac_prev=exec_prefix ;;
1005  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1006  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1007  | --exec=* | --exe=* | --ex=*)
1008    exec_prefix=$ac_optarg ;;
1009
1010  -gas | --gas | --ga | --g)
1011    # Obsolete; use --with-gas.
1012    with_gas=yes ;;
1013
1014  -help | --help | --hel | --he | -h)
1015    ac_init_help=long ;;
1016  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1017    ac_init_help=recursive ;;
1018  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1019    ac_init_help=short ;;
1020
1021  -host | --host | --hos | --ho)
1022    ac_prev=host_alias ;;
1023  -host=* | --host=* | --hos=* | --ho=*)
1024    host_alias=$ac_optarg ;;
1025
1026  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1027    ac_prev=htmldir ;;
1028  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1029  | --ht=*)
1030    htmldir=$ac_optarg ;;
1031
1032  -includedir | --includedir | --includedi | --included | --include \
1033  | --includ | --inclu | --incl | --inc)
1034    ac_prev=includedir ;;
1035  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1036  | --includ=* | --inclu=* | --incl=* | --inc=*)
1037    includedir=$ac_optarg ;;
1038
1039  -infodir | --infodir | --infodi | --infod | --info | --inf)
1040    ac_prev=infodir ;;
1041  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1042    infodir=$ac_optarg ;;
1043
1044  -libdir | --libdir | --libdi | --libd)
1045    ac_prev=libdir ;;
1046  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1047    libdir=$ac_optarg ;;
1048
1049  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1050  | --libexe | --libex | --libe)
1051    ac_prev=libexecdir ;;
1052  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1053  | --libexe=* | --libex=* | --libe=*)
1054    libexecdir=$ac_optarg ;;
1055
1056  -localedir | --localedir | --localedi | --localed | --locale)
1057    ac_prev=localedir ;;
1058  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1059    localedir=$ac_optarg ;;
1060
1061  -localstatedir | --localstatedir | --localstatedi | --localstated \
1062  | --localstate | --localstat | --localsta | --localst | --locals)
1063    ac_prev=localstatedir ;;
1064  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1065  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1066    localstatedir=$ac_optarg ;;
1067
1068  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1069    ac_prev=mandir ;;
1070  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1071    mandir=$ac_optarg ;;
1072
1073  -nfp | --nfp | --nf)
1074    # Obsolete; use --without-fp.
1075    with_fp=no ;;
1076
1077  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1078  | --no-cr | --no-c | -n)
1079    no_create=yes ;;
1080
1081  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1082  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1083    no_recursion=yes ;;
1084
1085  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1086  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1087  | --oldin | --oldi | --old | --ol | --o)
1088    ac_prev=oldincludedir ;;
1089  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1090  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1091  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1092    oldincludedir=$ac_optarg ;;
1093
1094  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1095    ac_prev=prefix ;;
1096  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1097    prefix=$ac_optarg ;;
1098
1099  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1100  | --program-pre | --program-pr | --program-p)
1101    ac_prev=program_prefix ;;
1102  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1103  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1104    program_prefix=$ac_optarg ;;
1105
1106  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1107  | --program-suf | --program-su | --program-s)
1108    ac_prev=program_suffix ;;
1109  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1110  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1111    program_suffix=$ac_optarg ;;
1112
1113  -program-transform-name | --program-transform-name \
1114  | --program-transform-nam | --program-transform-na \
1115  | --program-transform-n | --program-transform- \
1116  | --program-transform | --program-transfor \
1117  | --program-transfo | --program-transf \
1118  | --program-trans | --program-tran \
1119  | --progr-tra | --program-tr | --program-t)
1120    ac_prev=program_transform_name ;;
1121  -program-transform-name=* | --program-transform-name=* \
1122  | --program-transform-nam=* | --program-transform-na=* \
1123  | --program-transform-n=* | --program-transform-=* \
1124  | --program-transform=* | --program-transfor=* \
1125  | --program-transfo=* | --program-transf=* \
1126  | --program-trans=* | --program-tran=* \
1127  | --progr-tra=* | --program-tr=* | --program-t=*)
1128    program_transform_name=$ac_optarg ;;
1129
1130  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1131    ac_prev=pdfdir ;;
1132  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1133    pdfdir=$ac_optarg ;;
1134
1135  -psdir | --psdir | --psdi | --psd | --ps)
1136    ac_prev=psdir ;;
1137  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1138    psdir=$ac_optarg ;;
1139
1140  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1141  | -silent | --silent | --silen | --sile | --sil)
1142    silent=yes ;;
1143
1144  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1145    ac_prev=sbindir ;;
1146  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1147  | --sbi=* | --sb=*)
1148    sbindir=$ac_optarg ;;
1149
1150  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1151  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1152  | --sharedst | --shareds | --shared | --share | --shar \
1153  | --sha | --sh)
1154    ac_prev=sharedstatedir ;;
1155  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1156  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1157  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1158  | --sha=* | --sh=*)
1159    sharedstatedir=$ac_optarg ;;
1160
1161  -site | --site | --sit)
1162    ac_prev=site ;;
1163  -site=* | --site=* | --sit=*)
1164    site=$ac_optarg ;;
1165
1166  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1167    ac_prev=srcdir ;;
1168  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1169    srcdir=$ac_optarg ;;
1170
1171  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1172  | --syscon | --sysco | --sysc | --sys | --sy)
1173    ac_prev=sysconfdir ;;
1174  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1175  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1176    sysconfdir=$ac_optarg ;;
1177
1178  -target | --target | --targe | --targ | --tar | --ta | --t)
1179    ac_prev=target_alias ;;
1180  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1181    target_alias=$ac_optarg ;;
1182
1183  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1184    verbose=yes ;;
1185
1186  -version | --version | --versio | --versi | --vers | -V)
1187    ac_init_version=: ;;
1188
1189  -with-* | --with-*)
1190    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1191    # Reject names that are not valid shell variable names.
1192    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1193      as_fn_error $? "invalid package name: $ac_useropt"
1194    ac_useropt_orig=$ac_useropt
1195    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196    case $ac_user_opts in
1197      *"
1198"with_$ac_useropt"
1199"*) ;;
1200      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1201	 ac_unrecognized_sep=', ';;
1202    esac
1203    eval with_$ac_useropt=\$ac_optarg ;;
1204
1205  -without-* | --without-*)
1206    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1207    # Reject names that are not valid shell variable names.
1208    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1209      as_fn_error $? "invalid package name: $ac_useropt"
1210    ac_useropt_orig=$ac_useropt
1211    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1212    case $ac_user_opts in
1213      *"
1214"with_$ac_useropt"
1215"*) ;;
1216      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1217	 ac_unrecognized_sep=', ';;
1218    esac
1219    eval with_$ac_useropt=no ;;
1220
1221  --x)
1222    # Obsolete; use --with-x.
1223    with_x=yes ;;
1224
1225  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1226  | --x-incl | --x-inc | --x-in | --x-i)
1227    ac_prev=x_includes ;;
1228  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1229  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1230    x_includes=$ac_optarg ;;
1231
1232  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1233  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1234    ac_prev=x_libraries ;;
1235  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1236  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1237    x_libraries=$ac_optarg ;;
1238
1239  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1240Try \`$0 --help' for more information"
1241    ;;
1242
1243  *=*)
1244    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1245    # Reject names that are not valid shell variable names.
1246    case $ac_envvar in #(
1247      '' | [0-9]* | *[!_$as_cr_alnum]* )
1248      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1249    esac
1250    eval $ac_envvar=\$ac_optarg
1251    export $ac_envvar ;;
1252
1253  *)
1254    # FIXME: should be removed in autoconf 3.0.
1255    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1256    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1257      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1258    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1259    ;;
1260
1261  esac
1262done
1263
1264if test -n "$ac_prev"; then
1265  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1266  as_fn_error $? "missing argument to $ac_option"
1267fi
1268
1269if test -n "$ac_unrecognized_opts"; then
1270  case $enable_option_checking in
1271    no) ;;
1272    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1273    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1274  esac
1275fi
1276
1277# Check all directory arguments for consistency.
1278for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1279		datadir sysconfdir sharedstatedir localstatedir includedir \
1280		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1281		libdir localedir mandir
1282do
1283  eval ac_val=\$$ac_var
1284  # Remove trailing slashes.
1285  case $ac_val in
1286    */ )
1287      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1288      eval $ac_var=\$ac_val;;
1289  esac
1290  # Be sure to have absolute directory names.
1291  case $ac_val in
1292    [\\/$]* | ?:[\\/]* )  continue;;
1293    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1294  esac
1295  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1296done
1297
1298# There might be people who depend on the old broken behavior: `$host'
1299# used to hold the argument of --host etc.
1300# FIXME: To remove some day.
1301build=$build_alias
1302host=$host_alias
1303target=$target_alias
1304
1305# FIXME: To remove some day.
1306if test "x$host_alias" != x; then
1307  if test "x$build_alias" = x; then
1308    cross_compiling=maybe
1309    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1310    If a cross compiler is detected then cross compile mode will be used" >&2
1311  elif test "x$build_alias" != "x$host_alias"; then
1312    cross_compiling=yes
1313  fi
1314fi
1315
1316ac_tool_prefix=
1317test -n "$host_alias" && ac_tool_prefix=$host_alias-
1318
1319test "$silent" = yes && exec 6>/dev/null
1320
1321
1322ac_pwd=`pwd` && test -n "$ac_pwd" &&
1323ac_ls_di=`ls -di .` &&
1324ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1325  as_fn_error $? "working directory cannot be determined"
1326test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1327  as_fn_error $? "pwd does not report name of working directory"
1328
1329
1330# Find the source files, if location was not specified.
1331if test -z "$srcdir"; then
1332  ac_srcdir_defaulted=yes
1333  # Try the directory containing this script, then the parent directory.
1334  ac_confdir=`$as_dirname -- "$as_myself" ||
1335$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1336	 X"$as_myself" : 'X\(//\)[^/]' \| \
1337	 X"$as_myself" : 'X\(//\)$' \| \
1338	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1339$as_echo X"$as_myself" |
1340    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1341	    s//\1/
1342	    q
1343	  }
1344	  /^X\(\/\/\)[^/].*/{
1345	    s//\1/
1346	    q
1347	  }
1348	  /^X\(\/\/\)$/{
1349	    s//\1/
1350	    q
1351	  }
1352	  /^X\(\/\).*/{
1353	    s//\1/
1354	    q
1355	  }
1356	  s/.*/./; q'`
1357  srcdir=$ac_confdir
1358  if test ! -r "$srcdir/$ac_unique_file"; then
1359    srcdir=..
1360  fi
1361else
1362  ac_srcdir_defaulted=no
1363fi
1364if test ! -r "$srcdir/$ac_unique_file"; then
1365  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1366  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1367fi
1368ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1369ac_abs_confdir=`(
1370	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1371	pwd)`
1372# When building in place, set srcdir=.
1373if test "$ac_abs_confdir" = "$ac_pwd"; then
1374  srcdir=.
1375fi
1376# Remove unnecessary trailing slashes from srcdir.
1377# Double slashes in file names in object file debugging info
1378# mess up M-x gdb in Emacs.
1379case $srcdir in
1380*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1381esac
1382for ac_var in $ac_precious_vars; do
1383  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1384  eval ac_env_${ac_var}_value=\$${ac_var}
1385  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1386  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1387done
1388
1389#
1390# Report the --help message.
1391#
1392if test "$ac_init_help" = "long"; then
1393  # Omit some internal or obsolete options to make the list less imposing.
1394  # This message is too long to be a string in the A/UX 3.1 sh.
1395  cat <<_ACEOF
1396\`configure' configures libgnomecanvas 2.30.3 to adapt to many kinds of systems.
1397
1398Usage: $0 [OPTION]... [VAR=VALUE]...
1399
1400To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401VAR=VALUE.  See below for descriptions of some of the useful variables.
1402
1403Defaults for the options are specified in brackets.
1404
1405Configuration:
1406  -h, --help              display this help and exit
1407      --help=short        display options specific to this package
1408      --help=recursive    display the short help of all the included packages
1409  -V, --version           display version information and exit
1410  -q, --quiet, --silent   do not print \`checking ...' messages
1411      --cache-file=FILE   cache test results in FILE [disabled]
1412  -C, --config-cache      alias for \`--cache-file=config.cache'
1413  -n, --no-create         do not create output files
1414      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1415
1416Installation directories:
1417  --prefix=PREFIX         install architecture-independent files in PREFIX
1418                          [$ac_default_prefix]
1419  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1420                          [PREFIX]
1421
1422By default, \`make install' will install all the files in
1423\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1424an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425for instance \`--prefix=\$HOME'.
1426
1427For better control, use the options below.
1428
1429Fine tuning of the installation directories:
1430  --bindir=DIR            user executables [EPREFIX/bin]
1431  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1432  --libexecdir=DIR        program executables [EPREFIX/libexec]
1433  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1434  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1435  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1436  --libdir=DIR            object code libraries [EPREFIX/lib]
1437  --includedir=DIR        C header files [PREFIX/include]
1438  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1439  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1440  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1441  --infodir=DIR           info documentation [DATAROOTDIR/info]
1442  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1443  --mandir=DIR            man documentation [DATAROOTDIR/man]
1444  --docdir=DIR            documentation root [DATAROOTDIR/doc/libgnomecanvas]
1445  --htmldir=DIR           html documentation [DOCDIR]
1446  --dvidir=DIR            dvi documentation [DOCDIR]
1447  --pdfdir=DIR            pdf documentation [DOCDIR]
1448  --psdir=DIR             ps documentation [DOCDIR]
1449_ACEOF
1450
1451  cat <<\_ACEOF
1452
1453Program names:
1454  --program-prefix=PREFIX            prepend PREFIX to installed program names
1455  --program-suffix=SUFFIX            append SUFFIX to installed program names
1456  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1457
1458System types:
1459  --build=BUILD     configure for building on BUILD [guessed]
1460  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1461_ACEOF
1462fi
1463
1464if test -n "$ac_init_help"; then
1465  case $ac_init_help in
1466     short | recursive ) echo "Configuration of libgnomecanvas 2.30.3:";;
1467   esac
1468  cat <<\_ACEOF
1469
1470Optional Features:
1471  --disable-option-checking  ignore unrecognized --enable/--with options
1472  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1473  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1474  --enable-maintainer-mode  enable make rules and dependencies not useful
1475			  (and sometimes confusing) to the casual installer
1476  --disable-dependency-tracking  speeds up one-time build
1477  --enable-dependency-tracking   do not reject slow dependency extractors
1478  --enable-shared[=PKGS]  build shared libraries [default=yes]
1479  --enable-static[=PKGS]  build static libraries [default=yes]
1480  --enable-fast-install[=PKGS]
1481                          optimize for fast installation [default=yes]
1482  --disable-libtool-lock  avoid locking (might break parallel builds)
1483  --disable-nls           do not use Native Language Support
1484  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1485                          Turn on compiler warnings
1486  --enable-iso-c          Try to warn if code is not ISO C
1487  --enable-glade          enable glade support
1488  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1489  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1490  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1491  --disable-rebuilds      disable all source autogeneration rules
1492
1493Optional Packages:
1494  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1495  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1496  --with-pic              try to use only PIC/non-PIC objects [default=use
1497                          both]
1498  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1499  --with-sysroot=DIR Search for dependent libraries within DIR
1500                        (or the compiler's sysroot if not specified).
1501  --with-html-dir=PATH    path to installed docs
1502
1503Some influential environment variables:
1504  CC          C compiler command
1505  CFLAGS      C compiler flags
1506  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1507              nonstandard directory <lib dir>
1508  LIBS        libraries to pass to the linker, e.g. -l<library>
1509  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1510              you have headers in a nonstandard directory <include dir>
1511  CPP         C preprocessor
1512  PKG_CONFIG  path to pkg-config utility
1513  PKG_CONFIG_PATH
1514              directories to add to pkg-config's search path
1515  PKG_CONFIG_LIBDIR
1516              path overriding pkg-config's built-in search path
1517  LIBGNOMECANVAS_CFLAGS
1518              C compiler flags for LIBGNOMECANVAS, overriding pkg-config
1519  LIBGNOMECANVAS_LIBS
1520              linker flags for LIBGNOMECANVAS, overriding pkg-config
1521  CANVAS_GLADE_CFLAGS
1522              C compiler flags for CANVAS_GLADE, overriding pkg-config
1523  CANVAS_GLADE_LIBS
1524              linker flags for CANVAS_GLADE, overriding pkg-config
1525
1526Use these variables to override the choices made by `configure' or to help
1527it to find libraries and programs with nonstandard names/locations.
1528
1529Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libgnomecanvas>.
1530_ACEOF
1531ac_status=$?
1532fi
1533
1534if test "$ac_init_help" = "recursive"; then
1535  # If there are subdirs, report their specific --help.
1536  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1537    test -d "$ac_dir" ||
1538      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1539      continue
1540    ac_builddir=.
1541
1542case "$ac_dir" in
1543.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1544*)
1545  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1546  # A ".." for each directory in $ac_dir_suffix.
1547  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1548  case $ac_top_builddir_sub in
1549  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1551  esac ;;
1552esac
1553ac_abs_top_builddir=$ac_pwd
1554ac_abs_builddir=$ac_pwd$ac_dir_suffix
1555# for backward compatibility:
1556ac_top_builddir=$ac_top_build_prefix
1557
1558case $srcdir in
1559  .)  # We are building in place.
1560    ac_srcdir=.
1561    ac_top_srcdir=$ac_top_builddir_sub
1562    ac_abs_top_srcdir=$ac_pwd ;;
1563  [\\/]* | ?:[\\/]* )  # Absolute name.
1564    ac_srcdir=$srcdir$ac_dir_suffix;
1565    ac_top_srcdir=$srcdir
1566    ac_abs_top_srcdir=$srcdir ;;
1567  *) # Relative name.
1568    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1569    ac_top_srcdir=$ac_top_build_prefix$srcdir
1570    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1571esac
1572ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1573
1574    cd "$ac_dir" || { ac_status=$?; continue; }
1575    # Check for guested configure.
1576    if test -f "$ac_srcdir/configure.gnu"; then
1577      echo &&
1578      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1579    elif test -f "$ac_srcdir/configure"; then
1580      echo &&
1581      $SHELL "$ac_srcdir/configure" --help=recursive
1582    else
1583      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1584    fi || ac_status=$?
1585    cd "$ac_pwd" || { ac_status=$?; break; }
1586  done
1587fi
1588
1589test -n "$ac_init_help" && exit $ac_status
1590if $ac_init_version; then
1591  cat <<\_ACEOF
1592libgnomecanvas configure 2.30.3
1593generated by GNU Autoconf 2.68
1594
1595Copyright (C) 2010 Free Software Foundation, Inc.
1596This configure script is free software; the Free Software Foundation
1597gives unlimited permission to copy, distribute and modify it.
1598_ACEOF
1599  exit
1600fi
1601
1602## ------------------------ ##
1603## Autoconf initialization. ##
1604## ------------------------ ##
1605
1606# ac_fn_c_try_compile LINENO
1607# --------------------------
1608# Try to compile conftest.$ac_ext, and return whether this succeeded.
1609ac_fn_c_try_compile ()
1610{
1611  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612  rm -f conftest.$ac_objext
1613  if { { ac_try="$ac_compile"
1614case "(($ac_try" in
1615  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1616  *) ac_try_echo=$ac_try;;
1617esac
1618eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1619$as_echo "$ac_try_echo"; } >&5
1620  (eval "$ac_compile") 2>conftest.err
1621  ac_status=$?
1622  if test -s conftest.err; then
1623    grep -v '^ *+' conftest.err >conftest.er1
1624    cat conftest.er1 >&5
1625    mv -f conftest.er1 conftest.err
1626  fi
1627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628  test $ac_status = 0; } && {
1629	 test -z "$ac_c_werror_flag" ||
1630	 test ! -s conftest.err
1631       } && test -s conftest.$ac_objext; then :
1632  ac_retval=0
1633else
1634  $as_echo "$as_me: failed program was:" >&5
1635sed 's/^/| /' conftest.$ac_ext >&5
1636
1637	ac_retval=1
1638fi
1639  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640  as_fn_set_status $ac_retval
1641
1642} # ac_fn_c_try_compile
1643
1644# ac_fn_c_try_link LINENO
1645# -----------------------
1646# Try to link conftest.$ac_ext, and return whether this succeeded.
1647ac_fn_c_try_link ()
1648{
1649  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650  rm -f conftest.$ac_objext conftest$ac_exeext
1651  if { { ac_try="$ac_link"
1652case "(($ac_try" in
1653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1654  *) ac_try_echo=$ac_try;;
1655esac
1656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657$as_echo "$ac_try_echo"; } >&5
1658  (eval "$ac_link") 2>conftest.err
1659  ac_status=$?
1660  if test -s conftest.err; then
1661    grep -v '^ *+' conftest.err >conftest.er1
1662    cat conftest.er1 >&5
1663    mv -f conftest.er1 conftest.err
1664  fi
1665  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1666  test $ac_status = 0; } && {
1667	 test -z "$ac_c_werror_flag" ||
1668	 test ! -s conftest.err
1669       } && test -s conftest$ac_exeext && {
1670	 test "$cross_compiling" = yes ||
1671	 $as_test_x conftest$ac_exeext
1672       }; then :
1673  ac_retval=0
1674else
1675  $as_echo "$as_me: failed program was:" >&5
1676sed 's/^/| /' conftest.$ac_ext >&5
1677
1678	ac_retval=1
1679fi
1680  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1681  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1682  # interfere with the next link command; also delete a directory that is
1683  # left behind by Apple's compiler.  We do this before executing the actions.
1684  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1685  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686  as_fn_set_status $ac_retval
1687
1688} # ac_fn_c_try_link
1689
1690# ac_fn_c_try_cpp LINENO
1691# ----------------------
1692# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1693ac_fn_c_try_cpp ()
1694{
1695  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696  if { { ac_try="$ac_cpp conftest.$ac_ext"
1697case "(($ac_try" in
1698  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699  *) ac_try_echo=$ac_try;;
1700esac
1701eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702$as_echo "$ac_try_echo"; } >&5
1703  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1704  ac_status=$?
1705  if test -s conftest.err; then
1706    grep -v '^ *+' conftest.err >conftest.er1
1707    cat conftest.er1 >&5
1708    mv -f conftest.er1 conftest.err
1709  fi
1710  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711  test $ac_status = 0; } > conftest.i && {
1712	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1713	 test ! -s conftest.err
1714       }; then :
1715  ac_retval=0
1716else
1717  $as_echo "$as_me: failed program was:" >&5
1718sed 's/^/| /' conftest.$ac_ext >&5
1719
1720    ac_retval=1
1721fi
1722  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1723  as_fn_set_status $ac_retval
1724
1725} # ac_fn_c_try_cpp
1726
1727# ac_fn_c_try_run LINENO
1728# ----------------------
1729# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1730# that executables *can* be run.
1731ac_fn_c_try_run ()
1732{
1733  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734  if { { ac_try="$ac_link"
1735case "(($ac_try" in
1736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1737  *) ac_try_echo=$ac_try;;
1738esac
1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740$as_echo "$ac_try_echo"; } >&5
1741  (eval "$ac_link") 2>&5
1742  ac_status=$?
1743  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1745  { { case "(($ac_try" in
1746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747  *) ac_try_echo=$ac_try;;
1748esac
1749eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750$as_echo "$ac_try_echo"; } >&5
1751  (eval "$ac_try") 2>&5
1752  ac_status=$?
1753  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754  test $ac_status = 0; }; }; then :
1755  ac_retval=0
1756else
1757  $as_echo "$as_me: program exited with status $ac_status" >&5
1758       $as_echo "$as_me: failed program was:" >&5
1759sed 's/^/| /' conftest.$ac_ext >&5
1760
1761       ac_retval=$ac_status
1762fi
1763  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1764  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765  as_fn_set_status $ac_retval
1766
1767} # ac_fn_c_try_run
1768
1769# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1770# -------------------------------------------------------
1771# Tests whether HEADER exists and can be compiled using the include files in
1772# INCLUDES, setting the cache variable VAR accordingly.
1773ac_fn_c_check_header_compile ()
1774{
1775  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1777$as_echo_n "checking for $2... " >&6; }
1778if eval \${$3+:} false; then :
1779  $as_echo_n "(cached) " >&6
1780else
1781  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1782/* end confdefs.h.  */
1783$4
1784#include <$2>
1785_ACEOF
1786if ac_fn_c_try_compile "$LINENO"; then :
1787  eval "$3=yes"
1788else
1789  eval "$3=no"
1790fi
1791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1792fi
1793eval ac_res=\$$3
1794	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1795$as_echo "$ac_res" >&6; }
1796  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797
1798} # ac_fn_c_check_header_compile
1799
1800# ac_fn_c_check_func LINENO FUNC VAR
1801# ----------------------------------
1802# Tests whether FUNC exists, setting the cache variable VAR accordingly
1803ac_fn_c_check_func ()
1804{
1805  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807$as_echo_n "checking for $2... " >&6; }
1808if eval \${$3+:} false; then :
1809  $as_echo_n "(cached) " >&6
1810else
1811  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812/* end confdefs.h.  */
1813/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1814   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1815#define $2 innocuous_$2
1816
1817/* System header to define __stub macros and hopefully few prototypes,
1818    which can conflict with char $2 (); below.
1819    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1820    <limits.h> exists even on freestanding compilers.  */
1821
1822#ifdef __STDC__
1823# include <limits.h>
1824#else
1825# include <assert.h>
1826#endif
1827
1828#undef $2
1829
1830/* Override any GCC internal prototype to avoid an error.
1831   Use char because int might match the return type of a GCC
1832   builtin and then its argument prototype would still apply.  */
1833#ifdef __cplusplus
1834extern "C"
1835#endif
1836char $2 ();
1837/* The GNU C library defines this for functions which it implements
1838    to always fail with ENOSYS.  Some functions are actually named
1839    something starting with __ and the normal name is an alias.  */
1840#if defined __stub_$2 || defined __stub___$2
1841choke me
1842#endif
1843
1844int
1845main ()
1846{
1847return $2 ();
1848  ;
1849  return 0;
1850}
1851_ACEOF
1852if ac_fn_c_try_link "$LINENO"; then :
1853  eval "$3=yes"
1854else
1855  eval "$3=no"
1856fi
1857rm -f core conftest.err conftest.$ac_objext \
1858    conftest$ac_exeext conftest.$ac_ext
1859fi
1860eval ac_res=\$$3
1861	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862$as_echo "$ac_res" >&6; }
1863  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864
1865} # ac_fn_c_check_func
1866
1867# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1868# -------------------------------------------------------
1869# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1870# the include files in INCLUDES and setting the cache variable VAR
1871# accordingly.
1872ac_fn_c_check_header_mongrel ()
1873{
1874  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875  if eval \${$3+:} false; then :
1876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1877$as_echo_n "checking for $2... " >&6; }
1878if eval \${$3+:} false; then :
1879  $as_echo_n "(cached) " >&6
1880fi
1881eval ac_res=\$$3
1882	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883$as_echo "$ac_res" >&6; }
1884else
1885  # Is the header compilable?
1886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1887$as_echo_n "checking $2 usability... " >&6; }
1888cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889/* end confdefs.h.  */
1890$4
1891#include <$2>
1892_ACEOF
1893if ac_fn_c_try_compile "$LINENO"; then :
1894  ac_header_compiler=yes
1895else
1896  ac_header_compiler=no
1897fi
1898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1900$as_echo "$ac_header_compiler" >&6; }
1901
1902# Is the header present?
1903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1904$as_echo_n "checking $2 presence... " >&6; }
1905cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906/* end confdefs.h.  */
1907#include <$2>
1908_ACEOF
1909if ac_fn_c_try_cpp "$LINENO"; then :
1910  ac_header_preproc=yes
1911else
1912  ac_header_preproc=no
1913fi
1914rm -f conftest.err conftest.i conftest.$ac_ext
1915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1916$as_echo "$ac_header_preproc" >&6; }
1917
1918# So?  What about this header?
1919case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1920  yes:no: )
1921    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1922$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1923    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1924$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1925    ;;
1926  no:yes:* )
1927    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1928$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1929    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1930$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1931    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1932$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1933    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1934$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1935    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1936$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1937( $as_echo "## ----------------------------------------------------------------------------- ##
1938## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=libgnomecanvas ##
1939## ----------------------------------------------------------------------------- ##"
1940     ) | sed "s/^/$as_me: WARNING:     /" >&2
1941    ;;
1942esac
1943  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944$as_echo_n "checking for $2... " >&6; }
1945if eval \${$3+:} false; then :
1946  $as_echo_n "(cached) " >&6
1947else
1948  eval "$3=\$ac_header_compiler"
1949fi
1950eval ac_res=\$$3
1951	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952$as_echo "$ac_res" >&6; }
1953fi
1954  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955
1956} # ac_fn_c_check_header_mongrel
1957cat >config.log <<_ACEOF
1958This file contains any messages produced by compilers while
1959running configure, to aid debugging if configure makes a mistake.
1960
1961It was created by libgnomecanvas $as_me 2.30.3, which was
1962generated by GNU Autoconf 2.68.  Invocation command line was
1963
1964  $ $0 $@
1965
1966_ACEOF
1967exec 5>>config.log
1968{
1969cat <<_ASUNAME
1970## --------- ##
1971## Platform. ##
1972## --------- ##
1973
1974hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1975uname -m = `(uname -m) 2>/dev/null || echo unknown`
1976uname -r = `(uname -r) 2>/dev/null || echo unknown`
1977uname -s = `(uname -s) 2>/dev/null || echo unknown`
1978uname -v = `(uname -v) 2>/dev/null || echo unknown`
1979
1980/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1981/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1982
1983/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1984/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1985/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1986/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1987/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1988/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1989/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1990
1991_ASUNAME
1992
1993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1994for as_dir in $PATH
1995do
1996  IFS=$as_save_IFS
1997  test -z "$as_dir" && as_dir=.
1998    $as_echo "PATH: $as_dir"
1999  done
2000IFS=$as_save_IFS
2001
2002} >&5
2003
2004cat >&5 <<_ACEOF
2005
2006
2007## ----------- ##
2008## Core tests. ##
2009## ----------- ##
2010
2011_ACEOF
2012
2013
2014# Keep a trace of the command line.
2015# Strip out --no-create and --no-recursion so they do not pile up.
2016# Strip out --silent because we don't want to record it for future runs.
2017# Also quote any args containing shell meta-characters.
2018# Make two passes to allow for proper duplicate-argument suppression.
2019ac_configure_args=
2020ac_configure_args0=
2021ac_configure_args1=
2022ac_must_keep_next=false
2023for ac_pass in 1 2
2024do
2025  for ac_arg
2026  do
2027    case $ac_arg in
2028    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2029    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2030    | -silent | --silent | --silen | --sile | --sil)
2031      continue ;;
2032    *\'*)
2033      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2034    esac
2035    case $ac_pass in
2036    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2037    2)
2038      as_fn_append ac_configure_args1 " '$ac_arg'"
2039      if test $ac_must_keep_next = true; then
2040	ac_must_keep_next=false # Got value, back to normal.
2041      else
2042	case $ac_arg in
2043	  *=* | --config-cache | -C | -disable-* | --disable-* \
2044	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2045	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2046	  | -with-* | --with-* | -without-* | --without-* | --x)
2047	    case "$ac_configure_args0 " in
2048	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2049	    esac
2050	    ;;
2051	  -* ) ac_must_keep_next=true ;;
2052	esac
2053      fi
2054      as_fn_append ac_configure_args " '$ac_arg'"
2055      ;;
2056    esac
2057  done
2058done
2059{ ac_configure_args0=; unset ac_configure_args0;}
2060{ ac_configure_args1=; unset ac_configure_args1;}
2061
2062# When interrupted or exit'd, cleanup temporary files, and complete
2063# config.log.  We remove comments because anyway the quotes in there
2064# would cause problems or look ugly.
2065# WARNING: Use '\'' to represent an apostrophe within the trap.
2066# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2067trap 'exit_status=$?
2068  # Save into config.log some information that might help in debugging.
2069  {
2070    echo
2071
2072    $as_echo "## ---------------- ##
2073## Cache variables. ##
2074## ---------------- ##"
2075    echo
2076    # The following way of writing the cache mishandles newlines in values,
2077(
2078  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2079    eval ac_val=\$$ac_var
2080    case $ac_val in #(
2081    *${as_nl}*)
2082      case $ac_var in #(
2083      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2084$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2085      esac
2086      case $ac_var in #(
2087      _ | IFS | as_nl) ;; #(
2088      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2089      *) { eval $ac_var=; unset $ac_var;} ;;
2090      esac ;;
2091    esac
2092  done
2093  (set) 2>&1 |
2094    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2095    *${as_nl}ac_space=\ *)
2096      sed -n \
2097	"s/'\''/'\''\\\\'\'''\''/g;
2098	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2099      ;; #(
2100    *)
2101      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2102      ;;
2103    esac |
2104    sort
2105)
2106    echo
2107
2108    $as_echo "## ----------------- ##
2109## Output variables. ##
2110## ----------------- ##"
2111    echo
2112    for ac_var in $ac_subst_vars
2113    do
2114      eval ac_val=\$$ac_var
2115      case $ac_val in
2116      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2117      esac
2118      $as_echo "$ac_var='\''$ac_val'\''"
2119    done | sort
2120    echo
2121
2122    if test -n "$ac_subst_files"; then
2123      $as_echo "## ------------------- ##
2124## File substitutions. ##
2125## ------------------- ##"
2126      echo
2127      for ac_var in $ac_subst_files
2128      do
2129	eval ac_val=\$$ac_var
2130	case $ac_val in
2131	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2132	esac
2133	$as_echo "$ac_var='\''$ac_val'\''"
2134      done | sort
2135      echo
2136    fi
2137
2138    if test -s confdefs.h; then
2139      $as_echo "## ----------- ##
2140## confdefs.h. ##
2141## ----------- ##"
2142      echo
2143      cat confdefs.h
2144      echo
2145    fi
2146    test "$ac_signal" != 0 &&
2147      $as_echo "$as_me: caught signal $ac_signal"
2148    $as_echo "$as_me: exit $exit_status"
2149  } >&5
2150  rm -f core *.core core.conftest.* &&
2151    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2152    exit $exit_status
2153' 0
2154for ac_signal in 1 2 13 15; do
2155  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2156done
2157ac_signal=0
2158
2159# confdefs.h avoids OS command line length limits that DEFS can exceed.
2160rm -f -r conftest* confdefs.h
2161
2162$as_echo "/* confdefs.h */" > confdefs.h
2163
2164# Predefined preprocessor variables.
2165
2166cat >>confdefs.h <<_ACEOF
2167#define PACKAGE_NAME "$PACKAGE_NAME"
2168_ACEOF
2169
2170cat >>confdefs.h <<_ACEOF
2171#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2172_ACEOF
2173
2174cat >>confdefs.h <<_ACEOF
2175#define PACKAGE_VERSION "$PACKAGE_VERSION"
2176_ACEOF
2177
2178cat >>confdefs.h <<_ACEOF
2179#define PACKAGE_STRING "$PACKAGE_STRING"
2180_ACEOF
2181
2182cat >>confdefs.h <<_ACEOF
2183#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2184_ACEOF
2185
2186cat >>confdefs.h <<_ACEOF
2187#define PACKAGE_URL "$PACKAGE_URL"
2188_ACEOF
2189
2190
2191# Let the site file select an alternate cache file if it wants to.
2192# Prefer an explicitly selected file to automatically selected ones.
2193ac_site_file1=NONE
2194ac_site_file2=NONE
2195if test -n "$CONFIG_SITE"; then
2196  # We do not want a PATH search for config.site.
2197  case $CONFIG_SITE in #((
2198    -*)  ac_site_file1=./$CONFIG_SITE;;
2199    */*) ac_site_file1=$CONFIG_SITE;;
2200    *)   ac_site_file1=./$CONFIG_SITE;;
2201  esac
2202elif test "x$prefix" != xNONE; then
2203  ac_site_file1=$prefix/share/config.site
2204  ac_site_file2=$prefix/etc/config.site
2205else
2206  ac_site_file1=$ac_default_prefix/share/config.site
2207  ac_site_file2=$ac_default_prefix/etc/config.site
2208fi
2209for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2210do
2211  test "x$ac_site_file" = xNONE && continue
2212  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2213    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2214$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2215    sed 's/^/| /' "$ac_site_file" >&5
2216    . "$ac_site_file" \
2217      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2218$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2219as_fn_error $? "failed to load site script $ac_site_file
2220See \`config.log' for more details" "$LINENO" 5; }
2221  fi
2222done
2223
2224if test -r "$cache_file"; then
2225  # Some versions of bash will fail to source /dev/null (special files
2226  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2227  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2228    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2229$as_echo "$as_me: loading cache $cache_file" >&6;}
2230    case $cache_file in
2231      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2232      *)                      . "./$cache_file";;
2233    esac
2234  fi
2235else
2236  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2237$as_echo "$as_me: creating cache $cache_file" >&6;}
2238  >$cache_file
2239fi
2240
2241# Check that the precious variables saved in the cache have kept the same
2242# value.
2243ac_cache_corrupted=false
2244for ac_var in $ac_precious_vars; do
2245  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2246  eval ac_new_set=\$ac_env_${ac_var}_set
2247  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2248  eval ac_new_val=\$ac_env_${ac_var}_value
2249  case $ac_old_set,$ac_new_set in
2250    set,)
2251      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2252$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2253      ac_cache_corrupted=: ;;
2254    ,set)
2255      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2256$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2257      ac_cache_corrupted=: ;;
2258    ,);;
2259    *)
2260      if test "x$ac_old_val" != "x$ac_new_val"; then
2261	# differences in whitespace do not lead to failure.
2262	ac_old_val_w=`echo x $ac_old_val`
2263	ac_new_val_w=`echo x $ac_new_val`
2264	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2265	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2266$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2267	  ac_cache_corrupted=:
2268	else
2269	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2270$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2271	  eval $ac_var=\$ac_old_val
2272	fi
2273	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2274$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2275	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2276$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2277      fi;;
2278  esac
2279  # Pass precious variables to config.status.
2280  if test "$ac_new_set" = set; then
2281    case $ac_new_val in
2282    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2283    *) ac_arg=$ac_var=$ac_new_val ;;
2284    esac
2285    case " $ac_configure_args " in
2286      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2287      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2288    esac
2289  fi
2290done
2291if $ac_cache_corrupted; then
2292  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2293$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2294  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2295$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2296  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2297fi
2298## -------------------- ##
2299## Main body of script. ##
2300## -------------------- ##
2301
2302ac_ext=c
2303ac_cpp='$CPP $CPPFLAGS'
2304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2306ac_compiler_gnu=$ac_cv_c_compiler_gnu
2307
2308
2309
2310
2311LIBGNOMECANVAS_MAJOR_VERSION=2
2312LIBGNOMECANVAS_MINOR_VERSION=30
2313LIBGNOMECANVAS_MICRO_VERSION=3
2314LIBGNOMECANVAS_INTERFACE_AGE=3
2315
2316
2317LIBGNOMECANVAS_CURRENT=3000
2318LIBGNOMECANVAS_REVISION=3
2319LIBGNOMECANVAS_AGE=3000
2320LIBGNOMECANVAS_CURRENT_MINUS_AGE=0
2321
2322
2323
2324
2325
2326
2327am__api_version='1.11'
2328
2329ac_aux_dir=
2330for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2331  if test -f "$ac_dir/install-sh"; then
2332    ac_aux_dir=$ac_dir
2333    ac_install_sh="$ac_aux_dir/install-sh -c"
2334    break
2335  elif test -f "$ac_dir/install.sh"; then
2336    ac_aux_dir=$ac_dir
2337    ac_install_sh="$ac_aux_dir/install.sh -c"
2338    break
2339  elif test -f "$ac_dir/shtool"; then
2340    ac_aux_dir=$ac_dir
2341    ac_install_sh="$ac_aux_dir/shtool install -c"
2342    break
2343  fi
2344done
2345if test -z "$ac_aux_dir"; then
2346  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2347fi
2348
2349# These three variables are undocumented and unsupported,
2350# and are intended to be withdrawn in a future Autoconf release.
2351# They can cause serious problems if a builder's source tree is in a directory
2352# whose full name contains unusual characters.
2353ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2354ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2355ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2356
2357
2358# Find a good install program.  We prefer a C program (faster),
2359# so one script is as good as another.  But avoid the broken or
2360# incompatible versions:
2361# SysV /etc/install, /usr/sbin/install
2362# SunOS /usr/etc/install
2363# IRIX /sbin/install
2364# AIX /bin/install
2365# AmigaOS /C/install, which installs bootblocks on floppy discs
2366# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2367# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2368# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2369# OS/2's system install, which has a completely different semantic
2370# ./install, which can be erroneously created by make from ./install.sh.
2371# Reject install programs that cannot install multiple files.
2372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2373$as_echo_n "checking for a BSD-compatible install... " >&6; }
2374if test -z "$INSTALL"; then
2375if ${ac_cv_path_install+:} false; then :
2376  $as_echo_n "(cached) " >&6
2377else
2378  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379for as_dir in $PATH
2380do
2381  IFS=$as_save_IFS
2382  test -z "$as_dir" && as_dir=.
2383    # Account for people who put trailing slashes in PATH elements.
2384case $as_dir/ in #((
2385  ./ | .// | /[cC]/* | \
2386  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2387  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2388  /usr/ucb/* ) ;;
2389  *)
2390    # OSF1 and SCO ODT 3.0 have their own names for install.
2391    # Don't use installbsd from OSF since it installs stuff as root
2392    # by default.
2393    for ac_prog in ginstall scoinst install; do
2394      for ac_exec_ext in '' $ac_executable_extensions; do
2395	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2396	  if test $ac_prog = install &&
2397	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2398	    # AIX install.  It has an incompatible calling convention.
2399	    :
2400	  elif test $ac_prog = install &&
2401	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2402	    # program-specific install script used by HP pwplus--don't use.
2403	    :
2404	  else
2405	    rm -rf conftest.one conftest.two conftest.dir
2406	    echo one > conftest.one
2407	    echo two > conftest.two
2408	    mkdir conftest.dir
2409	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2410	      test -s conftest.one && test -s conftest.two &&
2411	      test -s conftest.dir/conftest.one &&
2412	      test -s conftest.dir/conftest.two
2413	    then
2414	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2415	      break 3
2416	    fi
2417	  fi
2418	fi
2419      done
2420    done
2421    ;;
2422esac
2423
2424  done
2425IFS=$as_save_IFS
2426
2427rm -rf conftest.one conftest.two conftest.dir
2428
2429fi
2430  if test "${ac_cv_path_install+set}" = set; then
2431    INSTALL=$ac_cv_path_install
2432  else
2433    # As a last resort, use the slow shell script.  Don't cache a
2434    # value for INSTALL within a source directory, because that will
2435    # break other packages using the cache if that directory is
2436    # removed, or if the value is a relative name.
2437    INSTALL=$ac_install_sh
2438  fi
2439fi
2440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2441$as_echo "$INSTALL" >&6; }
2442
2443# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2444# It thinks the first close brace ends the variable substitution.
2445test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2446
2447test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2448
2449test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2450
2451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2452$as_echo_n "checking whether build environment is sane... " >&6; }
2453# Just in case
2454sleep 1
2455echo timestamp > conftest.file
2456# Reject unsafe characters in $srcdir or the absolute working directory
2457# name.  Accept space and tab only in the latter.
2458am_lf='
2459'
2460case `pwd` in
2461  *[\\\"\#\$\&\'\`$am_lf]*)
2462    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2463esac
2464case $srcdir in
2465  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2466    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2467esac
2468
2469# Do `set' in a subshell so we don't clobber the current shell's
2470# arguments.  Must try -L first in case configure is actually a
2471# symlink; some systems play weird games with the mod time of symlinks
2472# (eg FreeBSD returns the mod time of the symlink's containing
2473# directory).
2474if (
2475   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2476   if test "$*" = "X"; then
2477      # -L didn't work.
2478      set X `ls -t "$srcdir/configure" conftest.file`
2479   fi
2480   rm -f conftest.file
2481   if test "$*" != "X $srcdir/configure conftest.file" \
2482      && test "$*" != "X conftest.file $srcdir/configure"; then
2483
2484      # If neither matched, then we have a broken ls.  This can happen
2485      # if, for instance, CONFIG_SHELL is bash and it inherits a
2486      # broken ls alias from the environment.  This has actually
2487      # happened.  Such a system could not be considered "sane".
2488      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2489alias in your environment" "$LINENO" 5
2490   fi
2491
2492   test "$2" = conftest.file
2493   )
2494then
2495   # Ok.
2496   :
2497else
2498   as_fn_error $? "newly created file is older than distributed files!
2499Check your system clock" "$LINENO" 5
2500fi
2501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2502$as_echo "yes" >&6; }
2503test "$program_prefix" != NONE &&
2504  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2505# Use a double $ so make ignores it.
2506test "$program_suffix" != NONE &&
2507  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2508# Double any \ or $.
2509# By default was `s,x,x', remove it if useless.
2510ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2511program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2512
2513# expand $ac_aux_dir to an absolute path
2514am_aux_dir=`cd $ac_aux_dir && pwd`
2515
2516if test x"${MISSING+set}" != xset; then
2517  case $am_aux_dir in
2518  *\ * | *\	*)
2519    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2520  *)
2521    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2522  esac
2523fi
2524# Use eval to expand $SHELL
2525if eval "$MISSING --run true"; then
2526  am_missing_run="$MISSING --run "
2527else
2528  am_missing_run=
2529  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2530$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2531fi
2532
2533if test x"${install_sh}" != xset; then
2534  case $am_aux_dir in
2535  *\ * | *\	*)
2536    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2537  *)
2538    install_sh="\${SHELL} $am_aux_dir/install-sh"
2539  esac
2540fi
2541
2542# Installed binaries are usually stripped using `strip' when the user
2543# run `make install-strip'.  However `strip' might not be the right
2544# tool to use in cross-compilation environments, therefore Automake
2545# will honor the `STRIP' environment variable to overrule this program.
2546if test "$cross_compiling" != no; then
2547  if test -n "$ac_tool_prefix"; then
2548  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2549set dummy ${ac_tool_prefix}strip; ac_word=$2
2550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2551$as_echo_n "checking for $ac_word... " >&6; }
2552if ${ac_cv_prog_STRIP+:} false; then :
2553  $as_echo_n "(cached) " >&6
2554else
2555  if test -n "$STRIP"; then
2556  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2557else
2558as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559for as_dir in $PATH
2560do
2561  IFS=$as_save_IFS
2562  test -z "$as_dir" && as_dir=.
2563    for ac_exec_ext in '' $ac_executable_extensions; do
2564  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2565    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2566    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2567    break 2
2568  fi
2569done
2570  done
2571IFS=$as_save_IFS
2572
2573fi
2574fi
2575STRIP=$ac_cv_prog_STRIP
2576if test -n "$STRIP"; then
2577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2578$as_echo "$STRIP" >&6; }
2579else
2580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581$as_echo "no" >&6; }
2582fi
2583
2584
2585fi
2586if test -z "$ac_cv_prog_STRIP"; then
2587  ac_ct_STRIP=$STRIP
2588  # Extract the first word of "strip", so it can be a program name with args.
2589set dummy strip; ac_word=$2
2590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2591$as_echo_n "checking for $ac_word... " >&6; }
2592if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2593  $as_echo_n "(cached) " >&6
2594else
2595  if test -n "$ac_ct_STRIP"; then
2596  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2597else
2598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599for as_dir in $PATH
2600do
2601  IFS=$as_save_IFS
2602  test -z "$as_dir" && as_dir=.
2603    for ac_exec_ext in '' $ac_executable_extensions; do
2604  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2605    ac_cv_prog_ac_ct_STRIP="strip"
2606    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607    break 2
2608  fi
2609done
2610  done
2611IFS=$as_save_IFS
2612
2613fi
2614fi
2615ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2616if test -n "$ac_ct_STRIP"; then
2617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2618$as_echo "$ac_ct_STRIP" >&6; }
2619else
2620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2621$as_echo "no" >&6; }
2622fi
2623
2624  if test "x$ac_ct_STRIP" = x; then
2625    STRIP=":"
2626  else
2627    case $cross_compiling:$ac_tool_warned in
2628yes:)
2629{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2630$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2631ac_tool_warned=yes ;;
2632esac
2633    STRIP=$ac_ct_STRIP
2634  fi
2635else
2636  STRIP="$ac_cv_prog_STRIP"
2637fi
2638
2639fi
2640INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2641
2642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2643$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2644if test -z "$MKDIR_P"; then
2645  if ${ac_cv_path_mkdir+:} false; then :
2646  $as_echo_n "(cached) " >&6
2647else
2648  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2650do
2651  IFS=$as_save_IFS
2652  test -z "$as_dir" && as_dir=.
2653    for ac_prog in mkdir gmkdir; do
2654	 for ac_exec_ext in '' $ac_executable_extensions; do
2655	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2656	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2657	     'mkdir (GNU coreutils) '* | \
2658	     'mkdir (coreutils) '* | \
2659	     'mkdir (fileutils) '4.1*)
2660	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2661	       break 3;;
2662	   esac
2663	 done
2664       done
2665  done
2666IFS=$as_save_IFS
2667
2668fi
2669
2670  test -d ./--version && rmdir ./--version
2671  if test "${ac_cv_path_mkdir+set}" = set; then
2672    MKDIR_P="$ac_cv_path_mkdir -p"
2673  else
2674    # As a last resort, use the slow shell script.  Don't cache a
2675    # value for MKDIR_P within a source directory, because that will
2676    # break other packages using the cache if that directory is
2677    # removed, or if the value is a relative name.
2678    MKDIR_P="$ac_install_sh -d"
2679  fi
2680fi
2681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2682$as_echo "$MKDIR_P" >&6; }
2683
2684mkdir_p="$MKDIR_P"
2685case $mkdir_p in
2686  [\\/$]* | ?:[\\/]*) ;;
2687  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2688esac
2689
2690for ac_prog in gawk mawk nawk awk
2691do
2692  # Extract the first word of "$ac_prog", so it can be a program name with args.
2693set dummy $ac_prog; ac_word=$2
2694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695$as_echo_n "checking for $ac_word... " >&6; }
2696if ${ac_cv_prog_AWK+:} false; then :
2697  $as_echo_n "(cached) " >&6
2698else
2699  if test -n "$AWK"; then
2700  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2701else
2702as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703for as_dir in $PATH
2704do
2705  IFS=$as_save_IFS
2706  test -z "$as_dir" && as_dir=.
2707    for ac_exec_ext in '' $ac_executable_extensions; do
2708  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709    ac_cv_prog_AWK="$ac_prog"
2710    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711    break 2
2712  fi
2713done
2714  done
2715IFS=$as_save_IFS
2716
2717fi
2718fi
2719AWK=$ac_cv_prog_AWK
2720if test -n "$AWK"; then
2721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2722$as_echo "$AWK" >&6; }
2723else
2724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725$as_echo "no" >&6; }
2726fi
2727
2728
2729  test -n "$AWK" && break
2730done
2731
2732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2733$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2734set x ${MAKE-make}
2735ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2736if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2737  $as_echo_n "(cached) " >&6
2738else
2739  cat >conftest.make <<\_ACEOF
2740SHELL = /bin/sh
2741all:
2742	@echo '@@@%%%=$(MAKE)=@@@%%%'
2743_ACEOF
2744# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2745case `${MAKE-make} -f conftest.make 2>/dev/null` in
2746  *@@@%%%=?*=@@@%%%*)
2747    eval ac_cv_prog_make_${ac_make}_set=yes;;
2748  *)
2749    eval ac_cv_prog_make_${ac_make}_set=no;;
2750esac
2751rm -f conftest.make
2752fi
2753if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2755$as_echo "yes" >&6; }
2756  SET_MAKE=
2757else
2758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759$as_echo "no" >&6; }
2760  SET_MAKE="MAKE=${MAKE-make}"
2761fi
2762
2763rm -rf .tst 2>/dev/null
2764mkdir .tst 2>/dev/null
2765if test -d .tst; then
2766  am__leading_dot=.
2767else
2768  am__leading_dot=_
2769fi
2770rmdir .tst 2>/dev/null
2771
2772if test "`cd $srcdir && pwd`" != "`pwd`"; then
2773  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2774  # is not polluted with repeated "-I."
2775  am__isrc=' -I$(srcdir)'
2776  # test to see if srcdir already configured
2777  if test -f $srcdir/config.status; then
2778    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2779  fi
2780fi
2781
2782# test whether we have cygpath
2783if test -z "$CYGPATH_W"; then
2784  if (cygpath --version) >/dev/null 2>/dev/null; then
2785    CYGPATH_W='cygpath -w'
2786  else
2787    CYGPATH_W=echo
2788  fi
2789fi
2790
2791
2792# Define the identity of the package.
2793 PACKAGE='libgnomecanvas'
2794 VERSION='2.30.3'
2795
2796
2797cat >>confdefs.h <<_ACEOF
2798#define PACKAGE "$PACKAGE"
2799_ACEOF
2800
2801
2802cat >>confdefs.h <<_ACEOF
2803#define VERSION "$VERSION"
2804_ACEOF
2805
2806# Some tools Automake needs.
2807
2808ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2809
2810
2811AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2812
2813
2814AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2815
2816
2817AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2818
2819
2820MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2821
2822# We need awk for the "check" target.  The system "awk" is bad on
2823# some platforms.
2824# Always define AMTAR for backward compatibility.
2825
2826AMTAR=${AMTAR-"${am_missing_run}tar"}
2827
2828am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2829
2830
2831
2832
2833
2834ac_config_headers="$ac_config_headers config.h"
2835
2836
2837
2838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2839$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2840    # Check whether --enable-maintainer-mode was given.
2841if test "${enable_maintainer_mode+set}" = set; then :
2842  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2843else
2844  USE_MAINTAINER_MODE=no
2845fi
2846
2847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2848$as_echo "$USE_MAINTAINER_MODE" >&6; }
2849   if test $USE_MAINTAINER_MODE = yes; then
2850  MAINTAINER_MODE_TRUE=
2851  MAINTAINER_MODE_FALSE='#'
2852else
2853  MAINTAINER_MODE_TRUE='#'
2854  MAINTAINER_MODE_FALSE=
2855fi
2856
2857  MAINT=$MAINTAINER_MODE_TRUE
2858
2859
2860
2861ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
2862
2863
2864DEPDIR="${am__leading_dot}deps"
2865
2866ac_config_commands="$ac_config_commands depfiles"
2867
2868
2869am_make=${MAKE-make}
2870cat > confinc << 'END'
2871am__doit:
2872	@echo this is the am__doit target
2873.PHONY: am__doit
2874END
2875# If we don't find an include directive, just comment out the code.
2876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2877$as_echo_n "checking for style of include used by $am_make... " >&6; }
2878am__include="#"
2879am__quote=
2880_am_result=none
2881# First try GNU make style include.
2882echo "include confinc" > confmf
2883# Ignore all kinds of additional output from `make'.
2884case `$am_make -s -f confmf 2> /dev/null` in #(
2885*the\ am__doit\ target*)
2886  am__include=include
2887  am__quote=
2888  _am_result=GNU
2889  ;;
2890esac
2891# Now try BSD make style include.
2892if test "$am__include" = "#"; then
2893   echo '.include "confinc"' > confmf
2894   case `$am_make -s -f confmf 2> /dev/null` in #(
2895   *the\ am__doit\ target*)
2896     am__include=.include
2897     am__quote="\""
2898     _am_result=BSD
2899     ;;
2900   esac
2901fi
2902
2903
2904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2905$as_echo "$_am_result" >&6; }
2906rm -f confinc confmf
2907
2908# Check whether --enable-dependency-tracking was given.
2909if test "${enable_dependency_tracking+set}" = set; then :
2910  enableval=$enable_dependency_tracking;
2911fi
2912
2913if test "x$enable_dependency_tracking" != xno; then
2914  am_depcomp="$ac_aux_dir/depcomp"
2915  AMDEPBACKSLASH='\'
2916fi
2917 if test "x$enable_dependency_tracking" != xno; then
2918  AMDEP_TRUE=
2919  AMDEP_FALSE='#'
2920else
2921  AMDEP_TRUE='#'
2922  AMDEP_FALSE=
2923fi
2924
2925
2926ac_ext=c
2927ac_cpp='$CPP $CPPFLAGS'
2928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2929ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2930ac_compiler_gnu=$ac_cv_c_compiler_gnu
2931if test -n "$ac_tool_prefix"; then
2932  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2933set dummy ${ac_tool_prefix}gcc; ac_word=$2
2934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935$as_echo_n "checking for $ac_word... " >&6; }
2936if ${ac_cv_prog_CC+:} false; then :
2937  $as_echo_n "(cached) " >&6
2938else
2939  if test -n "$CC"; then
2940  ac_cv_prog_CC="$CC" # Let the user override the test.
2941else
2942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943for as_dir in $PATH
2944do
2945  IFS=$as_save_IFS
2946  test -z "$as_dir" && as_dir=.
2947    for ac_exec_ext in '' $ac_executable_extensions; do
2948  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2950    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951    break 2
2952  fi
2953done
2954  done
2955IFS=$as_save_IFS
2956
2957fi
2958fi
2959CC=$ac_cv_prog_CC
2960if test -n "$CC"; then
2961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2962$as_echo "$CC" >&6; }
2963else
2964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965$as_echo "no" >&6; }
2966fi
2967
2968
2969fi
2970if test -z "$ac_cv_prog_CC"; then
2971  ac_ct_CC=$CC
2972  # Extract the first word of "gcc", so it can be a program name with args.
2973set dummy gcc; ac_word=$2
2974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975$as_echo_n "checking for $ac_word... " >&6; }
2976if ${ac_cv_prog_ac_ct_CC+:} false; then :
2977  $as_echo_n "(cached) " >&6
2978else
2979  if test -n "$ac_ct_CC"; then
2980  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2981else
2982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2983for as_dir in $PATH
2984do
2985  IFS=$as_save_IFS
2986  test -z "$as_dir" && as_dir=.
2987    for ac_exec_ext in '' $ac_executable_extensions; do
2988  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2989    ac_cv_prog_ac_ct_CC="gcc"
2990    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991    break 2
2992  fi
2993done
2994  done
2995IFS=$as_save_IFS
2996
2997fi
2998fi
2999ac_ct_CC=$ac_cv_prog_ac_ct_CC
3000if test -n "$ac_ct_CC"; then
3001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3002$as_echo "$ac_ct_CC" >&6; }
3003else
3004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005$as_echo "no" >&6; }
3006fi
3007
3008  if test "x$ac_ct_CC" = x; then
3009    CC=""
3010  else
3011    case $cross_compiling:$ac_tool_warned in
3012yes:)
3013{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3014$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3015ac_tool_warned=yes ;;
3016esac
3017    CC=$ac_ct_CC
3018  fi
3019else
3020  CC="$ac_cv_prog_CC"
3021fi
3022
3023if test -z "$CC"; then
3024          if test -n "$ac_tool_prefix"; then
3025    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3026set dummy ${ac_tool_prefix}cc; ac_word=$2
3027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028$as_echo_n "checking for $ac_word... " >&6; }
3029if ${ac_cv_prog_CC+:} false; then :
3030  $as_echo_n "(cached) " >&6
3031else
3032  if test -n "$CC"; then
3033  ac_cv_prog_CC="$CC" # Let the user override the test.
3034else
3035as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036for as_dir in $PATH
3037do
3038  IFS=$as_save_IFS
3039  test -z "$as_dir" && as_dir=.
3040    for ac_exec_ext in '' $ac_executable_extensions; do
3041  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042    ac_cv_prog_CC="${ac_tool_prefix}cc"
3043    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044    break 2
3045  fi
3046done
3047  done
3048IFS=$as_save_IFS
3049
3050fi
3051fi
3052CC=$ac_cv_prog_CC
3053if test -n "$CC"; then
3054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3055$as_echo "$CC" >&6; }
3056else
3057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058$as_echo "no" >&6; }
3059fi
3060
3061
3062  fi
3063fi
3064if test -z "$CC"; then
3065  # Extract the first word of "cc", so it can be a program name with args.
3066set dummy cc; ac_word=$2
3067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068$as_echo_n "checking for $ac_word... " >&6; }
3069if ${ac_cv_prog_CC+:} false; then :
3070  $as_echo_n "(cached) " >&6
3071else
3072  if test -n "$CC"; then
3073  ac_cv_prog_CC="$CC" # Let the user override the test.
3074else
3075  ac_prog_rejected=no
3076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077for as_dir in $PATH
3078do
3079  IFS=$as_save_IFS
3080  test -z "$as_dir" && as_dir=.
3081    for ac_exec_ext in '' $ac_executable_extensions; do
3082  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3083    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3084       ac_prog_rejected=yes
3085       continue
3086     fi
3087    ac_cv_prog_CC="cc"
3088    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089    break 2
3090  fi
3091done
3092  done
3093IFS=$as_save_IFS
3094
3095if test $ac_prog_rejected = yes; then
3096  # We found a bogon in the path, so make sure we never use it.
3097  set dummy $ac_cv_prog_CC
3098  shift
3099  if test $# != 0; then
3100    # We chose a different compiler from the bogus one.
3101    # However, it has the same basename, so the bogon will be chosen
3102    # first if we set CC to just the basename; use the full file name.
3103    shift
3104    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3105  fi
3106fi
3107fi
3108fi
3109CC=$ac_cv_prog_CC
3110if test -n "$CC"; then
3111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3112$as_echo "$CC" >&6; }
3113else
3114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115$as_echo "no" >&6; }
3116fi
3117
3118
3119fi
3120if test -z "$CC"; then
3121  if test -n "$ac_tool_prefix"; then
3122  for ac_prog in cl.exe
3123  do
3124    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3125set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127$as_echo_n "checking for $ac_word... " >&6; }
3128if ${ac_cv_prog_CC+:} false; then :
3129  $as_echo_n "(cached) " >&6
3130else
3131  if test -n "$CC"; then
3132  ac_cv_prog_CC="$CC" # Let the user override the test.
3133else
3134as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135for as_dir in $PATH
3136do
3137  IFS=$as_save_IFS
3138  test -z "$as_dir" && as_dir=.
3139    for ac_exec_ext in '' $ac_executable_extensions; do
3140  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3141    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3142    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3143    break 2
3144  fi
3145done
3146  done
3147IFS=$as_save_IFS
3148
3149fi
3150fi
3151CC=$ac_cv_prog_CC
3152if test -n "$CC"; then
3153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3154$as_echo "$CC" >&6; }
3155else
3156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3157$as_echo "no" >&6; }
3158fi
3159
3160
3161    test -n "$CC" && break
3162  done
3163fi
3164if test -z "$CC"; then
3165  ac_ct_CC=$CC
3166  for ac_prog in cl.exe
3167do
3168  # Extract the first word of "$ac_prog", so it can be a program name with args.
3169set dummy $ac_prog; ac_word=$2
3170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171$as_echo_n "checking for $ac_word... " >&6; }
3172if ${ac_cv_prog_ac_ct_CC+:} false; then :
3173  $as_echo_n "(cached) " >&6
3174else
3175  if test -n "$ac_ct_CC"; then
3176  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3177else
3178as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179for as_dir in $PATH
3180do
3181  IFS=$as_save_IFS
3182  test -z "$as_dir" && as_dir=.
3183    for ac_exec_ext in '' $ac_executable_extensions; do
3184  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3185    ac_cv_prog_ac_ct_CC="$ac_prog"
3186    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187    break 2
3188  fi
3189done
3190  done
3191IFS=$as_save_IFS
3192
3193fi
3194fi
3195ac_ct_CC=$ac_cv_prog_ac_ct_CC
3196if test -n "$ac_ct_CC"; then
3197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3198$as_echo "$ac_ct_CC" >&6; }
3199else
3200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201$as_echo "no" >&6; }
3202fi
3203
3204
3205  test -n "$ac_ct_CC" && break
3206done
3207
3208  if test "x$ac_ct_CC" = x; then
3209    CC=""
3210  else
3211    case $cross_compiling:$ac_tool_warned in
3212yes:)
3213{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3214$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3215ac_tool_warned=yes ;;
3216esac
3217    CC=$ac_ct_CC
3218  fi
3219fi
3220
3221fi
3222
3223
3224test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3225$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3226as_fn_error $? "no acceptable C compiler found in \$PATH
3227See \`config.log' for more details" "$LINENO" 5; }
3228
3229# Provide some information about the compiler.
3230$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3231set X $ac_compile
3232ac_compiler=$2
3233for ac_option in --version -v -V -qversion; do
3234  { { ac_try="$ac_compiler $ac_option >&5"
3235case "(($ac_try" in
3236  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237  *) ac_try_echo=$ac_try;;
3238esac
3239eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3240$as_echo "$ac_try_echo"; } >&5
3241  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3242  ac_status=$?
3243  if test -s conftest.err; then
3244    sed '10a\
3245... rest of stderr output deleted ...
3246         10q' conftest.err >conftest.er1
3247    cat conftest.er1 >&5
3248  fi
3249  rm -f conftest.er1 conftest.err
3250  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3251  test $ac_status = 0; }
3252done
3253
3254cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3255/* end confdefs.h.  */
3256
3257int
3258main ()
3259{
3260
3261  ;
3262  return 0;
3263}
3264_ACEOF
3265ac_clean_files_save=$ac_clean_files
3266ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3267# Try to create an executable without -o first, disregard a.out.
3268# It will help us diagnose broken compilers, and finding out an intuition
3269# of exeext.
3270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3271$as_echo_n "checking whether the C compiler works... " >&6; }
3272ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3273
3274# The possible output files:
3275ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3276
3277ac_rmfiles=
3278for ac_file in $ac_files
3279do
3280  case $ac_file in
3281    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3282    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3283  esac
3284done
3285rm -f $ac_rmfiles
3286
3287if { { ac_try="$ac_link_default"
3288case "(($ac_try" in
3289  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290  *) ac_try_echo=$ac_try;;
3291esac
3292eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3293$as_echo "$ac_try_echo"; } >&5
3294  (eval "$ac_link_default") 2>&5
3295  ac_status=$?
3296  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3297  test $ac_status = 0; }; then :
3298  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3299# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3300# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3301# so that the user can short-circuit this test for compilers unknown to
3302# Autoconf.
3303for ac_file in $ac_files ''
3304do
3305  test -f "$ac_file" || continue
3306  case $ac_file in
3307    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3308	;;
3309    [ab].out )
3310	# We found the default executable, but exeext='' is most
3311	# certainly right.
3312	break;;
3313    *.* )
3314	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3315	then :; else
3316	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3317	fi
3318	# We set ac_cv_exeext here because the later test for it is not
3319	# safe: cross compilers may not add the suffix if given an `-o'
3320	# argument, so we may need to know it at that point already.
3321	# Even if this section looks crufty: it has the advantage of
3322	# actually working.
3323	break;;
3324    * )
3325	break;;
3326  esac
3327done
3328test "$ac_cv_exeext" = no && ac_cv_exeext=
3329
3330else
3331  ac_file=''
3332fi
3333if test -z "$ac_file"; then :
3334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335$as_echo "no" >&6; }
3336$as_echo "$as_me: failed program was:" >&5
3337sed 's/^/| /' conftest.$ac_ext >&5
3338
3339{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3340$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3341as_fn_error 77 "C compiler cannot create executables
3342See \`config.log' for more details" "$LINENO" 5; }
3343else
3344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3345$as_echo "yes" >&6; }
3346fi
3347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3348$as_echo_n "checking for C compiler default output file name... " >&6; }
3349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3350$as_echo "$ac_file" >&6; }
3351ac_exeext=$ac_cv_exeext
3352
3353rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3354ac_clean_files=$ac_clean_files_save
3355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3356$as_echo_n "checking for suffix of executables... " >&6; }
3357if { { ac_try="$ac_link"
3358case "(($ac_try" in
3359  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360  *) ac_try_echo=$ac_try;;
3361esac
3362eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3363$as_echo "$ac_try_echo"; } >&5
3364  (eval "$ac_link") 2>&5
3365  ac_status=$?
3366  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3367  test $ac_status = 0; }; then :
3368  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3369# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3370# work properly (i.e., refer to `conftest.exe'), while it won't with
3371# `rm'.
3372for ac_file in conftest.exe conftest conftest.*; do
3373  test -f "$ac_file" || continue
3374  case $ac_file in
3375    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3376    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3377	  break;;
3378    * ) break;;
3379  esac
3380done
3381else
3382  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3383$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3384as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3385See \`config.log' for more details" "$LINENO" 5; }
3386fi
3387rm -f conftest conftest$ac_cv_exeext
3388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3389$as_echo "$ac_cv_exeext" >&6; }
3390
3391rm -f conftest.$ac_ext
3392EXEEXT=$ac_cv_exeext
3393ac_exeext=$EXEEXT
3394cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395/* end confdefs.h.  */
3396#include <stdio.h>
3397int
3398main ()
3399{
3400FILE *f = fopen ("conftest.out", "w");
3401 return ferror (f) || fclose (f) != 0;
3402
3403  ;
3404  return 0;
3405}
3406_ACEOF
3407ac_clean_files="$ac_clean_files conftest.out"
3408# Check that the compiler produces executables we can run.  If not, either
3409# the compiler is broken, or we cross compile.
3410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3411$as_echo_n "checking whether we are cross compiling... " >&6; }
3412if test "$cross_compiling" != yes; then
3413  { { ac_try="$ac_link"
3414case "(($ac_try" in
3415  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416  *) ac_try_echo=$ac_try;;
3417esac
3418eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419$as_echo "$ac_try_echo"; } >&5
3420  (eval "$ac_link") 2>&5
3421  ac_status=$?
3422  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423  test $ac_status = 0; }
3424  if { ac_try='./conftest$ac_cv_exeext'
3425  { { case "(($ac_try" in
3426  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3427  *) ac_try_echo=$ac_try;;
3428esac
3429eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3430$as_echo "$ac_try_echo"; } >&5
3431  (eval "$ac_try") 2>&5
3432  ac_status=$?
3433  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3434  test $ac_status = 0; }; }; then
3435    cross_compiling=no
3436  else
3437    if test "$cross_compiling" = maybe; then
3438	cross_compiling=yes
3439    else
3440	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3441$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3442as_fn_error $? "cannot run C compiled programs.
3443If you meant to cross compile, use \`--host'.
3444See \`config.log' for more details" "$LINENO" 5; }
3445    fi
3446  fi
3447fi
3448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3449$as_echo "$cross_compiling" >&6; }
3450
3451rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3452ac_clean_files=$ac_clean_files_save
3453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3454$as_echo_n "checking for suffix of object files... " >&6; }
3455if ${ac_cv_objext+:} false; then :
3456  $as_echo_n "(cached) " >&6
3457else
3458  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459/* end confdefs.h.  */
3460
3461int
3462main ()
3463{
3464
3465  ;
3466  return 0;
3467}
3468_ACEOF
3469rm -f conftest.o conftest.obj
3470if { { ac_try="$ac_compile"
3471case "(($ac_try" in
3472  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473  *) ac_try_echo=$ac_try;;
3474esac
3475eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3476$as_echo "$ac_try_echo"; } >&5
3477  (eval "$ac_compile") 2>&5
3478  ac_status=$?
3479  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480  test $ac_status = 0; }; then :
3481  for ac_file in conftest.o conftest.obj conftest.*; do
3482  test -f "$ac_file" || continue;
3483  case $ac_file in
3484    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3485    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3486       break;;
3487  esac
3488done
3489else
3490  $as_echo "$as_me: failed program was:" >&5
3491sed 's/^/| /' conftest.$ac_ext >&5
3492
3493{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3494$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3495as_fn_error $? "cannot compute suffix of object files: cannot compile
3496See \`config.log' for more details" "$LINENO" 5; }
3497fi
3498rm -f conftest.$ac_cv_objext conftest.$ac_ext
3499fi
3500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3501$as_echo "$ac_cv_objext" >&6; }
3502OBJEXT=$ac_cv_objext
3503ac_objext=$OBJEXT
3504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3505$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3506if ${ac_cv_c_compiler_gnu+:} false; then :
3507  $as_echo_n "(cached) " >&6
3508else
3509  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3510/* end confdefs.h.  */
3511
3512int
3513main ()
3514{
3515#ifndef __GNUC__
3516       choke me
3517#endif
3518
3519  ;
3520  return 0;
3521}
3522_ACEOF
3523if ac_fn_c_try_compile "$LINENO"; then :
3524  ac_compiler_gnu=yes
3525else
3526  ac_compiler_gnu=no
3527fi
3528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529ac_cv_c_compiler_gnu=$ac_compiler_gnu
3530
3531fi
3532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3533$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3534if test $ac_compiler_gnu = yes; then
3535  GCC=yes
3536else
3537  GCC=
3538fi
3539ac_test_CFLAGS=${CFLAGS+set}
3540ac_save_CFLAGS=$CFLAGS
3541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3542$as_echo_n "checking whether $CC accepts -g... " >&6; }
3543if ${ac_cv_prog_cc_g+:} false; then :
3544  $as_echo_n "(cached) " >&6
3545else
3546  ac_save_c_werror_flag=$ac_c_werror_flag
3547   ac_c_werror_flag=yes
3548   ac_cv_prog_cc_g=no
3549   CFLAGS="-g"
3550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551/* end confdefs.h.  */
3552
3553int
3554main ()
3555{
3556
3557  ;
3558  return 0;
3559}
3560_ACEOF
3561if ac_fn_c_try_compile "$LINENO"; then :
3562  ac_cv_prog_cc_g=yes
3563else
3564  CFLAGS=""
3565      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566/* end confdefs.h.  */
3567
3568int
3569main ()
3570{
3571
3572  ;
3573  return 0;
3574}
3575_ACEOF
3576if ac_fn_c_try_compile "$LINENO"; then :
3577
3578else
3579  ac_c_werror_flag=$ac_save_c_werror_flag
3580	 CFLAGS="-g"
3581	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582/* end confdefs.h.  */
3583
3584int
3585main ()
3586{
3587
3588  ;
3589  return 0;
3590}
3591_ACEOF
3592if ac_fn_c_try_compile "$LINENO"; then :
3593  ac_cv_prog_cc_g=yes
3594fi
3595rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3596fi
3597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598fi
3599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600   ac_c_werror_flag=$ac_save_c_werror_flag
3601fi
3602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3603$as_echo "$ac_cv_prog_cc_g" >&6; }
3604if test "$ac_test_CFLAGS" = set; then
3605  CFLAGS=$ac_save_CFLAGS
3606elif test $ac_cv_prog_cc_g = yes; then
3607  if test "$GCC" = yes; then
3608    CFLAGS="-g -O2"
3609  else
3610    CFLAGS="-g"
3611  fi
3612else
3613  if test "$GCC" = yes; then
3614    CFLAGS="-O2"
3615  else
3616    CFLAGS=
3617  fi
3618fi
3619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3620$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3621if ${ac_cv_prog_cc_c89+:} false; then :
3622  $as_echo_n "(cached) " >&6
3623else
3624  ac_cv_prog_cc_c89=no
3625ac_save_CC=$CC
3626cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627/* end confdefs.h.  */
3628#include <stdarg.h>
3629#include <stdio.h>
3630#include <sys/types.h>
3631#include <sys/stat.h>
3632/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3633struct buf { int x; };
3634FILE * (*rcsopen) (struct buf *, struct stat *, int);
3635static char *e (p, i)
3636     char **p;
3637     int i;
3638{
3639  return p[i];
3640}
3641static char *f (char * (*g) (char **, int), char **p, ...)
3642{
3643  char *s;
3644  va_list v;
3645  va_start (v,p);
3646  s = g (p, va_arg (v,int));
3647  va_end (v);
3648  return s;
3649}
3650
3651/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3652   function prototypes and stuff, but not '\xHH' hex character constants.
3653   These don't provoke an error unfortunately, instead are silently treated
3654   as 'x'.  The following induces an error, until -std is added to get
3655   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3656   array size at least.  It's necessary to write '\x00'==0 to get something
3657   that's true only with -std.  */
3658int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3659
3660/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3661   inside strings and character constants.  */
3662#define FOO(x) 'x'
3663int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3664
3665int test (int i, double x);
3666struct s1 {int (*f) (int a);};
3667struct s2 {int (*f) (double a);};
3668int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3669int argc;
3670char **argv;
3671int
3672main ()
3673{
3674return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3675  ;
3676  return 0;
3677}
3678_ACEOF
3679for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3680	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3681do
3682  CC="$ac_save_CC $ac_arg"
3683  if ac_fn_c_try_compile "$LINENO"; then :
3684  ac_cv_prog_cc_c89=$ac_arg
3685fi
3686rm -f core conftest.err conftest.$ac_objext
3687  test "x$ac_cv_prog_cc_c89" != "xno" && break
3688done
3689rm -f conftest.$ac_ext
3690CC=$ac_save_CC
3691
3692fi
3693# AC_CACHE_VAL
3694case "x$ac_cv_prog_cc_c89" in
3695  x)
3696    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3697$as_echo "none needed" >&6; } ;;
3698  xno)
3699    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3700$as_echo "unsupported" >&6; } ;;
3701  *)
3702    CC="$CC $ac_cv_prog_cc_c89"
3703    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3704$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3705esac
3706if test "x$ac_cv_prog_cc_c89" != xno; then :
3707
3708fi
3709
3710ac_ext=c
3711ac_cpp='$CPP $CPPFLAGS'
3712ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3713ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3714ac_compiler_gnu=$ac_cv_c_compiler_gnu
3715
3716depcc="$CC"   am_compiler_list=
3717
3718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3719$as_echo_n "checking dependency style of $depcc... " >&6; }
3720if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3721  $as_echo_n "(cached) " >&6
3722else
3723  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3724  # We make a subdir and do the tests there.  Otherwise we can end up
3725  # making bogus files that we don't know about and never remove.  For
3726  # instance it was reported that on HP-UX the gcc test will end up
3727  # making a dummy file named `D' -- because `-MD' means `put the output
3728  # in D'.
3729  mkdir conftest.dir
3730  # Copy depcomp to subdir because otherwise we won't find it if we're
3731  # using a relative directory.
3732  cp "$am_depcomp" conftest.dir
3733  cd conftest.dir
3734  # We will build objects and dependencies in a subdirectory because
3735  # it helps to detect inapplicable dependency modes.  For instance
3736  # both Tru64's cc and ICC support -MD to output dependencies as a
3737  # side effect of compilation, but ICC will put the dependencies in
3738  # the current directory while Tru64 will put them in the object
3739  # directory.
3740  mkdir sub
3741
3742  am_cv_CC_dependencies_compiler_type=none
3743  if test "$am_compiler_list" = ""; then
3744     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3745  fi
3746  am__universal=false
3747  case " $depcc " in #(
3748     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3749     esac
3750
3751  for depmode in $am_compiler_list; do
3752    # Setup a source with many dependencies, because some compilers
3753    # like to wrap large dependency lists on column 80 (with \), and
3754    # we should not choose a depcomp mode which is confused by this.
3755    #
3756    # We need to recreate these files for each test, as the compiler may
3757    # overwrite some of them when testing with obscure command lines.
3758    # This happens at least with the AIX C compiler.
3759    : > sub/conftest.c
3760    for i in 1 2 3 4 5 6; do
3761      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3762      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3763      # Solaris 8's {/usr,}/bin/sh.
3764      touch sub/conftst$i.h
3765    done
3766    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3767
3768    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3769    # mode.  It turns out that the SunPro C++ compiler does not properly
3770    # handle `-M -o', and we need to detect this.  Also, some Intel
3771    # versions had trouble with output in subdirs
3772    am__obj=sub/conftest.${OBJEXT-o}
3773    am__minus_obj="-o $am__obj"
3774    case $depmode in
3775    gcc)
3776      # This depmode causes a compiler race in universal mode.
3777      test "$am__universal" = false || continue
3778      ;;
3779    nosideeffect)
3780      # after this tag, mechanisms are not by side-effect, so they'll
3781      # only be used when explicitly requested
3782      if test "x$enable_dependency_tracking" = xyes; then
3783	continue
3784      else
3785	break
3786      fi
3787      ;;
3788    msvisualcpp | msvcmsys)
3789      # This compiler won't grok `-c -o', but also, the minuso test has
3790      # not run yet.  These depmodes are late enough in the game, and
3791      # so weak that their functioning should not be impacted.
3792      am__obj=conftest.${OBJEXT-o}
3793      am__minus_obj=
3794      ;;
3795    none) break ;;
3796    esac
3797    if depmode=$depmode \
3798       source=sub/conftest.c object=$am__obj \
3799       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3800       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3801         >/dev/null 2>conftest.err &&
3802       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3803       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3804       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3805       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3806      # icc doesn't choke on unknown options, it will just issue warnings
3807      # or remarks (even with -Werror).  So we grep stderr for any message
3808      # that says an option was ignored or not supported.
3809      # When given -MP, icc 7.0 and 7.1 complain thusly:
3810      #   icc: Command line warning: ignoring option '-M'; no argument required
3811      # The diagnosis changed in icc 8.0:
3812      #   icc: Command line remark: option '-MP' not supported
3813      if (grep 'ignoring option' conftest.err ||
3814          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3815        am_cv_CC_dependencies_compiler_type=$depmode
3816        break
3817      fi
3818    fi
3819  done
3820
3821  cd ..
3822  rm -rf conftest.dir
3823else
3824  am_cv_CC_dependencies_compiler_type=none
3825fi
3826
3827fi
3828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3829$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3830CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3831
3832 if
3833  test "x$enable_dependency_tracking" != xno \
3834  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3835  am__fastdepCC_TRUE=
3836  am__fastdepCC_FALSE='#'
3837else
3838  am__fastdepCC_TRUE='#'
3839  am__fastdepCC_FALSE=
3840fi
3841
3842
3843
3844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3845$as_echo_n "checking for library containing strerror... " >&6; }
3846if ${ac_cv_search_strerror+:} false; then :
3847  $as_echo_n "(cached) " >&6
3848else
3849  ac_func_search_save_LIBS=$LIBS
3850cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851/* end confdefs.h.  */
3852
3853/* Override any GCC internal prototype to avoid an error.
3854   Use char because int might match the return type of a GCC
3855   builtin and then its argument prototype would still apply.  */
3856#ifdef __cplusplus
3857extern "C"
3858#endif
3859char strerror ();
3860int
3861main ()
3862{
3863return strerror ();
3864  ;
3865  return 0;
3866}
3867_ACEOF
3868for ac_lib in '' cposix; do
3869  if test -z "$ac_lib"; then
3870    ac_res="none required"
3871  else
3872    ac_res=-l$ac_lib
3873    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3874  fi
3875  if ac_fn_c_try_link "$LINENO"; then :
3876  ac_cv_search_strerror=$ac_res
3877fi
3878rm -f core conftest.err conftest.$ac_objext \
3879    conftest$ac_exeext
3880  if ${ac_cv_search_strerror+:} false; then :
3881  break
3882fi
3883done
3884if ${ac_cv_search_strerror+:} false; then :
3885
3886else
3887  ac_cv_search_strerror=no
3888fi
3889rm conftest.$ac_ext
3890LIBS=$ac_func_search_save_LIBS
3891fi
3892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3893$as_echo "$ac_cv_search_strerror" >&6; }
3894ac_res=$ac_cv_search_strerror
3895if test "$ac_res" != no; then :
3896  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3897
3898fi
3899
3900ac_ext=c
3901ac_cpp='$CPP $CPPFLAGS'
3902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3904ac_compiler_gnu=$ac_cv_c_compiler_gnu
3905if test -n "$ac_tool_prefix"; then
3906  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3907set dummy ${ac_tool_prefix}gcc; ac_word=$2
3908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3909$as_echo_n "checking for $ac_word... " >&6; }
3910if ${ac_cv_prog_CC+:} false; then :
3911  $as_echo_n "(cached) " >&6
3912else
3913  if test -n "$CC"; then
3914  ac_cv_prog_CC="$CC" # Let the user override the test.
3915else
3916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917for as_dir in $PATH
3918do
3919  IFS=$as_save_IFS
3920  test -z "$as_dir" && as_dir=.
3921    for ac_exec_ext in '' $ac_executable_extensions; do
3922  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3923    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3924    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3925    break 2
3926  fi
3927done
3928  done
3929IFS=$as_save_IFS
3930
3931fi
3932fi
3933CC=$ac_cv_prog_CC
3934if test -n "$CC"; then
3935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3936$as_echo "$CC" >&6; }
3937else
3938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3939$as_echo "no" >&6; }
3940fi
3941
3942
3943fi
3944if test -z "$ac_cv_prog_CC"; then
3945  ac_ct_CC=$CC
3946  # Extract the first word of "gcc", so it can be a program name with args.
3947set dummy gcc; ac_word=$2
3948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3949$as_echo_n "checking for $ac_word... " >&6; }
3950if ${ac_cv_prog_ac_ct_CC+:} false; then :
3951  $as_echo_n "(cached) " >&6
3952else
3953  if test -n "$ac_ct_CC"; then
3954  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3955else
3956as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3957for as_dir in $PATH
3958do
3959  IFS=$as_save_IFS
3960  test -z "$as_dir" && as_dir=.
3961    for ac_exec_ext in '' $ac_executable_extensions; do
3962  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3963    ac_cv_prog_ac_ct_CC="gcc"
3964    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3965    break 2
3966  fi
3967done
3968  done
3969IFS=$as_save_IFS
3970
3971fi
3972fi
3973ac_ct_CC=$ac_cv_prog_ac_ct_CC
3974if test -n "$ac_ct_CC"; then
3975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3976$as_echo "$ac_ct_CC" >&6; }
3977else
3978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979$as_echo "no" >&6; }
3980fi
3981
3982  if test "x$ac_ct_CC" = x; then
3983    CC=""
3984  else
3985    case $cross_compiling:$ac_tool_warned in
3986yes:)
3987{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3988$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3989ac_tool_warned=yes ;;
3990esac
3991    CC=$ac_ct_CC
3992  fi
3993else
3994  CC="$ac_cv_prog_CC"
3995fi
3996
3997if test -z "$CC"; then
3998          if test -n "$ac_tool_prefix"; then
3999    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4000set dummy ${ac_tool_prefix}cc; ac_word=$2
4001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4002$as_echo_n "checking for $ac_word... " >&6; }
4003if ${ac_cv_prog_CC+:} false; then :
4004  $as_echo_n "(cached) " >&6
4005else
4006  if test -n "$CC"; then
4007  ac_cv_prog_CC="$CC" # Let the user override the test.
4008else
4009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010for as_dir in $PATH
4011do
4012  IFS=$as_save_IFS
4013  test -z "$as_dir" && as_dir=.
4014    for ac_exec_ext in '' $ac_executable_extensions; do
4015  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4016    ac_cv_prog_CC="${ac_tool_prefix}cc"
4017    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4018    break 2
4019  fi
4020done
4021  done
4022IFS=$as_save_IFS
4023
4024fi
4025fi
4026CC=$ac_cv_prog_CC
4027if test -n "$CC"; then
4028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4029$as_echo "$CC" >&6; }
4030else
4031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4032$as_echo "no" >&6; }
4033fi
4034
4035
4036  fi
4037fi
4038if test -z "$CC"; then
4039  # Extract the first word of "cc", so it can be a program name with args.
4040set dummy cc; ac_word=$2
4041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4042$as_echo_n "checking for $ac_word... " >&6; }
4043if ${ac_cv_prog_CC+:} false; then :
4044  $as_echo_n "(cached) " >&6
4045else
4046  if test -n "$CC"; then
4047  ac_cv_prog_CC="$CC" # Let the user override the test.
4048else
4049  ac_prog_rejected=no
4050as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4051for as_dir in $PATH
4052do
4053  IFS=$as_save_IFS
4054  test -z "$as_dir" && as_dir=.
4055    for ac_exec_ext in '' $ac_executable_extensions; do
4056  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4057    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4058       ac_prog_rejected=yes
4059       continue
4060     fi
4061    ac_cv_prog_CC="cc"
4062    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4063    break 2
4064  fi
4065done
4066  done
4067IFS=$as_save_IFS
4068
4069if test $ac_prog_rejected = yes; then
4070  # We found a bogon in the path, so make sure we never use it.
4071  set dummy $ac_cv_prog_CC
4072  shift
4073  if test $# != 0; then
4074    # We chose a different compiler from the bogus one.
4075    # However, it has the same basename, so the bogon will be chosen
4076    # first if we set CC to just the basename; use the full file name.
4077    shift
4078    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4079  fi
4080fi
4081fi
4082fi
4083CC=$ac_cv_prog_CC
4084if test -n "$CC"; then
4085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4086$as_echo "$CC" >&6; }
4087else
4088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4089$as_echo "no" >&6; }
4090fi
4091
4092
4093fi
4094if test -z "$CC"; then
4095  if test -n "$ac_tool_prefix"; then
4096  for ac_prog in cl.exe
4097  do
4098    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4099set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4101$as_echo_n "checking for $ac_word... " >&6; }
4102if ${ac_cv_prog_CC+:} false; then :
4103  $as_echo_n "(cached) " >&6
4104else
4105  if test -n "$CC"; then
4106  ac_cv_prog_CC="$CC" # Let the user override the test.
4107else
4108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109for as_dir in $PATH
4110do
4111  IFS=$as_save_IFS
4112  test -z "$as_dir" && as_dir=.
4113    for ac_exec_ext in '' $ac_executable_extensions; do
4114  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4115    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4116    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4117    break 2
4118  fi
4119done
4120  done
4121IFS=$as_save_IFS
4122
4123fi
4124fi
4125CC=$ac_cv_prog_CC
4126if test -n "$CC"; then
4127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4128$as_echo "$CC" >&6; }
4129else
4130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4131$as_echo "no" >&6; }
4132fi
4133
4134
4135    test -n "$CC" && break
4136  done
4137fi
4138if test -z "$CC"; then
4139  ac_ct_CC=$CC
4140  for ac_prog in cl.exe
4141do
4142  # Extract the first word of "$ac_prog", so it can be a program name with args.
4143set dummy $ac_prog; ac_word=$2
4144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4145$as_echo_n "checking for $ac_word... " >&6; }
4146if ${ac_cv_prog_ac_ct_CC+:} false; then :
4147  $as_echo_n "(cached) " >&6
4148else
4149  if test -n "$ac_ct_CC"; then
4150  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4151else
4152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4153for as_dir in $PATH
4154do
4155  IFS=$as_save_IFS
4156  test -z "$as_dir" && as_dir=.
4157    for ac_exec_ext in '' $ac_executable_extensions; do
4158  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4159    ac_cv_prog_ac_ct_CC="$ac_prog"
4160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4161    break 2
4162  fi
4163done
4164  done
4165IFS=$as_save_IFS
4166
4167fi
4168fi
4169ac_ct_CC=$ac_cv_prog_ac_ct_CC
4170if test -n "$ac_ct_CC"; then
4171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4172$as_echo "$ac_ct_CC" >&6; }
4173else
4174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4175$as_echo "no" >&6; }
4176fi
4177
4178
4179  test -n "$ac_ct_CC" && break
4180done
4181
4182  if test "x$ac_ct_CC" = x; then
4183    CC=""
4184  else
4185    case $cross_compiling:$ac_tool_warned in
4186yes:)
4187{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4188$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4189ac_tool_warned=yes ;;
4190esac
4191    CC=$ac_ct_CC
4192  fi
4193fi
4194
4195fi
4196
4197
4198test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4199$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4200as_fn_error $? "no acceptable C compiler found in \$PATH
4201See \`config.log' for more details" "$LINENO" 5; }
4202
4203# Provide some information about the compiler.
4204$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4205set X $ac_compile
4206ac_compiler=$2
4207for ac_option in --version -v -V -qversion; do
4208  { { ac_try="$ac_compiler $ac_option >&5"
4209case "(($ac_try" in
4210  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4211  *) ac_try_echo=$ac_try;;
4212esac
4213eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4214$as_echo "$ac_try_echo"; } >&5
4215  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4216  ac_status=$?
4217  if test -s conftest.err; then
4218    sed '10a\
4219... rest of stderr output deleted ...
4220         10q' conftest.err >conftest.er1
4221    cat conftest.er1 >&5
4222  fi
4223  rm -f conftest.er1 conftest.err
4224  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4225  test $ac_status = 0; }
4226done
4227
4228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4229$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4230if ${ac_cv_c_compiler_gnu+:} false; then :
4231  $as_echo_n "(cached) " >&6
4232else
4233  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234/* end confdefs.h.  */
4235
4236int
4237main ()
4238{
4239#ifndef __GNUC__
4240       choke me
4241#endif
4242
4243  ;
4244  return 0;
4245}
4246_ACEOF
4247if ac_fn_c_try_compile "$LINENO"; then :
4248  ac_compiler_gnu=yes
4249else
4250  ac_compiler_gnu=no
4251fi
4252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4253ac_cv_c_compiler_gnu=$ac_compiler_gnu
4254
4255fi
4256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4257$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4258if test $ac_compiler_gnu = yes; then
4259  GCC=yes
4260else
4261  GCC=
4262fi
4263ac_test_CFLAGS=${CFLAGS+set}
4264ac_save_CFLAGS=$CFLAGS
4265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4266$as_echo_n "checking whether $CC accepts -g... " >&6; }
4267if ${ac_cv_prog_cc_g+:} false; then :
4268  $as_echo_n "(cached) " >&6
4269else
4270  ac_save_c_werror_flag=$ac_c_werror_flag
4271   ac_c_werror_flag=yes
4272   ac_cv_prog_cc_g=no
4273   CFLAGS="-g"
4274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275/* end confdefs.h.  */
4276
4277int
4278main ()
4279{
4280
4281  ;
4282  return 0;
4283}
4284_ACEOF
4285if ac_fn_c_try_compile "$LINENO"; then :
4286  ac_cv_prog_cc_g=yes
4287else
4288  CFLAGS=""
4289      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4290/* end confdefs.h.  */
4291
4292int
4293main ()
4294{
4295
4296  ;
4297  return 0;
4298}
4299_ACEOF
4300if ac_fn_c_try_compile "$LINENO"; then :
4301
4302else
4303  ac_c_werror_flag=$ac_save_c_werror_flag
4304	 CFLAGS="-g"
4305	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306/* end confdefs.h.  */
4307
4308int
4309main ()
4310{
4311
4312  ;
4313  return 0;
4314}
4315_ACEOF
4316if ac_fn_c_try_compile "$LINENO"; then :
4317  ac_cv_prog_cc_g=yes
4318fi
4319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4320fi
4321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4322fi
4323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4324   ac_c_werror_flag=$ac_save_c_werror_flag
4325fi
4326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4327$as_echo "$ac_cv_prog_cc_g" >&6; }
4328if test "$ac_test_CFLAGS" = set; then
4329  CFLAGS=$ac_save_CFLAGS
4330elif test $ac_cv_prog_cc_g = yes; then
4331  if test "$GCC" = yes; then
4332    CFLAGS="-g -O2"
4333  else
4334    CFLAGS="-g"
4335  fi
4336else
4337  if test "$GCC" = yes; then
4338    CFLAGS="-O2"
4339  else
4340    CFLAGS=
4341  fi
4342fi
4343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4344$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4345if ${ac_cv_prog_cc_c89+:} false; then :
4346  $as_echo_n "(cached) " >&6
4347else
4348  ac_cv_prog_cc_c89=no
4349ac_save_CC=$CC
4350cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4351/* end confdefs.h.  */
4352#include <stdarg.h>
4353#include <stdio.h>
4354#include <sys/types.h>
4355#include <sys/stat.h>
4356/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4357struct buf { int x; };
4358FILE * (*rcsopen) (struct buf *, struct stat *, int);
4359static char *e (p, i)
4360     char **p;
4361     int i;
4362{
4363  return p[i];
4364}
4365static char *f (char * (*g) (char **, int), char **p, ...)
4366{
4367  char *s;
4368  va_list v;
4369  va_start (v,p);
4370  s = g (p, va_arg (v,int));
4371  va_end (v);
4372  return s;
4373}
4374
4375/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4376   function prototypes and stuff, but not '\xHH' hex character constants.
4377   These don't provoke an error unfortunately, instead are silently treated
4378   as 'x'.  The following induces an error, until -std is added to get
4379   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4380   array size at least.  It's necessary to write '\x00'==0 to get something
4381   that's true only with -std.  */
4382int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4383
4384/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4385   inside strings and character constants.  */
4386#define FOO(x) 'x'
4387int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4388
4389int test (int i, double x);
4390struct s1 {int (*f) (int a);};
4391struct s2 {int (*f) (double a);};
4392int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4393int argc;
4394char **argv;
4395int
4396main ()
4397{
4398return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4399  ;
4400  return 0;
4401}
4402_ACEOF
4403for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4404	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4405do
4406  CC="$ac_save_CC $ac_arg"
4407  if ac_fn_c_try_compile "$LINENO"; then :
4408  ac_cv_prog_cc_c89=$ac_arg
4409fi
4410rm -f core conftest.err conftest.$ac_objext
4411  test "x$ac_cv_prog_cc_c89" != "xno" && break
4412done
4413rm -f conftest.$ac_ext
4414CC=$ac_save_CC
4415
4416fi
4417# AC_CACHE_VAL
4418case "x$ac_cv_prog_cc_c89" in
4419  x)
4420    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4421$as_echo "none needed" >&6; } ;;
4422  xno)
4423    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4424$as_echo "unsupported" >&6; } ;;
4425  *)
4426    CC="$CC $ac_cv_prog_cc_c89"
4427    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4428$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4429esac
4430if test "x$ac_cv_prog_cc_c89" != xno; then :
4431
4432fi
4433
4434ac_ext=c
4435ac_cpp='$CPP $CPPFLAGS'
4436ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4437ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4438ac_compiler_gnu=$ac_cv_c_compiler_gnu
4439
4440depcc="$CC"   am_compiler_list=
4441
4442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4443$as_echo_n "checking dependency style of $depcc... " >&6; }
4444if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4445  $as_echo_n "(cached) " >&6
4446else
4447  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4448  # We make a subdir and do the tests there.  Otherwise we can end up
4449  # making bogus files that we don't know about and never remove.  For
4450  # instance it was reported that on HP-UX the gcc test will end up
4451  # making a dummy file named `D' -- because `-MD' means `put the output
4452  # in D'.
4453  mkdir conftest.dir
4454  # Copy depcomp to subdir because otherwise we won't find it if we're
4455  # using a relative directory.
4456  cp "$am_depcomp" conftest.dir
4457  cd conftest.dir
4458  # We will build objects and dependencies in a subdirectory because
4459  # it helps to detect inapplicable dependency modes.  For instance
4460  # both Tru64's cc and ICC support -MD to output dependencies as a
4461  # side effect of compilation, but ICC will put the dependencies in
4462  # the current directory while Tru64 will put them in the object
4463  # directory.
4464  mkdir sub
4465
4466  am_cv_CC_dependencies_compiler_type=none
4467  if test "$am_compiler_list" = ""; then
4468     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4469  fi
4470  am__universal=false
4471  case " $depcc " in #(
4472     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4473     esac
4474
4475  for depmode in $am_compiler_list; do
4476    # Setup a source with many dependencies, because some compilers
4477    # like to wrap large dependency lists on column 80 (with \), and
4478    # we should not choose a depcomp mode which is confused by this.
4479    #
4480    # We need to recreate these files for each test, as the compiler may
4481    # overwrite some of them when testing with obscure command lines.
4482    # This happens at least with the AIX C compiler.
4483    : > sub/conftest.c
4484    for i in 1 2 3 4 5 6; do
4485      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4486      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4487      # Solaris 8's {/usr,}/bin/sh.
4488      touch sub/conftst$i.h
4489    done
4490    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4491
4492    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4493    # mode.  It turns out that the SunPro C++ compiler does not properly
4494    # handle `-M -o', and we need to detect this.  Also, some Intel
4495    # versions had trouble with output in subdirs
4496    am__obj=sub/conftest.${OBJEXT-o}
4497    am__minus_obj="-o $am__obj"
4498    case $depmode in
4499    gcc)
4500      # This depmode causes a compiler race in universal mode.
4501      test "$am__universal" = false || continue
4502      ;;
4503    nosideeffect)
4504      # after this tag, mechanisms are not by side-effect, so they'll
4505      # only be used when explicitly requested
4506      if test "x$enable_dependency_tracking" = xyes; then
4507	continue
4508      else
4509	break
4510      fi
4511      ;;
4512    msvisualcpp | msvcmsys)
4513      # This compiler won't grok `-c -o', but also, the minuso test has
4514      # not run yet.  These depmodes are late enough in the game, and
4515      # so weak that their functioning should not be impacted.
4516      am__obj=conftest.${OBJEXT-o}
4517      am__minus_obj=
4518      ;;
4519    none) break ;;
4520    esac
4521    if depmode=$depmode \
4522       source=sub/conftest.c object=$am__obj \
4523       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4524       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4525         >/dev/null 2>conftest.err &&
4526       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4527       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4528       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4529       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4530      # icc doesn't choke on unknown options, it will just issue warnings
4531      # or remarks (even with -Werror).  So we grep stderr for any message
4532      # that says an option was ignored or not supported.
4533      # When given -MP, icc 7.0 and 7.1 complain thusly:
4534      #   icc: Command line warning: ignoring option '-M'; no argument required
4535      # The diagnosis changed in icc 8.0:
4536      #   icc: Command line remark: option '-MP' not supported
4537      if (grep 'ignoring option' conftest.err ||
4538          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4539        am_cv_CC_dependencies_compiler_type=$depmode
4540        break
4541      fi
4542    fi
4543  done
4544
4545  cd ..
4546  rm -rf conftest.dir
4547else
4548  am_cv_CC_dependencies_compiler_type=none
4549fi
4550
4551fi
4552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4553$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4554CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4555
4556 if
4557  test "x$enable_dependency_tracking" != xno \
4558  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4559  am__fastdepCC_TRUE=
4560  am__fastdepCC_FALSE='#'
4561else
4562  am__fastdepCC_TRUE='#'
4563  am__fastdepCC_FALSE=
4564fi
4565
4566
4567ac_ext=c
4568ac_cpp='$CPP $CPPFLAGS'
4569ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4570ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4571ac_compiler_gnu=$ac_cv_c_compiler_gnu
4572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4573$as_echo_n "checking how to run the C preprocessor... " >&6; }
4574# On Suns, sometimes $CPP names a directory.
4575if test -n "$CPP" && test -d "$CPP"; then
4576  CPP=
4577fi
4578if test -z "$CPP"; then
4579  if ${ac_cv_prog_CPP+:} false; then :
4580  $as_echo_n "(cached) " >&6
4581else
4582      # Double quotes because CPP needs to be expanded
4583    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4584    do
4585      ac_preproc_ok=false
4586for ac_c_preproc_warn_flag in '' yes
4587do
4588  # Use a header file that comes with gcc, so configuring glibc
4589  # with a fresh cross-compiler works.
4590  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4591  # <limits.h> exists even on freestanding compilers.
4592  # On the NeXT, cc -E runs the code through the compiler's parser,
4593  # not just through cpp. "Syntax error" is here to catch this case.
4594  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595/* end confdefs.h.  */
4596#ifdef __STDC__
4597# include <limits.h>
4598#else
4599# include <assert.h>
4600#endif
4601		     Syntax error
4602_ACEOF
4603if ac_fn_c_try_cpp "$LINENO"; then :
4604
4605else
4606  # Broken: fails on valid input.
4607continue
4608fi
4609rm -f conftest.err conftest.i conftest.$ac_ext
4610
4611  # OK, works on sane cases.  Now check whether nonexistent headers
4612  # can be detected and how.
4613  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614/* end confdefs.h.  */
4615#include <ac_nonexistent.h>
4616_ACEOF
4617if ac_fn_c_try_cpp "$LINENO"; then :
4618  # Broken: success on invalid input.
4619continue
4620else
4621  # Passes both tests.
4622ac_preproc_ok=:
4623break
4624fi
4625rm -f conftest.err conftest.i conftest.$ac_ext
4626
4627done
4628# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4629rm -f conftest.i conftest.err conftest.$ac_ext
4630if $ac_preproc_ok; then :
4631  break
4632fi
4633
4634    done
4635    ac_cv_prog_CPP=$CPP
4636
4637fi
4638  CPP=$ac_cv_prog_CPP
4639else
4640  ac_cv_prog_CPP=$CPP
4641fi
4642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4643$as_echo "$CPP" >&6; }
4644ac_preproc_ok=false
4645for ac_c_preproc_warn_flag in '' yes
4646do
4647  # Use a header file that comes with gcc, so configuring glibc
4648  # with a fresh cross-compiler works.
4649  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4650  # <limits.h> exists even on freestanding compilers.
4651  # On the NeXT, cc -E runs the code through the compiler's parser,
4652  # not just through cpp. "Syntax error" is here to catch this case.
4653  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654/* end confdefs.h.  */
4655#ifdef __STDC__
4656# include <limits.h>
4657#else
4658# include <assert.h>
4659#endif
4660		     Syntax error
4661_ACEOF
4662if ac_fn_c_try_cpp "$LINENO"; then :
4663
4664else
4665  # Broken: fails on valid input.
4666continue
4667fi
4668rm -f conftest.err conftest.i conftest.$ac_ext
4669
4670  # OK, works on sane cases.  Now check whether nonexistent headers
4671  # can be detected and how.
4672  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673/* end confdefs.h.  */
4674#include <ac_nonexistent.h>
4675_ACEOF
4676if ac_fn_c_try_cpp "$LINENO"; then :
4677  # Broken: success on invalid input.
4678continue
4679else
4680  # Passes both tests.
4681ac_preproc_ok=:
4682break
4683fi
4684rm -f conftest.err conftest.i conftest.$ac_ext
4685
4686done
4687# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4688rm -f conftest.i conftest.err conftest.$ac_ext
4689if $ac_preproc_ok; then :
4690
4691else
4692  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4693$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4694as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4695See \`config.log' for more details" "$LINENO" 5; }
4696fi
4697
4698ac_ext=c
4699ac_cpp='$CPP $CPPFLAGS'
4700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702ac_compiler_gnu=$ac_cv_c_compiler_gnu
4703
4704
4705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4706$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4707if ${ac_cv_path_GREP+:} false; then :
4708  $as_echo_n "(cached) " >&6
4709else
4710  if test -z "$GREP"; then
4711  ac_path_GREP_found=false
4712  # Loop through the user's path and test for each of PROGNAME-LIST
4713  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4715do
4716  IFS=$as_save_IFS
4717  test -z "$as_dir" && as_dir=.
4718    for ac_prog in grep ggrep; do
4719    for ac_exec_ext in '' $ac_executable_extensions; do
4720      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4721      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4722# Check for GNU ac_path_GREP and select it if it is found.
4723  # Check for GNU $ac_path_GREP
4724case `"$ac_path_GREP" --version 2>&1` in
4725*GNU*)
4726  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4727*)
4728  ac_count=0
4729  $as_echo_n 0123456789 >"conftest.in"
4730  while :
4731  do
4732    cat "conftest.in" "conftest.in" >"conftest.tmp"
4733    mv "conftest.tmp" "conftest.in"
4734    cp "conftest.in" "conftest.nl"
4735    $as_echo 'GREP' >> "conftest.nl"
4736    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4737    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4738    as_fn_arith $ac_count + 1 && ac_count=$as_val
4739    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4740      # Best one so far, save it but keep looking for a better one
4741      ac_cv_path_GREP="$ac_path_GREP"
4742      ac_path_GREP_max=$ac_count
4743    fi
4744    # 10*(2^10) chars as input seems more than enough
4745    test $ac_count -gt 10 && break
4746  done
4747  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4748esac
4749
4750      $ac_path_GREP_found && break 3
4751    done
4752  done
4753  done
4754IFS=$as_save_IFS
4755  if test -z "$ac_cv_path_GREP"; then
4756    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4757  fi
4758else
4759  ac_cv_path_GREP=$GREP
4760fi
4761
4762fi
4763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4764$as_echo "$ac_cv_path_GREP" >&6; }
4765 GREP="$ac_cv_path_GREP"
4766
4767
4768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4769$as_echo_n "checking for egrep... " >&6; }
4770if ${ac_cv_path_EGREP+:} false; then :
4771  $as_echo_n "(cached) " >&6
4772else
4773  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4774   then ac_cv_path_EGREP="$GREP -E"
4775   else
4776     if test -z "$EGREP"; then
4777  ac_path_EGREP_found=false
4778  # Loop through the user's path and test for each of PROGNAME-LIST
4779  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4781do
4782  IFS=$as_save_IFS
4783  test -z "$as_dir" && as_dir=.
4784    for ac_prog in egrep; do
4785    for ac_exec_ext in '' $ac_executable_extensions; do
4786      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4787      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4788# Check for GNU ac_path_EGREP and select it if it is found.
4789  # Check for GNU $ac_path_EGREP
4790case `"$ac_path_EGREP" --version 2>&1` in
4791*GNU*)
4792  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4793*)
4794  ac_count=0
4795  $as_echo_n 0123456789 >"conftest.in"
4796  while :
4797  do
4798    cat "conftest.in" "conftest.in" >"conftest.tmp"
4799    mv "conftest.tmp" "conftest.in"
4800    cp "conftest.in" "conftest.nl"
4801    $as_echo 'EGREP' >> "conftest.nl"
4802    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4803    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4804    as_fn_arith $ac_count + 1 && ac_count=$as_val
4805    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4806      # Best one so far, save it but keep looking for a better one
4807      ac_cv_path_EGREP="$ac_path_EGREP"
4808      ac_path_EGREP_max=$ac_count
4809    fi
4810    # 10*(2^10) chars as input seems more than enough
4811    test $ac_count -gt 10 && break
4812  done
4813  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4814esac
4815
4816      $ac_path_EGREP_found && break 3
4817    done
4818  done
4819  done
4820IFS=$as_save_IFS
4821  if test -z "$ac_cv_path_EGREP"; then
4822    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4823  fi
4824else
4825  ac_cv_path_EGREP=$EGREP
4826fi
4827
4828   fi
4829fi
4830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4831$as_echo "$ac_cv_path_EGREP" >&6; }
4832 EGREP="$ac_cv_path_EGREP"
4833
4834
4835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4836$as_echo_n "checking for ANSI C header files... " >&6; }
4837if ${ac_cv_header_stdc+:} false; then :
4838  $as_echo_n "(cached) " >&6
4839else
4840  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4841/* end confdefs.h.  */
4842#include <stdlib.h>
4843#include <stdarg.h>
4844#include <string.h>
4845#include <float.h>
4846
4847int
4848main ()
4849{
4850
4851  ;
4852  return 0;
4853}
4854_ACEOF
4855if ac_fn_c_try_compile "$LINENO"; then :
4856  ac_cv_header_stdc=yes
4857else
4858  ac_cv_header_stdc=no
4859fi
4860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4861
4862if test $ac_cv_header_stdc = yes; then
4863  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4864  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4865/* end confdefs.h.  */
4866#include <string.h>
4867
4868_ACEOF
4869if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4870  $EGREP "memchr" >/dev/null 2>&1; then :
4871
4872else
4873  ac_cv_header_stdc=no
4874fi
4875rm -f conftest*
4876
4877fi
4878
4879if test $ac_cv_header_stdc = yes; then
4880  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4881  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4882/* end confdefs.h.  */
4883#include <stdlib.h>
4884
4885_ACEOF
4886if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4887  $EGREP "free" >/dev/null 2>&1; then :
4888
4889else
4890  ac_cv_header_stdc=no
4891fi
4892rm -f conftest*
4893
4894fi
4895
4896if test $ac_cv_header_stdc = yes; then
4897  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4898  if test "$cross_compiling" = yes; then :
4899  :
4900else
4901  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4902/* end confdefs.h.  */
4903#include <ctype.h>
4904#include <stdlib.h>
4905#if ((' ' & 0x0FF) == 0x020)
4906# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4907# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4908#else
4909# define ISLOWER(c) \
4910		   (('a' <= (c) && (c) <= 'i') \
4911		     || ('j' <= (c) && (c) <= 'r') \
4912		     || ('s' <= (c) && (c) <= 'z'))
4913# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4914#endif
4915
4916#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4917int
4918main ()
4919{
4920  int i;
4921  for (i = 0; i < 256; i++)
4922    if (XOR (islower (i), ISLOWER (i))
4923	|| toupper (i) != TOUPPER (i))
4924      return 2;
4925  return 0;
4926}
4927_ACEOF
4928if ac_fn_c_try_run "$LINENO"; then :
4929
4930else
4931  ac_cv_header_stdc=no
4932fi
4933rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4934  conftest.$ac_objext conftest.beam conftest.$ac_ext
4935fi
4936
4937fi
4938fi
4939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4940$as_echo "$ac_cv_header_stdc" >&6; }
4941if test $ac_cv_header_stdc = yes; then
4942
4943$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4944
4945fi
4946
4947# Make sure we can run config.sub.
4948$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4949  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4950
4951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4952$as_echo_n "checking build system type... " >&6; }
4953if ${ac_cv_build+:} false; then :
4954  $as_echo_n "(cached) " >&6
4955else
4956  ac_build_alias=$build_alias
4957test "x$ac_build_alias" = x &&
4958  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4959test "x$ac_build_alias" = x &&
4960  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4961ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4962  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4963
4964fi
4965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4966$as_echo "$ac_cv_build" >&6; }
4967case $ac_cv_build in
4968*-*-*) ;;
4969*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4970esac
4971build=$ac_cv_build
4972ac_save_IFS=$IFS; IFS='-'
4973set x $ac_cv_build
4974shift
4975build_cpu=$1
4976build_vendor=$2
4977shift; shift
4978# Remember, the first character of IFS is used to create $*,
4979# except with old shells:
4980build_os=$*
4981IFS=$ac_save_IFS
4982case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4983
4984
4985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4986$as_echo_n "checking host system type... " >&6; }
4987if ${ac_cv_host+:} false; then :
4988  $as_echo_n "(cached) " >&6
4989else
4990  if test "x$host_alias" = x; then
4991  ac_cv_host=$ac_cv_build
4992else
4993  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4994    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4995fi
4996
4997fi
4998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4999$as_echo "$ac_cv_host" >&6; }
5000case $ac_cv_host in
5001*-*-*) ;;
5002*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5003esac
5004host=$ac_cv_host
5005ac_save_IFS=$IFS; IFS='-'
5006set x $ac_cv_host
5007shift
5008host_cpu=$1
5009host_vendor=$2
5010shift; shift
5011# Remember, the first character of IFS is used to create $*,
5012# except with old shells:
5013host_os=$*
5014IFS=$ac_save_IFS
5015case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5016
5017
5018enable_win32_dll=yes
5019
5020case $host in
5021*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5022  if test -n "$ac_tool_prefix"; then
5023  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5024set dummy ${ac_tool_prefix}as; ac_word=$2
5025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026$as_echo_n "checking for $ac_word... " >&6; }
5027if ${ac_cv_prog_AS+:} false; then :
5028  $as_echo_n "(cached) " >&6
5029else
5030  if test -n "$AS"; then
5031  ac_cv_prog_AS="$AS" # Let the user override the test.
5032else
5033as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034for as_dir in $PATH
5035do
5036  IFS=$as_save_IFS
5037  test -z "$as_dir" && as_dir=.
5038    for ac_exec_ext in '' $ac_executable_extensions; do
5039  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5040    ac_cv_prog_AS="${ac_tool_prefix}as"
5041    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042    break 2
5043  fi
5044done
5045  done
5046IFS=$as_save_IFS
5047
5048fi
5049fi
5050AS=$ac_cv_prog_AS
5051if test -n "$AS"; then
5052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5053$as_echo "$AS" >&6; }
5054else
5055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056$as_echo "no" >&6; }
5057fi
5058
5059
5060fi
5061if test -z "$ac_cv_prog_AS"; then
5062  ac_ct_AS=$AS
5063  # Extract the first word of "as", so it can be a program name with args.
5064set dummy as; ac_word=$2
5065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066$as_echo_n "checking for $ac_word... " >&6; }
5067if ${ac_cv_prog_ac_ct_AS+:} false; then :
5068  $as_echo_n "(cached) " >&6
5069else
5070  if test -n "$ac_ct_AS"; then
5071  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5072else
5073as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074for as_dir in $PATH
5075do
5076  IFS=$as_save_IFS
5077  test -z "$as_dir" && as_dir=.
5078    for ac_exec_ext in '' $ac_executable_extensions; do
5079  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5080    ac_cv_prog_ac_ct_AS="as"
5081    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082    break 2
5083  fi
5084done
5085  done
5086IFS=$as_save_IFS
5087
5088fi
5089fi
5090ac_ct_AS=$ac_cv_prog_ac_ct_AS
5091if test -n "$ac_ct_AS"; then
5092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5093$as_echo "$ac_ct_AS" >&6; }
5094else
5095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096$as_echo "no" >&6; }
5097fi
5098
5099  if test "x$ac_ct_AS" = x; then
5100    AS="false"
5101  else
5102    case $cross_compiling:$ac_tool_warned in
5103yes:)
5104{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5105$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5106ac_tool_warned=yes ;;
5107esac
5108    AS=$ac_ct_AS
5109  fi
5110else
5111  AS="$ac_cv_prog_AS"
5112fi
5113
5114  if test -n "$ac_tool_prefix"; then
5115  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5116set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118$as_echo_n "checking for $ac_word... " >&6; }
5119if ${ac_cv_prog_DLLTOOL+:} false; then :
5120  $as_echo_n "(cached) " >&6
5121else
5122  if test -n "$DLLTOOL"; then
5123  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5124else
5125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5126for as_dir in $PATH
5127do
5128  IFS=$as_save_IFS
5129  test -z "$as_dir" && as_dir=.
5130    for ac_exec_ext in '' $ac_executable_extensions; do
5131  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5132    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5133    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134    break 2
5135  fi
5136done
5137  done
5138IFS=$as_save_IFS
5139
5140fi
5141fi
5142DLLTOOL=$ac_cv_prog_DLLTOOL
5143if test -n "$DLLTOOL"; then
5144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5145$as_echo "$DLLTOOL" >&6; }
5146else
5147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148$as_echo "no" >&6; }
5149fi
5150
5151
5152fi
5153if test -z "$ac_cv_prog_DLLTOOL"; then
5154  ac_ct_DLLTOOL=$DLLTOOL
5155  # Extract the first word of "dlltool", so it can be a program name with args.
5156set dummy dlltool; ac_word=$2
5157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158$as_echo_n "checking for $ac_word... " >&6; }
5159if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5160  $as_echo_n "(cached) " >&6
5161else
5162  if test -n "$ac_ct_DLLTOOL"; then
5163  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5164else
5165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166for as_dir in $PATH
5167do
5168  IFS=$as_save_IFS
5169  test -z "$as_dir" && as_dir=.
5170    for ac_exec_ext in '' $ac_executable_extensions; do
5171  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5172    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5173    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174    break 2
5175  fi
5176done
5177  done
5178IFS=$as_save_IFS
5179
5180fi
5181fi
5182ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5183if test -n "$ac_ct_DLLTOOL"; then
5184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5185$as_echo "$ac_ct_DLLTOOL" >&6; }
5186else
5187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188$as_echo "no" >&6; }
5189fi
5190
5191  if test "x$ac_ct_DLLTOOL" = x; then
5192    DLLTOOL="false"
5193  else
5194    case $cross_compiling:$ac_tool_warned in
5195yes:)
5196{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5197$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5198ac_tool_warned=yes ;;
5199esac
5200    DLLTOOL=$ac_ct_DLLTOOL
5201  fi
5202else
5203  DLLTOOL="$ac_cv_prog_DLLTOOL"
5204fi
5205
5206  if test -n "$ac_tool_prefix"; then
5207  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5208set dummy ${ac_tool_prefix}objdump; ac_word=$2
5209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210$as_echo_n "checking for $ac_word... " >&6; }
5211if ${ac_cv_prog_OBJDUMP+:} false; then :
5212  $as_echo_n "(cached) " >&6
5213else
5214  if test -n "$OBJDUMP"; then
5215  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5216else
5217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218for as_dir in $PATH
5219do
5220  IFS=$as_save_IFS
5221  test -z "$as_dir" && as_dir=.
5222    for ac_exec_ext in '' $ac_executable_extensions; do
5223  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5224    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5225    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226    break 2
5227  fi
5228done
5229  done
5230IFS=$as_save_IFS
5231
5232fi
5233fi
5234OBJDUMP=$ac_cv_prog_OBJDUMP
5235if test -n "$OBJDUMP"; then
5236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5237$as_echo "$OBJDUMP" >&6; }
5238else
5239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240$as_echo "no" >&6; }
5241fi
5242
5243
5244fi
5245if test -z "$ac_cv_prog_OBJDUMP"; then
5246  ac_ct_OBJDUMP=$OBJDUMP
5247  # Extract the first word of "objdump", so it can be a program name with args.
5248set dummy objdump; ac_word=$2
5249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250$as_echo_n "checking for $ac_word... " >&6; }
5251if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5252  $as_echo_n "(cached) " >&6
5253else
5254  if test -n "$ac_ct_OBJDUMP"; then
5255  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5256else
5257as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258for as_dir in $PATH
5259do
5260  IFS=$as_save_IFS
5261  test -z "$as_dir" && as_dir=.
5262    for ac_exec_ext in '' $ac_executable_extensions; do
5263  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5264    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5265    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266    break 2
5267  fi
5268done
5269  done
5270IFS=$as_save_IFS
5271
5272fi
5273fi
5274ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5275if test -n "$ac_ct_OBJDUMP"; then
5276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5277$as_echo "$ac_ct_OBJDUMP" >&6; }
5278else
5279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280$as_echo "no" >&6; }
5281fi
5282
5283  if test "x$ac_ct_OBJDUMP" = x; then
5284    OBJDUMP="false"
5285  else
5286    case $cross_compiling:$ac_tool_warned in
5287yes:)
5288{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5289$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5290ac_tool_warned=yes ;;
5291esac
5292    OBJDUMP=$ac_ct_OBJDUMP
5293  fi
5294else
5295  OBJDUMP="$ac_cv_prog_OBJDUMP"
5296fi
5297
5298  ;;
5299esac
5300
5301test -z "$AS" && AS=as
5302
5303
5304
5305
5306
5307test -z "$DLLTOOL" && DLLTOOL=dlltool
5308
5309
5310
5311
5312
5313test -z "$OBJDUMP" && OBJDUMP=objdump
5314
5315
5316
5317
5318
5319
5320
5321case `pwd` in
5322  *\ * | *\	*)
5323    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5324$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5325esac
5326
5327
5328
5329macro_version='2.4'
5330macro_revision='1.3293'
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344ltmain="$ac_aux_dir/ltmain.sh"
5345
5346# Backslashify metacharacters that are still active within
5347# double-quoted strings.
5348sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5349
5350# Same as above, but do not quote variable references.
5351double_quote_subst='s/\(["`\\]\)/\\\1/g'
5352
5353# Sed substitution to delay expansion of an escaped shell variable in a
5354# double_quote_subst'ed string.
5355delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5356
5357# Sed substitution to delay expansion of an escaped single quote.
5358delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5359
5360# Sed substitution to avoid accidental globbing in evaled expressions
5361no_glob_subst='s/\*/\\\*/g'
5362
5363ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5364ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5365ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5366
5367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5368$as_echo_n "checking how to print strings... " >&6; }
5369# Test print first, because it will be a builtin if present.
5370if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5371   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5372  ECHO='print -r --'
5373elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5374  ECHO='printf %s\n'
5375else
5376  # Use this function as a fallback that always works.
5377  func_fallback_echo ()
5378  {
5379    eval 'cat <<_LTECHO_EOF
5380$1
5381_LTECHO_EOF'
5382  }
5383  ECHO='func_fallback_echo'
5384fi
5385
5386# func_echo_all arg...
5387# Invoke $ECHO with all args, space-separated.
5388func_echo_all ()
5389{
5390    $ECHO ""
5391}
5392
5393case "$ECHO" in
5394  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5395$as_echo "printf" >&6; } ;;
5396  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5397$as_echo "print -r" >&6; } ;;
5398  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5399$as_echo "cat" >&6; } ;;
5400esac
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5416$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5417if ${ac_cv_path_SED+:} false; then :
5418  $as_echo_n "(cached) " >&6
5419else
5420            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5421     for ac_i in 1 2 3 4 5 6 7; do
5422       ac_script="$ac_script$as_nl$ac_script"
5423     done
5424     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5425     { ac_script=; unset ac_script;}
5426     if test -z "$SED"; then
5427  ac_path_SED_found=false
5428  # Loop through the user's path and test for each of PROGNAME-LIST
5429  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430for as_dir in $PATH
5431do
5432  IFS=$as_save_IFS
5433  test -z "$as_dir" && as_dir=.
5434    for ac_prog in sed gsed; do
5435    for ac_exec_ext in '' $ac_executable_extensions; do
5436      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5437      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5438# Check for GNU ac_path_SED and select it if it is found.
5439  # Check for GNU $ac_path_SED
5440case `"$ac_path_SED" --version 2>&1` in
5441*GNU*)
5442  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5443*)
5444  ac_count=0
5445  $as_echo_n 0123456789 >"conftest.in"
5446  while :
5447  do
5448    cat "conftest.in" "conftest.in" >"conftest.tmp"
5449    mv "conftest.tmp" "conftest.in"
5450    cp "conftest.in" "conftest.nl"
5451    $as_echo '' >> "conftest.nl"
5452    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5453    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5454    as_fn_arith $ac_count + 1 && ac_count=$as_val
5455    if test $ac_count -gt ${ac_path_SED_max-0}; then
5456      # Best one so far, save it but keep looking for a better one
5457      ac_cv_path_SED="$ac_path_SED"
5458      ac_path_SED_max=$ac_count
5459    fi
5460    # 10*(2^10) chars as input seems more than enough
5461    test $ac_count -gt 10 && break
5462  done
5463  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5464esac
5465
5466      $ac_path_SED_found && break 3
5467    done
5468  done
5469  done
5470IFS=$as_save_IFS
5471  if test -z "$ac_cv_path_SED"; then
5472    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5473  fi
5474else
5475  ac_cv_path_SED=$SED
5476fi
5477
5478fi
5479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5480$as_echo "$ac_cv_path_SED" >&6; }
5481 SED="$ac_cv_path_SED"
5482  rm -f conftest.sed
5483
5484test -z "$SED" && SED=sed
5485Xsed="$SED -e 1s/^X//"
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5498$as_echo_n "checking for fgrep... " >&6; }
5499if ${ac_cv_path_FGREP+:} false; then :
5500  $as_echo_n "(cached) " >&6
5501else
5502  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5503   then ac_cv_path_FGREP="$GREP -F"
5504   else
5505     if test -z "$FGREP"; then
5506  ac_path_FGREP_found=false
5507  # Loop through the user's path and test for each of PROGNAME-LIST
5508  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5510do
5511  IFS=$as_save_IFS
5512  test -z "$as_dir" && as_dir=.
5513    for ac_prog in fgrep; do
5514    for ac_exec_ext in '' $ac_executable_extensions; do
5515      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5516      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5517# Check for GNU ac_path_FGREP and select it if it is found.
5518  # Check for GNU $ac_path_FGREP
5519case `"$ac_path_FGREP" --version 2>&1` in
5520*GNU*)
5521  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5522*)
5523  ac_count=0
5524  $as_echo_n 0123456789 >"conftest.in"
5525  while :
5526  do
5527    cat "conftest.in" "conftest.in" >"conftest.tmp"
5528    mv "conftest.tmp" "conftest.in"
5529    cp "conftest.in" "conftest.nl"
5530    $as_echo 'FGREP' >> "conftest.nl"
5531    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5532    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5533    as_fn_arith $ac_count + 1 && ac_count=$as_val
5534    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5535      # Best one so far, save it but keep looking for a better one
5536      ac_cv_path_FGREP="$ac_path_FGREP"
5537      ac_path_FGREP_max=$ac_count
5538    fi
5539    # 10*(2^10) chars as input seems more than enough
5540    test $ac_count -gt 10 && break
5541  done
5542  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5543esac
5544
5545      $ac_path_FGREP_found && break 3
5546    done
5547  done
5548  done
5549IFS=$as_save_IFS
5550  if test -z "$ac_cv_path_FGREP"; then
5551    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5552  fi
5553else
5554  ac_cv_path_FGREP=$FGREP
5555fi
5556
5557   fi
5558fi
5559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5560$as_echo "$ac_cv_path_FGREP" >&6; }
5561 FGREP="$ac_cv_path_FGREP"
5562
5563
5564test -z "$GREP" && GREP=grep
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584# Check whether --with-gnu-ld was given.
5585if test "${with_gnu_ld+set}" = set; then :
5586  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5587else
5588  with_gnu_ld=no
5589fi
5590
5591ac_prog=ld
5592if test "$GCC" = yes; then
5593  # Check if gcc -print-prog-name=ld gives a path.
5594  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5595$as_echo_n "checking for ld used by $CC... " >&6; }
5596  case $host in
5597  *-*-mingw*)
5598    # gcc leaves a trailing carriage return which upsets mingw
5599    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5600  *)
5601    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5602  esac
5603  case $ac_prog in
5604    # Accept absolute paths.
5605    [\\/]* | ?:[\\/]*)
5606      re_direlt='/[^/][^/]*/\.\./'
5607      # Canonicalize the pathname of ld
5608      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5609      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5610	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5611      done
5612      test -z "$LD" && LD="$ac_prog"
5613      ;;
5614  "")
5615    # If it fails, then pretend we aren't using GCC.
5616    ac_prog=ld
5617    ;;
5618  *)
5619    # If it is relative, then search for the first ld in PATH.
5620    with_gnu_ld=unknown
5621    ;;
5622  esac
5623elif test "$with_gnu_ld" = yes; then
5624  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5625$as_echo_n "checking for GNU ld... " >&6; }
5626else
5627  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5628$as_echo_n "checking for non-GNU ld... " >&6; }
5629fi
5630if ${lt_cv_path_LD+:} false; then :
5631  $as_echo_n "(cached) " >&6
5632else
5633  if test -z "$LD"; then
5634  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5635  for ac_dir in $PATH; do
5636    IFS="$lt_save_ifs"
5637    test -z "$ac_dir" && ac_dir=.
5638    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5639      lt_cv_path_LD="$ac_dir/$ac_prog"
5640      # Check to see if the program is GNU ld.  I'd rather use --version,
5641      # but apparently some variants of GNU ld only accept -v.
5642      # Break only if it was the GNU/non-GNU ld that we prefer.
5643      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5644      *GNU* | *'with BFD'*)
5645	test "$with_gnu_ld" != no && break
5646	;;
5647      *)
5648	test "$with_gnu_ld" != yes && break
5649	;;
5650      esac
5651    fi
5652  done
5653  IFS="$lt_save_ifs"
5654else
5655  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5656fi
5657fi
5658
5659LD="$lt_cv_path_LD"
5660if test -n "$LD"; then
5661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5662$as_echo "$LD" >&6; }
5663else
5664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665$as_echo "no" >&6; }
5666fi
5667test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5669$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5670if ${lt_cv_prog_gnu_ld+:} false; then :
5671  $as_echo_n "(cached) " >&6
5672else
5673  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5674case `$LD -v 2>&1 </dev/null` in
5675*GNU* | *'with BFD'*)
5676  lt_cv_prog_gnu_ld=yes
5677  ;;
5678*)
5679  lt_cv_prog_gnu_ld=no
5680  ;;
5681esac
5682fi
5683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5684$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5685with_gnu_ld=$lt_cv_prog_gnu_ld
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5696$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5697if ${lt_cv_path_NM+:} false; then :
5698  $as_echo_n "(cached) " >&6
5699else
5700  if test -n "$NM"; then
5701  # Let the user override the test.
5702  lt_cv_path_NM="$NM"
5703else
5704  lt_nm_to_check="${ac_tool_prefix}nm"
5705  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5706    lt_nm_to_check="$lt_nm_to_check nm"
5707  fi
5708  for lt_tmp_nm in $lt_nm_to_check; do
5709    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5710    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5711      IFS="$lt_save_ifs"
5712      test -z "$ac_dir" && ac_dir=.
5713      tmp_nm="$ac_dir/$lt_tmp_nm"
5714      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5715	# Check to see if the nm accepts a BSD-compat flag.
5716	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5717	#   nm: unknown option "B" ignored
5718	# Tru64's nm complains that /dev/null is an invalid object file
5719	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5720	*/dev/null* | *'Invalid file or object type'*)
5721	  lt_cv_path_NM="$tmp_nm -B"
5722	  break
5723	  ;;
5724	*)
5725	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5726	  */dev/null*)
5727	    lt_cv_path_NM="$tmp_nm -p"
5728	    break
5729	    ;;
5730	  *)
5731	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5732	    continue # so that we can try to find one that supports BSD flags
5733	    ;;
5734	  esac
5735	  ;;
5736	esac
5737      fi
5738    done
5739    IFS="$lt_save_ifs"
5740  done
5741  : ${lt_cv_path_NM=no}
5742fi
5743fi
5744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5745$as_echo "$lt_cv_path_NM" >&6; }
5746if test "$lt_cv_path_NM" != "no"; then
5747  NM="$lt_cv_path_NM"
5748else
5749  # Didn't find any BSD compatible name lister, look for dumpbin.
5750  if test -n "$DUMPBIN"; then :
5751    # Let the user override the test.
5752  else
5753    if test -n "$ac_tool_prefix"; then
5754  for ac_prog in dumpbin "link -dump"
5755  do
5756    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5757set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5759$as_echo_n "checking for $ac_word... " >&6; }
5760if ${ac_cv_prog_DUMPBIN+:} false; then :
5761  $as_echo_n "(cached) " >&6
5762else
5763  if test -n "$DUMPBIN"; then
5764  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5765else
5766as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5767for as_dir in $PATH
5768do
5769  IFS=$as_save_IFS
5770  test -z "$as_dir" && as_dir=.
5771    for ac_exec_ext in '' $ac_executable_extensions; do
5772  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5773    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5774    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775    break 2
5776  fi
5777done
5778  done
5779IFS=$as_save_IFS
5780
5781fi
5782fi
5783DUMPBIN=$ac_cv_prog_DUMPBIN
5784if test -n "$DUMPBIN"; then
5785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5786$as_echo "$DUMPBIN" >&6; }
5787else
5788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789$as_echo "no" >&6; }
5790fi
5791
5792
5793    test -n "$DUMPBIN" && break
5794  done
5795fi
5796if test -z "$DUMPBIN"; then
5797  ac_ct_DUMPBIN=$DUMPBIN
5798  for ac_prog in dumpbin "link -dump"
5799do
5800  # Extract the first word of "$ac_prog", so it can be a program name with args.
5801set dummy $ac_prog; ac_word=$2
5802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5803$as_echo_n "checking for $ac_word... " >&6; }
5804if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5805  $as_echo_n "(cached) " >&6
5806else
5807  if test -n "$ac_ct_DUMPBIN"; then
5808  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5809else
5810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811for as_dir in $PATH
5812do
5813  IFS=$as_save_IFS
5814  test -z "$as_dir" && as_dir=.
5815    for ac_exec_ext in '' $ac_executable_extensions; do
5816  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5817    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5818    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819    break 2
5820  fi
5821done
5822  done
5823IFS=$as_save_IFS
5824
5825fi
5826fi
5827ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5828if test -n "$ac_ct_DUMPBIN"; then
5829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5830$as_echo "$ac_ct_DUMPBIN" >&6; }
5831else
5832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833$as_echo "no" >&6; }
5834fi
5835
5836
5837  test -n "$ac_ct_DUMPBIN" && break
5838done
5839
5840  if test "x$ac_ct_DUMPBIN" = x; then
5841    DUMPBIN=":"
5842  else
5843    case $cross_compiling:$ac_tool_warned in
5844yes:)
5845{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5846$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5847ac_tool_warned=yes ;;
5848esac
5849    DUMPBIN=$ac_ct_DUMPBIN
5850  fi
5851fi
5852
5853    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5854    *COFF*)
5855      DUMPBIN="$DUMPBIN -symbols"
5856      ;;
5857    *)
5858      DUMPBIN=:
5859      ;;
5860    esac
5861  fi
5862
5863  if test "$DUMPBIN" != ":"; then
5864    NM="$DUMPBIN"
5865  fi
5866fi
5867test -z "$NM" && NM=nm
5868
5869
5870
5871
5872
5873
5874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5875$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5876if ${lt_cv_nm_interface+:} false; then :
5877  $as_echo_n "(cached) " >&6
5878else
5879  lt_cv_nm_interface="BSD nm"
5880  echo "int some_variable = 0;" > conftest.$ac_ext
5881  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5882  (eval "$ac_compile" 2>conftest.err)
5883  cat conftest.err >&5
5884  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5885  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5886  cat conftest.err >&5
5887  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5888  cat conftest.out >&5
5889  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5890    lt_cv_nm_interface="MS dumpbin"
5891  fi
5892  rm -f conftest*
5893fi
5894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5895$as_echo "$lt_cv_nm_interface" >&6; }
5896
5897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5898$as_echo_n "checking whether ln -s works... " >&6; }
5899LN_S=$as_ln_s
5900if test "$LN_S" = "ln -s"; then
5901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5902$as_echo "yes" >&6; }
5903else
5904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5905$as_echo "no, using $LN_S" >&6; }
5906fi
5907
5908# find the maximum length of command line arguments
5909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5910$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5911if ${lt_cv_sys_max_cmd_len+:} false; then :
5912  $as_echo_n "(cached) " >&6
5913else
5914    i=0
5915  teststring="ABCD"
5916
5917  case $build_os in
5918  msdosdjgpp*)
5919    # On DJGPP, this test can blow up pretty badly due to problems in libc
5920    # (any single argument exceeding 2000 bytes causes a buffer overrun
5921    # during glob expansion).  Even if it were fixed, the result of this
5922    # check would be larger than it should be.
5923    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5924    ;;
5925
5926  gnu*)
5927    # Under GNU Hurd, this test is not required because there is
5928    # no limit to the length of command line arguments.
5929    # Libtool will interpret -1 as no limit whatsoever
5930    lt_cv_sys_max_cmd_len=-1;
5931    ;;
5932
5933  cygwin* | mingw* | cegcc*)
5934    # On Win9x/ME, this test blows up -- it succeeds, but takes
5935    # about 5 minutes as the teststring grows exponentially.
5936    # Worse, since 9x/ME are not pre-emptively multitasking,
5937    # you end up with a "frozen" computer, even though with patience
5938    # the test eventually succeeds (with a max line length of 256k).
5939    # Instead, let's just punt: use the minimum linelength reported by
5940    # all of the supported platforms: 8192 (on NT/2K/XP).
5941    lt_cv_sys_max_cmd_len=8192;
5942    ;;
5943
5944  mint*)
5945    # On MiNT this can take a long time and run out of memory.
5946    lt_cv_sys_max_cmd_len=8192;
5947    ;;
5948
5949  amigaos*)
5950    # On AmigaOS with pdksh, this test takes hours, literally.
5951    # So we just punt and use a minimum line length of 8192.
5952    lt_cv_sys_max_cmd_len=8192;
5953    ;;
5954
5955  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5956    # This has been around since 386BSD, at least.  Likely further.
5957    if test -x /sbin/sysctl; then
5958      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5959    elif test -x /usr/sbin/sysctl; then
5960      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5961    else
5962      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5963    fi
5964    # And add a safety zone
5965    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5966    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5967    ;;
5968
5969  interix*)
5970    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5971    lt_cv_sys_max_cmd_len=196608
5972    ;;
5973
5974  osf*)
5975    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5976    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5977    # nice to cause kernel panics so lets avoid the loop below.
5978    # First set a reasonable default.
5979    lt_cv_sys_max_cmd_len=16384
5980    #
5981    if test -x /sbin/sysconfig; then
5982      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5983        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5984      esac
5985    fi
5986    ;;
5987  sco3.2v5*)
5988    lt_cv_sys_max_cmd_len=102400
5989    ;;
5990  sysv5* | sco5v6* | sysv4.2uw2*)
5991    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5992    if test -n "$kargmax"; then
5993      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5994    else
5995      lt_cv_sys_max_cmd_len=32768
5996    fi
5997    ;;
5998  *)
5999    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6000    if test -n "$lt_cv_sys_max_cmd_len"; then
6001      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6002      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6003    else
6004      # Make teststring a little bigger before we do anything with it.
6005      # a 1K string should be a reasonable start.
6006      for i in 1 2 3 4 5 6 7 8 ; do
6007        teststring=$teststring$teststring
6008      done
6009      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6010      # If test is not a shell built-in, we'll probably end up computing a
6011      # maximum length that is only half of the actual maximum length, but
6012      # we can't tell.
6013      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6014	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6015	      test $i != 17 # 1/2 MB should be enough
6016      do
6017        i=`expr $i + 1`
6018        teststring=$teststring$teststring
6019      done
6020      # Only check the string length outside the loop.
6021      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6022      teststring=
6023      # Add a significant safety factor because C++ compilers can tack on
6024      # massive amounts of additional arguments before passing them to the
6025      # linker.  It appears as though 1/2 is a usable value.
6026      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6027    fi
6028    ;;
6029  esac
6030
6031fi
6032
6033if test -n $lt_cv_sys_max_cmd_len ; then
6034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6035$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6036else
6037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6038$as_echo "none" >&6; }
6039fi
6040max_cmd_len=$lt_cv_sys_max_cmd_len
6041
6042
6043
6044
6045
6046
6047: ${CP="cp -f"}
6048: ${MV="mv -f"}
6049: ${RM="rm -f"}
6050
6051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6052$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6053# Try some XSI features
6054xsi_shell=no
6055( _lt_dummy="a/b/c"
6056  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6057      = c,a/b,b/c, \
6058    && eval 'test $(( 1 + 1 )) -eq 2 \
6059    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6060  && xsi_shell=yes
6061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6062$as_echo "$xsi_shell" >&6; }
6063
6064
6065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6066$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6067lt_shell_append=no
6068( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6069    >/dev/null 2>&1 \
6070  && lt_shell_append=yes
6071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6072$as_echo "$lt_shell_append" >&6; }
6073
6074
6075if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6076  lt_unset=unset
6077else
6078  lt_unset=false
6079fi
6080
6081
6082
6083
6084
6085# test EBCDIC or ASCII
6086case `echo X|tr X '\101'` in
6087 A) # ASCII based system
6088    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6089  lt_SP2NL='tr \040 \012'
6090  lt_NL2SP='tr \015\012 \040\040'
6091  ;;
6092 *) # EBCDIC based system
6093  lt_SP2NL='tr \100 \n'
6094  lt_NL2SP='tr \r\n \100\100'
6095  ;;
6096esac
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6107$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6108if ${lt_cv_to_host_file_cmd+:} false; then :
6109  $as_echo_n "(cached) " >&6
6110else
6111  case $host in
6112  *-*-mingw* )
6113    case $build in
6114      *-*-mingw* ) # actually msys
6115        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6116        ;;
6117      *-*-cygwin* )
6118        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6119        ;;
6120      * ) # otherwise, assume *nix
6121        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6122        ;;
6123    esac
6124    ;;
6125  *-*-cygwin* )
6126    case $build in
6127      *-*-mingw* ) # actually msys
6128        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6129        ;;
6130      *-*-cygwin* )
6131        lt_cv_to_host_file_cmd=func_convert_file_noop
6132        ;;
6133      * ) # otherwise, assume *nix
6134        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6135        ;;
6136    esac
6137    ;;
6138  * ) # unhandled hosts (and "normal" native builds)
6139    lt_cv_to_host_file_cmd=func_convert_file_noop
6140    ;;
6141esac
6142
6143fi
6144
6145to_host_file_cmd=$lt_cv_to_host_file_cmd
6146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6147$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6148
6149
6150
6151
6152
6153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6154$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6155if ${lt_cv_to_tool_file_cmd+:} false; then :
6156  $as_echo_n "(cached) " >&6
6157else
6158  #assume ordinary cross tools, or native build.
6159lt_cv_to_tool_file_cmd=func_convert_file_noop
6160case $host in
6161  *-*-mingw* )
6162    case $build in
6163      *-*-mingw* ) # actually msys
6164        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6165        ;;
6166    esac
6167    ;;
6168esac
6169
6170fi
6171
6172to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6174$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6175
6176
6177
6178
6179
6180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6181$as_echo_n "checking for $LD option to reload object files... " >&6; }
6182if ${lt_cv_ld_reload_flag+:} false; then :
6183  $as_echo_n "(cached) " >&6
6184else
6185  lt_cv_ld_reload_flag='-r'
6186fi
6187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6188$as_echo "$lt_cv_ld_reload_flag" >&6; }
6189reload_flag=$lt_cv_ld_reload_flag
6190case $reload_flag in
6191"" | " "*) ;;
6192*) reload_flag=" $reload_flag" ;;
6193esac
6194reload_cmds='$LD$reload_flag -o $output$reload_objs'
6195case $host_os in
6196  cygwin* | mingw* | pw32* | cegcc*)
6197    if test "$GCC" != yes; then
6198      reload_cmds=false
6199    fi
6200    ;;
6201  darwin*)
6202    if test "$GCC" = yes; then
6203      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6204    else
6205      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6206    fi
6207    ;;
6208esac
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218if test -n "$ac_tool_prefix"; then
6219  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6220set dummy ${ac_tool_prefix}objdump; ac_word=$2
6221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6222$as_echo_n "checking for $ac_word... " >&6; }
6223if ${ac_cv_prog_OBJDUMP+:} false; then :
6224  $as_echo_n "(cached) " >&6
6225else
6226  if test -n "$OBJDUMP"; then
6227  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6228else
6229as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6230for as_dir in $PATH
6231do
6232  IFS=$as_save_IFS
6233  test -z "$as_dir" && as_dir=.
6234    for ac_exec_ext in '' $ac_executable_extensions; do
6235  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6236    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6237    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6238    break 2
6239  fi
6240done
6241  done
6242IFS=$as_save_IFS
6243
6244fi
6245fi
6246OBJDUMP=$ac_cv_prog_OBJDUMP
6247if test -n "$OBJDUMP"; then
6248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6249$as_echo "$OBJDUMP" >&6; }
6250else
6251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6252$as_echo "no" >&6; }
6253fi
6254
6255
6256fi
6257if test -z "$ac_cv_prog_OBJDUMP"; then
6258  ac_ct_OBJDUMP=$OBJDUMP
6259  # Extract the first word of "objdump", so it can be a program name with args.
6260set dummy objdump; ac_word=$2
6261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6262$as_echo_n "checking for $ac_word... " >&6; }
6263if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6264  $as_echo_n "(cached) " >&6
6265else
6266  if test -n "$ac_ct_OBJDUMP"; then
6267  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6268else
6269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270for as_dir in $PATH
6271do
6272  IFS=$as_save_IFS
6273  test -z "$as_dir" && as_dir=.
6274    for ac_exec_ext in '' $ac_executable_extensions; do
6275  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6276    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6277    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6278    break 2
6279  fi
6280done
6281  done
6282IFS=$as_save_IFS
6283
6284fi
6285fi
6286ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6287if test -n "$ac_ct_OBJDUMP"; then
6288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6289$as_echo "$ac_ct_OBJDUMP" >&6; }
6290else
6291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6292$as_echo "no" >&6; }
6293fi
6294
6295  if test "x$ac_ct_OBJDUMP" = x; then
6296    OBJDUMP="false"
6297  else
6298    case $cross_compiling:$ac_tool_warned in
6299yes:)
6300{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6301$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6302ac_tool_warned=yes ;;
6303esac
6304    OBJDUMP=$ac_ct_OBJDUMP
6305  fi
6306else
6307  OBJDUMP="$ac_cv_prog_OBJDUMP"
6308fi
6309
6310test -z "$OBJDUMP" && OBJDUMP=objdump
6311
6312
6313
6314
6315
6316
6317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6318$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6319if ${lt_cv_deplibs_check_method+:} false; then :
6320  $as_echo_n "(cached) " >&6
6321else
6322  lt_cv_file_magic_cmd='$MAGIC_CMD'
6323lt_cv_file_magic_test_file=
6324lt_cv_deplibs_check_method='unknown'
6325# Need to set the preceding variable on all platforms that support
6326# interlibrary dependencies.
6327# 'none' -- dependencies not supported.
6328# `unknown' -- same as none, but documents that we really don't know.
6329# 'pass_all' -- all dependencies passed with no checks.
6330# 'test_compile' -- check by making test program.
6331# 'file_magic [[regex]]' -- check by looking for files in library path
6332# which responds to the $file_magic_cmd with a given extended regex.
6333# If you have `file' or equivalent on your system and you're not sure
6334# whether `pass_all' will *always* work, you probably want this one.
6335
6336case $host_os in
6337aix[4-9]*)
6338  lt_cv_deplibs_check_method=pass_all
6339  ;;
6340
6341beos*)
6342  lt_cv_deplibs_check_method=pass_all
6343  ;;
6344
6345bsdi[45]*)
6346  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6347  lt_cv_file_magic_cmd='/usr/bin/file -L'
6348  lt_cv_file_magic_test_file=/shlib/libc.so
6349  ;;
6350
6351cygwin*)
6352  # func_win32_libid is a shell function defined in ltmain.sh
6353  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6354  lt_cv_file_magic_cmd='func_win32_libid'
6355  ;;
6356
6357mingw* | pw32*)
6358  # Base MSYS/MinGW do not provide the 'file' command needed by
6359  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6360  # unless we find 'file', for example because we are cross-compiling.
6361  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6362  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6363    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6364    lt_cv_file_magic_cmd='func_win32_libid'
6365  else
6366    # Keep this pattern in sync with the one in func_win32_libid.
6367    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6368    lt_cv_file_magic_cmd='$OBJDUMP -f'
6369  fi
6370  ;;
6371
6372cegcc*)
6373  # use the weaker test based on 'objdump'. See mingw*.
6374  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6375  lt_cv_file_magic_cmd='$OBJDUMP -f'
6376  ;;
6377
6378darwin* | rhapsody*)
6379  lt_cv_deplibs_check_method=pass_all
6380  ;;
6381
6382freebsd* | dragonfly*)
6383  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6384    case $host_cpu in
6385    i*86 )
6386      # Not sure whether the presence of OpenBSD here was a mistake.
6387      # Let's accept both of them until this is cleared up.
6388      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6389      lt_cv_file_magic_cmd=/usr/bin/file
6390      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6391      ;;
6392    esac
6393  else
6394    lt_cv_deplibs_check_method=pass_all
6395  fi
6396  ;;
6397
6398gnu*)
6399  lt_cv_deplibs_check_method=pass_all
6400  ;;
6401
6402haiku*)
6403  lt_cv_deplibs_check_method=pass_all
6404  ;;
6405
6406hpux10.20* | hpux11*)
6407  lt_cv_file_magic_cmd=/usr/bin/file
6408  case $host_cpu in
6409  ia64*)
6410    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6411    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6412    ;;
6413  hppa*64*)
6414    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6415    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6416    ;;
6417  *)
6418    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6419    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6420    ;;
6421  esac
6422  ;;
6423
6424interix[3-9]*)
6425  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6426  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6427  ;;
6428
6429irix5* | irix6* | nonstopux*)
6430  case $LD in
6431  *-32|*"-32 ") libmagic=32-bit;;
6432  *-n32|*"-n32 ") libmagic=N32;;
6433  *-64|*"-64 ") libmagic=64-bit;;
6434  *) libmagic=never-match;;
6435  esac
6436  lt_cv_deplibs_check_method=pass_all
6437  ;;
6438
6439# This must be Linux ELF.
6440linux* | k*bsd*-gnu | kopensolaris*-gnu)
6441  lt_cv_deplibs_check_method=pass_all
6442  ;;
6443
6444netbsd*)
6445  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6446    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6447  else
6448    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6449  fi
6450  ;;
6451
6452newos6*)
6453  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6454  lt_cv_file_magic_cmd=/usr/bin/file
6455  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6456  ;;
6457
6458*nto* | *qnx*)
6459  lt_cv_deplibs_check_method=pass_all
6460  ;;
6461
6462openbsd*)
6463  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6464    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6465  else
6466    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6467  fi
6468  ;;
6469
6470osf3* | osf4* | osf5*)
6471  lt_cv_deplibs_check_method=pass_all
6472  ;;
6473
6474rdos*)
6475  lt_cv_deplibs_check_method=pass_all
6476  ;;
6477
6478solaris*)
6479  lt_cv_deplibs_check_method=pass_all
6480  ;;
6481
6482sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6483  lt_cv_deplibs_check_method=pass_all
6484  ;;
6485
6486sysv4 | sysv4.3*)
6487  case $host_vendor in
6488  motorola)
6489    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]'
6490    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6491    ;;
6492  ncr)
6493    lt_cv_deplibs_check_method=pass_all
6494    ;;
6495  sequent)
6496    lt_cv_file_magic_cmd='/bin/file'
6497    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6498    ;;
6499  sni)
6500    lt_cv_file_magic_cmd='/bin/file'
6501    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6502    lt_cv_file_magic_test_file=/lib/libc.so
6503    ;;
6504  siemens)
6505    lt_cv_deplibs_check_method=pass_all
6506    ;;
6507  pc)
6508    lt_cv_deplibs_check_method=pass_all
6509    ;;
6510  esac
6511  ;;
6512
6513tpf*)
6514  lt_cv_deplibs_check_method=pass_all
6515  ;;
6516esac
6517
6518fi
6519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6520$as_echo "$lt_cv_deplibs_check_method" >&6; }
6521
6522file_magic_glob=
6523want_nocaseglob=no
6524if test "$build" = "$host"; then
6525  case $host_os in
6526  mingw* | pw32*)
6527    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6528      want_nocaseglob=yes
6529    else
6530      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6531    fi
6532    ;;
6533  esac
6534fi
6535
6536file_magic_cmd=$lt_cv_file_magic_cmd
6537deplibs_check_method=$lt_cv_deplibs_check_method
6538test -z "$deplibs_check_method" && deplibs_check_method=unknown
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561if test -n "$ac_tool_prefix"; then
6562  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6563set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565$as_echo_n "checking for $ac_word... " >&6; }
6566if ${ac_cv_prog_DLLTOOL+:} false; then :
6567  $as_echo_n "(cached) " >&6
6568else
6569  if test -n "$DLLTOOL"; then
6570  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6571else
6572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573for as_dir in $PATH
6574do
6575  IFS=$as_save_IFS
6576  test -z "$as_dir" && as_dir=.
6577    for ac_exec_ext in '' $ac_executable_extensions; do
6578  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6580    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581    break 2
6582  fi
6583done
6584  done
6585IFS=$as_save_IFS
6586
6587fi
6588fi
6589DLLTOOL=$ac_cv_prog_DLLTOOL
6590if test -n "$DLLTOOL"; then
6591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6592$as_echo "$DLLTOOL" >&6; }
6593else
6594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595$as_echo "no" >&6; }
6596fi
6597
6598
6599fi
6600if test -z "$ac_cv_prog_DLLTOOL"; then
6601  ac_ct_DLLTOOL=$DLLTOOL
6602  # Extract the first word of "dlltool", so it can be a program name with args.
6603set dummy dlltool; ac_word=$2
6604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6605$as_echo_n "checking for $ac_word... " >&6; }
6606if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6607  $as_echo_n "(cached) " >&6
6608else
6609  if test -n "$ac_ct_DLLTOOL"; then
6610  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6611else
6612as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613for as_dir in $PATH
6614do
6615  IFS=$as_save_IFS
6616  test -z "$as_dir" && as_dir=.
6617    for ac_exec_ext in '' $ac_executable_extensions; do
6618  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6619    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6620    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6621    break 2
6622  fi
6623done
6624  done
6625IFS=$as_save_IFS
6626
6627fi
6628fi
6629ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6630if test -n "$ac_ct_DLLTOOL"; then
6631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6632$as_echo "$ac_ct_DLLTOOL" >&6; }
6633else
6634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635$as_echo "no" >&6; }
6636fi
6637
6638  if test "x$ac_ct_DLLTOOL" = x; then
6639    DLLTOOL="false"
6640  else
6641    case $cross_compiling:$ac_tool_warned in
6642yes:)
6643{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6644$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6645ac_tool_warned=yes ;;
6646esac
6647    DLLTOOL=$ac_ct_DLLTOOL
6648  fi
6649else
6650  DLLTOOL="$ac_cv_prog_DLLTOOL"
6651fi
6652
6653test -z "$DLLTOOL" && DLLTOOL=dlltool
6654
6655
6656
6657
6658
6659
6660
6661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6662$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6663if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6664  $as_echo_n "(cached) " >&6
6665else
6666  lt_cv_sharedlib_from_linklib_cmd='unknown'
6667
6668case $host_os in
6669cygwin* | mingw* | pw32* | cegcc*)
6670  # two different shell functions defined in ltmain.sh
6671  # decide which to use based on capabilities of $DLLTOOL
6672  case `$DLLTOOL --help 2>&1` in
6673  *--identify-strict*)
6674    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6675    ;;
6676  *)
6677    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6678    ;;
6679  esac
6680  ;;
6681*)
6682  # fallback: assume linklib IS sharedlib
6683  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6684  ;;
6685esac
6686
6687fi
6688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6689$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6690sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6691test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6692
6693
6694
6695
6696
6697
6698
6699if test -n "$ac_tool_prefix"; then
6700  for ac_prog in ar
6701  do
6702    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6703set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705$as_echo_n "checking for $ac_word... " >&6; }
6706if ${ac_cv_prog_AR+:} false; then :
6707  $as_echo_n "(cached) " >&6
6708else
6709  if test -n "$AR"; then
6710  ac_cv_prog_AR="$AR" # Let the user override the test.
6711else
6712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713for as_dir in $PATH
6714do
6715  IFS=$as_save_IFS
6716  test -z "$as_dir" && as_dir=.
6717    for ac_exec_ext in '' $ac_executable_extensions; do
6718  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6719    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6720    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721    break 2
6722  fi
6723done
6724  done
6725IFS=$as_save_IFS
6726
6727fi
6728fi
6729AR=$ac_cv_prog_AR
6730if test -n "$AR"; then
6731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6732$as_echo "$AR" >&6; }
6733else
6734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6735$as_echo "no" >&6; }
6736fi
6737
6738
6739    test -n "$AR" && break
6740  done
6741fi
6742if test -z "$AR"; then
6743  ac_ct_AR=$AR
6744  for ac_prog in ar
6745do
6746  # Extract the first word of "$ac_prog", so it can be a program name with args.
6747set dummy $ac_prog; ac_word=$2
6748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749$as_echo_n "checking for $ac_word... " >&6; }
6750if ${ac_cv_prog_ac_ct_AR+:} false; then :
6751  $as_echo_n "(cached) " >&6
6752else
6753  if test -n "$ac_ct_AR"; then
6754  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6755else
6756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757for as_dir in $PATH
6758do
6759  IFS=$as_save_IFS
6760  test -z "$as_dir" && as_dir=.
6761    for ac_exec_ext in '' $ac_executable_extensions; do
6762  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763    ac_cv_prog_ac_ct_AR="$ac_prog"
6764    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765    break 2
6766  fi
6767done
6768  done
6769IFS=$as_save_IFS
6770
6771fi
6772fi
6773ac_ct_AR=$ac_cv_prog_ac_ct_AR
6774if test -n "$ac_ct_AR"; then
6775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6776$as_echo "$ac_ct_AR" >&6; }
6777else
6778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779$as_echo "no" >&6; }
6780fi
6781
6782
6783  test -n "$ac_ct_AR" && break
6784done
6785
6786  if test "x$ac_ct_AR" = x; then
6787    AR="false"
6788  else
6789    case $cross_compiling:$ac_tool_warned in
6790yes:)
6791{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6792$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6793ac_tool_warned=yes ;;
6794esac
6795    AR=$ac_ct_AR
6796  fi
6797fi
6798
6799: ${AR=ar}
6800: ${AR_FLAGS=cru}
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6813$as_echo_n "checking for archiver @FILE support... " >&6; }
6814if ${lt_cv_ar_at_file+:} false; then :
6815  $as_echo_n "(cached) " >&6
6816else
6817  lt_cv_ar_at_file=no
6818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6819/* end confdefs.h.  */
6820
6821int
6822main ()
6823{
6824
6825  ;
6826  return 0;
6827}
6828_ACEOF
6829if ac_fn_c_try_compile "$LINENO"; then :
6830  echo conftest.$ac_objext > conftest.lst
6831      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6832      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6833  (eval $lt_ar_try) 2>&5
6834  ac_status=$?
6835  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6836  test $ac_status = 0; }
6837      if test "$ac_status" -eq 0; then
6838	# Ensure the archiver fails upon bogus file names.
6839	rm -f conftest.$ac_objext libconftest.a
6840	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6841  (eval $lt_ar_try) 2>&5
6842  ac_status=$?
6843  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6844  test $ac_status = 0; }
6845	if test "$ac_status" -ne 0; then
6846          lt_cv_ar_at_file=@
6847        fi
6848      fi
6849      rm -f conftest.* libconftest.a
6850
6851fi
6852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6853
6854fi
6855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6856$as_echo "$lt_cv_ar_at_file" >&6; }
6857
6858if test "x$lt_cv_ar_at_file" = xno; then
6859  archiver_list_spec=
6860else
6861  archiver_list_spec=$lt_cv_ar_at_file
6862fi
6863
6864
6865
6866
6867
6868
6869
6870if test -n "$ac_tool_prefix"; then
6871  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6872set dummy ${ac_tool_prefix}strip; ac_word=$2
6873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6874$as_echo_n "checking for $ac_word... " >&6; }
6875if ${ac_cv_prog_STRIP+:} false; then :
6876  $as_echo_n "(cached) " >&6
6877else
6878  if test -n "$STRIP"; then
6879  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6880else
6881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6882for as_dir in $PATH
6883do
6884  IFS=$as_save_IFS
6885  test -z "$as_dir" && as_dir=.
6886    for ac_exec_ext in '' $ac_executable_extensions; do
6887  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6888    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6889    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6890    break 2
6891  fi
6892done
6893  done
6894IFS=$as_save_IFS
6895
6896fi
6897fi
6898STRIP=$ac_cv_prog_STRIP
6899if test -n "$STRIP"; then
6900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6901$as_echo "$STRIP" >&6; }
6902else
6903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6904$as_echo "no" >&6; }
6905fi
6906
6907
6908fi
6909if test -z "$ac_cv_prog_STRIP"; then
6910  ac_ct_STRIP=$STRIP
6911  # Extract the first word of "strip", so it can be a program name with args.
6912set dummy strip; ac_word=$2
6913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6914$as_echo_n "checking for $ac_word... " >&6; }
6915if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6916  $as_echo_n "(cached) " >&6
6917else
6918  if test -n "$ac_ct_STRIP"; then
6919  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6920else
6921as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6922for as_dir in $PATH
6923do
6924  IFS=$as_save_IFS
6925  test -z "$as_dir" && as_dir=.
6926    for ac_exec_ext in '' $ac_executable_extensions; do
6927  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6928    ac_cv_prog_ac_ct_STRIP="strip"
6929    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6930    break 2
6931  fi
6932done
6933  done
6934IFS=$as_save_IFS
6935
6936fi
6937fi
6938ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6939if test -n "$ac_ct_STRIP"; then
6940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6941$as_echo "$ac_ct_STRIP" >&6; }
6942else
6943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6944$as_echo "no" >&6; }
6945fi
6946
6947  if test "x$ac_ct_STRIP" = x; then
6948    STRIP=":"
6949  else
6950    case $cross_compiling:$ac_tool_warned in
6951yes:)
6952{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6953$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6954ac_tool_warned=yes ;;
6955esac
6956    STRIP=$ac_ct_STRIP
6957  fi
6958else
6959  STRIP="$ac_cv_prog_STRIP"
6960fi
6961
6962test -z "$STRIP" && STRIP=:
6963
6964
6965
6966
6967
6968
6969if test -n "$ac_tool_prefix"; then
6970  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6971set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6973$as_echo_n "checking for $ac_word... " >&6; }
6974if ${ac_cv_prog_RANLIB+:} false; then :
6975  $as_echo_n "(cached) " >&6
6976else
6977  if test -n "$RANLIB"; then
6978  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6979else
6980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981for as_dir in $PATH
6982do
6983  IFS=$as_save_IFS
6984  test -z "$as_dir" && as_dir=.
6985    for ac_exec_ext in '' $ac_executable_extensions; do
6986  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6987    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6988    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6989    break 2
6990  fi
6991done
6992  done
6993IFS=$as_save_IFS
6994
6995fi
6996fi
6997RANLIB=$ac_cv_prog_RANLIB
6998if test -n "$RANLIB"; then
6999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7000$as_echo "$RANLIB" >&6; }
7001else
7002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7003$as_echo "no" >&6; }
7004fi
7005
7006
7007fi
7008if test -z "$ac_cv_prog_RANLIB"; then
7009  ac_ct_RANLIB=$RANLIB
7010  # Extract the first word of "ranlib", so it can be a program name with args.
7011set dummy ranlib; ac_word=$2
7012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013$as_echo_n "checking for $ac_word... " >&6; }
7014if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7015  $as_echo_n "(cached) " >&6
7016else
7017  if test -n "$ac_ct_RANLIB"; then
7018  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7019else
7020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021for as_dir in $PATH
7022do
7023  IFS=$as_save_IFS
7024  test -z "$as_dir" && as_dir=.
7025    for ac_exec_ext in '' $ac_executable_extensions; do
7026  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7027    ac_cv_prog_ac_ct_RANLIB="ranlib"
7028    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029    break 2
7030  fi
7031done
7032  done
7033IFS=$as_save_IFS
7034
7035fi
7036fi
7037ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7038if test -n "$ac_ct_RANLIB"; then
7039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7040$as_echo "$ac_ct_RANLIB" >&6; }
7041else
7042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7043$as_echo "no" >&6; }
7044fi
7045
7046  if test "x$ac_ct_RANLIB" = x; then
7047    RANLIB=":"
7048  else
7049    case $cross_compiling:$ac_tool_warned in
7050yes:)
7051{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7052$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7053ac_tool_warned=yes ;;
7054esac
7055    RANLIB=$ac_ct_RANLIB
7056  fi
7057else
7058  RANLIB="$ac_cv_prog_RANLIB"
7059fi
7060
7061test -z "$RANLIB" && RANLIB=:
7062
7063
7064
7065
7066
7067
7068# Determine commands to create old-style static archives.
7069old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7070old_postinstall_cmds='chmod 644 $oldlib'
7071old_postuninstall_cmds=
7072
7073if test -n "$RANLIB"; then
7074  case $host_os in
7075  openbsd*)
7076    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7077    ;;
7078  *)
7079    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7080    ;;
7081  esac
7082  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7083fi
7084
7085case $host_os in
7086  darwin*)
7087    lock_old_archive_extraction=yes ;;
7088  *)
7089    lock_old_archive_extraction=no ;;
7090esac
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130# If no C compiler was specified, use CC.
7131LTCC=${LTCC-"$CC"}
7132
7133# If no C compiler flags were specified, use CFLAGS.
7134LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7135
7136# Allow CC to be a program name with arguments.
7137compiler=$CC
7138
7139
7140# Check for command to grab the raw symbol name followed by C symbol from nm.
7141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7142$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7143if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7144  $as_echo_n "(cached) " >&6
7145else
7146
7147# These are sane defaults that work on at least a few old systems.
7148# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7149
7150# Character class describing NM global symbol codes.
7151symcode='[BCDEGRST]'
7152
7153# Regexp to match symbols that can be accessed directly from C.
7154sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7155
7156# Define system-specific variables.
7157case $host_os in
7158aix*)
7159  symcode='[BCDT]'
7160  ;;
7161cygwin* | mingw* | pw32* | cegcc*)
7162  symcode='[ABCDGISTW]'
7163  ;;
7164hpux*)
7165  if test "$host_cpu" = ia64; then
7166    symcode='[ABCDEGRST]'
7167  fi
7168  ;;
7169irix* | nonstopux*)
7170  symcode='[BCDEGRST]'
7171  ;;
7172osf*)
7173  symcode='[BCDEGQRST]'
7174  ;;
7175solaris*)
7176  symcode='[BDRT]'
7177  ;;
7178sco3.2v5*)
7179  symcode='[DT]'
7180  ;;
7181sysv4.2uw2*)
7182  symcode='[DT]'
7183  ;;
7184sysv5* | sco5v6* | unixware* | OpenUNIX*)
7185  symcode='[ABDT]'
7186  ;;
7187sysv4)
7188  symcode='[DFNSTU]'
7189  ;;
7190esac
7191
7192# If we're using GNU nm, then use its standard symbol codes.
7193case `$NM -V 2>&1` in
7194*GNU* | *'with BFD'*)
7195  symcode='[ABCDGIRSTW]' ;;
7196esac
7197
7198# Transform an extracted symbol line into a proper C declaration.
7199# Some systems (esp. on ia64) link data and code symbols differently,
7200# so use this general approach.
7201lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7202
7203# Transform an extracted symbol line into symbol name and symbol address
7204lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7205lt_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'"
7206
7207# Handle CRLF in mingw tool chain
7208opt_cr=
7209case $build_os in
7210mingw*)
7211  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7212  ;;
7213esac
7214
7215# Try without a prefix underscore, then with it.
7216for ac_symprfx in "" "_"; do
7217
7218  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7219  symxfrm="\\1 $ac_symprfx\\2 \\2"
7220
7221  # Write the raw and C identifiers.
7222  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7223    # Fake it for dumpbin and say T for any non-static function
7224    # and D for any global variable.
7225    # Also find C++ and __fastcall symbols from MSVC++,
7226    # which start with @ or ?.
7227    lt_cv_sys_global_symbol_pipe="$AWK '"\
7228"     {last_section=section; section=\$ 3};"\
7229"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7230"     \$ 0!~/External *\|/{next};"\
7231"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7232"     {if(hide[section]) next};"\
7233"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7234"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7235"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7236"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7237"     ' prfx=^$ac_symprfx"
7238  else
7239    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7240  fi
7241  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7242
7243  # Check to see that the pipe works correctly.
7244  pipe_works=no
7245
7246  rm -f conftest*
7247  cat > conftest.$ac_ext <<_LT_EOF
7248#ifdef __cplusplus
7249extern "C" {
7250#endif
7251char nm_test_var;
7252void nm_test_func(void);
7253void nm_test_func(void){}
7254#ifdef __cplusplus
7255}
7256#endif
7257int main(){nm_test_var='a';nm_test_func();return(0);}
7258_LT_EOF
7259
7260  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7261  (eval $ac_compile) 2>&5
7262  ac_status=$?
7263  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7264  test $ac_status = 0; }; then
7265    # Now try to grab the symbols.
7266    nlist=conftest.nm
7267    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7268  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7269  ac_status=$?
7270  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7271  test $ac_status = 0; } && test -s "$nlist"; then
7272      # Try sorting and uniquifying the output.
7273      if sort "$nlist" | uniq > "$nlist"T; then
7274	mv -f "$nlist"T "$nlist"
7275      else
7276	rm -f "$nlist"T
7277      fi
7278
7279      # Make sure that we snagged all the symbols we need.
7280      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7281	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7282	  cat <<_LT_EOF > conftest.$ac_ext
7283/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7284#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7285/* DATA imports from DLLs on WIN32 con't be const, because runtime
7286   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7287# define LT_DLSYM_CONST
7288#elif defined(__osf__)
7289/* This system does not cope well with relocations in const data.  */
7290# define LT_DLSYM_CONST
7291#else
7292# define LT_DLSYM_CONST const
7293#endif
7294
7295#ifdef __cplusplus
7296extern "C" {
7297#endif
7298
7299_LT_EOF
7300	  # Now generate the symbol file.
7301	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7302
7303	  cat <<_LT_EOF >> conftest.$ac_ext
7304
7305/* The mapping between symbol names and symbols.  */
7306LT_DLSYM_CONST struct {
7307  const char *name;
7308  void       *address;
7309}
7310lt__PROGRAM__LTX_preloaded_symbols[] =
7311{
7312  { "@PROGRAM@", (void *) 0 },
7313_LT_EOF
7314	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7315	  cat <<\_LT_EOF >> conftest.$ac_ext
7316  {0, (void *) 0}
7317};
7318
7319/* This works around a problem in FreeBSD linker */
7320#ifdef FREEBSD_WORKAROUND
7321static const void *lt_preloaded_setup() {
7322  return lt__PROGRAM__LTX_preloaded_symbols;
7323}
7324#endif
7325
7326#ifdef __cplusplus
7327}
7328#endif
7329_LT_EOF
7330	  # Now try linking the two files.
7331	  mv conftest.$ac_objext conftstm.$ac_objext
7332	  lt_globsym_save_LIBS=$LIBS
7333	  lt_globsym_save_CFLAGS=$CFLAGS
7334	  LIBS="conftstm.$ac_objext"
7335	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7336	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7337  (eval $ac_link) 2>&5
7338  ac_status=$?
7339  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7340  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7341	    pipe_works=yes
7342	  fi
7343	  LIBS=$lt_globsym_save_LIBS
7344	  CFLAGS=$lt_globsym_save_CFLAGS
7345	else
7346	  echo "cannot find nm_test_func in $nlist" >&5
7347	fi
7348      else
7349	echo "cannot find nm_test_var in $nlist" >&5
7350      fi
7351    else
7352      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7353    fi
7354  else
7355    echo "$progname: failed program was:" >&5
7356    cat conftest.$ac_ext >&5
7357  fi
7358  rm -rf conftest* conftst*
7359
7360  # Do not use the global_symbol_pipe unless it works.
7361  if test "$pipe_works" = yes; then
7362    break
7363  else
7364    lt_cv_sys_global_symbol_pipe=
7365  fi
7366done
7367
7368fi
7369
7370if test -z "$lt_cv_sys_global_symbol_pipe"; then
7371  lt_cv_sys_global_symbol_to_cdecl=
7372fi
7373if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7375$as_echo "failed" >&6; }
7376else
7377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7378$as_echo "ok" >&6; }
7379fi
7380
7381# Response file support.
7382if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7383  nm_file_list_spec='@'
7384elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7385  nm_file_list_spec='@'
7386fi
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7415$as_echo_n "checking for sysroot... " >&6; }
7416
7417# Check whether --with-sysroot was given.
7418if test "${with_sysroot+set}" = set; then :
7419  withval=$with_sysroot;
7420else
7421  with_sysroot=no
7422fi
7423
7424
7425lt_sysroot=
7426case ${with_sysroot} in #(
7427 yes)
7428   if test "$GCC" = yes; then
7429     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7430   fi
7431   ;; #(
7432 /*)
7433   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7434   ;; #(
7435 no|'')
7436   ;; #(
7437 *)
7438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7439$as_echo "${with_sysroot}" >&6; }
7440   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7441   ;;
7442esac
7443
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7445$as_echo "${lt_sysroot:-no}" >&6; }
7446
7447
7448
7449
7450
7451# Check whether --enable-libtool-lock was given.
7452if test "${enable_libtool_lock+set}" = set; then :
7453  enableval=$enable_libtool_lock;
7454fi
7455
7456test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7457
7458# Some flags need to be propagated to the compiler or linker for good
7459# libtool support.
7460case $host in
7461ia64-*-hpux*)
7462  # Find out which ABI we are using.
7463  echo 'int i;' > conftest.$ac_ext
7464  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7465  (eval $ac_compile) 2>&5
7466  ac_status=$?
7467  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7468  test $ac_status = 0; }; then
7469    case `/usr/bin/file conftest.$ac_objext` in
7470      *ELF-32*)
7471	HPUX_IA64_MODE="32"
7472	;;
7473      *ELF-64*)
7474	HPUX_IA64_MODE="64"
7475	;;
7476    esac
7477  fi
7478  rm -rf conftest*
7479  ;;
7480*-*-irix6*)
7481  # Find out which ABI we are using.
7482  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7483  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7484  (eval $ac_compile) 2>&5
7485  ac_status=$?
7486  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7487  test $ac_status = 0; }; then
7488    if test "$lt_cv_prog_gnu_ld" = yes; then
7489      case `/usr/bin/file conftest.$ac_objext` in
7490	*32-bit*)
7491	  LD="${LD-ld} -melf32bsmip"
7492	  ;;
7493	*N32*)
7494	  LD="${LD-ld} -melf32bmipn32"
7495	  ;;
7496	*64-bit*)
7497	  LD="${LD-ld} -melf64bmip"
7498	;;
7499      esac
7500    else
7501      case `/usr/bin/file conftest.$ac_objext` in
7502	*32-bit*)
7503	  LD="${LD-ld} -32"
7504	  ;;
7505	*N32*)
7506	  LD="${LD-ld} -n32"
7507	  ;;
7508	*64-bit*)
7509	  LD="${LD-ld} -64"
7510	  ;;
7511      esac
7512    fi
7513  fi
7514  rm -rf conftest*
7515  ;;
7516
7517x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7518s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7519  # Find out which ABI we are using.
7520  echo 'int i;' > conftest.$ac_ext
7521  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7522  (eval $ac_compile) 2>&5
7523  ac_status=$?
7524  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7525  test $ac_status = 0; }; then
7526    case `/usr/bin/file conftest.o` in
7527      *32-bit*)
7528	case $host in
7529	  x86_64-*kfreebsd*-gnu)
7530	    LD="${LD-ld} -m elf_i386_fbsd"
7531	    ;;
7532	  x86_64-*linux*)
7533	    LD="${LD-ld} -m elf_i386"
7534	    ;;
7535	  ppc64-*linux*|powerpc64-*linux*)
7536	    LD="${LD-ld} -m elf32ppclinux"
7537	    ;;
7538	  s390x-*linux*)
7539	    LD="${LD-ld} -m elf_s390"
7540	    ;;
7541	  sparc64-*linux*)
7542	    LD="${LD-ld} -m elf32_sparc"
7543	    ;;
7544	esac
7545	;;
7546      *64-bit*)
7547	case $host in
7548	  x86_64-*kfreebsd*-gnu)
7549	    LD="${LD-ld} -m elf_x86_64_fbsd"
7550	    ;;
7551	  x86_64-*linux*)
7552	    LD="${LD-ld} -m elf_x86_64"
7553	    ;;
7554	  ppc*-*linux*|powerpc*-*linux*)
7555	    LD="${LD-ld} -m elf64ppc"
7556	    ;;
7557	  s390*-*linux*|s390*-*tpf*)
7558	    LD="${LD-ld} -m elf64_s390"
7559	    ;;
7560	  sparc*-*linux*)
7561	    LD="${LD-ld} -m elf64_sparc"
7562	    ;;
7563	esac
7564	;;
7565    esac
7566  fi
7567  rm -rf conftest*
7568  ;;
7569
7570*-*-sco3.2v5*)
7571  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7572  SAVE_CFLAGS="$CFLAGS"
7573  CFLAGS="$CFLAGS -belf"
7574  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7575$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7576if ${lt_cv_cc_needs_belf+:} false; then :
7577  $as_echo_n "(cached) " >&6
7578else
7579  ac_ext=c
7580ac_cpp='$CPP $CPPFLAGS'
7581ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7582ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7583ac_compiler_gnu=$ac_cv_c_compiler_gnu
7584
7585     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7586/* end confdefs.h.  */
7587
7588int
7589main ()
7590{
7591
7592  ;
7593  return 0;
7594}
7595_ACEOF
7596if ac_fn_c_try_link "$LINENO"; then :
7597  lt_cv_cc_needs_belf=yes
7598else
7599  lt_cv_cc_needs_belf=no
7600fi
7601rm -f core conftest.err conftest.$ac_objext \
7602    conftest$ac_exeext conftest.$ac_ext
7603     ac_ext=c
7604ac_cpp='$CPP $CPPFLAGS'
7605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7607ac_compiler_gnu=$ac_cv_c_compiler_gnu
7608
7609fi
7610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7611$as_echo "$lt_cv_cc_needs_belf" >&6; }
7612  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7613    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7614    CFLAGS="$SAVE_CFLAGS"
7615  fi
7616  ;;
7617sparc*-*solaris*)
7618  # Find out which ABI we are using.
7619  echo 'int i;' > conftest.$ac_ext
7620  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7621  (eval $ac_compile) 2>&5
7622  ac_status=$?
7623  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7624  test $ac_status = 0; }; then
7625    case `/usr/bin/file conftest.o` in
7626    *64-bit*)
7627      case $lt_cv_prog_gnu_ld in
7628      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7629      *)
7630	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7631	  LD="${LD-ld} -64"
7632	fi
7633	;;
7634      esac
7635      ;;
7636    esac
7637  fi
7638  rm -rf conftest*
7639  ;;
7640esac
7641
7642need_locks="$enable_libtool_lock"
7643
7644if test -n "$ac_tool_prefix"; then
7645  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7646set dummy ${ac_tool_prefix}mt; ac_word=$2
7647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7648$as_echo_n "checking for $ac_word... " >&6; }
7649if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7650  $as_echo_n "(cached) " >&6
7651else
7652  if test -n "$MANIFEST_TOOL"; then
7653  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7654else
7655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7656for as_dir in $PATH
7657do
7658  IFS=$as_save_IFS
7659  test -z "$as_dir" && as_dir=.
7660    for ac_exec_ext in '' $ac_executable_extensions; do
7661  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7662    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7663    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7664    break 2
7665  fi
7666done
7667  done
7668IFS=$as_save_IFS
7669
7670fi
7671fi
7672MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7673if test -n "$MANIFEST_TOOL"; then
7674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7675$as_echo "$MANIFEST_TOOL" >&6; }
7676else
7677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7678$as_echo "no" >&6; }
7679fi
7680
7681
7682fi
7683if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7684  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7685  # Extract the first word of "mt", so it can be a program name with args.
7686set dummy mt; ac_word=$2
7687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7688$as_echo_n "checking for $ac_word... " >&6; }
7689if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7690  $as_echo_n "(cached) " >&6
7691else
7692  if test -n "$ac_ct_MANIFEST_TOOL"; then
7693  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7694else
7695as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7696for as_dir in $PATH
7697do
7698  IFS=$as_save_IFS
7699  test -z "$as_dir" && as_dir=.
7700    for ac_exec_ext in '' $ac_executable_extensions; do
7701  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7702    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7703    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7704    break 2
7705  fi
7706done
7707  done
7708IFS=$as_save_IFS
7709
7710fi
7711fi
7712ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7713if test -n "$ac_ct_MANIFEST_TOOL"; then
7714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7715$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7716else
7717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7718$as_echo "no" >&6; }
7719fi
7720
7721  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7722    MANIFEST_TOOL=":"
7723  else
7724    case $cross_compiling:$ac_tool_warned in
7725yes:)
7726{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7727$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7728ac_tool_warned=yes ;;
7729esac
7730    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7731  fi
7732else
7733  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7734fi
7735
7736test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7738$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7739if ${lt_cv_path_mainfest_tool+:} false; then :
7740  $as_echo_n "(cached) " >&6
7741else
7742  lt_cv_path_mainfest_tool=no
7743  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7744  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7745  cat conftest.err >&5
7746  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7747    lt_cv_path_mainfest_tool=yes
7748  fi
7749  rm -f conftest*
7750fi
7751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7752$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7753if test "x$lt_cv_path_mainfest_tool" != xyes; then
7754  MANIFEST_TOOL=:
7755fi
7756
7757
7758
7759
7760
7761
7762  case $host_os in
7763    rhapsody* | darwin*)
7764    if test -n "$ac_tool_prefix"; then
7765  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7766set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7768$as_echo_n "checking for $ac_word... " >&6; }
7769if ${ac_cv_prog_DSYMUTIL+:} false; then :
7770  $as_echo_n "(cached) " >&6
7771else
7772  if test -n "$DSYMUTIL"; then
7773  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7774else
7775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776for as_dir in $PATH
7777do
7778  IFS=$as_save_IFS
7779  test -z "$as_dir" && as_dir=.
7780    for ac_exec_ext in '' $ac_executable_extensions; do
7781  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7782    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7783    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7784    break 2
7785  fi
7786done
7787  done
7788IFS=$as_save_IFS
7789
7790fi
7791fi
7792DSYMUTIL=$ac_cv_prog_DSYMUTIL
7793if test -n "$DSYMUTIL"; then
7794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7795$as_echo "$DSYMUTIL" >&6; }
7796else
7797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7798$as_echo "no" >&6; }
7799fi
7800
7801
7802fi
7803if test -z "$ac_cv_prog_DSYMUTIL"; then
7804  ac_ct_DSYMUTIL=$DSYMUTIL
7805  # Extract the first word of "dsymutil", so it can be a program name with args.
7806set dummy dsymutil; ac_word=$2
7807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7808$as_echo_n "checking for $ac_word... " >&6; }
7809if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7810  $as_echo_n "(cached) " >&6
7811else
7812  if test -n "$ac_ct_DSYMUTIL"; then
7813  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7814else
7815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7816for as_dir in $PATH
7817do
7818  IFS=$as_save_IFS
7819  test -z "$as_dir" && as_dir=.
7820    for ac_exec_ext in '' $ac_executable_extensions; do
7821  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7822    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7823    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7824    break 2
7825  fi
7826done
7827  done
7828IFS=$as_save_IFS
7829
7830fi
7831fi
7832ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7833if test -n "$ac_ct_DSYMUTIL"; then
7834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7835$as_echo "$ac_ct_DSYMUTIL" >&6; }
7836else
7837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7838$as_echo "no" >&6; }
7839fi
7840
7841  if test "x$ac_ct_DSYMUTIL" = x; then
7842    DSYMUTIL=":"
7843  else
7844    case $cross_compiling:$ac_tool_warned in
7845yes:)
7846{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7847$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7848ac_tool_warned=yes ;;
7849esac
7850    DSYMUTIL=$ac_ct_DSYMUTIL
7851  fi
7852else
7853  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7854fi
7855
7856    if test -n "$ac_tool_prefix"; then
7857  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7858set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7860$as_echo_n "checking for $ac_word... " >&6; }
7861if ${ac_cv_prog_NMEDIT+:} false; then :
7862  $as_echo_n "(cached) " >&6
7863else
7864  if test -n "$NMEDIT"; then
7865  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7866else
7867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7868for as_dir in $PATH
7869do
7870  IFS=$as_save_IFS
7871  test -z "$as_dir" && as_dir=.
7872    for ac_exec_ext in '' $ac_executable_extensions; do
7873  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7874    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7875    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7876    break 2
7877  fi
7878done
7879  done
7880IFS=$as_save_IFS
7881
7882fi
7883fi
7884NMEDIT=$ac_cv_prog_NMEDIT
7885if test -n "$NMEDIT"; then
7886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7887$as_echo "$NMEDIT" >&6; }
7888else
7889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7890$as_echo "no" >&6; }
7891fi
7892
7893
7894fi
7895if test -z "$ac_cv_prog_NMEDIT"; then
7896  ac_ct_NMEDIT=$NMEDIT
7897  # Extract the first word of "nmedit", so it can be a program name with args.
7898set dummy nmedit; ac_word=$2
7899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7900$as_echo_n "checking for $ac_word... " >&6; }
7901if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7902  $as_echo_n "(cached) " >&6
7903else
7904  if test -n "$ac_ct_NMEDIT"; then
7905  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7906else
7907as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7908for as_dir in $PATH
7909do
7910  IFS=$as_save_IFS
7911  test -z "$as_dir" && as_dir=.
7912    for ac_exec_ext in '' $ac_executable_extensions; do
7913  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7914    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7915    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7916    break 2
7917  fi
7918done
7919  done
7920IFS=$as_save_IFS
7921
7922fi
7923fi
7924ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7925if test -n "$ac_ct_NMEDIT"; then
7926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7927$as_echo "$ac_ct_NMEDIT" >&6; }
7928else
7929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7930$as_echo "no" >&6; }
7931fi
7932
7933  if test "x$ac_ct_NMEDIT" = x; then
7934    NMEDIT=":"
7935  else
7936    case $cross_compiling:$ac_tool_warned in
7937yes:)
7938{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7939$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7940ac_tool_warned=yes ;;
7941esac
7942    NMEDIT=$ac_ct_NMEDIT
7943  fi
7944else
7945  NMEDIT="$ac_cv_prog_NMEDIT"
7946fi
7947
7948    if test -n "$ac_tool_prefix"; then
7949  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7950set dummy ${ac_tool_prefix}lipo; ac_word=$2
7951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7952$as_echo_n "checking for $ac_word... " >&6; }
7953if ${ac_cv_prog_LIPO+:} false; then :
7954  $as_echo_n "(cached) " >&6
7955else
7956  if test -n "$LIPO"; then
7957  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7958else
7959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7960for as_dir in $PATH
7961do
7962  IFS=$as_save_IFS
7963  test -z "$as_dir" && as_dir=.
7964    for ac_exec_ext in '' $ac_executable_extensions; do
7965  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7966    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7967    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7968    break 2
7969  fi
7970done
7971  done
7972IFS=$as_save_IFS
7973
7974fi
7975fi
7976LIPO=$ac_cv_prog_LIPO
7977if test -n "$LIPO"; then
7978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7979$as_echo "$LIPO" >&6; }
7980else
7981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7982$as_echo "no" >&6; }
7983fi
7984
7985
7986fi
7987if test -z "$ac_cv_prog_LIPO"; then
7988  ac_ct_LIPO=$LIPO
7989  # Extract the first word of "lipo", so it can be a program name with args.
7990set dummy lipo; ac_word=$2
7991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7992$as_echo_n "checking for $ac_word... " >&6; }
7993if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7994  $as_echo_n "(cached) " >&6
7995else
7996  if test -n "$ac_ct_LIPO"; then
7997  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7998else
7999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8000for as_dir in $PATH
8001do
8002  IFS=$as_save_IFS
8003  test -z "$as_dir" && as_dir=.
8004    for ac_exec_ext in '' $ac_executable_extensions; do
8005  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8006    ac_cv_prog_ac_ct_LIPO="lipo"
8007    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8008    break 2
8009  fi
8010done
8011  done
8012IFS=$as_save_IFS
8013
8014fi
8015fi
8016ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8017if test -n "$ac_ct_LIPO"; then
8018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8019$as_echo "$ac_ct_LIPO" >&6; }
8020else
8021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8022$as_echo "no" >&6; }
8023fi
8024
8025  if test "x$ac_ct_LIPO" = x; then
8026    LIPO=":"
8027  else
8028    case $cross_compiling:$ac_tool_warned in
8029yes:)
8030{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8031$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8032ac_tool_warned=yes ;;
8033esac
8034    LIPO=$ac_ct_LIPO
8035  fi
8036else
8037  LIPO="$ac_cv_prog_LIPO"
8038fi
8039
8040    if test -n "$ac_tool_prefix"; then
8041  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8042set dummy ${ac_tool_prefix}otool; ac_word=$2
8043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8044$as_echo_n "checking for $ac_word... " >&6; }
8045if ${ac_cv_prog_OTOOL+:} false; then :
8046  $as_echo_n "(cached) " >&6
8047else
8048  if test -n "$OTOOL"; then
8049  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8050else
8051as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8052for as_dir in $PATH
8053do
8054  IFS=$as_save_IFS
8055  test -z "$as_dir" && as_dir=.
8056    for ac_exec_ext in '' $ac_executable_extensions; do
8057  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8058    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8059    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8060    break 2
8061  fi
8062done
8063  done
8064IFS=$as_save_IFS
8065
8066fi
8067fi
8068OTOOL=$ac_cv_prog_OTOOL
8069if test -n "$OTOOL"; then
8070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8071$as_echo "$OTOOL" >&6; }
8072else
8073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074$as_echo "no" >&6; }
8075fi
8076
8077
8078fi
8079if test -z "$ac_cv_prog_OTOOL"; then
8080  ac_ct_OTOOL=$OTOOL
8081  # Extract the first word of "otool", so it can be a program name with args.
8082set dummy otool; ac_word=$2
8083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8084$as_echo_n "checking for $ac_word... " >&6; }
8085if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8086  $as_echo_n "(cached) " >&6
8087else
8088  if test -n "$ac_ct_OTOOL"; then
8089  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8090else
8091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8092for as_dir in $PATH
8093do
8094  IFS=$as_save_IFS
8095  test -z "$as_dir" && as_dir=.
8096    for ac_exec_ext in '' $ac_executable_extensions; do
8097  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8098    ac_cv_prog_ac_ct_OTOOL="otool"
8099    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8100    break 2
8101  fi
8102done
8103  done
8104IFS=$as_save_IFS
8105
8106fi
8107fi
8108ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8109if test -n "$ac_ct_OTOOL"; then
8110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8111$as_echo "$ac_ct_OTOOL" >&6; }
8112else
8113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8114$as_echo "no" >&6; }
8115fi
8116
8117  if test "x$ac_ct_OTOOL" = x; then
8118    OTOOL=":"
8119  else
8120    case $cross_compiling:$ac_tool_warned in
8121yes:)
8122{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8123$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8124ac_tool_warned=yes ;;
8125esac
8126    OTOOL=$ac_ct_OTOOL
8127  fi
8128else
8129  OTOOL="$ac_cv_prog_OTOOL"
8130fi
8131
8132    if test -n "$ac_tool_prefix"; then
8133  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8134set dummy ${ac_tool_prefix}otool64; ac_word=$2
8135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8136$as_echo_n "checking for $ac_word... " >&6; }
8137if ${ac_cv_prog_OTOOL64+:} false; then :
8138  $as_echo_n "(cached) " >&6
8139else
8140  if test -n "$OTOOL64"; then
8141  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8142else
8143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144for as_dir in $PATH
8145do
8146  IFS=$as_save_IFS
8147  test -z "$as_dir" && as_dir=.
8148    for ac_exec_ext in '' $ac_executable_extensions; do
8149  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8150    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8151    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8152    break 2
8153  fi
8154done
8155  done
8156IFS=$as_save_IFS
8157
8158fi
8159fi
8160OTOOL64=$ac_cv_prog_OTOOL64
8161if test -n "$OTOOL64"; then
8162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8163$as_echo "$OTOOL64" >&6; }
8164else
8165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8166$as_echo "no" >&6; }
8167fi
8168
8169
8170fi
8171if test -z "$ac_cv_prog_OTOOL64"; then
8172  ac_ct_OTOOL64=$OTOOL64
8173  # Extract the first word of "otool64", so it can be a program name with args.
8174set dummy otool64; ac_word=$2
8175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8176$as_echo_n "checking for $ac_word... " >&6; }
8177if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8178  $as_echo_n "(cached) " >&6
8179else
8180  if test -n "$ac_ct_OTOOL64"; then
8181  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8182else
8183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8184for as_dir in $PATH
8185do
8186  IFS=$as_save_IFS
8187  test -z "$as_dir" && as_dir=.
8188    for ac_exec_ext in '' $ac_executable_extensions; do
8189  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8190    ac_cv_prog_ac_ct_OTOOL64="otool64"
8191    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8192    break 2
8193  fi
8194done
8195  done
8196IFS=$as_save_IFS
8197
8198fi
8199fi
8200ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8201if test -n "$ac_ct_OTOOL64"; then
8202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8203$as_echo "$ac_ct_OTOOL64" >&6; }
8204else
8205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8206$as_echo "no" >&6; }
8207fi
8208
8209  if test "x$ac_ct_OTOOL64" = x; then
8210    OTOOL64=":"
8211  else
8212    case $cross_compiling:$ac_tool_warned in
8213yes:)
8214{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8215$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8216ac_tool_warned=yes ;;
8217esac
8218    OTOOL64=$ac_ct_OTOOL64
8219  fi
8220else
8221  OTOOL64="$ac_cv_prog_OTOOL64"
8222fi
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    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8251$as_echo_n "checking for -single_module linker flag... " >&6; }
8252if ${lt_cv_apple_cc_single_mod+:} false; then :
8253  $as_echo_n "(cached) " >&6
8254else
8255  lt_cv_apple_cc_single_mod=no
8256      if test -z "${LT_MULTI_MODULE}"; then
8257	# By default we will add the -single_module flag. You can override
8258	# by either setting the environment variable LT_MULTI_MODULE
8259	# non-empty at configure time, or by adding -multi_module to the
8260	# link flags.
8261	rm -rf libconftest.dylib*
8262	echo "int foo(void){return 1;}" > conftest.c
8263	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8264-dynamiclib -Wl,-single_module conftest.c" >&5
8265	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8266	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8267        _lt_result=$?
8268	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8269	  lt_cv_apple_cc_single_mod=yes
8270	else
8271	  cat conftest.err >&5
8272	fi
8273	rm -rf libconftest.dylib*
8274	rm -f conftest.*
8275      fi
8276fi
8277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8278$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8279    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8280$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8281if ${lt_cv_ld_exported_symbols_list+:} false; then :
8282  $as_echo_n "(cached) " >&6
8283else
8284  lt_cv_ld_exported_symbols_list=no
8285      save_LDFLAGS=$LDFLAGS
8286      echo "_main" > conftest.sym
8287      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8288      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8289/* end confdefs.h.  */
8290
8291int
8292main ()
8293{
8294
8295  ;
8296  return 0;
8297}
8298_ACEOF
8299if ac_fn_c_try_link "$LINENO"; then :
8300  lt_cv_ld_exported_symbols_list=yes
8301else
8302  lt_cv_ld_exported_symbols_list=no
8303fi
8304rm -f core conftest.err conftest.$ac_objext \
8305    conftest$ac_exeext conftest.$ac_ext
8306	LDFLAGS="$save_LDFLAGS"
8307
8308fi
8309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8310$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8311    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8312$as_echo_n "checking for -force_load linker flag... " >&6; }
8313if ${lt_cv_ld_force_load+:} false; then :
8314  $as_echo_n "(cached) " >&6
8315else
8316  lt_cv_ld_force_load=no
8317      cat > conftest.c << _LT_EOF
8318int forced_loaded() { return 2;}
8319_LT_EOF
8320      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8321      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8322      echo "$AR cru libconftest.a conftest.o" >&5
8323      $AR cru libconftest.a conftest.o 2>&5
8324      echo "$RANLIB libconftest.a" >&5
8325      $RANLIB libconftest.a 2>&5
8326      cat > conftest.c << _LT_EOF
8327int main() { return 0;}
8328_LT_EOF
8329      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8330      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8331      _lt_result=$?
8332      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8333	lt_cv_ld_force_load=yes
8334      else
8335	cat conftest.err >&5
8336      fi
8337        rm -f conftest.err libconftest.a conftest conftest.c
8338        rm -rf conftest.dSYM
8339
8340fi
8341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8342$as_echo "$lt_cv_ld_force_load" >&6; }
8343    case $host_os in
8344    rhapsody* | darwin1.[012])
8345      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8346    darwin1.*)
8347      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8348    darwin*) # darwin 5.x on
8349      # if running on 10.5 or later, the deployment target defaults
8350      # to the OS version, if on x86, and 10.4, the deployment
8351      # target defaults to 10.4. Don't you love it?
8352      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8353	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8354	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8355	10.[012]*)
8356	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8357	10.*)
8358	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8359      esac
8360    ;;
8361  esac
8362    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8363      _lt_dar_single_mod='$single_module'
8364    fi
8365    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8366      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8367    else
8368      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8369    fi
8370    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8371      _lt_dsymutil='~$DSYMUTIL $lib || :'
8372    else
8373      _lt_dsymutil=
8374    fi
8375    ;;
8376  esac
8377
8378# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8379for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8380		  inttypes.h stdint.h unistd.h
8381do :
8382  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8383ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8384"
8385if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8386  cat >>confdefs.h <<_ACEOF
8387#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8388_ACEOF
8389
8390fi
8391
8392done
8393
8394
8395for ac_header in dlfcn.h
8396do :
8397  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8398"
8399if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8400  cat >>confdefs.h <<_ACEOF
8401#define HAVE_DLFCN_H 1
8402_ACEOF
8403
8404fi
8405
8406done
8407
8408
8409
8410
8411
8412# Set options
8413
8414
8415
8416        enable_dlopen=no
8417
8418
8419
8420            # Check whether --enable-shared was given.
8421if test "${enable_shared+set}" = set; then :
8422  enableval=$enable_shared; p=${PACKAGE-default}
8423    case $enableval in
8424    yes) enable_shared=yes ;;
8425    no) enable_shared=no ;;
8426    *)
8427      enable_shared=no
8428      # Look at the argument we got.  We use all the common list separators.
8429      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8430      for pkg in $enableval; do
8431	IFS="$lt_save_ifs"
8432	if test "X$pkg" = "X$p"; then
8433	  enable_shared=yes
8434	fi
8435      done
8436      IFS="$lt_save_ifs"
8437      ;;
8438    esac
8439else
8440  enable_shared=yes
8441fi
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451  # Check whether --enable-static was given.
8452if test "${enable_static+set}" = set; then :
8453  enableval=$enable_static; p=${PACKAGE-default}
8454    case $enableval in
8455    yes) enable_static=yes ;;
8456    no) enable_static=no ;;
8457    *)
8458     enable_static=no
8459      # Look at the argument we got.  We use all the common list separators.
8460      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8461      for pkg in $enableval; do
8462	IFS="$lt_save_ifs"
8463	if test "X$pkg" = "X$p"; then
8464	  enable_static=yes
8465	fi
8466      done
8467      IFS="$lt_save_ifs"
8468      ;;
8469    esac
8470else
8471  enable_static=yes
8472fi
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483# Check whether --with-pic was given.
8484if test "${with_pic+set}" = set; then :
8485  withval=$with_pic; pic_mode="$withval"
8486else
8487  pic_mode=default
8488fi
8489
8490
8491test -z "$pic_mode" && pic_mode=default
8492
8493
8494
8495
8496
8497
8498
8499  # Check whether --enable-fast-install was given.
8500if test "${enable_fast_install+set}" = set; then :
8501  enableval=$enable_fast_install; p=${PACKAGE-default}
8502    case $enableval in
8503    yes) enable_fast_install=yes ;;
8504    no) enable_fast_install=no ;;
8505    *)
8506      enable_fast_install=no
8507      # Look at the argument we got.  We use all the common list separators.
8508      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8509      for pkg in $enableval; do
8510	IFS="$lt_save_ifs"
8511	if test "X$pkg" = "X$p"; then
8512	  enable_fast_install=yes
8513	fi
8514      done
8515      IFS="$lt_save_ifs"
8516      ;;
8517    esac
8518else
8519  enable_fast_install=yes
8520fi
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532# This can be used to rebuild libtool when needed
8533LIBTOOL_DEPS="$ltmain"
8534
8535# Always use our own libtool.
8536LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563test -z "$LN_S" && LN_S="ln -s"
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578if test -n "${ZSH_VERSION+set}" ; then
8579   setopt NO_GLOB_SUBST
8580fi
8581
8582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8583$as_echo_n "checking for objdir... " >&6; }
8584if ${lt_cv_objdir+:} false; then :
8585  $as_echo_n "(cached) " >&6
8586else
8587  rm -f .libs 2>/dev/null
8588mkdir .libs 2>/dev/null
8589if test -d .libs; then
8590  lt_cv_objdir=.libs
8591else
8592  # MS-DOS does not allow filenames that begin with a dot.
8593  lt_cv_objdir=_libs
8594fi
8595rmdir .libs 2>/dev/null
8596fi
8597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8598$as_echo "$lt_cv_objdir" >&6; }
8599objdir=$lt_cv_objdir
8600
8601
8602
8603
8604
8605cat >>confdefs.h <<_ACEOF
8606#define LT_OBJDIR "$lt_cv_objdir/"
8607_ACEOF
8608
8609
8610
8611
8612case $host_os in
8613aix3*)
8614  # AIX sometimes has problems with the GCC collect2 program.  For some
8615  # reason, if we set the COLLECT_NAMES environment variable, the problems
8616  # vanish in a puff of smoke.
8617  if test "X${COLLECT_NAMES+set}" != Xset; then
8618    COLLECT_NAMES=
8619    export COLLECT_NAMES
8620  fi
8621  ;;
8622esac
8623
8624# Global variables:
8625ofile=libtool
8626can_build_shared=yes
8627
8628# All known linkers require a `.a' archive for static linking (except MSVC,
8629# which needs '.lib').
8630libext=a
8631
8632with_gnu_ld="$lt_cv_prog_gnu_ld"
8633
8634old_CC="$CC"
8635old_CFLAGS="$CFLAGS"
8636
8637# Set sane defaults for various variables
8638test -z "$CC" && CC=cc
8639test -z "$LTCC" && LTCC=$CC
8640test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8641test -z "$LD" && LD=ld
8642test -z "$ac_objext" && ac_objext=o
8643
8644for cc_temp in $compiler""; do
8645  case $cc_temp in
8646    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8647    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8648    \-*) ;;
8649    *) break;;
8650  esac
8651done
8652cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8653
8654
8655# Only perform the check for file, if the check method requires it
8656test -z "$MAGIC_CMD" && MAGIC_CMD=file
8657case $deplibs_check_method in
8658file_magic*)
8659  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8660    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8661$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8662if ${lt_cv_path_MAGIC_CMD+:} false; then :
8663  $as_echo_n "(cached) " >&6
8664else
8665  case $MAGIC_CMD in
8666[\\/*] |  ?:[\\/]*)
8667  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8668  ;;
8669*)
8670  lt_save_MAGIC_CMD="$MAGIC_CMD"
8671  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8672  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8673  for ac_dir in $ac_dummy; do
8674    IFS="$lt_save_ifs"
8675    test -z "$ac_dir" && ac_dir=.
8676    if test -f $ac_dir/${ac_tool_prefix}file; then
8677      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8678      if test -n "$file_magic_test_file"; then
8679	case $deplibs_check_method in
8680	"file_magic "*)
8681	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8682	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8683	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8684	    $EGREP "$file_magic_regex" > /dev/null; then
8685	    :
8686	  else
8687	    cat <<_LT_EOF 1>&2
8688
8689*** Warning: the command libtool uses to detect shared libraries,
8690*** $file_magic_cmd, produces output that libtool cannot recognize.
8691*** The result is that libtool may fail to recognize shared libraries
8692*** as such.  This will affect the creation of libtool libraries that
8693*** depend on shared libraries, but programs linked with such libtool
8694*** libraries will work regardless of this problem.  Nevertheless, you
8695*** may want to report the problem to your system manager and/or to
8696*** bug-libtool@gnu.org
8697
8698_LT_EOF
8699	  fi ;;
8700	esac
8701      fi
8702      break
8703    fi
8704  done
8705  IFS="$lt_save_ifs"
8706  MAGIC_CMD="$lt_save_MAGIC_CMD"
8707  ;;
8708esac
8709fi
8710
8711MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8712if test -n "$MAGIC_CMD"; then
8713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8714$as_echo "$MAGIC_CMD" >&6; }
8715else
8716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8717$as_echo "no" >&6; }
8718fi
8719
8720
8721
8722
8723
8724if test -z "$lt_cv_path_MAGIC_CMD"; then
8725  if test -n "$ac_tool_prefix"; then
8726    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8727$as_echo_n "checking for file... " >&6; }
8728if ${lt_cv_path_MAGIC_CMD+:} false; then :
8729  $as_echo_n "(cached) " >&6
8730else
8731  case $MAGIC_CMD in
8732[\\/*] |  ?:[\\/]*)
8733  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8734  ;;
8735*)
8736  lt_save_MAGIC_CMD="$MAGIC_CMD"
8737  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8738  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8739  for ac_dir in $ac_dummy; do
8740    IFS="$lt_save_ifs"
8741    test -z "$ac_dir" && ac_dir=.
8742    if test -f $ac_dir/file; then
8743      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8744      if test -n "$file_magic_test_file"; then
8745	case $deplibs_check_method in
8746	"file_magic "*)
8747	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8748	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8749	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8750	    $EGREP "$file_magic_regex" > /dev/null; then
8751	    :
8752	  else
8753	    cat <<_LT_EOF 1>&2
8754
8755*** Warning: the command libtool uses to detect shared libraries,
8756*** $file_magic_cmd, produces output that libtool cannot recognize.
8757*** The result is that libtool may fail to recognize shared libraries
8758*** as such.  This will affect the creation of libtool libraries that
8759*** depend on shared libraries, but programs linked with such libtool
8760*** libraries will work regardless of this problem.  Nevertheless, you
8761*** may want to report the problem to your system manager and/or to
8762*** bug-libtool@gnu.org
8763
8764_LT_EOF
8765	  fi ;;
8766	esac
8767      fi
8768      break
8769    fi
8770  done
8771  IFS="$lt_save_ifs"
8772  MAGIC_CMD="$lt_save_MAGIC_CMD"
8773  ;;
8774esac
8775fi
8776
8777MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8778if test -n "$MAGIC_CMD"; then
8779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8780$as_echo "$MAGIC_CMD" >&6; }
8781else
8782  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8783$as_echo "no" >&6; }
8784fi
8785
8786
8787  else
8788    MAGIC_CMD=:
8789  fi
8790fi
8791
8792  fi
8793  ;;
8794esac
8795
8796# Use C for the default configuration in the libtool script
8797
8798lt_save_CC="$CC"
8799ac_ext=c
8800ac_cpp='$CPP $CPPFLAGS'
8801ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8802ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8803ac_compiler_gnu=$ac_cv_c_compiler_gnu
8804
8805
8806# Source file extension for C test sources.
8807ac_ext=c
8808
8809# Object file extension for compiled C test sources.
8810objext=o
8811objext=$objext
8812
8813# Code to be used in simple compile tests
8814lt_simple_compile_test_code="int some_variable = 0;"
8815
8816# Code to be used in simple link tests
8817lt_simple_link_test_code='int main(){return(0);}'
8818
8819
8820
8821
8822
8823
8824
8825# If no C compiler was specified, use CC.
8826LTCC=${LTCC-"$CC"}
8827
8828# If no C compiler flags were specified, use CFLAGS.
8829LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8830
8831# Allow CC to be a program name with arguments.
8832compiler=$CC
8833
8834# Save the default compiler, since it gets overwritten when the other
8835# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8836compiler_DEFAULT=$CC
8837
8838# save warnings/boilerplate of simple test code
8839ac_outfile=conftest.$ac_objext
8840echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8841eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8842_lt_compiler_boilerplate=`cat conftest.err`
8843$RM conftest*
8844
8845ac_outfile=conftest.$ac_objext
8846echo "$lt_simple_link_test_code" >conftest.$ac_ext
8847eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8848_lt_linker_boilerplate=`cat conftest.err`
8849$RM -r conftest*
8850
8851
8852if test -n "$compiler"; then
8853
8854lt_prog_compiler_no_builtin_flag=
8855
8856if test "$GCC" = yes; then
8857  case $cc_basename in
8858  nvcc*)
8859    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8860  *)
8861    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8862  esac
8863
8864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8865$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8866if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8867  $as_echo_n "(cached) " >&6
8868else
8869  lt_cv_prog_compiler_rtti_exceptions=no
8870   ac_outfile=conftest.$ac_objext
8871   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8872   lt_compiler_flag="-fno-rtti -fno-exceptions"
8873   # Insert the option either (1) after the last *FLAGS variable, or
8874   # (2) before a word containing "conftest.", or (3) at the end.
8875   # Note that $ac_compile itself does not contain backslashes and begins
8876   # with a dollar sign (not a hyphen), so the echo should work correctly.
8877   # The option is referenced via a variable to avoid confusing sed.
8878   lt_compile=`echo "$ac_compile" | $SED \
8879   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8880   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8881   -e 's:$: $lt_compiler_flag:'`
8882   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8883   (eval "$lt_compile" 2>conftest.err)
8884   ac_status=$?
8885   cat conftest.err >&5
8886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887   if (exit $ac_status) && test -s "$ac_outfile"; then
8888     # The compiler can only warn and ignore the option if not recognized
8889     # So say no if there are warnings other than the usual output.
8890     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8891     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8892     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8893       lt_cv_prog_compiler_rtti_exceptions=yes
8894     fi
8895   fi
8896   $RM conftest*
8897
8898fi
8899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8900$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8901
8902if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8903    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8904else
8905    :
8906fi
8907
8908fi
8909
8910
8911
8912
8913
8914
8915  lt_prog_compiler_wl=
8916lt_prog_compiler_pic=
8917lt_prog_compiler_static=
8918
8919
8920  if test "$GCC" = yes; then
8921    lt_prog_compiler_wl='-Wl,'
8922    lt_prog_compiler_static='-static'
8923
8924    case $host_os in
8925      aix*)
8926      # All AIX code is PIC.
8927      if test "$host_cpu" = ia64; then
8928	# AIX 5 now supports IA64 processor
8929	lt_prog_compiler_static='-Bstatic'
8930      fi
8931      ;;
8932
8933    amigaos*)
8934      case $host_cpu in
8935      powerpc)
8936            # see comment about AmigaOS4 .so support
8937            lt_prog_compiler_pic='-fPIC'
8938        ;;
8939      m68k)
8940            # FIXME: we need at least 68020 code to build shared libraries, but
8941            # adding the `-m68020' flag to GCC prevents building anything better,
8942            # like `-m68040'.
8943            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8944        ;;
8945      esac
8946      ;;
8947
8948    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8949      # PIC is the default for these OSes.
8950      ;;
8951
8952    mingw* | cygwin* | pw32* | os2* | cegcc*)
8953      # This hack is so that the source file can tell whether it is being
8954      # built for inclusion in a dll (and should export symbols for example).
8955      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8956      # (--disable-auto-import) libraries
8957      lt_prog_compiler_pic='-DDLL_EXPORT'
8958      ;;
8959
8960    darwin* | rhapsody*)
8961      # PIC is the default on this platform
8962      # Common symbols not allowed in MH_DYLIB files
8963      lt_prog_compiler_pic='-fno-common'
8964      ;;
8965
8966    haiku*)
8967      # PIC is the default for Haiku.
8968      # The "-static" flag exists, but is broken.
8969      lt_prog_compiler_static=
8970      ;;
8971
8972    hpux*)
8973      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8974      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8975      # sets the default TLS model and affects inlining.
8976      case $host_cpu in
8977      hppa*64*)
8978	# +Z the default
8979	;;
8980      *)
8981	lt_prog_compiler_pic='-fPIC'
8982	;;
8983      esac
8984      ;;
8985
8986    interix[3-9]*)
8987      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8988      # Instead, we relocate shared libraries at runtime.
8989      ;;
8990
8991    msdosdjgpp*)
8992      # Just because we use GCC doesn't mean we suddenly get shared libraries
8993      # on systems that don't support them.
8994      lt_prog_compiler_can_build_shared=no
8995      enable_shared=no
8996      ;;
8997
8998    *nto* | *qnx*)
8999      # QNX uses GNU C++, but need to define -shared option too, otherwise
9000      # it will coredump.
9001      lt_prog_compiler_pic='-fPIC -shared'
9002      ;;
9003
9004    sysv4*MP*)
9005      if test -d /usr/nec; then
9006	lt_prog_compiler_pic=-Kconform_pic
9007      fi
9008      ;;
9009
9010    *)
9011      lt_prog_compiler_pic='-fPIC'
9012      ;;
9013    esac
9014
9015    case $cc_basename in
9016    nvcc*) # Cuda Compiler Driver 2.2
9017      lt_prog_compiler_wl='-Xlinker '
9018      lt_prog_compiler_pic='-Xcompiler -fPIC'
9019      ;;
9020    esac
9021  else
9022    # PORTME Check for flag to pass linker flags through the system compiler.
9023    case $host_os in
9024    aix*)
9025      lt_prog_compiler_wl='-Wl,'
9026      if test "$host_cpu" = ia64; then
9027	# AIX 5 now supports IA64 processor
9028	lt_prog_compiler_static='-Bstatic'
9029      else
9030	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9031      fi
9032      ;;
9033
9034    mingw* | cygwin* | pw32* | os2* | cegcc*)
9035      # This hack is so that the source file can tell whether it is being
9036      # built for inclusion in a dll (and should export symbols for example).
9037      lt_prog_compiler_pic='-DDLL_EXPORT'
9038      ;;
9039
9040    hpux9* | hpux10* | hpux11*)
9041      lt_prog_compiler_wl='-Wl,'
9042      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9043      # not for PA HP-UX.
9044      case $host_cpu in
9045      hppa*64*|ia64*)
9046	# +Z the default
9047	;;
9048      *)
9049	lt_prog_compiler_pic='+Z'
9050	;;
9051      esac
9052      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9053      lt_prog_compiler_static='${wl}-a ${wl}archive'
9054      ;;
9055
9056    irix5* | irix6* | nonstopux*)
9057      lt_prog_compiler_wl='-Wl,'
9058      # PIC (with -KPIC) is the default.
9059      lt_prog_compiler_static='-non_shared'
9060      ;;
9061
9062    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9063      case $cc_basename in
9064      # old Intel for x86_64 which still supported -KPIC.
9065      ecc*)
9066	lt_prog_compiler_wl='-Wl,'
9067	lt_prog_compiler_pic='-KPIC'
9068	lt_prog_compiler_static='-static'
9069        ;;
9070      # icc used to be incompatible with GCC.
9071      # ICC 10 doesn't accept -KPIC any more.
9072      icc* | ifort*)
9073	lt_prog_compiler_wl='-Wl,'
9074	lt_prog_compiler_pic='-fPIC'
9075	lt_prog_compiler_static='-static'
9076        ;;
9077      # Lahey Fortran 8.1.
9078      lf95*)
9079	lt_prog_compiler_wl='-Wl,'
9080	lt_prog_compiler_pic='--shared'
9081	lt_prog_compiler_static='--static'
9082	;;
9083      nagfor*)
9084	# NAG Fortran compiler
9085	lt_prog_compiler_wl='-Wl,-Wl,,'
9086	lt_prog_compiler_pic='-PIC'
9087	lt_prog_compiler_static='-Bstatic'
9088	;;
9089      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9090        # Portland Group compilers (*not* the Pentium gcc compiler,
9091	# which looks to be a dead project)
9092	lt_prog_compiler_wl='-Wl,'
9093	lt_prog_compiler_pic='-fpic'
9094	lt_prog_compiler_static='-Bstatic'
9095        ;;
9096      ccc*)
9097        lt_prog_compiler_wl='-Wl,'
9098        # All Alpha code is PIC.
9099        lt_prog_compiler_static='-non_shared'
9100        ;;
9101      xl* | bgxl* | bgf* | mpixl*)
9102	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9103	lt_prog_compiler_wl='-Wl,'
9104	lt_prog_compiler_pic='-qpic'
9105	lt_prog_compiler_static='-qstaticlink'
9106	;;
9107      *)
9108	case `$CC -V 2>&1 | sed 5q` in
9109	*Sun\ F* | *Sun*Fortran*)
9110	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9111	  lt_prog_compiler_pic='-KPIC'
9112	  lt_prog_compiler_static='-Bstatic'
9113	  lt_prog_compiler_wl=''
9114	  ;;
9115	*Sun\ C*)
9116	  # Sun C 5.9
9117	  lt_prog_compiler_pic='-KPIC'
9118	  lt_prog_compiler_static='-Bstatic'
9119	  lt_prog_compiler_wl='-Wl,'
9120	  ;;
9121	esac
9122	;;
9123      esac
9124      ;;
9125
9126    newsos6)
9127      lt_prog_compiler_pic='-KPIC'
9128      lt_prog_compiler_static='-Bstatic'
9129      ;;
9130
9131    *nto* | *qnx*)
9132      # QNX uses GNU C++, but need to define -shared option too, otherwise
9133      # it will coredump.
9134      lt_prog_compiler_pic='-fPIC -shared'
9135      ;;
9136
9137    osf3* | osf4* | osf5*)
9138      lt_prog_compiler_wl='-Wl,'
9139      # All OSF/1 code is PIC.
9140      lt_prog_compiler_static='-non_shared'
9141      ;;
9142
9143    rdos*)
9144      lt_prog_compiler_static='-non_shared'
9145      ;;
9146
9147    solaris*)
9148      lt_prog_compiler_pic='-KPIC'
9149      lt_prog_compiler_static='-Bstatic'
9150      case $cc_basename in
9151      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9152	lt_prog_compiler_wl='-Qoption ld ';;
9153      *)
9154	lt_prog_compiler_wl='-Wl,';;
9155      esac
9156      ;;
9157
9158    sunos4*)
9159      lt_prog_compiler_wl='-Qoption ld '
9160      lt_prog_compiler_pic='-PIC'
9161      lt_prog_compiler_static='-Bstatic'
9162      ;;
9163
9164    sysv4 | sysv4.2uw2* | sysv4.3*)
9165      lt_prog_compiler_wl='-Wl,'
9166      lt_prog_compiler_pic='-KPIC'
9167      lt_prog_compiler_static='-Bstatic'
9168      ;;
9169
9170    sysv4*MP*)
9171      if test -d /usr/nec ;then
9172	lt_prog_compiler_pic='-Kconform_pic'
9173	lt_prog_compiler_static='-Bstatic'
9174      fi
9175      ;;
9176
9177    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9178      lt_prog_compiler_wl='-Wl,'
9179      lt_prog_compiler_pic='-KPIC'
9180      lt_prog_compiler_static='-Bstatic'
9181      ;;
9182
9183    unicos*)
9184      lt_prog_compiler_wl='-Wl,'
9185      lt_prog_compiler_can_build_shared=no
9186      ;;
9187
9188    uts4*)
9189      lt_prog_compiler_pic='-pic'
9190      lt_prog_compiler_static='-Bstatic'
9191      ;;
9192
9193    *)
9194      lt_prog_compiler_can_build_shared=no
9195      ;;
9196    esac
9197  fi
9198
9199case $host_os in
9200  # For platforms which do not support PIC, -DPIC is meaningless:
9201  *djgpp*)
9202    lt_prog_compiler_pic=
9203    ;;
9204  *)
9205    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9206    ;;
9207esac
9208
9209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9210$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9211if ${lt_cv_prog_compiler_pic+:} false; then :
9212  $as_echo_n "(cached) " >&6
9213else
9214  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9215fi
9216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9217$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9218lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9219
9220#
9221# Check to make sure the PIC flag actually works.
9222#
9223if test -n "$lt_prog_compiler_pic"; then
9224  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9225$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9226if ${lt_cv_prog_compiler_pic_works+:} false; then :
9227  $as_echo_n "(cached) " >&6
9228else
9229  lt_cv_prog_compiler_pic_works=no
9230   ac_outfile=conftest.$ac_objext
9231   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9232   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9233   # Insert the option either (1) after the last *FLAGS variable, or
9234   # (2) before a word containing "conftest.", or (3) at the end.
9235   # Note that $ac_compile itself does not contain backslashes and begins
9236   # with a dollar sign (not a hyphen), so the echo should work correctly.
9237   # The option is referenced via a variable to avoid confusing sed.
9238   lt_compile=`echo "$ac_compile" | $SED \
9239   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9240   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9241   -e 's:$: $lt_compiler_flag:'`
9242   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9243   (eval "$lt_compile" 2>conftest.err)
9244   ac_status=$?
9245   cat conftest.err >&5
9246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247   if (exit $ac_status) && test -s "$ac_outfile"; then
9248     # The compiler can only warn and ignore the option if not recognized
9249     # So say no if there are warnings other than the usual output.
9250     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9251     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9252     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9253       lt_cv_prog_compiler_pic_works=yes
9254     fi
9255   fi
9256   $RM conftest*
9257
9258fi
9259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9260$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9261
9262if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9263    case $lt_prog_compiler_pic in
9264     "" | " "*) ;;
9265     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9266     esac
9267else
9268    lt_prog_compiler_pic=
9269     lt_prog_compiler_can_build_shared=no
9270fi
9271
9272fi
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284#
9285# Check to make sure the static flag actually works.
9286#
9287wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9289$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9290if ${lt_cv_prog_compiler_static_works+:} false; then :
9291  $as_echo_n "(cached) " >&6
9292else
9293  lt_cv_prog_compiler_static_works=no
9294   save_LDFLAGS="$LDFLAGS"
9295   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9296   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9297   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9298     # The linker can only warn and ignore the option if not recognized
9299     # So say no if there are warnings
9300     if test -s conftest.err; then
9301       # Append any errors to the config.log.
9302       cat conftest.err 1>&5
9303       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9304       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9305       if diff conftest.exp conftest.er2 >/dev/null; then
9306         lt_cv_prog_compiler_static_works=yes
9307       fi
9308     else
9309       lt_cv_prog_compiler_static_works=yes
9310     fi
9311   fi
9312   $RM -r conftest*
9313   LDFLAGS="$save_LDFLAGS"
9314
9315fi
9316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9317$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9318
9319if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9320    :
9321else
9322    lt_prog_compiler_static=
9323fi
9324
9325
9326
9327
9328
9329
9330
9331  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9332$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9333if ${lt_cv_prog_compiler_c_o+:} false; then :
9334  $as_echo_n "(cached) " >&6
9335else
9336  lt_cv_prog_compiler_c_o=no
9337   $RM -r conftest 2>/dev/null
9338   mkdir conftest
9339   cd conftest
9340   mkdir out
9341   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9342
9343   lt_compiler_flag="-o out/conftest2.$ac_objext"
9344   # Insert the option either (1) after the last *FLAGS variable, or
9345   # (2) before a word containing "conftest.", or (3) at the end.
9346   # Note that $ac_compile itself does not contain backslashes and begins
9347   # with a dollar sign (not a hyphen), so the echo should work correctly.
9348   lt_compile=`echo "$ac_compile" | $SED \
9349   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9350   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9351   -e 's:$: $lt_compiler_flag:'`
9352   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9353   (eval "$lt_compile" 2>out/conftest.err)
9354   ac_status=$?
9355   cat out/conftest.err >&5
9356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9358   then
9359     # The compiler can only warn and ignore the option if not recognized
9360     # So say no if there are warnings
9361     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9362     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9363     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9364       lt_cv_prog_compiler_c_o=yes
9365     fi
9366   fi
9367   chmod u+w . 2>&5
9368   $RM conftest*
9369   # SGI C++ compiler will create directory out/ii_files/ for
9370   # template instantiation
9371   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9372   $RM out/* && rmdir out
9373   cd ..
9374   $RM -r conftest
9375   $RM conftest*
9376
9377fi
9378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9379$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9380
9381
9382
9383
9384
9385
9386  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9387$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9388if ${lt_cv_prog_compiler_c_o+:} false; then :
9389  $as_echo_n "(cached) " >&6
9390else
9391  lt_cv_prog_compiler_c_o=no
9392   $RM -r conftest 2>/dev/null
9393   mkdir conftest
9394   cd conftest
9395   mkdir out
9396   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9397
9398   lt_compiler_flag="-o out/conftest2.$ac_objext"
9399   # Insert the option either (1) after the last *FLAGS variable, or
9400   # (2) before a word containing "conftest.", or (3) at the end.
9401   # Note that $ac_compile itself does not contain backslashes and begins
9402   # with a dollar sign (not a hyphen), so the echo should work correctly.
9403   lt_compile=`echo "$ac_compile" | $SED \
9404   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9405   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9406   -e 's:$: $lt_compiler_flag:'`
9407   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9408   (eval "$lt_compile" 2>out/conftest.err)
9409   ac_status=$?
9410   cat out/conftest.err >&5
9411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9413   then
9414     # The compiler can only warn and ignore the option if not recognized
9415     # So say no if there are warnings
9416     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9417     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9418     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9419       lt_cv_prog_compiler_c_o=yes
9420     fi
9421   fi
9422   chmod u+w . 2>&5
9423   $RM conftest*
9424   # SGI C++ compiler will create directory out/ii_files/ for
9425   # template instantiation
9426   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9427   $RM out/* && rmdir out
9428   cd ..
9429   $RM -r conftest
9430   $RM conftest*
9431
9432fi
9433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9434$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9435
9436
9437
9438
9439hard_links="nottested"
9440if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9441  # do not overwrite the value of need_locks provided by the user
9442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9443$as_echo_n "checking if we can lock with hard links... " >&6; }
9444  hard_links=yes
9445  $RM conftest*
9446  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9447  touch conftest.a
9448  ln conftest.a conftest.b 2>&5 || hard_links=no
9449  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9451$as_echo "$hard_links" >&6; }
9452  if test "$hard_links" = no; then
9453    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9454$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9455    need_locks=warn
9456  fi
9457else
9458  need_locks=no
9459fi
9460
9461
9462
9463
9464
9465
9466  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9467$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9468
9469  runpath_var=
9470  allow_undefined_flag=
9471  always_export_symbols=no
9472  archive_cmds=
9473  archive_expsym_cmds=
9474  compiler_needs_object=no
9475  enable_shared_with_static_runtimes=no
9476  export_dynamic_flag_spec=
9477  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9478  hardcode_automatic=no
9479  hardcode_direct=no
9480  hardcode_direct_absolute=no
9481  hardcode_libdir_flag_spec=
9482  hardcode_libdir_flag_spec_ld=
9483  hardcode_libdir_separator=
9484  hardcode_minus_L=no
9485  hardcode_shlibpath_var=unsupported
9486  inherit_rpath=no
9487  link_all_deplibs=unknown
9488  module_cmds=
9489  module_expsym_cmds=
9490  old_archive_from_new_cmds=
9491  old_archive_from_expsyms_cmds=
9492  thread_safe_flag_spec=
9493  whole_archive_flag_spec=
9494  # include_expsyms should be a list of space-separated symbols to be *always*
9495  # included in the symbol list
9496  include_expsyms=
9497  # exclude_expsyms can be an extended regexp of symbols to exclude
9498  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9499  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9500  # as well as any symbol that contains `d'.
9501  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9502  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9503  # platforms (ab)use it in PIC code, but their linkers get confused if
9504  # the symbol is explicitly referenced.  Since portable code cannot
9505  # rely on this symbol name, it's probably fine to never include it in
9506  # preloaded symbol tables.
9507  # Exclude shared library initialization/finalization symbols.
9508  extract_expsyms_cmds=
9509
9510  case $host_os in
9511  cygwin* | mingw* | pw32* | cegcc*)
9512    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9513    # When not using gcc, we currently assume that we are using
9514    # Microsoft Visual C++.
9515    if test "$GCC" != yes; then
9516      with_gnu_ld=no
9517    fi
9518    ;;
9519  interix*)
9520    # we just hope/assume this is gcc and not c89 (= MSVC++)
9521    with_gnu_ld=yes
9522    ;;
9523  openbsd*)
9524    with_gnu_ld=no
9525    ;;
9526  esac
9527
9528  ld_shlibs=yes
9529
9530  # On some targets, GNU ld is compatible enough with the native linker
9531  # that we're better off using the native interface for both.
9532  lt_use_gnu_ld_interface=no
9533  if test "$with_gnu_ld" = yes; then
9534    case $host_os in
9535      aix*)
9536	# The AIX port of GNU ld has always aspired to compatibility
9537	# with the native linker.  However, as the warning in the GNU ld
9538	# block says, versions before 2.19.5* couldn't really create working
9539	# shared libraries, regardless of the interface used.
9540	case `$LD -v 2>&1` in
9541	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9542	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9543	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9544	  *)
9545	    lt_use_gnu_ld_interface=yes
9546	    ;;
9547	esac
9548	;;
9549      *)
9550	lt_use_gnu_ld_interface=yes
9551	;;
9552    esac
9553  fi
9554
9555  if test "$lt_use_gnu_ld_interface" = yes; then
9556    # If archive_cmds runs LD, not CC, wlarc should be empty
9557    wlarc='${wl}'
9558
9559    # Set some defaults for GNU ld with shared library support. These
9560    # are reset later if shared libraries are not supported. Putting them
9561    # here allows them to be overridden if necessary.
9562    runpath_var=LD_RUN_PATH
9563    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9564    export_dynamic_flag_spec='${wl}--export-dynamic'
9565    # ancient GNU ld didn't support --whole-archive et. al.
9566    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9567      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9568    else
9569      whole_archive_flag_spec=
9570    fi
9571    supports_anon_versioning=no
9572    case `$LD -v 2>&1` in
9573      *GNU\ gold*) supports_anon_versioning=yes ;;
9574      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9575      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9576      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9577      *\ 2.11.*) ;; # other 2.11 versions
9578      *) supports_anon_versioning=yes ;;
9579    esac
9580
9581    # See if GNU ld supports shared libraries.
9582    case $host_os in
9583    aix[3-9]*)
9584      # On AIX/PPC, the GNU linker is very broken
9585      if test "$host_cpu" != ia64; then
9586	ld_shlibs=no
9587	cat <<_LT_EOF 1>&2
9588
9589*** Warning: the GNU linker, at least up to release 2.19, is reported
9590*** to be unable to reliably create shared libraries on AIX.
9591*** Therefore, libtool is disabling shared libraries support.  If you
9592*** really care for shared libraries, you may want to install binutils
9593*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9594*** You will then need to restart the configuration process.
9595
9596_LT_EOF
9597      fi
9598      ;;
9599
9600    amigaos*)
9601      case $host_cpu in
9602      powerpc)
9603            # see comment about AmigaOS4 .so support
9604            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9605            archive_expsym_cmds=''
9606        ;;
9607      m68k)
9608            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)'
9609            hardcode_libdir_flag_spec='-L$libdir'
9610            hardcode_minus_L=yes
9611        ;;
9612      esac
9613      ;;
9614
9615    beos*)
9616      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9617	allow_undefined_flag=unsupported
9618	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9619	# support --undefined.  This deserves some investigation.  FIXME
9620	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9621      else
9622	ld_shlibs=no
9623      fi
9624      ;;
9625
9626    cygwin* | mingw* | pw32* | cegcc*)
9627      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9628      # as there is no search path for DLLs.
9629      hardcode_libdir_flag_spec='-L$libdir'
9630      export_dynamic_flag_spec='${wl}--export-all-symbols'
9631      allow_undefined_flag=unsupported
9632      always_export_symbols=no
9633      enable_shared_with_static_runtimes=yes
9634      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9635      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9636
9637      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9638        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9639	# If the export-symbols file already is a .def file (1st line
9640	# is EXPORTS), use it as is; otherwise, prepend...
9641	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9642	  cp $export_symbols $output_objdir/$soname.def;
9643	else
9644	  echo EXPORTS > $output_objdir/$soname.def;
9645	  cat $export_symbols >> $output_objdir/$soname.def;
9646	fi~
9647	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9648      else
9649	ld_shlibs=no
9650      fi
9651      ;;
9652
9653    haiku*)
9654      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9655      link_all_deplibs=yes
9656      ;;
9657
9658    interix[3-9]*)
9659      hardcode_direct=no
9660      hardcode_shlibpath_var=no
9661      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9662      export_dynamic_flag_spec='${wl}-E'
9663      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9664      # Instead, shared libraries are loaded at an image base (0x10000000 by
9665      # default) and relocated if they conflict, which is a slow very memory
9666      # consuming and fragmenting process.  To avoid this, we pick a random,
9667      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9668      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9669      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9670      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'
9671      ;;
9672
9673    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9674      tmp_diet=no
9675      if test "$host_os" = linux-dietlibc; then
9676	case $cc_basename in
9677	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9678	esac
9679      fi
9680      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9681	 && test "$tmp_diet" = no
9682      then
9683	tmp_addflag=' $pic_flag'
9684	tmp_sharedflag='-shared'
9685	case $cc_basename,$host_cpu in
9686        pgcc*)				# Portland Group C compiler
9687	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9688	  tmp_addflag=' $pic_flag'
9689	  ;;
9690	pgf77* | pgf90* | pgf95* | pgfortran*)
9691					# Portland Group f77 and f90 compilers
9692	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9693	  tmp_addflag=' $pic_flag -Mnomain' ;;
9694	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9695	  tmp_addflag=' -i_dynamic' ;;
9696	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9697	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9698	ifc* | ifort*)			# Intel Fortran compiler
9699	  tmp_addflag=' -nofor_main' ;;
9700	lf95*)				# Lahey Fortran 8.1
9701	  whole_archive_flag_spec=
9702	  tmp_sharedflag='--shared' ;;
9703	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9704	  tmp_sharedflag='-qmkshrobj'
9705	  tmp_addflag= ;;
9706	nvcc*)	# Cuda Compiler Driver 2.2
9707	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9708	  compiler_needs_object=yes
9709	  ;;
9710	esac
9711	case `$CC -V 2>&1 | sed 5q` in
9712	*Sun\ C*)			# Sun C 5.9
9713	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9714	  compiler_needs_object=yes
9715	  tmp_sharedflag='-G' ;;
9716	*Sun\ F*)			# Sun Fortran 8.3
9717	  tmp_sharedflag='-G' ;;
9718	esac
9719	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9720
9721        if test "x$supports_anon_versioning" = xyes; then
9722          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9723	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9724	    echo "local: *; };" >> $output_objdir/$libname.ver~
9725	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9726        fi
9727
9728	case $cc_basename in
9729	xlf* | bgf* | bgxlf* | mpixlf*)
9730	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9731	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9732	  hardcode_libdir_flag_spec=
9733	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9734	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9735	  if test "x$supports_anon_versioning" = xyes; then
9736	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9737	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9738	      echo "local: *; };" >> $output_objdir/$libname.ver~
9739	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9740	  fi
9741	  ;;
9742	esac
9743      else
9744        ld_shlibs=no
9745      fi
9746      ;;
9747
9748    netbsd*)
9749      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9750	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9751	wlarc=
9752      else
9753	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9754	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9755      fi
9756      ;;
9757
9758    solaris*)
9759      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9760	ld_shlibs=no
9761	cat <<_LT_EOF 1>&2
9762
9763*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9764*** create shared libraries on Solaris systems.  Therefore, libtool
9765*** is disabling shared libraries support.  We urge you to upgrade GNU
9766*** binutils to release 2.9.1 or newer.  Another option is to modify
9767*** your PATH or compiler configuration so that the native linker is
9768*** used, and then restart.
9769
9770_LT_EOF
9771      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9772	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9773	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9774      else
9775	ld_shlibs=no
9776      fi
9777      ;;
9778
9779    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9780      case `$LD -v 2>&1` in
9781        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9782	ld_shlibs=no
9783	cat <<_LT_EOF 1>&2
9784
9785*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9786*** reliably create shared libraries on SCO systems.  Therefore, libtool
9787*** is disabling shared libraries support.  We urge you to upgrade GNU
9788*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9789*** your PATH or compiler configuration so that the native linker is
9790*** used, and then restart.
9791
9792_LT_EOF
9793	;;
9794	*)
9795	  # For security reasons, it is highly recommended that you always
9796	  # use absolute paths for naming shared libraries, and exclude the
9797	  # DT_RUNPATH tag from executables and libraries.  But doing so
9798	  # requires that you compile everything twice, which is a pain.
9799	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9800	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9801	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9802	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9803	  else
9804	    ld_shlibs=no
9805	  fi
9806	;;
9807      esac
9808      ;;
9809
9810    sunos4*)
9811      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9812      wlarc=
9813      hardcode_direct=yes
9814      hardcode_shlibpath_var=no
9815      ;;
9816
9817    *)
9818      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9819	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9820	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9821      else
9822	ld_shlibs=no
9823      fi
9824      ;;
9825    esac
9826
9827    if test "$ld_shlibs" = no; then
9828      runpath_var=
9829      hardcode_libdir_flag_spec=
9830      export_dynamic_flag_spec=
9831      whole_archive_flag_spec=
9832    fi
9833  else
9834    # PORTME fill in a description of your system's linker (not GNU ld)
9835    case $host_os in
9836    aix3*)
9837      allow_undefined_flag=unsupported
9838      always_export_symbols=yes
9839      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'
9840      # Note: this linker hardcodes the directories in LIBPATH if there
9841      # are no directories specified by -L.
9842      hardcode_minus_L=yes
9843      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9844	# Neither direct hardcoding nor static linking is supported with a
9845	# broken collect2.
9846	hardcode_direct=unsupported
9847      fi
9848      ;;
9849
9850    aix[4-9]*)
9851      if test "$host_cpu" = ia64; then
9852	# On IA64, the linker does run time linking by default, so we don't
9853	# have to do anything special.
9854	aix_use_runtimelinking=no
9855	exp_sym_flag='-Bexport'
9856	no_entry_flag=""
9857      else
9858	# If we're using GNU nm, then we don't want the "-C" option.
9859	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9860	# Also, AIX nm treats weak defined symbols like other global
9861	# defined symbols, whereas GNU nm marks them as "W".
9862	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9863	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9864	else
9865	  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'
9866	fi
9867	aix_use_runtimelinking=no
9868
9869	# Test if we are trying to use run time linking or normal
9870	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9871	# need to do runtime linking.
9872	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9873	  for ld_flag in $LDFLAGS; do
9874	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9875	    aix_use_runtimelinking=yes
9876	    break
9877	  fi
9878	  done
9879	  ;;
9880	esac
9881
9882	exp_sym_flag='-bexport'
9883	no_entry_flag='-bnoentry'
9884      fi
9885
9886      # When large executables or shared objects are built, AIX ld can
9887      # have problems creating the table of contents.  If linking a library
9888      # or program results in "error TOC overflow" add -mminimal-toc to
9889      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9890      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9891
9892      archive_cmds=''
9893      hardcode_direct=yes
9894      hardcode_direct_absolute=yes
9895      hardcode_libdir_separator=':'
9896      link_all_deplibs=yes
9897      file_list_spec='${wl}-f,'
9898
9899      if test "$GCC" = yes; then
9900	case $host_os in aix4.[012]|aix4.[012].*)
9901	# We only want to do this on AIX 4.2 and lower, the check
9902	# below for broken collect2 doesn't work under 4.3+
9903	  collect2name=`${CC} -print-prog-name=collect2`
9904	  if test -f "$collect2name" &&
9905	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9906	  then
9907	  # We have reworked collect2
9908	  :
9909	  else
9910	  # We have old collect2
9911	  hardcode_direct=unsupported
9912	  # It fails to find uninstalled libraries when the uninstalled
9913	  # path is not listed in the libpath.  Setting hardcode_minus_L
9914	  # to unsupported forces relinking
9915	  hardcode_minus_L=yes
9916	  hardcode_libdir_flag_spec='-L$libdir'
9917	  hardcode_libdir_separator=
9918	  fi
9919	  ;;
9920	esac
9921	shared_flag='-shared'
9922	if test "$aix_use_runtimelinking" = yes; then
9923	  shared_flag="$shared_flag "'${wl}-G'
9924	fi
9925      else
9926	# not using gcc
9927	if test "$host_cpu" = ia64; then
9928	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9929	# chokes on -Wl,-G. The following line is correct:
9930	  shared_flag='-G'
9931	else
9932	  if test "$aix_use_runtimelinking" = yes; then
9933	    shared_flag='${wl}-G'
9934	  else
9935	    shared_flag='${wl}-bM:SRE'
9936	  fi
9937	fi
9938      fi
9939
9940      export_dynamic_flag_spec='${wl}-bexpall'
9941      # It seems that -bexpall does not export symbols beginning with
9942      # underscore (_), so it is better to generate a list of symbols to export.
9943      always_export_symbols=yes
9944      if test "$aix_use_runtimelinking" = yes; then
9945	# Warning - without using the other runtime loading flags (-brtl),
9946	# -berok will link without error, but may produce a broken library.
9947	allow_undefined_flag='-berok'
9948        # Determine the default libpath from the value encoded in an
9949        # empty executable.
9950        if test "${lt_cv_aix_libpath+set}" = set; then
9951  aix_libpath=$lt_cv_aix_libpath
9952else
9953  if ${lt_cv_aix_libpath_+:} false; then :
9954  $as_echo_n "(cached) " >&6
9955else
9956  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9957/* end confdefs.h.  */
9958
9959int
9960main ()
9961{
9962
9963  ;
9964  return 0;
9965}
9966_ACEOF
9967if ac_fn_c_try_link "$LINENO"; then :
9968
9969  lt_aix_libpath_sed='
9970      /Import File Strings/,/^$/ {
9971	  /^0/ {
9972	      s/^0  *\([^ ]*\) *$/\1/
9973	      p
9974	  }
9975      }'
9976  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9977  # Check for a 64-bit object if we didn't find anything.
9978  if test -z "$lt_cv_aix_libpath_"; then
9979    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9980  fi
9981fi
9982rm -f core conftest.err conftest.$ac_objext \
9983    conftest$ac_exeext conftest.$ac_ext
9984  if test -z "$lt_cv_aix_libpath_"; then
9985    lt_cv_aix_libpath_="/usr/lib:/lib"
9986  fi
9987
9988fi
9989
9990  aix_libpath=$lt_cv_aix_libpath_
9991fi
9992
9993        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9994        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9995      else
9996	if test "$host_cpu" = ia64; then
9997	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9998	  allow_undefined_flag="-z nodefs"
9999	  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"
10000	else
10001	 # Determine the default libpath from the value encoded in an
10002	 # empty executable.
10003	 if test "${lt_cv_aix_libpath+set}" = set; then
10004  aix_libpath=$lt_cv_aix_libpath
10005else
10006  if ${lt_cv_aix_libpath_+:} false; then :
10007  $as_echo_n "(cached) " >&6
10008else
10009  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10010/* end confdefs.h.  */
10011
10012int
10013main ()
10014{
10015
10016  ;
10017  return 0;
10018}
10019_ACEOF
10020if ac_fn_c_try_link "$LINENO"; then :
10021
10022  lt_aix_libpath_sed='
10023      /Import File Strings/,/^$/ {
10024	  /^0/ {
10025	      s/^0  *\([^ ]*\) *$/\1/
10026	      p
10027	  }
10028      }'
10029  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10030  # Check for a 64-bit object if we didn't find anything.
10031  if test -z "$lt_cv_aix_libpath_"; then
10032    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10033  fi
10034fi
10035rm -f core conftest.err conftest.$ac_objext \
10036    conftest$ac_exeext conftest.$ac_ext
10037  if test -z "$lt_cv_aix_libpath_"; then
10038    lt_cv_aix_libpath_="/usr/lib:/lib"
10039  fi
10040
10041fi
10042
10043  aix_libpath=$lt_cv_aix_libpath_
10044fi
10045
10046	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10047	  # Warning - without using the other run time loading flags,
10048	  # -berok will link without error, but may produce a broken library.
10049	  no_undefined_flag=' ${wl}-bernotok'
10050	  allow_undefined_flag=' ${wl}-berok'
10051	  if test "$with_gnu_ld" = yes; then
10052	    # We only use this code for GNU lds that support --whole-archive.
10053	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10054	  else
10055	    # Exported symbols can be pulled into shared objects from archives
10056	    whole_archive_flag_spec='$convenience'
10057	  fi
10058	  archive_cmds_need_lc=yes
10059	  # This is similar to how AIX traditionally builds its shared libraries.
10060	  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'
10061	fi
10062      fi
10063      ;;
10064
10065    amigaos*)
10066      case $host_cpu in
10067      powerpc)
10068            # see comment about AmigaOS4 .so support
10069            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10070            archive_expsym_cmds=''
10071        ;;
10072      m68k)
10073            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)'
10074            hardcode_libdir_flag_spec='-L$libdir'
10075            hardcode_minus_L=yes
10076        ;;
10077      esac
10078      ;;
10079
10080    bsdi[45]*)
10081      export_dynamic_flag_spec=-rdynamic
10082      ;;
10083
10084    cygwin* | mingw* | pw32* | cegcc*)
10085      # When not using gcc, we currently assume that we are using
10086      # Microsoft Visual C++.
10087      # hardcode_libdir_flag_spec is actually meaningless, as there is
10088      # no search path for DLLs.
10089      case $cc_basename in
10090      cl*)
10091	# Native MSVC
10092	hardcode_libdir_flag_spec=' '
10093	allow_undefined_flag=unsupported
10094	always_export_symbols=yes
10095	file_list_spec='@'
10096	# Tell ltmain to make .lib files, not .a files.
10097	libext=lib
10098	# Tell ltmain to make .dll files, not .so files.
10099	shrext_cmds=".dll"
10100	# FIXME: Setting linknames here is a bad hack.
10101	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10102	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10103	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10104	  else
10105	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10106	  fi~
10107	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10108	  linknames='
10109	# The linker will not automatically build a static lib if we build a DLL.
10110	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10111	enable_shared_with_static_runtimes=yes
10112	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10113	# Don't use ranlib
10114	old_postinstall_cmds='chmod 644 $oldlib'
10115	postlink_cmds='lt_outputfile="@OUTPUT@"~
10116	  lt_tool_outputfile="@TOOL_OUTPUT@"~
10117	  case $lt_outputfile in
10118	    *.exe|*.EXE) ;;
10119	    *)
10120	      lt_outputfile="$lt_outputfile.exe"
10121	      lt_tool_outputfile="$lt_tool_outputfile.exe"
10122	      ;;
10123	  esac~
10124	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10125	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10126	    $RM "$lt_outputfile.manifest";
10127	  fi'
10128	;;
10129      *)
10130	# Assume MSVC wrapper
10131	hardcode_libdir_flag_spec=' '
10132	allow_undefined_flag=unsupported
10133	# Tell ltmain to make .lib files, not .a files.
10134	libext=lib
10135	# Tell ltmain to make .dll files, not .so files.
10136	shrext_cmds=".dll"
10137	# FIXME: Setting linknames here is a bad hack.
10138	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10139	# The linker will automatically build a .lib file if we build a DLL.
10140	old_archive_from_new_cmds='true'
10141	# FIXME: Should let the user specify the lib program.
10142	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10143	enable_shared_with_static_runtimes=yes
10144	;;
10145      esac
10146      ;;
10147
10148    darwin* | rhapsody*)
10149
10150
10151  archive_cmds_need_lc=no
10152  hardcode_direct=no
10153  hardcode_automatic=yes
10154  hardcode_shlibpath_var=unsupported
10155  if test "$lt_cv_ld_force_load" = "yes"; then
10156    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10157  else
10158    whole_archive_flag_spec=''
10159  fi
10160  link_all_deplibs=yes
10161  allow_undefined_flag="$_lt_dar_allow_undefined"
10162  case $cc_basename in
10163     ifort*) _lt_dar_can_shared=yes ;;
10164     *) _lt_dar_can_shared=$GCC ;;
10165  esac
10166  if test "$_lt_dar_can_shared" = "yes"; then
10167    output_verbose_link_cmd=func_echo_all
10168    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10169    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10170    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}"
10171    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}"
10172
10173  else
10174  ld_shlibs=no
10175  fi
10176
10177      ;;
10178
10179    dgux*)
10180      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10181      hardcode_libdir_flag_spec='-L$libdir'
10182      hardcode_shlibpath_var=no
10183      ;;
10184
10185    freebsd1*)
10186      ld_shlibs=no
10187      ;;
10188
10189    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10190    # support.  Future versions do this automatically, but an explicit c++rt0.o
10191    # does not break anything, and helps significantly (at the cost of a little
10192    # extra space).
10193    freebsd2.2*)
10194      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10195      hardcode_libdir_flag_spec='-R$libdir'
10196      hardcode_direct=yes
10197      hardcode_shlibpath_var=no
10198      ;;
10199
10200    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10201    freebsd2*)
10202      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10203      hardcode_direct=yes
10204      hardcode_minus_L=yes
10205      hardcode_shlibpath_var=no
10206      ;;
10207
10208    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10209    freebsd* | dragonfly*)
10210      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10211      hardcode_libdir_flag_spec='-R$libdir'
10212      hardcode_direct=yes
10213      hardcode_shlibpath_var=no
10214      ;;
10215
10216    hpux9*)
10217      if test "$GCC" = yes; then
10218	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10219      else
10220	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'
10221      fi
10222      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10223      hardcode_libdir_separator=:
10224      hardcode_direct=yes
10225
10226      # hardcode_minus_L: Not really in the search PATH,
10227      # but as the default location of the library.
10228      hardcode_minus_L=yes
10229      export_dynamic_flag_spec='${wl}-E'
10230      ;;
10231
10232    hpux10*)
10233      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10234	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10235      else
10236	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10237      fi
10238      if test "$with_gnu_ld" = no; then
10239	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10240	hardcode_libdir_flag_spec_ld='+b $libdir'
10241	hardcode_libdir_separator=:
10242	hardcode_direct=yes
10243	hardcode_direct_absolute=yes
10244	export_dynamic_flag_spec='${wl}-E'
10245	# hardcode_minus_L: Not really in the search PATH,
10246	# but as the default location of the library.
10247	hardcode_minus_L=yes
10248      fi
10249      ;;
10250
10251    hpux11*)
10252      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10253	case $host_cpu in
10254	hppa*64*)
10255	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10256	  ;;
10257	ia64*)
10258	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10259	  ;;
10260	*)
10261	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10262	  ;;
10263	esac
10264      else
10265	case $host_cpu in
10266	hppa*64*)
10267	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10268	  ;;
10269	ia64*)
10270	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10271	  ;;
10272	*)
10273
10274	  # Older versions of the 11.00 compiler do not understand -b yet
10275	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10276	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10277$as_echo_n "checking if $CC understands -b... " >&6; }
10278if ${lt_cv_prog_compiler__b+:} false; then :
10279  $as_echo_n "(cached) " >&6
10280else
10281  lt_cv_prog_compiler__b=no
10282   save_LDFLAGS="$LDFLAGS"
10283   LDFLAGS="$LDFLAGS -b"
10284   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10285   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10286     # The linker can only warn and ignore the option if not recognized
10287     # So say no if there are warnings
10288     if test -s conftest.err; then
10289       # Append any errors to the config.log.
10290       cat conftest.err 1>&5
10291       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10292       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10293       if diff conftest.exp conftest.er2 >/dev/null; then
10294         lt_cv_prog_compiler__b=yes
10295       fi
10296     else
10297       lt_cv_prog_compiler__b=yes
10298     fi
10299   fi
10300   $RM -r conftest*
10301   LDFLAGS="$save_LDFLAGS"
10302
10303fi
10304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10305$as_echo "$lt_cv_prog_compiler__b" >&6; }
10306
10307if test x"$lt_cv_prog_compiler__b" = xyes; then
10308    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10309else
10310    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10311fi
10312
10313	  ;;
10314	esac
10315      fi
10316      if test "$with_gnu_ld" = no; then
10317	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10318	hardcode_libdir_separator=:
10319
10320	case $host_cpu in
10321	hppa*64*|ia64*)
10322	  hardcode_direct=no
10323	  hardcode_shlibpath_var=no
10324	  ;;
10325	*)
10326	  hardcode_direct=yes
10327	  hardcode_direct_absolute=yes
10328	  export_dynamic_flag_spec='${wl}-E'
10329
10330	  # hardcode_minus_L: Not really in the search PATH,
10331	  # but as the default location of the library.
10332	  hardcode_minus_L=yes
10333	  ;;
10334	esac
10335      fi
10336      ;;
10337
10338    irix5* | irix6* | nonstopux*)
10339      if test "$GCC" = yes; then
10340	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10341	# Try to use the -exported_symbol ld option, if it does not
10342	# work, assume that -exports_file does not work either and
10343	# implicitly export all symbols.
10344	# This should be the same for all languages, so no per-tag cache variable.
10345	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10346$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10347if ${lt_cv_irix_exported_symbol+:} false; then :
10348  $as_echo_n "(cached) " >&6
10349else
10350  save_LDFLAGS="$LDFLAGS"
10351	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10352	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353/* end confdefs.h.  */
10354int foo (void) { return 0; }
10355_ACEOF
10356if ac_fn_c_try_link "$LINENO"; then :
10357  lt_cv_irix_exported_symbol=yes
10358else
10359  lt_cv_irix_exported_symbol=no
10360fi
10361rm -f core conftest.err conftest.$ac_objext \
10362    conftest$ac_exeext conftest.$ac_ext
10363           LDFLAGS="$save_LDFLAGS"
10364fi
10365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10366$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10367	if test "$lt_cv_irix_exported_symbol" = yes; then
10368          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10369	fi
10370      else
10371	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10372	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10373      fi
10374      archive_cmds_need_lc='no'
10375      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10376      hardcode_libdir_separator=:
10377      inherit_rpath=yes
10378      link_all_deplibs=yes
10379      ;;
10380
10381    netbsd*)
10382      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10383	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10384      else
10385	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10386      fi
10387      hardcode_libdir_flag_spec='-R$libdir'
10388      hardcode_direct=yes
10389      hardcode_shlibpath_var=no
10390      ;;
10391
10392    newsos6)
10393      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10394      hardcode_direct=yes
10395      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10396      hardcode_libdir_separator=:
10397      hardcode_shlibpath_var=no
10398      ;;
10399
10400    *nto* | *qnx*)
10401      ;;
10402
10403    openbsd*)
10404      if test -f /usr/libexec/ld.so; then
10405	hardcode_direct=yes
10406	hardcode_shlibpath_var=no
10407	hardcode_direct_absolute=yes
10408	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10409	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10410	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10411	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10412	  export_dynamic_flag_spec='${wl}-E'
10413	else
10414	  case $host_os in
10415	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10416	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10417	     hardcode_libdir_flag_spec='-R$libdir'
10418	     ;;
10419	   *)
10420	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10421	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10422	     ;;
10423	  esac
10424	fi
10425      else
10426	ld_shlibs=no
10427      fi
10428      ;;
10429
10430    os2*)
10431      hardcode_libdir_flag_spec='-L$libdir'
10432      hardcode_minus_L=yes
10433      allow_undefined_flag=unsupported
10434      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'
10435      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10436      ;;
10437
10438    osf3*)
10439      if test "$GCC" = yes; then
10440	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10441	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10442      else
10443	allow_undefined_flag=' -expect_unresolved \*'
10444	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10445      fi
10446      archive_cmds_need_lc='no'
10447      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10448      hardcode_libdir_separator=:
10449      ;;
10450
10451    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10452      if test "$GCC" = yes; then
10453	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10454	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10455	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10456      else
10457	allow_undefined_flag=' -expect_unresolved \*'
10458	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10459	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~
10460	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10461
10462	# Both c and cxx compiler support -rpath directly
10463	hardcode_libdir_flag_spec='-rpath $libdir'
10464      fi
10465      archive_cmds_need_lc='no'
10466      hardcode_libdir_separator=:
10467      ;;
10468
10469    solaris*)
10470      no_undefined_flag=' -z defs'
10471      if test "$GCC" = yes; then
10472	wlarc='${wl}'
10473	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10474	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10475	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10476      else
10477	case `$CC -V 2>&1` in
10478	*"Compilers 5.0"*)
10479	  wlarc=''
10480	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10481	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10482	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10483	  ;;
10484	*)
10485	  wlarc='${wl}'
10486	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10487	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10488	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10489	  ;;
10490	esac
10491      fi
10492      hardcode_libdir_flag_spec='-R$libdir'
10493      hardcode_shlibpath_var=no
10494      case $host_os in
10495      solaris2.[0-5] | solaris2.[0-5].*) ;;
10496      *)
10497	# The compiler driver will combine and reorder linker options,
10498	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10499	# but is careful enough not to reorder.
10500	# Supported since Solaris 2.6 (maybe 2.5.1?)
10501	if test "$GCC" = yes; then
10502	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10503	else
10504	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10505	fi
10506	;;
10507      esac
10508      link_all_deplibs=yes
10509      ;;
10510
10511    sunos4*)
10512      if test "x$host_vendor" = xsequent; then
10513	# Use $CC to link under sequent, because it throws in some extra .o
10514	# files that make .init and .fini sections work.
10515	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10516      else
10517	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10518      fi
10519      hardcode_libdir_flag_spec='-L$libdir'
10520      hardcode_direct=yes
10521      hardcode_minus_L=yes
10522      hardcode_shlibpath_var=no
10523      ;;
10524
10525    sysv4)
10526      case $host_vendor in
10527	sni)
10528	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10529	  hardcode_direct=yes # is this really true???
10530	;;
10531	siemens)
10532	  ## LD is ld it makes a PLAMLIB
10533	  ## CC just makes a GrossModule.
10534	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10535	  reload_cmds='$CC -r -o $output$reload_objs'
10536	  hardcode_direct=no
10537        ;;
10538	motorola)
10539	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10540	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10541	;;
10542      esac
10543      runpath_var='LD_RUN_PATH'
10544      hardcode_shlibpath_var=no
10545      ;;
10546
10547    sysv4.3*)
10548      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10549      hardcode_shlibpath_var=no
10550      export_dynamic_flag_spec='-Bexport'
10551      ;;
10552
10553    sysv4*MP*)
10554      if test -d /usr/nec; then
10555	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10556	hardcode_shlibpath_var=no
10557	runpath_var=LD_RUN_PATH
10558	hardcode_runpath_var=yes
10559	ld_shlibs=yes
10560      fi
10561      ;;
10562
10563    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10564      no_undefined_flag='${wl}-z,text'
10565      archive_cmds_need_lc=no
10566      hardcode_shlibpath_var=no
10567      runpath_var='LD_RUN_PATH'
10568
10569      if test "$GCC" = yes; then
10570	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10571	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10572      else
10573	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10574	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10575      fi
10576      ;;
10577
10578    sysv5* | sco3.2v5* | sco5v6*)
10579      # Note: We can NOT use -z defs as we might desire, because we do not
10580      # link with -lc, and that would cause any symbols used from libc to
10581      # always be unresolved, which means just about no library would
10582      # ever link correctly.  If we're not using GNU ld we use -z text
10583      # though, which does catch some bad symbols but isn't as heavy-handed
10584      # as -z defs.
10585      no_undefined_flag='${wl}-z,text'
10586      allow_undefined_flag='${wl}-z,nodefs'
10587      archive_cmds_need_lc=no
10588      hardcode_shlibpath_var=no
10589      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10590      hardcode_libdir_separator=':'
10591      link_all_deplibs=yes
10592      export_dynamic_flag_spec='${wl}-Bexport'
10593      runpath_var='LD_RUN_PATH'
10594
10595      if test "$GCC" = yes; then
10596	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10597	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10598      else
10599	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10600	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10601      fi
10602      ;;
10603
10604    uts4*)
10605      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10606      hardcode_libdir_flag_spec='-L$libdir'
10607      hardcode_shlibpath_var=no
10608      ;;
10609
10610    *)
10611      ld_shlibs=no
10612      ;;
10613    esac
10614
10615    if test x$host_vendor = xsni; then
10616      case $host in
10617      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10618	export_dynamic_flag_spec='${wl}-Blargedynsym'
10619	;;
10620      esac
10621    fi
10622  fi
10623
10624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10625$as_echo "$ld_shlibs" >&6; }
10626test "$ld_shlibs" = no && can_build_shared=no
10627
10628with_gnu_ld=$with_gnu_ld
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644#
10645# Do we need to explicitly link libc?
10646#
10647case "x$archive_cmds_need_lc" in
10648x|xyes)
10649  # Assume -lc should be added
10650  archive_cmds_need_lc=yes
10651
10652  if test "$enable_shared" = yes && test "$GCC" = yes; then
10653    case $archive_cmds in
10654    *'~'*)
10655      # FIXME: we may have to deal with multi-command sequences.
10656      ;;
10657    '$CC '*)
10658      # Test whether the compiler implicitly links with -lc since on some
10659      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10660      # to ld, don't add -lc before -lgcc.
10661      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10662$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10663if ${lt_cv_archive_cmds_need_lc+:} false; then :
10664  $as_echo_n "(cached) " >&6
10665else
10666  $RM conftest*
10667	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10668
10669	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10670  (eval $ac_compile) 2>&5
10671  ac_status=$?
10672  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10673  test $ac_status = 0; } 2>conftest.err; then
10674	  soname=conftest
10675	  lib=conftest
10676	  libobjs=conftest.$ac_objext
10677	  deplibs=
10678	  wl=$lt_prog_compiler_wl
10679	  pic_flag=$lt_prog_compiler_pic
10680	  compiler_flags=-v
10681	  linker_flags=-v
10682	  verstring=
10683	  output_objdir=.
10684	  libname=conftest
10685	  lt_save_allow_undefined_flag=$allow_undefined_flag
10686	  allow_undefined_flag=
10687	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10688  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10689  ac_status=$?
10690  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10691  test $ac_status = 0; }
10692	  then
10693	    lt_cv_archive_cmds_need_lc=no
10694	  else
10695	    lt_cv_archive_cmds_need_lc=yes
10696	  fi
10697	  allow_undefined_flag=$lt_save_allow_undefined_flag
10698	else
10699	  cat conftest.err 1>&5
10700	fi
10701	$RM conftest*
10702
10703fi
10704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10705$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10706      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10707      ;;
10708    esac
10709  fi
10710  ;;
10711esac
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10870$as_echo_n "checking dynamic linker characteristics... " >&6; }
10871
10872if test "$GCC" = yes; then
10873  case $host_os in
10874    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10875    *) lt_awk_arg="/^libraries:/" ;;
10876  esac
10877  case $host_os in
10878    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10879    *) lt_sed_strip_eq="s,=/,/,g" ;;
10880  esac
10881  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10882  case $lt_search_path_spec in
10883  *\;*)
10884    # if the path contains ";" then we assume it to be the separator
10885    # otherwise default to the standard path separator (i.e. ":") - it is
10886    # assumed that no part of a normal pathname contains ";" but that should
10887    # okay in the real world where ";" in dirpaths is itself problematic.
10888    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10889    ;;
10890  *)
10891    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10892    ;;
10893  esac
10894  # Ok, now we have the path, separated by spaces, we can step through it
10895  # and add multilib dir if necessary.
10896  lt_tmp_lt_search_path_spec=
10897  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10898  for lt_sys_path in $lt_search_path_spec; do
10899    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10900      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10901    else
10902      test -d "$lt_sys_path" && \
10903	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10904    fi
10905  done
10906  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10907BEGIN {RS=" "; FS="/|\n";} {
10908  lt_foo="";
10909  lt_count=0;
10910  for (lt_i = NF; lt_i > 0; lt_i--) {
10911    if ($lt_i != "" && $lt_i != ".") {
10912      if ($lt_i == "..") {
10913        lt_count++;
10914      } else {
10915        if (lt_count == 0) {
10916          lt_foo="/" $lt_i lt_foo;
10917        } else {
10918          lt_count--;
10919        }
10920      }
10921    }
10922  }
10923  if (lt_foo != "") { lt_freq[lt_foo]++; }
10924  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10925}'`
10926  # AWK program above erroneously prepends '/' to C:/dos/paths
10927  # for these hosts.
10928  case $host_os in
10929    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10930      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10931  esac
10932  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10933else
10934  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10935fi
10936library_names_spec=
10937libname_spec='lib$name'
10938soname_spec=
10939shrext_cmds=".so"
10940postinstall_cmds=
10941postuninstall_cmds=
10942finish_cmds=
10943finish_eval=
10944shlibpath_var=
10945shlibpath_overrides_runpath=unknown
10946version_type=none
10947dynamic_linker="$host_os ld.so"
10948sys_lib_dlsearch_path_spec="/lib /usr/lib"
10949need_lib_prefix=unknown
10950hardcode_into_libs=no
10951
10952# when you set need_version to no, make sure it does not cause -set_version
10953# flags to be left without arguments
10954need_version=unknown
10955
10956case $host_os in
10957aix3*)
10958  version_type=linux
10959  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10960  shlibpath_var=LIBPATH
10961
10962  # AIX 3 has no versioning support, so we append a major version to the name.
10963  soname_spec='${libname}${release}${shared_ext}$major'
10964  ;;
10965
10966aix[4-9]*)
10967  version_type=linux
10968  need_lib_prefix=no
10969  need_version=no
10970  hardcode_into_libs=yes
10971  if test "$host_cpu" = ia64; then
10972    # AIX 5 supports IA64
10973    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10974    shlibpath_var=LD_LIBRARY_PATH
10975  else
10976    # With GCC up to 2.95.x, collect2 would create an import file
10977    # for dependence libraries.  The import file would start with
10978    # the line `#! .'.  This would cause the generated library to
10979    # depend on `.', always an invalid library.  This was fixed in
10980    # development snapshots of GCC prior to 3.0.
10981    case $host_os in
10982      aix4 | aix4.[01] | aix4.[01].*)
10983      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10984	   echo ' yes '
10985	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10986	:
10987      else
10988	can_build_shared=no
10989      fi
10990      ;;
10991    esac
10992    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10993    # soname into executable. Probably we can add versioning support to
10994    # collect2, so additional links can be useful in future.
10995    if test "$aix_use_runtimelinking" = yes; then
10996      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10997      # instead of lib<name>.a to let people know that these are not
10998      # typical AIX shared libraries.
10999      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000    else
11001      # We preserve .a as extension for shared libraries through AIX4.2
11002      # and later when we are not doing run time linking.
11003      library_names_spec='${libname}${release}.a $libname.a'
11004      soname_spec='${libname}${release}${shared_ext}$major'
11005    fi
11006    shlibpath_var=LIBPATH
11007  fi
11008  ;;
11009
11010amigaos*)
11011  case $host_cpu in
11012  powerpc)
11013    # Since July 2007 AmigaOS4 officially supports .so libraries.
11014    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11015    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11016    ;;
11017  m68k)
11018    library_names_spec='$libname.ixlibrary $libname.a'
11019    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11020    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11021    ;;
11022  esac
11023  ;;
11024
11025beos*)
11026  library_names_spec='${libname}${shared_ext}'
11027  dynamic_linker="$host_os ld.so"
11028  shlibpath_var=LIBRARY_PATH
11029  ;;
11030
11031bsdi[45]*)
11032  version_type=linux
11033  need_version=no
11034  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035  soname_spec='${libname}${release}${shared_ext}$major'
11036  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11037  shlibpath_var=LD_LIBRARY_PATH
11038  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11039  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11040  # the default ld.so.conf also contains /usr/contrib/lib and
11041  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11042  # libtool to hard-code these into programs
11043  ;;
11044
11045cygwin* | mingw* | pw32* | cegcc*)
11046  version_type=windows
11047  shrext_cmds=".dll"
11048  need_version=no
11049  need_lib_prefix=no
11050
11051  case $GCC,$cc_basename in
11052  yes,*)
11053    # gcc
11054    library_names_spec='$libname.dll.a'
11055    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11056    postinstall_cmds='base_file=`basename \${file}`~
11057      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11058      dldir=$destdir/`dirname \$dlpath`~
11059      test -d \$dldir || mkdir -p \$dldir~
11060      $install_prog $dir/$dlname \$dldir/$dlname~
11061      chmod a+x \$dldir/$dlname~
11062      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11063        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11064      fi'
11065    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11066      dlpath=$dir/\$dldll~
11067       $RM \$dlpath'
11068    shlibpath_overrides_runpath=yes
11069
11070    case $host_os in
11071    cygwin*)
11072      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11073      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11074
11075      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11076      ;;
11077    mingw* | cegcc*)
11078      # MinGW DLLs use traditional 'lib' prefix
11079      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11080      ;;
11081    pw32*)
11082      # pw32 DLLs use 'pw' prefix rather than 'lib'
11083      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11084      ;;
11085    esac
11086    dynamic_linker='Win32 ld.exe'
11087    ;;
11088
11089  *,cl*)
11090    # Native MSVC
11091    libname_spec='$name'
11092    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11093    library_names_spec='${libname}.dll.lib'
11094
11095    case $build_os in
11096    mingw*)
11097      sys_lib_search_path_spec=
11098      lt_save_ifs=$IFS
11099      IFS=';'
11100      for lt_path in $LIB
11101      do
11102        IFS=$lt_save_ifs
11103        # Let DOS variable expansion print the short 8.3 style file name.
11104        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11105        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11106      done
11107      IFS=$lt_save_ifs
11108      # Convert to MSYS style.
11109      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11110      ;;
11111    cygwin*)
11112      # Convert to unix form, then to dos form, then back to unix form
11113      # but this time dos style (no spaces!) so that the unix form looks
11114      # like /cygdrive/c/PROGRA~1:/cygdr...
11115      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11116      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11117      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11118      ;;
11119    *)
11120      sys_lib_search_path_spec="$LIB"
11121      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11122        # It is most probably a Windows format PATH.
11123        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11124      else
11125        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11126      fi
11127      # FIXME: find the short name or the path components, as spaces are
11128      # common. (e.g. "Program Files" -> "PROGRA~1")
11129      ;;
11130    esac
11131
11132    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11133    postinstall_cmds='base_file=`basename \${file}`~
11134      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11135      dldir=$destdir/`dirname \$dlpath`~
11136      test -d \$dldir || mkdir -p \$dldir~
11137      $install_prog $dir/$dlname \$dldir/$dlname'
11138    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11139      dlpath=$dir/\$dldll~
11140       $RM \$dlpath'
11141    shlibpath_overrides_runpath=yes
11142    dynamic_linker='Win32 link.exe'
11143    ;;
11144
11145  *)
11146    # Assume MSVC wrapper
11147    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11148    dynamic_linker='Win32 ld.exe'
11149    ;;
11150  esac
11151  # FIXME: first we should search . and the directory the executable is in
11152  shlibpath_var=PATH
11153  ;;
11154
11155darwin* | rhapsody*)
11156  dynamic_linker="$host_os dyld"
11157  version_type=darwin
11158  need_lib_prefix=no
11159  need_version=no
11160  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11161  soname_spec='${libname}${release}${major}$shared_ext'
11162  shlibpath_overrides_runpath=yes
11163  shlibpath_var=DYLD_LIBRARY_PATH
11164  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11165
11166  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11167  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11168  ;;
11169
11170dgux*)
11171  version_type=linux
11172  need_lib_prefix=no
11173  need_version=no
11174  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11175  soname_spec='${libname}${release}${shared_ext}$major'
11176  shlibpath_var=LD_LIBRARY_PATH
11177  ;;
11178
11179freebsd1*)
11180  dynamic_linker=no
11181  ;;
11182
11183freebsd* | dragonfly*)
11184  # DragonFly does not have aout.  When/if they implement a new
11185  # versioning mechanism, adjust this.
11186  if test -x /usr/bin/objformat; then
11187    objformat=`/usr/bin/objformat`
11188  else
11189    case $host_os in
11190    freebsd[123]*) objformat=aout ;;
11191    *) objformat=elf ;;
11192    esac
11193  fi
11194  version_type=freebsd-$objformat
11195  case $version_type in
11196    freebsd-elf*)
11197      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11198      need_version=no
11199      need_lib_prefix=no
11200      ;;
11201    freebsd-*)
11202      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11203      need_version=yes
11204      ;;
11205  esac
11206  shlibpath_var=LD_LIBRARY_PATH
11207  case $host_os in
11208  freebsd2*)
11209    shlibpath_overrides_runpath=yes
11210    ;;
11211  freebsd3.[01]* | freebsdelf3.[01]*)
11212    shlibpath_overrides_runpath=yes
11213    hardcode_into_libs=yes
11214    ;;
11215  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11216  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11217    shlibpath_overrides_runpath=no
11218    hardcode_into_libs=yes
11219    ;;
11220  *) # from 4.6 on, and DragonFly
11221    shlibpath_overrides_runpath=yes
11222    hardcode_into_libs=yes
11223    ;;
11224  esac
11225  ;;
11226
11227gnu*)
11228  version_type=linux
11229  need_lib_prefix=no
11230  need_version=no
11231  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11232  soname_spec='${libname}${release}${shared_ext}$major'
11233  shlibpath_var=LD_LIBRARY_PATH
11234  hardcode_into_libs=yes
11235  ;;
11236
11237haiku*)
11238  version_type=linux
11239  need_lib_prefix=no
11240  need_version=no
11241  dynamic_linker="$host_os runtime_loader"
11242  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11243  soname_spec='${libname}${release}${shared_ext}$major'
11244  shlibpath_var=LIBRARY_PATH
11245  shlibpath_overrides_runpath=yes
11246  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11247  hardcode_into_libs=yes
11248  ;;
11249
11250hpux9* | hpux10* | hpux11*)
11251  # Give a soname corresponding to the major version so that dld.sl refuses to
11252  # link against other versions.
11253  version_type=sunos
11254  need_lib_prefix=no
11255  need_version=no
11256  case $host_cpu in
11257  ia64*)
11258    shrext_cmds='.so'
11259    hardcode_into_libs=yes
11260    dynamic_linker="$host_os dld.so"
11261    shlibpath_var=LD_LIBRARY_PATH
11262    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11263    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11264    soname_spec='${libname}${release}${shared_ext}$major'
11265    if test "X$HPUX_IA64_MODE" = X32; then
11266      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11267    else
11268      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11269    fi
11270    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11271    ;;
11272  hppa*64*)
11273    shrext_cmds='.sl'
11274    hardcode_into_libs=yes
11275    dynamic_linker="$host_os dld.sl"
11276    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11277    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11278    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11279    soname_spec='${libname}${release}${shared_ext}$major'
11280    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11281    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11282    ;;
11283  *)
11284    shrext_cmds='.sl'
11285    dynamic_linker="$host_os dld.sl"
11286    shlibpath_var=SHLIB_PATH
11287    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11288    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11289    soname_spec='${libname}${release}${shared_ext}$major'
11290    ;;
11291  esac
11292  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11293  postinstall_cmds='chmod 555 $lib'
11294  # or fails outright, so override atomically:
11295  install_override_mode=555
11296  ;;
11297
11298interix[3-9]*)
11299  version_type=linux
11300  need_lib_prefix=no
11301  need_version=no
11302  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11303  soname_spec='${libname}${release}${shared_ext}$major'
11304  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11305  shlibpath_var=LD_LIBRARY_PATH
11306  shlibpath_overrides_runpath=no
11307  hardcode_into_libs=yes
11308  ;;
11309
11310irix5* | irix6* | nonstopux*)
11311  case $host_os in
11312    nonstopux*) version_type=nonstopux ;;
11313    *)
11314	if test "$lt_cv_prog_gnu_ld" = yes; then
11315		version_type=linux
11316	else
11317		version_type=irix
11318	fi ;;
11319  esac
11320  need_lib_prefix=no
11321  need_version=no
11322  soname_spec='${libname}${release}${shared_ext}$major'
11323  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11324  case $host_os in
11325  irix5* | nonstopux*)
11326    libsuff= shlibsuff=
11327    ;;
11328  *)
11329    case $LD in # libtool.m4 will add one of these switches to LD
11330    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11331      libsuff= shlibsuff= libmagic=32-bit;;
11332    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11333      libsuff=32 shlibsuff=N32 libmagic=N32;;
11334    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11335      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11336    *) libsuff= shlibsuff= libmagic=never-match;;
11337    esac
11338    ;;
11339  esac
11340  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11341  shlibpath_overrides_runpath=no
11342  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11343  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11344  hardcode_into_libs=yes
11345  ;;
11346
11347# No shared lib support for Linux oldld, aout, or coff.
11348linux*oldld* | linux*aout* | linux*coff*)
11349  dynamic_linker=no
11350  ;;
11351
11352# This must be Linux ELF.
11353linux* | k*bsd*-gnu | kopensolaris*-gnu)
11354  version_type=linux
11355  need_lib_prefix=no
11356  need_version=no
11357  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11358  soname_spec='${libname}${release}${shared_ext}$major'
11359  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11360  shlibpath_var=LD_LIBRARY_PATH
11361  shlibpath_overrides_runpath=no
11362
11363  # Some binutils ld are patched to set DT_RUNPATH
11364  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11365  $as_echo_n "(cached) " >&6
11366else
11367  lt_cv_shlibpath_overrides_runpath=no
11368    save_LDFLAGS=$LDFLAGS
11369    save_libdir=$libdir
11370    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11371	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11372    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11373/* end confdefs.h.  */
11374
11375int
11376main ()
11377{
11378
11379  ;
11380  return 0;
11381}
11382_ACEOF
11383if ac_fn_c_try_link "$LINENO"; then :
11384  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11385  lt_cv_shlibpath_overrides_runpath=yes
11386fi
11387fi
11388rm -f core conftest.err conftest.$ac_objext \
11389    conftest$ac_exeext conftest.$ac_ext
11390    LDFLAGS=$save_LDFLAGS
11391    libdir=$save_libdir
11392
11393fi
11394
11395  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11396
11397  # This implies no fast_install, which is unacceptable.
11398  # Some rework will be needed to allow for fast_install
11399  # before this can be enabled.
11400  hardcode_into_libs=yes
11401
11402  # Add ABI-specific directories to the system library path.
11403  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11404
11405  # Append ld.so.conf contents to the search path
11406  if test -f /etc/ld.so.conf; then
11407    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11408    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11409
11410  fi
11411
11412  # We used to test for /lib/ld.so.1 and disable shared libraries on
11413  # powerpc, because MkLinux only supported shared libraries with the
11414  # GNU dynamic linker.  Since this was broken with cross compilers,
11415  # most powerpc-linux boxes support dynamic linking these days and
11416  # people can always --disable-shared, the test was removed, and we
11417  # assume the GNU/Linux dynamic linker is in use.
11418  dynamic_linker='GNU/Linux ld.so'
11419  ;;
11420
11421netbsd*)
11422  version_type=sunos
11423  need_lib_prefix=no
11424  need_version=no
11425  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11426    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11427    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11428    dynamic_linker='NetBSD (a.out) ld.so'
11429  else
11430    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11431    soname_spec='${libname}${release}${shared_ext}$major'
11432    dynamic_linker='NetBSD ld.elf_so'
11433  fi
11434  shlibpath_var=LD_LIBRARY_PATH
11435  shlibpath_overrides_runpath=yes
11436  hardcode_into_libs=yes
11437  ;;
11438
11439newsos6)
11440  version_type=linux
11441  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11442  shlibpath_var=LD_LIBRARY_PATH
11443  shlibpath_overrides_runpath=yes
11444  ;;
11445
11446*nto* | *qnx*)
11447  version_type=qnx
11448  need_lib_prefix=no
11449  need_version=no
11450  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11451  soname_spec='${libname}${release}${shared_ext}$major'
11452  shlibpath_var=LD_LIBRARY_PATH
11453  shlibpath_overrides_runpath=no
11454  hardcode_into_libs=yes
11455  dynamic_linker='ldqnx.so'
11456  ;;
11457
11458openbsd*)
11459  version_type=sunos
11460  sys_lib_dlsearch_path_spec="/usr/lib"
11461  need_lib_prefix=no
11462  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11463  case $host_os in
11464    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11465    *)				need_version=no  ;;
11466  esac
11467  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11468  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11469  shlibpath_var=LD_LIBRARY_PATH
11470  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11471    case $host_os in
11472      openbsd2.[89] | openbsd2.[89].*)
11473	shlibpath_overrides_runpath=no
11474	;;
11475      *)
11476	shlibpath_overrides_runpath=yes
11477	;;
11478      esac
11479  else
11480    shlibpath_overrides_runpath=yes
11481  fi
11482  ;;
11483
11484os2*)
11485  libname_spec='$name'
11486  shrext_cmds=".dll"
11487  need_lib_prefix=no
11488  library_names_spec='$libname${shared_ext} $libname.a'
11489  dynamic_linker='OS/2 ld.exe'
11490  shlibpath_var=LIBPATH
11491  ;;
11492
11493osf3* | osf4* | osf5*)
11494  version_type=osf
11495  need_lib_prefix=no
11496  need_version=no
11497  soname_spec='${libname}${release}${shared_ext}$major'
11498  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11499  shlibpath_var=LD_LIBRARY_PATH
11500  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11501  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11502  ;;
11503
11504rdos*)
11505  dynamic_linker=no
11506  ;;
11507
11508solaris*)
11509  version_type=linux
11510  need_lib_prefix=no
11511  need_version=no
11512  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11513  soname_spec='${libname}${release}${shared_ext}$major'
11514  shlibpath_var=LD_LIBRARY_PATH
11515  shlibpath_overrides_runpath=yes
11516  hardcode_into_libs=yes
11517  # ldd complains unless libraries are executable
11518  postinstall_cmds='chmod +x $lib'
11519  ;;
11520
11521sunos4*)
11522  version_type=sunos
11523  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11524  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11525  shlibpath_var=LD_LIBRARY_PATH
11526  shlibpath_overrides_runpath=yes
11527  if test "$with_gnu_ld" = yes; then
11528    need_lib_prefix=no
11529  fi
11530  need_version=yes
11531  ;;
11532
11533sysv4 | sysv4.3*)
11534  version_type=linux
11535  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11536  soname_spec='${libname}${release}${shared_ext}$major'
11537  shlibpath_var=LD_LIBRARY_PATH
11538  case $host_vendor in
11539    sni)
11540      shlibpath_overrides_runpath=no
11541      need_lib_prefix=no
11542      runpath_var=LD_RUN_PATH
11543      ;;
11544    siemens)
11545      need_lib_prefix=no
11546      ;;
11547    motorola)
11548      need_lib_prefix=no
11549      need_version=no
11550      shlibpath_overrides_runpath=no
11551      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11552      ;;
11553  esac
11554  ;;
11555
11556sysv4*MP*)
11557  if test -d /usr/nec ;then
11558    version_type=linux
11559    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11560    soname_spec='$libname${shared_ext}.$major'
11561    shlibpath_var=LD_LIBRARY_PATH
11562  fi
11563  ;;
11564
11565sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11566  version_type=freebsd-elf
11567  need_lib_prefix=no
11568  need_version=no
11569  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11570  soname_spec='${libname}${release}${shared_ext}$major'
11571  shlibpath_var=LD_LIBRARY_PATH
11572  shlibpath_overrides_runpath=yes
11573  hardcode_into_libs=yes
11574  if test "$with_gnu_ld" = yes; then
11575    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11576  else
11577    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11578    case $host_os in
11579      sco3.2v5*)
11580        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11581	;;
11582    esac
11583  fi
11584  sys_lib_dlsearch_path_spec='/usr/lib'
11585  ;;
11586
11587tpf*)
11588  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11589  version_type=linux
11590  need_lib_prefix=no
11591  need_version=no
11592  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11593  shlibpath_var=LD_LIBRARY_PATH
11594  shlibpath_overrides_runpath=no
11595  hardcode_into_libs=yes
11596  ;;
11597
11598uts4*)
11599  version_type=linux
11600  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11601  soname_spec='${libname}${release}${shared_ext}$major'
11602  shlibpath_var=LD_LIBRARY_PATH
11603  ;;
11604
11605*)
11606  dynamic_linker=no
11607  ;;
11608esac
11609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11610$as_echo "$dynamic_linker" >&6; }
11611test "$dynamic_linker" = no && can_build_shared=no
11612
11613variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11614if test "$GCC" = yes; then
11615  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11616fi
11617
11618if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11619  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11620fi
11621if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11622  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11623fi
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11717$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11718hardcode_action=
11719if test -n "$hardcode_libdir_flag_spec" ||
11720   test -n "$runpath_var" ||
11721   test "X$hardcode_automatic" = "Xyes" ; then
11722
11723  # We can hardcode non-existent directories.
11724  if test "$hardcode_direct" != no &&
11725     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11726     # have to relink, otherwise we might link with an installed library
11727     # when we should be linking with a yet-to-be-installed one
11728     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11729     test "$hardcode_minus_L" != no; then
11730    # Linking always hardcodes the temporary library directory.
11731    hardcode_action=relink
11732  else
11733    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11734    hardcode_action=immediate
11735  fi
11736else
11737  # We cannot hardcode anything, or else we can only hardcode existing
11738  # directories.
11739  hardcode_action=unsupported
11740fi
11741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11742$as_echo "$hardcode_action" >&6; }
11743
11744if test "$hardcode_action" = relink ||
11745   test "$inherit_rpath" = yes; then
11746  # Fast installation is not supported
11747  enable_fast_install=no
11748elif test "$shlibpath_overrides_runpath" = yes ||
11749     test "$enable_shared" = no; then
11750  # Fast installation is not necessary
11751  enable_fast_install=needless
11752fi
11753
11754
11755
11756
11757
11758
11759  if test "x$enable_dlopen" != xyes; then
11760  enable_dlopen=unknown
11761  enable_dlopen_self=unknown
11762  enable_dlopen_self_static=unknown
11763else
11764  lt_cv_dlopen=no
11765  lt_cv_dlopen_libs=
11766
11767  case $host_os in
11768  beos*)
11769    lt_cv_dlopen="load_add_on"
11770    lt_cv_dlopen_libs=
11771    lt_cv_dlopen_self=yes
11772    ;;
11773
11774  mingw* | pw32* | cegcc*)
11775    lt_cv_dlopen="LoadLibrary"
11776    lt_cv_dlopen_libs=
11777    ;;
11778
11779  cygwin*)
11780    lt_cv_dlopen="dlopen"
11781    lt_cv_dlopen_libs=
11782    ;;
11783
11784  darwin*)
11785  # if libdl is installed we need to link against it
11786    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11787$as_echo_n "checking for dlopen in -ldl... " >&6; }
11788if ${ac_cv_lib_dl_dlopen+:} false; then :
11789  $as_echo_n "(cached) " >&6
11790else
11791  ac_check_lib_save_LIBS=$LIBS
11792LIBS="-ldl  $LIBS"
11793cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794/* end confdefs.h.  */
11795
11796/* Override any GCC internal prototype to avoid an error.
11797   Use char because int might match the return type of a GCC
11798   builtin and then its argument prototype would still apply.  */
11799#ifdef __cplusplus
11800extern "C"
11801#endif
11802char dlopen ();
11803int
11804main ()
11805{
11806return dlopen ();
11807  ;
11808  return 0;
11809}
11810_ACEOF
11811if ac_fn_c_try_link "$LINENO"; then :
11812  ac_cv_lib_dl_dlopen=yes
11813else
11814  ac_cv_lib_dl_dlopen=no
11815fi
11816rm -f core conftest.err conftest.$ac_objext \
11817    conftest$ac_exeext conftest.$ac_ext
11818LIBS=$ac_check_lib_save_LIBS
11819fi
11820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11821$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11822if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11823  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11824else
11825
11826    lt_cv_dlopen="dyld"
11827    lt_cv_dlopen_libs=
11828    lt_cv_dlopen_self=yes
11829
11830fi
11831
11832    ;;
11833
11834  *)
11835    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11836if test "x$ac_cv_func_shl_load" = xyes; then :
11837  lt_cv_dlopen="shl_load"
11838else
11839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11840$as_echo_n "checking for shl_load in -ldld... " >&6; }
11841if ${ac_cv_lib_dld_shl_load+:} false; then :
11842  $as_echo_n "(cached) " >&6
11843else
11844  ac_check_lib_save_LIBS=$LIBS
11845LIBS="-ldld  $LIBS"
11846cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847/* end confdefs.h.  */
11848
11849/* Override any GCC internal prototype to avoid an error.
11850   Use char because int might match the return type of a GCC
11851   builtin and then its argument prototype would still apply.  */
11852#ifdef __cplusplus
11853extern "C"
11854#endif
11855char shl_load ();
11856int
11857main ()
11858{
11859return shl_load ();
11860  ;
11861  return 0;
11862}
11863_ACEOF
11864if ac_fn_c_try_link "$LINENO"; then :
11865  ac_cv_lib_dld_shl_load=yes
11866else
11867  ac_cv_lib_dld_shl_load=no
11868fi
11869rm -f core conftest.err conftest.$ac_objext \
11870    conftest$ac_exeext conftest.$ac_ext
11871LIBS=$ac_check_lib_save_LIBS
11872fi
11873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11874$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11875if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11876  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11877else
11878  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11879if test "x$ac_cv_func_dlopen" = xyes; then :
11880  lt_cv_dlopen="dlopen"
11881else
11882  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11883$as_echo_n "checking for dlopen in -ldl... " >&6; }
11884if ${ac_cv_lib_dl_dlopen+:} false; then :
11885  $as_echo_n "(cached) " >&6
11886else
11887  ac_check_lib_save_LIBS=$LIBS
11888LIBS="-ldl  $LIBS"
11889cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11890/* end confdefs.h.  */
11891
11892/* Override any GCC internal prototype to avoid an error.
11893   Use char because int might match the return type of a GCC
11894   builtin and then its argument prototype would still apply.  */
11895#ifdef __cplusplus
11896extern "C"
11897#endif
11898char dlopen ();
11899int
11900main ()
11901{
11902return dlopen ();
11903  ;
11904  return 0;
11905}
11906_ACEOF
11907if ac_fn_c_try_link "$LINENO"; then :
11908  ac_cv_lib_dl_dlopen=yes
11909else
11910  ac_cv_lib_dl_dlopen=no
11911fi
11912rm -f core conftest.err conftest.$ac_objext \
11913    conftest$ac_exeext conftest.$ac_ext
11914LIBS=$ac_check_lib_save_LIBS
11915fi
11916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11917$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11918if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11919  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11920else
11921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11922$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11923if ${ac_cv_lib_svld_dlopen+:} false; then :
11924  $as_echo_n "(cached) " >&6
11925else
11926  ac_check_lib_save_LIBS=$LIBS
11927LIBS="-lsvld  $LIBS"
11928cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11929/* end confdefs.h.  */
11930
11931/* Override any GCC internal prototype to avoid an error.
11932   Use char because int might match the return type of a GCC
11933   builtin and then its argument prototype would still apply.  */
11934#ifdef __cplusplus
11935extern "C"
11936#endif
11937char dlopen ();
11938int
11939main ()
11940{
11941return dlopen ();
11942  ;
11943  return 0;
11944}
11945_ACEOF
11946if ac_fn_c_try_link "$LINENO"; then :
11947  ac_cv_lib_svld_dlopen=yes
11948else
11949  ac_cv_lib_svld_dlopen=no
11950fi
11951rm -f core conftest.err conftest.$ac_objext \
11952    conftest$ac_exeext conftest.$ac_ext
11953LIBS=$ac_check_lib_save_LIBS
11954fi
11955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11956$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11957if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11958  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11959else
11960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11961$as_echo_n "checking for dld_link in -ldld... " >&6; }
11962if ${ac_cv_lib_dld_dld_link+:} false; then :
11963  $as_echo_n "(cached) " >&6
11964else
11965  ac_check_lib_save_LIBS=$LIBS
11966LIBS="-ldld  $LIBS"
11967cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968/* end confdefs.h.  */
11969
11970/* Override any GCC internal prototype to avoid an error.
11971   Use char because int might match the return type of a GCC
11972   builtin and then its argument prototype would still apply.  */
11973#ifdef __cplusplus
11974extern "C"
11975#endif
11976char dld_link ();
11977int
11978main ()
11979{
11980return dld_link ();
11981  ;
11982  return 0;
11983}
11984_ACEOF
11985if ac_fn_c_try_link "$LINENO"; then :
11986  ac_cv_lib_dld_dld_link=yes
11987else
11988  ac_cv_lib_dld_dld_link=no
11989fi
11990rm -f core conftest.err conftest.$ac_objext \
11991    conftest$ac_exeext conftest.$ac_ext
11992LIBS=$ac_check_lib_save_LIBS
11993fi
11994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11995$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11996if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11997  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11998fi
11999
12000
12001fi
12002
12003
12004fi
12005
12006
12007fi
12008
12009
12010fi
12011
12012
12013fi
12014
12015    ;;
12016  esac
12017
12018  if test "x$lt_cv_dlopen" != xno; then
12019    enable_dlopen=yes
12020  else
12021    enable_dlopen=no
12022  fi
12023
12024  case $lt_cv_dlopen in
12025  dlopen)
12026    save_CPPFLAGS="$CPPFLAGS"
12027    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12028
12029    save_LDFLAGS="$LDFLAGS"
12030    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12031
12032    save_LIBS="$LIBS"
12033    LIBS="$lt_cv_dlopen_libs $LIBS"
12034
12035    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12036$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12037if ${lt_cv_dlopen_self+:} false; then :
12038  $as_echo_n "(cached) " >&6
12039else
12040  	  if test "$cross_compiling" = yes; then :
12041  lt_cv_dlopen_self=cross
12042else
12043  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12044  lt_status=$lt_dlunknown
12045  cat > conftest.$ac_ext <<_LT_EOF
12046#line $LINENO "configure"
12047#include "confdefs.h"
12048
12049#if HAVE_DLFCN_H
12050#include <dlfcn.h>
12051#endif
12052
12053#include <stdio.h>
12054
12055#ifdef RTLD_GLOBAL
12056#  define LT_DLGLOBAL		RTLD_GLOBAL
12057#else
12058#  ifdef DL_GLOBAL
12059#    define LT_DLGLOBAL		DL_GLOBAL
12060#  else
12061#    define LT_DLGLOBAL		0
12062#  endif
12063#endif
12064
12065/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12066   find out it does not work in some platform. */
12067#ifndef LT_DLLAZY_OR_NOW
12068#  ifdef RTLD_LAZY
12069#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12070#  else
12071#    ifdef DL_LAZY
12072#      define LT_DLLAZY_OR_NOW		DL_LAZY
12073#    else
12074#      ifdef RTLD_NOW
12075#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12076#      else
12077#        ifdef DL_NOW
12078#          define LT_DLLAZY_OR_NOW	DL_NOW
12079#        else
12080#          define LT_DLLAZY_OR_NOW	0
12081#        endif
12082#      endif
12083#    endif
12084#  endif
12085#endif
12086
12087/* When -fvisbility=hidden is used, assume the code has been annotated
12088   correspondingly for the symbols needed.  */
12089#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12090int fnord () __attribute__((visibility("default")));
12091#endif
12092
12093int fnord () { return 42; }
12094int main ()
12095{
12096  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12097  int status = $lt_dlunknown;
12098
12099  if (self)
12100    {
12101      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12102      else
12103        {
12104	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12105          else puts (dlerror ());
12106	}
12107      /* dlclose (self); */
12108    }
12109  else
12110    puts (dlerror ());
12111
12112  return status;
12113}
12114_LT_EOF
12115  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12116  (eval $ac_link) 2>&5
12117  ac_status=$?
12118  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12119  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12120    (./conftest; exit; ) >&5 2>/dev/null
12121    lt_status=$?
12122    case x$lt_status in
12123      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12124      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12125      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12126    esac
12127  else :
12128    # compilation failed
12129    lt_cv_dlopen_self=no
12130  fi
12131fi
12132rm -fr conftest*
12133
12134
12135fi
12136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12137$as_echo "$lt_cv_dlopen_self" >&6; }
12138
12139    if test "x$lt_cv_dlopen_self" = xyes; then
12140      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12141      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12142$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12143if ${lt_cv_dlopen_self_static+:} false; then :
12144  $as_echo_n "(cached) " >&6
12145else
12146  	  if test "$cross_compiling" = yes; then :
12147  lt_cv_dlopen_self_static=cross
12148else
12149  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12150  lt_status=$lt_dlunknown
12151  cat > conftest.$ac_ext <<_LT_EOF
12152#line $LINENO "configure"
12153#include "confdefs.h"
12154
12155#if HAVE_DLFCN_H
12156#include <dlfcn.h>
12157#endif
12158
12159#include <stdio.h>
12160
12161#ifdef RTLD_GLOBAL
12162#  define LT_DLGLOBAL		RTLD_GLOBAL
12163#else
12164#  ifdef DL_GLOBAL
12165#    define LT_DLGLOBAL		DL_GLOBAL
12166#  else
12167#    define LT_DLGLOBAL		0
12168#  endif
12169#endif
12170
12171/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12172   find out it does not work in some platform. */
12173#ifndef LT_DLLAZY_OR_NOW
12174#  ifdef RTLD_LAZY
12175#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12176#  else
12177#    ifdef DL_LAZY
12178#      define LT_DLLAZY_OR_NOW		DL_LAZY
12179#    else
12180#      ifdef RTLD_NOW
12181#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12182#      else
12183#        ifdef DL_NOW
12184#          define LT_DLLAZY_OR_NOW	DL_NOW
12185#        else
12186#          define LT_DLLAZY_OR_NOW	0
12187#        endif
12188#      endif
12189#    endif
12190#  endif
12191#endif
12192
12193/* When -fvisbility=hidden is used, assume the code has been annotated
12194   correspondingly for the symbols needed.  */
12195#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12196int fnord () __attribute__((visibility("default")));
12197#endif
12198
12199int fnord () { return 42; }
12200int main ()
12201{
12202  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12203  int status = $lt_dlunknown;
12204
12205  if (self)
12206    {
12207      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12208      else
12209        {
12210	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12211          else puts (dlerror ());
12212	}
12213      /* dlclose (self); */
12214    }
12215  else
12216    puts (dlerror ());
12217
12218  return status;
12219}
12220_LT_EOF
12221  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12222  (eval $ac_link) 2>&5
12223  ac_status=$?
12224  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12225  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12226    (./conftest; exit; ) >&5 2>/dev/null
12227    lt_status=$?
12228    case x$lt_status in
12229      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12230      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12231      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12232    esac
12233  else :
12234    # compilation failed
12235    lt_cv_dlopen_self_static=no
12236  fi
12237fi
12238rm -fr conftest*
12239
12240
12241fi
12242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12243$as_echo "$lt_cv_dlopen_self_static" >&6; }
12244    fi
12245
12246    CPPFLAGS="$save_CPPFLAGS"
12247    LDFLAGS="$save_LDFLAGS"
12248    LIBS="$save_LIBS"
12249    ;;
12250  esac
12251
12252  case $lt_cv_dlopen_self in
12253  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12254  *) enable_dlopen_self=unknown ;;
12255  esac
12256
12257  case $lt_cv_dlopen_self_static in
12258  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12259  *) enable_dlopen_self_static=unknown ;;
12260  esac
12261fi
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279striplib=
12280old_striplib=
12281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12282$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12283if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12284  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12285  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12287$as_echo "yes" >&6; }
12288else
12289# FIXME - insert some real tests, host_os isn't really good enough
12290  case $host_os in
12291  darwin*)
12292    if test -n "$STRIP" ; then
12293      striplib="$STRIP -x"
12294      old_striplib="$STRIP -S"
12295      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12296$as_echo "yes" >&6; }
12297    else
12298      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12299$as_echo "no" >&6; }
12300    fi
12301    ;;
12302  *)
12303    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12304$as_echo "no" >&6; }
12305    ;;
12306  esac
12307fi
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320  # Report which library types will actually be built
12321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12322$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12324$as_echo "$can_build_shared" >&6; }
12325
12326  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12327$as_echo_n "checking whether to build shared libraries... " >&6; }
12328  test "$can_build_shared" = "no" && enable_shared=no
12329
12330  # On AIX, shared libraries and static libraries use the same namespace, and
12331  # are all built from PIC.
12332  case $host_os in
12333  aix3*)
12334    test "$enable_shared" = yes && enable_static=no
12335    if test -n "$RANLIB"; then
12336      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12337      postinstall_cmds='$RANLIB $lib'
12338    fi
12339    ;;
12340
12341  aix[4-9]*)
12342    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12343      test "$enable_shared" = yes && enable_static=no
12344    fi
12345    ;;
12346  esac
12347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12348$as_echo "$enable_shared" >&6; }
12349
12350  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12351$as_echo_n "checking whether to build static libraries... " >&6; }
12352  # Make sure either enable_shared or enable_static is yes.
12353  test "$enable_shared" = yes || enable_static=yes
12354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12355$as_echo "$enable_static" >&6; }
12356
12357
12358
12359
12360fi
12361ac_ext=c
12362ac_cpp='$CPP $CPPFLAGS'
12363ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12364ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12365ac_compiler_gnu=$ac_cv_c_compiler_gnu
12366
12367CC="$lt_save_CC"
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381        ac_config_commands="$ac_config_commands libtool"
12382
12383
12384
12385
12386# Only expand once:
12387
12388
12389
12390  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12391$as_echo_n "checking whether NLS is requested... " >&6; }
12392    # Check whether --enable-nls was given.
12393if test "${enable_nls+set}" = set; then :
12394  enableval=$enable_nls; USE_NLS=$enableval
12395else
12396  USE_NLS=yes
12397fi
12398
12399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12400$as_echo "$USE_NLS" >&6; }
12401
12402
12403
12404
12405case "$am__api_version" in
12406    1.01234)
12407	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12408    ;;
12409    *)
12410    ;;
12411esac
12412
12413if test -n "0.35.0"; then
12414    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
12415$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
12416
12417    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12418    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12419    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12420
12421    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12422$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12423    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12424	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
12425fi
12426
12427# Extract the first word of "intltool-update", so it can be a program name with args.
12428set dummy intltool-update; ac_word=$2
12429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12430$as_echo_n "checking for $ac_word... " >&6; }
12431if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12432  $as_echo_n "(cached) " >&6
12433else
12434  case $INTLTOOL_UPDATE in
12435  [\\/]* | ?:[\\/]*)
12436  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12437  ;;
12438  *)
12439  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12440for as_dir in $PATH
12441do
12442  IFS=$as_save_IFS
12443  test -z "$as_dir" && as_dir=.
12444    for ac_exec_ext in '' $ac_executable_extensions; do
12445  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12446    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12447    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12448    break 2
12449  fi
12450done
12451  done
12452IFS=$as_save_IFS
12453
12454  ;;
12455esac
12456fi
12457INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12458if test -n "$INTLTOOL_UPDATE"; then
12459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12460$as_echo "$INTLTOOL_UPDATE" >&6; }
12461else
12462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12463$as_echo "no" >&6; }
12464fi
12465
12466
12467# Extract the first word of "intltool-merge", so it can be a program name with args.
12468set dummy intltool-merge; ac_word=$2
12469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12470$as_echo_n "checking for $ac_word... " >&6; }
12471if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12472  $as_echo_n "(cached) " >&6
12473else
12474  case $INTLTOOL_MERGE in
12475  [\\/]* | ?:[\\/]*)
12476  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12477  ;;
12478  *)
12479  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12480for as_dir in $PATH
12481do
12482  IFS=$as_save_IFS
12483  test -z "$as_dir" && as_dir=.
12484    for ac_exec_ext in '' $ac_executable_extensions; do
12485  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12486    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12487    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12488    break 2
12489  fi
12490done
12491  done
12492IFS=$as_save_IFS
12493
12494  ;;
12495esac
12496fi
12497INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12498if test -n "$INTLTOOL_MERGE"; then
12499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12500$as_echo "$INTLTOOL_MERGE" >&6; }
12501else
12502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12503$as_echo "no" >&6; }
12504fi
12505
12506
12507# Extract the first word of "intltool-extract", so it can be a program name with args.
12508set dummy intltool-extract; ac_word=$2
12509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12510$as_echo_n "checking for $ac_word... " >&6; }
12511if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12512  $as_echo_n "(cached) " >&6
12513else
12514  case $INTLTOOL_EXTRACT in
12515  [\\/]* | ?:[\\/]*)
12516  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12517  ;;
12518  *)
12519  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12520for as_dir in $PATH
12521do
12522  IFS=$as_save_IFS
12523  test -z "$as_dir" && as_dir=.
12524    for ac_exec_ext in '' $ac_executable_extensions; do
12525  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12526    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12527    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12528    break 2
12529  fi
12530done
12531  done
12532IFS=$as_save_IFS
12533
12534  ;;
12535esac
12536fi
12537INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12538if test -n "$INTLTOOL_EXTRACT"; then
12539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12540$as_echo "$INTLTOOL_EXTRACT" >&6; }
12541else
12542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12543$as_echo "no" >&6; }
12544fi
12545
12546
12547if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12548    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12549fi
12550
12551  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12552INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12553     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12554     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12555      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
12556     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12557   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12558    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12559INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12560       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12561      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12562      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
12563      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12564      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12565    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12566  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12567    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12568    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12569   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667# Check the gettext tools to make sure they are GNU
12668# Extract the first word of "xgettext", so it can be a program name with args.
12669set dummy xgettext; ac_word=$2
12670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12671$as_echo_n "checking for $ac_word... " >&6; }
12672if ${ac_cv_path_XGETTEXT+:} false; then :
12673  $as_echo_n "(cached) " >&6
12674else
12675  case $XGETTEXT in
12676  [\\/]* | ?:[\\/]*)
12677  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12678  ;;
12679  *)
12680  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12681for as_dir in $PATH
12682do
12683  IFS=$as_save_IFS
12684  test -z "$as_dir" && as_dir=.
12685    for ac_exec_ext in '' $ac_executable_extensions; do
12686  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12687    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12688    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12689    break 2
12690  fi
12691done
12692  done
12693IFS=$as_save_IFS
12694
12695  ;;
12696esac
12697fi
12698XGETTEXT=$ac_cv_path_XGETTEXT
12699if test -n "$XGETTEXT"; then
12700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12701$as_echo "$XGETTEXT" >&6; }
12702else
12703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704$as_echo "no" >&6; }
12705fi
12706
12707
12708# Extract the first word of "msgmerge", so it can be a program name with args.
12709set dummy msgmerge; ac_word=$2
12710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12711$as_echo_n "checking for $ac_word... " >&6; }
12712if ${ac_cv_path_MSGMERGE+:} false; then :
12713  $as_echo_n "(cached) " >&6
12714else
12715  case $MSGMERGE in
12716  [\\/]* | ?:[\\/]*)
12717  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12718  ;;
12719  *)
12720  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12721for as_dir in $PATH
12722do
12723  IFS=$as_save_IFS
12724  test -z "$as_dir" && as_dir=.
12725    for ac_exec_ext in '' $ac_executable_extensions; do
12726  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12727    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12728    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12729    break 2
12730  fi
12731done
12732  done
12733IFS=$as_save_IFS
12734
12735  ;;
12736esac
12737fi
12738MSGMERGE=$ac_cv_path_MSGMERGE
12739if test -n "$MSGMERGE"; then
12740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12741$as_echo "$MSGMERGE" >&6; }
12742else
12743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12744$as_echo "no" >&6; }
12745fi
12746
12747
12748# Extract the first word of "msgfmt", so it can be a program name with args.
12749set dummy msgfmt; ac_word=$2
12750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12751$as_echo_n "checking for $ac_word... " >&6; }
12752if ${ac_cv_path_MSGFMT+:} false; then :
12753  $as_echo_n "(cached) " >&6
12754else
12755  case $MSGFMT in
12756  [\\/]* | ?:[\\/]*)
12757  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12758  ;;
12759  *)
12760  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12761for as_dir in $PATH
12762do
12763  IFS=$as_save_IFS
12764  test -z "$as_dir" && as_dir=.
12765    for ac_exec_ext in '' $ac_executable_extensions; do
12766  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12767    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12768    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12769    break 2
12770  fi
12771done
12772  done
12773IFS=$as_save_IFS
12774
12775  ;;
12776esac
12777fi
12778MSGFMT=$ac_cv_path_MSGFMT
12779if test -n "$MSGFMT"; then
12780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12781$as_echo "$MSGFMT" >&6; }
12782else
12783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12784$as_echo "no" >&6; }
12785fi
12786
12787
12788# Extract the first word of "gmsgfmt", so it can be a program name with args.
12789set dummy gmsgfmt; ac_word=$2
12790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12791$as_echo_n "checking for $ac_word... " >&6; }
12792if ${ac_cv_path_GMSGFMT+:} false; then :
12793  $as_echo_n "(cached) " >&6
12794else
12795  case $GMSGFMT in
12796  [\\/]* | ?:[\\/]*)
12797  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12798  ;;
12799  *)
12800  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12801for as_dir in $PATH
12802do
12803  IFS=$as_save_IFS
12804  test -z "$as_dir" && as_dir=.
12805    for ac_exec_ext in '' $ac_executable_extensions; do
12806  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12807    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12808    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12809    break 2
12810  fi
12811done
12812  done
12813IFS=$as_save_IFS
12814
12815  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12816  ;;
12817esac
12818fi
12819GMSGFMT=$ac_cv_path_GMSGFMT
12820if test -n "$GMSGFMT"; then
12821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12822$as_echo "$GMSGFMT" >&6; }
12823else
12824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12825$as_echo "no" >&6; }
12826fi
12827
12828
12829if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12830    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12831fi
12832xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12833mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12834mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12835if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12836    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12837fi
12838
12839# Extract the first word of "perl", so it can be a program name with args.
12840set dummy perl; ac_word=$2
12841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12842$as_echo_n "checking for $ac_word... " >&6; }
12843if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12844  $as_echo_n "(cached) " >&6
12845else
12846  case $INTLTOOL_PERL in
12847  [\\/]* | ?:[\\/]*)
12848  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12849  ;;
12850  *)
12851  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12852for as_dir in $PATH
12853do
12854  IFS=$as_save_IFS
12855  test -z "$as_dir" && as_dir=.
12856    for ac_exec_ext in '' $ac_executable_extensions; do
12857  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12858    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12859    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12860    break 2
12861  fi
12862done
12863  done
12864IFS=$as_save_IFS
12865
12866  ;;
12867esac
12868fi
12869INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12870if test -n "$INTLTOOL_PERL"; then
12871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12872$as_echo "$INTLTOOL_PERL" >&6; }
12873else
12874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12875$as_echo "no" >&6; }
12876fi
12877
12878
12879if test -z "$INTLTOOL_PERL"; then
12880   as_fn_error $? "perl not found" "$LINENO" 5
12881fi
12882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12883$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12884$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12885if test $? -ne 0; then
12886   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12887else
12888   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
12889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12890$as_echo "$IT_PERL_VERSION" >&6; }
12891fi
12892if test "x" != "xno-xml"; then
12893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12894$as_echo_n "checking for XML::Parser... " >&6; }
12895   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12896       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12897$as_echo "ok" >&6; }
12898   else
12899       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12900   fi
12901fi
12902
12903# Substitute ALL_LINGUAS so we can use it in po/Makefile
12904
12905
12906# Set DATADIRNAME correctly if it is not set yet
12907# (copied from glib-gettext.m4)
12908if test -z "$DATADIRNAME"; then
12909  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910/* end confdefs.h.  */
12911
12912int
12913main ()
12914{
12915extern int _nl_msg_cat_cntr;
12916                       return _nl_msg_cat_cntr
12917  ;
12918  return 0;
12919}
12920_ACEOF
12921if ac_fn_c_try_link "$LINENO"; then :
12922  DATADIRNAME=share
12923else
12924  case $host in
12925    *-*-solaris*)
12926                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12927if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12928  DATADIRNAME=share
12929else
12930  DATADIRNAME=lib
12931fi
12932
12933    ;;
12934    *)
12935    DATADIRNAME=lib
12936    ;;
12937    esac
12938fi
12939rm -f core conftest.err conftest.$ac_objext \
12940    conftest$ac_exeext conftest.$ac_ext
12941fi
12942
12943
12944
12945
12946
12947
12948
12949
12950    # Check whether --enable-compile-warnings was given.
12951if test "${enable_compile_warnings+set}" = set; then :
12952  enableval=$enable_compile_warnings;
12953else
12954  enable_compile_warnings="yes"
12955fi
12956
12957
12958    warnCFLAGS=
12959    if test "x$GCC" != xyes; then
12960	enable_compile_warnings=no
12961    fi
12962
12963    warning_flags=
12964    realsave_CFLAGS="$CFLAGS"
12965
12966    case "$enable_compile_warnings" in
12967    no)
12968	warning_flags=
12969	;;
12970    minimum)
12971	warning_flags="-Wall"
12972	;;
12973    yes)
12974	warning_flags="-Wall -Wmissing-prototypes"
12975	;;
12976    maximum|error)
12977	warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
12978	CFLAGS="$warning_flags $CFLAGS"
12979	for option in -Wno-sign-compare; do
12980		SAVE_CFLAGS="$CFLAGS"
12981		CFLAGS="$CFLAGS $option"
12982		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
12983$as_echo_n "checking whether gcc understands $option... " >&6; }
12984		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985/* end confdefs.h.  */
12986
12987int
12988main ()
12989{
12990
12991  ;
12992  return 0;
12993}
12994_ACEOF
12995if ac_fn_c_try_compile "$LINENO"; then :
12996  has_option=yes
12997else
12998  has_option=no
12999fi
13000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13001		CFLAGS="$SAVE_CFLAGS"
13002		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13003$as_echo "$has_option" >&6; }
13004		if test $has_option = yes; then
13005		  warning_flags="$warning_flags $option"
13006		fi
13007		unset has_option
13008		unset SAVE_CFLAGS
13009	done
13010	unset option
13011	if test "$enable_compile_warnings" = "error" ; then
13012	    warning_flags="$warning_flags -Werror"
13013	fi
13014	;;
13015    *)
13016	as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
13017	;;
13018    esac
13019    CFLAGS="$realsave_CFLAGS"
13020    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
13021$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13022    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
13023$as_echo "$warning_flags" >&6; }
13024
13025    # Check whether --enable-iso-c was given.
13026if test "${enable_iso_c+set}" = set; then :
13027  enableval=$enable_iso_c;
13028else
13029  enable_iso_c=no
13030fi
13031
13032
13033    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
13034$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
13035    complCFLAGS=
13036    if test "x$enable_iso_c" != "xno"; then
13037	if test "x$GCC" = "xyes"; then
13038	case " $CFLAGS " in
13039	    *\ \	-ansi\ \	*) ;;
13040	    *) complCFLAGS="$complCFLAGS -ansi" ;;
13041	esac
13042	case " $CFLAGS " in
13043	    *\ \	-pedantic\ \	*) ;;
13044	    *) complCFLAGS="$complCFLAGS -pedantic" ;;
13045	esac
13046	fi
13047    fi
13048    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
13049$as_echo "$complCFLAGS" >&6; }
13050
13051    WARN_CFLAGS="$warning_flags $complCFLAGS"
13052
13053
13054
13055GETTEXT_PACKAGE=libgnomecanvas-2.0
13056
13057
13058cat >>confdefs.h <<_ACEOF
13059#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13060_ACEOF
13061
13062
13063
13064   for ac_header in locale.h
13065do :
13066  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13067if test "x$ac_cv_header_locale_h" = xyes; then :
13068  cat >>confdefs.h <<_ACEOF
13069#define HAVE_LOCALE_H 1
13070_ACEOF
13071
13072fi
13073
13074done
13075
13076    if test $ac_cv_header_locale_h = yes; then
13077    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13078$as_echo_n "checking for LC_MESSAGES... " >&6; }
13079if ${am_cv_val_LC_MESSAGES+:} false; then :
13080  $as_echo_n "(cached) " >&6
13081else
13082  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083/* end confdefs.h.  */
13084#include <locale.h>
13085int
13086main ()
13087{
13088return LC_MESSAGES
13089  ;
13090  return 0;
13091}
13092_ACEOF
13093if ac_fn_c_try_link "$LINENO"; then :
13094  am_cv_val_LC_MESSAGES=yes
13095else
13096  am_cv_val_LC_MESSAGES=no
13097fi
13098rm -f core conftest.err conftest.$ac_objext \
13099    conftest$ac_exeext conftest.$ac_ext
13100fi
13101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13102$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13103    if test $am_cv_val_LC_MESSAGES = yes; then
13104
13105$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13106
13107    fi
13108  fi
13109     USE_NLS=yes
13110
13111
13112    gt_cv_have_gettext=no
13113
13114    CATOBJEXT=NONE
13115    XGETTEXT=:
13116    INTLLIBS=
13117
13118    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13119if test "x$ac_cv_header_libintl_h" = xyes; then :
13120  gt_cv_func_dgettext_libintl="no"
13121      libintl_extra_libs=""
13122
13123      #
13124      # First check in libc
13125      #
13126      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13127$as_echo_n "checking for ngettext in libc... " >&6; }
13128if ${gt_cv_func_ngettext_libc+:} false; then :
13129  $as_echo_n "(cached) " >&6
13130else
13131  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13132/* end confdefs.h.  */
13133
13134#include <libintl.h>
13135
13136int
13137main ()
13138{
13139return !ngettext ("","", 1)
13140  ;
13141  return 0;
13142}
13143_ACEOF
13144if ac_fn_c_try_link "$LINENO"; then :
13145  gt_cv_func_ngettext_libc=yes
13146else
13147  gt_cv_func_ngettext_libc=no
13148fi
13149rm -f core conftest.err conftest.$ac_objext \
13150    conftest$ac_exeext conftest.$ac_ext
13151
13152fi
13153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13154$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13155
13156      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13157	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13158$as_echo_n "checking for dgettext in libc... " >&6; }
13159if ${gt_cv_func_dgettext_libc+:} false; then :
13160  $as_echo_n "(cached) " >&6
13161else
13162  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13163/* end confdefs.h.  */
13164
13165#include <libintl.h>
13166
13167int
13168main ()
13169{
13170return !dgettext ("","")
13171  ;
13172  return 0;
13173}
13174_ACEOF
13175if ac_fn_c_try_link "$LINENO"; then :
13176  gt_cv_func_dgettext_libc=yes
13177else
13178  gt_cv_func_dgettext_libc=no
13179fi
13180rm -f core conftest.err conftest.$ac_objext \
13181    conftest$ac_exeext conftest.$ac_ext
13182
13183fi
13184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13185$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13186      fi
13187
13188      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13189        for ac_func in bind_textdomain_codeset
13190do :
13191  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13192if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13193  cat >>confdefs.h <<_ACEOF
13194#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13195_ACEOF
13196
13197fi
13198done
13199
13200      fi
13201
13202      #
13203      # If we don't have everything we want, check in libintl
13204      #
13205      if test "$gt_cv_func_dgettext_libc" != "yes" \
13206	 || test "$gt_cv_func_ngettext_libc" != "yes" \
13207         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13208
13209        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13210$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13211if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
13212  $as_echo_n "(cached) " >&6
13213else
13214  ac_check_lib_save_LIBS=$LIBS
13215LIBS="-lintl  $LIBS"
13216cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13217/* end confdefs.h.  */
13218
13219/* Override any GCC internal prototype to avoid an error.
13220   Use char because int might match the return type of a GCC
13221   builtin and then its argument prototype would still apply.  */
13222#ifdef __cplusplus
13223extern "C"
13224#endif
13225char bindtextdomain ();
13226int
13227main ()
13228{
13229return bindtextdomain ();
13230  ;
13231  return 0;
13232}
13233_ACEOF
13234if ac_fn_c_try_link "$LINENO"; then :
13235  ac_cv_lib_intl_bindtextdomain=yes
13236else
13237  ac_cv_lib_intl_bindtextdomain=no
13238fi
13239rm -f core conftest.err conftest.$ac_objext \
13240    conftest$ac_exeext conftest.$ac_ext
13241LIBS=$ac_check_lib_save_LIBS
13242fi
13243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13244$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13245if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
13246  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13247$as_echo_n "checking for ngettext in -lintl... " >&6; }
13248if ${ac_cv_lib_intl_ngettext+:} false; then :
13249  $as_echo_n "(cached) " >&6
13250else
13251  ac_check_lib_save_LIBS=$LIBS
13252LIBS="-lintl  $LIBS"
13253cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13254/* end confdefs.h.  */
13255
13256/* Override any GCC internal prototype to avoid an error.
13257   Use char because int might match the return type of a GCC
13258   builtin and then its argument prototype would still apply.  */
13259#ifdef __cplusplus
13260extern "C"
13261#endif
13262char ngettext ();
13263int
13264main ()
13265{
13266return ngettext ();
13267  ;
13268  return 0;
13269}
13270_ACEOF
13271if ac_fn_c_try_link "$LINENO"; then :
13272  ac_cv_lib_intl_ngettext=yes
13273else
13274  ac_cv_lib_intl_ngettext=no
13275fi
13276rm -f core conftest.err conftest.$ac_objext \
13277    conftest$ac_exeext conftest.$ac_ext
13278LIBS=$ac_check_lib_save_LIBS
13279fi
13280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13281$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13282if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13283  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13284$as_echo_n "checking for dgettext in -lintl... " >&6; }
13285if ${ac_cv_lib_intl_dgettext+:} false; then :
13286  $as_echo_n "(cached) " >&6
13287else
13288  ac_check_lib_save_LIBS=$LIBS
13289LIBS="-lintl  $LIBS"
13290cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13291/* end confdefs.h.  */
13292
13293/* Override any GCC internal prototype to avoid an error.
13294   Use char because int might match the return type of a GCC
13295   builtin and then its argument prototype would still apply.  */
13296#ifdef __cplusplus
13297extern "C"
13298#endif
13299char dgettext ();
13300int
13301main ()
13302{
13303return dgettext ();
13304  ;
13305  return 0;
13306}
13307_ACEOF
13308if ac_fn_c_try_link "$LINENO"; then :
13309  ac_cv_lib_intl_dgettext=yes
13310else
13311  ac_cv_lib_intl_dgettext=no
13312fi
13313rm -f core conftest.err conftest.$ac_objext \
13314    conftest$ac_exeext conftest.$ac_ext
13315LIBS=$ac_check_lib_save_LIBS
13316fi
13317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13318$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13319if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13320  gt_cv_func_dgettext_libintl=yes
13321fi
13322
13323fi
13324
13325fi
13326
13327
13328	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13329	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13330$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13331	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13332$as_echo "" >&6; }
13333  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13334$as_echo_n "checking for ngettext in -lintl... " >&6; }
13335if ${ac_cv_lib_intl_ngettext+:} false; then :
13336  $as_echo_n "(cached) " >&6
13337else
13338  ac_check_lib_save_LIBS=$LIBS
13339LIBS="-lintl -liconv $LIBS"
13340cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13341/* end confdefs.h.  */
13342
13343/* Override any GCC internal prototype to avoid an error.
13344   Use char because int might match the return type of a GCC
13345   builtin and then its argument prototype would still apply.  */
13346#ifdef __cplusplus
13347extern "C"
13348#endif
13349char ngettext ();
13350int
13351main ()
13352{
13353return ngettext ();
13354  ;
13355  return 0;
13356}
13357_ACEOF
13358if ac_fn_c_try_link "$LINENO"; then :
13359  ac_cv_lib_intl_ngettext=yes
13360else
13361  ac_cv_lib_intl_ngettext=no
13362fi
13363rm -f core conftest.err conftest.$ac_objext \
13364    conftest$ac_exeext conftest.$ac_ext
13365LIBS=$ac_check_lib_save_LIBS
13366fi
13367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13368$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13369if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13370  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13371$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13372if ${ac_cv_lib_intl_dcgettext+:} false; then :
13373  $as_echo_n "(cached) " >&6
13374else
13375  ac_check_lib_save_LIBS=$LIBS
13376LIBS="-lintl -liconv $LIBS"
13377cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13378/* end confdefs.h.  */
13379
13380/* Override any GCC internal prototype to avoid an error.
13381   Use char because int might match the return type of a GCC
13382   builtin and then its argument prototype would still apply.  */
13383#ifdef __cplusplus
13384extern "C"
13385#endif
13386char dcgettext ();
13387int
13388main ()
13389{
13390return dcgettext ();
13391  ;
13392  return 0;
13393}
13394_ACEOF
13395if ac_fn_c_try_link "$LINENO"; then :
13396  ac_cv_lib_intl_dcgettext=yes
13397else
13398  ac_cv_lib_intl_dcgettext=no
13399fi
13400rm -f core conftest.err conftest.$ac_objext \
13401    conftest$ac_exeext conftest.$ac_ext
13402LIBS=$ac_check_lib_save_LIBS
13403fi
13404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13405$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13406if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
13407  gt_cv_func_dgettext_libintl=yes
13408			libintl_extra_libs=-liconv
13409else
13410  :
13411fi
13412
13413else
13414  :
13415fi
13416
13417        fi
13418
13419        #
13420        # If we found libintl, then check in it for bind_textdomain_codeset();
13421        # we'll prefer libc if neither have bind_textdomain_codeset(),
13422        # and both have dgettext and ngettext
13423        #
13424        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13425          glib_save_LIBS="$LIBS"
13426          LIBS="$LIBS -lintl $libintl_extra_libs"
13427          unset ac_cv_func_bind_textdomain_codeset
13428          for ac_func in bind_textdomain_codeset
13429do :
13430  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13431if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13432  cat >>confdefs.h <<_ACEOF
13433#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13434_ACEOF
13435
13436fi
13437done
13438
13439          LIBS="$glib_save_LIBS"
13440
13441          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13442            gt_cv_func_dgettext_libc=no
13443          else
13444            if test "$gt_cv_func_dgettext_libc" = "yes" \
13445		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
13446              gt_cv_func_dgettext_libintl=no
13447            fi
13448          fi
13449        fi
13450      fi
13451
13452      if test "$gt_cv_func_dgettext_libc" = "yes" \
13453	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
13454        gt_cv_have_gettext=yes
13455      fi
13456
13457      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13458        INTLLIBS="-lintl $libintl_extra_libs"
13459      fi
13460
13461      if test "$gt_cv_have_gettext" = "yes"; then
13462
13463$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13464
13465	# Extract the first word of "msgfmt", so it can be a program name with args.
13466set dummy msgfmt; ac_word=$2
13467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13468$as_echo_n "checking for $ac_word... " >&6; }
13469if ${ac_cv_path_MSGFMT+:} false; then :
13470  $as_echo_n "(cached) " >&6
13471else
13472  case "$MSGFMT" in
13473  /*)
13474  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13475  ;;
13476  *)
13477  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13478  for ac_dir in $PATH; do
13479    test -z "$ac_dir" && ac_dir=.
13480    if test -f $ac_dir/$ac_word; then
13481      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13482	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13483	break
13484      fi
13485    fi
13486  done
13487  IFS="$ac_save_ifs"
13488  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13489  ;;
13490esac
13491fi
13492MSGFMT="$ac_cv_path_MSGFMT"
13493if test "$MSGFMT" != "no"; then
13494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13495$as_echo "$MSGFMT" >&6; }
13496else
13497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13498$as_echo "no" >&6; }
13499fi
13500	if test "$MSGFMT" != "no"; then
13501          glib_save_LIBS="$LIBS"
13502          LIBS="$LIBS $INTLLIBS"
13503	  for ac_func in dcgettext
13504do :
13505  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13506if test "x$ac_cv_func_dcgettext" = xyes; then :
13507  cat >>confdefs.h <<_ACEOF
13508#define HAVE_DCGETTEXT 1
13509_ACEOF
13510
13511fi
13512done
13513
13514	  MSGFMT_OPTS=
13515	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13516$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13517	  cat >conftest.foo <<_ACEOF
13518
13519msgid ""
13520msgstr ""
13521"Content-Type: text/plain; charset=UTF-8\n"
13522"Project-Id-Version: test 1.0\n"
13523"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13524"Last-Translator: test <foo@bar.xx>\n"
13525"Language-Team: C <LL@li.org>\n"
13526"MIME-Version: 1.0\n"
13527"Content-Transfer-Encoding: 8bit\n"
13528
13529_ACEOF
13530if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13531  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13532  ac_status=$?
13533  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13534  test $ac_status = 0; }; then
13535  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13536$as_echo "yes" >&6; }
13537else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13538$as_echo "no" >&6; }
13539echo "$as_me: failed input was:" >&5
13540sed 's/^/| /' conftest.foo >&5
13541fi
13542
13543	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
13544set dummy gmsgfmt; ac_word=$2
13545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13546$as_echo_n "checking for $ac_word... " >&6; }
13547if ${ac_cv_path_GMSGFMT+:} false; then :
13548  $as_echo_n "(cached) " >&6
13549else
13550  case $GMSGFMT in
13551  [\\/]* | ?:[\\/]*)
13552  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13553  ;;
13554  *)
13555  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13556for as_dir in $PATH
13557do
13558  IFS=$as_save_IFS
13559  test -z "$as_dir" && as_dir=.
13560    for ac_exec_ext in '' $ac_executable_extensions; do
13561  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13562    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13563    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13564    break 2
13565  fi
13566done
13567  done
13568IFS=$as_save_IFS
13569
13570  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13571  ;;
13572esac
13573fi
13574GMSGFMT=$ac_cv_path_GMSGFMT
13575if test -n "$GMSGFMT"; then
13576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13577$as_echo "$GMSGFMT" >&6; }
13578else
13579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13580$as_echo "no" >&6; }
13581fi
13582
13583
13584	  # Extract the first word of "xgettext", so it can be a program name with args.
13585set dummy xgettext; ac_word=$2
13586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13587$as_echo_n "checking for $ac_word... " >&6; }
13588if ${ac_cv_path_XGETTEXT+:} false; then :
13589  $as_echo_n "(cached) " >&6
13590else
13591  case "$XGETTEXT" in
13592  /*)
13593  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13594  ;;
13595  *)
13596  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13597  for ac_dir in $PATH; do
13598    test -z "$ac_dir" && ac_dir=.
13599    if test -f $ac_dir/$ac_word; then
13600      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13601	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13602	break
13603      fi
13604    fi
13605  done
13606  IFS="$ac_save_ifs"
13607  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13608  ;;
13609esac
13610fi
13611XGETTEXT="$ac_cv_path_XGETTEXT"
13612if test "$XGETTEXT" != ":"; then
13613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13614$as_echo "$XGETTEXT" >&6; }
13615else
13616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13617$as_echo "no" >&6; }
13618fi
13619
13620	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621/* end confdefs.h.  */
13622
13623int
13624main ()
13625{
13626extern int _nl_msg_cat_cntr;
13627			 return _nl_msg_cat_cntr
13628  ;
13629  return 0;
13630}
13631_ACEOF
13632if ac_fn_c_try_link "$LINENO"; then :
13633  CATOBJEXT=.gmo
13634             DATADIRNAME=share
13635else
13636  case $host in
13637	    *-*-solaris*)
13638	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13639if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13640  CATOBJEXT=.gmo
13641               DATADIRNAME=share
13642else
13643  CATOBJEXT=.mo
13644               DATADIRNAME=lib
13645fi
13646
13647	    ;;
13648	    *)
13649	    CATOBJEXT=.mo
13650            DATADIRNAME=lib
13651	    ;;
13652	    esac
13653fi
13654rm -f core conftest.err conftest.$ac_objext \
13655    conftest$ac_exeext conftest.$ac_ext
13656          LIBS="$glib_save_LIBS"
13657	  INSTOBJEXT=.mo
13658	else
13659	  gt_cv_have_gettext=no
13660	fi
13661      fi
13662
13663fi
13664
13665
13666
13667    if test "$gt_cv_have_gettext" = "yes" ; then
13668
13669$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13670
13671    fi
13672
13673        if test "$XGETTEXT" != ":"; then
13674                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13675        : ;
13676      else
13677        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13678$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13679        XGETTEXT=":"
13680      fi
13681    fi
13682
13683    # We need to process the po/ directory.
13684    POSUB=po
13685
13686    ac_config_commands="$ac_config_commands default-1"
13687
13688
13689                for lang in $ALL_LINGUAS; do
13690      GMOFILES="$GMOFILES $lang.gmo"
13691      POFILES="$POFILES $lang.po"
13692    done
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706   if test "$gt_cv_have_gettext" = "yes"; then
13707     if test "x$ALL_LINGUAS" = "x"; then
13708       LINGUAS=
13709     else
13710       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13711$as_echo_n "checking for catalogs to be installed... " >&6; }
13712       NEW_LINGUAS=
13713       for presentlang in $ALL_LINGUAS; do
13714         useit=no
13715         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13716           desiredlanguages="$LINGUAS"
13717         else
13718           desiredlanguages="$ALL_LINGUAS"
13719         fi
13720         for desiredlang in $desiredlanguages; do
13721 	   # Use the presentlang catalog if desiredlang is
13722           #   a. equal to presentlang, or
13723           #   b. a variant of presentlang (because in this case,
13724           #      presentlang can be used as a fallback for messages
13725           #      which are not translated in the desiredlang catalog).
13726           case "$desiredlang" in
13727             "$presentlang"*) useit=yes;;
13728           esac
13729         done
13730         if test $useit = yes; then
13731           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13732         fi
13733       done
13734       LINGUAS=$NEW_LINGUAS
13735       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13736$as_echo "$LINGUAS" >&6; }
13737     fi
13738
13739          if test -n "$LINGUAS"; then
13740       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13741     fi
13742   fi
13743
13744            MKINSTALLDIRS=
13745   if test -n "$ac_aux_dir"; then
13746     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13747   fi
13748   if test -z "$MKINSTALLDIRS"; then
13749     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13750   fi
13751
13752
13753         test -d po || mkdir po
13754   if test "x$srcdir" != "x."; then
13755     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13756       posrcprefix="$srcdir/"
13757     else
13758       posrcprefix="../$srcdir/"
13759     fi
13760   else
13761     posrcprefix="../"
13762   fi
13763   rm -f po/POTFILES
13764   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13765	< $srcdir/po/POTFILES.in > po/POTFILES
13766
13767glib_save_prefix="$prefix"
13768glib_save_exec_prefix="$exec_prefix"
13769glib_save_datarootdir="$datarootdir"
13770test "x$prefix" = xNONE && prefix=$ac_default_prefix
13771test "x$exec_prefix" = xNONE && exec_prefix=$prefix
13772datarootdir=`eval echo "${datarootdir}"`
13773if test "x$CATOBJEXT" = "x.mo" ; then
13774  localedir=`eval echo "${libdir}/locale"`
13775else
13776  localedir=`eval echo "${datadir}/locale"`
13777fi
13778prefix="$glib_save_prefix"
13779exec_prefix="$glib_save_exec_prefix"
13780datarootdir="$glib_save_datarootdir"
13781
13782cat >>confdefs.h <<_ACEOF
13783#define GNOMECANVASLOCALEDIR "$localedir"
13784_ACEOF
13785
13786
13787
13788CANVAS_MODULES="  glib-2.0 >= 2.10.0   gtk+-2.0 >= 2.2.0   gail >= 1.9.0   libart-2.0 >= 2.3.8   pango >= 1.0.1   pangoft2 >= 1.0.1"
13789
13790
13791
13792
13793
13794
13795if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13796	if test -n "$ac_tool_prefix"; then
13797  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13798set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13800$as_echo_n "checking for $ac_word... " >&6; }
13801if ${ac_cv_path_PKG_CONFIG+:} false; then :
13802  $as_echo_n "(cached) " >&6
13803else
13804  case $PKG_CONFIG in
13805  [\\/]* | ?:[\\/]*)
13806  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13807  ;;
13808  *)
13809  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13810for as_dir in $PATH
13811do
13812  IFS=$as_save_IFS
13813  test -z "$as_dir" && as_dir=.
13814    for ac_exec_ext in '' $ac_executable_extensions; do
13815  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13816    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13817    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13818    break 2
13819  fi
13820done
13821  done
13822IFS=$as_save_IFS
13823
13824  ;;
13825esac
13826fi
13827PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13828if test -n "$PKG_CONFIG"; then
13829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13830$as_echo "$PKG_CONFIG" >&6; }
13831else
13832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13833$as_echo "no" >&6; }
13834fi
13835
13836
13837fi
13838if test -z "$ac_cv_path_PKG_CONFIG"; then
13839  ac_pt_PKG_CONFIG=$PKG_CONFIG
13840  # Extract the first word of "pkg-config", so it can be a program name with args.
13841set dummy pkg-config; ac_word=$2
13842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13843$as_echo_n "checking for $ac_word... " >&6; }
13844if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13845  $as_echo_n "(cached) " >&6
13846else
13847  case $ac_pt_PKG_CONFIG in
13848  [\\/]* | ?:[\\/]*)
13849  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13850  ;;
13851  *)
13852  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13853for as_dir in $PATH
13854do
13855  IFS=$as_save_IFS
13856  test -z "$as_dir" && as_dir=.
13857    for ac_exec_ext in '' $ac_executable_extensions; do
13858  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13859    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13860    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13861    break 2
13862  fi
13863done
13864  done
13865IFS=$as_save_IFS
13866
13867  ;;
13868esac
13869fi
13870ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13871if test -n "$ac_pt_PKG_CONFIG"; then
13872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13873$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13874else
13875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13876$as_echo "no" >&6; }
13877fi
13878
13879  if test "x$ac_pt_PKG_CONFIG" = x; then
13880    PKG_CONFIG=""
13881  else
13882    case $cross_compiling:$ac_tool_warned in
13883yes:)
13884{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13885$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13886ac_tool_warned=yes ;;
13887esac
13888    PKG_CONFIG=$ac_pt_PKG_CONFIG
13889  fi
13890else
13891  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13892fi
13893
13894fi
13895if test -n "$PKG_CONFIG"; then
13896	_pkg_min_version=0.18
13897	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13898$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13899	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13900		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13901$as_echo "yes" >&6; }
13902	else
13903		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13904$as_echo "no" >&6; }
13905		PKG_CONFIG=""
13906	fi
13907fi
13908
13909pkg_failed=no
13910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMECANVAS" >&5
13911$as_echo_n "checking for LIBGNOMECANVAS... " >&6; }
13912
13913if test -n "$LIBGNOMECANVAS_CFLAGS"; then
13914    pkg_cv_LIBGNOMECANVAS_CFLAGS="$LIBGNOMECANVAS_CFLAGS"
13915 elif test -n "$PKG_CONFIG"; then
13916    if test -n "$PKG_CONFIG" && \
13917    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CANVAS_MODULES\""; } >&5
13918  ($PKG_CONFIG --exists --print-errors "$CANVAS_MODULES") 2>&5
13919  ac_status=$?
13920  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13921  test $ac_status = 0; }; then
13922  pkg_cv_LIBGNOMECANVAS_CFLAGS=`$PKG_CONFIG --cflags "$CANVAS_MODULES" 2>/dev/null`
13923else
13924  pkg_failed=yes
13925fi
13926 else
13927    pkg_failed=untried
13928fi
13929if test -n "$LIBGNOMECANVAS_LIBS"; then
13930    pkg_cv_LIBGNOMECANVAS_LIBS="$LIBGNOMECANVAS_LIBS"
13931 elif test -n "$PKG_CONFIG"; then
13932    if test -n "$PKG_CONFIG" && \
13933    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CANVAS_MODULES\""; } >&5
13934  ($PKG_CONFIG --exists --print-errors "$CANVAS_MODULES") 2>&5
13935  ac_status=$?
13936  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13937  test $ac_status = 0; }; then
13938  pkg_cv_LIBGNOMECANVAS_LIBS=`$PKG_CONFIG --libs "$CANVAS_MODULES" 2>/dev/null`
13939else
13940  pkg_failed=yes
13941fi
13942 else
13943    pkg_failed=untried
13944fi
13945
13946
13947
13948if test $pkg_failed = yes; then
13949   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13950$as_echo "no" >&6; }
13951
13952if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13953        _pkg_short_errors_supported=yes
13954else
13955        _pkg_short_errors_supported=no
13956fi
13957        if test $_pkg_short_errors_supported = yes; then
13958	        LIBGNOMECANVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$CANVAS_MODULES" 2>&1`
13959        else
13960	        LIBGNOMECANVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "$CANVAS_MODULES" 2>&1`
13961        fi
13962	# Put the nasty error message in config.log where it belongs
13963	echo "$LIBGNOMECANVAS_PKG_ERRORS" >&5
13964
13965	as_fn_error $? "Package requirements ($CANVAS_MODULES) were not met:
13966
13967$LIBGNOMECANVAS_PKG_ERRORS
13968
13969Consider adjusting the PKG_CONFIG_PATH environment variable if you
13970installed software in a non-standard prefix.
13971
13972Alternatively, you may set the environment variables LIBGNOMECANVAS_CFLAGS
13973and LIBGNOMECANVAS_LIBS to avoid the need to call pkg-config.
13974See the pkg-config man page for more details." "$LINENO" 5
13975
13976elif test $pkg_failed = untried; then
13977     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13978$as_echo "no" >&6; }
13979	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13980$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13981as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13982is in your PATH or set the PKG_CONFIG environment variable to the full
13983path to pkg-config.
13984
13985Alternatively, you may set the environment variables LIBGNOMECANVAS_CFLAGS
13986and LIBGNOMECANVAS_LIBS to avoid the need to call pkg-config.
13987See the pkg-config man page for more details.
13988
13989To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13990See \`config.log' for more details" "$LINENO" 5; }
13991
13992else
13993	LIBGNOMECANVAS_CFLAGS=$pkg_cv_LIBGNOMECANVAS_CFLAGS
13994	LIBGNOMECANVAS_LIBS=$pkg_cv_LIBGNOMECANVAS_LIBS
13995        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13996$as_echo "yes" >&6; }
13997
13998fi
13999
14000LIBGNOMECANVAS_LIBS="$LIBGNOMECANVAS_LIBS -lm"
14001
14002if test "$enable_maintainer_mode" = "yes"; then
14003	LIBGNOMECANVAS_DEPRECATED_CFLAGS="-DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"
14004
14005fi
14006
14007# Check whether --enable-glade was given.
14008if test "${enable_glade+set}" = set; then :
14009  enableval=$enable_glade;
14010else
14011  enable_glade=no
14012fi
14013
14014 if test "$enable_glade" = yes; then
14015  USE_GLADE_TRUE=
14016  USE_GLADE_FALSE='#'
14017else
14018  USE_GLADE_TRUE='#'
14019  USE_GLADE_FALSE=
14020fi
14021
14022
14023if test "$enable_glade" = yes; then
14024
14025pkg_failed=no
14026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CANVAS_GLADE" >&5
14027$as_echo_n "checking for CANVAS_GLADE... " >&6; }
14028
14029if test -n "$CANVAS_GLADE_CFLAGS"; then
14030    pkg_cv_CANVAS_GLADE_CFLAGS="$CANVAS_GLADE_CFLAGS"
14031 elif test -n "$PKG_CONFIG"; then
14032    if test -n "$PKG_CONFIG" && \
14033    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CANVAS_MODULES libglade-2.0 >= 2.0.0\""; } >&5
14034  ($PKG_CONFIG --exists --print-errors "$CANVAS_MODULES libglade-2.0 >= 2.0.0") 2>&5
14035  ac_status=$?
14036  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14037  test $ac_status = 0; }; then
14038  pkg_cv_CANVAS_GLADE_CFLAGS=`$PKG_CONFIG --cflags "$CANVAS_MODULES libglade-2.0 >= 2.0.0" 2>/dev/null`
14039else
14040  pkg_failed=yes
14041fi
14042 else
14043    pkg_failed=untried
14044fi
14045if test -n "$CANVAS_GLADE_LIBS"; then
14046    pkg_cv_CANVAS_GLADE_LIBS="$CANVAS_GLADE_LIBS"
14047 elif test -n "$PKG_CONFIG"; then
14048    if test -n "$PKG_CONFIG" && \
14049    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$CANVAS_MODULES libglade-2.0 >= 2.0.0\""; } >&5
14050  ($PKG_CONFIG --exists --print-errors "$CANVAS_MODULES libglade-2.0 >= 2.0.0") 2>&5
14051  ac_status=$?
14052  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053  test $ac_status = 0; }; then
14054  pkg_cv_CANVAS_GLADE_LIBS=`$PKG_CONFIG --libs "$CANVAS_MODULES libglade-2.0 >= 2.0.0" 2>/dev/null`
14055else
14056  pkg_failed=yes
14057fi
14058 else
14059    pkg_failed=untried
14060fi
14061
14062
14063
14064if test $pkg_failed = yes; then
14065   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14066$as_echo "no" >&6; }
14067
14068if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14069        _pkg_short_errors_supported=yes
14070else
14071        _pkg_short_errors_supported=no
14072fi
14073        if test $_pkg_short_errors_supported = yes; then
14074	        CANVAS_GLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$CANVAS_MODULES libglade-2.0 >= 2.0.0" 2>&1`
14075        else
14076	        CANVAS_GLADE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$CANVAS_MODULES libglade-2.0 >= 2.0.0" 2>&1`
14077        fi
14078	# Put the nasty error message in config.log where it belongs
14079	echo "$CANVAS_GLADE_PKG_ERRORS" >&5
14080
14081	as_fn_error $? "Package requirements ($CANVAS_MODULES libglade-2.0 >= 2.0.0) were not met:
14082
14083$CANVAS_GLADE_PKG_ERRORS
14084
14085Consider adjusting the PKG_CONFIG_PATH environment variable if you
14086installed software in a non-standard prefix.
14087
14088Alternatively, you may set the environment variables CANVAS_GLADE_CFLAGS
14089and CANVAS_GLADE_LIBS to avoid the need to call pkg-config.
14090See the pkg-config man page for more details." "$LINENO" 5
14091
14092elif test $pkg_failed = untried; then
14093     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14094$as_echo "no" >&6; }
14095	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14096$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14097as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14098is in your PATH or set the PKG_CONFIG environment variable to the full
14099path to pkg-config.
14100
14101Alternatively, you may set the environment variables CANVAS_GLADE_CFLAGS
14102and CANVAS_GLADE_LIBS to avoid the need to call pkg-config.
14103See the pkg-config man page for more details.
14104
14105To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14106See \`config.log' for more details" "$LINENO" 5; }
14107
14108else
14109	CANVAS_GLADE_CFLAGS=$pkg_cv_CANVAS_GLADE_CFLAGS
14110	CANVAS_GLADE_LIBS=$pkg_cv_CANVAS_GLADE_LIBS
14111        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14112$as_echo "yes" >&6; }
14113
14114fi
14115fi
14116
14117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
14118$as_echo_n "checking for native Win32... " >&6; }
14119case "$host" in
14120  *-*-mingw*)
14121    native_win32=yes
14122    ;;
14123  *)
14124    native_win32=no
14125    ;;
14126esac
14127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $native_win32" >&5
14128$as_echo "$native_win32" >&6; }
14129 if test "$native_win32" = yes; then
14130  OS_WIN32_TRUE=
14131  OS_WIN32_FALSE='#'
14132else
14133  OS_WIN32_TRUE='#'
14134  OS_WIN32_FALSE=
14135fi
14136
14137
14138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Win32 platform in general" >&5
14139$as_echo_n "checking for Win32 platform in general... " >&6; }
14140case "$host" in
14141  *-*-mingw*|*-*-cygwin*)
14142    platform_win32=yes
14143    ;;
14144  *)
14145    platform_win32=no
14146    ;;
14147esac
14148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
14149$as_echo "$platform_win32" >&6; }
14150 if test "$platform_win32" = yes; then
14151  PLATFORM_WIN32_TRUE=
14152  PLATFORM_WIN32_FALSE='#'
14153else
14154  PLATFORM_WIN32_TRUE='#'
14155  PLATFORM_WIN32_FALSE=
14156fi
14157
14158
14159# Ensure MSVC-compatible struct packing convention is used when
14160# compiling for Win32 with gcc. GTK+ uses this convention, so we must, too.
14161# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
14162# gcc2 uses "-fnative-struct".
14163if test x"$native_win32" = xyes; then
14164  if test x"$GCC" = xyes; then
14165    msnative_struct=''
14166    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get MSVC-compatible struct packing" >&5
14167$as_echo_n "checking how to get MSVC-compatible struct packing... " >&6; }
14168    if test -z "$ac_cv_prog_CC"; then
14169      our_gcc="$CC"
14170    else
14171      our_gcc="$ac_cv_prog_CC"
14172    fi
14173    case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
14174      2.)
14175	if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
14176	  msnative_struct='-fnative-struct'
14177	fi
14178	;;
14179      *)
14180	if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
14181	  msnative_struct='-mms-bitfields'
14182	fi
14183	;;
14184    esac
14185    if test x"$msnative_struct" = x ; then
14186      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no way" >&5
14187$as_echo "no way" >&6; }
14188      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: produced libraries will be incompatible with prebuilt GTK+ DLLs" >&5
14189$as_echo "$as_me: WARNING: produced libraries will be incompatible with prebuilt GTK+ DLLs" >&2;}
14190    else
14191      CFLAGS="$CFLAGS $msnative_struct"
14192      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${msnative_struct}" >&5
14193$as_echo "${msnative_struct}" >&6; }
14194    fi
14195  fi
14196fi
14197
14198for ac_prog in mawk gawk nawk awk
14199do
14200  # Extract the first word of "$ac_prog", so it can be a program name with args.
14201set dummy $ac_prog; ac_word=$2
14202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14203$as_echo_n "checking for $ac_word... " >&6; }
14204if ${ac_cv_path_AWK+:} false; then :
14205  $as_echo_n "(cached) " >&6
14206else
14207  case $AWK in
14208  [\\/]* | ?:[\\/]*)
14209  ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
14210  ;;
14211  *)
14212  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14213for as_dir in $PATH
14214do
14215  IFS=$as_save_IFS
14216  test -z "$as_dir" && as_dir=.
14217    for ac_exec_ext in '' $ac_executable_extensions; do
14218  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14219    ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
14220    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14221    break 2
14222  fi
14223done
14224  done
14225IFS=$as_save_IFS
14226
14227  ;;
14228esac
14229fi
14230AWK=$ac_cv_path_AWK
14231if test -n "$AWK"; then
14232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
14233$as_echo "$AWK" >&6; }
14234else
14235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14236$as_echo "no" >&6; }
14237fi
14238
14239
14240  test -n "$AWK" && break
14241done
14242
14243for ac_prog in perl5 perl
14244do
14245  # Extract the first word of "$ac_prog", so it can be a program name with args.
14246set dummy $ac_prog; ac_word=$2
14247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14248$as_echo_n "checking for $ac_word... " >&6; }
14249if ${ac_cv_path_PERL+:} false; then :
14250  $as_echo_n "(cached) " >&6
14251else
14252  case $PERL in
14253  [\\/]* | ?:[\\/]*)
14254  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
14255  ;;
14256  *)
14257  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14258for as_dir in $PATH
14259do
14260  IFS=$as_save_IFS
14261  test -z "$as_dir" && as_dir=.
14262    for ac_exec_ext in '' $ac_executable_extensions; do
14263  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14264    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
14265    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14266    break 2
14267  fi
14268done
14269  done
14270IFS=$as_save_IFS
14271
14272  ;;
14273esac
14274fi
14275PERL=$ac_cv_path_PERL
14276if test -n "$PERL"; then
14277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
14278$as_echo "$PERL" >&6; }
14279else
14280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14281$as_echo "no" >&6; }
14282fi
14283
14284
14285  test -n "$PERL" && break
14286done
14287
14288
14289# glib-genmarshal
14290# Extract the first word of "glib-genmarshal", so it can be a program name with args.
14291set dummy glib-genmarshal; ac_word=$2
14292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14293$as_echo_n "checking for $ac_word... " >&6; }
14294if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
14295  $as_echo_n "(cached) " >&6
14296else
14297  case $GLIB_GENMARSHAL in
14298  [\\/]* | ?:[\\/]*)
14299  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
14300  ;;
14301  *)
14302  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14303for as_dir in $PATH
14304do
14305  IFS=$as_save_IFS
14306  test -z "$as_dir" && as_dir=.
14307    for ac_exec_ext in '' $ac_executable_extensions; do
14308  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14309    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
14310    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14311    break 2
14312  fi
14313done
14314  done
14315IFS=$as_save_IFS
14316
14317  ;;
14318esac
14319fi
14320GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
14321if test -n "$GLIB_GENMARSHAL"; then
14322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
14323$as_echo "$GLIB_GENMARSHAL" >&6; }
14324else
14325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14326$as_echo "no" >&6; }
14327fi
14328
14329
14330
14331
14332
14333    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
14334set dummy gtkdoc-check; ac_word=$2
14335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14336$as_echo_n "checking for $ac_word... " >&6; }
14337if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
14338  $as_echo_n "(cached) " >&6
14339else
14340  case $GTKDOC_CHECK in
14341  [\\/]* | ?:[\\/]*)
14342  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14343  ;;
14344  *)
14345  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14346for as_dir in $PATH
14347do
14348  IFS=$as_save_IFS
14349  test -z "$as_dir" && as_dir=.
14350    for ac_exec_ext in '' $ac_executable_extensions; do
14351  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14352    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14353    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14354    break 2
14355  fi
14356done
14357  done
14358IFS=$as_save_IFS
14359
14360  ;;
14361esac
14362fi
14363GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14364if test -n "$GTKDOC_CHECK"; then
14365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14366$as_echo "$GTKDOC_CHECK" >&6; }
14367else
14368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14369$as_echo "no" >&6; }
14370fi
14371
14372
14373  for ac_prog in gtkdoc-rebase
14374do
14375  # Extract the first word of "$ac_prog", so it can be a program name with args.
14376set dummy $ac_prog; ac_word=$2
14377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14378$as_echo_n "checking for $ac_word... " >&6; }
14379if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
14380  $as_echo_n "(cached) " >&6
14381else
14382  case $GTKDOC_REBASE in
14383  [\\/]* | ?:[\\/]*)
14384  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
14385  ;;
14386  *)
14387  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14388for as_dir in $PATH
14389do
14390  IFS=$as_save_IFS
14391  test -z "$as_dir" && as_dir=.
14392    for ac_exec_ext in '' $ac_executable_extensions; do
14393  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14394    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
14395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14396    break 2
14397  fi
14398done
14399  done
14400IFS=$as_save_IFS
14401
14402  ;;
14403esac
14404fi
14405GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
14406if test -n "$GTKDOC_REBASE"; then
14407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
14408$as_echo "$GTKDOC_REBASE" >&6; }
14409else
14410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14411$as_echo "no" >&6; }
14412fi
14413
14414
14415  test -n "$GTKDOC_REBASE" && break
14416done
14417test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
14418
14419  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
14420set dummy gtkdoc-mkpdf; ac_word=$2
14421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14422$as_echo_n "checking for $ac_word... " >&6; }
14423if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
14424  $as_echo_n "(cached) " >&6
14425else
14426  case $GTKDOC_MKPDF in
14427  [\\/]* | ?:[\\/]*)
14428  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
14429  ;;
14430  *)
14431  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14432for as_dir in $PATH
14433do
14434  IFS=$as_save_IFS
14435  test -z "$as_dir" && as_dir=.
14436    for ac_exec_ext in '' $ac_executable_extensions; do
14437  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14438    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
14439    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14440    break 2
14441  fi
14442done
14443  done
14444IFS=$as_save_IFS
14445
14446  ;;
14447esac
14448fi
14449GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
14450if test -n "$GTKDOC_MKPDF"; then
14451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
14452$as_echo "$GTKDOC_MKPDF" >&6; }
14453else
14454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14455$as_echo "no" >&6; }
14456fi
14457
14458
14459
14460
14461# Check whether --with-html-dir was given.
14462if test "${with_html_dir+set}" = set; then :
14463  withval=$with_html_dir;
14464else
14465  with_html_dir='${datadir}/gtk-doc/html'
14466fi
14467
14468  HTML_DIR="$with_html_dir"
14469
14470
14471    # Check whether --enable-gtk-doc was given.
14472if test "${enable_gtk_doc+set}" = set; then :
14473  enableval=$enable_gtk_doc;
14474else
14475  enable_gtk_doc=no
14476fi
14477
14478
14479  if test x$enable_gtk_doc = xyes; then
14480    if test -n "$PKG_CONFIG" && \
14481    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
14482  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
14483  ac_status=$?
14484  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14485  test $ac_status = 0; }; then
14486  :
14487else
14488  as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
14489fi
14490  fi
14491
14492  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
14493$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
14495$as_echo "$enable_gtk_doc" >&6; }
14496
14497    # Check whether --enable-gtk-doc-html was given.
14498if test "${enable_gtk_doc_html+set}" = set; then :
14499  enableval=$enable_gtk_doc_html;
14500else
14501  enable_gtk_doc_html=yes
14502fi
14503
14504    # Check whether --enable-gtk-doc-pdf was given.
14505if test "${enable_gtk_doc_pdf+set}" = set; then :
14506  enableval=$enable_gtk_doc_pdf;
14507else
14508  enable_gtk_doc_pdf=no
14509fi
14510
14511
14512  if test -z "$GTKDOC_MKPDF"; then
14513    enable_gtk_doc_pdf=no
14514  fi
14515
14516
14517   if test x$enable_gtk_doc = xyes; then
14518  ENABLE_GTK_DOC_TRUE=
14519  ENABLE_GTK_DOC_FALSE='#'
14520else
14521  ENABLE_GTK_DOC_TRUE='#'
14522  ENABLE_GTK_DOC_FALSE=
14523fi
14524
14525   if test x$enable_gtk_doc_html = xyes; then
14526  GTK_DOC_BUILD_HTML_TRUE=
14527  GTK_DOC_BUILD_HTML_FALSE='#'
14528else
14529  GTK_DOC_BUILD_HTML_TRUE='#'
14530  GTK_DOC_BUILD_HTML_FALSE=
14531fi
14532
14533   if test x$enable_gtk_doc_pdf = xyes; then
14534  GTK_DOC_BUILD_PDF_TRUE=
14535  GTK_DOC_BUILD_PDF_FALSE='#'
14536else
14537  GTK_DOC_BUILD_PDF_TRUE='#'
14538  GTK_DOC_BUILD_PDF_FALSE=
14539fi
14540
14541   if test -n "$LIBTOOL"; then
14542  GTK_DOC_USE_LIBTOOL_TRUE=
14543  GTK_DOC_USE_LIBTOOL_FALSE='#'
14544else
14545  GTK_DOC_USE_LIBTOOL_TRUE='#'
14546  GTK_DOC_USE_LIBTOOL_FALSE=
14547fi
14548
14549   if test -n "$GTKDOC_REBASE"; then
14550  GTK_DOC_USE_REBASE_TRUE=
14551  GTK_DOC_USE_REBASE_FALSE='#'
14552else
14553  GTK_DOC_USE_REBASE_TRUE='#'
14554  GTK_DOC_USE_REBASE_FALSE=
14555fi
14556
14557
14558DISTCHECK_CONFIGURE_FLAGS="--enable-gtk-doc"
14559
14560
14561# define a MAINT-like variable REBUILD which is set if Perl
14562# and awk are found, so autogenerated sources can be rebuilt
14563# Check whether --enable-rebuilds was given.
14564if test "${enable_rebuilds+set}" = set; then :
14565  enableval=$enable_rebuilds;
14566else
14567  enable_rebuilds=yes
14568fi
14569
14570REBUILD=\#
14571if test "x$enable_rebuilds" = "xyes" && \
14572     test -n "$PERL" && \
14573     $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 && \
14574     test -n "$AWK" ; then
14575  REBUILD=
14576fi
14577
14578
14579ac_config_files="$ac_config_files Makefile libgnomecanvas-zip po/Makefile.in libgnomecanvas/Makefile libgnomecanvas/libgnomecanvas-2.0.pc libgnomecanvas/libgnomecanvas-2.0-uninstalled.pc glade/Makefile demos/Makefile tests/Makefile docs/Makefile docs/reference/Makefile"
14580
14581
14582cat >confcache <<\_ACEOF
14583# This file is a shell script that caches the results of configure
14584# tests run on this system so they can be shared between configure
14585# scripts and configure runs, see configure's option --config-cache.
14586# It is not useful on other systems.  If it contains results you don't
14587# want to keep, you may remove or edit it.
14588#
14589# config.status only pays attention to the cache file if you give it
14590# the --recheck option to rerun configure.
14591#
14592# `ac_cv_env_foo' variables (set or unset) will be overridden when
14593# loading this file, other *unset* `ac_cv_foo' will be assigned the
14594# following values.
14595
14596_ACEOF
14597
14598# The following way of writing the cache mishandles newlines in values,
14599# but we know of no workaround that is simple, portable, and efficient.
14600# So, we kill variables containing newlines.
14601# Ultrix sh set writes to stderr and can't be redirected directly,
14602# and sets the high bit in the cache file unless we assign to the vars.
14603(
14604  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14605    eval ac_val=\$$ac_var
14606    case $ac_val in #(
14607    *${as_nl}*)
14608      case $ac_var in #(
14609      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14610$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14611      esac
14612      case $ac_var in #(
14613      _ | IFS | as_nl) ;; #(
14614      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14615      *) { eval $ac_var=; unset $ac_var;} ;;
14616      esac ;;
14617    esac
14618  done
14619
14620  (set) 2>&1 |
14621    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14622    *${as_nl}ac_space=\ *)
14623      # `set' does not quote correctly, so add quotes: double-quote
14624      # substitution turns \\\\ into \\, and sed turns \\ into \.
14625      sed -n \
14626	"s/'/'\\\\''/g;
14627	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14628      ;; #(
14629    *)
14630      # `set' quotes correctly as required by POSIX, so do not add quotes.
14631      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14632      ;;
14633    esac |
14634    sort
14635) |
14636  sed '
14637     /^ac_cv_env_/b end
14638     t clear
14639     :clear
14640     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14641     t end
14642     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14643     :end' >>confcache
14644if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14645  if test -w "$cache_file"; then
14646    if test "x$cache_file" != "x/dev/null"; then
14647      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14648$as_echo "$as_me: updating cache $cache_file" >&6;}
14649      if test ! -f "$cache_file" || test -h "$cache_file"; then
14650	cat confcache >"$cache_file"
14651      else
14652        case $cache_file in #(
14653        */* | ?:*)
14654	  mv -f confcache "$cache_file"$$ &&
14655	  mv -f "$cache_file"$$ "$cache_file" ;; #(
14656        *)
14657	  mv -f confcache "$cache_file" ;;
14658	esac
14659      fi
14660    fi
14661  else
14662    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14663$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14664  fi
14665fi
14666rm -f confcache
14667
14668test "x$prefix" = xNONE && prefix=$ac_default_prefix
14669# Let make expand exec_prefix.
14670test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14671
14672DEFS=-DHAVE_CONFIG_H
14673
14674ac_libobjs=
14675ac_ltlibobjs=
14676U=
14677for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14678  # 1. Remove the extension, and $U if already installed.
14679  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14680  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14681  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14682  #    will be set to the directory where LIBOBJS objects are built.
14683  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14684  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14685done
14686LIBOBJS=$ac_libobjs
14687
14688LTLIBOBJS=$ac_ltlibobjs
14689
14690
14691 if test -n "$EXEEXT"; then
14692  am__EXEEXT_TRUE=
14693  am__EXEEXT_FALSE='#'
14694else
14695  am__EXEEXT_TRUE='#'
14696  am__EXEEXT_FALSE=
14697fi
14698
14699if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14700  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14701Usually this means the macro was only invoked conditionally." "$LINENO" 5
14702fi
14703if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14704  as_fn_error $? "conditional \"AMDEP\" was never defined.
14705Usually this means the macro was only invoked conditionally." "$LINENO" 5
14706fi
14707if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14708  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14709Usually this means the macro was only invoked conditionally." "$LINENO" 5
14710fi
14711if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14712  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14713Usually this means the macro was only invoked conditionally." "$LINENO" 5
14714fi
14715
14716  ac_config_commands="$ac_config_commands po/stamp-it"
14717
14718
14719if test -z "${USE_GLADE_TRUE}" && test -z "${USE_GLADE_FALSE}"; then
14720  as_fn_error $? "conditional \"USE_GLADE\" was never defined.
14721Usually this means the macro was only invoked conditionally." "$LINENO" 5
14722fi
14723if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14724  as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14725Usually this means the macro was only invoked conditionally." "$LINENO" 5
14726fi
14727if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
14728  as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
14729Usually this means the macro was only invoked conditionally." "$LINENO" 5
14730fi
14731if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14732  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14733Usually this means the macro was only invoked conditionally." "$LINENO" 5
14734fi
14735if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14736  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14737Usually this means the macro was only invoked conditionally." "$LINENO" 5
14738fi
14739if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14740  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14741Usually this means the macro was only invoked conditionally." "$LINENO" 5
14742fi
14743if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14744  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14745Usually this means the macro was only invoked conditionally." "$LINENO" 5
14746fi
14747if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14748  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14749Usually this means the macro was only invoked conditionally." "$LINENO" 5
14750fi
14751
14752: "${CONFIG_STATUS=./config.status}"
14753ac_write_fail=0
14754ac_clean_files_save=$ac_clean_files
14755ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14756{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14757$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14758as_write_fail=0
14759cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14760#! $SHELL
14761# Generated by $as_me.
14762# Run this file to recreate the current configuration.
14763# Compiler output produced by configure, useful for debugging
14764# configure, is in config.log if it exists.
14765
14766debug=false
14767ac_cs_recheck=false
14768ac_cs_silent=false
14769
14770SHELL=\${CONFIG_SHELL-$SHELL}
14771export SHELL
14772_ASEOF
14773cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14774## -------------------- ##
14775## M4sh Initialization. ##
14776## -------------------- ##
14777
14778# Be more Bourne compatible
14779DUALCASE=1; export DUALCASE # for MKS sh
14780if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14781  emulate sh
14782  NULLCMD=:
14783  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14784  # is contrary to our usage.  Disable this feature.
14785  alias -g '${1+"$@"}'='"$@"'
14786  setopt NO_GLOB_SUBST
14787else
14788  case `(set -o) 2>/dev/null` in #(
14789  *posix*) :
14790    set -o posix ;; #(
14791  *) :
14792     ;;
14793esac
14794fi
14795
14796
14797as_nl='
14798'
14799export as_nl
14800# Printing a long string crashes Solaris 7 /usr/bin/printf.
14801as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14802as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14803as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14804# Prefer a ksh shell builtin over an external printf program on Solaris,
14805# but without wasting forks for bash or zsh.
14806if test -z "$BASH_VERSION$ZSH_VERSION" \
14807    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14808  as_echo='print -r --'
14809  as_echo_n='print -rn --'
14810elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14811  as_echo='printf %s\n'
14812  as_echo_n='printf %s'
14813else
14814  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14815    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14816    as_echo_n='/usr/ucb/echo -n'
14817  else
14818    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14819    as_echo_n_body='eval
14820      arg=$1;
14821      case $arg in #(
14822      *"$as_nl"*)
14823	expr "X$arg" : "X\\(.*\\)$as_nl";
14824	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14825      esac;
14826      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14827    '
14828    export as_echo_n_body
14829    as_echo_n='sh -c $as_echo_n_body as_echo'
14830  fi
14831  export as_echo_body
14832  as_echo='sh -c $as_echo_body as_echo'
14833fi
14834
14835# The user is always right.
14836if test "${PATH_SEPARATOR+set}" != set; then
14837  PATH_SEPARATOR=:
14838  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14839    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14840      PATH_SEPARATOR=';'
14841  }
14842fi
14843
14844
14845# IFS
14846# We need space, tab and new line, in precisely that order.  Quoting is
14847# there to prevent editors from complaining about space-tab.
14848# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14849# splitting by setting IFS to empty value.)
14850IFS=" ""	$as_nl"
14851
14852# Find who we are.  Look in the path if we contain no directory separator.
14853as_myself=
14854case $0 in #((
14855  *[\\/]* ) as_myself=$0 ;;
14856  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14857for as_dir in $PATH
14858do
14859  IFS=$as_save_IFS
14860  test -z "$as_dir" && as_dir=.
14861    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14862  done
14863IFS=$as_save_IFS
14864
14865     ;;
14866esac
14867# We did not find ourselves, most probably we were run as `sh COMMAND'
14868# in which case we are not to be found in the path.
14869if test "x$as_myself" = x; then
14870  as_myself=$0
14871fi
14872if test ! -f "$as_myself"; then
14873  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14874  exit 1
14875fi
14876
14877# Unset variables that we do not need and which cause bugs (e.g. in
14878# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14879# suppresses any "Segmentation fault" message there.  '((' could
14880# trigger a bug in pdksh 5.2.14.
14881for as_var in BASH_ENV ENV MAIL MAILPATH
14882do eval test x\${$as_var+set} = xset \
14883  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14884done
14885PS1='$ '
14886PS2='> '
14887PS4='+ '
14888
14889# NLS nuisances.
14890LC_ALL=C
14891export LC_ALL
14892LANGUAGE=C
14893export LANGUAGE
14894
14895# CDPATH.
14896(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14897
14898
14899# as_fn_error STATUS ERROR [LINENO LOG_FD]
14900# ----------------------------------------
14901# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14902# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14903# script with STATUS, using 1 if that was 0.
14904as_fn_error ()
14905{
14906  as_status=$1; test $as_status -eq 0 && as_status=1
14907  if test "$4"; then
14908    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14909    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14910  fi
14911  $as_echo "$as_me: error: $2" >&2
14912  as_fn_exit $as_status
14913} # as_fn_error
14914
14915
14916# as_fn_set_status STATUS
14917# -----------------------
14918# Set $? to STATUS, without forking.
14919as_fn_set_status ()
14920{
14921  return $1
14922} # as_fn_set_status
14923
14924# as_fn_exit STATUS
14925# -----------------
14926# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14927as_fn_exit ()
14928{
14929  set +e
14930  as_fn_set_status $1
14931  exit $1
14932} # as_fn_exit
14933
14934# as_fn_unset VAR
14935# ---------------
14936# Portably unset VAR.
14937as_fn_unset ()
14938{
14939  { eval $1=; unset $1;}
14940}
14941as_unset=as_fn_unset
14942# as_fn_append VAR VALUE
14943# ----------------------
14944# Append the text in VALUE to the end of the definition contained in VAR. Take
14945# advantage of any shell optimizations that allow amortized linear growth over
14946# repeated appends, instead of the typical quadratic growth present in naive
14947# implementations.
14948if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14949  eval 'as_fn_append ()
14950  {
14951    eval $1+=\$2
14952  }'
14953else
14954  as_fn_append ()
14955  {
14956    eval $1=\$$1\$2
14957  }
14958fi # as_fn_append
14959
14960# as_fn_arith ARG...
14961# ------------------
14962# Perform arithmetic evaluation on the ARGs, and store the result in the
14963# global $as_val. Take advantage of shells that can avoid forks. The arguments
14964# must be portable across $(()) and expr.
14965if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14966  eval 'as_fn_arith ()
14967  {
14968    as_val=$(( $* ))
14969  }'
14970else
14971  as_fn_arith ()
14972  {
14973    as_val=`expr "$@" || test $? -eq 1`
14974  }
14975fi # as_fn_arith
14976
14977
14978if expr a : '\(a\)' >/dev/null 2>&1 &&
14979   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14980  as_expr=expr
14981else
14982  as_expr=false
14983fi
14984
14985if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14986  as_basename=basename
14987else
14988  as_basename=false
14989fi
14990
14991if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14992  as_dirname=dirname
14993else
14994  as_dirname=false
14995fi
14996
14997as_me=`$as_basename -- "$0" ||
14998$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14999	 X"$0" : 'X\(//\)$' \| \
15000	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15001$as_echo X/"$0" |
15002    sed '/^.*\/\([^/][^/]*\)\/*$/{
15003	    s//\1/
15004	    q
15005	  }
15006	  /^X\/\(\/\/\)$/{
15007	    s//\1/
15008	    q
15009	  }
15010	  /^X\/\(\/\).*/{
15011	    s//\1/
15012	    q
15013	  }
15014	  s/.*/./; q'`
15015
15016# Avoid depending upon Character Ranges.
15017as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15018as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15019as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15020as_cr_digits='0123456789'
15021as_cr_alnum=$as_cr_Letters$as_cr_digits
15022
15023ECHO_C= ECHO_N= ECHO_T=
15024case `echo -n x` in #(((((
15025-n*)
15026  case `echo 'xy\c'` in
15027  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15028  xy)  ECHO_C='\c';;
15029  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15030       ECHO_T='	';;
15031  esac;;
15032*)
15033  ECHO_N='-n';;
15034esac
15035
15036rm -f conf$$ conf$$.exe conf$$.file
15037if test -d conf$$.dir; then
15038  rm -f conf$$.dir/conf$$.file
15039else
15040  rm -f conf$$.dir
15041  mkdir conf$$.dir 2>/dev/null
15042fi
15043if (echo >conf$$.file) 2>/dev/null; then
15044  if ln -s conf$$.file conf$$ 2>/dev/null; then
15045    as_ln_s='ln -s'
15046    # ... but there are two gotchas:
15047    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15048    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15049    # In both cases, we have to default to `cp -p'.
15050    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15051      as_ln_s='cp -p'
15052  elif ln conf$$.file conf$$ 2>/dev/null; then
15053    as_ln_s=ln
15054  else
15055    as_ln_s='cp -p'
15056  fi
15057else
15058  as_ln_s='cp -p'
15059fi
15060rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15061rmdir conf$$.dir 2>/dev/null
15062
15063
15064# as_fn_mkdir_p
15065# -------------
15066# Create "$as_dir" as a directory, including parents if necessary.
15067as_fn_mkdir_p ()
15068{
15069
15070  case $as_dir in #(
15071  -*) as_dir=./$as_dir;;
15072  esac
15073  test -d "$as_dir" || eval $as_mkdir_p || {
15074    as_dirs=
15075    while :; do
15076      case $as_dir in #(
15077      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15078      *) as_qdir=$as_dir;;
15079      esac
15080      as_dirs="'$as_qdir' $as_dirs"
15081      as_dir=`$as_dirname -- "$as_dir" ||
15082$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15083	 X"$as_dir" : 'X\(//\)[^/]' \| \
15084	 X"$as_dir" : 'X\(//\)$' \| \
15085	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15086$as_echo X"$as_dir" |
15087    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15088	    s//\1/
15089	    q
15090	  }
15091	  /^X\(\/\/\)[^/].*/{
15092	    s//\1/
15093	    q
15094	  }
15095	  /^X\(\/\/\)$/{
15096	    s//\1/
15097	    q
15098	  }
15099	  /^X\(\/\).*/{
15100	    s//\1/
15101	    q
15102	  }
15103	  s/.*/./; q'`
15104      test -d "$as_dir" && break
15105    done
15106    test -z "$as_dirs" || eval "mkdir $as_dirs"
15107  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15108
15109
15110} # as_fn_mkdir_p
15111if mkdir -p . 2>/dev/null; then
15112  as_mkdir_p='mkdir -p "$as_dir"'
15113else
15114  test -d ./-p && rmdir ./-p
15115  as_mkdir_p=false
15116fi
15117
15118if test -x / >/dev/null 2>&1; then
15119  as_test_x='test -x'
15120else
15121  if ls -dL / >/dev/null 2>&1; then
15122    as_ls_L_option=L
15123  else
15124    as_ls_L_option=
15125  fi
15126  as_test_x='
15127    eval sh -c '\''
15128      if test -d "$1"; then
15129	test -d "$1/.";
15130      else
15131	case $1 in #(
15132	-*)set "./$1";;
15133	esac;
15134	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15135	???[sx]*):;;*)false;;esac;fi
15136    '\'' sh
15137  '
15138fi
15139as_executable_p=$as_test_x
15140
15141# Sed expression to map a string onto a valid CPP name.
15142as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15143
15144# Sed expression to map a string onto a valid variable name.
15145as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15146
15147
15148exec 6>&1
15149## ----------------------------------- ##
15150## Main body of $CONFIG_STATUS script. ##
15151## ----------------------------------- ##
15152_ASEOF
15153test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15154
15155cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15156# Save the log message, to keep $0 and so on meaningful, and to
15157# report actual input values of CONFIG_FILES etc. instead of their
15158# values after options handling.
15159ac_log="
15160This file was extended by libgnomecanvas $as_me 2.30.3, which was
15161generated by GNU Autoconf 2.68.  Invocation command line was
15162
15163  CONFIG_FILES    = $CONFIG_FILES
15164  CONFIG_HEADERS  = $CONFIG_HEADERS
15165  CONFIG_LINKS    = $CONFIG_LINKS
15166  CONFIG_COMMANDS = $CONFIG_COMMANDS
15167  $ $0 $@
15168
15169on `(hostname || uname -n) 2>/dev/null | sed 1q`
15170"
15171
15172_ACEOF
15173
15174case $ac_config_files in *"
15175"*) set x $ac_config_files; shift; ac_config_files=$*;;
15176esac
15177
15178case $ac_config_headers in *"
15179"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15180esac
15181
15182
15183cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15184# Files that config.status was made for.
15185config_files="$ac_config_files"
15186config_headers="$ac_config_headers"
15187config_commands="$ac_config_commands"
15188
15189_ACEOF
15190
15191cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15192ac_cs_usage="\
15193\`$as_me' instantiates files and other configuration actions
15194from templates according to the current configuration.  Unless the files
15195and actions are specified as TAGs, all are instantiated by default.
15196
15197Usage: $0 [OPTION]... [TAG]...
15198
15199  -h, --help       print this help, then exit
15200  -V, --version    print version number and configuration settings, then exit
15201      --config     print configuration, then exit
15202  -q, --quiet, --silent
15203                   do not print progress messages
15204  -d, --debug      don't remove temporary files
15205      --recheck    update $as_me by reconfiguring in the same conditions
15206      --file=FILE[:TEMPLATE]
15207                   instantiate the configuration file FILE
15208      --header=FILE[:TEMPLATE]
15209                   instantiate the configuration header FILE
15210
15211Configuration files:
15212$config_files
15213
15214Configuration headers:
15215$config_headers
15216
15217Configuration commands:
15218$config_commands
15219
15220Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libgnomecanvas>."
15221
15222_ACEOF
15223cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15224ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15225ac_cs_version="\\
15226libgnomecanvas config.status 2.30.3
15227configured by $0, generated by GNU Autoconf 2.68,
15228  with options \\"\$ac_cs_config\\"
15229
15230Copyright (C) 2010 Free Software Foundation, Inc.
15231This config.status script is free software; the Free Software Foundation
15232gives unlimited permission to copy, distribute and modify it."
15233
15234ac_pwd='$ac_pwd'
15235srcdir='$srcdir'
15236INSTALL='$INSTALL'
15237MKDIR_P='$MKDIR_P'
15238AWK='$AWK'
15239test -n "\$AWK" || AWK=awk
15240_ACEOF
15241
15242cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15243# The default lists apply if the user does not specify any file.
15244ac_need_defaults=:
15245while test $# != 0
15246do
15247  case $1 in
15248  --*=?*)
15249    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15250    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15251    ac_shift=:
15252    ;;
15253  --*=)
15254    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15255    ac_optarg=
15256    ac_shift=:
15257    ;;
15258  *)
15259    ac_option=$1
15260    ac_optarg=$2
15261    ac_shift=shift
15262    ;;
15263  esac
15264
15265  case $ac_option in
15266  # Handling of the options.
15267  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15268    ac_cs_recheck=: ;;
15269  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15270    $as_echo "$ac_cs_version"; exit ;;
15271  --config | --confi | --conf | --con | --co | --c )
15272    $as_echo "$ac_cs_config"; exit ;;
15273  --debug | --debu | --deb | --de | --d | -d )
15274    debug=: ;;
15275  --file | --fil | --fi | --f )
15276    $ac_shift
15277    case $ac_optarg in
15278    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15279    '') as_fn_error $? "missing file argument" ;;
15280    esac
15281    as_fn_append CONFIG_FILES " '$ac_optarg'"
15282    ac_need_defaults=false;;
15283  --header | --heade | --head | --hea )
15284    $ac_shift
15285    case $ac_optarg in
15286    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15287    esac
15288    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15289    ac_need_defaults=false;;
15290  --he | --h)
15291    # Conflict between --help and --header
15292    as_fn_error $? "ambiguous option: \`$1'
15293Try \`$0 --help' for more information.";;
15294  --help | --hel | -h )
15295    $as_echo "$ac_cs_usage"; exit ;;
15296  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15297  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15298    ac_cs_silent=: ;;
15299
15300  # This is an error.
15301  -*) as_fn_error $? "unrecognized option: \`$1'
15302Try \`$0 --help' for more information." ;;
15303
15304  *) as_fn_append ac_config_targets " $1"
15305     ac_need_defaults=false ;;
15306
15307  esac
15308  shift
15309done
15310
15311ac_configure_extra_args=
15312
15313if $ac_cs_silent; then
15314  exec 6>/dev/null
15315  ac_configure_extra_args="$ac_configure_extra_args --silent"
15316fi
15317
15318_ACEOF
15319cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15320if \$ac_cs_recheck; then
15321  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15322  shift
15323  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15324  CONFIG_SHELL='$SHELL'
15325  export CONFIG_SHELL
15326  exec "\$@"
15327fi
15328
15329_ACEOF
15330cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15331exec 5>>config.log
15332{
15333  echo
15334  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15335## Running $as_me. ##
15336_ASBOX
15337  $as_echo "$ac_log"
15338} >&5
15339
15340_ACEOF
15341cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15342#
15343# INIT-COMMANDS
15344#
15345AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15346
15347
15348# The HP-UX ksh and POSIX shell print the target directory to stdout
15349# if CDPATH is set.
15350(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15351
15352sed_quote_subst='$sed_quote_subst'
15353double_quote_subst='$double_quote_subst'
15354delay_variable_subst='$delay_variable_subst'
15355AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15356DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15357OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15358macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15359macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15360enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15361enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15362pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15363enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15364SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15365ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15366host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15367host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15368host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15369build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15370build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15371build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15372SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15373Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15374GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15375EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15376FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15377LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15378NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15379LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15380max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15381ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15382exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15383lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15384lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15385lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15386lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15387lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15388reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15389reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15390deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15391file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15392file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15393want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15394sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15395AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15396AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15397archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15398STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15399RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15400old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15401old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15402old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15403lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15404CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15405CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15406compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15407GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15408lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15409lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15410lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15411lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15412nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15413lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15414objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15415MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15416lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15417lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15418lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15419lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15420lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15421need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15422MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15423DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15424NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15425LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15426OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15427OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15428libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15429shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15430extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15431archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15432enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15433export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15434whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15435compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15436old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15437old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15438archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15439archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15440module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15441module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15442with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15443allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15444no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15445hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15446hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15447hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15448hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15449hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15450hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15451hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15452hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15453inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15454link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15455always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15456export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15457exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15458include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15459prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15460postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15461file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15462variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15463need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15464need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15465version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15466runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15467shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15468shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15469libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15470library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15471soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15472install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15473postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15474postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15475finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15476finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15477hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15478sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15479sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15480hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15481enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15482enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15483enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15484old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15485striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15486
15487LTCC='$LTCC'
15488LTCFLAGS='$LTCFLAGS'
15489compiler='$compiler_DEFAULT'
15490
15491# A function that is used when there is no print builtin or printf.
15492func_fallback_echo ()
15493{
15494  eval 'cat <<_LTECHO_EOF
15495\$1
15496_LTECHO_EOF'
15497}
15498
15499# Quote evaled strings.
15500for var in AS \
15501DLLTOOL \
15502OBJDUMP \
15503SHELL \
15504ECHO \
15505SED \
15506GREP \
15507EGREP \
15508FGREP \
15509LD \
15510NM \
15511LN_S \
15512lt_SP2NL \
15513lt_NL2SP \
15514reload_flag \
15515deplibs_check_method \
15516file_magic_cmd \
15517file_magic_glob \
15518want_nocaseglob \
15519sharedlib_from_linklib_cmd \
15520AR \
15521AR_FLAGS \
15522archiver_list_spec \
15523STRIP \
15524RANLIB \
15525CC \
15526CFLAGS \
15527compiler \
15528lt_cv_sys_global_symbol_pipe \
15529lt_cv_sys_global_symbol_to_cdecl \
15530lt_cv_sys_global_symbol_to_c_name_address \
15531lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15532nm_file_list_spec \
15533lt_prog_compiler_no_builtin_flag \
15534lt_prog_compiler_pic \
15535lt_prog_compiler_wl \
15536lt_prog_compiler_static \
15537lt_cv_prog_compiler_c_o \
15538need_locks \
15539MANIFEST_TOOL \
15540DSYMUTIL \
15541NMEDIT \
15542LIPO \
15543OTOOL \
15544OTOOL64 \
15545shrext_cmds \
15546export_dynamic_flag_spec \
15547whole_archive_flag_spec \
15548compiler_needs_object \
15549with_gnu_ld \
15550allow_undefined_flag \
15551no_undefined_flag \
15552hardcode_libdir_flag_spec \
15553hardcode_libdir_flag_spec_ld \
15554hardcode_libdir_separator \
15555exclude_expsyms \
15556include_expsyms \
15557file_list_spec \
15558variables_saved_for_relink \
15559libname_spec \
15560library_names_spec \
15561soname_spec \
15562install_override_mode \
15563finish_eval \
15564old_striplib \
15565striplib; do
15566    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15567    *[\\\\\\\`\\"\\\$]*)
15568      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15569      ;;
15570    *)
15571      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15572      ;;
15573    esac
15574done
15575
15576# Double-quote double-evaled strings.
15577for var in reload_cmds \
15578old_postinstall_cmds \
15579old_postuninstall_cmds \
15580old_archive_cmds \
15581extract_expsyms_cmds \
15582old_archive_from_new_cmds \
15583old_archive_from_expsyms_cmds \
15584archive_cmds \
15585archive_expsym_cmds \
15586module_cmds \
15587module_expsym_cmds \
15588export_symbols_cmds \
15589prelink_cmds \
15590postlink_cmds \
15591postinstall_cmds \
15592postuninstall_cmds \
15593finish_cmds \
15594sys_lib_search_path_spec \
15595sys_lib_dlsearch_path_spec; do
15596    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15597    *[\\\\\\\`\\"\\\$]*)
15598      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15599      ;;
15600    *)
15601      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15602      ;;
15603    esac
15604done
15605
15606ac_aux_dir='$ac_aux_dir'
15607xsi_shell='$xsi_shell'
15608lt_shell_append='$lt_shell_append'
15609
15610# See if we are running on zsh, and set the options which allow our
15611# commands through without removal of \ escapes INIT.
15612if test -n "\${ZSH_VERSION+set}" ; then
15613   setopt NO_GLOB_SUBST
15614fi
15615
15616
15617    PACKAGE='$PACKAGE'
15618    VERSION='$VERSION'
15619    TIMESTAMP='$TIMESTAMP'
15620    RM='$RM'
15621    ofile='$ofile'
15622
15623
15624
15625
15626
15627_ACEOF
15628
15629cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15630
15631# Handling of arguments.
15632for ac_config_target in $ac_config_targets
15633do
15634  case $ac_config_target in
15635    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15636    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15637    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15638    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15639    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15640    "libgnomecanvas-zip") CONFIG_FILES="$CONFIG_FILES libgnomecanvas-zip" ;;
15641    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15642    "libgnomecanvas/Makefile") CONFIG_FILES="$CONFIG_FILES libgnomecanvas/Makefile" ;;
15643    "libgnomecanvas/libgnomecanvas-2.0.pc") CONFIG_FILES="$CONFIG_FILES libgnomecanvas/libgnomecanvas-2.0.pc" ;;
15644    "libgnomecanvas/libgnomecanvas-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libgnomecanvas/libgnomecanvas-2.0-uninstalled.pc" ;;
15645    "glade/Makefile") CONFIG_FILES="$CONFIG_FILES glade/Makefile" ;;
15646    "demos/Makefile") CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
15647    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15648    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15649    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
15650    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15651
15652  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15653  esac
15654done
15655
15656
15657# If the user did not use the arguments to specify the items to instantiate,
15658# then the envvar interface is used.  Set only those that are not.
15659# We use the long form for the default assignment because of an extremely
15660# bizarre bug on SunOS 4.1.3.
15661if $ac_need_defaults; then
15662  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15663  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15664  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15665fi
15666
15667# Have a temporary directory for convenience.  Make it in the build tree
15668# simply because there is no reason against having it here, and in addition,
15669# creating and moving files from /tmp can sometimes cause problems.
15670# Hook for its removal unless debugging.
15671# Note that there is a small window in which the directory will not be cleaned:
15672# after its creation but before its name has been assigned to `$tmp'.
15673$debug ||
15674{
15675  tmp= ac_tmp=
15676  trap 'exit_status=$?
15677  : "${ac_tmp:=$tmp}"
15678  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15679' 0
15680  trap 'as_fn_exit 1' 1 2 13 15
15681}
15682# Create a (secure) tmp directory for tmp files.
15683
15684{
15685  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15686  test -d "$tmp"
15687}  ||
15688{
15689  tmp=./conf$$-$RANDOM
15690  (umask 077 && mkdir "$tmp")
15691} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15692ac_tmp=$tmp
15693
15694# Set up the scripts for CONFIG_FILES section.
15695# No need to generate them if there are no CONFIG_FILES.
15696# This happens for instance with `./config.status config.h'.
15697if test -n "$CONFIG_FILES"; then
15698
15699
15700ac_cr=`echo X | tr X '\015'`
15701# On cygwin, bash can eat \r inside `` if the user requested igncr.
15702# But we know of no other shell where ac_cr would be empty at this
15703# point, so we can use a bashism as a fallback.
15704if test "x$ac_cr" = x; then
15705  eval ac_cr=\$\'\\r\'
15706fi
15707ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15708if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15709  ac_cs_awk_cr='\\r'
15710else
15711  ac_cs_awk_cr=$ac_cr
15712fi
15713
15714echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15715_ACEOF
15716
15717
15718{
15719  echo "cat >conf$$subs.awk <<_ACEOF" &&
15720  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15721  echo "_ACEOF"
15722} >conf$$subs.sh ||
15723  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15724ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15725ac_delim='%!_!# '
15726for ac_last_try in false false false false false :; do
15727  . ./conf$$subs.sh ||
15728    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15729
15730  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15731  if test $ac_delim_n = $ac_delim_num; then
15732    break
15733  elif $ac_last_try; then
15734    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15735  else
15736    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15737  fi
15738done
15739rm -f conf$$subs.sh
15740
15741cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15742cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15743_ACEOF
15744sed -n '
15745h
15746s/^/S["/; s/!.*/"]=/
15747p
15748g
15749s/^[^!]*!//
15750:repl
15751t repl
15752s/'"$ac_delim"'$//
15753t delim
15754:nl
15755h
15756s/\(.\{148\}\)..*/\1/
15757t more1
15758s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15759p
15760n
15761b repl
15762:more1
15763s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15764p
15765g
15766s/.\{148\}//
15767t nl
15768:delim
15769h
15770s/\(.\{148\}\)..*/\1/
15771t more2
15772s/["\\]/\\&/g; s/^/"/; s/$/"/
15773p
15774b
15775:more2
15776s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15777p
15778g
15779s/.\{148\}//
15780t delim
15781' <conf$$subs.awk | sed '
15782/^[^""]/{
15783  N
15784  s/\n//
15785}
15786' >>$CONFIG_STATUS || ac_write_fail=1
15787rm -f conf$$subs.awk
15788cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15789_ACAWK
15790cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15791  for (key in S) S_is_set[key] = 1
15792  FS = ""
15793
15794}
15795{
15796  line = $ 0
15797  nfields = split(line, field, "@")
15798  substed = 0
15799  len = length(field[1])
15800  for (i = 2; i < nfields; i++) {
15801    key = field[i]
15802    keylen = length(key)
15803    if (S_is_set[key]) {
15804      value = S[key]
15805      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15806      len += length(value) + length(field[++i])
15807      substed = 1
15808    } else
15809      len += 1 + keylen
15810  }
15811
15812  print line
15813}
15814
15815_ACAWK
15816_ACEOF
15817cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15818if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15819  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15820else
15821  cat
15822fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15823  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15824_ACEOF
15825
15826# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15827# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15828# trailing colons and then remove the whole line if VPATH becomes empty
15829# (actually we leave an empty line to preserve line numbers).
15830if test "x$srcdir" = x.; then
15831  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
15832h
15833s///
15834s/^/:/
15835s/[	 ]*$/:/
15836s/:\$(srcdir):/:/g
15837s/:\${srcdir}:/:/g
15838s/:@srcdir@:/:/g
15839s/^:*//
15840s/:*$//
15841x
15842s/\(=[	 ]*\).*/\1/
15843G
15844s/\n//
15845s/^[^=]*=[	 ]*$//
15846}'
15847fi
15848
15849cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15850fi # test -n "$CONFIG_FILES"
15851
15852# Set up the scripts for CONFIG_HEADERS section.
15853# No need to generate them if there are no CONFIG_HEADERS.
15854# This happens for instance with `./config.status Makefile'.
15855if test -n "$CONFIG_HEADERS"; then
15856cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15857BEGIN {
15858_ACEOF
15859
15860# Transform confdefs.h into an awk script `defines.awk', embedded as
15861# here-document in config.status, that substitutes the proper values into
15862# config.h.in to produce config.h.
15863
15864# Create a delimiter string that does not exist in confdefs.h, to ease
15865# handling of long lines.
15866ac_delim='%!_!# '
15867for ac_last_try in false false :; do
15868  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15869  if test -z "$ac_tt"; then
15870    break
15871  elif $ac_last_try; then
15872    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15873  else
15874    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15875  fi
15876done
15877
15878# For the awk script, D is an array of macro values keyed by name,
15879# likewise P contains macro parameters if any.  Preserve backslash
15880# newline sequences.
15881
15882ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15883sed -n '
15884s/.\{148\}/&'"$ac_delim"'/g
15885t rset
15886:rset
15887s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
15888t def
15889d
15890:def
15891s/\\$//
15892t bsnl
15893s/["\\]/\\&/g
15894s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15895D["\1"]=" \3"/p
15896s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
15897d
15898:bsnl
15899s/["\\]/\\&/g
15900s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15901D["\1"]=" \3\\\\\\n"\\/p
15902t cont
15903s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15904t cont
15905d
15906:cont
15907n
15908s/.\{148\}/&'"$ac_delim"'/g
15909t clear
15910:clear
15911s/\\$//
15912t bsnlc
15913s/["\\]/\\&/g; s/^/"/; s/$/"/p
15914d
15915:bsnlc
15916s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15917b cont
15918' <confdefs.h | sed '
15919s/'"$ac_delim"'/"\\\
15920"/g' >>$CONFIG_STATUS || ac_write_fail=1
15921
15922cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15923  for (key in D) D_is_set[key] = 1
15924  FS = ""
15925}
15926/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15927  line = \$ 0
15928  split(line, arg, " ")
15929  if (arg[1] == "#") {
15930    defundef = arg[2]
15931    mac1 = arg[3]
15932  } else {
15933    defundef = substr(arg[1], 2)
15934    mac1 = arg[2]
15935  }
15936  split(mac1, mac2, "(") #)
15937  macro = mac2[1]
15938  prefix = substr(line, 1, index(line, defundef) - 1)
15939  if (D_is_set[macro]) {
15940    # Preserve the white space surrounding the "#".
15941    print prefix "define", macro P[macro] D[macro]
15942    next
15943  } else {
15944    # Replace #undef with comments.  This is necessary, for example,
15945    # in the case of _POSIX_SOURCE, which is predefined and required
15946    # on some systems where configure will not decide to define it.
15947    if (defundef == "undef") {
15948      print "/*", prefix defundef, macro, "*/"
15949      next
15950    }
15951  }
15952}
15953{ print }
15954_ACAWK
15955_ACEOF
15956cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15957  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15958fi # test -n "$CONFIG_HEADERS"
15959
15960
15961eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15962shift
15963for ac_tag
15964do
15965  case $ac_tag in
15966  :[FHLC]) ac_mode=$ac_tag; continue;;
15967  esac
15968  case $ac_mode$ac_tag in
15969  :[FHL]*:*);;
15970  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15971  :[FH]-) ac_tag=-:-;;
15972  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15973  esac
15974  ac_save_IFS=$IFS
15975  IFS=:
15976  set x $ac_tag
15977  IFS=$ac_save_IFS
15978  shift
15979  ac_file=$1
15980  shift
15981
15982  case $ac_mode in
15983  :L) ac_source=$1;;
15984  :[FH])
15985    ac_file_inputs=
15986    for ac_f
15987    do
15988      case $ac_f in
15989      -) ac_f="$ac_tmp/stdin";;
15990      *) # Look for the file first in the build tree, then in the source tree
15991	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
15992	 # because $ac_f cannot contain `:'.
15993	 test -f "$ac_f" ||
15994	   case $ac_f in
15995	   [\\/$]*) false;;
15996	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15997	   esac ||
15998	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15999      esac
16000      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16001      as_fn_append ac_file_inputs " '$ac_f'"
16002    done
16003
16004    # Let's still pretend it is `configure' which instantiates (i.e., don't
16005    # use $as_me), people would be surprised to read:
16006    #    /* config.h.  Generated by config.status.  */
16007    configure_input='Generated from '`
16008	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16009	`' by configure.'
16010    if test x"$ac_file" != x-; then
16011      configure_input="$ac_file.  $configure_input"
16012      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16013$as_echo "$as_me: creating $ac_file" >&6;}
16014    fi
16015    # Neutralize special characters interpreted by sed in replacement strings.
16016    case $configure_input in #(
16017    *\&* | *\|* | *\\* )
16018       ac_sed_conf_input=`$as_echo "$configure_input" |
16019       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16020    *) ac_sed_conf_input=$configure_input;;
16021    esac
16022
16023    case $ac_tag in
16024    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16025      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16026    esac
16027    ;;
16028  esac
16029
16030  ac_dir=`$as_dirname -- "$ac_file" ||
16031$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16032	 X"$ac_file" : 'X\(//\)[^/]' \| \
16033	 X"$ac_file" : 'X\(//\)$' \| \
16034	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16035$as_echo X"$ac_file" |
16036    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16037	    s//\1/
16038	    q
16039	  }
16040	  /^X\(\/\/\)[^/].*/{
16041	    s//\1/
16042	    q
16043	  }
16044	  /^X\(\/\/\)$/{
16045	    s//\1/
16046	    q
16047	  }
16048	  /^X\(\/\).*/{
16049	    s//\1/
16050	    q
16051	  }
16052	  s/.*/./; q'`
16053  as_dir="$ac_dir"; as_fn_mkdir_p
16054  ac_builddir=.
16055
16056case "$ac_dir" in
16057.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16058*)
16059  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16060  # A ".." for each directory in $ac_dir_suffix.
16061  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16062  case $ac_top_builddir_sub in
16063  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16064  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16065  esac ;;
16066esac
16067ac_abs_top_builddir=$ac_pwd
16068ac_abs_builddir=$ac_pwd$ac_dir_suffix
16069# for backward compatibility:
16070ac_top_builddir=$ac_top_build_prefix
16071
16072case $srcdir in
16073  .)  # We are building in place.
16074    ac_srcdir=.
16075    ac_top_srcdir=$ac_top_builddir_sub
16076    ac_abs_top_srcdir=$ac_pwd ;;
16077  [\\/]* | ?:[\\/]* )  # Absolute name.
16078    ac_srcdir=$srcdir$ac_dir_suffix;
16079    ac_top_srcdir=$srcdir
16080    ac_abs_top_srcdir=$srcdir ;;
16081  *) # Relative name.
16082    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16083    ac_top_srcdir=$ac_top_build_prefix$srcdir
16084    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16085esac
16086ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16087
16088
16089  case $ac_mode in
16090  :F)
16091  #
16092  # CONFIG_FILE
16093  #
16094
16095  case $INSTALL in
16096  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16097  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16098  esac
16099  ac_MKDIR_P=$MKDIR_P
16100  case $MKDIR_P in
16101  [\\/$]* | ?:[\\/]* ) ;;
16102  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16103  esac
16104_ACEOF
16105
16106cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16107# If the template does not know about datarootdir, expand it.
16108# FIXME: This hack should be removed a few years after 2.60.
16109ac_datarootdir_hack=; ac_datarootdir_seen=
16110ac_sed_dataroot='
16111/datarootdir/ {
16112  p
16113  q
16114}
16115/@datadir@/p
16116/@docdir@/p
16117/@infodir@/p
16118/@localedir@/p
16119/@mandir@/p'
16120case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16121*datarootdir*) ac_datarootdir_seen=yes;;
16122*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16123  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16124$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16125_ACEOF
16126cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16127  ac_datarootdir_hack='
16128  s&@datadir@&$datadir&g
16129  s&@docdir@&$docdir&g
16130  s&@infodir@&$infodir&g
16131  s&@localedir@&$localedir&g
16132  s&@mandir@&$mandir&g
16133  s&\\\${datarootdir}&$datarootdir&g' ;;
16134esac
16135_ACEOF
16136
16137# Neutralize VPATH when `$srcdir' = `.'.
16138# Shell code in configure.ac might set extrasub.
16139# FIXME: do we really want to maintain this feature?
16140cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16141ac_sed_extra="$ac_vpsub
16142$extrasub
16143_ACEOF
16144cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16145:t
16146/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16147s|@configure_input@|$ac_sed_conf_input|;t t
16148s&@top_builddir@&$ac_top_builddir_sub&;t t
16149s&@top_build_prefix@&$ac_top_build_prefix&;t t
16150s&@srcdir@&$ac_srcdir&;t t
16151s&@abs_srcdir@&$ac_abs_srcdir&;t t
16152s&@top_srcdir@&$ac_top_srcdir&;t t
16153s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16154s&@builddir@&$ac_builddir&;t t
16155s&@abs_builddir@&$ac_abs_builddir&;t t
16156s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16157s&@INSTALL@&$ac_INSTALL&;t t
16158s&@MKDIR_P@&$ac_MKDIR_P&;t t
16159$ac_datarootdir_hack
16160"
16161eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16162  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16163
16164test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16165  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16166  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16167      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16168  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16169which seems to be undefined.  Please make sure it is defined" >&5
16170$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16171which seems to be undefined.  Please make sure it is defined" >&2;}
16172
16173  rm -f "$ac_tmp/stdin"
16174  case $ac_file in
16175  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16176  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16177  esac \
16178  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16179 ;;
16180  :H)
16181  #
16182  # CONFIG_HEADER
16183  #
16184  if test x"$ac_file" != x-; then
16185    {
16186      $as_echo "/* $configure_input  */" \
16187      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16188    } >"$ac_tmp/config.h" \
16189      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16190    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16191      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16192$as_echo "$as_me: $ac_file is unchanged" >&6;}
16193    else
16194      rm -f "$ac_file"
16195      mv "$ac_tmp/config.h" "$ac_file" \
16196	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16197    fi
16198  else
16199    $as_echo "/* $configure_input  */" \
16200      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16201      || as_fn_error $? "could not create -" "$LINENO" 5
16202  fi
16203# Compute "$ac_file"'s index in $config_headers.
16204_am_arg="$ac_file"
16205_am_stamp_count=1
16206for _am_header in $config_headers :; do
16207  case $_am_header in
16208    $_am_arg | $_am_arg:* )
16209      break ;;
16210    * )
16211      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16212  esac
16213done
16214echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16215$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16216	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16217	 X"$_am_arg" : 'X\(//\)$' \| \
16218	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16219$as_echo X"$_am_arg" |
16220    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16221	    s//\1/
16222	    q
16223	  }
16224	  /^X\(\/\/\)[^/].*/{
16225	    s//\1/
16226	    q
16227	  }
16228	  /^X\(\/\/\)$/{
16229	    s//\1/
16230	    q
16231	  }
16232	  /^X\(\/\).*/{
16233	    s//\1/
16234	    q
16235	  }
16236	  s/.*/./; q'`/stamp-h$_am_stamp_count
16237 ;;
16238
16239  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16240$as_echo "$as_me: executing $ac_file commands" >&6;}
16241 ;;
16242  esac
16243
16244
16245  case $ac_file$ac_mode in
16246    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16247  # Autoconf 2.62 quotes --file arguments for eval, but not when files
16248  # are listed without --file.  Let's play safe and only enable the eval
16249  # if we detect the quoting.
16250  case $CONFIG_FILES in
16251  *\'*) eval set x "$CONFIG_FILES" ;;
16252  *)   set x $CONFIG_FILES ;;
16253  esac
16254  shift
16255  for mf
16256  do
16257    # Strip MF so we end up with the name of the file.
16258    mf=`echo "$mf" | sed -e 's/:.*$//'`
16259    # Check whether this is an Automake generated Makefile or not.
16260    # We used to match only the files named `Makefile.in', but
16261    # some people rename them; so instead we look at the file content.
16262    # Grep'ing the first line is not enough: some people post-process
16263    # each Makefile.in and add a new line on top of each file to say so.
16264    # Grep'ing the whole file is not good either: AIX grep has a line
16265    # limit of 2048, but all sed's we know have understand at least 4000.
16266    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16267      dirpart=`$as_dirname -- "$mf" ||
16268$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16269	 X"$mf" : 'X\(//\)[^/]' \| \
16270	 X"$mf" : 'X\(//\)$' \| \
16271	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16272$as_echo X"$mf" |
16273    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16274	    s//\1/
16275	    q
16276	  }
16277	  /^X\(\/\/\)[^/].*/{
16278	    s//\1/
16279	    q
16280	  }
16281	  /^X\(\/\/\)$/{
16282	    s//\1/
16283	    q
16284	  }
16285	  /^X\(\/\).*/{
16286	    s//\1/
16287	    q
16288	  }
16289	  s/.*/./; q'`
16290    else
16291      continue
16292    fi
16293    # Extract the definition of DEPDIR, am__include, and am__quote
16294    # from the Makefile without running `make'.
16295    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16296    test -z "$DEPDIR" && continue
16297    am__include=`sed -n 's/^am__include = //p' < "$mf"`
16298    test -z "am__include" && continue
16299    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16300    # When using ansi2knr, U may be empty or an underscore; expand it
16301    U=`sed -n 's/^U = //p' < "$mf"`
16302    # Find all dependency output files, they are included files with
16303    # $(DEPDIR) in their names.  We invoke sed twice because it is the
16304    # simplest approach to changing $(DEPDIR) to its actual value in the
16305    # expansion.
16306    for file in `sed -n "
16307      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16308	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16309      # Make sure the directory exists.
16310      test -f "$dirpart/$file" && continue
16311      fdir=`$as_dirname -- "$file" ||
16312$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16313	 X"$file" : 'X\(//\)[^/]' \| \
16314	 X"$file" : 'X\(//\)$' \| \
16315	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16316$as_echo X"$file" |
16317    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16318	    s//\1/
16319	    q
16320	  }
16321	  /^X\(\/\/\)[^/].*/{
16322	    s//\1/
16323	    q
16324	  }
16325	  /^X\(\/\/\)$/{
16326	    s//\1/
16327	    q
16328	  }
16329	  /^X\(\/\).*/{
16330	    s//\1/
16331	    q
16332	  }
16333	  s/.*/./; q'`
16334      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16335      # echo "creating $dirpart/$file"
16336      echo '# dummy' > "$dirpart/$file"
16337    done
16338  done
16339}
16340 ;;
16341    "libtool":C)
16342
16343    # See if we are running on zsh, and set the options which allow our
16344    # commands through without removal of \ escapes.
16345    if test -n "${ZSH_VERSION+set}" ; then
16346      setopt NO_GLOB_SUBST
16347    fi
16348
16349    cfgfile="${ofile}T"
16350    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16351    $RM "$cfgfile"
16352
16353    cat <<_LT_EOF >> "$cfgfile"
16354#! $SHELL
16355
16356# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16357# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16358# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16359# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16360#
16361#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16362#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16363#                 Inc.
16364#   Written by Gordon Matzigkeit, 1996
16365#
16366#   This file is part of GNU Libtool.
16367#
16368# GNU Libtool is free software; you can redistribute it and/or
16369# modify it under the terms of the GNU General Public License as
16370# published by the Free Software Foundation; either version 2 of
16371# the License, or (at your option) any later version.
16372#
16373# As a special exception to the GNU General Public License,
16374# if you distribute this file as part of a program or library that
16375# is built using GNU Libtool, you may include this file under the
16376# same distribution terms that you use for the rest of that program.
16377#
16378# GNU Libtool is distributed in the hope that it will be useful,
16379# but WITHOUT ANY WARRANTY; without even the implied warranty of
16380# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16381# GNU General Public License for more details.
16382#
16383# You should have received a copy of the GNU General Public License
16384# along with GNU Libtool; see the file COPYING.  If not, a copy
16385# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16386# obtained by writing to the Free Software Foundation, Inc.,
16387# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16388
16389
16390# The names of the tagged configurations supported by this script.
16391available_tags=""
16392
16393# ### BEGIN LIBTOOL CONFIG
16394
16395# Assembler program.
16396AS=$lt_AS
16397
16398# DLL creation program.
16399DLLTOOL=$lt_DLLTOOL
16400
16401# Object dumper program.
16402OBJDUMP=$lt_OBJDUMP
16403
16404# Which release of libtool.m4 was used?
16405macro_version=$macro_version
16406macro_revision=$macro_revision
16407
16408# Whether or not to build shared libraries.
16409build_libtool_libs=$enable_shared
16410
16411# Whether or not to build static libraries.
16412build_old_libs=$enable_static
16413
16414# What type of objects to build.
16415pic_mode=$pic_mode
16416
16417# Whether or not to optimize for fast installation.
16418fast_install=$enable_fast_install
16419
16420# Shell to use when invoking shell scripts.
16421SHELL=$lt_SHELL
16422
16423# An echo program that protects backslashes.
16424ECHO=$lt_ECHO
16425
16426# The host system.
16427host_alias=$host_alias
16428host=$host
16429host_os=$host_os
16430
16431# The build system.
16432build_alias=$build_alias
16433build=$build
16434build_os=$build_os
16435
16436# A sed program that does not truncate output.
16437SED=$lt_SED
16438
16439# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16440Xsed="\$SED -e 1s/^X//"
16441
16442# A grep program that handles long lines.
16443GREP=$lt_GREP
16444
16445# An ERE matcher.
16446EGREP=$lt_EGREP
16447
16448# A literal string matcher.
16449FGREP=$lt_FGREP
16450
16451# A BSD- or MS-compatible name lister.
16452NM=$lt_NM
16453
16454# Whether we need soft or hard links.
16455LN_S=$lt_LN_S
16456
16457# What is the maximum length of a command?
16458max_cmd_len=$max_cmd_len
16459
16460# Object file suffix (normally "o").
16461objext=$ac_objext
16462
16463# Executable file suffix (normally "").
16464exeext=$exeext
16465
16466# whether the shell understands "unset".
16467lt_unset=$lt_unset
16468
16469# turn spaces into newlines.
16470SP2NL=$lt_lt_SP2NL
16471
16472# turn newlines into spaces.
16473NL2SP=$lt_lt_NL2SP
16474
16475# convert \$build file names to \$host format.
16476to_host_file_cmd=$lt_cv_to_host_file_cmd
16477
16478# convert \$build files to toolchain format.
16479to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16480
16481# Method to check whether dependent libraries are shared objects.
16482deplibs_check_method=$lt_deplibs_check_method
16483
16484# Command to use when deplibs_check_method = "file_magic".
16485file_magic_cmd=$lt_file_magic_cmd
16486
16487# How to find potential files when deplibs_check_method = "file_magic".
16488file_magic_glob=$lt_file_magic_glob
16489
16490# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16491want_nocaseglob=$lt_want_nocaseglob
16492
16493# Command to associate shared and link libraries.
16494sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16495
16496# The archiver.
16497AR=$lt_AR
16498
16499# Flags to create an archive.
16500AR_FLAGS=$lt_AR_FLAGS
16501
16502# How to feed a file listing to the archiver.
16503archiver_list_spec=$lt_archiver_list_spec
16504
16505# A symbol stripping program.
16506STRIP=$lt_STRIP
16507
16508# Commands used to install an old-style archive.
16509RANLIB=$lt_RANLIB
16510old_postinstall_cmds=$lt_old_postinstall_cmds
16511old_postuninstall_cmds=$lt_old_postuninstall_cmds
16512
16513# Whether to use a lock for old archive extraction.
16514lock_old_archive_extraction=$lock_old_archive_extraction
16515
16516# A C compiler.
16517LTCC=$lt_CC
16518
16519# LTCC compiler flags.
16520LTCFLAGS=$lt_CFLAGS
16521
16522# Take the output of nm and produce a listing of raw symbols and C names.
16523global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16524
16525# Transform the output of nm in a proper C declaration.
16526global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16527
16528# Transform the output of nm in a C name address pair.
16529global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16530
16531# Transform the output of nm in a C name address pair when lib prefix is needed.
16532global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16533
16534# Specify filename containing input files for \$NM.
16535nm_file_list_spec=$lt_nm_file_list_spec
16536
16537# The root where to search for dependent libraries,and in which our libraries should be installed.
16538lt_sysroot=$lt_sysroot
16539
16540# The name of the directory that contains temporary libtool files.
16541objdir=$objdir
16542
16543# Used to examine libraries when file_magic_cmd begins with "file".
16544MAGIC_CMD=$MAGIC_CMD
16545
16546# Must we lock files when doing compilation?
16547need_locks=$lt_need_locks
16548
16549# Manifest tool.
16550MANIFEST_TOOL=$lt_MANIFEST_TOOL
16551
16552# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16553DSYMUTIL=$lt_DSYMUTIL
16554
16555# Tool to change global to local symbols on Mac OS X.
16556NMEDIT=$lt_NMEDIT
16557
16558# Tool to manipulate fat objects and archives on Mac OS X.
16559LIPO=$lt_LIPO
16560
16561# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16562OTOOL=$lt_OTOOL
16563
16564# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16565OTOOL64=$lt_OTOOL64
16566
16567# Old archive suffix (normally "a").
16568libext=$libext
16569
16570# Shared library suffix (normally ".so").
16571shrext_cmds=$lt_shrext_cmds
16572
16573# The commands to extract the exported symbol list from a shared archive.
16574extract_expsyms_cmds=$lt_extract_expsyms_cmds
16575
16576# Variables whose values should be saved in libtool wrapper scripts and
16577# restored at link time.
16578variables_saved_for_relink=$lt_variables_saved_for_relink
16579
16580# Do we need the "lib" prefix for modules?
16581need_lib_prefix=$need_lib_prefix
16582
16583# Do we need a version for libraries?
16584need_version=$need_version
16585
16586# Library versioning type.
16587version_type=$version_type
16588
16589# Shared library runtime path variable.
16590runpath_var=$runpath_var
16591
16592# Shared library path variable.
16593shlibpath_var=$shlibpath_var
16594
16595# Is shlibpath searched before the hard-coded library search path?
16596shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16597
16598# Format of library name prefix.
16599libname_spec=$lt_libname_spec
16600
16601# List of archive names.  First name is the real one, the rest are links.
16602# The last name is the one that the linker finds with -lNAME
16603library_names_spec=$lt_library_names_spec
16604
16605# The coded name of the library, if different from the real name.
16606soname_spec=$lt_soname_spec
16607
16608# Permission mode override for installation of shared libraries.
16609install_override_mode=$lt_install_override_mode
16610
16611# Command to use after installation of a shared archive.
16612postinstall_cmds=$lt_postinstall_cmds
16613
16614# Command to use after uninstallation of a shared archive.
16615postuninstall_cmds=$lt_postuninstall_cmds
16616
16617# Commands used to finish a libtool library installation in a directory.
16618finish_cmds=$lt_finish_cmds
16619
16620# As "finish_cmds", except a single script fragment to be evaled but
16621# not shown.
16622finish_eval=$lt_finish_eval
16623
16624# Whether we should hardcode library paths into libraries.
16625hardcode_into_libs=$hardcode_into_libs
16626
16627# Compile-time system search path for libraries.
16628sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16629
16630# Run-time system search path for libraries.
16631sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16632
16633# Whether dlopen is supported.
16634dlopen_support=$enable_dlopen
16635
16636# Whether dlopen of programs is supported.
16637dlopen_self=$enable_dlopen_self
16638
16639# Whether dlopen of statically linked programs is supported.
16640dlopen_self_static=$enable_dlopen_self_static
16641
16642# Commands to strip libraries.
16643old_striplib=$lt_old_striplib
16644striplib=$lt_striplib
16645
16646
16647# The linker used to build libraries.
16648LD=$lt_LD
16649
16650# How to create reloadable object files.
16651reload_flag=$lt_reload_flag
16652reload_cmds=$lt_reload_cmds
16653
16654# Commands used to build an old-style archive.
16655old_archive_cmds=$lt_old_archive_cmds
16656
16657# A language specific compiler.
16658CC=$lt_compiler
16659
16660# Is the compiler the GNU compiler?
16661with_gcc=$GCC
16662
16663# Compiler flag to turn off builtin functions.
16664no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16665
16666# Additional compiler flags for building library objects.
16667pic_flag=$lt_lt_prog_compiler_pic
16668
16669# How to pass a linker flag through the compiler.
16670wl=$lt_lt_prog_compiler_wl
16671
16672# Compiler flag to prevent dynamic linking.
16673link_static_flag=$lt_lt_prog_compiler_static
16674
16675# Does compiler simultaneously support -c and -o options?
16676compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16677
16678# Whether or not to add -lc for building shared libraries.
16679build_libtool_need_lc=$archive_cmds_need_lc
16680
16681# Whether or not to disallow shared libs when runtime libs are static.
16682allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16683
16684# Compiler flag to allow reflexive dlopens.
16685export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16686
16687# Compiler flag to generate shared objects directly from archives.
16688whole_archive_flag_spec=$lt_whole_archive_flag_spec
16689
16690# Whether the compiler copes with passing no objects directly.
16691compiler_needs_object=$lt_compiler_needs_object
16692
16693# Create an old-style archive from a shared archive.
16694old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16695
16696# Create a temporary old-style archive to link instead of a shared archive.
16697old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16698
16699# Commands used to build a shared archive.
16700archive_cmds=$lt_archive_cmds
16701archive_expsym_cmds=$lt_archive_expsym_cmds
16702
16703# Commands used to build a loadable module if different from building
16704# a shared archive.
16705module_cmds=$lt_module_cmds
16706module_expsym_cmds=$lt_module_expsym_cmds
16707
16708# Whether we are building with GNU ld or not.
16709with_gnu_ld=$lt_with_gnu_ld
16710
16711# Flag that allows shared libraries with undefined symbols to be built.
16712allow_undefined_flag=$lt_allow_undefined_flag
16713
16714# Flag that enforces no undefined symbols.
16715no_undefined_flag=$lt_no_undefined_flag
16716
16717# Flag to hardcode \$libdir into a binary during linking.
16718# This must work even if \$libdir does not exist
16719hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16720
16721# If ld is used when linking, flag to hardcode \$libdir into a binary
16722# during linking.  This must work even if \$libdir does not exist.
16723hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16724
16725# Whether we need a single "-rpath" flag with a separated argument.
16726hardcode_libdir_separator=$lt_hardcode_libdir_separator
16727
16728# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16729# DIR into the resulting binary.
16730hardcode_direct=$hardcode_direct
16731
16732# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16733# DIR into the resulting binary and the resulting library dependency is
16734# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16735# library is relocated.
16736hardcode_direct_absolute=$hardcode_direct_absolute
16737
16738# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16739# into the resulting binary.
16740hardcode_minus_L=$hardcode_minus_L
16741
16742# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16743# into the resulting binary.
16744hardcode_shlibpath_var=$hardcode_shlibpath_var
16745
16746# Set to "yes" if building a shared library automatically hardcodes DIR
16747# into the library and all subsequent libraries and executables linked
16748# against it.
16749hardcode_automatic=$hardcode_automatic
16750
16751# Set to yes if linker adds runtime paths of dependent libraries
16752# to runtime path list.
16753inherit_rpath=$inherit_rpath
16754
16755# Whether libtool must link a program against all its dependency libraries.
16756link_all_deplibs=$link_all_deplibs
16757
16758# Set to "yes" if exported symbols are required.
16759always_export_symbols=$always_export_symbols
16760
16761# The commands to list exported symbols.
16762export_symbols_cmds=$lt_export_symbols_cmds
16763
16764# Symbols that should not be listed in the preloaded symbols.
16765exclude_expsyms=$lt_exclude_expsyms
16766
16767# Symbols that must always be exported.
16768include_expsyms=$lt_include_expsyms
16769
16770# Commands necessary for linking programs (against libraries) with templates.
16771prelink_cmds=$lt_prelink_cmds
16772
16773# Commands necessary for finishing linking programs.
16774postlink_cmds=$lt_postlink_cmds
16775
16776# Specify filename containing input files.
16777file_list_spec=$lt_file_list_spec
16778
16779# How to hardcode a shared library path into an executable.
16780hardcode_action=$hardcode_action
16781
16782# ### END LIBTOOL CONFIG
16783
16784_LT_EOF
16785
16786  case $host_os in
16787  aix3*)
16788    cat <<\_LT_EOF >> "$cfgfile"
16789# AIX sometimes has problems with the GCC collect2 program.  For some
16790# reason, if we set the COLLECT_NAMES environment variable, the problems
16791# vanish in a puff of smoke.
16792if test "X${COLLECT_NAMES+set}" != Xset; then
16793  COLLECT_NAMES=
16794  export COLLECT_NAMES
16795fi
16796_LT_EOF
16797    ;;
16798  esac
16799
16800
16801ltmain="$ac_aux_dir/ltmain.sh"
16802
16803
16804  # We use sed instead of cat because bash on DJGPP gets confused if
16805  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16806  # text mode, it properly converts lines to CR/LF.  This bash problem
16807  # is reportedly fixed, but why not run on old versions too?
16808  sed '$q' "$ltmain" >> "$cfgfile" \
16809     || (rm -f "$cfgfile"; exit 1)
16810
16811  if test x"$xsi_shell" = xyes; then
16812  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16813func_dirname ()\
16814{\
16815\    case ${1} in\
16816\      */*) func_dirname_result="${1%/*}${2}" ;;\
16817\      *  ) func_dirname_result="${3}" ;;\
16818\    esac\
16819} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16820  && mv -f "$cfgfile.tmp" "$cfgfile" \
16821    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16822test 0 -eq $? || _lt_function_replace_fail=:
16823
16824
16825  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16826func_basename ()\
16827{\
16828\    func_basename_result="${1##*/}"\
16829} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16830  && mv -f "$cfgfile.tmp" "$cfgfile" \
16831    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16832test 0 -eq $? || _lt_function_replace_fail=:
16833
16834
16835  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16836func_dirname_and_basename ()\
16837{\
16838\    case ${1} in\
16839\      */*) func_dirname_result="${1%/*}${2}" ;;\
16840\      *  ) func_dirname_result="${3}" ;;\
16841\    esac\
16842\    func_basename_result="${1##*/}"\
16843} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16844  && mv -f "$cfgfile.tmp" "$cfgfile" \
16845    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16846test 0 -eq $? || _lt_function_replace_fail=:
16847
16848
16849  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16850func_stripname ()\
16851{\
16852\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16853\    # positional parameters, so assign one to ordinary parameter first.\
16854\    func_stripname_result=${3}\
16855\    func_stripname_result=${func_stripname_result#"${1}"}\
16856\    func_stripname_result=${func_stripname_result%"${2}"}\
16857} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16858  && mv -f "$cfgfile.tmp" "$cfgfile" \
16859    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16860test 0 -eq $? || _lt_function_replace_fail=:
16861
16862
16863  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16864func_split_long_opt ()\
16865{\
16866\    func_split_long_opt_name=${1%%=*}\
16867\    func_split_long_opt_arg=${1#*=}\
16868} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16869  && mv -f "$cfgfile.tmp" "$cfgfile" \
16870    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16871test 0 -eq $? || _lt_function_replace_fail=:
16872
16873
16874  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16875func_split_short_opt ()\
16876{\
16877\    func_split_short_opt_arg=${1#??}\
16878\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16879} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16880  && mv -f "$cfgfile.tmp" "$cfgfile" \
16881    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16882test 0 -eq $? || _lt_function_replace_fail=:
16883
16884
16885  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16886func_lo2o ()\
16887{\
16888\    case ${1} in\
16889\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16890\      *)    func_lo2o_result=${1} ;;\
16891\    esac\
16892} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16893  && mv -f "$cfgfile.tmp" "$cfgfile" \
16894    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16895test 0 -eq $? || _lt_function_replace_fail=:
16896
16897
16898  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16899func_xform ()\
16900{\
16901    func_xform_result=${1%.*}.lo\
16902} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16903  && mv -f "$cfgfile.tmp" "$cfgfile" \
16904    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16905test 0 -eq $? || _lt_function_replace_fail=:
16906
16907
16908  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16909func_arith ()\
16910{\
16911    func_arith_result=$(( $* ))\
16912} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16913  && mv -f "$cfgfile.tmp" "$cfgfile" \
16914    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16915test 0 -eq $? || _lt_function_replace_fail=:
16916
16917
16918  sed -e '/^func_len ()$/,/^} # func_len /c\
16919func_len ()\
16920{\
16921    func_len_result=${#1}\
16922} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16923  && mv -f "$cfgfile.tmp" "$cfgfile" \
16924    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16925test 0 -eq $? || _lt_function_replace_fail=:
16926
16927fi
16928
16929if test x"$lt_shell_append" = xyes; then
16930  sed -e '/^func_append ()$/,/^} # func_append /c\
16931func_append ()\
16932{\
16933    eval "${1}+=\\${2}"\
16934} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16935  && mv -f "$cfgfile.tmp" "$cfgfile" \
16936    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16937test 0 -eq $? || _lt_function_replace_fail=:
16938
16939
16940  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16941func_append_quoted ()\
16942{\
16943\    func_quote_for_eval "${2}"\
16944\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16945} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16946  && mv -f "$cfgfile.tmp" "$cfgfile" \
16947    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16948test 0 -eq $? || _lt_function_replace_fail=:
16949
16950
16951  # Save a `func_append' function call where possible by direct use of '+='
16952  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16953    && mv -f "$cfgfile.tmp" "$cfgfile" \
16954      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16955  test 0 -eq $? || _lt_function_replace_fail=:
16956else
16957  # Save a `func_append' function call even when '+=' is not available
16958  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16959    && mv -f "$cfgfile.tmp" "$cfgfile" \
16960      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16961  test 0 -eq $? || _lt_function_replace_fail=:
16962fi
16963
16964if test x"$_lt_function_replace_fail" = x":"; then
16965  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16966$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16967fi
16968
16969
16970   mv -f "$cfgfile" "$ofile" ||
16971    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16972  chmod +x "$ofile"
16973
16974 ;;
16975    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
16976        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16977      esac ;;
16978    "po/stamp-it":C)
16979    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16980       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16981    fi
16982    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16983    >"po/stamp-it.tmp"
16984    sed '/^#/d
16985	 s/^[[].*] *//
16986	 /^[ 	]*$/d
16987	'"s|^|	$ac_top_srcdir/|" \
16988      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16989
16990    sed '/^POTFILES =/,/[^\\]$/ {
16991		/^POTFILES =/!d
16992		r po/POTFILES
16993	  }
16994	 ' "po/Makefile.in" >"po/Makefile"
16995    rm -f "po/Makefile.tmp"
16996    mv "po/stamp-it.tmp" "po/stamp-it"
16997   ;;
16998
16999  esac
17000done # for ac_tag
17001
17002
17003as_fn_exit 0
17004_ACEOF
17005ac_clean_files=$ac_clean_files_save
17006
17007test $ac_write_fail = 0 ||
17008  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17009
17010
17011# configure is writing to config.log, and then calls config.status.
17012# config.status does its own redirection, appending to config.log.
17013# Unfortunately, on DOS this fails, as config.log is still kept open
17014# by configure, so config.status won't be able to write to it; its
17015# output is simply discarded.  So we exec the FD to /dev/null,
17016# effectively closing config.log, so it can be properly (re)opened and
17017# appended to by config.status.  When coming back to configure, we
17018# need to make the FD available again.
17019if test "$no_create" != yes; then
17020  ac_cs_success=:
17021  ac_config_status_args=
17022  test "$silent" = yes &&
17023    ac_config_status_args="$ac_config_status_args --quiet"
17024  exec 5>/dev/null
17025  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17026  exec 5>>config.log
17027  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17028  # would make configure fail if this is the last instruction.
17029  $ac_cs_success || as_fn_exit 1
17030fi
17031if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17032  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17033$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17034fi
17035
17036
17037echo "
17038Configure summary:
17039
17040	Compiler....................: ${CC}
17041	Compiler Flags..............: ${CFLAGS}
17042	Prefix .....................: ${prefix}
17043
17044	Glade support...............: ${enable_glade}
17045	Rebuilds....................: ${enable_rebuilds}
17046	Win32.......................: ${platform_win32}
17047"
17048