1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for GConf Editor 3.0.1.
4#
5# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor>.
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=gconf-editor
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='GConf Editor'
573PACKAGE_TARNAME='gconf-editor'
574PACKAGE_VERSION='3.0.1'
575PACKAGE_STRING='GConf Editor 3.0.1'
576PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor'
577PACKAGE_URL=''
578
579ac_unique_file="src/main.c"
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
620WARN_CFLAGS
621ACLOCAL_AMFLAGS
622MKINSTALLDIRS
623POSUB
624POFILES
625PO_IN_DATADIR_FALSE
626PO_IN_DATADIR_TRUE
627INTLLIBS
628INSTOBJEXT
629GMOFILES
630CATOBJEXT
631CATALOGS
632MSGFMT_OPTS
633GETTEXT_PACKAGE
634GLIB_GENMARSHAL
635GCONF_EDITOR_LIBS
636GCONF_EDITOR_CFLAGS
637HAVE_GNOME_DOC_UTILS_FALSE
638HAVE_GNOME_DOC_UTILS_TRUE
639DISTCHECK_CONFIGURE_FLAGS
640ENABLE_SK_FALSE
641ENABLE_SK_TRUE
642DOC_USER_FORMATS
643OMF_DIR
644HELP_DIR
645PKG_CONFIG_LIBDIR
646PKG_CONFIG_PATH
647PKG_CONFIG
648GCONF_SCHEMAS_INSTALL_FALSE
649GCONF_SCHEMAS_INSTALL_TRUE
650GCONF_SCHEMA_FILE_DIR
651GCONF_SCHEMA_CONFIG_SOURCE
652GCONFTOOL
653OTOOL64
654OTOOL
655LIPO
656NMEDIT
657DSYMUTIL
658MANIFEST_TOOL
659RANLIB
660ac_ct_AR
661AR
662DLLTOOL
663OBJDUMP
664LN_S
665NM
666ac_ct_DUMPBIN
667DUMPBIN
668LD
669FGREP
670SED
671host_os
672host_vendor
673host_cpu
674host
675build_os
676build_vendor
677build_cpu
678build
679LIBTOOL
680EGREP
681GREP
682CPP
683DATADIRNAME
684am__fastdepCC_FALSE
685am__fastdepCC_TRUE
686CCDEPMODE
687AMDEPBACKSLASH
688AMDEP_FALSE
689AMDEP_TRUE
690am__quote
691am__include
692DEPDIR
693OBJEXT
694EXEEXT
695ac_ct_CC
696CPPFLAGS
697LDFLAGS
698CFLAGS
699CC
700ALL_LINGUAS
701INTLTOOL_PERL
702GMSGFMT
703MSGFMT
704MSGMERGE
705XGETTEXT
706INTLTOOL_POLICY_RULE
707INTLTOOL_SERVICE_RULE
708INTLTOOL_THEME_RULE
709INTLTOOL_SCHEMAS_RULE
710INTLTOOL_CAVES_RULE
711INTLTOOL_XML_NOMERGE_RULE
712INTLTOOL_XML_RULE
713INTLTOOL_KBD_RULE
714INTLTOOL_XAM_RULE
715INTLTOOL_UI_RULE
716INTLTOOL_SOUNDLIST_RULE
717INTLTOOL_SHEET_RULE
718INTLTOOL_SERVER_RULE
719INTLTOOL_PONG_RULE
720INTLTOOL_OAF_RULE
721INTLTOOL_PROP_RULE
722INTLTOOL_KEYS_RULE
723INTLTOOL_DIRECTORY_RULE
724INTLTOOL_DESKTOP_RULE
725INTLTOOL_EXTRACT
726INTLTOOL_MERGE
727INTLTOOL_UPDATE
728USE_NLS
729MAINT
730MAINTAINER_MODE_FALSE
731MAINTAINER_MODE_TRUE
732AM_BACKSLASH
733AM_DEFAULT_VERBOSITY
734am__untar
735am__tar
736AMTAR
737am__leading_dot
738SET_MAKE
739AWK
740mkdir_p
741MKDIR_P
742INSTALL_STRIP_PROGRAM
743STRIP
744install_sh
745MAKEINFO
746AUTOHEADER
747AUTOMAKE
748AUTOCONF
749ACLOCAL
750VERSION
751PACKAGE
752CYGPATH_W
753am__isrc
754INSTALL_DATA
755INSTALL_SCRIPT
756INSTALL_PROGRAM
757target_alias
758host_alias
759build_alias
760LIBS
761ECHO_T
762ECHO_N
763ECHO_C
764DEFS
765mandir
766localedir
767libdir
768psdir
769pdfdir
770dvidir
771htmldir
772infodir
773docdir
774oldincludedir
775includedir
776localstatedir
777sharedstatedir
778sysconfdir
779datadir
780datarootdir
781libexecdir
782sbindir
783bindir
784program_transform_name
785prefix
786exec_prefix
787PACKAGE_URL
788PACKAGE_BUGREPORT
789PACKAGE_STRING
790PACKAGE_VERSION
791PACKAGE_TARNAME
792PACKAGE_NAME
793PATH_SEPARATOR
794SHELL'
795ac_subst_files=''
796ac_user_opts='
797enable_option_checking
798enable_silent_rules
799enable_maintainer_mode
800enable_nls
801enable_dependency_tracking
802enable_shared
803enable_static
804with_pic
805enable_fast_install
806with_gnu_ld
807with_sysroot
808enable_libtool_lock
809with_gconf_source
810with_gconf_schema_file_dir
811enable_schemas_install
812with_help_dir
813with_omf_dir
814with_help_formats
815enable_scrollkeeper
816enable_compile_warnings
817enable_iso_c
818with_gconf_defaults_source
819with_gconf_mandatory_source
820'
821      ac_precious_vars='build_alias
822host_alias
823target_alias
824CC
825CFLAGS
826LDFLAGS
827LIBS
828CPPFLAGS
829CPP
830PKG_CONFIG
831PKG_CONFIG_PATH
832PKG_CONFIG_LIBDIR
833GCONF_EDITOR_CFLAGS
834GCONF_EDITOR_LIBS'
835
836
837# Initialize some variables set by options.
838ac_init_help=
839ac_init_version=false
840ac_unrecognized_opts=
841ac_unrecognized_sep=
842# The variables have the same names as the options, with
843# dashes changed to underlines.
844cache_file=/dev/null
845exec_prefix=NONE
846no_create=
847no_recursion=
848prefix=NONE
849program_prefix=NONE
850program_suffix=NONE
851program_transform_name=s,x,x,
852silent=
853site=
854srcdir=
855verbose=
856x_includes=NONE
857x_libraries=NONE
858
859# Installation directory options.
860# These are left unexpanded so users can "make install exec_prefix=/foo"
861# and all the variables that are supposed to be based on exec_prefix
862# by default will actually change.
863# Use braces instead of parens because sh, perl, etc. also accept them.
864# (The list follows the same order as the GNU Coding Standards.)
865bindir='${exec_prefix}/bin'
866sbindir='${exec_prefix}/sbin'
867libexecdir='${exec_prefix}/libexec'
868datarootdir='${prefix}/share'
869datadir='${datarootdir}'
870sysconfdir='${prefix}/etc'
871sharedstatedir='${prefix}/com'
872localstatedir='${prefix}/var'
873includedir='${prefix}/include'
874oldincludedir='/usr/include'
875docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
876infodir='${datarootdir}/info'
877htmldir='${docdir}'
878dvidir='${docdir}'
879pdfdir='${docdir}'
880psdir='${docdir}'
881libdir='${exec_prefix}/lib'
882localedir='${datarootdir}/locale'
883mandir='${datarootdir}/man'
884
885ac_prev=
886ac_dashdash=
887for ac_option
888do
889  # If the previous option needs an argument, assign it.
890  if test -n "$ac_prev"; then
891    eval $ac_prev=\$ac_option
892    ac_prev=
893    continue
894  fi
895
896  case $ac_option in
897  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
898  *=)   ac_optarg= ;;
899  *)    ac_optarg=yes ;;
900  esac
901
902  # Accept the important Cygnus configure options, so we can diagnose typos.
903
904  case $ac_dashdash$ac_option in
905  --)
906    ac_dashdash=yes ;;
907
908  -bindir | --bindir | --bindi | --bind | --bin | --bi)
909    ac_prev=bindir ;;
910  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
911    bindir=$ac_optarg ;;
912
913  -build | --build | --buil | --bui | --bu)
914    ac_prev=build_alias ;;
915  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
916    build_alias=$ac_optarg ;;
917
918  -cache-file | --cache-file | --cache-fil | --cache-fi \
919  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
920    ac_prev=cache_file ;;
921  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
922  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
923    cache_file=$ac_optarg ;;
924
925  --config-cache | -C)
926    cache_file=config.cache ;;
927
928  -datadir | --datadir | --datadi | --datad)
929    ac_prev=datadir ;;
930  -datadir=* | --datadir=* | --datadi=* | --datad=*)
931    datadir=$ac_optarg ;;
932
933  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
934  | --dataroo | --dataro | --datar)
935    ac_prev=datarootdir ;;
936  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
937  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
938    datarootdir=$ac_optarg ;;
939
940  -disable-* | --disable-*)
941    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942    # Reject names that are not valid shell variable names.
943    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
944      as_fn_error $? "invalid feature name: $ac_useropt"
945    ac_useropt_orig=$ac_useropt
946    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947    case $ac_user_opts in
948      *"
949"enable_$ac_useropt"
950"*) ;;
951      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952	 ac_unrecognized_sep=', ';;
953    esac
954    eval enable_$ac_useropt=no ;;
955
956  -docdir | --docdir | --docdi | --doc | --do)
957    ac_prev=docdir ;;
958  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
959    docdir=$ac_optarg ;;
960
961  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
962    ac_prev=dvidir ;;
963  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
964    dvidir=$ac_optarg ;;
965
966  -enable-* | --enable-*)
967    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968    # Reject names that are not valid shell variable names.
969    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970      as_fn_error $? "invalid feature name: $ac_useropt"
971    ac_useropt_orig=$ac_useropt
972    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973    case $ac_user_opts in
974      *"
975"enable_$ac_useropt"
976"*) ;;
977      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978	 ac_unrecognized_sep=', ';;
979    esac
980    eval enable_$ac_useropt=\$ac_optarg ;;
981
982  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
983  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
984  | --exec | --exe | --ex)
985    ac_prev=exec_prefix ;;
986  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
987  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
988  | --exec=* | --exe=* | --ex=*)
989    exec_prefix=$ac_optarg ;;
990
991  -gas | --gas | --ga | --g)
992    # Obsolete; use --with-gas.
993    with_gas=yes ;;
994
995  -help | --help | --hel | --he | -h)
996    ac_init_help=long ;;
997  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
998    ac_init_help=recursive ;;
999  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1000    ac_init_help=short ;;
1001
1002  -host | --host | --hos | --ho)
1003    ac_prev=host_alias ;;
1004  -host=* | --host=* | --hos=* | --ho=*)
1005    host_alias=$ac_optarg ;;
1006
1007  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1008    ac_prev=htmldir ;;
1009  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1010  | --ht=*)
1011    htmldir=$ac_optarg ;;
1012
1013  -includedir | --includedir | --includedi | --included | --include \
1014  | --includ | --inclu | --incl | --inc)
1015    ac_prev=includedir ;;
1016  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1017  | --includ=* | --inclu=* | --incl=* | --inc=*)
1018    includedir=$ac_optarg ;;
1019
1020  -infodir | --infodir | --infodi | --infod | --info | --inf)
1021    ac_prev=infodir ;;
1022  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1023    infodir=$ac_optarg ;;
1024
1025  -libdir | --libdir | --libdi | --libd)
1026    ac_prev=libdir ;;
1027  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1028    libdir=$ac_optarg ;;
1029
1030  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1031  | --libexe | --libex | --libe)
1032    ac_prev=libexecdir ;;
1033  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1034  | --libexe=* | --libex=* | --libe=*)
1035    libexecdir=$ac_optarg ;;
1036
1037  -localedir | --localedir | --localedi | --localed | --locale)
1038    ac_prev=localedir ;;
1039  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1040    localedir=$ac_optarg ;;
1041
1042  -localstatedir | --localstatedir | --localstatedi | --localstated \
1043  | --localstate | --localstat | --localsta | --localst | --locals)
1044    ac_prev=localstatedir ;;
1045  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1046  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1047    localstatedir=$ac_optarg ;;
1048
1049  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1050    ac_prev=mandir ;;
1051  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1052    mandir=$ac_optarg ;;
1053
1054  -nfp | --nfp | --nf)
1055    # Obsolete; use --without-fp.
1056    with_fp=no ;;
1057
1058  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1059  | --no-cr | --no-c | -n)
1060    no_create=yes ;;
1061
1062  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1063  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1064    no_recursion=yes ;;
1065
1066  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1067  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1068  | --oldin | --oldi | --old | --ol | --o)
1069    ac_prev=oldincludedir ;;
1070  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1071  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1072  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1073    oldincludedir=$ac_optarg ;;
1074
1075  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1076    ac_prev=prefix ;;
1077  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1078    prefix=$ac_optarg ;;
1079
1080  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1081  | --program-pre | --program-pr | --program-p)
1082    ac_prev=program_prefix ;;
1083  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1084  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1085    program_prefix=$ac_optarg ;;
1086
1087  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1088  | --program-suf | --program-su | --program-s)
1089    ac_prev=program_suffix ;;
1090  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1091  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1092    program_suffix=$ac_optarg ;;
1093
1094  -program-transform-name | --program-transform-name \
1095  | --program-transform-nam | --program-transform-na \
1096  | --program-transform-n | --program-transform- \
1097  | --program-transform | --program-transfor \
1098  | --program-transfo | --program-transf \
1099  | --program-trans | --program-tran \
1100  | --progr-tra | --program-tr | --program-t)
1101    ac_prev=program_transform_name ;;
1102  -program-transform-name=* | --program-transform-name=* \
1103  | --program-transform-nam=* | --program-transform-na=* \
1104  | --program-transform-n=* | --program-transform-=* \
1105  | --program-transform=* | --program-transfor=* \
1106  | --program-transfo=* | --program-transf=* \
1107  | --program-trans=* | --program-tran=* \
1108  | --progr-tra=* | --program-tr=* | --program-t=*)
1109    program_transform_name=$ac_optarg ;;
1110
1111  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1112    ac_prev=pdfdir ;;
1113  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1114    pdfdir=$ac_optarg ;;
1115
1116  -psdir | --psdir | --psdi | --psd | --ps)
1117    ac_prev=psdir ;;
1118  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1119    psdir=$ac_optarg ;;
1120
1121  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1122  | -silent | --silent | --silen | --sile | --sil)
1123    silent=yes ;;
1124
1125  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1126    ac_prev=sbindir ;;
1127  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1128  | --sbi=* | --sb=*)
1129    sbindir=$ac_optarg ;;
1130
1131  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1132  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1133  | --sharedst | --shareds | --shared | --share | --shar \
1134  | --sha | --sh)
1135    ac_prev=sharedstatedir ;;
1136  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1137  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1138  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1139  | --sha=* | --sh=*)
1140    sharedstatedir=$ac_optarg ;;
1141
1142  -site | --site | --sit)
1143    ac_prev=site ;;
1144  -site=* | --site=* | --sit=*)
1145    site=$ac_optarg ;;
1146
1147  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1148    ac_prev=srcdir ;;
1149  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1150    srcdir=$ac_optarg ;;
1151
1152  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1153  | --syscon | --sysco | --sysc | --sys | --sy)
1154    ac_prev=sysconfdir ;;
1155  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1156  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1157    sysconfdir=$ac_optarg ;;
1158
1159  -target | --target | --targe | --targ | --tar | --ta | --t)
1160    ac_prev=target_alias ;;
1161  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1162    target_alias=$ac_optarg ;;
1163
1164  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1165    verbose=yes ;;
1166
1167  -version | --version | --versio | --versi | --vers | -V)
1168    ac_init_version=: ;;
1169
1170  -with-* | --with-*)
1171    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172    # Reject names that are not valid shell variable names.
1173    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174      as_fn_error $? "invalid package name: $ac_useropt"
1175    ac_useropt_orig=$ac_useropt
1176    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177    case $ac_user_opts in
1178      *"
1179"with_$ac_useropt"
1180"*) ;;
1181      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182	 ac_unrecognized_sep=', ';;
1183    esac
1184    eval with_$ac_useropt=\$ac_optarg ;;
1185
1186  -without-* | --without-*)
1187    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188    # Reject names that are not valid shell variable names.
1189    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190      as_fn_error $? "invalid package name: $ac_useropt"
1191    ac_useropt_orig=$ac_useropt
1192    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193    case $ac_user_opts in
1194      *"
1195"with_$ac_useropt"
1196"*) ;;
1197      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198	 ac_unrecognized_sep=', ';;
1199    esac
1200    eval with_$ac_useropt=no ;;
1201
1202  --x)
1203    # Obsolete; use --with-x.
1204    with_x=yes ;;
1205
1206  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1207  | --x-incl | --x-inc | --x-in | --x-i)
1208    ac_prev=x_includes ;;
1209  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1210  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1211    x_includes=$ac_optarg ;;
1212
1213  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1214  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1215    ac_prev=x_libraries ;;
1216  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1217  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1218    x_libraries=$ac_optarg ;;
1219
1220  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1221Try \`$0 --help' for more information"
1222    ;;
1223
1224  *=*)
1225    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1226    # Reject names that are not valid shell variable names.
1227    case $ac_envvar in #(
1228      '' | [0-9]* | *[!_$as_cr_alnum]* )
1229      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1230    esac
1231    eval $ac_envvar=\$ac_optarg
1232    export $ac_envvar ;;
1233
1234  *)
1235    # FIXME: should be removed in autoconf 3.0.
1236    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1238      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1240    ;;
1241
1242  esac
1243done
1244
1245if test -n "$ac_prev"; then
1246  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1247  as_fn_error $? "missing argument to $ac_option"
1248fi
1249
1250if test -n "$ac_unrecognized_opts"; then
1251  case $enable_option_checking in
1252    no) ;;
1253    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1254    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1255  esac
1256fi
1257
1258# Check all directory arguments for consistency.
1259for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260		datadir sysconfdir sharedstatedir localstatedir includedir \
1261		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262		libdir localedir mandir
1263do
1264  eval ac_val=\$$ac_var
1265  # Remove trailing slashes.
1266  case $ac_val in
1267    */ )
1268      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269      eval $ac_var=\$ac_val;;
1270  esac
1271  # Be sure to have absolute directory names.
1272  case $ac_val in
1273    [\\/$]* | ?:[\\/]* )  continue;;
1274    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1275  esac
1276  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1277done
1278
1279# There might be people who depend on the old broken behavior: `$host'
1280# used to hold the argument of --host etc.
1281# FIXME: To remove some day.
1282build=$build_alias
1283host=$host_alias
1284target=$target_alias
1285
1286# FIXME: To remove some day.
1287if test "x$host_alias" != x; then
1288  if test "x$build_alias" = x; then
1289    cross_compiling=maybe
1290    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1291    If a cross compiler is detected then cross compile mode will be used" >&2
1292  elif test "x$build_alias" != "x$host_alias"; then
1293    cross_compiling=yes
1294  fi
1295fi
1296
1297ac_tool_prefix=
1298test -n "$host_alias" && ac_tool_prefix=$host_alias-
1299
1300test "$silent" = yes && exec 6>/dev/null
1301
1302
1303ac_pwd=`pwd` && test -n "$ac_pwd" &&
1304ac_ls_di=`ls -di .` &&
1305ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1306  as_fn_error $? "working directory cannot be determined"
1307test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308  as_fn_error $? "pwd does not report name of working directory"
1309
1310
1311# Find the source files, if location was not specified.
1312if test -z "$srcdir"; then
1313  ac_srcdir_defaulted=yes
1314  # Try the directory containing this script, then the parent directory.
1315  ac_confdir=`$as_dirname -- "$as_myself" ||
1316$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317	 X"$as_myself" : 'X\(//\)[^/]' \| \
1318	 X"$as_myself" : 'X\(//\)$' \| \
1319	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1320$as_echo X"$as_myself" |
1321    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1322	    s//\1/
1323	    q
1324	  }
1325	  /^X\(\/\/\)[^/].*/{
1326	    s//\1/
1327	    q
1328	  }
1329	  /^X\(\/\/\)$/{
1330	    s//\1/
1331	    q
1332	  }
1333	  /^X\(\/\).*/{
1334	    s//\1/
1335	    q
1336	  }
1337	  s/.*/./; q'`
1338  srcdir=$ac_confdir
1339  if test ! -r "$srcdir/$ac_unique_file"; then
1340    srcdir=..
1341  fi
1342else
1343  ac_srcdir_defaulted=no
1344fi
1345if test ! -r "$srcdir/$ac_unique_file"; then
1346  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1347  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1348fi
1349ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1350ac_abs_confdir=`(
1351	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1352	pwd)`
1353# When building in place, set srcdir=.
1354if test "$ac_abs_confdir" = "$ac_pwd"; then
1355  srcdir=.
1356fi
1357# Remove unnecessary trailing slashes from srcdir.
1358# Double slashes in file names in object file debugging info
1359# mess up M-x gdb in Emacs.
1360case $srcdir in
1361*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1362esac
1363for ac_var in $ac_precious_vars; do
1364  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1365  eval ac_env_${ac_var}_value=\$${ac_var}
1366  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1367  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1368done
1369
1370#
1371# Report the --help message.
1372#
1373if test "$ac_init_help" = "long"; then
1374  # Omit some internal or obsolete options to make the list less imposing.
1375  # This message is too long to be a string in the A/UX 3.1 sh.
1376  cat <<_ACEOF
1377\`configure' configures GConf Editor 3.0.1 to adapt to many kinds of systems.
1378
1379Usage: $0 [OPTION]... [VAR=VALUE]...
1380
1381To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382VAR=VALUE.  See below for descriptions of some of the useful variables.
1383
1384Defaults for the options are specified in brackets.
1385
1386Configuration:
1387  -h, --help              display this help and exit
1388      --help=short        display options specific to this package
1389      --help=recursive    display the short help of all the included packages
1390  -V, --version           display version information and exit
1391  -q, --quiet, --silent   do not print \`checking ...' messages
1392      --cache-file=FILE   cache test results in FILE [disabled]
1393  -C, --config-cache      alias for \`--cache-file=config.cache'
1394  -n, --no-create         do not create output files
1395      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1396
1397Installation directories:
1398  --prefix=PREFIX         install architecture-independent files in PREFIX
1399                          [$ac_default_prefix]
1400  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1401                          [PREFIX]
1402
1403By default, \`make install' will install all the files in
1404\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1405an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406for instance \`--prefix=\$HOME'.
1407
1408For better control, use the options below.
1409
1410Fine tuning of the installation directories:
1411  --bindir=DIR            user executables [EPREFIX/bin]
1412  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1413  --libexecdir=DIR        program executables [EPREFIX/libexec]
1414  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1415  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1416  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1417  --libdir=DIR            object code libraries [EPREFIX/lib]
1418  --includedir=DIR        C header files [PREFIX/include]
1419  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1420  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1421  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1422  --infodir=DIR           info documentation [DATAROOTDIR/info]
1423  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1424  --mandir=DIR            man documentation [DATAROOTDIR/man]
1425  --docdir=DIR            documentation root [DATAROOTDIR/doc/gconf-editor]
1426  --htmldir=DIR           html documentation [DOCDIR]
1427  --dvidir=DIR            dvi documentation [DOCDIR]
1428  --pdfdir=DIR            pdf documentation [DOCDIR]
1429  --psdir=DIR             ps documentation [DOCDIR]
1430_ACEOF
1431
1432  cat <<\_ACEOF
1433
1434Program names:
1435  --program-prefix=PREFIX            prepend PREFIX to installed program names
1436  --program-suffix=SUFFIX            append SUFFIX to installed program names
1437  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1438
1439System types:
1440  --build=BUILD     configure for building on BUILD [guessed]
1441  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1442_ACEOF
1443fi
1444
1445if test -n "$ac_init_help"; then
1446  case $ac_init_help in
1447     short | recursive ) echo "Configuration of GConf Editor 3.0.1:";;
1448   esac
1449  cat <<\_ACEOF
1450
1451Optional Features:
1452  --disable-option-checking  ignore unrecognized --enable/--with options
1453  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1454  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1455  --enable-silent-rules          less verbose build output (undo: `make V=1')
1456  --disable-silent-rules         verbose build output (undo: `make V=0')
1457  --enable-maintainer-mode  enable make rules and dependencies not useful
1458			  (and sometimes confusing) to the casual installer
1459  --disable-nls           do not use Native Language Support
1460  --disable-dependency-tracking  speeds up one-time build
1461  --enable-dependency-tracking   do not reject slow dependency extractors
1462  --enable-shared[=PKGS]  build shared libraries [default=yes]
1463  --enable-static[=PKGS]  build static libraries [default=yes]
1464  --enable-fast-install[=PKGS]
1465                          optimize for fast installation [default=yes]
1466  --disable-libtool-lock  avoid locking (might break parallel builds)
1467  --disable-schemas-install
1468                          Disable the schemas installation
1469  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1470  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1471                          Turn on compiler warnings
1472  --enable-iso-c          Try to warn if code is not ISO C
1473
1474Optional Packages:
1475  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1476  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1477  --with-pic              try to use only PIC/non-PIC objects [default=use
1478                          both]
1479  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1480  --with-sysroot=DIR Search for dependent libraries within DIR
1481                        (or the compiler's sysroot if not specified).
1482  --with-gconf-source=sourceaddress
1483                          Config database for installing schema files.
1484  --with-gconf-schema-file-dir=dir
1485                          Directory for installing schema files.
1486  --with-help-dir=DIR     path to help docs
1487  --with-omf-dir=DIR      path to OMF files
1488  --with-help-formats=FORMATS
1489                          list of formats
1490  --with-gconf-defaults-source
1491                          The GConf source of the default values
1492  --with-gconf-mandatory-source
1493                          The GConf source of the mandatory values
1494
1495Some influential environment variables:
1496  CC          C compiler command
1497  CFLAGS      C compiler flags
1498  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1499              nonstandard directory <lib dir>
1500  LIBS        libraries to pass to the linker, e.g. -l<library>
1501  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1502              you have headers in a nonstandard directory <include dir>
1503  CPP         C preprocessor
1504  PKG_CONFIG  path to pkg-config utility
1505  PKG_CONFIG_PATH
1506              directories to add to pkg-config's search path
1507  PKG_CONFIG_LIBDIR
1508              path overriding pkg-config's built-in search path
1509  GCONF_EDITOR_CFLAGS
1510              C compiler flags for GCONF_EDITOR, overriding pkg-config
1511  GCONF_EDITOR_LIBS
1512              linker flags for GCONF_EDITOR, overriding pkg-config
1513
1514Use these variables to override the choices made by `configure' or to help
1515it to find libraries and programs with nonstandard names/locations.
1516
1517Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor>.
1518_ACEOF
1519ac_status=$?
1520fi
1521
1522if test "$ac_init_help" = "recursive"; then
1523  # If there are subdirs, report their specific --help.
1524  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1525    test -d "$ac_dir" ||
1526      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1527      continue
1528    ac_builddir=.
1529
1530case "$ac_dir" in
1531.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532*)
1533  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1534  # A ".." for each directory in $ac_dir_suffix.
1535  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1536  case $ac_top_builddir_sub in
1537  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1538  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1539  esac ;;
1540esac
1541ac_abs_top_builddir=$ac_pwd
1542ac_abs_builddir=$ac_pwd$ac_dir_suffix
1543# for backward compatibility:
1544ac_top_builddir=$ac_top_build_prefix
1545
1546case $srcdir in
1547  .)  # We are building in place.
1548    ac_srcdir=.
1549    ac_top_srcdir=$ac_top_builddir_sub
1550    ac_abs_top_srcdir=$ac_pwd ;;
1551  [\\/]* | ?:[\\/]* )  # Absolute name.
1552    ac_srcdir=$srcdir$ac_dir_suffix;
1553    ac_top_srcdir=$srcdir
1554    ac_abs_top_srcdir=$srcdir ;;
1555  *) # Relative name.
1556    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1557    ac_top_srcdir=$ac_top_build_prefix$srcdir
1558    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1559esac
1560ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1561
1562    cd "$ac_dir" || { ac_status=$?; continue; }
1563    # Check for guested configure.
1564    if test -f "$ac_srcdir/configure.gnu"; then
1565      echo &&
1566      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1567    elif test -f "$ac_srcdir/configure"; then
1568      echo &&
1569      $SHELL "$ac_srcdir/configure" --help=recursive
1570    else
1571      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1572    fi || ac_status=$?
1573    cd "$ac_pwd" || { ac_status=$?; break; }
1574  done
1575fi
1576
1577test -n "$ac_init_help" && exit $ac_status
1578if $ac_init_version; then
1579  cat <<\_ACEOF
1580GConf Editor configure 3.0.1
1581generated by GNU Autoconf 2.68
1582
1583Copyright (C) 2010 Free Software Foundation, Inc.
1584This configure script is free software; the Free Software Foundation
1585gives unlimited permission to copy, distribute and modify it.
1586_ACEOF
1587  exit
1588fi
1589
1590## ------------------------ ##
1591## Autoconf initialization. ##
1592## ------------------------ ##
1593
1594# ac_fn_c_try_compile LINENO
1595# --------------------------
1596# Try to compile conftest.$ac_ext, and return whether this succeeded.
1597ac_fn_c_try_compile ()
1598{
1599  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600  rm -f conftest.$ac_objext
1601  if { { ac_try="$ac_compile"
1602case "(($ac_try" in
1603  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1604  *) ac_try_echo=$ac_try;;
1605esac
1606eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607$as_echo "$ac_try_echo"; } >&5
1608  (eval "$ac_compile") 2>conftest.err
1609  ac_status=$?
1610  if test -s conftest.err; then
1611    grep -v '^ *+' conftest.err >conftest.er1
1612    cat conftest.er1 >&5
1613    mv -f conftest.er1 conftest.err
1614  fi
1615  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616  test $ac_status = 0; } && {
1617	 test -z "$ac_c_werror_flag" ||
1618	 test ! -s conftest.err
1619       } && test -s conftest.$ac_objext; then :
1620  ac_retval=0
1621else
1622  $as_echo "$as_me: failed program was:" >&5
1623sed 's/^/| /' conftest.$ac_ext >&5
1624
1625	ac_retval=1
1626fi
1627  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628  as_fn_set_status $ac_retval
1629
1630} # ac_fn_c_try_compile
1631
1632# ac_fn_c_try_link LINENO
1633# -----------------------
1634# Try to link conftest.$ac_ext, and return whether this succeeded.
1635ac_fn_c_try_link ()
1636{
1637  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638  rm -f conftest.$ac_objext conftest$ac_exeext
1639  if { { ac_try="$ac_link"
1640case "(($ac_try" in
1641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1642  *) ac_try_echo=$ac_try;;
1643esac
1644eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645$as_echo "$ac_try_echo"; } >&5
1646  (eval "$ac_link") 2>conftest.err
1647  ac_status=$?
1648  if test -s conftest.err; then
1649    grep -v '^ *+' conftest.err >conftest.er1
1650    cat conftest.er1 >&5
1651    mv -f conftest.er1 conftest.err
1652  fi
1653  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654  test $ac_status = 0; } && {
1655	 test -z "$ac_c_werror_flag" ||
1656	 test ! -s conftest.err
1657       } && test -s conftest$ac_exeext && {
1658	 test "$cross_compiling" = yes ||
1659	 $as_test_x conftest$ac_exeext
1660       }; then :
1661  ac_retval=0
1662else
1663  $as_echo "$as_me: failed program was:" >&5
1664sed 's/^/| /' conftest.$ac_ext >&5
1665
1666	ac_retval=1
1667fi
1668  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1669  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1670  # interfere with the next link command; also delete a directory that is
1671  # left behind by Apple's compiler.  We do this before executing the actions.
1672  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1673  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674  as_fn_set_status $ac_retval
1675
1676} # ac_fn_c_try_link
1677
1678# ac_fn_c_check_func LINENO FUNC VAR
1679# ----------------------------------
1680# Tests whether FUNC exists, setting the cache variable VAR accordingly
1681ac_fn_c_check_func ()
1682{
1683  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1685$as_echo_n "checking for $2... " >&6; }
1686if eval \${$3+:} false; then :
1687  $as_echo_n "(cached) " >&6
1688else
1689  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690/* end confdefs.h.  */
1691/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1692   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1693#define $2 innocuous_$2
1694
1695/* System header to define __stub macros and hopefully few prototypes,
1696    which can conflict with char $2 (); below.
1697    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1698    <limits.h> exists even on freestanding compilers.  */
1699
1700#ifdef __STDC__
1701# include <limits.h>
1702#else
1703# include <assert.h>
1704#endif
1705
1706#undef $2
1707
1708/* Override any GCC internal prototype to avoid an error.
1709   Use char because int might match the return type of a GCC
1710   builtin and then its argument prototype would still apply.  */
1711#ifdef __cplusplus
1712extern "C"
1713#endif
1714char $2 ();
1715/* The GNU C library defines this for functions which it implements
1716    to always fail with ENOSYS.  Some functions are actually named
1717    something starting with __ and the normal name is an alias.  */
1718#if defined __stub_$2 || defined __stub___$2
1719choke me
1720#endif
1721
1722int
1723main ()
1724{
1725return $2 ();
1726  ;
1727  return 0;
1728}
1729_ACEOF
1730if ac_fn_c_try_link "$LINENO"; then :
1731  eval "$3=yes"
1732else
1733  eval "$3=no"
1734fi
1735rm -f core conftest.err conftest.$ac_objext \
1736    conftest$ac_exeext conftest.$ac_ext
1737fi
1738eval ac_res=\$$3
1739	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740$as_echo "$ac_res" >&6; }
1741  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742
1743} # ac_fn_c_check_func
1744
1745# ac_fn_c_try_cpp LINENO
1746# ----------------------
1747# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1748ac_fn_c_try_cpp ()
1749{
1750  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751  if { { ac_try="$ac_cpp conftest.$ac_ext"
1752case "(($ac_try" in
1753  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1754  *) ac_try_echo=$ac_try;;
1755esac
1756eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757$as_echo "$ac_try_echo"; } >&5
1758  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1759  ac_status=$?
1760  if test -s conftest.err; then
1761    grep -v '^ *+' conftest.err >conftest.er1
1762    cat conftest.er1 >&5
1763    mv -f conftest.er1 conftest.err
1764  fi
1765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766  test $ac_status = 0; } > conftest.i && {
1767	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1768	 test ! -s conftest.err
1769       }; then :
1770  ac_retval=0
1771else
1772  $as_echo "$as_me: failed program was:" >&5
1773sed 's/^/| /' conftest.$ac_ext >&5
1774
1775    ac_retval=1
1776fi
1777  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778  as_fn_set_status $ac_retval
1779
1780} # ac_fn_c_try_cpp
1781
1782# ac_fn_c_try_run LINENO
1783# ----------------------
1784# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1785# that executables *can* be run.
1786ac_fn_c_try_run ()
1787{
1788  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789  if { { ac_try="$ac_link"
1790case "(($ac_try" in
1791  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792  *) ac_try_echo=$ac_try;;
1793esac
1794eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795$as_echo "$ac_try_echo"; } >&5
1796  (eval "$ac_link") 2>&5
1797  ac_status=$?
1798  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1800  { { case "(($ac_try" in
1801  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1802  *) ac_try_echo=$ac_try;;
1803esac
1804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805$as_echo "$ac_try_echo"; } >&5
1806  (eval "$ac_try") 2>&5
1807  ac_status=$?
1808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809  test $ac_status = 0; }; }; then :
1810  ac_retval=0
1811else
1812  $as_echo "$as_me: program exited with status $ac_status" >&5
1813       $as_echo "$as_me: failed program was:" >&5
1814sed 's/^/| /' conftest.$ac_ext >&5
1815
1816       ac_retval=$ac_status
1817fi
1818  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1819  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820  as_fn_set_status $ac_retval
1821
1822} # ac_fn_c_try_run
1823
1824# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1825# -------------------------------------------------------
1826# Tests whether HEADER exists and can be compiled using the include files in
1827# INCLUDES, setting the cache variable VAR accordingly.
1828ac_fn_c_check_header_compile ()
1829{
1830  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832$as_echo_n "checking for $2... " >&6; }
1833if eval \${$3+:} false; then :
1834  $as_echo_n "(cached) " >&6
1835else
1836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837/* end confdefs.h.  */
1838$4
1839#include <$2>
1840_ACEOF
1841if ac_fn_c_try_compile "$LINENO"; then :
1842  eval "$3=yes"
1843else
1844  eval "$3=no"
1845fi
1846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1847fi
1848eval ac_res=\$$3
1849	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1850$as_echo "$ac_res" >&6; }
1851  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1852
1853} # ac_fn_c_check_header_compile
1854
1855# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1856# -------------------------------------------------------
1857# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1858# the include files in INCLUDES and setting the cache variable VAR
1859# accordingly.
1860ac_fn_c_check_header_mongrel ()
1861{
1862  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863  if eval \${$3+:} false; then :
1864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865$as_echo_n "checking for $2... " >&6; }
1866if eval \${$3+:} false; then :
1867  $as_echo_n "(cached) " >&6
1868fi
1869eval ac_res=\$$3
1870	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871$as_echo "$ac_res" >&6; }
1872else
1873  # Is the header compilable?
1874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1875$as_echo_n "checking $2 usability... " >&6; }
1876cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1877/* end confdefs.h.  */
1878$4
1879#include <$2>
1880_ACEOF
1881if ac_fn_c_try_compile "$LINENO"; then :
1882  ac_header_compiler=yes
1883else
1884  ac_header_compiler=no
1885fi
1886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1888$as_echo "$ac_header_compiler" >&6; }
1889
1890# Is the header present?
1891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1892$as_echo_n "checking $2 presence... " >&6; }
1893cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894/* end confdefs.h.  */
1895#include <$2>
1896_ACEOF
1897if ac_fn_c_try_cpp "$LINENO"; then :
1898  ac_header_preproc=yes
1899else
1900  ac_header_preproc=no
1901fi
1902rm -f conftest.err conftest.i conftest.$ac_ext
1903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1904$as_echo "$ac_header_preproc" >&6; }
1905
1906# So?  What about this header?
1907case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1908  yes:no: )
1909    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1910$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1911    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1912$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1913    ;;
1914  no:yes:* )
1915    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1916$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1917    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1918$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1919    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1920$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1921    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1922$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&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( $as_echo "## --------------------------------------------------------------------------- ##
1926## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor ##
1927## --------------------------------------------------------------------------- ##"
1928     ) | sed "s/^/$as_me: WARNING:     /" >&2
1929    ;;
1930esac
1931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1932$as_echo_n "checking for $2... " >&6; }
1933if eval \${$3+:} false; then :
1934  $as_echo_n "(cached) " >&6
1935else
1936  eval "$3=\$ac_header_compiler"
1937fi
1938eval ac_res=\$$3
1939	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940$as_echo "$ac_res" >&6; }
1941fi
1942  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943
1944} # ac_fn_c_check_header_mongrel
1945cat >config.log <<_ACEOF
1946This file contains any messages produced by compilers while
1947running configure, to aid debugging if configure makes a mistake.
1948
1949It was created by GConf Editor $as_me 3.0.1, which was
1950generated by GNU Autoconf 2.68.  Invocation command line was
1951
1952  $ $0 $@
1953
1954_ACEOF
1955exec 5>>config.log
1956{
1957cat <<_ASUNAME
1958## --------- ##
1959## Platform. ##
1960## --------- ##
1961
1962hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1963uname -m = `(uname -m) 2>/dev/null || echo unknown`
1964uname -r = `(uname -r) 2>/dev/null || echo unknown`
1965uname -s = `(uname -s) 2>/dev/null || echo unknown`
1966uname -v = `(uname -v) 2>/dev/null || echo unknown`
1967
1968/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1969/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1970
1971/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1972/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1973/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1974/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1975/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1976/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1977/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1978
1979_ASUNAME
1980
1981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982for as_dir in $PATH
1983do
1984  IFS=$as_save_IFS
1985  test -z "$as_dir" && as_dir=.
1986    $as_echo "PATH: $as_dir"
1987  done
1988IFS=$as_save_IFS
1989
1990} >&5
1991
1992cat >&5 <<_ACEOF
1993
1994
1995## ----------- ##
1996## Core tests. ##
1997## ----------- ##
1998
1999_ACEOF
2000
2001
2002# Keep a trace of the command line.
2003# Strip out --no-create and --no-recursion so they do not pile up.
2004# Strip out --silent because we don't want to record it for future runs.
2005# Also quote any args containing shell meta-characters.
2006# Make two passes to allow for proper duplicate-argument suppression.
2007ac_configure_args=
2008ac_configure_args0=
2009ac_configure_args1=
2010ac_must_keep_next=false
2011for ac_pass in 1 2
2012do
2013  for ac_arg
2014  do
2015    case $ac_arg in
2016    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2017    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2018    | -silent | --silent | --silen | --sile | --sil)
2019      continue ;;
2020    *\'*)
2021      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2022    esac
2023    case $ac_pass in
2024    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2025    2)
2026      as_fn_append ac_configure_args1 " '$ac_arg'"
2027      if test $ac_must_keep_next = true; then
2028	ac_must_keep_next=false # Got value, back to normal.
2029      else
2030	case $ac_arg in
2031	  *=* | --config-cache | -C | -disable-* | --disable-* \
2032	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2033	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2034	  | -with-* | --with-* | -without-* | --without-* | --x)
2035	    case "$ac_configure_args0 " in
2036	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2037	    esac
2038	    ;;
2039	  -* ) ac_must_keep_next=true ;;
2040	esac
2041      fi
2042      as_fn_append ac_configure_args " '$ac_arg'"
2043      ;;
2044    esac
2045  done
2046done
2047{ ac_configure_args0=; unset ac_configure_args0;}
2048{ ac_configure_args1=; unset ac_configure_args1;}
2049
2050# When interrupted or exit'd, cleanup temporary files, and complete
2051# config.log.  We remove comments because anyway the quotes in there
2052# would cause problems or look ugly.
2053# WARNING: Use '\'' to represent an apostrophe within the trap.
2054# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2055trap 'exit_status=$?
2056  # Save into config.log some information that might help in debugging.
2057  {
2058    echo
2059
2060    $as_echo "## ---------------- ##
2061## Cache variables. ##
2062## ---------------- ##"
2063    echo
2064    # The following way of writing the cache mishandles newlines in values,
2065(
2066  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2067    eval ac_val=\$$ac_var
2068    case $ac_val in #(
2069    *${as_nl}*)
2070      case $ac_var in #(
2071      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2072$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2073      esac
2074      case $ac_var in #(
2075      _ | IFS | as_nl) ;; #(
2076      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2077      *) { eval $ac_var=; unset $ac_var;} ;;
2078      esac ;;
2079    esac
2080  done
2081  (set) 2>&1 |
2082    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2083    *${as_nl}ac_space=\ *)
2084      sed -n \
2085	"s/'\''/'\''\\\\'\'''\''/g;
2086	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2087      ;; #(
2088    *)
2089      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2090      ;;
2091    esac |
2092    sort
2093)
2094    echo
2095
2096    $as_echo "## ----------------- ##
2097## Output variables. ##
2098## ----------------- ##"
2099    echo
2100    for ac_var in $ac_subst_vars
2101    do
2102      eval ac_val=\$$ac_var
2103      case $ac_val in
2104      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2105      esac
2106      $as_echo "$ac_var='\''$ac_val'\''"
2107    done | sort
2108    echo
2109
2110    if test -n "$ac_subst_files"; then
2111      $as_echo "## ------------------- ##
2112## File substitutions. ##
2113## ------------------- ##"
2114      echo
2115      for ac_var in $ac_subst_files
2116      do
2117	eval ac_val=\$$ac_var
2118	case $ac_val in
2119	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2120	esac
2121	$as_echo "$ac_var='\''$ac_val'\''"
2122      done | sort
2123      echo
2124    fi
2125
2126    if test -s confdefs.h; then
2127      $as_echo "## ----------- ##
2128## confdefs.h. ##
2129## ----------- ##"
2130      echo
2131      cat confdefs.h
2132      echo
2133    fi
2134    test "$ac_signal" != 0 &&
2135      $as_echo "$as_me: caught signal $ac_signal"
2136    $as_echo "$as_me: exit $exit_status"
2137  } >&5
2138  rm -f core *.core core.conftest.* &&
2139    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2140    exit $exit_status
2141' 0
2142for ac_signal in 1 2 13 15; do
2143  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2144done
2145ac_signal=0
2146
2147# confdefs.h avoids OS command line length limits that DEFS can exceed.
2148rm -f -r conftest* confdefs.h
2149
2150$as_echo "/* confdefs.h */" > confdefs.h
2151
2152# Predefined preprocessor variables.
2153
2154cat >>confdefs.h <<_ACEOF
2155#define PACKAGE_NAME "$PACKAGE_NAME"
2156_ACEOF
2157
2158cat >>confdefs.h <<_ACEOF
2159#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2160_ACEOF
2161
2162cat >>confdefs.h <<_ACEOF
2163#define PACKAGE_VERSION "$PACKAGE_VERSION"
2164_ACEOF
2165
2166cat >>confdefs.h <<_ACEOF
2167#define PACKAGE_STRING "$PACKAGE_STRING"
2168_ACEOF
2169
2170cat >>confdefs.h <<_ACEOF
2171#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2172_ACEOF
2173
2174cat >>confdefs.h <<_ACEOF
2175#define PACKAGE_URL "$PACKAGE_URL"
2176_ACEOF
2177
2178
2179# Let the site file select an alternate cache file if it wants to.
2180# Prefer an explicitly selected file to automatically selected ones.
2181ac_site_file1=NONE
2182ac_site_file2=NONE
2183if test -n "$CONFIG_SITE"; then
2184  # We do not want a PATH search for config.site.
2185  case $CONFIG_SITE in #((
2186    -*)  ac_site_file1=./$CONFIG_SITE;;
2187    */*) ac_site_file1=$CONFIG_SITE;;
2188    *)   ac_site_file1=./$CONFIG_SITE;;
2189  esac
2190elif test "x$prefix" != xNONE; then
2191  ac_site_file1=$prefix/share/config.site
2192  ac_site_file2=$prefix/etc/config.site
2193else
2194  ac_site_file1=$ac_default_prefix/share/config.site
2195  ac_site_file2=$ac_default_prefix/etc/config.site
2196fi
2197for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2198do
2199  test "x$ac_site_file" = xNONE && continue
2200  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2201    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2202$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2203    sed 's/^/| /' "$ac_site_file" >&5
2204    . "$ac_site_file" \
2205      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2206$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2207as_fn_error $? "failed to load site script $ac_site_file
2208See \`config.log' for more details" "$LINENO" 5; }
2209  fi
2210done
2211
2212if test -r "$cache_file"; then
2213  # Some versions of bash will fail to source /dev/null (special files
2214  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2215  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2216    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2217$as_echo "$as_me: loading cache $cache_file" >&6;}
2218    case $cache_file in
2219      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2220      *)                      . "./$cache_file";;
2221    esac
2222  fi
2223else
2224  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2225$as_echo "$as_me: creating cache $cache_file" >&6;}
2226  >$cache_file
2227fi
2228
2229# Check that the precious variables saved in the cache have kept the same
2230# value.
2231ac_cache_corrupted=false
2232for ac_var in $ac_precious_vars; do
2233  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2234  eval ac_new_set=\$ac_env_${ac_var}_set
2235  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2236  eval ac_new_val=\$ac_env_${ac_var}_value
2237  case $ac_old_set,$ac_new_set in
2238    set,)
2239      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2240$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2241      ac_cache_corrupted=: ;;
2242    ,set)
2243      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2244$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2245      ac_cache_corrupted=: ;;
2246    ,);;
2247    *)
2248      if test "x$ac_old_val" != "x$ac_new_val"; then
2249	# differences in whitespace do not lead to failure.
2250	ac_old_val_w=`echo x $ac_old_val`
2251	ac_new_val_w=`echo x $ac_new_val`
2252	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2253	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2254$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2255	  ac_cache_corrupted=:
2256	else
2257	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2258$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2259	  eval $ac_var=\$ac_old_val
2260	fi
2261	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2262$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2263	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2264$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2265      fi;;
2266  esac
2267  # Pass precious variables to config.status.
2268  if test "$ac_new_set" = set; then
2269    case $ac_new_val in
2270    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2271    *) ac_arg=$ac_var=$ac_new_val ;;
2272    esac
2273    case " $ac_configure_args " in
2274      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2275      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2276    esac
2277  fi
2278done
2279if $ac_cache_corrupted; then
2280  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2281$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2282  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2283$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2284  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2285fi
2286## -------------------- ##
2287## Main body of script. ##
2288## -------------------- ##
2289
2290ac_ext=c
2291ac_cpp='$CPP $CPPFLAGS'
2292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2294ac_compiler_gnu=$ac_cv_c_compiler_gnu
2295
2296
2297
2298
2299am__api_version='1.11'
2300
2301ac_aux_dir=
2302for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2303  if test -f "$ac_dir/install-sh"; then
2304    ac_aux_dir=$ac_dir
2305    ac_install_sh="$ac_aux_dir/install-sh -c"
2306    break
2307  elif test -f "$ac_dir/install.sh"; then
2308    ac_aux_dir=$ac_dir
2309    ac_install_sh="$ac_aux_dir/install.sh -c"
2310    break
2311  elif test -f "$ac_dir/shtool"; then
2312    ac_aux_dir=$ac_dir
2313    ac_install_sh="$ac_aux_dir/shtool install -c"
2314    break
2315  fi
2316done
2317if test -z "$ac_aux_dir"; then
2318  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2319fi
2320
2321# These three variables are undocumented and unsupported,
2322# and are intended to be withdrawn in a future Autoconf release.
2323# They can cause serious problems if a builder's source tree is in a directory
2324# whose full name contains unusual characters.
2325ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2326ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2327ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2328
2329
2330# Find a good install program.  We prefer a C program (faster),
2331# so one script is as good as another.  But avoid the broken or
2332# incompatible versions:
2333# SysV /etc/install, /usr/sbin/install
2334# SunOS /usr/etc/install
2335# IRIX /sbin/install
2336# AIX /bin/install
2337# AmigaOS /C/install, which installs bootblocks on floppy discs
2338# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2339# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2340# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2341# OS/2's system install, which has a completely different semantic
2342# ./install, which can be erroneously created by make from ./install.sh.
2343# Reject install programs that cannot install multiple files.
2344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2345$as_echo_n "checking for a BSD-compatible install... " >&6; }
2346if test -z "$INSTALL"; then
2347if ${ac_cv_path_install+:} false; then :
2348  $as_echo_n "(cached) " >&6
2349else
2350  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351for as_dir in $PATH
2352do
2353  IFS=$as_save_IFS
2354  test -z "$as_dir" && as_dir=.
2355    # Account for people who put trailing slashes in PATH elements.
2356case $as_dir/ in #((
2357  ./ | .// | /[cC]/* | \
2358  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2359  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2360  /usr/ucb/* ) ;;
2361  *)
2362    # OSF1 and SCO ODT 3.0 have their own names for install.
2363    # Don't use installbsd from OSF since it installs stuff as root
2364    # by default.
2365    for ac_prog in ginstall scoinst install; do
2366      for ac_exec_ext in '' $ac_executable_extensions; do
2367	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2368	  if test $ac_prog = install &&
2369	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2370	    # AIX install.  It has an incompatible calling convention.
2371	    :
2372	  elif test $ac_prog = install &&
2373	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2374	    # program-specific install script used by HP pwplus--don't use.
2375	    :
2376	  else
2377	    rm -rf conftest.one conftest.two conftest.dir
2378	    echo one > conftest.one
2379	    echo two > conftest.two
2380	    mkdir conftest.dir
2381	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2382	      test -s conftest.one && test -s conftest.two &&
2383	      test -s conftest.dir/conftest.one &&
2384	      test -s conftest.dir/conftest.two
2385	    then
2386	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2387	      break 3
2388	    fi
2389	  fi
2390	fi
2391      done
2392    done
2393    ;;
2394esac
2395
2396  done
2397IFS=$as_save_IFS
2398
2399rm -rf conftest.one conftest.two conftest.dir
2400
2401fi
2402  if test "${ac_cv_path_install+set}" = set; then
2403    INSTALL=$ac_cv_path_install
2404  else
2405    # As a last resort, use the slow shell script.  Don't cache a
2406    # value for INSTALL within a source directory, because that will
2407    # break other packages using the cache if that directory is
2408    # removed, or if the value is a relative name.
2409    INSTALL=$ac_install_sh
2410  fi
2411fi
2412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2413$as_echo "$INSTALL" >&6; }
2414
2415# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2416# It thinks the first close brace ends the variable substitution.
2417test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2418
2419test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2420
2421test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2422
2423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2424$as_echo_n "checking whether build environment is sane... " >&6; }
2425# Just in case
2426sleep 1
2427echo timestamp > conftest.file
2428# Reject unsafe characters in $srcdir or the absolute working directory
2429# name.  Accept space and tab only in the latter.
2430am_lf='
2431'
2432case `pwd` in
2433  *[\\\"\#\$\&\'\`$am_lf]*)
2434    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2435esac
2436case $srcdir in
2437  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2438    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2439esac
2440
2441# Do `set' in a subshell so we don't clobber the current shell's
2442# arguments.  Must try -L first in case configure is actually a
2443# symlink; some systems play weird games with the mod time of symlinks
2444# (eg FreeBSD returns the mod time of the symlink's containing
2445# directory).
2446if (
2447   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2448   if test "$*" = "X"; then
2449      # -L didn't work.
2450      set X `ls -t "$srcdir/configure" conftest.file`
2451   fi
2452   rm -f conftest.file
2453   if test "$*" != "X $srcdir/configure conftest.file" \
2454      && test "$*" != "X conftest.file $srcdir/configure"; then
2455
2456      # If neither matched, then we have a broken ls.  This can happen
2457      # if, for instance, CONFIG_SHELL is bash and it inherits a
2458      # broken ls alias from the environment.  This has actually
2459      # happened.  Such a system could not be considered "sane".
2460      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2461alias in your environment" "$LINENO" 5
2462   fi
2463
2464   test "$2" = conftest.file
2465   )
2466then
2467   # Ok.
2468   :
2469else
2470   as_fn_error $? "newly created file is older than distributed files!
2471Check your system clock" "$LINENO" 5
2472fi
2473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2474$as_echo "yes" >&6; }
2475test "$program_prefix" != NONE &&
2476  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2477# Use a double $ so make ignores it.
2478test "$program_suffix" != NONE &&
2479  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2480# Double any \ or $.
2481# By default was `s,x,x', remove it if useless.
2482ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2483program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2484
2485# expand $ac_aux_dir to an absolute path
2486am_aux_dir=`cd $ac_aux_dir && pwd`
2487
2488if test x"${MISSING+set}" != xset; then
2489  case $am_aux_dir in
2490  *\ * | *\	*)
2491    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2492  *)
2493    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2494  esac
2495fi
2496# Use eval to expand $SHELL
2497if eval "$MISSING --run true"; then
2498  am_missing_run="$MISSING --run "
2499else
2500  am_missing_run=
2501  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2502$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2503fi
2504
2505if test x"${install_sh}" != xset; then
2506  case $am_aux_dir in
2507  *\ * | *\	*)
2508    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2509  *)
2510    install_sh="\${SHELL} $am_aux_dir/install-sh"
2511  esac
2512fi
2513
2514# Installed binaries are usually stripped using `strip' when the user
2515# run `make install-strip'.  However `strip' might not be the right
2516# tool to use in cross-compilation environments, therefore Automake
2517# will honor the `STRIP' environment variable to overrule this program.
2518if test "$cross_compiling" != no; then
2519  if test -n "$ac_tool_prefix"; then
2520  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2521set dummy ${ac_tool_prefix}strip; ac_word=$2
2522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2523$as_echo_n "checking for $ac_word... " >&6; }
2524if ${ac_cv_prog_STRIP+:} false; then :
2525  $as_echo_n "(cached) " >&6
2526else
2527  if test -n "$STRIP"; then
2528  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2529else
2530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531for as_dir in $PATH
2532do
2533  IFS=$as_save_IFS
2534  test -z "$as_dir" && as_dir=.
2535    for ac_exec_ext in '' $ac_executable_extensions; do
2536  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2538    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2539    break 2
2540  fi
2541done
2542  done
2543IFS=$as_save_IFS
2544
2545fi
2546fi
2547STRIP=$ac_cv_prog_STRIP
2548if test -n "$STRIP"; then
2549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2550$as_echo "$STRIP" >&6; }
2551else
2552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2553$as_echo "no" >&6; }
2554fi
2555
2556
2557fi
2558if test -z "$ac_cv_prog_STRIP"; then
2559  ac_ct_STRIP=$STRIP
2560  # Extract the first word of "strip", so it can be a program name with args.
2561set dummy strip; ac_word=$2
2562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2563$as_echo_n "checking for $ac_word... " >&6; }
2564if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2565  $as_echo_n "(cached) " >&6
2566else
2567  if test -n "$ac_ct_STRIP"; then
2568  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2569else
2570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571for as_dir in $PATH
2572do
2573  IFS=$as_save_IFS
2574  test -z "$as_dir" && as_dir=.
2575    for ac_exec_ext in '' $ac_executable_extensions; do
2576  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577    ac_cv_prog_ac_ct_STRIP="strip"
2578    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2579    break 2
2580  fi
2581done
2582  done
2583IFS=$as_save_IFS
2584
2585fi
2586fi
2587ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2588if test -n "$ac_ct_STRIP"; then
2589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2590$as_echo "$ac_ct_STRIP" >&6; }
2591else
2592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593$as_echo "no" >&6; }
2594fi
2595
2596  if test "x$ac_ct_STRIP" = x; then
2597    STRIP=":"
2598  else
2599    case $cross_compiling:$ac_tool_warned in
2600yes:)
2601{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2602$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2603ac_tool_warned=yes ;;
2604esac
2605    STRIP=$ac_ct_STRIP
2606  fi
2607else
2608  STRIP="$ac_cv_prog_STRIP"
2609fi
2610
2611fi
2612INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2613
2614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2615$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2616if test -z "$MKDIR_P"; then
2617  if ${ac_cv_path_mkdir+:} false; then :
2618  $as_echo_n "(cached) " >&6
2619else
2620  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2622do
2623  IFS=$as_save_IFS
2624  test -z "$as_dir" && as_dir=.
2625    for ac_prog in mkdir gmkdir; do
2626	 for ac_exec_ext in '' $ac_executable_extensions; do
2627	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2628	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2629	     'mkdir (GNU coreutils) '* | \
2630	     'mkdir (coreutils) '* | \
2631	     'mkdir (fileutils) '4.1*)
2632	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2633	       break 3;;
2634	   esac
2635	 done
2636       done
2637  done
2638IFS=$as_save_IFS
2639
2640fi
2641
2642  test -d ./--version && rmdir ./--version
2643  if test "${ac_cv_path_mkdir+set}" = set; then
2644    MKDIR_P="$ac_cv_path_mkdir -p"
2645  else
2646    # As a last resort, use the slow shell script.  Don't cache a
2647    # value for MKDIR_P within a source directory, because that will
2648    # break other packages using the cache if that directory is
2649    # removed, or if the value is a relative name.
2650    MKDIR_P="$ac_install_sh -d"
2651  fi
2652fi
2653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2654$as_echo "$MKDIR_P" >&6; }
2655
2656mkdir_p="$MKDIR_P"
2657case $mkdir_p in
2658  [\\/$]* | ?:[\\/]*) ;;
2659  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2660esac
2661
2662for ac_prog in gawk mawk nawk awk
2663do
2664  # Extract the first word of "$ac_prog", so it can be a program name with args.
2665set dummy $ac_prog; ac_word=$2
2666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2667$as_echo_n "checking for $ac_word... " >&6; }
2668if ${ac_cv_prog_AWK+:} false; then :
2669  $as_echo_n "(cached) " >&6
2670else
2671  if test -n "$AWK"; then
2672  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2673else
2674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675for as_dir in $PATH
2676do
2677  IFS=$as_save_IFS
2678  test -z "$as_dir" && as_dir=.
2679    for ac_exec_ext in '' $ac_executable_extensions; do
2680  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2681    ac_cv_prog_AWK="$ac_prog"
2682    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2683    break 2
2684  fi
2685done
2686  done
2687IFS=$as_save_IFS
2688
2689fi
2690fi
2691AWK=$ac_cv_prog_AWK
2692if test -n "$AWK"; then
2693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2694$as_echo "$AWK" >&6; }
2695else
2696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2697$as_echo "no" >&6; }
2698fi
2699
2700
2701  test -n "$AWK" && break
2702done
2703
2704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2705$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2706set x ${MAKE-make}
2707ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2708if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2709  $as_echo_n "(cached) " >&6
2710else
2711  cat >conftest.make <<\_ACEOF
2712SHELL = /bin/sh
2713all:
2714	@echo '@@@%%%=$(MAKE)=@@@%%%'
2715_ACEOF
2716# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2717case `${MAKE-make} -f conftest.make 2>/dev/null` in
2718  *@@@%%%=?*=@@@%%%*)
2719    eval ac_cv_prog_make_${ac_make}_set=yes;;
2720  *)
2721    eval ac_cv_prog_make_${ac_make}_set=no;;
2722esac
2723rm -f conftest.make
2724fi
2725if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2727$as_echo "yes" >&6; }
2728  SET_MAKE=
2729else
2730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2731$as_echo "no" >&6; }
2732  SET_MAKE="MAKE=${MAKE-make}"
2733fi
2734
2735rm -rf .tst 2>/dev/null
2736mkdir .tst 2>/dev/null
2737if test -d .tst; then
2738  am__leading_dot=.
2739else
2740  am__leading_dot=_
2741fi
2742rmdir .tst 2>/dev/null
2743
2744if test "`cd $srcdir && pwd`" != "`pwd`"; then
2745  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2746  # is not polluted with repeated "-I."
2747  am__isrc=' -I$(srcdir)'
2748  # test to see if srcdir already configured
2749  if test -f $srcdir/config.status; then
2750    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2751  fi
2752fi
2753
2754# test whether we have cygpath
2755if test -z "$CYGPATH_W"; then
2756  if (cygpath --version) >/dev/null 2>/dev/null; then
2757    CYGPATH_W='cygpath -w'
2758  else
2759    CYGPATH_W=echo
2760  fi
2761fi
2762
2763
2764# Define the identity of the package.
2765 PACKAGE='gconf-editor'
2766 VERSION='3.0.1'
2767
2768
2769cat >>confdefs.h <<_ACEOF
2770#define PACKAGE "$PACKAGE"
2771_ACEOF
2772
2773
2774cat >>confdefs.h <<_ACEOF
2775#define VERSION "$VERSION"
2776_ACEOF
2777
2778# Some tools Automake needs.
2779
2780ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2781
2782
2783AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2784
2785
2786AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2787
2788
2789AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2790
2791
2792MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2793
2794# We need awk for the "check" target.  The system "awk" is bad on
2795# some platforms.
2796# Always define AMTAR for backward compatibility.
2797
2798AMTAR=${AMTAR-"${am_missing_run}tar"}
2799
2800am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2801
2802
2803
2804
2805
2806ac_config_headers="$ac_config_headers config.h"
2807
2808# Check whether --enable-silent-rules was given.
2809if test "${enable_silent_rules+set}" = set; then :
2810  enableval=$enable_silent_rules;
2811fi
2812
2813case $enable_silent_rules in
2814yes) AM_DEFAULT_VERBOSITY=0;;
2815no)  AM_DEFAULT_VERBOSITY=1;;
2816*)   AM_DEFAULT_VERBOSITY=0;;
2817esac
2818AM_BACKSLASH='\'
2819
2820
2821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2822$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2823    # Check whether --enable-maintainer-mode was given.
2824if test "${enable_maintainer_mode+set}" = set; then :
2825  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2826else
2827  USE_MAINTAINER_MODE=no
2828fi
2829
2830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2831$as_echo "$USE_MAINTAINER_MODE" >&6; }
2832   if test $USE_MAINTAINER_MODE = yes; then
2833  MAINTAINER_MODE_TRUE=
2834  MAINTAINER_MODE_FALSE='#'
2835else
2836  MAINTAINER_MODE_TRUE='#'
2837  MAINTAINER_MODE_FALSE=
2838fi
2839
2840  MAINT=$MAINTAINER_MODE_TRUE
2841
2842
2843
2844
2845  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2846$as_echo_n "checking whether NLS is requested... " >&6; }
2847    # Check whether --enable-nls was given.
2848if test "${enable_nls+set}" = set; then :
2849  enableval=$enable_nls; USE_NLS=$enableval
2850else
2851  USE_NLS=yes
2852fi
2853
2854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2855$as_echo "$USE_NLS" >&6; }
2856
2857
2858DEPDIR="${am__leading_dot}deps"
2859
2860ac_config_commands="$ac_config_commands depfiles"
2861
2862
2863am_make=${MAKE-make}
2864cat > confinc << 'END'
2865am__doit:
2866	@echo this is the am__doit target
2867.PHONY: am__doit
2868END
2869# If we don't find an include directive, just comment out the code.
2870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2871$as_echo_n "checking for style of include used by $am_make... " >&6; }
2872am__include="#"
2873am__quote=
2874_am_result=none
2875# First try GNU make style include.
2876echo "include confinc" > confmf
2877# Ignore all kinds of additional output from `make'.
2878case `$am_make -s -f confmf 2> /dev/null` in #(
2879*the\ am__doit\ target*)
2880  am__include=include
2881  am__quote=
2882  _am_result=GNU
2883  ;;
2884esac
2885# Now try BSD make style include.
2886if test "$am__include" = "#"; then
2887   echo '.include "confinc"' > confmf
2888   case `$am_make -s -f confmf 2> /dev/null` in #(
2889   *the\ am__doit\ target*)
2890     am__include=.include
2891     am__quote="\""
2892     _am_result=BSD
2893     ;;
2894   esac
2895fi
2896
2897
2898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2899$as_echo "$_am_result" >&6; }
2900rm -f confinc confmf
2901
2902# Check whether --enable-dependency-tracking was given.
2903if test "${enable_dependency_tracking+set}" = set; then :
2904  enableval=$enable_dependency_tracking;
2905fi
2906
2907if test "x$enable_dependency_tracking" != xno; then
2908  am_depcomp="$ac_aux_dir/depcomp"
2909  AMDEPBACKSLASH='\'
2910fi
2911 if test "x$enable_dependency_tracking" != xno; then
2912  AMDEP_TRUE=
2913  AMDEP_FALSE='#'
2914else
2915  AMDEP_TRUE='#'
2916  AMDEP_FALSE=
2917fi
2918
2919
2920ac_ext=c
2921ac_cpp='$CPP $CPPFLAGS'
2922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2924ac_compiler_gnu=$ac_cv_c_compiler_gnu
2925if test -n "$ac_tool_prefix"; then
2926  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2927set dummy ${ac_tool_prefix}gcc; ac_word=$2
2928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929$as_echo_n "checking for $ac_word... " >&6; }
2930if ${ac_cv_prog_CC+:} false; then :
2931  $as_echo_n "(cached) " >&6
2932else
2933  if test -n "$CC"; then
2934  ac_cv_prog_CC="$CC" # Let the user override the test.
2935else
2936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2937for as_dir in $PATH
2938do
2939  IFS=$as_save_IFS
2940  test -z "$as_dir" && as_dir=.
2941    for ac_exec_ext in '' $ac_executable_extensions; do
2942  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2943    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2944    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945    break 2
2946  fi
2947done
2948  done
2949IFS=$as_save_IFS
2950
2951fi
2952fi
2953CC=$ac_cv_prog_CC
2954if test -n "$CC"; then
2955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956$as_echo "$CC" >&6; }
2957else
2958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959$as_echo "no" >&6; }
2960fi
2961
2962
2963fi
2964if test -z "$ac_cv_prog_CC"; then
2965  ac_ct_CC=$CC
2966  # Extract the first word of "gcc", so it can be a program name with args.
2967set dummy gcc; ac_word=$2
2968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969$as_echo_n "checking for $ac_word... " >&6; }
2970if ${ac_cv_prog_ac_ct_CC+:} false; then :
2971  $as_echo_n "(cached) " >&6
2972else
2973  if test -n "$ac_ct_CC"; then
2974  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2975else
2976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977for as_dir in $PATH
2978do
2979  IFS=$as_save_IFS
2980  test -z "$as_dir" && as_dir=.
2981    for ac_exec_ext in '' $ac_executable_extensions; do
2982  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2983    ac_cv_prog_ac_ct_CC="gcc"
2984    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985    break 2
2986  fi
2987done
2988  done
2989IFS=$as_save_IFS
2990
2991fi
2992fi
2993ac_ct_CC=$ac_cv_prog_ac_ct_CC
2994if test -n "$ac_ct_CC"; then
2995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2996$as_echo "$ac_ct_CC" >&6; }
2997else
2998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999$as_echo "no" >&6; }
3000fi
3001
3002  if test "x$ac_ct_CC" = x; then
3003    CC=""
3004  else
3005    case $cross_compiling:$ac_tool_warned in
3006yes:)
3007{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3008$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3009ac_tool_warned=yes ;;
3010esac
3011    CC=$ac_ct_CC
3012  fi
3013else
3014  CC="$ac_cv_prog_CC"
3015fi
3016
3017if test -z "$CC"; then
3018          if test -n "$ac_tool_prefix"; then
3019    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3020set dummy ${ac_tool_prefix}cc; ac_word=$2
3021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022$as_echo_n "checking for $ac_word... " >&6; }
3023if ${ac_cv_prog_CC+:} false; then :
3024  $as_echo_n "(cached) " >&6
3025else
3026  if test -n "$CC"; then
3027  ac_cv_prog_CC="$CC" # Let the user override the test.
3028else
3029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030for as_dir in $PATH
3031do
3032  IFS=$as_save_IFS
3033  test -z "$as_dir" && as_dir=.
3034    for ac_exec_ext in '' $ac_executable_extensions; do
3035  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036    ac_cv_prog_CC="${ac_tool_prefix}cc"
3037    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038    break 2
3039  fi
3040done
3041  done
3042IFS=$as_save_IFS
3043
3044fi
3045fi
3046CC=$ac_cv_prog_CC
3047if test -n "$CC"; then
3048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3049$as_echo "$CC" >&6; }
3050else
3051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052$as_echo "no" >&6; }
3053fi
3054
3055
3056  fi
3057fi
3058if test -z "$CC"; then
3059  # Extract the first word of "cc", so it can be a program name with args.
3060set dummy cc; ac_word=$2
3061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062$as_echo_n "checking for $ac_word... " >&6; }
3063if ${ac_cv_prog_CC+:} false; then :
3064  $as_echo_n "(cached) " >&6
3065else
3066  if test -n "$CC"; then
3067  ac_cv_prog_CC="$CC" # Let the user override the test.
3068else
3069  ac_prog_rejected=no
3070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071for as_dir in $PATH
3072do
3073  IFS=$as_save_IFS
3074  test -z "$as_dir" && as_dir=.
3075    for ac_exec_ext in '' $ac_executable_extensions; do
3076  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3077    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3078       ac_prog_rejected=yes
3079       continue
3080     fi
3081    ac_cv_prog_CC="cc"
3082    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083    break 2
3084  fi
3085done
3086  done
3087IFS=$as_save_IFS
3088
3089if test $ac_prog_rejected = yes; then
3090  # We found a bogon in the path, so make sure we never use it.
3091  set dummy $ac_cv_prog_CC
3092  shift
3093  if test $# != 0; then
3094    # We chose a different compiler from the bogus one.
3095    # However, it has the same basename, so the bogon will be chosen
3096    # first if we set CC to just the basename; use the full file name.
3097    shift
3098    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3099  fi
3100fi
3101fi
3102fi
3103CC=$ac_cv_prog_CC
3104if test -n "$CC"; then
3105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3106$as_echo "$CC" >&6; }
3107else
3108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3109$as_echo "no" >&6; }
3110fi
3111
3112
3113fi
3114if test -z "$CC"; then
3115  if test -n "$ac_tool_prefix"; then
3116  for ac_prog in cl.exe
3117  do
3118    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3119set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121$as_echo_n "checking for $ac_word... " >&6; }
3122if ${ac_cv_prog_CC+:} false; then :
3123  $as_echo_n "(cached) " >&6
3124else
3125  if test -n "$CC"; then
3126  ac_cv_prog_CC="$CC" # Let the user override the test.
3127else
3128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3129for as_dir in $PATH
3130do
3131  IFS=$as_save_IFS
3132  test -z "$as_dir" && as_dir=.
3133    for ac_exec_ext in '' $ac_executable_extensions; do
3134  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3135    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3136    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3137    break 2
3138  fi
3139done
3140  done
3141IFS=$as_save_IFS
3142
3143fi
3144fi
3145CC=$ac_cv_prog_CC
3146if test -n "$CC"; then
3147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3148$as_echo "$CC" >&6; }
3149else
3150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151$as_echo "no" >&6; }
3152fi
3153
3154
3155    test -n "$CC" && break
3156  done
3157fi
3158if test -z "$CC"; then
3159  ac_ct_CC=$CC
3160  for ac_prog in cl.exe
3161do
3162  # Extract the first word of "$ac_prog", so it can be a program name with args.
3163set dummy $ac_prog; ac_word=$2
3164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165$as_echo_n "checking for $ac_word... " >&6; }
3166if ${ac_cv_prog_ac_ct_CC+:} false; then :
3167  $as_echo_n "(cached) " >&6
3168else
3169  if test -n "$ac_ct_CC"; then
3170  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3171else
3172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173for as_dir in $PATH
3174do
3175  IFS=$as_save_IFS
3176  test -z "$as_dir" && as_dir=.
3177    for ac_exec_ext in '' $ac_executable_extensions; do
3178  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179    ac_cv_prog_ac_ct_CC="$ac_prog"
3180    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181    break 2
3182  fi
3183done
3184  done
3185IFS=$as_save_IFS
3186
3187fi
3188fi
3189ac_ct_CC=$ac_cv_prog_ac_ct_CC
3190if test -n "$ac_ct_CC"; then
3191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3192$as_echo "$ac_ct_CC" >&6; }
3193else
3194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195$as_echo "no" >&6; }
3196fi
3197
3198
3199  test -n "$ac_ct_CC" && break
3200done
3201
3202  if test "x$ac_ct_CC" = x; then
3203    CC=""
3204  else
3205    case $cross_compiling:$ac_tool_warned in
3206yes:)
3207{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3208$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3209ac_tool_warned=yes ;;
3210esac
3211    CC=$ac_ct_CC
3212  fi
3213fi
3214
3215fi
3216
3217
3218test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220as_fn_error $? "no acceptable C compiler found in \$PATH
3221See \`config.log' for more details" "$LINENO" 5; }
3222
3223# Provide some information about the compiler.
3224$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3225set X $ac_compile
3226ac_compiler=$2
3227for ac_option in --version -v -V -qversion; do
3228  { { ac_try="$ac_compiler $ac_option >&5"
3229case "(($ac_try" in
3230  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231  *) ac_try_echo=$ac_try;;
3232esac
3233eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3234$as_echo "$ac_try_echo"; } >&5
3235  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3236  ac_status=$?
3237  if test -s conftest.err; then
3238    sed '10a\
3239... rest of stderr output deleted ...
3240         10q' conftest.err >conftest.er1
3241    cat conftest.er1 >&5
3242  fi
3243  rm -f conftest.er1 conftest.err
3244  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3245  test $ac_status = 0; }
3246done
3247
3248cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249/* end confdefs.h.  */
3250
3251int
3252main ()
3253{
3254
3255  ;
3256  return 0;
3257}
3258_ACEOF
3259ac_clean_files_save=$ac_clean_files
3260ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3261# Try to create an executable without -o first, disregard a.out.
3262# It will help us diagnose broken compilers, and finding out an intuition
3263# of exeext.
3264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3265$as_echo_n "checking whether the C compiler works... " >&6; }
3266ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3267
3268# The possible output files:
3269ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3270
3271ac_rmfiles=
3272for ac_file in $ac_files
3273do
3274  case $ac_file in
3275    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3276    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3277  esac
3278done
3279rm -f $ac_rmfiles
3280
3281if { { ac_try="$ac_link_default"
3282case "(($ac_try" in
3283  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3284  *) ac_try_echo=$ac_try;;
3285esac
3286eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3287$as_echo "$ac_try_echo"; } >&5
3288  (eval "$ac_link_default") 2>&5
3289  ac_status=$?
3290  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3291  test $ac_status = 0; }; then :
3292  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3293# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3294# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3295# so that the user can short-circuit this test for compilers unknown to
3296# Autoconf.
3297for ac_file in $ac_files ''
3298do
3299  test -f "$ac_file" || continue
3300  case $ac_file in
3301    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3302	;;
3303    [ab].out )
3304	# We found the default executable, but exeext='' is most
3305	# certainly right.
3306	break;;
3307    *.* )
3308	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3309	then :; else
3310	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3311	fi
3312	# We set ac_cv_exeext here because the later test for it is not
3313	# safe: cross compilers may not add the suffix if given an `-o'
3314	# argument, so we may need to know it at that point already.
3315	# Even if this section looks crufty: it has the advantage of
3316	# actually working.
3317	break;;
3318    * )
3319	break;;
3320  esac
3321done
3322test "$ac_cv_exeext" = no && ac_cv_exeext=
3323
3324else
3325  ac_file=''
3326fi
3327if test -z "$ac_file"; then :
3328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329$as_echo "no" >&6; }
3330$as_echo "$as_me: failed program was:" >&5
3331sed 's/^/| /' conftest.$ac_ext >&5
3332
3333{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3334$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3335as_fn_error 77 "C compiler cannot create executables
3336See \`config.log' for more details" "$LINENO" 5; }
3337else
3338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3339$as_echo "yes" >&6; }
3340fi
3341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3342$as_echo_n "checking for C compiler default output file name... " >&6; }
3343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3344$as_echo "$ac_file" >&6; }
3345ac_exeext=$ac_cv_exeext
3346
3347rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3348ac_clean_files=$ac_clean_files_save
3349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3350$as_echo_n "checking for suffix of executables... " >&6; }
3351if { { ac_try="$ac_link"
3352case "(($ac_try" in
3353  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354  *) ac_try_echo=$ac_try;;
3355esac
3356eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3357$as_echo "$ac_try_echo"; } >&5
3358  (eval "$ac_link") 2>&5
3359  ac_status=$?
3360  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3361  test $ac_status = 0; }; then :
3362  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3363# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3364# work properly (i.e., refer to `conftest.exe'), while it won't with
3365# `rm'.
3366for ac_file in conftest.exe conftest conftest.*; do
3367  test -f "$ac_file" || continue
3368  case $ac_file in
3369    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3370    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3371	  break;;
3372    * ) break;;
3373  esac
3374done
3375else
3376  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3378as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3379See \`config.log' for more details" "$LINENO" 5; }
3380fi
3381rm -f conftest conftest$ac_cv_exeext
3382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3383$as_echo "$ac_cv_exeext" >&6; }
3384
3385rm -f conftest.$ac_ext
3386EXEEXT=$ac_cv_exeext
3387ac_exeext=$EXEEXT
3388cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389/* end confdefs.h.  */
3390#include <stdio.h>
3391int
3392main ()
3393{
3394FILE *f = fopen ("conftest.out", "w");
3395 return ferror (f) || fclose (f) != 0;
3396
3397  ;
3398  return 0;
3399}
3400_ACEOF
3401ac_clean_files="$ac_clean_files conftest.out"
3402# Check that the compiler produces executables we can run.  If not, either
3403# the compiler is broken, or we cross compile.
3404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3405$as_echo_n "checking whether we are cross compiling... " >&6; }
3406if test "$cross_compiling" != yes; then
3407  { { ac_try="$ac_link"
3408case "(($ac_try" in
3409  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410  *) ac_try_echo=$ac_try;;
3411esac
3412eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413$as_echo "$ac_try_echo"; } >&5
3414  (eval "$ac_link") 2>&5
3415  ac_status=$?
3416  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417  test $ac_status = 0; }
3418  if { ac_try='./conftest$ac_cv_exeext'
3419  { { case "(($ac_try" in
3420  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421  *) ac_try_echo=$ac_try;;
3422esac
3423eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424$as_echo "$ac_try_echo"; } >&5
3425  (eval "$ac_try") 2>&5
3426  ac_status=$?
3427  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428  test $ac_status = 0; }; }; then
3429    cross_compiling=no
3430  else
3431    if test "$cross_compiling" = maybe; then
3432	cross_compiling=yes
3433    else
3434	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436as_fn_error $? "cannot run C compiled programs.
3437If you meant to cross compile, use \`--host'.
3438See \`config.log' for more details" "$LINENO" 5; }
3439    fi
3440  fi
3441fi
3442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3443$as_echo "$cross_compiling" >&6; }
3444
3445rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3446ac_clean_files=$ac_clean_files_save
3447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3448$as_echo_n "checking for suffix of object files... " >&6; }
3449if ${ac_cv_objext+:} false; then :
3450  $as_echo_n "(cached) " >&6
3451else
3452  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453/* end confdefs.h.  */
3454
3455int
3456main ()
3457{
3458
3459  ;
3460  return 0;
3461}
3462_ACEOF
3463rm -f conftest.o conftest.obj
3464if { { ac_try="$ac_compile"
3465case "(($ac_try" in
3466  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467  *) ac_try_echo=$ac_try;;
3468esac
3469eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3470$as_echo "$ac_try_echo"; } >&5
3471  (eval "$ac_compile") 2>&5
3472  ac_status=$?
3473  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474  test $ac_status = 0; }; then :
3475  for ac_file in conftest.o conftest.obj conftest.*; do
3476  test -f "$ac_file" || continue;
3477  case $ac_file in
3478    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3479    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3480       break;;
3481  esac
3482done
3483else
3484  $as_echo "$as_me: failed program was:" >&5
3485sed 's/^/| /' conftest.$ac_ext >&5
3486
3487{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3488$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3489as_fn_error $? "cannot compute suffix of object files: cannot compile
3490See \`config.log' for more details" "$LINENO" 5; }
3491fi
3492rm -f conftest.$ac_cv_objext conftest.$ac_ext
3493fi
3494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3495$as_echo "$ac_cv_objext" >&6; }
3496OBJEXT=$ac_cv_objext
3497ac_objext=$OBJEXT
3498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3499$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3500if ${ac_cv_c_compiler_gnu+:} false; then :
3501  $as_echo_n "(cached) " >&6
3502else
3503  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504/* end confdefs.h.  */
3505
3506int
3507main ()
3508{
3509#ifndef __GNUC__
3510       choke me
3511#endif
3512
3513  ;
3514  return 0;
3515}
3516_ACEOF
3517if ac_fn_c_try_compile "$LINENO"; then :
3518  ac_compiler_gnu=yes
3519else
3520  ac_compiler_gnu=no
3521fi
3522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523ac_cv_c_compiler_gnu=$ac_compiler_gnu
3524
3525fi
3526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3527$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3528if test $ac_compiler_gnu = yes; then
3529  GCC=yes
3530else
3531  GCC=
3532fi
3533ac_test_CFLAGS=${CFLAGS+set}
3534ac_save_CFLAGS=$CFLAGS
3535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3536$as_echo_n "checking whether $CC accepts -g... " >&6; }
3537if ${ac_cv_prog_cc_g+:} false; then :
3538  $as_echo_n "(cached) " >&6
3539else
3540  ac_save_c_werror_flag=$ac_c_werror_flag
3541   ac_c_werror_flag=yes
3542   ac_cv_prog_cc_g=no
3543   CFLAGS="-g"
3544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545/* end confdefs.h.  */
3546
3547int
3548main ()
3549{
3550
3551  ;
3552  return 0;
3553}
3554_ACEOF
3555if ac_fn_c_try_compile "$LINENO"; then :
3556  ac_cv_prog_cc_g=yes
3557else
3558  CFLAGS=""
3559      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560/* end confdefs.h.  */
3561
3562int
3563main ()
3564{
3565
3566  ;
3567  return 0;
3568}
3569_ACEOF
3570if ac_fn_c_try_compile "$LINENO"; then :
3571
3572else
3573  ac_c_werror_flag=$ac_save_c_werror_flag
3574	 CFLAGS="-g"
3575	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576/* end confdefs.h.  */
3577
3578int
3579main ()
3580{
3581
3582  ;
3583  return 0;
3584}
3585_ACEOF
3586if ac_fn_c_try_compile "$LINENO"; then :
3587  ac_cv_prog_cc_g=yes
3588fi
3589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590fi
3591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592fi
3593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594   ac_c_werror_flag=$ac_save_c_werror_flag
3595fi
3596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3597$as_echo "$ac_cv_prog_cc_g" >&6; }
3598if test "$ac_test_CFLAGS" = set; then
3599  CFLAGS=$ac_save_CFLAGS
3600elif test $ac_cv_prog_cc_g = yes; then
3601  if test "$GCC" = yes; then
3602    CFLAGS="-g -O2"
3603  else
3604    CFLAGS="-g"
3605  fi
3606else
3607  if test "$GCC" = yes; then
3608    CFLAGS="-O2"
3609  else
3610    CFLAGS=
3611  fi
3612fi
3613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3614$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3615if ${ac_cv_prog_cc_c89+:} false; then :
3616  $as_echo_n "(cached) " >&6
3617else
3618  ac_cv_prog_cc_c89=no
3619ac_save_CC=$CC
3620cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621/* end confdefs.h.  */
3622#include <stdarg.h>
3623#include <stdio.h>
3624#include <sys/types.h>
3625#include <sys/stat.h>
3626/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3627struct buf { int x; };
3628FILE * (*rcsopen) (struct buf *, struct stat *, int);
3629static char *e (p, i)
3630     char **p;
3631     int i;
3632{
3633  return p[i];
3634}
3635static char *f (char * (*g) (char **, int), char **p, ...)
3636{
3637  char *s;
3638  va_list v;
3639  va_start (v,p);
3640  s = g (p, va_arg (v,int));
3641  va_end (v);
3642  return s;
3643}
3644
3645/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3646   function prototypes and stuff, but not '\xHH' hex character constants.
3647   These don't provoke an error unfortunately, instead are silently treated
3648   as 'x'.  The following induces an error, until -std is added to get
3649   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3650   array size at least.  It's necessary to write '\x00'==0 to get something
3651   that's true only with -std.  */
3652int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3653
3654/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3655   inside strings and character constants.  */
3656#define FOO(x) 'x'
3657int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3658
3659int test (int i, double x);
3660struct s1 {int (*f) (int a);};
3661struct s2 {int (*f) (double a);};
3662int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3663int argc;
3664char **argv;
3665int
3666main ()
3667{
3668return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3669  ;
3670  return 0;
3671}
3672_ACEOF
3673for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3674	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3675do
3676  CC="$ac_save_CC $ac_arg"
3677  if ac_fn_c_try_compile "$LINENO"; then :
3678  ac_cv_prog_cc_c89=$ac_arg
3679fi
3680rm -f core conftest.err conftest.$ac_objext
3681  test "x$ac_cv_prog_cc_c89" != "xno" && break
3682done
3683rm -f conftest.$ac_ext
3684CC=$ac_save_CC
3685
3686fi
3687# AC_CACHE_VAL
3688case "x$ac_cv_prog_cc_c89" in
3689  x)
3690    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3691$as_echo "none needed" >&6; } ;;
3692  xno)
3693    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3694$as_echo "unsupported" >&6; } ;;
3695  *)
3696    CC="$CC $ac_cv_prog_cc_c89"
3697    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3698$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3699esac
3700if test "x$ac_cv_prog_cc_c89" != xno; then :
3701
3702fi
3703
3704ac_ext=c
3705ac_cpp='$CPP $CPPFLAGS'
3706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708ac_compiler_gnu=$ac_cv_c_compiler_gnu
3709
3710depcc="$CC"   am_compiler_list=
3711
3712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3713$as_echo_n "checking dependency style of $depcc... " >&6; }
3714if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3715  $as_echo_n "(cached) " >&6
3716else
3717  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3718  # We make a subdir and do the tests there.  Otherwise we can end up
3719  # making bogus files that we don't know about and never remove.  For
3720  # instance it was reported that on HP-UX the gcc test will end up
3721  # making a dummy file named `D' -- because `-MD' means `put the output
3722  # in D'.
3723  mkdir conftest.dir
3724  # Copy depcomp to subdir because otherwise we won't find it if we're
3725  # using a relative directory.
3726  cp "$am_depcomp" conftest.dir
3727  cd conftest.dir
3728  # We will build objects and dependencies in a subdirectory because
3729  # it helps to detect inapplicable dependency modes.  For instance
3730  # both Tru64's cc and ICC support -MD to output dependencies as a
3731  # side effect of compilation, but ICC will put the dependencies in
3732  # the current directory while Tru64 will put them in the object
3733  # directory.
3734  mkdir sub
3735
3736  am_cv_CC_dependencies_compiler_type=none
3737  if test "$am_compiler_list" = ""; then
3738     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3739  fi
3740  am__universal=false
3741  case " $depcc " in #(
3742     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3743     esac
3744
3745  for depmode in $am_compiler_list; do
3746    # Setup a source with many dependencies, because some compilers
3747    # like to wrap large dependency lists on column 80 (with \), and
3748    # we should not choose a depcomp mode which is confused by this.
3749    #
3750    # We need to recreate these files for each test, as the compiler may
3751    # overwrite some of them when testing with obscure command lines.
3752    # This happens at least with the AIX C compiler.
3753    : > sub/conftest.c
3754    for i in 1 2 3 4 5 6; do
3755      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3756      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3757      # Solaris 8's {/usr,}/bin/sh.
3758      touch sub/conftst$i.h
3759    done
3760    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3761
3762    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3763    # mode.  It turns out that the SunPro C++ compiler does not properly
3764    # handle `-M -o', and we need to detect this.  Also, some Intel
3765    # versions had trouble with output in subdirs
3766    am__obj=sub/conftest.${OBJEXT-o}
3767    am__minus_obj="-o $am__obj"
3768    case $depmode in
3769    gcc)
3770      # This depmode causes a compiler race in universal mode.
3771      test "$am__universal" = false || continue
3772      ;;
3773    nosideeffect)
3774      # after this tag, mechanisms are not by side-effect, so they'll
3775      # only be used when explicitly requested
3776      if test "x$enable_dependency_tracking" = xyes; then
3777	continue
3778      else
3779	break
3780      fi
3781      ;;
3782    msvisualcpp | msvcmsys)
3783      # This compiler won't grok `-c -o', but also, the minuso test has
3784      # not run yet.  These depmodes are late enough in the game, and
3785      # so weak that their functioning should not be impacted.
3786      am__obj=conftest.${OBJEXT-o}
3787      am__minus_obj=
3788      ;;
3789    none) break ;;
3790    esac
3791    if depmode=$depmode \
3792       source=sub/conftest.c object=$am__obj \
3793       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3794       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3795         >/dev/null 2>conftest.err &&
3796       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3797       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3798       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3799       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3800      # icc doesn't choke on unknown options, it will just issue warnings
3801      # or remarks (even with -Werror).  So we grep stderr for any message
3802      # that says an option was ignored or not supported.
3803      # When given -MP, icc 7.0 and 7.1 complain thusly:
3804      #   icc: Command line warning: ignoring option '-M'; no argument required
3805      # The diagnosis changed in icc 8.0:
3806      #   icc: Command line remark: option '-MP' not supported
3807      if (grep 'ignoring option' conftest.err ||
3808          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3809        am_cv_CC_dependencies_compiler_type=$depmode
3810        break
3811      fi
3812    fi
3813  done
3814
3815  cd ..
3816  rm -rf conftest.dir
3817else
3818  am_cv_CC_dependencies_compiler_type=none
3819fi
3820
3821fi
3822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3823$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3824CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3825
3826 if
3827  test "x$enable_dependency_tracking" != xno \
3828  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3829  am__fastdepCC_TRUE=
3830  am__fastdepCC_FALSE='#'
3831else
3832  am__fastdepCC_TRUE='#'
3833  am__fastdepCC_FALSE=
3834fi
3835
3836
3837
3838
3839
3840case "$am__api_version" in
3841    1.01234)
3842	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3843    ;;
3844    *)
3845    ;;
3846esac
3847
3848if test -n "0.35.0"; then
3849    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
3850$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3851
3852    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3853    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3854    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3855
3856    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3857$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3858    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3859	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
3860fi
3861
3862# Extract the first word of "intltool-update", so it can be a program name with args.
3863set dummy intltool-update; ac_word=$2
3864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3865$as_echo_n "checking for $ac_word... " >&6; }
3866if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3867  $as_echo_n "(cached) " >&6
3868else
3869  case $INTLTOOL_UPDATE in
3870  [\\/]* | ?:[\\/]*)
3871  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3872  ;;
3873  *)
3874  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3875for as_dir in $PATH
3876do
3877  IFS=$as_save_IFS
3878  test -z "$as_dir" && as_dir=.
3879    for ac_exec_ext in '' $ac_executable_extensions; do
3880  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3881    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3882    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3883    break 2
3884  fi
3885done
3886  done
3887IFS=$as_save_IFS
3888
3889  ;;
3890esac
3891fi
3892INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3893if test -n "$INTLTOOL_UPDATE"; then
3894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3895$as_echo "$INTLTOOL_UPDATE" >&6; }
3896else
3897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3898$as_echo "no" >&6; }
3899fi
3900
3901
3902# Extract the first word of "intltool-merge", so it can be a program name with args.
3903set dummy intltool-merge; ac_word=$2
3904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3905$as_echo_n "checking for $ac_word... " >&6; }
3906if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
3907  $as_echo_n "(cached) " >&6
3908else
3909  case $INTLTOOL_MERGE in
3910  [\\/]* | ?:[\\/]*)
3911  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3912  ;;
3913  *)
3914  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915for as_dir in $PATH
3916do
3917  IFS=$as_save_IFS
3918  test -z "$as_dir" && as_dir=.
3919    for ac_exec_ext in '' $ac_executable_extensions; do
3920  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3921    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3922    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3923    break 2
3924  fi
3925done
3926  done
3927IFS=$as_save_IFS
3928
3929  ;;
3930esac
3931fi
3932INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3933if test -n "$INTLTOOL_MERGE"; then
3934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3935$as_echo "$INTLTOOL_MERGE" >&6; }
3936else
3937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938$as_echo "no" >&6; }
3939fi
3940
3941
3942# Extract the first word of "intltool-extract", so it can be a program name with args.
3943set dummy intltool-extract; ac_word=$2
3944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945$as_echo_n "checking for $ac_word... " >&6; }
3946if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
3947  $as_echo_n "(cached) " >&6
3948else
3949  case $INTLTOOL_EXTRACT in
3950  [\\/]* | ?:[\\/]*)
3951  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3952  ;;
3953  *)
3954  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3955for as_dir in $PATH
3956do
3957  IFS=$as_save_IFS
3958  test -z "$as_dir" && as_dir=.
3959    for ac_exec_ext in '' $ac_executable_extensions; do
3960  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3961    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3962    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3963    break 2
3964  fi
3965done
3966  done
3967IFS=$as_save_IFS
3968
3969  ;;
3970esac
3971fi
3972INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3973if test -n "$INTLTOOL_EXTRACT"; then
3974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
3975$as_echo "$INTLTOOL_EXTRACT" >&6; }
3976else
3977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978$as_echo "no" >&6; }
3979fi
3980
3981
3982if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3983    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
3984fi
3985
3986  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 $< $@'
3987INTLTOOL_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 $< $@'
3988     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 $< $@'
3989     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 $< $@'
3990      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
3991     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 $< $@'
3992   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 $< $@'
3993    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 $< $@'
3994INTLTOOL_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 $< $@'
3995       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 $< $@'
3996      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 $< $@'
3997      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
3998      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 $< $@'
3999      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 $< $@'
4000    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 $< $@'
4001  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 $< $@'
4002    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 $< $@'
4003    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 $< $@'
4004   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 $< $@'
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102# Check the gettext tools to make sure they are GNU
4103# Extract the first word of "xgettext", so it can be a program name with args.
4104set dummy xgettext; ac_word=$2
4105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4106$as_echo_n "checking for $ac_word... " >&6; }
4107if ${ac_cv_path_XGETTEXT+:} false; then :
4108  $as_echo_n "(cached) " >&6
4109else
4110  case $XGETTEXT in
4111  [\\/]* | ?:[\\/]*)
4112  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4113  ;;
4114  *)
4115  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4116for as_dir in $PATH
4117do
4118  IFS=$as_save_IFS
4119  test -z "$as_dir" && as_dir=.
4120    for ac_exec_ext in '' $ac_executable_extensions; do
4121  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4122    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4123    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4124    break 2
4125  fi
4126done
4127  done
4128IFS=$as_save_IFS
4129
4130  ;;
4131esac
4132fi
4133XGETTEXT=$ac_cv_path_XGETTEXT
4134if test -n "$XGETTEXT"; then
4135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4136$as_echo "$XGETTEXT" >&6; }
4137else
4138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139$as_echo "no" >&6; }
4140fi
4141
4142
4143# Extract the first word of "msgmerge", so it can be a program name with args.
4144set dummy msgmerge; ac_word=$2
4145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4146$as_echo_n "checking for $ac_word... " >&6; }
4147if ${ac_cv_path_MSGMERGE+:} false; then :
4148  $as_echo_n "(cached) " >&6
4149else
4150  case $MSGMERGE in
4151  [\\/]* | ?:[\\/]*)
4152  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4153  ;;
4154  *)
4155  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4156for as_dir in $PATH
4157do
4158  IFS=$as_save_IFS
4159  test -z "$as_dir" && as_dir=.
4160    for ac_exec_ext in '' $ac_executable_extensions; do
4161  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4162    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4163    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4164    break 2
4165  fi
4166done
4167  done
4168IFS=$as_save_IFS
4169
4170  ;;
4171esac
4172fi
4173MSGMERGE=$ac_cv_path_MSGMERGE
4174if test -n "$MSGMERGE"; then
4175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4176$as_echo "$MSGMERGE" >&6; }
4177else
4178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4179$as_echo "no" >&6; }
4180fi
4181
4182
4183# Extract the first word of "msgfmt", so it can be a program name with args.
4184set dummy msgfmt; ac_word=$2
4185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4186$as_echo_n "checking for $ac_word... " >&6; }
4187if ${ac_cv_path_MSGFMT+:} false; then :
4188  $as_echo_n "(cached) " >&6
4189else
4190  case $MSGFMT in
4191  [\\/]* | ?:[\\/]*)
4192  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4193  ;;
4194  *)
4195  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4196for as_dir in $PATH
4197do
4198  IFS=$as_save_IFS
4199  test -z "$as_dir" && as_dir=.
4200    for ac_exec_ext in '' $ac_executable_extensions; do
4201  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4202    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4203    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4204    break 2
4205  fi
4206done
4207  done
4208IFS=$as_save_IFS
4209
4210  ;;
4211esac
4212fi
4213MSGFMT=$ac_cv_path_MSGFMT
4214if test -n "$MSGFMT"; then
4215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4216$as_echo "$MSGFMT" >&6; }
4217else
4218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4219$as_echo "no" >&6; }
4220fi
4221
4222
4223# Extract the first word of "gmsgfmt", so it can be a program name with args.
4224set dummy gmsgfmt; ac_word=$2
4225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226$as_echo_n "checking for $ac_word... " >&6; }
4227if ${ac_cv_path_GMSGFMT+:} false; then :
4228  $as_echo_n "(cached) " >&6
4229else
4230  case $GMSGFMT in
4231  [\\/]* | ?:[\\/]*)
4232  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4233  ;;
4234  *)
4235  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4236for as_dir in $PATH
4237do
4238  IFS=$as_save_IFS
4239  test -z "$as_dir" && as_dir=.
4240    for ac_exec_ext in '' $ac_executable_extensions; do
4241  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4242    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4243    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4244    break 2
4245  fi
4246done
4247  done
4248IFS=$as_save_IFS
4249
4250  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4251  ;;
4252esac
4253fi
4254GMSGFMT=$ac_cv_path_GMSGFMT
4255if test -n "$GMSGFMT"; then
4256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4257$as_echo "$GMSGFMT" >&6; }
4258else
4259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4260$as_echo "no" >&6; }
4261fi
4262
4263
4264if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4265    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4266fi
4267xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4268mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4269mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4270if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4271    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4272fi
4273
4274# Extract the first word of "perl", so it can be a program name with args.
4275set dummy perl; ac_word=$2
4276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4277$as_echo_n "checking for $ac_word... " >&6; }
4278if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4279  $as_echo_n "(cached) " >&6
4280else
4281  case $INTLTOOL_PERL in
4282  [\\/]* | ?:[\\/]*)
4283  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4284  ;;
4285  *)
4286  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287for as_dir in $PATH
4288do
4289  IFS=$as_save_IFS
4290  test -z "$as_dir" && as_dir=.
4291    for ac_exec_ext in '' $ac_executable_extensions; do
4292  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4293    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4294    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295    break 2
4296  fi
4297done
4298  done
4299IFS=$as_save_IFS
4300
4301  ;;
4302esac
4303fi
4304INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4305if test -n "$INTLTOOL_PERL"; then
4306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4307$as_echo "$INTLTOOL_PERL" >&6; }
4308else
4309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4310$as_echo "no" >&6; }
4311fi
4312
4313
4314if test -z "$INTLTOOL_PERL"; then
4315   as_fn_error $? "perl not found" "$LINENO" 5
4316fi
4317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4318$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4319$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4320if test $? -ne 0; then
4321   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4322else
4323   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4325$as_echo "$IT_PERL_VERSION" >&6; }
4326fi
4327if test "x" != "xno-xml"; then
4328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4329$as_echo_n "checking for XML::Parser... " >&6; }
4330   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4331       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4332$as_echo "ok" >&6; }
4333   else
4334       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4335   fi
4336fi
4337
4338# Substitute ALL_LINGUAS so we can use it in po/Makefile
4339
4340
4341# Set DATADIRNAME correctly if it is not set yet
4342# (copied from glib-gettext.m4)
4343if test -z "$DATADIRNAME"; then
4344  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345/* end confdefs.h.  */
4346
4347int
4348main ()
4349{
4350extern int _nl_msg_cat_cntr;
4351                       return _nl_msg_cat_cntr
4352  ;
4353  return 0;
4354}
4355_ACEOF
4356if ac_fn_c_try_link "$LINENO"; then :
4357  DATADIRNAME=share
4358else
4359  case $host in
4360    *-*-solaris*)
4361                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4362if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4363  DATADIRNAME=share
4364else
4365  DATADIRNAME=share
4366fi
4367
4368    ;;
4369    *)
4370    DATADIRNAME=share
4371    ;;
4372    esac
4373fi
4374rm -f core conftest.err conftest.$ac_objext \
4375    conftest$ac_exeext conftest.$ac_ext
4376fi
4377
4378
4379
4380
4381
4382
4383ac_ext=c
4384ac_cpp='$CPP $CPPFLAGS'
4385ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4386ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4387ac_compiler_gnu=$ac_cv_c_compiler_gnu
4388if test -n "$ac_tool_prefix"; then
4389  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4390set dummy ${ac_tool_prefix}gcc; ac_word=$2
4391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392$as_echo_n "checking for $ac_word... " >&6; }
4393if ${ac_cv_prog_CC+:} false; then :
4394  $as_echo_n "(cached) " >&6
4395else
4396  if test -n "$CC"; then
4397  ac_cv_prog_CC="$CC" # Let the user override the test.
4398else
4399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400for as_dir in $PATH
4401do
4402  IFS=$as_save_IFS
4403  test -z "$as_dir" && as_dir=.
4404    for ac_exec_ext in '' $ac_executable_extensions; do
4405  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4406    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4407    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408    break 2
4409  fi
4410done
4411  done
4412IFS=$as_save_IFS
4413
4414fi
4415fi
4416CC=$ac_cv_prog_CC
4417if test -n "$CC"; then
4418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4419$as_echo "$CC" >&6; }
4420else
4421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422$as_echo "no" >&6; }
4423fi
4424
4425
4426fi
4427if test -z "$ac_cv_prog_CC"; then
4428  ac_ct_CC=$CC
4429  # Extract the first word of "gcc", so it can be a program name with args.
4430set dummy gcc; ac_word=$2
4431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432$as_echo_n "checking for $ac_word... " >&6; }
4433if ${ac_cv_prog_ac_ct_CC+:} false; then :
4434  $as_echo_n "(cached) " >&6
4435else
4436  if test -n "$ac_ct_CC"; then
4437  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4438else
4439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440for as_dir in $PATH
4441do
4442  IFS=$as_save_IFS
4443  test -z "$as_dir" && as_dir=.
4444    for ac_exec_ext in '' $ac_executable_extensions; do
4445  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4446    ac_cv_prog_ac_ct_CC="gcc"
4447    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448    break 2
4449  fi
4450done
4451  done
4452IFS=$as_save_IFS
4453
4454fi
4455fi
4456ac_ct_CC=$ac_cv_prog_ac_ct_CC
4457if test -n "$ac_ct_CC"; then
4458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4459$as_echo "$ac_ct_CC" >&6; }
4460else
4461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462$as_echo "no" >&6; }
4463fi
4464
4465  if test "x$ac_ct_CC" = x; then
4466    CC=""
4467  else
4468    case $cross_compiling:$ac_tool_warned in
4469yes:)
4470{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4471$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4472ac_tool_warned=yes ;;
4473esac
4474    CC=$ac_ct_CC
4475  fi
4476else
4477  CC="$ac_cv_prog_CC"
4478fi
4479
4480if test -z "$CC"; then
4481          if test -n "$ac_tool_prefix"; then
4482    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4483set dummy ${ac_tool_prefix}cc; ac_word=$2
4484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4485$as_echo_n "checking for $ac_word... " >&6; }
4486if ${ac_cv_prog_CC+:} false; then :
4487  $as_echo_n "(cached) " >&6
4488else
4489  if test -n "$CC"; then
4490  ac_cv_prog_CC="$CC" # Let the user override the test.
4491else
4492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4493for as_dir in $PATH
4494do
4495  IFS=$as_save_IFS
4496  test -z "$as_dir" && as_dir=.
4497    for ac_exec_ext in '' $ac_executable_extensions; do
4498  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4499    ac_cv_prog_CC="${ac_tool_prefix}cc"
4500    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4501    break 2
4502  fi
4503done
4504  done
4505IFS=$as_save_IFS
4506
4507fi
4508fi
4509CC=$ac_cv_prog_CC
4510if test -n "$CC"; then
4511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4512$as_echo "$CC" >&6; }
4513else
4514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515$as_echo "no" >&6; }
4516fi
4517
4518
4519  fi
4520fi
4521if test -z "$CC"; then
4522  # Extract the first word of "cc", so it can be a program name with args.
4523set dummy cc; ac_word=$2
4524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525$as_echo_n "checking for $ac_word... " >&6; }
4526if ${ac_cv_prog_CC+:} false; then :
4527  $as_echo_n "(cached) " >&6
4528else
4529  if test -n "$CC"; then
4530  ac_cv_prog_CC="$CC" # Let the user override the test.
4531else
4532  ac_prog_rejected=no
4533as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534for as_dir in $PATH
4535do
4536  IFS=$as_save_IFS
4537  test -z "$as_dir" && as_dir=.
4538    for ac_exec_ext in '' $ac_executable_extensions; do
4539  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4540    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4541       ac_prog_rejected=yes
4542       continue
4543     fi
4544    ac_cv_prog_CC="cc"
4545    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4546    break 2
4547  fi
4548done
4549  done
4550IFS=$as_save_IFS
4551
4552if test $ac_prog_rejected = yes; then
4553  # We found a bogon in the path, so make sure we never use it.
4554  set dummy $ac_cv_prog_CC
4555  shift
4556  if test $# != 0; then
4557    # We chose a different compiler from the bogus one.
4558    # However, it has the same basename, so the bogon will be chosen
4559    # first if we set CC to just the basename; use the full file name.
4560    shift
4561    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4562  fi
4563fi
4564fi
4565fi
4566CC=$ac_cv_prog_CC
4567if test -n "$CC"; then
4568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4569$as_echo "$CC" >&6; }
4570else
4571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572$as_echo "no" >&6; }
4573fi
4574
4575
4576fi
4577if test -z "$CC"; then
4578  if test -n "$ac_tool_prefix"; then
4579  for ac_prog in cl.exe
4580  do
4581    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4582set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4584$as_echo_n "checking for $ac_word... " >&6; }
4585if ${ac_cv_prog_CC+:} false; then :
4586  $as_echo_n "(cached) " >&6
4587else
4588  if test -n "$CC"; then
4589  ac_cv_prog_CC="$CC" # Let the user override the test.
4590else
4591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592for as_dir in $PATH
4593do
4594  IFS=$as_save_IFS
4595  test -z "$as_dir" && as_dir=.
4596    for ac_exec_ext in '' $ac_executable_extensions; do
4597  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4598    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4599    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600    break 2
4601  fi
4602done
4603  done
4604IFS=$as_save_IFS
4605
4606fi
4607fi
4608CC=$ac_cv_prog_CC
4609if test -n "$CC"; then
4610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4611$as_echo "$CC" >&6; }
4612else
4613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4614$as_echo "no" >&6; }
4615fi
4616
4617
4618    test -n "$CC" && break
4619  done
4620fi
4621if test -z "$CC"; then
4622  ac_ct_CC=$CC
4623  for ac_prog in cl.exe
4624do
4625  # Extract the first word of "$ac_prog", so it can be a program name with args.
4626set dummy $ac_prog; ac_word=$2
4627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4628$as_echo_n "checking for $ac_word... " >&6; }
4629if ${ac_cv_prog_ac_ct_CC+:} false; then :
4630  $as_echo_n "(cached) " >&6
4631else
4632  if test -n "$ac_ct_CC"; then
4633  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4634else
4635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4636for as_dir in $PATH
4637do
4638  IFS=$as_save_IFS
4639  test -z "$as_dir" && as_dir=.
4640    for ac_exec_ext in '' $ac_executable_extensions; do
4641  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4642    ac_cv_prog_ac_ct_CC="$ac_prog"
4643    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644    break 2
4645  fi
4646done
4647  done
4648IFS=$as_save_IFS
4649
4650fi
4651fi
4652ac_ct_CC=$ac_cv_prog_ac_ct_CC
4653if test -n "$ac_ct_CC"; then
4654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4655$as_echo "$ac_ct_CC" >&6; }
4656else
4657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4658$as_echo "no" >&6; }
4659fi
4660
4661
4662  test -n "$ac_ct_CC" && break
4663done
4664
4665  if test "x$ac_ct_CC" = x; then
4666    CC=""
4667  else
4668    case $cross_compiling:$ac_tool_warned in
4669yes:)
4670{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4671$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4672ac_tool_warned=yes ;;
4673esac
4674    CC=$ac_ct_CC
4675  fi
4676fi
4677
4678fi
4679
4680
4681test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4682$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4683as_fn_error $? "no acceptable C compiler found in \$PATH
4684See \`config.log' for more details" "$LINENO" 5; }
4685
4686# Provide some information about the compiler.
4687$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4688set X $ac_compile
4689ac_compiler=$2
4690for ac_option in --version -v -V -qversion; do
4691  { { ac_try="$ac_compiler $ac_option >&5"
4692case "(($ac_try" in
4693  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4694  *) ac_try_echo=$ac_try;;
4695esac
4696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4697$as_echo "$ac_try_echo"; } >&5
4698  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4699  ac_status=$?
4700  if test -s conftest.err; then
4701    sed '10a\
4702... rest of stderr output deleted ...
4703         10q' conftest.err >conftest.er1
4704    cat conftest.er1 >&5
4705  fi
4706  rm -f conftest.er1 conftest.err
4707  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4708  test $ac_status = 0; }
4709done
4710
4711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4712$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4713if ${ac_cv_c_compiler_gnu+:} false; then :
4714  $as_echo_n "(cached) " >&6
4715else
4716  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4717/* end confdefs.h.  */
4718
4719int
4720main ()
4721{
4722#ifndef __GNUC__
4723       choke me
4724#endif
4725
4726  ;
4727  return 0;
4728}
4729_ACEOF
4730if ac_fn_c_try_compile "$LINENO"; then :
4731  ac_compiler_gnu=yes
4732else
4733  ac_compiler_gnu=no
4734fi
4735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4736ac_cv_c_compiler_gnu=$ac_compiler_gnu
4737
4738fi
4739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4740$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4741if test $ac_compiler_gnu = yes; then
4742  GCC=yes
4743else
4744  GCC=
4745fi
4746ac_test_CFLAGS=${CFLAGS+set}
4747ac_save_CFLAGS=$CFLAGS
4748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4749$as_echo_n "checking whether $CC accepts -g... " >&6; }
4750if ${ac_cv_prog_cc_g+:} false; then :
4751  $as_echo_n "(cached) " >&6
4752else
4753  ac_save_c_werror_flag=$ac_c_werror_flag
4754   ac_c_werror_flag=yes
4755   ac_cv_prog_cc_g=no
4756   CFLAGS="-g"
4757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4758/* end confdefs.h.  */
4759
4760int
4761main ()
4762{
4763
4764  ;
4765  return 0;
4766}
4767_ACEOF
4768if ac_fn_c_try_compile "$LINENO"; then :
4769  ac_cv_prog_cc_g=yes
4770else
4771  CFLAGS=""
4772      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773/* end confdefs.h.  */
4774
4775int
4776main ()
4777{
4778
4779  ;
4780  return 0;
4781}
4782_ACEOF
4783if ac_fn_c_try_compile "$LINENO"; then :
4784
4785else
4786  ac_c_werror_flag=$ac_save_c_werror_flag
4787	 CFLAGS="-g"
4788	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4789/* end confdefs.h.  */
4790
4791int
4792main ()
4793{
4794
4795  ;
4796  return 0;
4797}
4798_ACEOF
4799if ac_fn_c_try_compile "$LINENO"; then :
4800  ac_cv_prog_cc_g=yes
4801fi
4802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4803fi
4804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4805fi
4806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4807   ac_c_werror_flag=$ac_save_c_werror_flag
4808fi
4809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4810$as_echo "$ac_cv_prog_cc_g" >&6; }
4811if test "$ac_test_CFLAGS" = set; then
4812  CFLAGS=$ac_save_CFLAGS
4813elif test $ac_cv_prog_cc_g = yes; then
4814  if test "$GCC" = yes; then
4815    CFLAGS="-g -O2"
4816  else
4817    CFLAGS="-g"
4818  fi
4819else
4820  if test "$GCC" = yes; then
4821    CFLAGS="-O2"
4822  else
4823    CFLAGS=
4824  fi
4825fi
4826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4827$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4828if ${ac_cv_prog_cc_c89+:} false; then :
4829  $as_echo_n "(cached) " >&6
4830else
4831  ac_cv_prog_cc_c89=no
4832ac_save_CC=$CC
4833cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4834/* end confdefs.h.  */
4835#include <stdarg.h>
4836#include <stdio.h>
4837#include <sys/types.h>
4838#include <sys/stat.h>
4839/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4840struct buf { int x; };
4841FILE * (*rcsopen) (struct buf *, struct stat *, int);
4842static char *e (p, i)
4843     char **p;
4844     int i;
4845{
4846  return p[i];
4847}
4848static char *f (char * (*g) (char **, int), char **p, ...)
4849{
4850  char *s;
4851  va_list v;
4852  va_start (v,p);
4853  s = g (p, va_arg (v,int));
4854  va_end (v);
4855  return s;
4856}
4857
4858/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4859   function prototypes and stuff, but not '\xHH' hex character constants.
4860   These don't provoke an error unfortunately, instead are silently treated
4861   as 'x'.  The following induces an error, until -std is added to get
4862   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4863   array size at least.  It's necessary to write '\x00'==0 to get something
4864   that's true only with -std.  */
4865int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4866
4867/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4868   inside strings and character constants.  */
4869#define FOO(x) 'x'
4870int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4871
4872int test (int i, double x);
4873struct s1 {int (*f) (int a);};
4874struct s2 {int (*f) (double a);};
4875int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4876int argc;
4877char **argv;
4878int
4879main ()
4880{
4881return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4882  ;
4883  return 0;
4884}
4885_ACEOF
4886for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4887	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4888do
4889  CC="$ac_save_CC $ac_arg"
4890  if ac_fn_c_try_compile "$LINENO"; then :
4891  ac_cv_prog_cc_c89=$ac_arg
4892fi
4893rm -f core conftest.err conftest.$ac_objext
4894  test "x$ac_cv_prog_cc_c89" != "xno" && break
4895done
4896rm -f conftest.$ac_ext
4897CC=$ac_save_CC
4898
4899fi
4900# AC_CACHE_VAL
4901case "x$ac_cv_prog_cc_c89" in
4902  x)
4903    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4904$as_echo "none needed" >&6; } ;;
4905  xno)
4906    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4907$as_echo "unsupported" >&6; } ;;
4908  *)
4909    CC="$CC $ac_cv_prog_cc_c89"
4910    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4911$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4912esac
4913if test "x$ac_cv_prog_cc_c89" != xno; then :
4914
4915fi
4916
4917ac_ext=c
4918ac_cpp='$CPP $CPPFLAGS'
4919ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4920ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4921ac_compiler_gnu=$ac_cv_c_compiler_gnu
4922
4923depcc="$CC"   am_compiler_list=
4924
4925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4926$as_echo_n "checking dependency style of $depcc... " >&6; }
4927if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4928  $as_echo_n "(cached) " >&6
4929else
4930  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4931  # We make a subdir and do the tests there.  Otherwise we can end up
4932  # making bogus files that we don't know about and never remove.  For
4933  # instance it was reported that on HP-UX the gcc test will end up
4934  # making a dummy file named `D' -- because `-MD' means `put the output
4935  # in D'.
4936  mkdir conftest.dir
4937  # Copy depcomp to subdir because otherwise we won't find it if we're
4938  # using a relative directory.
4939  cp "$am_depcomp" conftest.dir
4940  cd conftest.dir
4941  # We will build objects and dependencies in a subdirectory because
4942  # it helps to detect inapplicable dependency modes.  For instance
4943  # both Tru64's cc and ICC support -MD to output dependencies as a
4944  # side effect of compilation, but ICC will put the dependencies in
4945  # the current directory while Tru64 will put them in the object
4946  # directory.
4947  mkdir sub
4948
4949  am_cv_CC_dependencies_compiler_type=none
4950  if test "$am_compiler_list" = ""; then
4951     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4952  fi
4953  am__universal=false
4954  case " $depcc " in #(
4955     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4956     esac
4957
4958  for depmode in $am_compiler_list; do
4959    # Setup a source with many dependencies, because some compilers
4960    # like to wrap large dependency lists on column 80 (with \), and
4961    # we should not choose a depcomp mode which is confused by this.
4962    #
4963    # We need to recreate these files for each test, as the compiler may
4964    # overwrite some of them when testing with obscure command lines.
4965    # This happens at least with the AIX C compiler.
4966    : > sub/conftest.c
4967    for i in 1 2 3 4 5 6; do
4968      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4969      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4970      # Solaris 8's {/usr,}/bin/sh.
4971      touch sub/conftst$i.h
4972    done
4973    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4974
4975    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4976    # mode.  It turns out that the SunPro C++ compiler does not properly
4977    # handle `-M -o', and we need to detect this.  Also, some Intel
4978    # versions had trouble with output in subdirs
4979    am__obj=sub/conftest.${OBJEXT-o}
4980    am__minus_obj="-o $am__obj"
4981    case $depmode in
4982    gcc)
4983      # This depmode causes a compiler race in universal mode.
4984      test "$am__universal" = false || continue
4985      ;;
4986    nosideeffect)
4987      # after this tag, mechanisms are not by side-effect, so they'll
4988      # only be used when explicitly requested
4989      if test "x$enable_dependency_tracking" = xyes; then
4990	continue
4991      else
4992	break
4993      fi
4994      ;;
4995    msvisualcpp | msvcmsys)
4996      # This compiler won't grok `-c -o', but also, the minuso test has
4997      # not run yet.  These depmodes are late enough in the game, and
4998      # so weak that their functioning should not be impacted.
4999      am__obj=conftest.${OBJEXT-o}
5000      am__minus_obj=
5001      ;;
5002    none) break ;;
5003    esac
5004    if depmode=$depmode \
5005       source=sub/conftest.c object=$am__obj \
5006       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5007       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5008         >/dev/null 2>conftest.err &&
5009       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5010       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5011       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5012       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5013      # icc doesn't choke on unknown options, it will just issue warnings
5014      # or remarks (even with -Werror).  So we grep stderr for any message
5015      # that says an option was ignored or not supported.
5016      # When given -MP, icc 7.0 and 7.1 complain thusly:
5017      #   icc: Command line warning: ignoring option '-M'; no argument required
5018      # The diagnosis changed in icc 8.0:
5019      #   icc: Command line remark: option '-MP' not supported
5020      if (grep 'ignoring option' conftest.err ||
5021          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5022        am_cv_CC_dependencies_compiler_type=$depmode
5023        break
5024      fi
5025    fi
5026  done
5027
5028  cd ..
5029  rm -rf conftest.dir
5030else
5031  am_cv_CC_dependencies_compiler_type=none
5032fi
5033
5034fi
5035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5036$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5037CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5038
5039 if
5040  test "x$enable_dependency_tracking" != xno \
5041  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5042  am__fastdepCC_TRUE=
5043  am__fastdepCC_FALSE='#'
5044else
5045  am__fastdepCC_TRUE='#'
5046  am__fastdepCC_FALSE=
5047fi
5048
5049
5050ac_ext=c
5051ac_cpp='$CPP $CPPFLAGS'
5052ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5053ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5054ac_compiler_gnu=$ac_cv_c_compiler_gnu
5055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5056$as_echo_n "checking how to run the C preprocessor... " >&6; }
5057# On Suns, sometimes $CPP names a directory.
5058if test -n "$CPP" && test -d "$CPP"; then
5059  CPP=
5060fi
5061if test -z "$CPP"; then
5062  if ${ac_cv_prog_CPP+:} false; then :
5063  $as_echo_n "(cached) " >&6
5064else
5065      # Double quotes because CPP needs to be expanded
5066    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5067    do
5068      ac_preproc_ok=false
5069for ac_c_preproc_warn_flag in '' yes
5070do
5071  # Use a header file that comes with gcc, so configuring glibc
5072  # with a fresh cross-compiler works.
5073  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5074  # <limits.h> exists even on freestanding compilers.
5075  # On the NeXT, cc -E runs the code through the compiler's parser,
5076  # not just through cpp. "Syntax error" is here to catch this case.
5077  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5078/* end confdefs.h.  */
5079#ifdef __STDC__
5080# include <limits.h>
5081#else
5082# include <assert.h>
5083#endif
5084		     Syntax error
5085_ACEOF
5086if ac_fn_c_try_cpp "$LINENO"; then :
5087
5088else
5089  # Broken: fails on valid input.
5090continue
5091fi
5092rm -f conftest.err conftest.i conftest.$ac_ext
5093
5094  # OK, works on sane cases.  Now check whether nonexistent headers
5095  # can be detected and how.
5096  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097/* end confdefs.h.  */
5098#include <ac_nonexistent.h>
5099_ACEOF
5100if ac_fn_c_try_cpp "$LINENO"; then :
5101  # Broken: success on invalid input.
5102continue
5103else
5104  # Passes both tests.
5105ac_preproc_ok=:
5106break
5107fi
5108rm -f conftest.err conftest.i conftest.$ac_ext
5109
5110done
5111# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5112rm -f conftest.i conftest.err conftest.$ac_ext
5113if $ac_preproc_ok; then :
5114  break
5115fi
5116
5117    done
5118    ac_cv_prog_CPP=$CPP
5119
5120fi
5121  CPP=$ac_cv_prog_CPP
5122else
5123  ac_cv_prog_CPP=$CPP
5124fi
5125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5126$as_echo "$CPP" >&6; }
5127ac_preproc_ok=false
5128for ac_c_preproc_warn_flag in '' yes
5129do
5130  # Use a header file that comes with gcc, so configuring glibc
5131  # with a fresh cross-compiler works.
5132  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5133  # <limits.h> exists even on freestanding compilers.
5134  # On the NeXT, cc -E runs the code through the compiler's parser,
5135  # not just through cpp. "Syntax error" is here to catch this case.
5136  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5137/* end confdefs.h.  */
5138#ifdef __STDC__
5139# include <limits.h>
5140#else
5141# include <assert.h>
5142#endif
5143		     Syntax error
5144_ACEOF
5145if ac_fn_c_try_cpp "$LINENO"; then :
5146
5147else
5148  # Broken: fails on valid input.
5149continue
5150fi
5151rm -f conftest.err conftest.i conftest.$ac_ext
5152
5153  # OK, works on sane cases.  Now check whether nonexistent headers
5154  # can be detected and how.
5155  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5156/* end confdefs.h.  */
5157#include <ac_nonexistent.h>
5158_ACEOF
5159if ac_fn_c_try_cpp "$LINENO"; then :
5160  # Broken: success on invalid input.
5161continue
5162else
5163  # Passes both tests.
5164ac_preproc_ok=:
5165break
5166fi
5167rm -f conftest.err conftest.i conftest.$ac_ext
5168
5169done
5170# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5171rm -f conftest.i conftest.err conftest.$ac_ext
5172if $ac_preproc_ok; then :
5173
5174else
5175  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5176$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5177as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5178See \`config.log' for more details" "$LINENO" 5; }
5179fi
5180
5181ac_ext=c
5182ac_cpp='$CPP $CPPFLAGS'
5183ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5184ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5185ac_compiler_gnu=$ac_cv_c_compiler_gnu
5186
5187
5188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5189$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5190if ${ac_cv_path_GREP+:} false; then :
5191  $as_echo_n "(cached) " >&6
5192else
5193  if test -z "$GREP"; then
5194  ac_path_GREP_found=false
5195  # Loop through the user's path and test for each of PROGNAME-LIST
5196  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5197for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5198do
5199  IFS=$as_save_IFS
5200  test -z "$as_dir" && as_dir=.
5201    for ac_prog in grep ggrep; do
5202    for ac_exec_ext in '' $ac_executable_extensions; do
5203      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5204      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5205# Check for GNU ac_path_GREP and select it if it is found.
5206  # Check for GNU $ac_path_GREP
5207case `"$ac_path_GREP" --version 2>&1` in
5208*GNU*)
5209  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5210*)
5211  ac_count=0
5212  $as_echo_n 0123456789 >"conftest.in"
5213  while :
5214  do
5215    cat "conftest.in" "conftest.in" >"conftest.tmp"
5216    mv "conftest.tmp" "conftest.in"
5217    cp "conftest.in" "conftest.nl"
5218    $as_echo 'GREP' >> "conftest.nl"
5219    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5220    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5221    as_fn_arith $ac_count + 1 && ac_count=$as_val
5222    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5223      # Best one so far, save it but keep looking for a better one
5224      ac_cv_path_GREP="$ac_path_GREP"
5225      ac_path_GREP_max=$ac_count
5226    fi
5227    # 10*(2^10) chars as input seems more than enough
5228    test $ac_count -gt 10 && break
5229  done
5230  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5231esac
5232
5233      $ac_path_GREP_found && break 3
5234    done
5235  done
5236  done
5237IFS=$as_save_IFS
5238  if test -z "$ac_cv_path_GREP"; then
5239    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5240  fi
5241else
5242  ac_cv_path_GREP=$GREP
5243fi
5244
5245fi
5246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5247$as_echo "$ac_cv_path_GREP" >&6; }
5248 GREP="$ac_cv_path_GREP"
5249
5250
5251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5252$as_echo_n "checking for egrep... " >&6; }
5253if ${ac_cv_path_EGREP+:} false; then :
5254  $as_echo_n "(cached) " >&6
5255else
5256  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5257   then ac_cv_path_EGREP="$GREP -E"
5258   else
5259     if test -z "$EGREP"; then
5260  ac_path_EGREP_found=false
5261  # Loop through the user's path and test for each of PROGNAME-LIST
5262  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5264do
5265  IFS=$as_save_IFS
5266  test -z "$as_dir" && as_dir=.
5267    for ac_prog in egrep; do
5268    for ac_exec_ext in '' $ac_executable_extensions; do
5269      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5270      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5271# Check for GNU ac_path_EGREP and select it if it is found.
5272  # Check for GNU $ac_path_EGREP
5273case `"$ac_path_EGREP" --version 2>&1` in
5274*GNU*)
5275  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5276*)
5277  ac_count=0
5278  $as_echo_n 0123456789 >"conftest.in"
5279  while :
5280  do
5281    cat "conftest.in" "conftest.in" >"conftest.tmp"
5282    mv "conftest.tmp" "conftest.in"
5283    cp "conftest.in" "conftest.nl"
5284    $as_echo 'EGREP' >> "conftest.nl"
5285    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5286    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5287    as_fn_arith $ac_count + 1 && ac_count=$as_val
5288    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5289      # Best one so far, save it but keep looking for a better one
5290      ac_cv_path_EGREP="$ac_path_EGREP"
5291      ac_path_EGREP_max=$ac_count
5292    fi
5293    # 10*(2^10) chars as input seems more than enough
5294    test $ac_count -gt 10 && break
5295  done
5296  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5297esac
5298
5299      $ac_path_EGREP_found && break 3
5300    done
5301  done
5302  done
5303IFS=$as_save_IFS
5304  if test -z "$ac_cv_path_EGREP"; then
5305    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5306  fi
5307else
5308  ac_cv_path_EGREP=$EGREP
5309fi
5310
5311   fi
5312fi
5313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5314$as_echo "$ac_cv_path_EGREP" >&6; }
5315 EGREP="$ac_cv_path_EGREP"
5316
5317
5318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5319$as_echo_n "checking for ANSI C header files... " >&6; }
5320if ${ac_cv_header_stdc+:} false; then :
5321  $as_echo_n "(cached) " >&6
5322else
5323  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5324/* end confdefs.h.  */
5325#include <stdlib.h>
5326#include <stdarg.h>
5327#include <string.h>
5328#include <float.h>
5329
5330int
5331main ()
5332{
5333
5334  ;
5335  return 0;
5336}
5337_ACEOF
5338if ac_fn_c_try_compile "$LINENO"; then :
5339  ac_cv_header_stdc=yes
5340else
5341  ac_cv_header_stdc=no
5342fi
5343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5344
5345if test $ac_cv_header_stdc = yes; then
5346  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5347  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5348/* end confdefs.h.  */
5349#include <string.h>
5350
5351_ACEOF
5352if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5353  $EGREP "memchr" >/dev/null 2>&1; then :
5354
5355else
5356  ac_cv_header_stdc=no
5357fi
5358rm -f conftest*
5359
5360fi
5361
5362if test $ac_cv_header_stdc = yes; then
5363  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5364  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365/* end confdefs.h.  */
5366#include <stdlib.h>
5367
5368_ACEOF
5369if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5370  $EGREP "free" >/dev/null 2>&1; then :
5371
5372else
5373  ac_cv_header_stdc=no
5374fi
5375rm -f conftest*
5376
5377fi
5378
5379if test $ac_cv_header_stdc = yes; then
5380  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5381  if test "$cross_compiling" = yes; then :
5382  :
5383else
5384  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385/* end confdefs.h.  */
5386#include <ctype.h>
5387#include <stdlib.h>
5388#if ((' ' & 0x0FF) == 0x020)
5389# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5390# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5391#else
5392# define ISLOWER(c) \
5393		   (('a' <= (c) && (c) <= 'i') \
5394		     || ('j' <= (c) && (c) <= 'r') \
5395		     || ('s' <= (c) && (c) <= 'z'))
5396# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5397#endif
5398
5399#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5400int
5401main ()
5402{
5403  int i;
5404  for (i = 0; i < 256; i++)
5405    if (XOR (islower (i), ISLOWER (i))
5406	|| toupper (i) != TOUPPER (i))
5407      return 2;
5408  return 0;
5409}
5410_ACEOF
5411if ac_fn_c_try_run "$LINENO"; then :
5412
5413else
5414  ac_cv_header_stdc=no
5415fi
5416rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5417  conftest.$ac_objext conftest.beam conftest.$ac_ext
5418fi
5419
5420fi
5421fi
5422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5423$as_echo "$ac_cv_header_stdc" >&6; }
5424if test $ac_cv_header_stdc = yes; then
5425
5426$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5427
5428fi
5429
5430case `pwd` in
5431  *\ * | *\	*)
5432    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5433$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5434esac
5435
5436
5437
5438macro_version='2.4'
5439macro_revision='1.3293'
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453ltmain="$ac_aux_dir/ltmain.sh"
5454
5455# Make sure we can run config.sub.
5456$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5457  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5458
5459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5460$as_echo_n "checking build system type... " >&6; }
5461if ${ac_cv_build+:} false; then :
5462  $as_echo_n "(cached) " >&6
5463else
5464  ac_build_alias=$build_alias
5465test "x$ac_build_alias" = x &&
5466  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5467test "x$ac_build_alias" = x &&
5468  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5469ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5470  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5471
5472fi
5473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5474$as_echo "$ac_cv_build" >&6; }
5475case $ac_cv_build in
5476*-*-*) ;;
5477*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5478esac
5479build=$ac_cv_build
5480ac_save_IFS=$IFS; IFS='-'
5481set x $ac_cv_build
5482shift
5483build_cpu=$1
5484build_vendor=$2
5485shift; shift
5486# Remember, the first character of IFS is used to create $*,
5487# except with old shells:
5488build_os=$*
5489IFS=$ac_save_IFS
5490case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5491
5492
5493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5494$as_echo_n "checking host system type... " >&6; }
5495if ${ac_cv_host+:} false; then :
5496  $as_echo_n "(cached) " >&6
5497else
5498  if test "x$host_alias" = x; then
5499  ac_cv_host=$ac_cv_build
5500else
5501  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5502    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5503fi
5504
5505fi
5506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5507$as_echo "$ac_cv_host" >&6; }
5508case $ac_cv_host in
5509*-*-*) ;;
5510*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5511esac
5512host=$ac_cv_host
5513ac_save_IFS=$IFS; IFS='-'
5514set x $ac_cv_host
5515shift
5516host_cpu=$1
5517host_vendor=$2
5518shift; shift
5519# Remember, the first character of IFS is used to create $*,
5520# except with old shells:
5521host_os=$*
5522IFS=$ac_save_IFS
5523case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5524
5525
5526# Backslashify metacharacters that are still active within
5527# double-quoted strings.
5528sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5529
5530# Same as above, but do not quote variable references.
5531double_quote_subst='s/\(["`\\]\)/\\\1/g'
5532
5533# Sed substitution to delay expansion of an escaped shell variable in a
5534# double_quote_subst'ed string.
5535delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5536
5537# Sed substitution to delay expansion of an escaped single quote.
5538delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5539
5540# Sed substitution to avoid accidental globbing in evaled expressions
5541no_glob_subst='s/\*/\\\*/g'
5542
5543ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5544ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5545ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5546
5547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5548$as_echo_n "checking how to print strings... " >&6; }
5549# Test print first, because it will be a builtin if present.
5550if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5551   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5552  ECHO='print -r --'
5553elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5554  ECHO='printf %s\n'
5555else
5556  # Use this function as a fallback that always works.
5557  func_fallback_echo ()
5558  {
5559    eval 'cat <<_LTECHO_EOF
5560$1
5561_LTECHO_EOF'
5562  }
5563  ECHO='func_fallback_echo'
5564fi
5565
5566# func_echo_all arg...
5567# Invoke $ECHO with all args, space-separated.
5568func_echo_all ()
5569{
5570    $ECHO ""
5571}
5572
5573case "$ECHO" in
5574  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5575$as_echo "printf" >&6; } ;;
5576  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5577$as_echo "print -r" >&6; } ;;
5578  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5579$as_echo "cat" >&6; } ;;
5580esac
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5596$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5597if ${ac_cv_path_SED+:} false; then :
5598  $as_echo_n "(cached) " >&6
5599else
5600            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5601     for ac_i in 1 2 3 4 5 6 7; do
5602       ac_script="$ac_script$as_nl$ac_script"
5603     done
5604     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5605     { ac_script=; unset ac_script;}
5606     if test -z "$SED"; then
5607  ac_path_SED_found=false
5608  # Loop through the user's path and test for each of PROGNAME-LIST
5609  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5610for as_dir in $PATH
5611do
5612  IFS=$as_save_IFS
5613  test -z "$as_dir" && as_dir=.
5614    for ac_prog in sed gsed; do
5615    for ac_exec_ext in '' $ac_executable_extensions; do
5616      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5617      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5618# Check for GNU ac_path_SED and select it if it is found.
5619  # Check for GNU $ac_path_SED
5620case `"$ac_path_SED" --version 2>&1` in
5621*GNU*)
5622  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5623*)
5624  ac_count=0
5625  $as_echo_n 0123456789 >"conftest.in"
5626  while :
5627  do
5628    cat "conftest.in" "conftest.in" >"conftest.tmp"
5629    mv "conftest.tmp" "conftest.in"
5630    cp "conftest.in" "conftest.nl"
5631    $as_echo '' >> "conftest.nl"
5632    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5633    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5634    as_fn_arith $ac_count + 1 && ac_count=$as_val
5635    if test $ac_count -gt ${ac_path_SED_max-0}; then
5636      # Best one so far, save it but keep looking for a better one
5637      ac_cv_path_SED="$ac_path_SED"
5638      ac_path_SED_max=$ac_count
5639    fi
5640    # 10*(2^10) chars as input seems more than enough
5641    test $ac_count -gt 10 && break
5642  done
5643  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5644esac
5645
5646      $ac_path_SED_found && break 3
5647    done
5648  done
5649  done
5650IFS=$as_save_IFS
5651  if test -z "$ac_cv_path_SED"; then
5652    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5653  fi
5654else
5655  ac_cv_path_SED=$SED
5656fi
5657
5658fi
5659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5660$as_echo "$ac_cv_path_SED" >&6; }
5661 SED="$ac_cv_path_SED"
5662  rm -f conftest.sed
5663
5664test -z "$SED" && SED=sed
5665Xsed="$SED -e 1s/^X//"
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5678$as_echo_n "checking for fgrep... " >&6; }
5679if ${ac_cv_path_FGREP+:} false; then :
5680  $as_echo_n "(cached) " >&6
5681else
5682  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5683   then ac_cv_path_FGREP="$GREP -F"
5684   else
5685     if test -z "$FGREP"; then
5686  ac_path_FGREP_found=false
5687  # Loop through the user's path and test for each of PROGNAME-LIST
5688  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5689for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5690do
5691  IFS=$as_save_IFS
5692  test -z "$as_dir" && as_dir=.
5693    for ac_prog in fgrep; do
5694    for ac_exec_ext in '' $ac_executable_extensions; do
5695      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5696      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5697# Check for GNU ac_path_FGREP and select it if it is found.
5698  # Check for GNU $ac_path_FGREP
5699case `"$ac_path_FGREP" --version 2>&1` in
5700*GNU*)
5701  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5702*)
5703  ac_count=0
5704  $as_echo_n 0123456789 >"conftest.in"
5705  while :
5706  do
5707    cat "conftest.in" "conftest.in" >"conftest.tmp"
5708    mv "conftest.tmp" "conftest.in"
5709    cp "conftest.in" "conftest.nl"
5710    $as_echo 'FGREP' >> "conftest.nl"
5711    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5712    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5713    as_fn_arith $ac_count + 1 && ac_count=$as_val
5714    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5715      # Best one so far, save it but keep looking for a better one
5716      ac_cv_path_FGREP="$ac_path_FGREP"
5717      ac_path_FGREP_max=$ac_count
5718    fi
5719    # 10*(2^10) chars as input seems more than enough
5720    test $ac_count -gt 10 && break
5721  done
5722  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5723esac
5724
5725      $ac_path_FGREP_found && break 3
5726    done
5727  done
5728  done
5729IFS=$as_save_IFS
5730  if test -z "$ac_cv_path_FGREP"; then
5731    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5732  fi
5733else
5734  ac_cv_path_FGREP=$FGREP
5735fi
5736
5737   fi
5738fi
5739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5740$as_echo "$ac_cv_path_FGREP" >&6; }
5741 FGREP="$ac_cv_path_FGREP"
5742
5743
5744test -z "$GREP" && GREP=grep
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764# Check whether --with-gnu-ld was given.
5765if test "${with_gnu_ld+set}" = set; then :
5766  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5767else
5768  with_gnu_ld=no
5769fi
5770
5771ac_prog=ld
5772if test "$GCC" = yes; then
5773  # Check if gcc -print-prog-name=ld gives a path.
5774  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5775$as_echo_n "checking for ld used by $CC... " >&6; }
5776  case $host in
5777  *-*-mingw*)
5778    # gcc leaves a trailing carriage return which upsets mingw
5779    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5780  *)
5781    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5782  esac
5783  case $ac_prog in
5784    # Accept absolute paths.
5785    [\\/]* | ?:[\\/]*)
5786      re_direlt='/[^/][^/]*/\.\./'
5787      # Canonicalize the pathname of ld
5788      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5789      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5790	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5791      done
5792      test -z "$LD" && LD="$ac_prog"
5793      ;;
5794  "")
5795    # If it fails, then pretend we aren't using GCC.
5796    ac_prog=ld
5797    ;;
5798  *)
5799    # If it is relative, then search for the first ld in PATH.
5800    with_gnu_ld=unknown
5801    ;;
5802  esac
5803elif test "$with_gnu_ld" = yes; then
5804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5805$as_echo_n "checking for GNU ld... " >&6; }
5806else
5807  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5808$as_echo_n "checking for non-GNU ld... " >&6; }
5809fi
5810if ${lt_cv_path_LD+:} false; then :
5811  $as_echo_n "(cached) " >&6
5812else
5813  if test -z "$LD"; then
5814  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5815  for ac_dir in $PATH; do
5816    IFS="$lt_save_ifs"
5817    test -z "$ac_dir" && ac_dir=.
5818    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5819      lt_cv_path_LD="$ac_dir/$ac_prog"
5820      # Check to see if the program is GNU ld.  I'd rather use --version,
5821      # but apparently some variants of GNU ld only accept -v.
5822      # Break only if it was the GNU/non-GNU ld that we prefer.
5823      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5824      *GNU* | *'with BFD'*)
5825	test "$with_gnu_ld" != no && break
5826	;;
5827      *)
5828	test "$with_gnu_ld" != yes && break
5829	;;
5830      esac
5831    fi
5832  done
5833  IFS="$lt_save_ifs"
5834else
5835  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5836fi
5837fi
5838
5839LD="$lt_cv_path_LD"
5840if test -n "$LD"; then
5841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5842$as_echo "$LD" >&6; }
5843else
5844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845$as_echo "no" >&6; }
5846fi
5847test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5849$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5850if ${lt_cv_prog_gnu_ld+:} false; then :
5851  $as_echo_n "(cached) " >&6
5852else
5853  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5854case `$LD -v 2>&1 </dev/null` in
5855*GNU* | *'with BFD'*)
5856  lt_cv_prog_gnu_ld=yes
5857  ;;
5858*)
5859  lt_cv_prog_gnu_ld=no
5860  ;;
5861esac
5862fi
5863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5864$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5865with_gnu_ld=$lt_cv_prog_gnu_ld
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5876$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5877if ${lt_cv_path_NM+:} false; then :
5878  $as_echo_n "(cached) " >&6
5879else
5880  if test -n "$NM"; then
5881  # Let the user override the test.
5882  lt_cv_path_NM="$NM"
5883else
5884  lt_nm_to_check="${ac_tool_prefix}nm"
5885  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5886    lt_nm_to_check="$lt_nm_to_check nm"
5887  fi
5888  for lt_tmp_nm in $lt_nm_to_check; do
5889    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5890    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5891      IFS="$lt_save_ifs"
5892      test -z "$ac_dir" && ac_dir=.
5893      tmp_nm="$ac_dir/$lt_tmp_nm"
5894      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5895	# Check to see if the nm accepts a BSD-compat flag.
5896	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5897	#   nm: unknown option "B" ignored
5898	# Tru64's nm complains that /dev/null is an invalid object file
5899	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5900	*/dev/null* | *'Invalid file or object type'*)
5901	  lt_cv_path_NM="$tmp_nm -B"
5902	  break
5903	  ;;
5904	*)
5905	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5906	  */dev/null*)
5907	    lt_cv_path_NM="$tmp_nm -p"
5908	    break
5909	    ;;
5910	  *)
5911	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5912	    continue # so that we can try to find one that supports BSD flags
5913	    ;;
5914	  esac
5915	  ;;
5916	esac
5917      fi
5918    done
5919    IFS="$lt_save_ifs"
5920  done
5921  : ${lt_cv_path_NM=no}
5922fi
5923fi
5924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5925$as_echo "$lt_cv_path_NM" >&6; }
5926if test "$lt_cv_path_NM" != "no"; then
5927  NM="$lt_cv_path_NM"
5928else
5929  # Didn't find any BSD compatible name lister, look for dumpbin.
5930  if test -n "$DUMPBIN"; then :
5931    # Let the user override the test.
5932  else
5933    if test -n "$ac_tool_prefix"; then
5934  for ac_prog in dumpbin "link -dump"
5935  do
5936    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5937set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5939$as_echo_n "checking for $ac_word... " >&6; }
5940if ${ac_cv_prog_DUMPBIN+:} false; then :
5941  $as_echo_n "(cached) " >&6
5942else
5943  if test -n "$DUMPBIN"; then
5944  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5945else
5946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947for as_dir in $PATH
5948do
5949  IFS=$as_save_IFS
5950  test -z "$as_dir" && as_dir=.
5951    for ac_exec_ext in '' $ac_executable_extensions; do
5952  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5953    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5954    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5955    break 2
5956  fi
5957done
5958  done
5959IFS=$as_save_IFS
5960
5961fi
5962fi
5963DUMPBIN=$ac_cv_prog_DUMPBIN
5964if test -n "$DUMPBIN"; then
5965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5966$as_echo "$DUMPBIN" >&6; }
5967else
5968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5969$as_echo "no" >&6; }
5970fi
5971
5972
5973    test -n "$DUMPBIN" && break
5974  done
5975fi
5976if test -z "$DUMPBIN"; then
5977  ac_ct_DUMPBIN=$DUMPBIN
5978  for ac_prog in dumpbin "link -dump"
5979do
5980  # Extract the first word of "$ac_prog", so it can be a program name with args.
5981set dummy $ac_prog; ac_word=$2
5982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5983$as_echo_n "checking for $ac_word... " >&6; }
5984if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5985  $as_echo_n "(cached) " >&6
5986else
5987  if test -n "$ac_ct_DUMPBIN"; then
5988  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5989else
5990as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991for as_dir in $PATH
5992do
5993  IFS=$as_save_IFS
5994  test -z "$as_dir" && as_dir=.
5995    for ac_exec_ext in '' $ac_executable_extensions; do
5996  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5998    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5999    break 2
6000  fi
6001done
6002  done
6003IFS=$as_save_IFS
6004
6005fi
6006fi
6007ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6008if test -n "$ac_ct_DUMPBIN"; then
6009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6010$as_echo "$ac_ct_DUMPBIN" >&6; }
6011else
6012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013$as_echo "no" >&6; }
6014fi
6015
6016
6017  test -n "$ac_ct_DUMPBIN" && break
6018done
6019
6020  if test "x$ac_ct_DUMPBIN" = x; then
6021    DUMPBIN=":"
6022  else
6023    case $cross_compiling:$ac_tool_warned in
6024yes:)
6025{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6026$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6027ac_tool_warned=yes ;;
6028esac
6029    DUMPBIN=$ac_ct_DUMPBIN
6030  fi
6031fi
6032
6033    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6034    *COFF*)
6035      DUMPBIN="$DUMPBIN -symbols"
6036      ;;
6037    *)
6038      DUMPBIN=:
6039      ;;
6040    esac
6041  fi
6042
6043  if test "$DUMPBIN" != ":"; then
6044    NM="$DUMPBIN"
6045  fi
6046fi
6047test -z "$NM" && NM=nm
6048
6049
6050
6051
6052
6053
6054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6055$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6056if ${lt_cv_nm_interface+:} false; then :
6057  $as_echo_n "(cached) " >&6
6058else
6059  lt_cv_nm_interface="BSD nm"
6060  echo "int some_variable = 0;" > conftest.$ac_ext
6061  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6062  (eval "$ac_compile" 2>conftest.err)
6063  cat conftest.err >&5
6064  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6065  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6066  cat conftest.err >&5
6067  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6068  cat conftest.out >&5
6069  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6070    lt_cv_nm_interface="MS dumpbin"
6071  fi
6072  rm -f conftest*
6073fi
6074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6075$as_echo "$lt_cv_nm_interface" >&6; }
6076
6077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6078$as_echo_n "checking whether ln -s works... " >&6; }
6079LN_S=$as_ln_s
6080if test "$LN_S" = "ln -s"; then
6081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6082$as_echo "yes" >&6; }
6083else
6084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6085$as_echo "no, using $LN_S" >&6; }
6086fi
6087
6088# find the maximum length of command line arguments
6089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6090$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6091if ${lt_cv_sys_max_cmd_len+:} false; then :
6092  $as_echo_n "(cached) " >&6
6093else
6094    i=0
6095  teststring="ABCD"
6096
6097  case $build_os in
6098  msdosdjgpp*)
6099    # On DJGPP, this test can blow up pretty badly due to problems in libc
6100    # (any single argument exceeding 2000 bytes causes a buffer overrun
6101    # during glob expansion).  Even if it were fixed, the result of this
6102    # check would be larger than it should be.
6103    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6104    ;;
6105
6106  gnu*)
6107    # Under GNU Hurd, this test is not required because there is
6108    # no limit to the length of command line arguments.
6109    # Libtool will interpret -1 as no limit whatsoever
6110    lt_cv_sys_max_cmd_len=-1;
6111    ;;
6112
6113  cygwin* | mingw* | cegcc*)
6114    # On Win9x/ME, this test blows up -- it succeeds, but takes
6115    # about 5 minutes as the teststring grows exponentially.
6116    # Worse, since 9x/ME are not pre-emptively multitasking,
6117    # you end up with a "frozen" computer, even though with patience
6118    # the test eventually succeeds (with a max line length of 256k).
6119    # Instead, let's just punt: use the minimum linelength reported by
6120    # all of the supported platforms: 8192 (on NT/2K/XP).
6121    lt_cv_sys_max_cmd_len=8192;
6122    ;;
6123
6124  mint*)
6125    # On MiNT this can take a long time and run out of memory.
6126    lt_cv_sys_max_cmd_len=8192;
6127    ;;
6128
6129  amigaos*)
6130    # On AmigaOS with pdksh, this test takes hours, literally.
6131    # So we just punt and use a minimum line length of 8192.
6132    lt_cv_sys_max_cmd_len=8192;
6133    ;;
6134
6135  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6136    # This has been around since 386BSD, at least.  Likely further.
6137    if test -x /sbin/sysctl; then
6138      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6139    elif test -x /usr/sbin/sysctl; then
6140      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6141    else
6142      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6143    fi
6144    # And add a safety zone
6145    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6146    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6147    ;;
6148
6149  interix*)
6150    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6151    lt_cv_sys_max_cmd_len=196608
6152    ;;
6153
6154  osf*)
6155    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6156    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6157    # nice to cause kernel panics so lets avoid the loop below.
6158    # First set a reasonable default.
6159    lt_cv_sys_max_cmd_len=16384
6160    #
6161    if test -x /sbin/sysconfig; then
6162      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6163        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6164      esac
6165    fi
6166    ;;
6167  sco3.2v5*)
6168    lt_cv_sys_max_cmd_len=102400
6169    ;;
6170  sysv5* | sco5v6* | sysv4.2uw2*)
6171    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6172    if test -n "$kargmax"; then
6173      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6174    else
6175      lt_cv_sys_max_cmd_len=32768
6176    fi
6177    ;;
6178  *)
6179    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6180    if test -n "$lt_cv_sys_max_cmd_len"; then
6181      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6182      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6183    else
6184      # Make teststring a little bigger before we do anything with it.
6185      # a 1K string should be a reasonable start.
6186      for i in 1 2 3 4 5 6 7 8 ; do
6187        teststring=$teststring$teststring
6188      done
6189      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6190      # If test is not a shell built-in, we'll probably end up computing a
6191      # maximum length that is only half of the actual maximum length, but
6192      # we can't tell.
6193      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6194	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6195	      test $i != 17 # 1/2 MB should be enough
6196      do
6197        i=`expr $i + 1`
6198        teststring=$teststring$teststring
6199      done
6200      # Only check the string length outside the loop.
6201      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6202      teststring=
6203      # Add a significant safety factor because C++ compilers can tack on
6204      # massive amounts of additional arguments before passing them to the
6205      # linker.  It appears as though 1/2 is a usable value.
6206      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6207    fi
6208    ;;
6209  esac
6210
6211fi
6212
6213if test -n $lt_cv_sys_max_cmd_len ; then
6214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6215$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6216else
6217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6218$as_echo "none" >&6; }
6219fi
6220max_cmd_len=$lt_cv_sys_max_cmd_len
6221
6222
6223
6224
6225
6226
6227: ${CP="cp -f"}
6228: ${MV="mv -f"}
6229: ${RM="rm -f"}
6230
6231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6232$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6233# Try some XSI features
6234xsi_shell=no
6235( _lt_dummy="a/b/c"
6236  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6237      = c,a/b,b/c, \
6238    && eval 'test $(( 1 + 1 )) -eq 2 \
6239    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6240  && xsi_shell=yes
6241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6242$as_echo "$xsi_shell" >&6; }
6243
6244
6245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6246$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6247lt_shell_append=no
6248( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6249    >/dev/null 2>&1 \
6250  && lt_shell_append=yes
6251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6252$as_echo "$lt_shell_append" >&6; }
6253
6254
6255if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6256  lt_unset=unset
6257else
6258  lt_unset=false
6259fi
6260
6261
6262
6263
6264
6265# test EBCDIC or ASCII
6266case `echo X|tr X '\101'` in
6267 A) # ASCII based system
6268    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6269  lt_SP2NL='tr \040 \012'
6270  lt_NL2SP='tr \015\012 \040\040'
6271  ;;
6272 *) # EBCDIC based system
6273  lt_SP2NL='tr \100 \n'
6274  lt_NL2SP='tr \r\n \100\100'
6275  ;;
6276esac
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6287$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6288if ${lt_cv_to_host_file_cmd+:} false; then :
6289  $as_echo_n "(cached) " >&6
6290else
6291  case $host in
6292  *-*-mingw* )
6293    case $build in
6294      *-*-mingw* ) # actually msys
6295        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6296        ;;
6297      *-*-cygwin* )
6298        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6299        ;;
6300      * ) # otherwise, assume *nix
6301        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6302        ;;
6303    esac
6304    ;;
6305  *-*-cygwin* )
6306    case $build in
6307      *-*-mingw* ) # actually msys
6308        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6309        ;;
6310      *-*-cygwin* )
6311        lt_cv_to_host_file_cmd=func_convert_file_noop
6312        ;;
6313      * ) # otherwise, assume *nix
6314        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6315        ;;
6316    esac
6317    ;;
6318  * ) # unhandled hosts (and "normal" native builds)
6319    lt_cv_to_host_file_cmd=func_convert_file_noop
6320    ;;
6321esac
6322
6323fi
6324
6325to_host_file_cmd=$lt_cv_to_host_file_cmd
6326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6327$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6328
6329
6330
6331
6332
6333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6334$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6335if ${lt_cv_to_tool_file_cmd+:} false; then :
6336  $as_echo_n "(cached) " >&6
6337else
6338  #assume ordinary cross tools, or native build.
6339lt_cv_to_tool_file_cmd=func_convert_file_noop
6340case $host in
6341  *-*-mingw* )
6342    case $build in
6343      *-*-mingw* ) # actually msys
6344        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6345        ;;
6346    esac
6347    ;;
6348esac
6349
6350fi
6351
6352to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6354$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6355
6356
6357
6358
6359
6360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6361$as_echo_n "checking for $LD option to reload object files... " >&6; }
6362if ${lt_cv_ld_reload_flag+:} false; then :
6363  $as_echo_n "(cached) " >&6
6364else
6365  lt_cv_ld_reload_flag='-r'
6366fi
6367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6368$as_echo "$lt_cv_ld_reload_flag" >&6; }
6369reload_flag=$lt_cv_ld_reload_flag
6370case $reload_flag in
6371"" | " "*) ;;
6372*) reload_flag=" $reload_flag" ;;
6373esac
6374reload_cmds='$LD$reload_flag -o $output$reload_objs'
6375case $host_os in
6376  cygwin* | mingw* | pw32* | cegcc*)
6377    if test "$GCC" != yes; then
6378      reload_cmds=false
6379    fi
6380    ;;
6381  darwin*)
6382    if test "$GCC" = yes; then
6383      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6384    else
6385      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6386    fi
6387    ;;
6388esac
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398if test -n "$ac_tool_prefix"; then
6399  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6400set dummy ${ac_tool_prefix}objdump; ac_word=$2
6401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6402$as_echo_n "checking for $ac_word... " >&6; }
6403if ${ac_cv_prog_OBJDUMP+:} false; then :
6404  $as_echo_n "(cached) " >&6
6405else
6406  if test -n "$OBJDUMP"; then
6407  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6408else
6409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6410for as_dir in $PATH
6411do
6412  IFS=$as_save_IFS
6413  test -z "$as_dir" && as_dir=.
6414    for ac_exec_ext in '' $ac_executable_extensions; do
6415  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6416    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6417    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6418    break 2
6419  fi
6420done
6421  done
6422IFS=$as_save_IFS
6423
6424fi
6425fi
6426OBJDUMP=$ac_cv_prog_OBJDUMP
6427if test -n "$OBJDUMP"; then
6428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6429$as_echo "$OBJDUMP" >&6; }
6430else
6431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6432$as_echo "no" >&6; }
6433fi
6434
6435
6436fi
6437if test -z "$ac_cv_prog_OBJDUMP"; then
6438  ac_ct_OBJDUMP=$OBJDUMP
6439  # Extract the first word of "objdump", so it can be a program name with args.
6440set dummy objdump; ac_word=$2
6441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442$as_echo_n "checking for $ac_word... " >&6; }
6443if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6444  $as_echo_n "(cached) " >&6
6445else
6446  if test -n "$ac_ct_OBJDUMP"; then
6447  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6448else
6449as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450for as_dir in $PATH
6451do
6452  IFS=$as_save_IFS
6453  test -z "$as_dir" && as_dir=.
6454    for ac_exec_ext in '' $ac_executable_extensions; do
6455  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6456    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6457    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6458    break 2
6459  fi
6460done
6461  done
6462IFS=$as_save_IFS
6463
6464fi
6465fi
6466ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6467if test -n "$ac_ct_OBJDUMP"; then
6468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6469$as_echo "$ac_ct_OBJDUMP" >&6; }
6470else
6471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472$as_echo "no" >&6; }
6473fi
6474
6475  if test "x$ac_ct_OBJDUMP" = x; then
6476    OBJDUMP="false"
6477  else
6478    case $cross_compiling:$ac_tool_warned in
6479yes:)
6480{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6481$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6482ac_tool_warned=yes ;;
6483esac
6484    OBJDUMP=$ac_ct_OBJDUMP
6485  fi
6486else
6487  OBJDUMP="$ac_cv_prog_OBJDUMP"
6488fi
6489
6490test -z "$OBJDUMP" && OBJDUMP=objdump
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6501$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6502if ${lt_cv_deplibs_check_method+:} false; then :
6503  $as_echo_n "(cached) " >&6
6504else
6505  lt_cv_file_magic_cmd='$MAGIC_CMD'
6506lt_cv_file_magic_test_file=
6507lt_cv_deplibs_check_method='unknown'
6508# Need to set the preceding variable on all platforms that support
6509# interlibrary dependencies.
6510# 'none' -- dependencies not supported.
6511# `unknown' -- same as none, but documents that we really don't know.
6512# 'pass_all' -- all dependencies passed with no checks.
6513# 'test_compile' -- check by making test program.
6514# 'file_magic [[regex]]' -- check by looking for files in library path
6515# which responds to the $file_magic_cmd with a given extended regex.
6516# If you have `file' or equivalent on your system and you're not sure
6517# whether `pass_all' will *always* work, you probably want this one.
6518
6519case $host_os in
6520aix[4-9]*)
6521  lt_cv_deplibs_check_method=pass_all
6522  ;;
6523
6524beos*)
6525  lt_cv_deplibs_check_method=pass_all
6526  ;;
6527
6528bsdi[45]*)
6529  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6530  lt_cv_file_magic_cmd='/usr/bin/file -L'
6531  lt_cv_file_magic_test_file=/shlib/libc.so
6532  ;;
6533
6534cygwin*)
6535  # func_win32_libid is a shell function defined in ltmain.sh
6536  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6537  lt_cv_file_magic_cmd='func_win32_libid'
6538  ;;
6539
6540mingw* | pw32*)
6541  # Base MSYS/MinGW do not provide the 'file' command needed by
6542  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6543  # unless we find 'file', for example because we are cross-compiling.
6544  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6545  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6546    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6547    lt_cv_file_magic_cmd='func_win32_libid'
6548  else
6549    # Keep this pattern in sync with the one in func_win32_libid.
6550    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6551    lt_cv_file_magic_cmd='$OBJDUMP -f'
6552  fi
6553  ;;
6554
6555cegcc*)
6556  # use the weaker test based on 'objdump'. See mingw*.
6557  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6558  lt_cv_file_magic_cmd='$OBJDUMP -f'
6559  ;;
6560
6561darwin* | rhapsody*)
6562  lt_cv_deplibs_check_method=pass_all
6563  ;;
6564
6565freebsd* | dragonfly*)
6566  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6567    case $host_cpu in
6568    i*86 )
6569      # Not sure whether the presence of OpenBSD here was a mistake.
6570      # Let's accept both of them until this is cleared up.
6571      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6572      lt_cv_file_magic_cmd=/usr/bin/file
6573      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6574      ;;
6575    esac
6576  else
6577    lt_cv_deplibs_check_method=pass_all
6578  fi
6579  ;;
6580
6581gnu*)
6582  lt_cv_deplibs_check_method=pass_all
6583  ;;
6584
6585haiku*)
6586  lt_cv_deplibs_check_method=pass_all
6587  ;;
6588
6589hpux10.20* | hpux11*)
6590  lt_cv_file_magic_cmd=/usr/bin/file
6591  case $host_cpu in
6592  ia64*)
6593    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6594    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6595    ;;
6596  hppa*64*)
6597    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]'
6598    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6599    ;;
6600  *)
6601    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6602    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6603    ;;
6604  esac
6605  ;;
6606
6607interix[3-9]*)
6608  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6609  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6610  ;;
6611
6612irix5* | irix6* | nonstopux*)
6613  case $LD in
6614  *-32|*"-32 ") libmagic=32-bit;;
6615  *-n32|*"-n32 ") libmagic=N32;;
6616  *-64|*"-64 ") libmagic=64-bit;;
6617  *) libmagic=never-match;;
6618  esac
6619  lt_cv_deplibs_check_method=pass_all
6620  ;;
6621
6622# This must be Linux ELF.
6623linux* | k*bsd*-gnu | kopensolaris*-gnu)
6624  lt_cv_deplibs_check_method=pass_all
6625  ;;
6626
6627netbsd*)
6628  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6629    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6630  else
6631    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6632  fi
6633  ;;
6634
6635newos6*)
6636  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6637  lt_cv_file_magic_cmd=/usr/bin/file
6638  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6639  ;;
6640
6641*nto* | *qnx*)
6642  lt_cv_deplibs_check_method=pass_all
6643  ;;
6644
6645openbsd*)
6646  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6647    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6648  else
6649    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6650  fi
6651  ;;
6652
6653osf3* | osf4* | osf5*)
6654  lt_cv_deplibs_check_method=pass_all
6655  ;;
6656
6657rdos*)
6658  lt_cv_deplibs_check_method=pass_all
6659  ;;
6660
6661solaris*)
6662  lt_cv_deplibs_check_method=pass_all
6663  ;;
6664
6665sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6666  lt_cv_deplibs_check_method=pass_all
6667  ;;
6668
6669sysv4 | sysv4.3*)
6670  case $host_vendor in
6671  motorola)
6672    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]'
6673    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6674    ;;
6675  ncr)
6676    lt_cv_deplibs_check_method=pass_all
6677    ;;
6678  sequent)
6679    lt_cv_file_magic_cmd='/bin/file'
6680    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6681    ;;
6682  sni)
6683    lt_cv_file_magic_cmd='/bin/file'
6684    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6685    lt_cv_file_magic_test_file=/lib/libc.so
6686    ;;
6687  siemens)
6688    lt_cv_deplibs_check_method=pass_all
6689    ;;
6690  pc)
6691    lt_cv_deplibs_check_method=pass_all
6692    ;;
6693  esac
6694  ;;
6695
6696tpf*)
6697  lt_cv_deplibs_check_method=pass_all
6698  ;;
6699esac
6700
6701fi
6702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6703$as_echo "$lt_cv_deplibs_check_method" >&6; }
6704
6705file_magic_glob=
6706want_nocaseglob=no
6707if test "$build" = "$host"; then
6708  case $host_os in
6709  mingw* | pw32*)
6710    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6711      want_nocaseglob=yes
6712    else
6713      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6714    fi
6715    ;;
6716  esac
6717fi
6718
6719file_magic_cmd=$lt_cv_file_magic_cmd
6720deplibs_check_method=$lt_cv_deplibs_check_method
6721test -z "$deplibs_check_method" && deplibs_check_method=unknown
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744if test -n "$ac_tool_prefix"; then
6745  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6746set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6748$as_echo_n "checking for $ac_word... " >&6; }
6749if ${ac_cv_prog_DLLTOOL+:} false; then :
6750  $as_echo_n "(cached) " >&6
6751else
6752  if test -n "$DLLTOOL"; then
6753  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6754else
6755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756for as_dir in $PATH
6757do
6758  IFS=$as_save_IFS
6759  test -z "$as_dir" && as_dir=.
6760    for ac_exec_ext in '' $ac_executable_extensions; do
6761  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6762    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6763    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6764    break 2
6765  fi
6766done
6767  done
6768IFS=$as_save_IFS
6769
6770fi
6771fi
6772DLLTOOL=$ac_cv_prog_DLLTOOL
6773if test -n "$DLLTOOL"; then
6774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6775$as_echo "$DLLTOOL" >&6; }
6776else
6777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6778$as_echo "no" >&6; }
6779fi
6780
6781
6782fi
6783if test -z "$ac_cv_prog_DLLTOOL"; then
6784  ac_ct_DLLTOOL=$DLLTOOL
6785  # Extract the first word of "dlltool", so it can be a program name with args.
6786set dummy dlltool; ac_word=$2
6787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6788$as_echo_n "checking for $ac_word... " >&6; }
6789if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6790  $as_echo_n "(cached) " >&6
6791else
6792  if test -n "$ac_ct_DLLTOOL"; then
6793  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6794else
6795as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6796for as_dir in $PATH
6797do
6798  IFS=$as_save_IFS
6799  test -z "$as_dir" && as_dir=.
6800    for ac_exec_ext in '' $ac_executable_extensions; do
6801  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6802    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6803    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6804    break 2
6805  fi
6806done
6807  done
6808IFS=$as_save_IFS
6809
6810fi
6811fi
6812ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6813if test -n "$ac_ct_DLLTOOL"; then
6814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6815$as_echo "$ac_ct_DLLTOOL" >&6; }
6816else
6817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6818$as_echo "no" >&6; }
6819fi
6820
6821  if test "x$ac_ct_DLLTOOL" = x; then
6822    DLLTOOL="false"
6823  else
6824    case $cross_compiling:$ac_tool_warned in
6825yes:)
6826{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6827$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6828ac_tool_warned=yes ;;
6829esac
6830    DLLTOOL=$ac_ct_DLLTOOL
6831  fi
6832else
6833  DLLTOOL="$ac_cv_prog_DLLTOOL"
6834fi
6835
6836test -z "$DLLTOOL" && DLLTOOL=dlltool
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6848$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6849if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6850  $as_echo_n "(cached) " >&6
6851else
6852  lt_cv_sharedlib_from_linklib_cmd='unknown'
6853
6854case $host_os in
6855cygwin* | mingw* | pw32* | cegcc*)
6856  # two different shell functions defined in ltmain.sh
6857  # decide which to use based on capabilities of $DLLTOOL
6858  case `$DLLTOOL --help 2>&1` in
6859  *--identify-strict*)
6860    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6861    ;;
6862  *)
6863    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6864    ;;
6865  esac
6866  ;;
6867*)
6868  # fallback: assume linklib IS sharedlib
6869  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6870  ;;
6871esac
6872
6873fi
6874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6875$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6876sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6877test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6878
6879
6880
6881
6882
6883
6884
6885if test -n "$ac_tool_prefix"; then
6886  for ac_prog in ar
6887  do
6888    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6889set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6891$as_echo_n "checking for $ac_word... " >&6; }
6892if ${ac_cv_prog_AR+:} false; then :
6893  $as_echo_n "(cached) " >&6
6894else
6895  if test -n "$AR"; then
6896  ac_cv_prog_AR="$AR" # Let the user override the test.
6897else
6898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6899for as_dir in $PATH
6900do
6901  IFS=$as_save_IFS
6902  test -z "$as_dir" && as_dir=.
6903    for ac_exec_ext in '' $ac_executable_extensions; do
6904  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6905    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6906    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6907    break 2
6908  fi
6909done
6910  done
6911IFS=$as_save_IFS
6912
6913fi
6914fi
6915AR=$ac_cv_prog_AR
6916if test -n "$AR"; then
6917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6918$as_echo "$AR" >&6; }
6919else
6920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6921$as_echo "no" >&6; }
6922fi
6923
6924
6925    test -n "$AR" && break
6926  done
6927fi
6928if test -z "$AR"; then
6929  ac_ct_AR=$AR
6930  for ac_prog in ar
6931do
6932  # Extract the first word of "$ac_prog", so it can be a program name with args.
6933set dummy $ac_prog; ac_word=$2
6934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6935$as_echo_n "checking for $ac_word... " >&6; }
6936if ${ac_cv_prog_ac_ct_AR+:} false; then :
6937  $as_echo_n "(cached) " >&6
6938else
6939  if test -n "$ac_ct_AR"; then
6940  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6941else
6942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6943for as_dir in $PATH
6944do
6945  IFS=$as_save_IFS
6946  test -z "$as_dir" && as_dir=.
6947    for ac_exec_ext in '' $ac_executable_extensions; do
6948  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6949    ac_cv_prog_ac_ct_AR="$ac_prog"
6950    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6951    break 2
6952  fi
6953done
6954  done
6955IFS=$as_save_IFS
6956
6957fi
6958fi
6959ac_ct_AR=$ac_cv_prog_ac_ct_AR
6960if test -n "$ac_ct_AR"; then
6961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6962$as_echo "$ac_ct_AR" >&6; }
6963else
6964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6965$as_echo "no" >&6; }
6966fi
6967
6968
6969  test -n "$ac_ct_AR" && break
6970done
6971
6972  if test "x$ac_ct_AR" = x; then
6973    AR="false"
6974  else
6975    case $cross_compiling:$ac_tool_warned in
6976yes:)
6977{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6978$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6979ac_tool_warned=yes ;;
6980esac
6981    AR=$ac_ct_AR
6982  fi
6983fi
6984
6985: ${AR=ar}
6986: ${AR_FLAGS=cru}
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6999$as_echo_n "checking for archiver @FILE support... " >&6; }
7000if ${lt_cv_ar_at_file+:} false; then :
7001  $as_echo_n "(cached) " >&6
7002else
7003  lt_cv_ar_at_file=no
7004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7005/* end confdefs.h.  */
7006
7007int
7008main ()
7009{
7010
7011  ;
7012  return 0;
7013}
7014_ACEOF
7015if ac_fn_c_try_compile "$LINENO"; then :
7016  echo conftest.$ac_objext > conftest.lst
7017      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7018      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7019  (eval $lt_ar_try) 2>&5
7020  ac_status=$?
7021  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7022  test $ac_status = 0; }
7023      if test "$ac_status" -eq 0; then
7024	# Ensure the archiver fails upon bogus file names.
7025	rm -f conftest.$ac_objext libconftest.a
7026	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7027  (eval $lt_ar_try) 2>&5
7028  ac_status=$?
7029  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7030  test $ac_status = 0; }
7031	if test "$ac_status" -ne 0; then
7032          lt_cv_ar_at_file=@
7033        fi
7034      fi
7035      rm -f conftest.* libconftest.a
7036
7037fi
7038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7039
7040fi
7041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7042$as_echo "$lt_cv_ar_at_file" >&6; }
7043
7044if test "x$lt_cv_ar_at_file" = xno; then
7045  archiver_list_spec=
7046else
7047  archiver_list_spec=$lt_cv_ar_at_file
7048fi
7049
7050
7051
7052
7053
7054
7055
7056if test -n "$ac_tool_prefix"; then
7057  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7058set dummy ${ac_tool_prefix}strip; ac_word=$2
7059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7060$as_echo_n "checking for $ac_word... " >&6; }
7061if ${ac_cv_prog_STRIP+:} false; then :
7062  $as_echo_n "(cached) " >&6
7063else
7064  if test -n "$STRIP"; then
7065  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7066else
7067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7068for as_dir in $PATH
7069do
7070  IFS=$as_save_IFS
7071  test -z "$as_dir" && as_dir=.
7072    for ac_exec_ext in '' $ac_executable_extensions; do
7073  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7074    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7075    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076    break 2
7077  fi
7078done
7079  done
7080IFS=$as_save_IFS
7081
7082fi
7083fi
7084STRIP=$ac_cv_prog_STRIP
7085if test -n "$STRIP"; then
7086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7087$as_echo "$STRIP" >&6; }
7088else
7089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7090$as_echo "no" >&6; }
7091fi
7092
7093
7094fi
7095if test -z "$ac_cv_prog_STRIP"; then
7096  ac_ct_STRIP=$STRIP
7097  # Extract the first word of "strip", so it can be a program name with args.
7098set dummy strip; ac_word=$2
7099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7100$as_echo_n "checking for $ac_word... " >&6; }
7101if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7102  $as_echo_n "(cached) " >&6
7103else
7104  if test -n "$ac_ct_STRIP"; then
7105  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7106else
7107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108for as_dir in $PATH
7109do
7110  IFS=$as_save_IFS
7111  test -z "$as_dir" && as_dir=.
7112    for ac_exec_ext in '' $ac_executable_extensions; do
7113  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7114    ac_cv_prog_ac_ct_STRIP="strip"
7115    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116    break 2
7117  fi
7118done
7119  done
7120IFS=$as_save_IFS
7121
7122fi
7123fi
7124ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7125if test -n "$ac_ct_STRIP"; then
7126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7127$as_echo "$ac_ct_STRIP" >&6; }
7128else
7129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130$as_echo "no" >&6; }
7131fi
7132
7133  if test "x$ac_ct_STRIP" = x; then
7134    STRIP=":"
7135  else
7136    case $cross_compiling:$ac_tool_warned in
7137yes:)
7138{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7139$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7140ac_tool_warned=yes ;;
7141esac
7142    STRIP=$ac_ct_STRIP
7143  fi
7144else
7145  STRIP="$ac_cv_prog_STRIP"
7146fi
7147
7148test -z "$STRIP" && STRIP=:
7149
7150
7151
7152
7153
7154
7155if test -n "$ac_tool_prefix"; then
7156  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7157set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159$as_echo_n "checking for $ac_word... " >&6; }
7160if ${ac_cv_prog_RANLIB+:} false; then :
7161  $as_echo_n "(cached) " >&6
7162else
7163  if test -n "$RANLIB"; then
7164  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7165else
7166as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7167for as_dir in $PATH
7168do
7169  IFS=$as_save_IFS
7170  test -z "$as_dir" && as_dir=.
7171    for ac_exec_ext in '' $ac_executable_extensions; do
7172  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7173    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7174    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7175    break 2
7176  fi
7177done
7178  done
7179IFS=$as_save_IFS
7180
7181fi
7182fi
7183RANLIB=$ac_cv_prog_RANLIB
7184if test -n "$RANLIB"; then
7185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7186$as_echo "$RANLIB" >&6; }
7187else
7188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189$as_echo "no" >&6; }
7190fi
7191
7192
7193fi
7194if test -z "$ac_cv_prog_RANLIB"; then
7195  ac_ct_RANLIB=$RANLIB
7196  # Extract the first word of "ranlib", so it can be a program name with args.
7197set dummy ranlib; ac_word=$2
7198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7199$as_echo_n "checking for $ac_word... " >&6; }
7200if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7201  $as_echo_n "(cached) " >&6
7202else
7203  if test -n "$ac_ct_RANLIB"; then
7204  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7205else
7206as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7207for as_dir in $PATH
7208do
7209  IFS=$as_save_IFS
7210  test -z "$as_dir" && as_dir=.
7211    for ac_exec_ext in '' $ac_executable_extensions; do
7212  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7213    ac_cv_prog_ac_ct_RANLIB="ranlib"
7214    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7215    break 2
7216  fi
7217done
7218  done
7219IFS=$as_save_IFS
7220
7221fi
7222fi
7223ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7224if test -n "$ac_ct_RANLIB"; then
7225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7226$as_echo "$ac_ct_RANLIB" >&6; }
7227else
7228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7229$as_echo "no" >&6; }
7230fi
7231
7232  if test "x$ac_ct_RANLIB" = x; then
7233    RANLIB=":"
7234  else
7235    case $cross_compiling:$ac_tool_warned in
7236yes:)
7237{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7238$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7239ac_tool_warned=yes ;;
7240esac
7241    RANLIB=$ac_ct_RANLIB
7242  fi
7243else
7244  RANLIB="$ac_cv_prog_RANLIB"
7245fi
7246
7247test -z "$RANLIB" && RANLIB=:
7248
7249
7250
7251
7252
7253
7254# Determine commands to create old-style static archives.
7255old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7256old_postinstall_cmds='chmod 644 $oldlib'
7257old_postuninstall_cmds=
7258
7259if test -n "$RANLIB"; then
7260  case $host_os in
7261  openbsd*)
7262    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7263    ;;
7264  *)
7265    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7266    ;;
7267  esac
7268  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7269fi
7270
7271case $host_os in
7272  darwin*)
7273    lock_old_archive_extraction=yes ;;
7274  *)
7275    lock_old_archive_extraction=no ;;
7276esac
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316# If no C compiler was specified, use CC.
7317LTCC=${LTCC-"$CC"}
7318
7319# If no C compiler flags were specified, use CFLAGS.
7320LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7321
7322# Allow CC to be a program name with arguments.
7323compiler=$CC
7324
7325
7326# Check for command to grab the raw symbol name followed by C symbol from nm.
7327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7328$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7329if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7330  $as_echo_n "(cached) " >&6
7331else
7332
7333# These are sane defaults that work on at least a few old systems.
7334# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7335
7336# Character class describing NM global symbol codes.
7337symcode='[BCDEGRST]'
7338
7339# Regexp to match symbols that can be accessed directly from C.
7340sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7341
7342# Define system-specific variables.
7343case $host_os in
7344aix*)
7345  symcode='[BCDT]'
7346  ;;
7347cygwin* | mingw* | pw32* | cegcc*)
7348  symcode='[ABCDGISTW]'
7349  ;;
7350hpux*)
7351  if test "$host_cpu" = ia64; then
7352    symcode='[ABCDEGRST]'
7353  fi
7354  ;;
7355irix* | nonstopux*)
7356  symcode='[BCDEGRST]'
7357  ;;
7358osf*)
7359  symcode='[BCDEGQRST]'
7360  ;;
7361solaris*)
7362  symcode='[BDRT]'
7363  ;;
7364sco3.2v5*)
7365  symcode='[DT]'
7366  ;;
7367sysv4.2uw2*)
7368  symcode='[DT]'
7369  ;;
7370sysv5* | sco5v6* | unixware* | OpenUNIX*)
7371  symcode='[ABDT]'
7372  ;;
7373sysv4)
7374  symcode='[DFNSTU]'
7375  ;;
7376esac
7377
7378# If we're using GNU nm, then use its standard symbol codes.
7379case `$NM -V 2>&1` in
7380*GNU* | *'with BFD'*)
7381  symcode='[ABCDGIRSTW]' ;;
7382esac
7383
7384# Transform an extracted symbol line into a proper C declaration.
7385# Some systems (esp. on ia64) link data and code symbols differently,
7386# so use this general approach.
7387lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7388
7389# Transform an extracted symbol line into symbol name and symbol address
7390lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7391lt_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'"
7392
7393# Handle CRLF in mingw tool chain
7394opt_cr=
7395case $build_os in
7396mingw*)
7397  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7398  ;;
7399esac
7400
7401# Try without a prefix underscore, then with it.
7402for ac_symprfx in "" "_"; do
7403
7404  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7405  symxfrm="\\1 $ac_symprfx\\2 \\2"
7406
7407  # Write the raw and C identifiers.
7408  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7409    # Fake it for dumpbin and say T for any non-static function
7410    # and D for any global variable.
7411    # Also find C++ and __fastcall symbols from MSVC++,
7412    # which start with @ or ?.
7413    lt_cv_sys_global_symbol_pipe="$AWK '"\
7414"     {last_section=section; section=\$ 3};"\
7415"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7416"     \$ 0!~/External *\|/{next};"\
7417"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7418"     {if(hide[section]) next};"\
7419"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7420"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7421"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7422"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7423"     ' prfx=^$ac_symprfx"
7424  else
7425    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7426  fi
7427  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7428
7429  # Check to see that the pipe works correctly.
7430  pipe_works=no
7431
7432  rm -f conftest*
7433  cat > conftest.$ac_ext <<_LT_EOF
7434#ifdef __cplusplus
7435extern "C" {
7436#endif
7437char nm_test_var;
7438void nm_test_func(void);
7439void nm_test_func(void){}
7440#ifdef __cplusplus
7441}
7442#endif
7443int main(){nm_test_var='a';nm_test_func();return(0);}
7444_LT_EOF
7445
7446  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7447  (eval $ac_compile) 2>&5
7448  ac_status=$?
7449  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7450  test $ac_status = 0; }; then
7451    # Now try to grab the symbols.
7452    nlist=conftest.nm
7453    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7454  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7455  ac_status=$?
7456  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7457  test $ac_status = 0; } && test -s "$nlist"; then
7458      # Try sorting and uniquifying the output.
7459      if sort "$nlist" | uniq > "$nlist"T; then
7460	mv -f "$nlist"T "$nlist"
7461      else
7462	rm -f "$nlist"T
7463      fi
7464
7465      # Make sure that we snagged all the symbols we need.
7466      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7467	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7468	  cat <<_LT_EOF > conftest.$ac_ext
7469/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7470#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7471/* DATA imports from DLLs on WIN32 con't be const, because runtime
7472   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7473# define LT_DLSYM_CONST
7474#elif defined(__osf__)
7475/* This system does not cope well with relocations in const data.  */
7476# define LT_DLSYM_CONST
7477#else
7478# define LT_DLSYM_CONST const
7479#endif
7480
7481#ifdef __cplusplus
7482extern "C" {
7483#endif
7484
7485_LT_EOF
7486	  # Now generate the symbol file.
7487	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7488
7489	  cat <<_LT_EOF >> conftest.$ac_ext
7490
7491/* The mapping between symbol names and symbols.  */
7492LT_DLSYM_CONST struct {
7493  const char *name;
7494  void       *address;
7495}
7496lt__PROGRAM__LTX_preloaded_symbols[] =
7497{
7498  { "@PROGRAM@", (void *) 0 },
7499_LT_EOF
7500	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7501	  cat <<\_LT_EOF >> conftest.$ac_ext
7502  {0, (void *) 0}
7503};
7504
7505/* This works around a problem in FreeBSD linker */
7506#ifdef FREEBSD_WORKAROUND
7507static const void *lt_preloaded_setup() {
7508  return lt__PROGRAM__LTX_preloaded_symbols;
7509}
7510#endif
7511
7512#ifdef __cplusplus
7513}
7514#endif
7515_LT_EOF
7516	  # Now try linking the two files.
7517	  mv conftest.$ac_objext conftstm.$ac_objext
7518	  lt_globsym_save_LIBS=$LIBS
7519	  lt_globsym_save_CFLAGS=$CFLAGS
7520	  LIBS="conftstm.$ac_objext"
7521	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7522	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7523  (eval $ac_link) 2>&5
7524  ac_status=$?
7525  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7526  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7527	    pipe_works=yes
7528	  fi
7529	  LIBS=$lt_globsym_save_LIBS
7530	  CFLAGS=$lt_globsym_save_CFLAGS
7531	else
7532	  echo "cannot find nm_test_func in $nlist" >&5
7533	fi
7534      else
7535	echo "cannot find nm_test_var in $nlist" >&5
7536      fi
7537    else
7538      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7539    fi
7540  else
7541    echo "$progname: failed program was:" >&5
7542    cat conftest.$ac_ext >&5
7543  fi
7544  rm -rf conftest* conftst*
7545
7546  # Do not use the global_symbol_pipe unless it works.
7547  if test "$pipe_works" = yes; then
7548    break
7549  else
7550    lt_cv_sys_global_symbol_pipe=
7551  fi
7552done
7553
7554fi
7555
7556if test -z "$lt_cv_sys_global_symbol_pipe"; then
7557  lt_cv_sys_global_symbol_to_cdecl=
7558fi
7559if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7561$as_echo "failed" >&6; }
7562else
7563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7564$as_echo "ok" >&6; }
7565fi
7566
7567# Response file support.
7568if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7569  nm_file_list_spec='@'
7570elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7571  nm_file_list_spec='@'
7572fi
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7601$as_echo_n "checking for sysroot... " >&6; }
7602
7603# Check whether --with-sysroot was given.
7604if test "${with_sysroot+set}" = set; then :
7605  withval=$with_sysroot;
7606else
7607  with_sysroot=no
7608fi
7609
7610
7611lt_sysroot=
7612case ${with_sysroot} in #(
7613 yes)
7614   if test "$GCC" = yes; then
7615     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7616   fi
7617   ;; #(
7618 /*)
7619   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7620   ;; #(
7621 no|'')
7622   ;; #(
7623 *)
7624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7625$as_echo "${with_sysroot}" >&6; }
7626   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7627   ;;
7628esac
7629
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7631$as_echo "${lt_sysroot:-no}" >&6; }
7632
7633
7634
7635
7636
7637# Check whether --enable-libtool-lock was given.
7638if test "${enable_libtool_lock+set}" = set; then :
7639  enableval=$enable_libtool_lock;
7640fi
7641
7642test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7643
7644# Some flags need to be propagated to the compiler or linker for good
7645# libtool support.
7646case $host in
7647ia64-*-hpux*)
7648  # Find out which ABI we are using.
7649  echo 'int i;' > conftest.$ac_ext
7650  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7651  (eval $ac_compile) 2>&5
7652  ac_status=$?
7653  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7654  test $ac_status = 0; }; then
7655    case `/usr/bin/file conftest.$ac_objext` in
7656      *ELF-32*)
7657	HPUX_IA64_MODE="32"
7658	;;
7659      *ELF-64*)
7660	HPUX_IA64_MODE="64"
7661	;;
7662    esac
7663  fi
7664  rm -rf conftest*
7665  ;;
7666*-*-irix6*)
7667  # Find out which ABI we are using.
7668  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7669  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7670  (eval $ac_compile) 2>&5
7671  ac_status=$?
7672  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7673  test $ac_status = 0; }; then
7674    if test "$lt_cv_prog_gnu_ld" = yes; then
7675      case `/usr/bin/file conftest.$ac_objext` in
7676	*32-bit*)
7677	  LD="${LD-ld} -melf32bsmip"
7678	  ;;
7679	*N32*)
7680	  LD="${LD-ld} -melf32bmipn32"
7681	  ;;
7682	*64-bit*)
7683	  LD="${LD-ld} -melf64bmip"
7684	;;
7685      esac
7686    else
7687      case `/usr/bin/file conftest.$ac_objext` in
7688	*32-bit*)
7689	  LD="${LD-ld} -32"
7690	  ;;
7691	*N32*)
7692	  LD="${LD-ld} -n32"
7693	  ;;
7694	*64-bit*)
7695	  LD="${LD-ld} -64"
7696	  ;;
7697      esac
7698    fi
7699  fi
7700  rm -rf conftest*
7701  ;;
7702
7703x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7704s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7705  # Find out which ABI we are using.
7706  echo 'int i;' > conftest.$ac_ext
7707  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7708  (eval $ac_compile) 2>&5
7709  ac_status=$?
7710  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7711  test $ac_status = 0; }; then
7712    case `/usr/bin/file conftest.o` in
7713      *32-bit*)
7714	case $host in
7715	  x86_64-*kfreebsd*-gnu)
7716	    LD="${LD-ld} -m elf_i386_fbsd"
7717	    ;;
7718	  x86_64-*linux*)
7719	    LD="${LD-ld} -m elf_i386"
7720	    ;;
7721	  ppc64-*linux*|powerpc64-*linux*)
7722	    LD="${LD-ld} -m elf32ppclinux"
7723	    ;;
7724	  s390x-*linux*)
7725	    LD="${LD-ld} -m elf_s390"
7726	    ;;
7727	  sparc64-*linux*)
7728	    LD="${LD-ld} -m elf32_sparc"
7729	    ;;
7730	esac
7731	;;
7732      *64-bit*)
7733	case $host in
7734	  x86_64-*kfreebsd*-gnu)
7735	    LD="${LD-ld} -m elf_x86_64_fbsd"
7736	    ;;
7737	  x86_64-*linux*)
7738	    LD="${LD-ld} -m elf_x86_64"
7739	    ;;
7740	  ppc*-*linux*|powerpc*-*linux*)
7741	    LD="${LD-ld} -m elf64ppc"
7742	    ;;
7743	  s390*-*linux*|s390*-*tpf*)
7744	    LD="${LD-ld} -m elf64_s390"
7745	    ;;
7746	  sparc*-*linux*)
7747	    LD="${LD-ld} -m elf64_sparc"
7748	    ;;
7749	esac
7750	;;
7751    esac
7752  fi
7753  rm -rf conftest*
7754  ;;
7755
7756*-*-sco3.2v5*)
7757  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7758  SAVE_CFLAGS="$CFLAGS"
7759  CFLAGS="$CFLAGS -belf"
7760  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7761$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7762if ${lt_cv_cc_needs_belf+:} false; then :
7763  $as_echo_n "(cached) " >&6
7764else
7765  ac_ext=c
7766ac_cpp='$CPP $CPPFLAGS'
7767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7769ac_compiler_gnu=$ac_cv_c_compiler_gnu
7770
7771     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772/* end confdefs.h.  */
7773
7774int
7775main ()
7776{
7777
7778  ;
7779  return 0;
7780}
7781_ACEOF
7782if ac_fn_c_try_link "$LINENO"; then :
7783  lt_cv_cc_needs_belf=yes
7784else
7785  lt_cv_cc_needs_belf=no
7786fi
7787rm -f core conftest.err conftest.$ac_objext \
7788    conftest$ac_exeext conftest.$ac_ext
7789     ac_ext=c
7790ac_cpp='$CPP $CPPFLAGS'
7791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7793ac_compiler_gnu=$ac_cv_c_compiler_gnu
7794
7795fi
7796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7797$as_echo "$lt_cv_cc_needs_belf" >&6; }
7798  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7799    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7800    CFLAGS="$SAVE_CFLAGS"
7801  fi
7802  ;;
7803sparc*-*solaris*)
7804  # Find out which ABI we are using.
7805  echo 'int i;' > conftest.$ac_ext
7806  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7807  (eval $ac_compile) 2>&5
7808  ac_status=$?
7809  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7810  test $ac_status = 0; }; then
7811    case `/usr/bin/file conftest.o` in
7812    *64-bit*)
7813      case $lt_cv_prog_gnu_ld in
7814      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7815      *)
7816	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7817	  LD="${LD-ld} -64"
7818	fi
7819	;;
7820      esac
7821      ;;
7822    esac
7823  fi
7824  rm -rf conftest*
7825  ;;
7826esac
7827
7828need_locks="$enable_libtool_lock"
7829
7830if test -n "$ac_tool_prefix"; then
7831  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7832set dummy ${ac_tool_prefix}mt; ac_word=$2
7833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7834$as_echo_n "checking for $ac_word... " >&6; }
7835if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7836  $as_echo_n "(cached) " >&6
7837else
7838  if test -n "$MANIFEST_TOOL"; then
7839  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7840else
7841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7842for as_dir in $PATH
7843do
7844  IFS=$as_save_IFS
7845  test -z "$as_dir" && as_dir=.
7846    for ac_exec_ext in '' $ac_executable_extensions; do
7847  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7848    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7849    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7850    break 2
7851  fi
7852done
7853  done
7854IFS=$as_save_IFS
7855
7856fi
7857fi
7858MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7859if test -n "$MANIFEST_TOOL"; then
7860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7861$as_echo "$MANIFEST_TOOL" >&6; }
7862else
7863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7864$as_echo "no" >&6; }
7865fi
7866
7867
7868fi
7869if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7870  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7871  # Extract the first word of "mt", so it can be a program name with args.
7872set dummy mt; ac_word=$2
7873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7874$as_echo_n "checking for $ac_word... " >&6; }
7875if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7876  $as_echo_n "(cached) " >&6
7877else
7878  if test -n "$ac_ct_MANIFEST_TOOL"; then
7879  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7880else
7881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7882for as_dir in $PATH
7883do
7884  IFS=$as_save_IFS
7885  test -z "$as_dir" && as_dir=.
7886    for ac_exec_ext in '' $ac_executable_extensions; do
7887  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7888    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7889    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7890    break 2
7891  fi
7892done
7893  done
7894IFS=$as_save_IFS
7895
7896fi
7897fi
7898ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7899if test -n "$ac_ct_MANIFEST_TOOL"; then
7900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7901$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7902else
7903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7904$as_echo "no" >&6; }
7905fi
7906
7907  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7908    MANIFEST_TOOL=":"
7909  else
7910    case $cross_compiling:$ac_tool_warned in
7911yes:)
7912{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7913$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7914ac_tool_warned=yes ;;
7915esac
7916    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7917  fi
7918else
7919  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7920fi
7921
7922test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7924$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7925if ${lt_cv_path_mainfest_tool+:} false; then :
7926  $as_echo_n "(cached) " >&6
7927else
7928  lt_cv_path_mainfest_tool=no
7929  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7930  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7931  cat conftest.err >&5
7932  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7933    lt_cv_path_mainfest_tool=yes
7934  fi
7935  rm -f conftest*
7936fi
7937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7938$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7939if test "x$lt_cv_path_mainfest_tool" != xyes; then
7940  MANIFEST_TOOL=:
7941fi
7942
7943
7944
7945
7946
7947
7948  case $host_os in
7949    rhapsody* | darwin*)
7950    if test -n "$ac_tool_prefix"; then
7951  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7952set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7954$as_echo_n "checking for $ac_word... " >&6; }
7955if ${ac_cv_prog_DSYMUTIL+:} false; then :
7956  $as_echo_n "(cached) " >&6
7957else
7958  if test -n "$DSYMUTIL"; then
7959  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7960else
7961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7962for as_dir in $PATH
7963do
7964  IFS=$as_save_IFS
7965  test -z "$as_dir" && as_dir=.
7966    for ac_exec_ext in '' $ac_executable_extensions; do
7967  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7968    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7969    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7970    break 2
7971  fi
7972done
7973  done
7974IFS=$as_save_IFS
7975
7976fi
7977fi
7978DSYMUTIL=$ac_cv_prog_DSYMUTIL
7979if test -n "$DSYMUTIL"; then
7980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7981$as_echo "$DSYMUTIL" >&6; }
7982else
7983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7984$as_echo "no" >&6; }
7985fi
7986
7987
7988fi
7989if test -z "$ac_cv_prog_DSYMUTIL"; then
7990  ac_ct_DSYMUTIL=$DSYMUTIL
7991  # Extract the first word of "dsymutil", so it can be a program name with args.
7992set dummy dsymutil; ac_word=$2
7993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7994$as_echo_n "checking for $ac_word... " >&6; }
7995if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7996  $as_echo_n "(cached) " >&6
7997else
7998  if test -n "$ac_ct_DSYMUTIL"; then
7999  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8000else
8001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8002for as_dir in $PATH
8003do
8004  IFS=$as_save_IFS
8005  test -z "$as_dir" && as_dir=.
8006    for ac_exec_ext in '' $ac_executable_extensions; do
8007  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8008    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8009    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8010    break 2
8011  fi
8012done
8013  done
8014IFS=$as_save_IFS
8015
8016fi
8017fi
8018ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8019if test -n "$ac_ct_DSYMUTIL"; then
8020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8021$as_echo "$ac_ct_DSYMUTIL" >&6; }
8022else
8023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8024$as_echo "no" >&6; }
8025fi
8026
8027  if test "x$ac_ct_DSYMUTIL" = x; then
8028    DSYMUTIL=":"
8029  else
8030    case $cross_compiling:$ac_tool_warned in
8031yes:)
8032{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8033$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8034ac_tool_warned=yes ;;
8035esac
8036    DSYMUTIL=$ac_ct_DSYMUTIL
8037  fi
8038else
8039  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8040fi
8041
8042    if test -n "$ac_tool_prefix"; then
8043  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8044set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8046$as_echo_n "checking for $ac_word... " >&6; }
8047if ${ac_cv_prog_NMEDIT+:} false; then :
8048  $as_echo_n "(cached) " >&6
8049else
8050  if test -n "$NMEDIT"; then
8051  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8052else
8053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8054for as_dir in $PATH
8055do
8056  IFS=$as_save_IFS
8057  test -z "$as_dir" && as_dir=.
8058    for ac_exec_ext in '' $ac_executable_extensions; do
8059  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8060    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8061    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8062    break 2
8063  fi
8064done
8065  done
8066IFS=$as_save_IFS
8067
8068fi
8069fi
8070NMEDIT=$ac_cv_prog_NMEDIT
8071if test -n "$NMEDIT"; then
8072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8073$as_echo "$NMEDIT" >&6; }
8074else
8075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8076$as_echo "no" >&6; }
8077fi
8078
8079
8080fi
8081if test -z "$ac_cv_prog_NMEDIT"; then
8082  ac_ct_NMEDIT=$NMEDIT
8083  # Extract the first word of "nmedit", so it can be a program name with args.
8084set dummy nmedit; ac_word=$2
8085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8086$as_echo_n "checking for $ac_word... " >&6; }
8087if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8088  $as_echo_n "(cached) " >&6
8089else
8090  if test -n "$ac_ct_NMEDIT"; then
8091  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8092else
8093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8094for as_dir in $PATH
8095do
8096  IFS=$as_save_IFS
8097  test -z "$as_dir" && as_dir=.
8098    for ac_exec_ext in '' $ac_executable_extensions; do
8099  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8100    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8101    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8102    break 2
8103  fi
8104done
8105  done
8106IFS=$as_save_IFS
8107
8108fi
8109fi
8110ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8111if test -n "$ac_ct_NMEDIT"; then
8112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8113$as_echo "$ac_ct_NMEDIT" >&6; }
8114else
8115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8116$as_echo "no" >&6; }
8117fi
8118
8119  if test "x$ac_ct_NMEDIT" = x; then
8120    NMEDIT=":"
8121  else
8122    case $cross_compiling:$ac_tool_warned in
8123yes:)
8124{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8125$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8126ac_tool_warned=yes ;;
8127esac
8128    NMEDIT=$ac_ct_NMEDIT
8129  fi
8130else
8131  NMEDIT="$ac_cv_prog_NMEDIT"
8132fi
8133
8134    if test -n "$ac_tool_prefix"; then
8135  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8136set dummy ${ac_tool_prefix}lipo; ac_word=$2
8137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8138$as_echo_n "checking for $ac_word... " >&6; }
8139if ${ac_cv_prog_LIPO+:} false; then :
8140  $as_echo_n "(cached) " >&6
8141else
8142  if test -n "$LIPO"; then
8143  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8144else
8145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8146for as_dir in $PATH
8147do
8148  IFS=$as_save_IFS
8149  test -z "$as_dir" && as_dir=.
8150    for ac_exec_ext in '' $ac_executable_extensions; do
8151  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8152    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8153    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8154    break 2
8155  fi
8156done
8157  done
8158IFS=$as_save_IFS
8159
8160fi
8161fi
8162LIPO=$ac_cv_prog_LIPO
8163if test -n "$LIPO"; then
8164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8165$as_echo "$LIPO" >&6; }
8166else
8167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8168$as_echo "no" >&6; }
8169fi
8170
8171
8172fi
8173if test -z "$ac_cv_prog_LIPO"; then
8174  ac_ct_LIPO=$LIPO
8175  # Extract the first word of "lipo", so it can be a program name with args.
8176set dummy lipo; ac_word=$2
8177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8178$as_echo_n "checking for $ac_word... " >&6; }
8179if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8180  $as_echo_n "(cached) " >&6
8181else
8182  if test -n "$ac_ct_LIPO"; then
8183  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8184else
8185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8186for as_dir in $PATH
8187do
8188  IFS=$as_save_IFS
8189  test -z "$as_dir" && as_dir=.
8190    for ac_exec_ext in '' $ac_executable_extensions; do
8191  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8192    ac_cv_prog_ac_ct_LIPO="lipo"
8193    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8194    break 2
8195  fi
8196done
8197  done
8198IFS=$as_save_IFS
8199
8200fi
8201fi
8202ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8203if test -n "$ac_ct_LIPO"; then
8204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8205$as_echo "$ac_ct_LIPO" >&6; }
8206else
8207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8208$as_echo "no" >&6; }
8209fi
8210
8211  if test "x$ac_ct_LIPO" = x; then
8212    LIPO=":"
8213  else
8214    case $cross_compiling:$ac_tool_warned in
8215yes:)
8216{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8217$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8218ac_tool_warned=yes ;;
8219esac
8220    LIPO=$ac_ct_LIPO
8221  fi
8222else
8223  LIPO="$ac_cv_prog_LIPO"
8224fi
8225
8226    if test -n "$ac_tool_prefix"; then
8227  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8228set dummy ${ac_tool_prefix}otool; ac_word=$2
8229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8230$as_echo_n "checking for $ac_word... " >&6; }
8231if ${ac_cv_prog_OTOOL+:} false; then :
8232  $as_echo_n "(cached) " >&6
8233else
8234  if test -n "$OTOOL"; then
8235  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8236else
8237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8238for as_dir in $PATH
8239do
8240  IFS=$as_save_IFS
8241  test -z "$as_dir" && as_dir=.
8242    for ac_exec_ext in '' $ac_executable_extensions; do
8243  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8244    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8245    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8246    break 2
8247  fi
8248done
8249  done
8250IFS=$as_save_IFS
8251
8252fi
8253fi
8254OTOOL=$ac_cv_prog_OTOOL
8255if test -n "$OTOOL"; then
8256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8257$as_echo "$OTOOL" >&6; }
8258else
8259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260$as_echo "no" >&6; }
8261fi
8262
8263
8264fi
8265if test -z "$ac_cv_prog_OTOOL"; then
8266  ac_ct_OTOOL=$OTOOL
8267  # Extract the first word of "otool", so it can be a program name with args.
8268set dummy otool; ac_word=$2
8269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8270$as_echo_n "checking for $ac_word... " >&6; }
8271if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8272  $as_echo_n "(cached) " >&6
8273else
8274  if test -n "$ac_ct_OTOOL"; then
8275  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8276else
8277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8278for as_dir in $PATH
8279do
8280  IFS=$as_save_IFS
8281  test -z "$as_dir" && as_dir=.
8282    for ac_exec_ext in '' $ac_executable_extensions; do
8283  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8284    ac_cv_prog_ac_ct_OTOOL="otool"
8285    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8286    break 2
8287  fi
8288done
8289  done
8290IFS=$as_save_IFS
8291
8292fi
8293fi
8294ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8295if test -n "$ac_ct_OTOOL"; then
8296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8297$as_echo "$ac_ct_OTOOL" >&6; }
8298else
8299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8300$as_echo "no" >&6; }
8301fi
8302
8303  if test "x$ac_ct_OTOOL" = x; then
8304    OTOOL=":"
8305  else
8306    case $cross_compiling:$ac_tool_warned in
8307yes:)
8308{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8309$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8310ac_tool_warned=yes ;;
8311esac
8312    OTOOL=$ac_ct_OTOOL
8313  fi
8314else
8315  OTOOL="$ac_cv_prog_OTOOL"
8316fi
8317
8318    if test -n "$ac_tool_prefix"; then
8319  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8320set dummy ${ac_tool_prefix}otool64; ac_word=$2
8321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8322$as_echo_n "checking for $ac_word... " >&6; }
8323if ${ac_cv_prog_OTOOL64+:} false; then :
8324  $as_echo_n "(cached) " >&6
8325else
8326  if test -n "$OTOOL64"; then
8327  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8328else
8329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8330for as_dir in $PATH
8331do
8332  IFS=$as_save_IFS
8333  test -z "$as_dir" && as_dir=.
8334    for ac_exec_ext in '' $ac_executable_extensions; do
8335  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8336    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8337    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8338    break 2
8339  fi
8340done
8341  done
8342IFS=$as_save_IFS
8343
8344fi
8345fi
8346OTOOL64=$ac_cv_prog_OTOOL64
8347if test -n "$OTOOL64"; then
8348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8349$as_echo "$OTOOL64" >&6; }
8350else
8351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8352$as_echo "no" >&6; }
8353fi
8354
8355
8356fi
8357if test -z "$ac_cv_prog_OTOOL64"; then
8358  ac_ct_OTOOL64=$OTOOL64
8359  # Extract the first word of "otool64", so it can be a program name with args.
8360set dummy otool64; ac_word=$2
8361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8362$as_echo_n "checking for $ac_word... " >&6; }
8363if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8364  $as_echo_n "(cached) " >&6
8365else
8366  if test -n "$ac_ct_OTOOL64"; then
8367  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8368else
8369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8370for as_dir in $PATH
8371do
8372  IFS=$as_save_IFS
8373  test -z "$as_dir" && as_dir=.
8374    for ac_exec_ext in '' $ac_executable_extensions; do
8375  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8376    ac_cv_prog_ac_ct_OTOOL64="otool64"
8377    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8378    break 2
8379  fi
8380done
8381  done
8382IFS=$as_save_IFS
8383
8384fi
8385fi
8386ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8387if test -n "$ac_ct_OTOOL64"; then
8388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8389$as_echo "$ac_ct_OTOOL64" >&6; }
8390else
8391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8392$as_echo "no" >&6; }
8393fi
8394
8395  if test "x$ac_ct_OTOOL64" = x; then
8396    OTOOL64=":"
8397  else
8398    case $cross_compiling:$ac_tool_warned in
8399yes:)
8400{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8401$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8402ac_tool_warned=yes ;;
8403esac
8404    OTOOL64=$ac_ct_OTOOL64
8405  fi
8406else
8407  OTOOL64="$ac_cv_prog_OTOOL64"
8408fi
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8437$as_echo_n "checking for -single_module linker flag... " >&6; }
8438if ${lt_cv_apple_cc_single_mod+:} false; then :
8439  $as_echo_n "(cached) " >&6
8440else
8441  lt_cv_apple_cc_single_mod=no
8442      if test -z "${LT_MULTI_MODULE}"; then
8443	# By default we will add the -single_module flag. You can override
8444	# by either setting the environment variable LT_MULTI_MODULE
8445	# non-empty at configure time, or by adding -multi_module to the
8446	# link flags.
8447	rm -rf libconftest.dylib*
8448	echo "int foo(void){return 1;}" > conftest.c
8449	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8450-dynamiclib -Wl,-single_module conftest.c" >&5
8451	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8452	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8453        _lt_result=$?
8454	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8455	  lt_cv_apple_cc_single_mod=yes
8456	else
8457	  cat conftest.err >&5
8458	fi
8459	rm -rf libconftest.dylib*
8460	rm -f conftest.*
8461      fi
8462fi
8463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8464$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8465    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8466$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8467if ${lt_cv_ld_exported_symbols_list+:} false; then :
8468  $as_echo_n "(cached) " >&6
8469else
8470  lt_cv_ld_exported_symbols_list=no
8471      save_LDFLAGS=$LDFLAGS
8472      echo "_main" > conftest.sym
8473      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8474      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475/* end confdefs.h.  */
8476
8477int
8478main ()
8479{
8480
8481  ;
8482  return 0;
8483}
8484_ACEOF
8485if ac_fn_c_try_link "$LINENO"; then :
8486  lt_cv_ld_exported_symbols_list=yes
8487else
8488  lt_cv_ld_exported_symbols_list=no
8489fi
8490rm -f core conftest.err conftest.$ac_objext \
8491    conftest$ac_exeext conftest.$ac_ext
8492	LDFLAGS="$save_LDFLAGS"
8493
8494fi
8495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8496$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8497    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8498$as_echo_n "checking for -force_load linker flag... " >&6; }
8499if ${lt_cv_ld_force_load+:} false; then :
8500  $as_echo_n "(cached) " >&6
8501else
8502  lt_cv_ld_force_load=no
8503      cat > conftest.c << _LT_EOF
8504int forced_loaded() { return 2;}
8505_LT_EOF
8506      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8507      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8508      echo "$AR cru libconftest.a conftest.o" >&5
8509      $AR cru libconftest.a conftest.o 2>&5
8510      echo "$RANLIB libconftest.a" >&5
8511      $RANLIB libconftest.a 2>&5
8512      cat > conftest.c << _LT_EOF
8513int main() { return 0;}
8514_LT_EOF
8515      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8516      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8517      _lt_result=$?
8518      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8519	lt_cv_ld_force_load=yes
8520      else
8521	cat conftest.err >&5
8522      fi
8523        rm -f conftest.err libconftest.a conftest conftest.c
8524        rm -rf conftest.dSYM
8525
8526fi
8527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8528$as_echo "$lt_cv_ld_force_load" >&6; }
8529    case $host_os in
8530    rhapsody* | darwin1.[012])
8531      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8532    darwin1.*)
8533      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8534    darwin*) # darwin 5.x on
8535      # if running on 10.5 or later, the deployment target defaults
8536      # to the OS version, if on x86, and 10.4, the deployment
8537      # target defaults to 10.4. Don't you love it?
8538      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8539	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8540	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8541	10.[012]*)
8542	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8543	10.*)
8544	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8545      esac
8546    ;;
8547  esac
8548    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8549      _lt_dar_single_mod='$single_module'
8550    fi
8551    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8552      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8553    else
8554      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8555    fi
8556    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8557      _lt_dsymutil='~$DSYMUTIL $lib || :'
8558    else
8559      _lt_dsymutil=
8560    fi
8561    ;;
8562  esac
8563
8564# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8565for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8566		  inttypes.h stdint.h unistd.h
8567do :
8568  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8569ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8570"
8571if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8572  cat >>confdefs.h <<_ACEOF
8573#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8574_ACEOF
8575
8576fi
8577
8578done
8579
8580
8581for ac_header in dlfcn.h
8582do :
8583  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8584"
8585if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8586  cat >>confdefs.h <<_ACEOF
8587#define HAVE_DLFCN_H 1
8588_ACEOF
8589
8590fi
8591
8592done
8593
8594
8595
8596
8597
8598# Set options
8599
8600
8601
8602        enable_dlopen=no
8603
8604
8605  enable_win32_dll=no
8606
8607
8608            # Check whether --enable-shared was given.
8609if test "${enable_shared+set}" = set; then :
8610  enableval=$enable_shared; p=${PACKAGE-default}
8611    case $enableval in
8612    yes) enable_shared=yes ;;
8613    no) enable_shared=no ;;
8614    *)
8615      enable_shared=no
8616      # Look at the argument we got.  We use all the common list separators.
8617      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8618      for pkg in $enableval; do
8619	IFS="$lt_save_ifs"
8620	if test "X$pkg" = "X$p"; then
8621	  enable_shared=yes
8622	fi
8623      done
8624      IFS="$lt_save_ifs"
8625      ;;
8626    esac
8627else
8628  enable_shared=yes
8629fi
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639  # Check whether --enable-static was given.
8640if test "${enable_static+set}" = set; then :
8641  enableval=$enable_static; p=${PACKAGE-default}
8642    case $enableval in
8643    yes) enable_static=yes ;;
8644    no) enable_static=no ;;
8645    *)
8646     enable_static=no
8647      # Look at the argument we got.  We use all the common list separators.
8648      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8649      for pkg in $enableval; do
8650	IFS="$lt_save_ifs"
8651	if test "X$pkg" = "X$p"; then
8652	  enable_static=yes
8653	fi
8654      done
8655      IFS="$lt_save_ifs"
8656      ;;
8657    esac
8658else
8659  enable_static=yes
8660fi
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671# Check whether --with-pic was given.
8672if test "${with_pic+set}" = set; then :
8673  withval=$with_pic; pic_mode="$withval"
8674else
8675  pic_mode=default
8676fi
8677
8678
8679test -z "$pic_mode" && pic_mode=default
8680
8681
8682
8683
8684
8685
8686
8687  # Check whether --enable-fast-install was given.
8688if test "${enable_fast_install+set}" = set; then :
8689  enableval=$enable_fast_install; p=${PACKAGE-default}
8690    case $enableval in
8691    yes) enable_fast_install=yes ;;
8692    no) enable_fast_install=no ;;
8693    *)
8694      enable_fast_install=no
8695      # Look at the argument we got.  We use all the common list separators.
8696      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8697      for pkg in $enableval; do
8698	IFS="$lt_save_ifs"
8699	if test "X$pkg" = "X$p"; then
8700	  enable_fast_install=yes
8701	fi
8702      done
8703      IFS="$lt_save_ifs"
8704      ;;
8705    esac
8706else
8707  enable_fast_install=yes
8708fi
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720# This can be used to rebuild libtool when needed
8721LIBTOOL_DEPS="$ltmain"
8722
8723# Always use our own libtool.
8724LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751test -z "$LN_S" && LN_S="ln -s"
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766if test -n "${ZSH_VERSION+set}" ; then
8767   setopt NO_GLOB_SUBST
8768fi
8769
8770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8771$as_echo_n "checking for objdir... " >&6; }
8772if ${lt_cv_objdir+:} false; then :
8773  $as_echo_n "(cached) " >&6
8774else
8775  rm -f .libs 2>/dev/null
8776mkdir .libs 2>/dev/null
8777if test -d .libs; then
8778  lt_cv_objdir=.libs
8779else
8780  # MS-DOS does not allow filenames that begin with a dot.
8781  lt_cv_objdir=_libs
8782fi
8783rmdir .libs 2>/dev/null
8784fi
8785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8786$as_echo "$lt_cv_objdir" >&6; }
8787objdir=$lt_cv_objdir
8788
8789
8790
8791
8792
8793cat >>confdefs.h <<_ACEOF
8794#define LT_OBJDIR "$lt_cv_objdir/"
8795_ACEOF
8796
8797
8798
8799
8800case $host_os in
8801aix3*)
8802  # AIX sometimes has problems with the GCC collect2 program.  For some
8803  # reason, if we set the COLLECT_NAMES environment variable, the problems
8804  # vanish in a puff of smoke.
8805  if test "X${COLLECT_NAMES+set}" != Xset; then
8806    COLLECT_NAMES=
8807    export COLLECT_NAMES
8808  fi
8809  ;;
8810esac
8811
8812# Global variables:
8813ofile=libtool
8814can_build_shared=yes
8815
8816# All known linkers require a `.a' archive for static linking (except MSVC,
8817# which needs '.lib').
8818libext=a
8819
8820with_gnu_ld="$lt_cv_prog_gnu_ld"
8821
8822old_CC="$CC"
8823old_CFLAGS="$CFLAGS"
8824
8825# Set sane defaults for various variables
8826test -z "$CC" && CC=cc
8827test -z "$LTCC" && LTCC=$CC
8828test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8829test -z "$LD" && LD=ld
8830test -z "$ac_objext" && ac_objext=o
8831
8832for cc_temp in $compiler""; do
8833  case $cc_temp in
8834    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8835    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8836    \-*) ;;
8837    *) break;;
8838  esac
8839done
8840cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8841
8842
8843# Only perform the check for file, if the check method requires it
8844test -z "$MAGIC_CMD" && MAGIC_CMD=file
8845case $deplibs_check_method in
8846file_magic*)
8847  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8848    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8849$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8850if ${lt_cv_path_MAGIC_CMD+:} false; then :
8851  $as_echo_n "(cached) " >&6
8852else
8853  case $MAGIC_CMD in
8854[\\/*] |  ?:[\\/]*)
8855  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8856  ;;
8857*)
8858  lt_save_MAGIC_CMD="$MAGIC_CMD"
8859  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8860  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8861  for ac_dir in $ac_dummy; do
8862    IFS="$lt_save_ifs"
8863    test -z "$ac_dir" && ac_dir=.
8864    if test -f $ac_dir/${ac_tool_prefix}file; then
8865      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8866      if test -n "$file_magic_test_file"; then
8867	case $deplibs_check_method in
8868	"file_magic "*)
8869	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8870	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8871	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8872	    $EGREP "$file_magic_regex" > /dev/null; then
8873	    :
8874	  else
8875	    cat <<_LT_EOF 1>&2
8876
8877*** Warning: the command libtool uses to detect shared libraries,
8878*** $file_magic_cmd, produces output that libtool cannot recognize.
8879*** The result is that libtool may fail to recognize shared libraries
8880*** as such.  This will affect the creation of libtool libraries that
8881*** depend on shared libraries, but programs linked with such libtool
8882*** libraries will work regardless of this problem.  Nevertheless, you
8883*** may want to report the problem to your system manager and/or to
8884*** bug-libtool@gnu.org
8885
8886_LT_EOF
8887	  fi ;;
8888	esac
8889      fi
8890      break
8891    fi
8892  done
8893  IFS="$lt_save_ifs"
8894  MAGIC_CMD="$lt_save_MAGIC_CMD"
8895  ;;
8896esac
8897fi
8898
8899MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8900if test -n "$MAGIC_CMD"; then
8901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8902$as_echo "$MAGIC_CMD" >&6; }
8903else
8904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8905$as_echo "no" >&6; }
8906fi
8907
8908
8909
8910
8911
8912if test -z "$lt_cv_path_MAGIC_CMD"; then
8913  if test -n "$ac_tool_prefix"; then
8914    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8915$as_echo_n "checking for file... " >&6; }
8916if ${lt_cv_path_MAGIC_CMD+:} false; then :
8917  $as_echo_n "(cached) " >&6
8918else
8919  case $MAGIC_CMD in
8920[\\/*] |  ?:[\\/]*)
8921  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8922  ;;
8923*)
8924  lt_save_MAGIC_CMD="$MAGIC_CMD"
8925  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8926  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8927  for ac_dir in $ac_dummy; do
8928    IFS="$lt_save_ifs"
8929    test -z "$ac_dir" && ac_dir=.
8930    if test -f $ac_dir/file; then
8931      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8932      if test -n "$file_magic_test_file"; then
8933	case $deplibs_check_method in
8934	"file_magic "*)
8935	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8936	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8937	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8938	    $EGREP "$file_magic_regex" > /dev/null; then
8939	    :
8940	  else
8941	    cat <<_LT_EOF 1>&2
8942
8943*** Warning: the command libtool uses to detect shared libraries,
8944*** $file_magic_cmd, produces output that libtool cannot recognize.
8945*** The result is that libtool may fail to recognize shared libraries
8946*** as such.  This will affect the creation of libtool libraries that
8947*** depend on shared libraries, but programs linked with such libtool
8948*** libraries will work regardless of this problem.  Nevertheless, you
8949*** may want to report the problem to your system manager and/or to
8950*** bug-libtool@gnu.org
8951
8952_LT_EOF
8953	  fi ;;
8954	esac
8955      fi
8956      break
8957    fi
8958  done
8959  IFS="$lt_save_ifs"
8960  MAGIC_CMD="$lt_save_MAGIC_CMD"
8961  ;;
8962esac
8963fi
8964
8965MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8966if test -n "$MAGIC_CMD"; then
8967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8968$as_echo "$MAGIC_CMD" >&6; }
8969else
8970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8971$as_echo "no" >&6; }
8972fi
8973
8974
8975  else
8976    MAGIC_CMD=:
8977  fi
8978fi
8979
8980  fi
8981  ;;
8982esac
8983
8984# Use C for the default configuration in the libtool script
8985
8986lt_save_CC="$CC"
8987ac_ext=c
8988ac_cpp='$CPP $CPPFLAGS'
8989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8991ac_compiler_gnu=$ac_cv_c_compiler_gnu
8992
8993
8994# Source file extension for C test sources.
8995ac_ext=c
8996
8997# Object file extension for compiled C test sources.
8998objext=o
8999objext=$objext
9000
9001# Code to be used in simple compile tests
9002lt_simple_compile_test_code="int some_variable = 0;"
9003
9004# Code to be used in simple link tests
9005lt_simple_link_test_code='int main(){return(0);}'
9006
9007
9008
9009
9010
9011
9012
9013# If no C compiler was specified, use CC.
9014LTCC=${LTCC-"$CC"}
9015
9016# If no C compiler flags were specified, use CFLAGS.
9017LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9018
9019# Allow CC to be a program name with arguments.
9020compiler=$CC
9021
9022# Save the default compiler, since it gets overwritten when the other
9023# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9024compiler_DEFAULT=$CC
9025
9026# save warnings/boilerplate of simple test code
9027ac_outfile=conftest.$ac_objext
9028echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9029eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9030_lt_compiler_boilerplate=`cat conftest.err`
9031$RM conftest*
9032
9033ac_outfile=conftest.$ac_objext
9034echo "$lt_simple_link_test_code" >conftest.$ac_ext
9035eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9036_lt_linker_boilerplate=`cat conftest.err`
9037$RM -r conftest*
9038
9039
9040## CAVEAT EMPTOR:
9041## There is no encapsulation within the following macros, do not change
9042## the running order or otherwise move them around unless you know exactly
9043## what you are doing...
9044if test -n "$compiler"; then
9045
9046lt_prog_compiler_no_builtin_flag=
9047
9048if test "$GCC" = yes; then
9049  case $cc_basename in
9050  nvcc*)
9051    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9052  *)
9053    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9054  esac
9055
9056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9057$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9058if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9059  $as_echo_n "(cached) " >&6
9060else
9061  lt_cv_prog_compiler_rtti_exceptions=no
9062   ac_outfile=conftest.$ac_objext
9063   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9064   lt_compiler_flag="-fno-rtti -fno-exceptions"
9065   # Insert the option either (1) after the last *FLAGS variable, or
9066   # (2) before a word containing "conftest.", or (3) at the end.
9067   # Note that $ac_compile itself does not contain backslashes and begins
9068   # with a dollar sign (not a hyphen), so the echo should work correctly.
9069   # The option is referenced via a variable to avoid confusing sed.
9070   lt_compile=`echo "$ac_compile" | $SED \
9071   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9072   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9073   -e 's:$: $lt_compiler_flag:'`
9074   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9075   (eval "$lt_compile" 2>conftest.err)
9076   ac_status=$?
9077   cat conftest.err >&5
9078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079   if (exit $ac_status) && test -s "$ac_outfile"; then
9080     # The compiler can only warn and ignore the option if not recognized
9081     # So say no if there are warnings other than the usual output.
9082     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9083     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9084     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9085       lt_cv_prog_compiler_rtti_exceptions=yes
9086     fi
9087   fi
9088   $RM conftest*
9089
9090fi
9091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9092$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9093
9094if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9095    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9096else
9097    :
9098fi
9099
9100fi
9101
9102
9103
9104
9105
9106
9107  lt_prog_compiler_wl=
9108lt_prog_compiler_pic=
9109lt_prog_compiler_static=
9110
9111
9112  if test "$GCC" = yes; then
9113    lt_prog_compiler_wl='-Wl,'
9114    lt_prog_compiler_static='-static'
9115
9116    case $host_os in
9117      aix*)
9118      # All AIX code is PIC.
9119      if test "$host_cpu" = ia64; then
9120	# AIX 5 now supports IA64 processor
9121	lt_prog_compiler_static='-Bstatic'
9122      fi
9123      ;;
9124
9125    amigaos*)
9126      case $host_cpu in
9127      powerpc)
9128            # see comment about AmigaOS4 .so support
9129            lt_prog_compiler_pic='-fPIC'
9130        ;;
9131      m68k)
9132            # FIXME: we need at least 68020 code to build shared libraries, but
9133            # adding the `-m68020' flag to GCC prevents building anything better,
9134            # like `-m68040'.
9135            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9136        ;;
9137      esac
9138      ;;
9139
9140    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9141      # PIC is the default for these OSes.
9142      ;;
9143
9144    mingw* | cygwin* | pw32* | os2* | cegcc*)
9145      # This hack is so that the source file can tell whether it is being
9146      # built for inclusion in a dll (and should export symbols for example).
9147      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9148      # (--disable-auto-import) libraries
9149      lt_prog_compiler_pic='-DDLL_EXPORT'
9150      ;;
9151
9152    darwin* | rhapsody*)
9153      # PIC is the default on this platform
9154      # Common symbols not allowed in MH_DYLIB files
9155      lt_prog_compiler_pic='-fno-common'
9156      ;;
9157
9158    haiku*)
9159      # PIC is the default for Haiku.
9160      # The "-static" flag exists, but is broken.
9161      lt_prog_compiler_static=
9162      ;;
9163
9164    hpux*)
9165      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9166      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9167      # sets the default TLS model and affects inlining.
9168      case $host_cpu in
9169      hppa*64*)
9170	# +Z the default
9171	;;
9172      *)
9173	lt_prog_compiler_pic='-fPIC'
9174	;;
9175      esac
9176      ;;
9177
9178    interix[3-9]*)
9179      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9180      # Instead, we relocate shared libraries at runtime.
9181      ;;
9182
9183    msdosdjgpp*)
9184      # Just because we use GCC doesn't mean we suddenly get shared libraries
9185      # on systems that don't support them.
9186      lt_prog_compiler_can_build_shared=no
9187      enable_shared=no
9188      ;;
9189
9190    *nto* | *qnx*)
9191      # QNX uses GNU C++, but need to define -shared option too, otherwise
9192      # it will coredump.
9193      lt_prog_compiler_pic='-fPIC -shared'
9194      ;;
9195
9196    sysv4*MP*)
9197      if test -d /usr/nec; then
9198	lt_prog_compiler_pic=-Kconform_pic
9199      fi
9200      ;;
9201
9202    *)
9203      lt_prog_compiler_pic='-fPIC'
9204      ;;
9205    esac
9206
9207    case $cc_basename in
9208    nvcc*) # Cuda Compiler Driver 2.2
9209      lt_prog_compiler_wl='-Xlinker '
9210      lt_prog_compiler_pic='-Xcompiler -fPIC'
9211      ;;
9212    esac
9213  else
9214    # PORTME Check for flag to pass linker flags through the system compiler.
9215    case $host_os in
9216    aix*)
9217      lt_prog_compiler_wl='-Wl,'
9218      if test "$host_cpu" = ia64; then
9219	# AIX 5 now supports IA64 processor
9220	lt_prog_compiler_static='-Bstatic'
9221      else
9222	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9223      fi
9224      ;;
9225
9226    mingw* | cygwin* | pw32* | os2* | cegcc*)
9227      # This hack is so that the source file can tell whether it is being
9228      # built for inclusion in a dll (and should export symbols for example).
9229      lt_prog_compiler_pic='-DDLL_EXPORT'
9230      ;;
9231
9232    hpux9* | hpux10* | hpux11*)
9233      lt_prog_compiler_wl='-Wl,'
9234      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9235      # not for PA HP-UX.
9236      case $host_cpu in
9237      hppa*64*|ia64*)
9238	# +Z the default
9239	;;
9240      *)
9241	lt_prog_compiler_pic='+Z'
9242	;;
9243      esac
9244      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9245      lt_prog_compiler_static='${wl}-a ${wl}archive'
9246      ;;
9247
9248    irix5* | irix6* | nonstopux*)
9249      lt_prog_compiler_wl='-Wl,'
9250      # PIC (with -KPIC) is the default.
9251      lt_prog_compiler_static='-non_shared'
9252      ;;
9253
9254    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9255      case $cc_basename in
9256      # old Intel for x86_64 which still supported -KPIC.
9257      ecc*)
9258	lt_prog_compiler_wl='-Wl,'
9259	lt_prog_compiler_pic='-KPIC'
9260	lt_prog_compiler_static='-static'
9261        ;;
9262      # icc used to be incompatible with GCC.
9263      # ICC 10 doesn't accept -KPIC any more.
9264      icc* | ifort*)
9265	lt_prog_compiler_wl='-Wl,'
9266	lt_prog_compiler_pic='-fPIC'
9267	lt_prog_compiler_static='-static'
9268        ;;
9269      # Lahey Fortran 8.1.
9270      lf95*)
9271	lt_prog_compiler_wl='-Wl,'
9272	lt_prog_compiler_pic='--shared'
9273	lt_prog_compiler_static='--static'
9274	;;
9275      nagfor*)
9276	# NAG Fortran compiler
9277	lt_prog_compiler_wl='-Wl,-Wl,,'
9278	lt_prog_compiler_pic='-PIC'
9279	lt_prog_compiler_static='-Bstatic'
9280	;;
9281      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9282        # Portland Group compilers (*not* the Pentium gcc compiler,
9283	# which looks to be a dead project)
9284	lt_prog_compiler_wl='-Wl,'
9285	lt_prog_compiler_pic='-fpic'
9286	lt_prog_compiler_static='-Bstatic'
9287        ;;
9288      ccc*)
9289        lt_prog_compiler_wl='-Wl,'
9290        # All Alpha code is PIC.
9291        lt_prog_compiler_static='-non_shared'
9292        ;;
9293      xl* | bgxl* | bgf* | mpixl*)
9294	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9295	lt_prog_compiler_wl='-Wl,'
9296	lt_prog_compiler_pic='-qpic'
9297	lt_prog_compiler_static='-qstaticlink'
9298	;;
9299      *)
9300	case `$CC -V 2>&1 | sed 5q` in
9301	*Sun\ F* | *Sun*Fortran*)
9302	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9303	  lt_prog_compiler_pic='-KPIC'
9304	  lt_prog_compiler_static='-Bstatic'
9305	  lt_prog_compiler_wl=''
9306	  ;;
9307	*Sun\ C*)
9308	  # Sun C 5.9
9309	  lt_prog_compiler_pic='-KPIC'
9310	  lt_prog_compiler_static='-Bstatic'
9311	  lt_prog_compiler_wl='-Wl,'
9312	  ;;
9313	esac
9314	;;
9315      esac
9316      ;;
9317
9318    newsos6)
9319      lt_prog_compiler_pic='-KPIC'
9320      lt_prog_compiler_static='-Bstatic'
9321      ;;
9322
9323    *nto* | *qnx*)
9324      # QNX uses GNU C++, but need to define -shared option too, otherwise
9325      # it will coredump.
9326      lt_prog_compiler_pic='-fPIC -shared'
9327      ;;
9328
9329    osf3* | osf4* | osf5*)
9330      lt_prog_compiler_wl='-Wl,'
9331      # All OSF/1 code is PIC.
9332      lt_prog_compiler_static='-non_shared'
9333      ;;
9334
9335    rdos*)
9336      lt_prog_compiler_static='-non_shared'
9337      ;;
9338
9339    solaris*)
9340      lt_prog_compiler_pic='-KPIC'
9341      lt_prog_compiler_static='-Bstatic'
9342      case $cc_basename in
9343      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9344	lt_prog_compiler_wl='-Qoption ld ';;
9345      *)
9346	lt_prog_compiler_wl='-Wl,';;
9347      esac
9348      ;;
9349
9350    sunos4*)
9351      lt_prog_compiler_wl='-Qoption ld '
9352      lt_prog_compiler_pic='-PIC'
9353      lt_prog_compiler_static='-Bstatic'
9354      ;;
9355
9356    sysv4 | sysv4.2uw2* | sysv4.3*)
9357      lt_prog_compiler_wl='-Wl,'
9358      lt_prog_compiler_pic='-KPIC'
9359      lt_prog_compiler_static='-Bstatic'
9360      ;;
9361
9362    sysv4*MP*)
9363      if test -d /usr/nec ;then
9364	lt_prog_compiler_pic='-Kconform_pic'
9365	lt_prog_compiler_static='-Bstatic'
9366      fi
9367      ;;
9368
9369    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9370      lt_prog_compiler_wl='-Wl,'
9371      lt_prog_compiler_pic='-KPIC'
9372      lt_prog_compiler_static='-Bstatic'
9373      ;;
9374
9375    unicos*)
9376      lt_prog_compiler_wl='-Wl,'
9377      lt_prog_compiler_can_build_shared=no
9378      ;;
9379
9380    uts4*)
9381      lt_prog_compiler_pic='-pic'
9382      lt_prog_compiler_static='-Bstatic'
9383      ;;
9384
9385    *)
9386      lt_prog_compiler_can_build_shared=no
9387      ;;
9388    esac
9389  fi
9390
9391case $host_os in
9392  # For platforms which do not support PIC, -DPIC is meaningless:
9393  *djgpp*)
9394    lt_prog_compiler_pic=
9395    ;;
9396  *)
9397    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9398    ;;
9399esac
9400
9401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9402$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9403if ${lt_cv_prog_compiler_pic+:} false; then :
9404  $as_echo_n "(cached) " >&6
9405else
9406  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9407fi
9408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9409$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9410lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9411
9412#
9413# Check to make sure the PIC flag actually works.
9414#
9415if test -n "$lt_prog_compiler_pic"; then
9416  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9417$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9418if ${lt_cv_prog_compiler_pic_works+:} false; then :
9419  $as_echo_n "(cached) " >&6
9420else
9421  lt_cv_prog_compiler_pic_works=no
9422   ac_outfile=conftest.$ac_objext
9423   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9424   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9425   # Insert the option either (1) after the last *FLAGS variable, or
9426   # (2) before a word containing "conftest.", or (3) at the end.
9427   # Note that $ac_compile itself does not contain backslashes and begins
9428   # with a dollar sign (not a hyphen), so the echo should work correctly.
9429   # The option is referenced via a variable to avoid confusing sed.
9430   lt_compile=`echo "$ac_compile" | $SED \
9431   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9432   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9433   -e 's:$: $lt_compiler_flag:'`
9434   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9435   (eval "$lt_compile" 2>conftest.err)
9436   ac_status=$?
9437   cat conftest.err >&5
9438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439   if (exit $ac_status) && test -s "$ac_outfile"; then
9440     # The compiler can only warn and ignore the option if not recognized
9441     # So say no if there are warnings other than the usual output.
9442     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9443     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9444     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9445       lt_cv_prog_compiler_pic_works=yes
9446     fi
9447   fi
9448   $RM conftest*
9449
9450fi
9451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9452$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9453
9454if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9455    case $lt_prog_compiler_pic in
9456     "" | " "*) ;;
9457     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9458     esac
9459else
9460    lt_prog_compiler_pic=
9461     lt_prog_compiler_can_build_shared=no
9462fi
9463
9464fi
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476#
9477# Check to make sure the static flag actually works.
9478#
9479wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9481$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9482if ${lt_cv_prog_compiler_static_works+:} false; then :
9483  $as_echo_n "(cached) " >&6
9484else
9485  lt_cv_prog_compiler_static_works=no
9486   save_LDFLAGS="$LDFLAGS"
9487   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9488   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9489   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9490     # The linker can only warn and ignore the option if not recognized
9491     # So say no if there are warnings
9492     if test -s conftest.err; then
9493       # Append any errors to the config.log.
9494       cat conftest.err 1>&5
9495       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9496       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9497       if diff conftest.exp conftest.er2 >/dev/null; then
9498         lt_cv_prog_compiler_static_works=yes
9499       fi
9500     else
9501       lt_cv_prog_compiler_static_works=yes
9502     fi
9503   fi
9504   $RM -r conftest*
9505   LDFLAGS="$save_LDFLAGS"
9506
9507fi
9508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9509$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9510
9511if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9512    :
9513else
9514    lt_prog_compiler_static=
9515fi
9516
9517
9518
9519
9520
9521
9522
9523  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9524$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9525if ${lt_cv_prog_compiler_c_o+:} false; then :
9526  $as_echo_n "(cached) " >&6
9527else
9528  lt_cv_prog_compiler_c_o=no
9529   $RM -r conftest 2>/dev/null
9530   mkdir conftest
9531   cd conftest
9532   mkdir out
9533   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9534
9535   lt_compiler_flag="-o out/conftest2.$ac_objext"
9536   # Insert the option either (1) after the last *FLAGS variable, or
9537   # (2) before a word containing "conftest.", or (3) at the end.
9538   # Note that $ac_compile itself does not contain backslashes and begins
9539   # with a dollar sign (not a hyphen), so the echo should work correctly.
9540   lt_compile=`echo "$ac_compile" | $SED \
9541   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9542   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9543   -e 's:$: $lt_compiler_flag:'`
9544   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9545   (eval "$lt_compile" 2>out/conftest.err)
9546   ac_status=$?
9547   cat out/conftest.err >&5
9548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9549   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9550   then
9551     # The compiler can only warn and ignore the option if not recognized
9552     # So say no if there are warnings
9553     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9554     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9555     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9556       lt_cv_prog_compiler_c_o=yes
9557     fi
9558   fi
9559   chmod u+w . 2>&5
9560   $RM conftest*
9561   # SGI C++ compiler will create directory out/ii_files/ for
9562   # template instantiation
9563   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9564   $RM out/* && rmdir out
9565   cd ..
9566   $RM -r conftest
9567   $RM conftest*
9568
9569fi
9570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9571$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9572
9573
9574
9575
9576
9577
9578  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9579$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9580if ${lt_cv_prog_compiler_c_o+:} false; then :
9581  $as_echo_n "(cached) " >&6
9582else
9583  lt_cv_prog_compiler_c_o=no
9584   $RM -r conftest 2>/dev/null
9585   mkdir conftest
9586   cd conftest
9587   mkdir out
9588   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9589
9590   lt_compiler_flag="-o out/conftest2.$ac_objext"
9591   # Insert the option either (1) after the last *FLAGS variable, or
9592   # (2) before a word containing "conftest.", or (3) at the end.
9593   # Note that $ac_compile itself does not contain backslashes and begins
9594   # with a dollar sign (not a hyphen), so the echo should work correctly.
9595   lt_compile=`echo "$ac_compile" | $SED \
9596   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9597   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9598   -e 's:$: $lt_compiler_flag:'`
9599   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9600   (eval "$lt_compile" 2>out/conftest.err)
9601   ac_status=$?
9602   cat out/conftest.err >&5
9603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9605   then
9606     # The compiler can only warn and ignore the option if not recognized
9607     # So say no if there are warnings
9608     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9609     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9610     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9611       lt_cv_prog_compiler_c_o=yes
9612     fi
9613   fi
9614   chmod u+w . 2>&5
9615   $RM conftest*
9616   # SGI C++ compiler will create directory out/ii_files/ for
9617   # template instantiation
9618   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9619   $RM out/* && rmdir out
9620   cd ..
9621   $RM -r conftest
9622   $RM conftest*
9623
9624fi
9625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9626$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9627
9628
9629
9630
9631hard_links="nottested"
9632if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9633  # do not overwrite the value of need_locks provided by the user
9634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9635$as_echo_n "checking if we can lock with hard links... " >&6; }
9636  hard_links=yes
9637  $RM conftest*
9638  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9639  touch conftest.a
9640  ln conftest.a conftest.b 2>&5 || hard_links=no
9641  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9643$as_echo "$hard_links" >&6; }
9644  if test "$hard_links" = no; then
9645    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9646$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9647    need_locks=warn
9648  fi
9649else
9650  need_locks=no
9651fi
9652
9653
9654
9655
9656
9657
9658  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9659$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9660
9661  runpath_var=
9662  allow_undefined_flag=
9663  always_export_symbols=no
9664  archive_cmds=
9665  archive_expsym_cmds=
9666  compiler_needs_object=no
9667  enable_shared_with_static_runtimes=no
9668  export_dynamic_flag_spec=
9669  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9670  hardcode_automatic=no
9671  hardcode_direct=no
9672  hardcode_direct_absolute=no
9673  hardcode_libdir_flag_spec=
9674  hardcode_libdir_flag_spec_ld=
9675  hardcode_libdir_separator=
9676  hardcode_minus_L=no
9677  hardcode_shlibpath_var=unsupported
9678  inherit_rpath=no
9679  link_all_deplibs=unknown
9680  module_cmds=
9681  module_expsym_cmds=
9682  old_archive_from_new_cmds=
9683  old_archive_from_expsyms_cmds=
9684  thread_safe_flag_spec=
9685  whole_archive_flag_spec=
9686  # include_expsyms should be a list of space-separated symbols to be *always*
9687  # included in the symbol list
9688  include_expsyms=
9689  # exclude_expsyms can be an extended regexp of symbols to exclude
9690  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9691  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9692  # as well as any symbol that contains `d'.
9693  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9694  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9695  # platforms (ab)use it in PIC code, but their linkers get confused if
9696  # the symbol is explicitly referenced.  Since portable code cannot
9697  # rely on this symbol name, it's probably fine to never include it in
9698  # preloaded symbol tables.
9699  # Exclude shared library initialization/finalization symbols.
9700  extract_expsyms_cmds=
9701
9702  case $host_os in
9703  cygwin* | mingw* | pw32* | cegcc*)
9704    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9705    # When not using gcc, we currently assume that we are using
9706    # Microsoft Visual C++.
9707    if test "$GCC" != yes; then
9708      with_gnu_ld=no
9709    fi
9710    ;;
9711  interix*)
9712    # we just hope/assume this is gcc and not c89 (= MSVC++)
9713    with_gnu_ld=yes
9714    ;;
9715  openbsd*)
9716    with_gnu_ld=no
9717    ;;
9718  esac
9719
9720  ld_shlibs=yes
9721
9722  # On some targets, GNU ld is compatible enough with the native linker
9723  # that we're better off using the native interface for both.
9724  lt_use_gnu_ld_interface=no
9725  if test "$with_gnu_ld" = yes; then
9726    case $host_os in
9727      aix*)
9728	# The AIX port of GNU ld has always aspired to compatibility
9729	# with the native linker.  However, as the warning in the GNU ld
9730	# block says, versions before 2.19.5* couldn't really create working
9731	# shared libraries, regardless of the interface used.
9732	case `$LD -v 2>&1` in
9733	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9734	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9735	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9736	  *)
9737	    lt_use_gnu_ld_interface=yes
9738	    ;;
9739	esac
9740	;;
9741      *)
9742	lt_use_gnu_ld_interface=yes
9743	;;
9744    esac
9745  fi
9746
9747  if test "$lt_use_gnu_ld_interface" = yes; then
9748    # If archive_cmds runs LD, not CC, wlarc should be empty
9749    wlarc='${wl}'
9750
9751    # Set some defaults for GNU ld with shared library support. These
9752    # are reset later if shared libraries are not supported. Putting them
9753    # here allows them to be overridden if necessary.
9754    runpath_var=LD_RUN_PATH
9755    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9756    export_dynamic_flag_spec='${wl}--export-dynamic'
9757    # ancient GNU ld didn't support --whole-archive et. al.
9758    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9759      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9760    else
9761      whole_archive_flag_spec=
9762    fi
9763    supports_anon_versioning=no
9764    case `$LD -v 2>&1` in
9765      *GNU\ gold*) supports_anon_versioning=yes ;;
9766      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9767      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9768      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9769      *\ 2.11.*) ;; # other 2.11 versions
9770      *) supports_anon_versioning=yes ;;
9771    esac
9772
9773    # See if GNU ld supports shared libraries.
9774    case $host_os in
9775    aix[3-9]*)
9776      # On AIX/PPC, the GNU linker is very broken
9777      if test "$host_cpu" != ia64; then
9778	ld_shlibs=no
9779	cat <<_LT_EOF 1>&2
9780
9781*** Warning: the GNU linker, at least up to release 2.19, is reported
9782*** to be unable to reliably create shared libraries on AIX.
9783*** Therefore, libtool is disabling shared libraries support.  If you
9784*** really care for shared libraries, you may want to install binutils
9785*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9786*** You will then need to restart the configuration process.
9787
9788_LT_EOF
9789      fi
9790      ;;
9791
9792    amigaos*)
9793      case $host_cpu in
9794      powerpc)
9795            # see comment about AmigaOS4 .so support
9796            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9797            archive_expsym_cmds=''
9798        ;;
9799      m68k)
9800            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)'
9801            hardcode_libdir_flag_spec='-L$libdir'
9802            hardcode_minus_L=yes
9803        ;;
9804      esac
9805      ;;
9806
9807    beos*)
9808      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9809	allow_undefined_flag=unsupported
9810	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9811	# support --undefined.  This deserves some investigation.  FIXME
9812	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9813      else
9814	ld_shlibs=no
9815      fi
9816      ;;
9817
9818    cygwin* | mingw* | pw32* | cegcc*)
9819      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9820      # as there is no search path for DLLs.
9821      hardcode_libdir_flag_spec='-L$libdir'
9822      export_dynamic_flag_spec='${wl}--export-all-symbols'
9823      allow_undefined_flag=unsupported
9824      always_export_symbols=no
9825      enable_shared_with_static_runtimes=yes
9826      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'
9827      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9828
9829      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9830        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9831	# If the export-symbols file already is a .def file (1st line
9832	# is EXPORTS), use it as is; otherwise, prepend...
9833	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9834	  cp $export_symbols $output_objdir/$soname.def;
9835	else
9836	  echo EXPORTS > $output_objdir/$soname.def;
9837	  cat $export_symbols >> $output_objdir/$soname.def;
9838	fi~
9839	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9840      else
9841	ld_shlibs=no
9842      fi
9843      ;;
9844
9845    haiku*)
9846      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9847      link_all_deplibs=yes
9848      ;;
9849
9850    interix[3-9]*)
9851      hardcode_direct=no
9852      hardcode_shlibpath_var=no
9853      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9854      export_dynamic_flag_spec='${wl}-E'
9855      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9856      # Instead, shared libraries are loaded at an image base (0x10000000 by
9857      # default) and relocated if they conflict, which is a slow very memory
9858      # consuming and fragmenting process.  To avoid this, we pick a random,
9859      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9860      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9861      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9862      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'
9863      ;;
9864
9865    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9866      tmp_diet=no
9867      if test "$host_os" = linux-dietlibc; then
9868	case $cc_basename in
9869	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9870	esac
9871      fi
9872      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9873	 && test "$tmp_diet" = no
9874      then
9875	tmp_addflag=' $pic_flag'
9876	tmp_sharedflag='-shared'
9877	case $cc_basename,$host_cpu in
9878        pgcc*)				# Portland Group C compiler
9879	  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'
9880	  tmp_addflag=' $pic_flag'
9881	  ;;
9882	pgf77* | pgf90* | pgf95* | pgfortran*)
9883					# Portland Group f77 and f90 compilers
9884	  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'
9885	  tmp_addflag=' $pic_flag -Mnomain' ;;
9886	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9887	  tmp_addflag=' -i_dynamic' ;;
9888	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9889	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9890	ifc* | ifort*)			# Intel Fortran compiler
9891	  tmp_addflag=' -nofor_main' ;;
9892	lf95*)				# Lahey Fortran 8.1
9893	  whole_archive_flag_spec=
9894	  tmp_sharedflag='--shared' ;;
9895	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9896	  tmp_sharedflag='-qmkshrobj'
9897	  tmp_addflag= ;;
9898	nvcc*)	# Cuda Compiler Driver 2.2
9899	  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'
9900	  compiler_needs_object=yes
9901	  ;;
9902	esac
9903	case `$CC -V 2>&1 | sed 5q` in
9904	*Sun\ C*)			# Sun C 5.9
9905	  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'
9906	  compiler_needs_object=yes
9907	  tmp_sharedflag='-G' ;;
9908	*Sun\ F*)			# Sun Fortran 8.3
9909	  tmp_sharedflag='-G' ;;
9910	esac
9911	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9912
9913        if test "x$supports_anon_versioning" = xyes; then
9914          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9915	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9916	    echo "local: *; };" >> $output_objdir/$libname.ver~
9917	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9918        fi
9919
9920	case $cc_basename in
9921	xlf* | bgf* | bgxlf* | mpixlf*)
9922	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9923	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9924	  hardcode_libdir_flag_spec=
9925	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9926	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9927	  if test "x$supports_anon_versioning" = xyes; then
9928	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9929	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9930	      echo "local: *; };" >> $output_objdir/$libname.ver~
9931	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9932	  fi
9933	  ;;
9934	esac
9935      else
9936        ld_shlibs=no
9937      fi
9938      ;;
9939
9940    netbsd*)
9941      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9942	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9943	wlarc=
9944      else
9945	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9946	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9947      fi
9948      ;;
9949
9950    solaris*)
9951      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9952	ld_shlibs=no
9953	cat <<_LT_EOF 1>&2
9954
9955*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9956*** create shared libraries on Solaris systems.  Therefore, libtool
9957*** is disabling shared libraries support.  We urge you to upgrade GNU
9958*** binutils to release 2.9.1 or newer.  Another option is to modify
9959*** your PATH or compiler configuration so that the native linker is
9960*** used, and then restart.
9961
9962_LT_EOF
9963      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9964	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9965	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9966      else
9967	ld_shlibs=no
9968      fi
9969      ;;
9970
9971    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9972      case `$LD -v 2>&1` in
9973        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9974	ld_shlibs=no
9975	cat <<_LT_EOF 1>&2
9976
9977*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9978*** reliably create shared libraries on SCO systems.  Therefore, libtool
9979*** is disabling shared libraries support.  We urge you to upgrade GNU
9980*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9981*** your PATH or compiler configuration so that the native linker is
9982*** used, and then restart.
9983
9984_LT_EOF
9985	;;
9986	*)
9987	  # For security reasons, it is highly recommended that you always
9988	  # use absolute paths for naming shared libraries, and exclude the
9989	  # DT_RUNPATH tag from executables and libraries.  But doing so
9990	  # requires that you compile everything twice, which is a pain.
9991	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9992	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9993	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9994	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9995	  else
9996	    ld_shlibs=no
9997	  fi
9998	;;
9999      esac
10000      ;;
10001
10002    sunos4*)
10003      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10004      wlarc=
10005      hardcode_direct=yes
10006      hardcode_shlibpath_var=no
10007      ;;
10008
10009    *)
10010      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10011	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10012	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10013      else
10014	ld_shlibs=no
10015      fi
10016      ;;
10017    esac
10018
10019    if test "$ld_shlibs" = no; then
10020      runpath_var=
10021      hardcode_libdir_flag_spec=
10022      export_dynamic_flag_spec=
10023      whole_archive_flag_spec=
10024    fi
10025  else
10026    # PORTME fill in a description of your system's linker (not GNU ld)
10027    case $host_os in
10028    aix3*)
10029      allow_undefined_flag=unsupported
10030      always_export_symbols=yes
10031      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'
10032      # Note: this linker hardcodes the directories in LIBPATH if there
10033      # are no directories specified by -L.
10034      hardcode_minus_L=yes
10035      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10036	# Neither direct hardcoding nor static linking is supported with a
10037	# broken collect2.
10038	hardcode_direct=unsupported
10039      fi
10040      ;;
10041
10042    aix[4-9]*)
10043      if test "$host_cpu" = ia64; then
10044	# On IA64, the linker does run time linking by default, so we don't
10045	# have to do anything special.
10046	aix_use_runtimelinking=no
10047	exp_sym_flag='-Bexport'
10048	no_entry_flag=""
10049      else
10050	# If we're using GNU nm, then we don't want the "-C" option.
10051	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10052	# Also, AIX nm treats weak defined symbols like other global
10053	# defined symbols, whereas GNU nm marks them as "W".
10054	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10055	  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'
10056	else
10057	  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'
10058	fi
10059	aix_use_runtimelinking=no
10060
10061	# Test if we are trying to use run time linking or normal
10062	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10063	# need to do runtime linking.
10064	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10065	  for ld_flag in $LDFLAGS; do
10066	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10067	    aix_use_runtimelinking=yes
10068	    break
10069	  fi
10070	  done
10071	  ;;
10072	esac
10073
10074	exp_sym_flag='-bexport'
10075	no_entry_flag='-bnoentry'
10076      fi
10077
10078      # When large executables or shared objects are built, AIX ld can
10079      # have problems creating the table of contents.  If linking a library
10080      # or program results in "error TOC overflow" add -mminimal-toc to
10081      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10082      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10083
10084      archive_cmds=''
10085      hardcode_direct=yes
10086      hardcode_direct_absolute=yes
10087      hardcode_libdir_separator=':'
10088      link_all_deplibs=yes
10089      file_list_spec='${wl}-f,'
10090
10091      if test "$GCC" = yes; then
10092	case $host_os in aix4.[012]|aix4.[012].*)
10093	# We only want to do this on AIX 4.2 and lower, the check
10094	# below for broken collect2 doesn't work under 4.3+
10095	  collect2name=`${CC} -print-prog-name=collect2`
10096	  if test -f "$collect2name" &&
10097	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10098	  then
10099	  # We have reworked collect2
10100	  :
10101	  else
10102	  # We have old collect2
10103	  hardcode_direct=unsupported
10104	  # It fails to find uninstalled libraries when the uninstalled
10105	  # path is not listed in the libpath.  Setting hardcode_minus_L
10106	  # to unsupported forces relinking
10107	  hardcode_minus_L=yes
10108	  hardcode_libdir_flag_spec='-L$libdir'
10109	  hardcode_libdir_separator=
10110	  fi
10111	  ;;
10112	esac
10113	shared_flag='-shared'
10114	if test "$aix_use_runtimelinking" = yes; then
10115	  shared_flag="$shared_flag "'${wl}-G'
10116	fi
10117      else
10118	# not using gcc
10119	if test "$host_cpu" = ia64; then
10120	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10121	# chokes on -Wl,-G. The following line is correct:
10122	  shared_flag='-G'
10123	else
10124	  if test "$aix_use_runtimelinking" = yes; then
10125	    shared_flag='${wl}-G'
10126	  else
10127	    shared_flag='${wl}-bM:SRE'
10128	  fi
10129	fi
10130      fi
10131
10132      export_dynamic_flag_spec='${wl}-bexpall'
10133      # It seems that -bexpall does not export symbols beginning with
10134      # underscore (_), so it is better to generate a list of symbols to export.
10135      always_export_symbols=yes
10136      if test "$aix_use_runtimelinking" = yes; then
10137	# Warning - without using the other runtime loading flags (-brtl),
10138	# -berok will link without error, but may produce a broken library.
10139	allow_undefined_flag='-berok'
10140        # Determine the default libpath from the value encoded in an
10141        # empty executable.
10142        if test "${lt_cv_aix_libpath+set}" = set; then
10143  aix_libpath=$lt_cv_aix_libpath
10144else
10145  if ${lt_cv_aix_libpath_+:} false; then :
10146  $as_echo_n "(cached) " >&6
10147else
10148  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10149/* end confdefs.h.  */
10150
10151int
10152main ()
10153{
10154
10155  ;
10156  return 0;
10157}
10158_ACEOF
10159if ac_fn_c_try_link "$LINENO"; then :
10160
10161  lt_aix_libpath_sed='
10162      /Import File Strings/,/^$/ {
10163	  /^0/ {
10164	      s/^0  *\([^ ]*\) *$/\1/
10165	      p
10166	  }
10167      }'
10168  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10169  # Check for a 64-bit object if we didn't find anything.
10170  if test -z "$lt_cv_aix_libpath_"; then
10171    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10172  fi
10173fi
10174rm -f core conftest.err conftest.$ac_objext \
10175    conftest$ac_exeext conftest.$ac_ext
10176  if test -z "$lt_cv_aix_libpath_"; then
10177    lt_cv_aix_libpath_="/usr/lib:/lib"
10178  fi
10179
10180fi
10181
10182  aix_libpath=$lt_cv_aix_libpath_
10183fi
10184
10185        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10186        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"
10187      else
10188	if test "$host_cpu" = ia64; then
10189	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10190	  allow_undefined_flag="-z nodefs"
10191	  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"
10192	else
10193	 # Determine the default libpath from the value encoded in an
10194	 # empty executable.
10195	 if test "${lt_cv_aix_libpath+set}" = set; then
10196  aix_libpath=$lt_cv_aix_libpath
10197else
10198  if ${lt_cv_aix_libpath_+:} false; then :
10199  $as_echo_n "(cached) " >&6
10200else
10201  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202/* end confdefs.h.  */
10203
10204int
10205main ()
10206{
10207
10208  ;
10209  return 0;
10210}
10211_ACEOF
10212if ac_fn_c_try_link "$LINENO"; then :
10213
10214  lt_aix_libpath_sed='
10215      /Import File Strings/,/^$/ {
10216	  /^0/ {
10217	      s/^0  *\([^ ]*\) *$/\1/
10218	      p
10219	  }
10220      }'
10221  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10222  # Check for a 64-bit object if we didn't find anything.
10223  if test -z "$lt_cv_aix_libpath_"; then
10224    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10225  fi
10226fi
10227rm -f core conftest.err conftest.$ac_objext \
10228    conftest$ac_exeext conftest.$ac_ext
10229  if test -z "$lt_cv_aix_libpath_"; then
10230    lt_cv_aix_libpath_="/usr/lib:/lib"
10231  fi
10232
10233fi
10234
10235  aix_libpath=$lt_cv_aix_libpath_
10236fi
10237
10238	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10239	  # Warning - without using the other run time loading flags,
10240	  # -berok will link without error, but may produce a broken library.
10241	  no_undefined_flag=' ${wl}-bernotok'
10242	  allow_undefined_flag=' ${wl}-berok'
10243	  if test "$with_gnu_ld" = yes; then
10244	    # We only use this code for GNU lds that support --whole-archive.
10245	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10246	  else
10247	    # Exported symbols can be pulled into shared objects from archives
10248	    whole_archive_flag_spec='$convenience'
10249	  fi
10250	  archive_cmds_need_lc=yes
10251	  # This is similar to how AIX traditionally builds its shared libraries.
10252	  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'
10253	fi
10254      fi
10255      ;;
10256
10257    amigaos*)
10258      case $host_cpu in
10259      powerpc)
10260            # see comment about AmigaOS4 .so support
10261            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10262            archive_expsym_cmds=''
10263        ;;
10264      m68k)
10265            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)'
10266            hardcode_libdir_flag_spec='-L$libdir'
10267            hardcode_minus_L=yes
10268        ;;
10269      esac
10270      ;;
10271
10272    bsdi[45]*)
10273      export_dynamic_flag_spec=-rdynamic
10274      ;;
10275
10276    cygwin* | mingw* | pw32* | cegcc*)
10277      # When not using gcc, we currently assume that we are using
10278      # Microsoft Visual C++.
10279      # hardcode_libdir_flag_spec is actually meaningless, as there is
10280      # no search path for DLLs.
10281      case $cc_basename in
10282      cl*)
10283	# Native MSVC
10284	hardcode_libdir_flag_spec=' '
10285	allow_undefined_flag=unsupported
10286	always_export_symbols=yes
10287	file_list_spec='@'
10288	# Tell ltmain to make .lib files, not .a files.
10289	libext=lib
10290	# Tell ltmain to make .dll files, not .so files.
10291	shrext_cmds=".dll"
10292	# FIXME: Setting linknames here is a bad hack.
10293	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10294	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10295	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10296	  else
10297	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10298	  fi~
10299	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10300	  linknames='
10301	# The linker will not automatically build a static lib if we build a DLL.
10302	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10303	enable_shared_with_static_runtimes=yes
10304	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10305	# Don't use ranlib
10306	old_postinstall_cmds='chmod 644 $oldlib'
10307	postlink_cmds='lt_outputfile="@OUTPUT@"~
10308	  lt_tool_outputfile="@TOOL_OUTPUT@"~
10309	  case $lt_outputfile in
10310	    *.exe|*.EXE) ;;
10311	    *)
10312	      lt_outputfile="$lt_outputfile.exe"
10313	      lt_tool_outputfile="$lt_tool_outputfile.exe"
10314	      ;;
10315	  esac~
10316	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10317	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10318	    $RM "$lt_outputfile.manifest";
10319	  fi'
10320	;;
10321      *)
10322	# Assume MSVC wrapper
10323	hardcode_libdir_flag_spec=' '
10324	allow_undefined_flag=unsupported
10325	# Tell ltmain to make .lib files, not .a files.
10326	libext=lib
10327	# Tell ltmain to make .dll files, not .so files.
10328	shrext_cmds=".dll"
10329	# FIXME: Setting linknames here is a bad hack.
10330	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10331	# The linker will automatically build a .lib file if we build a DLL.
10332	old_archive_from_new_cmds='true'
10333	# FIXME: Should let the user specify the lib program.
10334	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10335	enable_shared_with_static_runtimes=yes
10336	;;
10337      esac
10338      ;;
10339
10340    darwin* | rhapsody*)
10341
10342
10343  archive_cmds_need_lc=no
10344  hardcode_direct=no
10345  hardcode_automatic=yes
10346  hardcode_shlibpath_var=unsupported
10347  if test "$lt_cv_ld_force_load" = "yes"; then
10348    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\"`'
10349  else
10350    whole_archive_flag_spec=''
10351  fi
10352  link_all_deplibs=yes
10353  allow_undefined_flag="$_lt_dar_allow_undefined"
10354  case $cc_basename in
10355     ifort*) _lt_dar_can_shared=yes ;;
10356     *) _lt_dar_can_shared=$GCC ;;
10357  esac
10358  if test "$_lt_dar_can_shared" = "yes"; then
10359    output_verbose_link_cmd=func_echo_all
10360    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10361    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10362    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}"
10363    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}"
10364
10365  else
10366  ld_shlibs=no
10367  fi
10368
10369      ;;
10370
10371    dgux*)
10372      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10373      hardcode_libdir_flag_spec='-L$libdir'
10374      hardcode_shlibpath_var=no
10375      ;;
10376
10377    freebsd1*)
10378      ld_shlibs=no
10379      ;;
10380
10381    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10382    # support.  Future versions do this automatically, but an explicit c++rt0.o
10383    # does not break anything, and helps significantly (at the cost of a little
10384    # extra space).
10385    freebsd2.2*)
10386      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10387      hardcode_libdir_flag_spec='-R$libdir'
10388      hardcode_direct=yes
10389      hardcode_shlibpath_var=no
10390      ;;
10391
10392    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10393    freebsd2*)
10394      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10395      hardcode_direct=yes
10396      hardcode_minus_L=yes
10397      hardcode_shlibpath_var=no
10398      ;;
10399
10400    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10401    freebsd* | dragonfly*)
10402      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10403      hardcode_libdir_flag_spec='-R$libdir'
10404      hardcode_direct=yes
10405      hardcode_shlibpath_var=no
10406      ;;
10407
10408    hpux9*)
10409      if test "$GCC" = yes; then
10410	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'
10411      else
10412	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'
10413      fi
10414      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10415      hardcode_libdir_separator=:
10416      hardcode_direct=yes
10417
10418      # hardcode_minus_L: Not really in the search PATH,
10419      # but as the default location of the library.
10420      hardcode_minus_L=yes
10421      export_dynamic_flag_spec='${wl}-E'
10422      ;;
10423
10424    hpux10*)
10425      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10426	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10427      else
10428	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10429      fi
10430      if test "$with_gnu_ld" = no; then
10431	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10432	hardcode_libdir_flag_spec_ld='+b $libdir'
10433	hardcode_libdir_separator=:
10434	hardcode_direct=yes
10435	hardcode_direct_absolute=yes
10436	export_dynamic_flag_spec='${wl}-E'
10437	# hardcode_minus_L: Not really in the search PATH,
10438	# but as the default location of the library.
10439	hardcode_minus_L=yes
10440      fi
10441      ;;
10442
10443    hpux11*)
10444      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10445	case $host_cpu in
10446	hppa*64*)
10447	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10448	  ;;
10449	ia64*)
10450	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10451	  ;;
10452	*)
10453	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10454	  ;;
10455	esac
10456      else
10457	case $host_cpu in
10458	hppa*64*)
10459	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10460	  ;;
10461	ia64*)
10462	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10463	  ;;
10464	*)
10465
10466	  # Older versions of the 11.00 compiler do not understand -b yet
10467	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10468	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10469$as_echo_n "checking if $CC understands -b... " >&6; }
10470if ${lt_cv_prog_compiler__b+:} false; then :
10471  $as_echo_n "(cached) " >&6
10472else
10473  lt_cv_prog_compiler__b=no
10474   save_LDFLAGS="$LDFLAGS"
10475   LDFLAGS="$LDFLAGS -b"
10476   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10477   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10478     # The linker can only warn and ignore the option if not recognized
10479     # So say no if there are warnings
10480     if test -s conftest.err; then
10481       # Append any errors to the config.log.
10482       cat conftest.err 1>&5
10483       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10484       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10485       if diff conftest.exp conftest.er2 >/dev/null; then
10486         lt_cv_prog_compiler__b=yes
10487       fi
10488     else
10489       lt_cv_prog_compiler__b=yes
10490     fi
10491   fi
10492   $RM -r conftest*
10493   LDFLAGS="$save_LDFLAGS"
10494
10495fi
10496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10497$as_echo "$lt_cv_prog_compiler__b" >&6; }
10498
10499if test x"$lt_cv_prog_compiler__b" = xyes; then
10500    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10501else
10502    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10503fi
10504
10505	  ;;
10506	esac
10507      fi
10508      if test "$with_gnu_ld" = no; then
10509	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10510	hardcode_libdir_separator=:
10511
10512	case $host_cpu in
10513	hppa*64*|ia64*)
10514	  hardcode_direct=no
10515	  hardcode_shlibpath_var=no
10516	  ;;
10517	*)
10518	  hardcode_direct=yes
10519	  hardcode_direct_absolute=yes
10520	  export_dynamic_flag_spec='${wl}-E'
10521
10522	  # hardcode_minus_L: Not really in the search PATH,
10523	  # but as the default location of the library.
10524	  hardcode_minus_L=yes
10525	  ;;
10526	esac
10527      fi
10528      ;;
10529
10530    irix5* | irix6* | nonstopux*)
10531      if test "$GCC" = yes; then
10532	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'
10533	# Try to use the -exported_symbol ld option, if it does not
10534	# work, assume that -exports_file does not work either and
10535	# implicitly export all symbols.
10536	# This should be the same for all languages, so no per-tag cache variable.
10537	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10538$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10539if ${lt_cv_irix_exported_symbol+:} false; then :
10540  $as_echo_n "(cached) " >&6
10541else
10542  save_LDFLAGS="$LDFLAGS"
10543	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10544	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10545/* end confdefs.h.  */
10546int foo (void) { return 0; }
10547_ACEOF
10548if ac_fn_c_try_link "$LINENO"; then :
10549  lt_cv_irix_exported_symbol=yes
10550else
10551  lt_cv_irix_exported_symbol=no
10552fi
10553rm -f core conftest.err conftest.$ac_objext \
10554    conftest$ac_exeext conftest.$ac_ext
10555           LDFLAGS="$save_LDFLAGS"
10556fi
10557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10558$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10559	if test "$lt_cv_irix_exported_symbol" = yes; then
10560          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'
10561	fi
10562      else
10563	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'
10564	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'
10565      fi
10566      archive_cmds_need_lc='no'
10567      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10568      hardcode_libdir_separator=:
10569      inherit_rpath=yes
10570      link_all_deplibs=yes
10571      ;;
10572
10573    netbsd*)
10574      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10575	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10576      else
10577	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10578      fi
10579      hardcode_libdir_flag_spec='-R$libdir'
10580      hardcode_direct=yes
10581      hardcode_shlibpath_var=no
10582      ;;
10583
10584    newsos6)
10585      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10586      hardcode_direct=yes
10587      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10588      hardcode_libdir_separator=:
10589      hardcode_shlibpath_var=no
10590      ;;
10591
10592    *nto* | *qnx*)
10593      ;;
10594
10595    openbsd*)
10596      if test -f /usr/libexec/ld.so; then
10597	hardcode_direct=yes
10598	hardcode_shlibpath_var=no
10599	hardcode_direct_absolute=yes
10600	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10601	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10602	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10603	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10604	  export_dynamic_flag_spec='${wl}-E'
10605	else
10606	  case $host_os in
10607	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10608	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10609	     hardcode_libdir_flag_spec='-R$libdir'
10610	     ;;
10611	   *)
10612	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10613	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10614	     ;;
10615	  esac
10616	fi
10617      else
10618	ld_shlibs=no
10619      fi
10620      ;;
10621
10622    os2*)
10623      hardcode_libdir_flag_spec='-L$libdir'
10624      hardcode_minus_L=yes
10625      allow_undefined_flag=unsupported
10626      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'
10627      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10628      ;;
10629
10630    osf3*)
10631      if test "$GCC" = yes; then
10632	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10633	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'
10634      else
10635	allow_undefined_flag=' -expect_unresolved \*'
10636	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'
10637      fi
10638      archive_cmds_need_lc='no'
10639      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10640      hardcode_libdir_separator=:
10641      ;;
10642
10643    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10644      if test "$GCC" = yes; then
10645	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10646	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'
10647	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10648      else
10649	allow_undefined_flag=' -expect_unresolved \*'
10650	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'
10651	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~
10652	$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'
10653
10654	# Both c and cxx compiler support -rpath directly
10655	hardcode_libdir_flag_spec='-rpath $libdir'
10656      fi
10657      archive_cmds_need_lc='no'
10658      hardcode_libdir_separator=:
10659      ;;
10660
10661    solaris*)
10662      no_undefined_flag=' -z defs'
10663      if test "$GCC" = yes; then
10664	wlarc='${wl}'
10665	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10666	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10667	  $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'
10668      else
10669	case `$CC -V 2>&1` in
10670	*"Compilers 5.0"*)
10671	  wlarc=''
10672	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10673	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10674	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10675	  ;;
10676	*)
10677	  wlarc='${wl}'
10678	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10679	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10680	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10681	  ;;
10682	esac
10683      fi
10684      hardcode_libdir_flag_spec='-R$libdir'
10685      hardcode_shlibpath_var=no
10686      case $host_os in
10687      solaris2.[0-5] | solaris2.[0-5].*) ;;
10688      *)
10689	# The compiler driver will combine and reorder linker options,
10690	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10691	# but is careful enough not to reorder.
10692	# Supported since Solaris 2.6 (maybe 2.5.1?)
10693	if test "$GCC" = yes; then
10694	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10695	else
10696	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10697	fi
10698	;;
10699      esac
10700      link_all_deplibs=yes
10701      ;;
10702
10703    sunos4*)
10704      if test "x$host_vendor" = xsequent; then
10705	# Use $CC to link under sequent, because it throws in some extra .o
10706	# files that make .init and .fini sections work.
10707	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10708      else
10709	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10710      fi
10711      hardcode_libdir_flag_spec='-L$libdir'
10712      hardcode_direct=yes
10713      hardcode_minus_L=yes
10714      hardcode_shlibpath_var=no
10715      ;;
10716
10717    sysv4)
10718      case $host_vendor in
10719	sni)
10720	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10721	  hardcode_direct=yes # is this really true???
10722	;;
10723	siemens)
10724	  ## LD is ld it makes a PLAMLIB
10725	  ## CC just makes a GrossModule.
10726	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10727	  reload_cmds='$CC -r -o $output$reload_objs'
10728	  hardcode_direct=no
10729        ;;
10730	motorola)
10731	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10732	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10733	;;
10734      esac
10735      runpath_var='LD_RUN_PATH'
10736      hardcode_shlibpath_var=no
10737      ;;
10738
10739    sysv4.3*)
10740      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10741      hardcode_shlibpath_var=no
10742      export_dynamic_flag_spec='-Bexport'
10743      ;;
10744
10745    sysv4*MP*)
10746      if test -d /usr/nec; then
10747	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10748	hardcode_shlibpath_var=no
10749	runpath_var=LD_RUN_PATH
10750	hardcode_runpath_var=yes
10751	ld_shlibs=yes
10752      fi
10753      ;;
10754
10755    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10756      no_undefined_flag='${wl}-z,text'
10757      archive_cmds_need_lc=no
10758      hardcode_shlibpath_var=no
10759      runpath_var='LD_RUN_PATH'
10760
10761      if test "$GCC" = yes; then
10762	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10763	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10764      else
10765	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10766	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10767      fi
10768      ;;
10769
10770    sysv5* | sco3.2v5* | sco5v6*)
10771      # Note: We can NOT use -z defs as we might desire, because we do not
10772      # link with -lc, and that would cause any symbols used from libc to
10773      # always be unresolved, which means just about no library would
10774      # ever link correctly.  If we're not using GNU ld we use -z text
10775      # though, which does catch some bad symbols but isn't as heavy-handed
10776      # as -z defs.
10777      no_undefined_flag='${wl}-z,text'
10778      allow_undefined_flag='${wl}-z,nodefs'
10779      archive_cmds_need_lc=no
10780      hardcode_shlibpath_var=no
10781      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10782      hardcode_libdir_separator=':'
10783      link_all_deplibs=yes
10784      export_dynamic_flag_spec='${wl}-Bexport'
10785      runpath_var='LD_RUN_PATH'
10786
10787      if test "$GCC" = yes; then
10788	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10789	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10790      else
10791	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10792	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10793      fi
10794      ;;
10795
10796    uts4*)
10797      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10798      hardcode_libdir_flag_spec='-L$libdir'
10799      hardcode_shlibpath_var=no
10800      ;;
10801
10802    *)
10803      ld_shlibs=no
10804      ;;
10805    esac
10806
10807    if test x$host_vendor = xsni; then
10808      case $host in
10809      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10810	export_dynamic_flag_spec='${wl}-Blargedynsym'
10811	;;
10812      esac
10813    fi
10814  fi
10815
10816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10817$as_echo "$ld_shlibs" >&6; }
10818test "$ld_shlibs" = no && can_build_shared=no
10819
10820with_gnu_ld=$with_gnu_ld
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836#
10837# Do we need to explicitly link libc?
10838#
10839case "x$archive_cmds_need_lc" in
10840x|xyes)
10841  # Assume -lc should be added
10842  archive_cmds_need_lc=yes
10843
10844  if test "$enable_shared" = yes && test "$GCC" = yes; then
10845    case $archive_cmds in
10846    *'~'*)
10847      # FIXME: we may have to deal with multi-command sequences.
10848      ;;
10849    '$CC '*)
10850      # Test whether the compiler implicitly links with -lc since on some
10851      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10852      # to ld, don't add -lc before -lgcc.
10853      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10854$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10855if ${lt_cv_archive_cmds_need_lc+:} false; then :
10856  $as_echo_n "(cached) " >&6
10857else
10858  $RM conftest*
10859	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10860
10861	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10862  (eval $ac_compile) 2>&5
10863  ac_status=$?
10864  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10865  test $ac_status = 0; } 2>conftest.err; then
10866	  soname=conftest
10867	  lib=conftest
10868	  libobjs=conftest.$ac_objext
10869	  deplibs=
10870	  wl=$lt_prog_compiler_wl
10871	  pic_flag=$lt_prog_compiler_pic
10872	  compiler_flags=-v
10873	  linker_flags=-v
10874	  verstring=
10875	  output_objdir=.
10876	  libname=conftest
10877	  lt_save_allow_undefined_flag=$allow_undefined_flag
10878	  allow_undefined_flag=
10879	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10880  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10881  ac_status=$?
10882  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10883  test $ac_status = 0; }
10884	  then
10885	    lt_cv_archive_cmds_need_lc=no
10886	  else
10887	    lt_cv_archive_cmds_need_lc=yes
10888	  fi
10889	  allow_undefined_flag=$lt_save_allow_undefined_flag
10890	else
10891	  cat conftest.err 1>&5
10892	fi
10893	$RM conftest*
10894
10895fi
10896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10897$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10898      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10899      ;;
10900    esac
10901  fi
10902  ;;
10903esac
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11062$as_echo_n "checking dynamic linker characteristics... " >&6; }
11063
11064if test "$GCC" = yes; then
11065  case $host_os in
11066    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11067    *) lt_awk_arg="/^libraries:/" ;;
11068  esac
11069  case $host_os in
11070    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11071    *) lt_sed_strip_eq="s,=/,/,g" ;;
11072  esac
11073  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11074  case $lt_search_path_spec in
11075  *\;*)
11076    # if the path contains ";" then we assume it to be the separator
11077    # otherwise default to the standard path separator (i.e. ":") - it is
11078    # assumed that no part of a normal pathname contains ";" but that should
11079    # okay in the real world where ";" in dirpaths is itself problematic.
11080    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11081    ;;
11082  *)
11083    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11084    ;;
11085  esac
11086  # Ok, now we have the path, separated by spaces, we can step through it
11087  # and add multilib dir if necessary.
11088  lt_tmp_lt_search_path_spec=
11089  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11090  for lt_sys_path in $lt_search_path_spec; do
11091    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11092      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11093    else
11094      test -d "$lt_sys_path" && \
11095	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11096    fi
11097  done
11098  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11099BEGIN {RS=" "; FS="/|\n";} {
11100  lt_foo="";
11101  lt_count=0;
11102  for (lt_i = NF; lt_i > 0; lt_i--) {
11103    if ($lt_i != "" && $lt_i != ".") {
11104      if ($lt_i == "..") {
11105        lt_count++;
11106      } else {
11107        if (lt_count == 0) {
11108          lt_foo="/" $lt_i lt_foo;
11109        } else {
11110          lt_count--;
11111        }
11112      }
11113    }
11114  }
11115  if (lt_foo != "") { lt_freq[lt_foo]++; }
11116  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11117}'`
11118  # AWK program above erroneously prepends '/' to C:/dos/paths
11119  # for these hosts.
11120  case $host_os in
11121    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11122      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11123  esac
11124  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11125else
11126  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11127fi
11128library_names_spec=
11129libname_spec='lib$name'
11130soname_spec=
11131shrext_cmds=".so"
11132postinstall_cmds=
11133postuninstall_cmds=
11134finish_cmds=
11135finish_eval=
11136shlibpath_var=
11137shlibpath_overrides_runpath=unknown
11138version_type=none
11139dynamic_linker="$host_os ld.so"
11140sys_lib_dlsearch_path_spec="/lib /usr/lib"
11141need_lib_prefix=unknown
11142hardcode_into_libs=no
11143
11144# when you set need_version to no, make sure it does not cause -set_version
11145# flags to be left without arguments
11146need_version=unknown
11147
11148case $host_os in
11149aix3*)
11150  version_type=linux
11151  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11152  shlibpath_var=LIBPATH
11153
11154  # AIX 3 has no versioning support, so we append a major version to the name.
11155  soname_spec='${libname}${release}${shared_ext}$major'
11156  ;;
11157
11158aix[4-9]*)
11159  version_type=linux
11160  need_lib_prefix=no
11161  need_version=no
11162  hardcode_into_libs=yes
11163  if test "$host_cpu" = ia64; then
11164    # AIX 5 supports IA64
11165    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11166    shlibpath_var=LD_LIBRARY_PATH
11167  else
11168    # With GCC up to 2.95.x, collect2 would create an import file
11169    # for dependence libraries.  The import file would start with
11170    # the line `#! .'.  This would cause the generated library to
11171    # depend on `.', always an invalid library.  This was fixed in
11172    # development snapshots of GCC prior to 3.0.
11173    case $host_os in
11174      aix4 | aix4.[01] | aix4.[01].*)
11175      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11176	   echo ' yes '
11177	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11178	:
11179      else
11180	can_build_shared=no
11181      fi
11182      ;;
11183    esac
11184    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11185    # soname into executable. Probably we can add versioning support to
11186    # collect2, so additional links can be useful in future.
11187    if test "$aix_use_runtimelinking" = yes; then
11188      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11189      # instead of lib<name>.a to let people know that these are not
11190      # typical AIX shared libraries.
11191      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11192    else
11193      # We preserve .a as extension for shared libraries through AIX4.2
11194      # and later when we are not doing run time linking.
11195      library_names_spec='${libname}${release}.a $libname.a'
11196      soname_spec='${libname}${release}${shared_ext}$major'
11197    fi
11198    shlibpath_var=LIBPATH
11199  fi
11200  ;;
11201
11202amigaos*)
11203  case $host_cpu in
11204  powerpc)
11205    # Since July 2007 AmigaOS4 officially supports .so libraries.
11206    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11207    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11208    ;;
11209  m68k)
11210    library_names_spec='$libname.ixlibrary $libname.a'
11211    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11212    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'
11213    ;;
11214  esac
11215  ;;
11216
11217beos*)
11218  library_names_spec='${libname}${shared_ext}'
11219  dynamic_linker="$host_os ld.so"
11220  shlibpath_var=LIBRARY_PATH
11221  ;;
11222
11223bsdi[45]*)
11224  version_type=linux
11225  need_version=no
11226  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11227  soname_spec='${libname}${release}${shared_ext}$major'
11228  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11229  shlibpath_var=LD_LIBRARY_PATH
11230  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11231  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11232  # the default ld.so.conf also contains /usr/contrib/lib and
11233  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11234  # libtool to hard-code these into programs
11235  ;;
11236
11237cygwin* | mingw* | pw32* | cegcc*)
11238  version_type=windows
11239  shrext_cmds=".dll"
11240  need_version=no
11241  need_lib_prefix=no
11242
11243  case $GCC,$cc_basename in
11244  yes,*)
11245    # gcc
11246    library_names_spec='$libname.dll.a'
11247    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11248    postinstall_cmds='base_file=`basename \${file}`~
11249      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11250      dldir=$destdir/`dirname \$dlpath`~
11251      test -d \$dldir || mkdir -p \$dldir~
11252      $install_prog $dir/$dlname \$dldir/$dlname~
11253      chmod a+x \$dldir/$dlname~
11254      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11255        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11256      fi'
11257    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11258      dlpath=$dir/\$dldll~
11259       $RM \$dlpath'
11260    shlibpath_overrides_runpath=yes
11261
11262    case $host_os in
11263    cygwin*)
11264      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11265      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11266
11267      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11268      ;;
11269    mingw* | cegcc*)
11270      # MinGW DLLs use traditional 'lib' prefix
11271      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11272      ;;
11273    pw32*)
11274      # pw32 DLLs use 'pw' prefix rather than 'lib'
11275      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11276      ;;
11277    esac
11278    dynamic_linker='Win32 ld.exe'
11279    ;;
11280
11281  *,cl*)
11282    # Native MSVC
11283    libname_spec='$name'
11284    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11285    library_names_spec='${libname}.dll.lib'
11286
11287    case $build_os in
11288    mingw*)
11289      sys_lib_search_path_spec=
11290      lt_save_ifs=$IFS
11291      IFS=';'
11292      for lt_path in $LIB
11293      do
11294        IFS=$lt_save_ifs
11295        # Let DOS variable expansion print the short 8.3 style file name.
11296        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11297        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11298      done
11299      IFS=$lt_save_ifs
11300      # Convert to MSYS style.
11301      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11302      ;;
11303    cygwin*)
11304      # Convert to unix form, then to dos form, then back to unix form
11305      # but this time dos style (no spaces!) so that the unix form looks
11306      # like /cygdrive/c/PROGRA~1:/cygdr...
11307      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11308      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11309      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11310      ;;
11311    *)
11312      sys_lib_search_path_spec="$LIB"
11313      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11314        # It is most probably a Windows format PATH.
11315        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11316      else
11317        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11318      fi
11319      # FIXME: find the short name or the path components, as spaces are
11320      # common. (e.g. "Program Files" -> "PROGRA~1")
11321      ;;
11322    esac
11323
11324    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11325    postinstall_cmds='base_file=`basename \${file}`~
11326      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11327      dldir=$destdir/`dirname \$dlpath`~
11328      test -d \$dldir || mkdir -p \$dldir~
11329      $install_prog $dir/$dlname \$dldir/$dlname'
11330    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11331      dlpath=$dir/\$dldll~
11332       $RM \$dlpath'
11333    shlibpath_overrides_runpath=yes
11334    dynamic_linker='Win32 link.exe'
11335    ;;
11336
11337  *)
11338    # Assume MSVC wrapper
11339    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11340    dynamic_linker='Win32 ld.exe'
11341    ;;
11342  esac
11343  # FIXME: first we should search . and the directory the executable is in
11344  shlibpath_var=PATH
11345  ;;
11346
11347darwin* | rhapsody*)
11348  dynamic_linker="$host_os dyld"
11349  version_type=darwin
11350  need_lib_prefix=no
11351  need_version=no
11352  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11353  soname_spec='${libname}${release}${major}$shared_ext'
11354  shlibpath_overrides_runpath=yes
11355  shlibpath_var=DYLD_LIBRARY_PATH
11356  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11357
11358  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11359  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11360  ;;
11361
11362dgux*)
11363  version_type=linux
11364  need_lib_prefix=no
11365  need_version=no
11366  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11367  soname_spec='${libname}${release}${shared_ext}$major'
11368  shlibpath_var=LD_LIBRARY_PATH
11369  ;;
11370
11371freebsd1*)
11372  dynamic_linker=no
11373  ;;
11374
11375freebsd* | dragonfly*)
11376  # DragonFly does not have aout.  When/if they implement a new
11377  # versioning mechanism, adjust this.
11378  if test -x /usr/bin/objformat; then
11379    objformat=`/usr/bin/objformat`
11380  else
11381    case $host_os in
11382    freebsd[123]*) objformat=aout ;;
11383    *) objformat=elf ;;
11384    esac
11385  fi
11386  version_type=freebsd-$objformat
11387  case $version_type in
11388    freebsd-elf*)
11389      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11390      need_version=no
11391      need_lib_prefix=no
11392      ;;
11393    freebsd-*)
11394      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11395      need_version=yes
11396      ;;
11397  esac
11398  shlibpath_var=LD_LIBRARY_PATH
11399  case $host_os in
11400  freebsd2*)
11401    shlibpath_overrides_runpath=yes
11402    ;;
11403  freebsd3.[01]* | freebsdelf3.[01]*)
11404    shlibpath_overrides_runpath=yes
11405    hardcode_into_libs=yes
11406    ;;
11407  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11408  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11409    shlibpath_overrides_runpath=no
11410    hardcode_into_libs=yes
11411    ;;
11412  *) # from 4.6 on, and DragonFly
11413    shlibpath_overrides_runpath=yes
11414    hardcode_into_libs=yes
11415    ;;
11416  esac
11417  ;;
11418
11419gnu*)
11420  version_type=linux
11421  need_lib_prefix=no
11422  need_version=no
11423  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11424  soname_spec='${libname}${release}${shared_ext}$major'
11425  shlibpath_var=LD_LIBRARY_PATH
11426  hardcode_into_libs=yes
11427  ;;
11428
11429haiku*)
11430  version_type=linux
11431  need_lib_prefix=no
11432  need_version=no
11433  dynamic_linker="$host_os runtime_loader"
11434  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11435  soname_spec='${libname}${release}${shared_ext}$major'
11436  shlibpath_var=LIBRARY_PATH
11437  shlibpath_overrides_runpath=yes
11438  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11439  hardcode_into_libs=yes
11440  ;;
11441
11442hpux9* | hpux10* | hpux11*)
11443  # Give a soname corresponding to the major version so that dld.sl refuses to
11444  # link against other versions.
11445  version_type=sunos
11446  need_lib_prefix=no
11447  need_version=no
11448  case $host_cpu in
11449  ia64*)
11450    shrext_cmds='.so'
11451    hardcode_into_libs=yes
11452    dynamic_linker="$host_os dld.so"
11453    shlibpath_var=LD_LIBRARY_PATH
11454    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11455    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11456    soname_spec='${libname}${release}${shared_ext}$major'
11457    if test "X$HPUX_IA64_MODE" = X32; then
11458      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11459    else
11460      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11461    fi
11462    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11463    ;;
11464  hppa*64*)
11465    shrext_cmds='.sl'
11466    hardcode_into_libs=yes
11467    dynamic_linker="$host_os dld.sl"
11468    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11469    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11470    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11471    soname_spec='${libname}${release}${shared_ext}$major'
11472    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11473    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11474    ;;
11475  *)
11476    shrext_cmds='.sl'
11477    dynamic_linker="$host_os dld.sl"
11478    shlibpath_var=SHLIB_PATH
11479    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11480    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11481    soname_spec='${libname}${release}${shared_ext}$major'
11482    ;;
11483  esac
11484  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11485  postinstall_cmds='chmod 555 $lib'
11486  # or fails outright, so override atomically:
11487  install_override_mode=555
11488  ;;
11489
11490interix[3-9]*)
11491  version_type=linux
11492  need_lib_prefix=no
11493  need_version=no
11494  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11495  soname_spec='${libname}${release}${shared_ext}$major'
11496  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11497  shlibpath_var=LD_LIBRARY_PATH
11498  shlibpath_overrides_runpath=no
11499  hardcode_into_libs=yes
11500  ;;
11501
11502irix5* | irix6* | nonstopux*)
11503  case $host_os in
11504    nonstopux*) version_type=nonstopux ;;
11505    *)
11506	if test "$lt_cv_prog_gnu_ld" = yes; then
11507		version_type=linux
11508	else
11509		version_type=irix
11510	fi ;;
11511  esac
11512  need_lib_prefix=no
11513  need_version=no
11514  soname_spec='${libname}${release}${shared_ext}$major'
11515  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11516  case $host_os in
11517  irix5* | nonstopux*)
11518    libsuff= shlibsuff=
11519    ;;
11520  *)
11521    case $LD in # libtool.m4 will add one of these switches to LD
11522    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11523      libsuff= shlibsuff= libmagic=32-bit;;
11524    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11525      libsuff=32 shlibsuff=N32 libmagic=N32;;
11526    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11527      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11528    *) libsuff= shlibsuff= libmagic=never-match;;
11529    esac
11530    ;;
11531  esac
11532  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11533  shlibpath_overrides_runpath=no
11534  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11535  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11536  hardcode_into_libs=yes
11537  ;;
11538
11539# No shared lib support for Linux oldld, aout, or coff.
11540linux*oldld* | linux*aout* | linux*coff*)
11541  dynamic_linker=no
11542  ;;
11543
11544# This must be Linux ELF.
11545linux* | k*bsd*-gnu | kopensolaris*-gnu)
11546  version_type=linux
11547  need_lib_prefix=no
11548  need_version=no
11549  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11550  soname_spec='${libname}${release}${shared_ext}$major'
11551  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11552  shlibpath_var=LD_LIBRARY_PATH
11553  shlibpath_overrides_runpath=no
11554
11555  # Some binutils ld are patched to set DT_RUNPATH
11556  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11557  $as_echo_n "(cached) " >&6
11558else
11559  lt_cv_shlibpath_overrides_runpath=no
11560    save_LDFLAGS=$LDFLAGS
11561    save_libdir=$libdir
11562    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11563	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11564    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11565/* end confdefs.h.  */
11566
11567int
11568main ()
11569{
11570
11571  ;
11572  return 0;
11573}
11574_ACEOF
11575if ac_fn_c_try_link "$LINENO"; then :
11576  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11577  lt_cv_shlibpath_overrides_runpath=yes
11578fi
11579fi
11580rm -f core conftest.err conftest.$ac_objext \
11581    conftest$ac_exeext conftest.$ac_ext
11582    LDFLAGS=$save_LDFLAGS
11583    libdir=$save_libdir
11584
11585fi
11586
11587  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11588
11589  # This implies no fast_install, which is unacceptable.
11590  # Some rework will be needed to allow for fast_install
11591  # before this can be enabled.
11592  hardcode_into_libs=yes
11593
11594  # Add ABI-specific directories to the system library path.
11595  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11596
11597  # Append ld.so.conf contents to the search path
11598  if test -f /etc/ld.so.conf; then
11599    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' ' '`
11600    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11601
11602  fi
11603
11604  # We used to test for /lib/ld.so.1 and disable shared libraries on
11605  # powerpc, because MkLinux only supported shared libraries with the
11606  # GNU dynamic linker.  Since this was broken with cross compilers,
11607  # most powerpc-linux boxes support dynamic linking these days and
11608  # people can always --disable-shared, the test was removed, and we
11609  # assume the GNU/Linux dynamic linker is in use.
11610  dynamic_linker='GNU/Linux ld.so'
11611  ;;
11612
11613netbsd*)
11614  version_type=sunos
11615  need_lib_prefix=no
11616  need_version=no
11617  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11618    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11619    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11620    dynamic_linker='NetBSD (a.out) ld.so'
11621  else
11622    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11623    soname_spec='${libname}${release}${shared_ext}$major'
11624    dynamic_linker='NetBSD ld.elf_so'
11625  fi
11626  shlibpath_var=LD_LIBRARY_PATH
11627  shlibpath_overrides_runpath=yes
11628  hardcode_into_libs=yes
11629  ;;
11630
11631newsos6)
11632  version_type=linux
11633  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11634  shlibpath_var=LD_LIBRARY_PATH
11635  shlibpath_overrides_runpath=yes
11636  ;;
11637
11638*nto* | *qnx*)
11639  version_type=qnx
11640  need_lib_prefix=no
11641  need_version=no
11642  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11643  soname_spec='${libname}${release}${shared_ext}$major'
11644  shlibpath_var=LD_LIBRARY_PATH
11645  shlibpath_overrides_runpath=no
11646  hardcode_into_libs=yes
11647  dynamic_linker='ldqnx.so'
11648  ;;
11649
11650openbsd*)
11651  version_type=sunos
11652  sys_lib_dlsearch_path_spec="/usr/lib"
11653  need_lib_prefix=no
11654  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11655  case $host_os in
11656    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11657    *)				need_version=no  ;;
11658  esac
11659  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11660  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11661  shlibpath_var=LD_LIBRARY_PATH
11662  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11663    case $host_os in
11664      openbsd2.[89] | openbsd2.[89].*)
11665	shlibpath_overrides_runpath=no
11666	;;
11667      *)
11668	shlibpath_overrides_runpath=yes
11669	;;
11670      esac
11671  else
11672    shlibpath_overrides_runpath=yes
11673  fi
11674  ;;
11675
11676os2*)
11677  libname_spec='$name'
11678  shrext_cmds=".dll"
11679  need_lib_prefix=no
11680  library_names_spec='$libname${shared_ext} $libname.a'
11681  dynamic_linker='OS/2 ld.exe'
11682  shlibpath_var=LIBPATH
11683  ;;
11684
11685osf3* | osf4* | osf5*)
11686  version_type=osf
11687  need_lib_prefix=no
11688  need_version=no
11689  soname_spec='${libname}${release}${shared_ext}$major'
11690  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11691  shlibpath_var=LD_LIBRARY_PATH
11692  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11693  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11694  ;;
11695
11696rdos*)
11697  dynamic_linker=no
11698  ;;
11699
11700solaris*)
11701  version_type=linux
11702  need_lib_prefix=no
11703  need_version=no
11704  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11705  soname_spec='${libname}${release}${shared_ext}$major'
11706  shlibpath_var=LD_LIBRARY_PATH
11707  shlibpath_overrides_runpath=yes
11708  hardcode_into_libs=yes
11709  # ldd complains unless libraries are executable
11710  postinstall_cmds='chmod +x $lib'
11711  ;;
11712
11713sunos4*)
11714  version_type=sunos
11715  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11716  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11717  shlibpath_var=LD_LIBRARY_PATH
11718  shlibpath_overrides_runpath=yes
11719  if test "$with_gnu_ld" = yes; then
11720    need_lib_prefix=no
11721  fi
11722  need_version=yes
11723  ;;
11724
11725sysv4 | sysv4.3*)
11726  version_type=linux
11727  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11728  soname_spec='${libname}${release}${shared_ext}$major'
11729  shlibpath_var=LD_LIBRARY_PATH
11730  case $host_vendor in
11731    sni)
11732      shlibpath_overrides_runpath=no
11733      need_lib_prefix=no
11734      runpath_var=LD_RUN_PATH
11735      ;;
11736    siemens)
11737      need_lib_prefix=no
11738      ;;
11739    motorola)
11740      need_lib_prefix=no
11741      need_version=no
11742      shlibpath_overrides_runpath=no
11743      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11744      ;;
11745  esac
11746  ;;
11747
11748sysv4*MP*)
11749  if test -d /usr/nec ;then
11750    version_type=linux
11751    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11752    soname_spec='$libname${shared_ext}.$major'
11753    shlibpath_var=LD_LIBRARY_PATH
11754  fi
11755  ;;
11756
11757sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11758  version_type=freebsd-elf
11759  need_lib_prefix=no
11760  need_version=no
11761  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11762  soname_spec='${libname}${release}${shared_ext}$major'
11763  shlibpath_var=LD_LIBRARY_PATH
11764  shlibpath_overrides_runpath=yes
11765  hardcode_into_libs=yes
11766  if test "$with_gnu_ld" = yes; then
11767    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11768  else
11769    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11770    case $host_os in
11771      sco3.2v5*)
11772        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11773	;;
11774    esac
11775  fi
11776  sys_lib_dlsearch_path_spec='/usr/lib'
11777  ;;
11778
11779tpf*)
11780  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11781  version_type=linux
11782  need_lib_prefix=no
11783  need_version=no
11784  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11785  shlibpath_var=LD_LIBRARY_PATH
11786  shlibpath_overrides_runpath=no
11787  hardcode_into_libs=yes
11788  ;;
11789
11790uts4*)
11791  version_type=linux
11792  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11793  soname_spec='${libname}${release}${shared_ext}$major'
11794  shlibpath_var=LD_LIBRARY_PATH
11795  ;;
11796
11797*)
11798  dynamic_linker=no
11799  ;;
11800esac
11801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11802$as_echo "$dynamic_linker" >&6; }
11803test "$dynamic_linker" = no && can_build_shared=no
11804
11805variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11806if test "$GCC" = yes; then
11807  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11808fi
11809
11810if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11811  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11812fi
11813if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11814  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11815fi
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11909$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11910hardcode_action=
11911if test -n "$hardcode_libdir_flag_spec" ||
11912   test -n "$runpath_var" ||
11913   test "X$hardcode_automatic" = "Xyes" ; then
11914
11915  # We can hardcode non-existent directories.
11916  if test "$hardcode_direct" != no &&
11917     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11918     # have to relink, otherwise we might link with an installed library
11919     # when we should be linking with a yet-to-be-installed one
11920     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11921     test "$hardcode_minus_L" != no; then
11922    # Linking always hardcodes the temporary library directory.
11923    hardcode_action=relink
11924  else
11925    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11926    hardcode_action=immediate
11927  fi
11928else
11929  # We cannot hardcode anything, or else we can only hardcode existing
11930  # directories.
11931  hardcode_action=unsupported
11932fi
11933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11934$as_echo "$hardcode_action" >&6; }
11935
11936if test "$hardcode_action" = relink ||
11937   test "$inherit_rpath" = yes; then
11938  # Fast installation is not supported
11939  enable_fast_install=no
11940elif test "$shlibpath_overrides_runpath" = yes ||
11941     test "$enable_shared" = no; then
11942  # Fast installation is not necessary
11943  enable_fast_install=needless
11944fi
11945
11946
11947
11948
11949
11950
11951  if test "x$enable_dlopen" != xyes; then
11952  enable_dlopen=unknown
11953  enable_dlopen_self=unknown
11954  enable_dlopen_self_static=unknown
11955else
11956  lt_cv_dlopen=no
11957  lt_cv_dlopen_libs=
11958
11959  case $host_os in
11960  beos*)
11961    lt_cv_dlopen="load_add_on"
11962    lt_cv_dlopen_libs=
11963    lt_cv_dlopen_self=yes
11964    ;;
11965
11966  mingw* | pw32* | cegcc*)
11967    lt_cv_dlopen="LoadLibrary"
11968    lt_cv_dlopen_libs=
11969    ;;
11970
11971  cygwin*)
11972    lt_cv_dlopen="dlopen"
11973    lt_cv_dlopen_libs=
11974    ;;
11975
11976  darwin*)
11977  # if libdl is installed we need to link against it
11978    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11979$as_echo_n "checking for dlopen in -ldl... " >&6; }
11980if ${ac_cv_lib_dl_dlopen+:} false; then :
11981  $as_echo_n "(cached) " >&6
11982else
11983  ac_check_lib_save_LIBS=$LIBS
11984LIBS="-ldl  $LIBS"
11985cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986/* end confdefs.h.  */
11987
11988/* Override any GCC internal prototype to avoid an error.
11989   Use char because int might match the return type of a GCC
11990   builtin and then its argument prototype would still apply.  */
11991#ifdef __cplusplus
11992extern "C"
11993#endif
11994char dlopen ();
11995int
11996main ()
11997{
11998return dlopen ();
11999  ;
12000  return 0;
12001}
12002_ACEOF
12003if ac_fn_c_try_link "$LINENO"; then :
12004  ac_cv_lib_dl_dlopen=yes
12005else
12006  ac_cv_lib_dl_dlopen=no
12007fi
12008rm -f core conftest.err conftest.$ac_objext \
12009    conftest$ac_exeext conftest.$ac_ext
12010LIBS=$ac_check_lib_save_LIBS
12011fi
12012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12013$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12014if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12015  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12016else
12017
12018    lt_cv_dlopen="dyld"
12019    lt_cv_dlopen_libs=
12020    lt_cv_dlopen_self=yes
12021
12022fi
12023
12024    ;;
12025
12026  *)
12027    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12028if test "x$ac_cv_func_shl_load" = xyes; then :
12029  lt_cv_dlopen="shl_load"
12030else
12031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12032$as_echo_n "checking for shl_load in -ldld... " >&6; }
12033if ${ac_cv_lib_dld_shl_load+:} false; then :
12034  $as_echo_n "(cached) " >&6
12035else
12036  ac_check_lib_save_LIBS=$LIBS
12037LIBS="-ldld  $LIBS"
12038cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039/* end confdefs.h.  */
12040
12041/* Override any GCC internal prototype to avoid an error.
12042   Use char because int might match the return type of a GCC
12043   builtin and then its argument prototype would still apply.  */
12044#ifdef __cplusplus
12045extern "C"
12046#endif
12047char shl_load ();
12048int
12049main ()
12050{
12051return shl_load ();
12052  ;
12053  return 0;
12054}
12055_ACEOF
12056if ac_fn_c_try_link "$LINENO"; then :
12057  ac_cv_lib_dld_shl_load=yes
12058else
12059  ac_cv_lib_dld_shl_load=no
12060fi
12061rm -f core conftest.err conftest.$ac_objext \
12062    conftest$ac_exeext conftest.$ac_ext
12063LIBS=$ac_check_lib_save_LIBS
12064fi
12065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12066$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12067if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12068  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12069else
12070  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12071if test "x$ac_cv_func_dlopen" = xyes; then :
12072  lt_cv_dlopen="dlopen"
12073else
12074  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12075$as_echo_n "checking for dlopen in -ldl... " >&6; }
12076if ${ac_cv_lib_dl_dlopen+:} false; then :
12077  $as_echo_n "(cached) " >&6
12078else
12079  ac_check_lib_save_LIBS=$LIBS
12080LIBS="-ldl  $LIBS"
12081cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12082/* end confdefs.h.  */
12083
12084/* Override any GCC internal prototype to avoid an error.
12085   Use char because int might match the return type of a GCC
12086   builtin and then its argument prototype would still apply.  */
12087#ifdef __cplusplus
12088extern "C"
12089#endif
12090char dlopen ();
12091int
12092main ()
12093{
12094return dlopen ();
12095  ;
12096  return 0;
12097}
12098_ACEOF
12099if ac_fn_c_try_link "$LINENO"; then :
12100  ac_cv_lib_dl_dlopen=yes
12101else
12102  ac_cv_lib_dl_dlopen=no
12103fi
12104rm -f core conftest.err conftest.$ac_objext \
12105    conftest$ac_exeext conftest.$ac_ext
12106LIBS=$ac_check_lib_save_LIBS
12107fi
12108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12109$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12110if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12111  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12112else
12113  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12114$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12115if ${ac_cv_lib_svld_dlopen+:} false; then :
12116  $as_echo_n "(cached) " >&6
12117else
12118  ac_check_lib_save_LIBS=$LIBS
12119LIBS="-lsvld  $LIBS"
12120cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121/* end confdefs.h.  */
12122
12123/* Override any GCC internal prototype to avoid an error.
12124   Use char because int might match the return type of a GCC
12125   builtin and then its argument prototype would still apply.  */
12126#ifdef __cplusplus
12127extern "C"
12128#endif
12129char dlopen ();
12130int
12131main ()
12132{
12133return dlopen ();
12134  ;
12135  return 0;
12136}
12137_ACEOF
12138if ac_fn_c_try_link "$LINENO"; then :
12139  ac_cv_lib_svld_dlopen=yes
12140else
12141  ac_cv_lib_svld_dlopen=no
12142fi
12143rm -f core conftest.err conftest.$ac_objext \
12144    conftest$ac_exeext conftest.$ac_ext
12145LIBS=$ac_check_lib_save_LIBS
12146fi
12147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12148$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12149if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12150  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12151else
12152  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12153$as_echo_n "checking for dld_link in -ldld... " >&6; }
12154if ${ac_cv_lib_dld_dld_link+:} false; then :
12155  $as_echo_n "(cached) " >&6
12156else
12157  ac_check_lib_save_LIBS=$LIBS
12158LIBS="-ldld  $LIBS"
12159cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12160/* end confdefs.h.  */
12161
12162/* Override any GCC internal prototype to avoid an error.
12163   Use char because int might match the return type of a GCC
12164   builtin and then its argument prototype would still apply.  */
12165#ifdef __cplusplus
12166extern "C"
12167#endif
12168char dld_link ();
12169int
12170main ()
12171{
12172return dld_link ();
12173  ;
12174  return 0;
12175}
12176_ACEOF
12177if ac_fn_c_try_link "$LINENO"; then :
12178  ac_cv_lib_dld_dld_link=yes
12179else
12180  ac_cv_lib_dld_dld_link=no
12181fi
12182rm -f core conftest.err conftest.$ac_objext \
12183    conftest$ac_exeext conftest.$ac_ext
12184LIBS=$ac_check_lib_save_LIBS
12185fi
12186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12187$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12188if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12189  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12190fi
12191
12192
12193fi
12194
12195
12196fi
12197
12198
12199fi
12200
12201
12202fi
12203
12204
12205fi
12206
12207    ;;
12208  esac
12209
12210  if test "x$lt_cv_dlopen" != xno; then
12211    enable_dlopen=yes
12212  else
12213    enable_dlopen=no
12214  fi
12215
12216  case $lt_cv_dlopen in
12217  dlopen)
12218    save_CPPFLAGS="$CPPFLAGS"
12219    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12220
12221    save_LDFLAGS="$LDFLAGS"
12222    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12223
12224    save_LIBS="$LIBS"
12225    LIBS="$lt_cv_dlopen_libs $LIBS"
12226
12227    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12228$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12229if ${lt_cv_dlopen_self+:} false; then :
12230  $as_echo_n "(cached) " >&6
12231else
12232  	  if test "$cross_compiling" = yes; then :
12233  lt_cv_dlopen_self=cross
12234else
12235  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12236  lt_status=$lt_dlunknown
12237  cat > conftest.$ac_ext <<_LT_EOF
12238#line $LINENO "configure"
12239#include "confdefs.h"
12240
12241#if HAVE_DLFCN_H
12242#include <dlfcn.h>
12243#endif
12244
12245#include <stdio.h>
12246
12247#ifdef RTLD_GLOBAL
12248#  define LT_DLGLOBAL		RTLD_GLOBAL
12249#else
12250#  ifdef DL_GLOBAL
12251#    define LT_DLGLOBAL		DL_GLOBAL
12252#  else
12253#    define LT_DLGLOBAL		0
12254#  endif
12255#endif
12256
12257/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12258   find out it does not work in some platform. */
12259#ifndef LT_DLLAZY_OR_NOW
12260#  ifdef RTLD_LAZY
12261#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12262#  else
12263#    ifdef DL_LAZY
12264#      define LT_DLLAZY_OR_NOW		DL_LAZY
12265#    else
12266#      ifdef RTLD_NOW
12267#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12268#      else
12269#        ifdef DL_NOW
12270#          define LT_DLLAZY_OR_NOW	DL_NOW
12271#        else
12272#          define LT_DLLAZY_OR_NOW	0
12273#        endif
12274#      endif
12275#    endif
12276#  endif
12277#endif
12278
12279/* When -fvisbility=hidden is used, assume the code has been annotated
12280   correspondingly for the symbols needed.  */
12281#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12282int fnord () __attribute__((visibility("default")));
12283#endif
12284
12285int fnord () { return 42; }
12286int main ()
12287{
12288  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12289  int status = $lt_dlunknown;
12290
12291  if (self)
12292    {
12293      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12294      else
12295        {
12296	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12297          else puts (dlerror ());
12298	}
12299      /* dlclose (self); */
12300    }
12301  else
12302    puts (dlerror ());
12303
12304  return status;
12305}
12306_LT_EOF
12307  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12308  (eval $ac_link) 2>&5
12309  ac_status=$?
12310  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12311  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12312    (./conftest; exit; ) >&5 2>/dev/null
12313    lt_status=$?
12314    case x$lt_status in
12315      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12316      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12317      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12318    esac
12319  else :
12320    # compilation failed
12321    lt_cv_dlopen_self=no
12322  fi
12323fi
12324rm -fr conftest*
12325
12326
12327fi
12328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12329$as_echo "$lt_cv_dlopen_self" >&6; }
12330
12331    if test "x$lt_cv_dlopen_self" = xyes; then
12332      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12333      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12334$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12335if ${lt_cv_dlopen_self_static+:} false; then :
12336  $as_echo_n "(cached) " >&6
12337else
12338  	  if test "$cross_compiling" = yes; then :
12339  lt_cv_dlopen_self_static=cross
12340else
12341  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12342  lt_status=$lt_dlunknown
12343  cat > conftest.$ac_ext <<_LT_EOF
12344#line $LINENO "configure"
12345#include "confdefs.h"
12346
12347#if HAVE_DLFCN_H
12348#include <dlfcn.h>
12349#endif
12350
12351#include <stdio.h>
12352
12353#ifdef RTLD_GLOBAL
12354#  define LT_DLGLOBAL		RTLD_GLOBAL
12355#else
12356#  ifdef DL_GLOBAL
12357#    define LT_DLGLOBAL		DL_GLOBAL
12358#  else
12359#    define LT_DLGLOBAL		0
12360#  endif
12361#endif
12362
12363/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12364   find out it does not work in some platform. */
12365#ifndef LT_DLLAZY_OR_NOW
12366#  ifdef RTLD_LAZY
12367#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12368#  else
12369#    ifdef DL_LAZY
12370#      define LT_DLLAZY_OR_NOW		DL_LAZY
12371#    else
12372#      ifdef RTLD_NOW
12373#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12374#      else
12375#        ifdef DL_NOW
12376#          define LT_DLLAZY_OR_NOW	DL_NOW
12377#        else
12378#          define LT_DLLAZY_OR_NOW	0
12379#        endif
12380#      endif
12381#    endif
12382#  endif
12383#endif
12384
12385/* When -fvisbility=hidden is used, assume the code has been annotated
12386   correspondingly for the symbols needed.  */
12387#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12388int fnord () __attribute__((visibility("default")));
12389#endif
12390
12391int fnord () { return 42; }
12392int main ()
12393{
12394  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12395  int status = $lt_dlunknown;
12396
12397  if (self)
12398    {
12399      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12400      else
12401        {
12402	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12403          else puts (dlerror ());
12404	}
12405      /* dlclose (self); */
12406    }
12407  else
12408    puts (dlerror ());
12409
12410  return status;
12411}
12412_LT_EOF
12413  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12414  (eval $ac_link) 2>&5
12415  ac_status=$?
12416  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12417  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12418    (./conftest; exit; ) >&5 2>/dev/null
12419    lt_status=$?
12420    case x$lt_status in
12421      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12422      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12423      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12424    esac
12425  else :
12426    # compilation failed
12427    lt_cv_dlopen_self_static=no
12428  fi
12429fi
12430rm -fr conftest*
12431
12432
12433fi
12434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12435$as_echo "$lt_cv_dlopen_self_static" >&6; }
12436    fi
12437
12438    CPPFLAGS="$save_CPPFLAGS"
12439    LDFLAGS="$save_LDFLAGS"
12440    LIBS="$save_LIBS"
12441    ;;
12442  esac
12443
12444  case $lt_cv_dlopen_self in
12445  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12446  *) enable_dlopen_self=unknown ;;
12447  esac
12448
12449  case $lt_cv_dlopen_self_static in
12450  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12451  *) enable_dlopen_self_static=unknown ;;
12452  esac
12453fi
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471striplib=
12472old_striplib=
12473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12474$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12475if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12476  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12477  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12479$as_echo "yes" >&6; }
12480else
12481# FIXME - insert some real tests, host_os isn't really good enough
12482  case $host_os in
12483  darwin*)
12484    if test -n "$STRIP" ; then
12485      striplib="$STRIP -x"
12486      old_striplib="$STRIP -S"
12487      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12488$as_echo "yes" >&6; }
12489    else
12490      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12491$as_echo "no" >&6; }
12492    fi
12493    ;;
12494  *)
12495    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12496$as_echo "no" >&6; }
12497    ;;
12498  esac
12499fi
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512  # Report which library types will actually be built
12513  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12514$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12515  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12516$as_echo "$can_build_shared" >&6; }
12517
12518  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12519$as_echo_n "checking whether to build shared libraries... " >&6; }
12520  test "$can_build_shared" = "no" && enable_shared=no
12521
12522  # On AIX, shared libraries and static libraries use the same namespace, and
12523  # are all built from PIC.
12524  case $host_os in
12525  aix3*)
12526    test "$enable_shared" = yes && enable_static=no
12527    if test -n "$RANLIB"; then
12528      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12529      postinstall_cmds='$RANLIB $lib'
12530    fi
12531    ;;
12532
12533  aix[4-9]*)
12534    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12535      test "$enable_shared" = yes && enable_static=no
12536    fi
12537    ;;
12538  esac
12539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12540$as_echo "$enable_shared" >&6; }
12541
12542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12543$as_echo_n "checking whether to build static libraries... " >&6; }
12544  # Make sure either enable_shared or enable_static is yes.
12545  test "$enable_shared" = yes || enable_static=yes
12546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12547$as_echo "$enable_static" >&6; }
12548
12549
12550
12551
12552fi
12553ac_ext=c
12554ac_cpp='$CPP $CPPFLAGS'
12555ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12556ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12557ac_compiler_gnu=$ac_cv_c_compiler_gnu
12558
12559CC="$lt_save_CC"
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573        ac_config_commands="$ac_config_commands libtool"
12574
12575
12576
12577
12578# Only expand once:
12579
12580
12581# Extract the first word of "gconftool-2", so it can be a program name with args.
12582set dummy gconftool-2; ac_word=$2
12583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12584$as_echo_n "checking for $ac_word... " >&6; }
12585if ${ac_cv_path_GCONFTOOL+:} false; then :
12586  $as_echo_n "(cached) " >&6
12587else
12588  case $GCONFTOOL in
12589  [\\/]* | ?:[\\/]*)
12590  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
12591  ;;
12592  *)
12593  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12594for as_dir in $PATH
12595do
12596  IFS=$as_save_IFS
12597  test -z "$as_dir" && as_dir=.
12598    for ac_exec_ext in '' $ac_executable_extensions; do
12599  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12600    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
12601    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12602    break 2
12603  fi
12604done
12605  done
12606IFS=$as_save_IFS
12607
12608  ;;
12609esac
12610fi
12611GCONFTOOL=$ac_cv_path_GCONFTOOL
12612if test -n "$GCONFTOOL"; then
12613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
12614$as_echo "$GCONFTOOL" >&6; }
12615else
12616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12617$as_echo "no" >&6; }
12618fi
12619
12620
12621
12622  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
12623    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
12624  else
12625    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
12626  fi
12627
12628
12629# Check whether --with-gconf-source was given.
12630if test "${with_gconf_source+set}" = set; then :
12631  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
12632fi
12633
12634
12635
12636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
12637$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
12638
12639  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
12640    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
12641  fi
12642
12643
12644# Check whether --with-gconf-schema-file-dir was given.
12645if test "${with_gconf_schema_file_dir+set}" = set; then :
12646  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
12647fi
12648
12649
12650
12651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
12652$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
12653
12654  # Check whether --enable-schemas-install was given.
12655if test "${enable_schemas_install+set}" = set; then :
12656  enableval=$enable_schemas_install; case ${enableval} in
12657       yes|no) ;;
12658       *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
12659      esac
12660fi
12661
12662   if test "$enable_schemas_install" != no; then
12663  GCONF_SCHEMAS_INSTALL_TRUE=
12664  GCONF_SCHEMAS_INSTALL_FALSE='#'
12665else
12666  GCONF_SCHEMAS_INSTALL_TRUE='#'
12667  GCONF_SCHEMAS_INSTALL_FALSE=
12668fi
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12680	if test -n "$ac_tool_prefix"; then
12681  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12682set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12684$as_echo_n "checking for $ac_word... " >&6; }
12685if ${ac_cv_path_PKG_CONFIG+:} false; then :
12686  $as_echo_n "(cached) " >&6
12687else
12688  case $PKG_CONFIG in
12689  [\\/]* | ?:[\\/]*)
12690  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12691  ;;
12692  *)
12693  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12694for as_dir in $PATH
12695do
12696  IFS=$as_save_IFS
12697  test -z "$as_dir" && as_dir=.
12698    for ac_exec_ext in '' $ac_executable_extensions; do
12699  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12700    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12701    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12702    break 2
12703  fi
12704done
12705  done
12706IFS=$as_save_IFS
12707
12708  ;;
12709esac
12710fi
12711PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12712if test -n "$PKG_CONFIG"; then
12713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12714$as_echo "$PKG_CONFIG" >&6; }
12715else
12716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12717$as_echo "no" >&6; }
12718fi
12719
12720
12721fi
12722if test -z "$ac_cv_path_PKG_CONFIG"; then
12723  ac_pt_PKG_CONFIG=$PKG_CONFIG
12724  # Extract the first word of "pkg-config", so it can be a program name with args.
12725set dummy pkg-config; ac_word=$2
12726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727$as_echo_n "checking for $ac_word... " >&6; }
12728if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12729  $as_echo_n "(cached) " >&6
12730else
12731  case $ac_pt_PKG_CONFIG in
12732  [\\/]* | ?:[\\/]*)
12733  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12734  ;;
12735  *)
12736  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12737for as_dir in $PATH
12738do
12739  IFS=$as_save_IFS
12740  test -z "$as_dir" && as_dir=.
12741    for ac_exec_ext in '' $ac_executable_extensions; do
12742  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12743    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12744    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12745    break 2
12746  fi
12747done
12748  done
12749IFS=$as_save_IFS
12750
12751  ;;
12752esac
12753fi
12754ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12755if test -n "$ac_pt_PKG_CONFIG"; then
12756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12757$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12758else
12759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12760$as_echo "no" >&6; }
12761fi
12762
12763  if test "x$ac_pt_PKG_CONFIG" = x; then
12764    PKG_CONFIG=""
12765  else
12766    case $cross_compiling:$ac_tool_warned in
12767yes:)
12768{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12769$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12770ac_tool_warned=yes ;;
12771esac
12772    PKG_CONFIG=$ac_pt_PKG_CONFIG
12773  fi
12774else
12775  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12776fi
12777
12778fi
12779if test -n "$PKG_CONFIG"; then
12780	_pkg_min_version=0.9.0
12781	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12782$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12783	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12784		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12785$as_echo "yes" >&6; }
12786	else
12787		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12788$as_echo "no" >&6; }
12789		PKG_CONFIG=""
12790	fi
12791fi
12792
12793
12794
12795
12796# Check whether --with-help-dir was given.
12797if test "${with_help_dir+set}" = set; then :
12798  withval=$with_help_dir;
12799else
12800  with_help_dir='${datadir}/gnome/help'
12801fi
12802
12803HELP_DIR="$with_help_dir"
12804
12805
12806
12807# Check whether --with-omf-dir was given.
12808if test "${with_omf_dir+set}" = set; then :
12809  withval=$with_omf_dir;
12810else
12811  with_omf_dir='${datadir}/omf'
12812fi
12813
12814OMF_DIR="$with_omf_dir"
12815
12816
12817
12818# Check whether --with-help-formats was given.
12819if test "${with_help_formats+set}" = set; then :
12820  withval=$with_help_formats;
12821else
12822  with_help_formats=''
12823fi
12824
12825DOC_USER_FORMATS="$with_help_formats"
12826
12827
12828# Check whether --enable-scrollkeeper was given.
12829if test "${enable_scrollkeeper+set}" = set; then :
12830  enableval=$enable_scrollkeeper;
12831else
12832  enable_scrollkeeper=yes
12833fi
12834
12835  ENABLE_SK_TRUE='#'
12836  ENABLE_SK_FALSE=
12837
12838
12839DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
12840
12841
12842  HAVE_GNOME_DOC_UTILS_TRUE='#'
12843  HAVE_GNOME_DOC_UTILS_FALSE=
12844
12845
12846
12847
12848if test "x$GCC" = "xyes"; then
12849  case " $CFLAGS " in
12850  *[\ \	]-Wall[\ \	]*) ;;
12851  *) CFLAGS="$CFLAGS -Wall" ;;
12852  esac
12853fi
12854
12855GTK_REQUIRED=3.0.0
12856
12857
12858pkg_failed=no
12859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF_EDITOR" >&5
12860$as_echo_n "checking for GCONF_EDITOR... " >&6; }
12861
12862if test -n "$GCONF_EDITOR_CFLAGS"; then
12863    pkg_cv_GCONF_EDITOR_CFLAGS="$GCONF_EDITOR_CFLAGS"
12864 elif test -n "$PKG_CONFIG"; then
12865    if test -n "$PKG_CONFIG" && \
12866    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.9.2
12867		  gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
12868  ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.9.2
12869		  gtk+-3.0 >= $GTK_REQUIRED") 2>&5
12870  ac_status=$?
12871  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12872  test $ac_status = 0; }; then
12873  pkg_cv_GCONF_EDITOR_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.9.2
12874		  gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
12875else
12876  pkg_failed=yes
12877fi
12878 else
12879    pkg_failed=untried
12880fi
12881if test -n "$GCONF_EDITOR_LIBS"; then
12882    pkg_cv_GCONF_EDITOR_LIBS="$GCONF_EDITOR_LIBS"
12883 elif test -n "$PKG_CONFIG"; then
12884    if test -n "$PKG_CONFIG" && \
12885    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.9.2
12886		  gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
12887  ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.9.2
12888		  gtk+-3.0 >= $GTK_REQUIRED") 2>&5
12889  ac_status=$?
12890  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12891  test $ac_status = 0; }; then
12892  pkg_cv_GCONF_EDITOR_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.9.2
12893		  gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
12894else
12895  pkg_failed=yes
12896fi
12897 else
12898    pkg_failed=untried
12899fi
12900
12901
12902
12903if test $pkg_failed = yes; then
12904   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12905$as_echo "no" >&6; }
12906
12907if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12908        _pkg_short_errors_supported=yes
12909else
12910        _pkg_short_errors_supported=no
12911fi
12912        if test $_pkg_short_errors_supported = yes; then
12913	        GCONF_EDITOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0 >= 2.9.2
12914		  gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
12915        else
12916	        GCONF_EDITOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0 >= 2.9.2
12917		  gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
12918        fi
12919	# Put the nasty error message in config.log where it belongs
12920	echo "$GCONF_EDITOR_PKG_ERRORS" >&5
12921
12922	as_fn_error $? "Package requirements (gconf-2.0 >= 2.9.2
12923		  gtk+-3.0 >= $GTK_REQUIRED) were not met:
12924
12925$GCONF_EDITOR_PKG_ERRORS
12926
12927Consider adjusting the PKG_CONFIG_PATH environment variable if you
12928installed software in a non-standard prefix.
12929
12930Alternatively, you may set the environment variables GCONF_EDITOR_CFLAGS
12931and GCONF_EDITOR_LIBS to avoid the need to call pkg-config.
12932See the pkg-config man page for more details." "$LINENO" 5
12933
12934elif test $pkg_failed = untried; then
12935     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12936$as_echo "no" >&6; }
12937	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12938$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12939as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12940is in your PATH or set the PKG_CONFIG environment variable to the full
12941path to pkg-config.
12942
12943Alternatively, you may set the environment variables GCONF_EDITOR_CFLAGS
12944and GCONF_EDITOR_LIBS to avoid the need to call pkg-config.
12945See the pkg-config man page for more details.
12946
12947To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12948See \`config.log' for more details" "$LINENO" 5; }
12949
12950else
12951	GCONF_EDITOR_CFLAGS=$pkg_cv_GCONF_EDITOR_CFLAGS
12952	GCONF_EDITOR_LIBS=$pkg_cv_GCONF_EDITOR_LIBS
12953        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12954$as_echo "yes" >&6; }
12955
12956fi
12957
12958# Extract the first word of "glib-genmarshal", so it can be a program name with args.
12959set dummy glib-genmarshal; ac_word=$2
12960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12961$as_echo_n "checking for $ac_word... " >&6; }
12962if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
12963  $as_echo_n "(cached) " >&6
12964else
12965  case $GLIB_GENMARSHAL in
12966  [\\/]* | ?:[\\/]*)
12967  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
12968  ;;
12969  *)
12970  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12971for as_dir in $PATH
12972do
12973  IFS=$as_save_IFS
12974  test -z "$as_dir" && as_dir=.
12975    for ac_exec_ext in '' $ac_executable_extensions; do
12976  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12977    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
12978    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12979    break 2
12980  fi
12981done
12982  done
12983IFS=$as_save_IFS
12984
12985  ;;
12986esac
12987fi
12988GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
12989if test -n "$GLIB_GENMARSHAL"; then
12990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
12991$as_echo "$GLIB_GENMARSHAL" >&6; }
12992else
12993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12994$as_echo "no" >&6; }
12995fi
12996
12997
12998
12999GETTEXT_PACKAGE=gconf-editor
13000
13001
13002cat >>confdefs.h <<_ACEOF
13003#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13004_ACEOF
13005
13006
13007
13008   for ac_header in locale.h
13009do :
13010  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13011if test "x$ac_cv_header_locale_h" = xyes; then :
13012  cat >>confdefs.h <<_ACEOF
13013#define HAVE_LOCALE_H 1
13014_ACEOF
13015
13016fi
13017
13018done
13019
13020    if test $ac_cv_header_locale_h = yes; then
13021    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13022$as_echo_n "checking for LC_MESSAGES... " >&6; }
13023if ${am_cv_val_LC_MESSAGES+:} false; then :
13024  $as_echo_n "(cached) " >&6
13025else
13026  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13027/* end confdefs.h.  */
13028#include <locale.h>
13029int
13030main ()
13031{
13032return LC_MESSAGES
13033  ;
13034  return 0;
13035}
13036_ACEOF
13037if ac_fn_c_try_link "$LINENO"; then :
13038  am_cv_val_LC_MESSAGES=yes
13039else
13040  am_cv_val_LC_MESSAGES=no
13041fi
13042rm -f core conftest.err conftest.$ac_objext \
13043    conftest$ac_exeext conftest.$ac_ext
13044fi
13045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13046$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13047    if test $am_cv_val_LC_MESSAGES = yes; then
13048
13049$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13050
13051    fi
13052  fi
13053     USE_NLS=yes
13054
13055
13056    gt_cv_have_gettext=no
13057
13058    CATOBJEXT=NONE
13059    XGETTEXT=:
13060    INTLLIBS=
13061
13062    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13063if test "x$ac_cv_header_libintl_h" = xyes; then :
13064  gt_cv_func_dgettext_libintl="no"
13065      libintl_extra_libs=""
13066
13067      #
13068      # First check in libc
13069      #
13070      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13071$as_echo_n "checking for ngettext in libc... " >&6; }
13072if ${gt_cv_func_ngettext_libc+:} false; then :
13073  $as_echo_n "(cached) " >&6
13074else
13075  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13076/* end confdefs.h.  */
13077
13078#include <libintl.h>
13079
13080int
13081main ()
13082{
13083return !ngettext ("","", 1)
13084  ;
13085  return 0;
13086}
13087_ACEOF
13088if ac_fn_c_try_link "$LINENO"; then :
13089  gt_cv_func_ngettext_libc=yes
13090else
13091  gt_cv_func_ngettext_libc=no
13092fi
13093rm -f core conftest.err conftest.$ac_objext \
13094    conftest$ac_exeext conftest.$ac_ext
13095
13096fi
13097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13098$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13099
13100      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13101	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13102$as_echo_n "checking for dgettext in libc... " >&6; }
13103if ${gt_cv_func_dgettext_libc+:} false; then :
13104  $as_echo_n "(cached) " >&6
13105else
13106  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107/* end confdefs.h.  */
13108
13109#include <libintl.h>
13110
13111int
13112main ()
13113{
13114return !dgettext ("","")
13115  ;
13116  return 0;
13117}
13118_ACEOF
13119if ac_fn_c_try_link "$LINENO"; then :
13120  gt_cv_func_dgettext_libc=yes
13121else
13122  gt_cv_func_dgettext_libc=no
13123fi
13124rm -f core conftest.err conftest.$ac_objext \
13125    conftest$ac_exeext conftest.$ac_ext
13126
13127fi
13128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13129$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13130      fi
13131
13132      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13133        for ac_func in bind_textdomain_codeset
13134do :
13135  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13136if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13137  cat >>confdefs.h <<_ACEOF
13138#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13139_ACEOF
13140
13141fi
13142done
13143
13144      fi
13145
13146      #
13147      # If we don't have everything we want, check in libintl
13148      #
13149      if test "$gt_cv_func_dgettext_libc" != "yes" \
13150	 || test "$gt_cv_func_ngettext_libc" != "yes" \
13151         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13152
13153        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13154$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13155if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
13156  $as_echo_n "(cached) " >&6
13157else
13158  ac_check_lib_save_LIBS=$LIBS
13159LIBS="-lintl  $LIBS"
13160cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13161/* end confdefs.h.  */
13162
13163/* Override any GCC internal prototype to avoid an error.
13164   Use char because int might match the return type of a GCC
13165   builtin and then its argument prototype would still apply.  */
13166#ifdef __cplusplus
13167extern "C"
13168#endif
13169char bindtextdomain ();
13170int
13171main ()
13172{
13173return bindtextdomain ();
13174  ;
13175  return 0;
13176}
13177_ACEOF
13178if ac_fn_c_try_link "$LINENO"; then :
13179  ac_cv_lib_intl_bindtextdomain=yes
13180else
13181  ac_cv_lib_intl_bindtextdomain=no
13182fi
13183rm -f core conftest.err conftest.$ac_objext \
13184    conftest$ac_exeext conftest.$ac_ext
13185LIBS=$ac_check_lib_save_LIBS
13186fi
13187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13188$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13189if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
13190  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13191$as_echo_n "checking for ngettext in -lintl... " >&6; }
13192if ${ac_cv_lib_intl_ngettext+:} false; then :
13193  $as_echo_n "(cached) " >&6
13194else
13195  ac_check_lib_save_LIBS=$LIBS
13196LIBS="-lintl  $LIBS"
13197cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13198/* end confdefs.h.  */
13199
13200/* Override any GCC internal prototype to avoid an error.
13201   Use char because int might match the return type of a GCC
13202   builtin and then its argument prototype would still apply.  */
13203#ifdef __cplusplus
13204extern "C"
13205#endif
13206char ngettext ();
13207int
13208main ()
13209{
13210return ngettext ();
13211  ;
13212  return 0;
13213}
13214_ACEOF
13215if ac_fn_c_try_link "$LINENO"; then :
13216  ac_cv_lib_intl_ngettext=yes
13217else
13218  ac_cv_lib_intl_ngettext=no
13219fi
13220rm -f core conftest.err conftest.$ac_objext \
13221    conftest$ac_exeext conftest.$ac_ext
13222LIBS=$ac_check_lib_save_LIBS
13223fi
13224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13225$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13226if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13228$as_echo_n "checking for dgettext in -lintl... " >&6; }
13229if ${ac_cv_lib_intl_dgettext+:} false; then :
13230  $as_echo_n "(cached) " >&6
13231else
13232  ac_check_lib_save_LIBS=$LIBS
13233LIBS="-lintl  $LIBS"
13234cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13235/* end confdefs.h.  */
13236
13237/* Override any GCC internal prototype to avoid an error.
13238   Use char because int might match the return type of a GCC
13239   builtin and then its argument prototype would still apply.  */
13240#ifdef __cplusplus
13241extern "C"
13242#endif
13243char dgettext ();
13244int
13245main ()
13246{
13247return dgettext ();
13248  ;
13249  return 0;
13250}
13251_ACEOF
13252if ac_fn_c_try_link "$LINENO"; then :
13253  ac_cv_lib_intl_dgettext=yes
13254else
13255  ac_cv_lib_intl_dgettext=no
13256fi
13257rm -f core conftest.err conftest.$ac_objext \
13258    conftest$ac_exeext conftest.$ac_ext
13259LIBS=$ac_check_lib_save_LIBS
13260fi
13261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13262$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13263if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13264  gt_cv_func_dgettext_libintl=yes
13265fi
13266
13267fi
13268
13269fi
13270
13271
13272	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13273	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13274$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13275	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13276$as_echo "" >&6; }
13277  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13278$as_echo_n "checking for ngettext in -lintl... " >&6; }
13279if ${ac_cv_lib_intl_ngettext+:} false; then :
13280  $as_echo_n "(cached) " >&6
13281else
13282  ac_check_lib_save_LIBS=$LIBS
13283LIBS="-lintl -liconv $LIBS"
13284cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285/* end confdefs.h.  */
13286
13287/* Override any GCC internal prototype to avoid an error.
13288   Use char because int might match the return type of a GCC
13289   builtin and then its argument prototype would still apply.  */
13290#ifdef __cplusplus
13291extern "C"
13292#endif
13293char ngettext ();
13294int
13295main ()
13296{
13297return ngettext ();
13298  ;
13299  return 0;
13300}
13301_ACEOF
13302if ac_fn_c_try_link "$LINENO"; then :
13303  ac_cv_lib_intl_ngettext=yes
13304else
13305  ac_cv_lib_intl_ngettext=no
13306fi
13307rm -f core conftest.err conftest.$ac_objext \
13308    conftest$ac_exeext conftest.$ac_ext
13309LIBS=$ac_check_lib_save_LIBS
13310fi
13311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13312$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13313if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13315$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13316if ${ac_cv_lib_intl_dcgettext+:} false; then :
13317  $as_echo_n "(cached) " >&6
13318else
13319  ac_check_lib_save_LIBS=$LIBS
13320LIBS="-lintl -liconv $LIBS"
13321cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322/* end confdefs.h.  */
13323
13324/* Override any GCC internal prototype to avoid an error.
13325   Use char because int might match the return type of a GCC
13326   builtin and then its argument prototype would still apply.  */
13327#ifdef __cplusplus
13328extern "C"
13329#endif
13330char dcgettext ();
13331int
13332main ()
13333{
13334return dcgettext ();
13335  ;
13336  return 0;
13337}
13338_ACEOF
13339if ac_fn_c_try_link "$LINENO"; then :
13340  ac_cv_lib_intl_dcgettext=yes
13341else
13342  ac_cv_lib_intl_dcgettext=no
13343fi
13344rm -f core conftest.err conftest.$ac_objext \
13345    conftest$ac_exeext conftest.$ac_ext
13346LIBS=$ac_check_lib_save_LIBS
13347fi
13348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13349$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13350if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
13351  gt_cv_func_dgettext_libintl=yes
13352			libintl_extra_libs=-liconv
13353else
13354  :
13355fi
13356
13357else
13358  :
13359fi
13360
13361        fi
13362
13363        #
13364        # If we found libintl, then check in it for bind_textdomain_codeset();
13365        # we'll prefer libc if neither have bind_textdomain_codeset(),
13366        # and both have dgettext and ngettext
13367        #
13368        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13369          glib_save_LIBS="$LIBS"
13370          LIBS="$LIBS -lintl $libintl_extra_libs"
13371          unset ac_cv_func_bind_textdomain_codeset
13372          for ac_func in bind_textdomain_codeset
13373do :
13374  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13375if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13376  cat >>confdefs.h <<_ACEOF
13377#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13378_ACEOF
13379
13380fi
13381done
13382
13383          LIBS="$glib_save_LIBS"
13384
13385          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13386            gt_cv_func_dgettext_libc=no
13387          else
13388            if test "$gt_cv_func_dgettext_libc" = "yes" \
13389		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
13390              gt_cv_func_dgettext_libintl=no
13391            fi
13392          fi
13393        fi
13394      fi
13395
13396      if test "$gt_cv_func_dgettext_libc" = "yes" \
13397	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
13398        gt_cv_have_gettext=yes
13399      fi
13400
13401      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13402        INTLLIBS="-lintl $libintl_extra_libs"
13403      fi
13404
13405      if test "$gt_cv_have_gettext" = "yes"; then
13406
13407$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13408
13409	# Extract the first word of "msgfmt", so it can be a program name with args.
13410set dummy msgfmt; ac_word=$2
13411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13412$as_echo_n "checking for $ac_word... " >&6; }
13413if ${ac_cv_path_MSGFMT+:} false; then :
13414  $as_echo_n "(cached) " >&6
13415else
13416  case "$MSGFMT" in
13417  /*)
13418  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13419  ;;
13420  *)
13421  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13422  for ac_dir in $PATH; do
13423    test -z "$ac_dir" && ac_dir=.
13424    if test -f $ac_dir/$ac_word; then
13425      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13426	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13427	break
13428      fi
13429    fi
13430  done
13431  IFS="$ac_save_ifs"
13432  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13433  ;;
13434esac
13435fi
13436MSGFMT="$ac_cv_path_MSGFMT"
13437if test "$MSGFMT" != "no"; then
13438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13439$as_echo "$MSGFMT" >&6; }
13440else
13441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13442$as_echo "no" >&6; }
13443fi
13444	if test "$MSGFMT" != "no"; then
13445          glib_save_LIBS="$LIBS"
13446          LIBS="$LIBS $INTLLIBS"
13447	  for ac_func in dcgettext
13448do :
13449  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13450if test "x$ac_cv_func_dcgettext" = xyes; then :
13451  cat >>confdefs.h <<_ACEOF
13452#define HAVE_DCGETTEXT 1
13453_ACEOF
13454
13455fi
13456done
13457
13458	  MSGFMT_OPTS=
13459	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13460$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13461	  cat >conftest.foo <<_ACEOF
13462
13463msgid ""
13464msgstr ""
13465"Content-Type: text/plain; charset=UTF-8\n"
13466"Project-Id-Version: test 1.0\n"
13467"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13468"Last-Translator: test <foo@bar.xx>\n"
13469"Language-Team: C <LL@li.org>\n"
13470"MIME-Version: 1.0\n"
13471"Content-Transfer-Encoding: 8bit\n"
13472
13473_ACEOF
13474if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13475  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13476  ac_status=$?
13477  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13478  test $ac_status = 0; }; then
13479  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13480$as_echo "yes" >&6; }
13481else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13482$as_echo "no" >&6; }
13483echo "$as_me: failed input was:" >&5
13484sed 's/^/| /' conftest.foo >&5
13485fi
13486
13487	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
13488set dummy gmsgfmt; ac_word=$2
13489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13490$as_echo_n "checking for $ac_word... " >&6; }
13491if ${ac_cv_path_GMSGFMT+:} false; then :
13492  $as_echo_n "(cached) " >&6
13493else
13494  case $GMSGFMT in
13495  [\\/]* | ?:[\\/]*)
13496  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13497  ;;
13498  *)
13499  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13500for as_dir in $PATH
13501do
13502  IFS=$as_save_IFS
13503  test -z "$as_dir" && as_dir=.
13504    for ac_exec_ext in '' $ac_executable_extensions; do
13505  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13506    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13507    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13508    break 2
13509  fi
13510done
13511  done
13512IFS=$as_save_IFS
13513
13514  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13515  ;;
13516esac
13517fi
13518GMSGFMT=$ac_cv_path_GMSGFMT
13519if test -n "$GMSGFMT"; then
13520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13521$as_echo "$GMSGFMT" >&6; }
13522else
13523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13524$as_echo "no" >&6; }
13525fi
13526
13527
13528	  # Extract the first word of "xgettext", so it can be a program name with args.
13529set dummy xgettext; ac_word=$2
13530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13531$as_echo_n "checking for $ac_word... " >&6; }
13532if ${ac_cv_path_XGETTEXT+:} false; then :
13533  $as_echo_n "(cached) " >&6
13534else
13535  case "$XGETTEXT" in
13536  /*)
13537  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13538  ;;
13539  *)
13540  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13541  for ac_dir in $PATH; do
13542    test -z "$ac_dir" && ac_dir=.
13543    if test -f $ac_dir/$ac_word; then
13544      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13545	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13546	break
13547      fi
13548    fi
13549  done
13550  IFS="$ac_save_ifs"
13551  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13552  ;;
13553esac
13554fi
13555XGETTEXT="$ac_cv_path_XGETTEXT"
13556if test "$XGETTEXT" != ":"; then
13557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13558$as_echo "$XGETTEXT" >&6; }
13559else
13560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13561$as_echo "no" >&6; }
13562fi
13563
13564	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13565/* end confdefs.h.  */
13566
13567int
13568main ()
13569{
13570extern int _nl_msg_cat_cntr;
13571			 return _nl_msg_cat_cntr
13572  ;
13573  return 0;
13574}
13575_ACEOF
13576if ac_fn_c_try_link "$LINENO"; then :
13577  CATOBJEXT=.gmo
13578             DATADIRNAME=share
13579else
13580  case $host in
13581	    *-*-solaris*)
13582	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13583if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13584  CATOBJEXT=.gmo
13585               DATADIRNAME=share
13586else
13587  CATOBJEXT=.mo
13588               DATADIRNAME=share
13589fi
13590
13591	    ;;
13592	    *-*-openbsd*)
13593	    CATOBJEXT=.mo
13594            DATADIRNAME=share
13595	    ;;
13596	    *)
13597	    CATOBJEXT=.mo
13598            DATADIRNAME=share
13599	    ;;
13600	    esac
13601fi
13602rm -f core conftest.err conftest.$ac_objext \
13603    conftest$ac_exeext conftest.$ac_ext
13604          LIBS="$glib_save_LIBS"
13605	  INSTOBJEXT=.mo
13606	else
13607	  gt_cv_have_gettext=no
13608	fi
13609      fi
13610
13611fi
13612
13613
13614
13615    if test "$gt_cv_have_gettext" = "yes" ; then
13616
13617$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13618
13619    fi
13620
13621        if test "$XGETTEXT" != ":"; then
13622                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13623        : ;
13624      else
13625        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13626$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13627        XGETTEXT=":"
13628      fi
13629    fi
13630
13631    # We need to process the po/ directory.
13632    POSUB=po
13633
13634    ac_config_commands="$ac_config_commands default-1"
13635
13636
13637                for lang in $ALL_LINGUAS; do
13638      GMOFILES="$GMOFILES $lang.gmo"
13639      POFILES="$POFILES $lang.po"
13640    done
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654   if test "$gt_cv_have_gettext" = "yes"; then
13655     if test "x$ALL_LINGUAS" = "x"; then
13656       LINGUAS=
13657     else
13658       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13659$as_echo_n "checking for catalogs to be installed... " >&6; }
13660       NEW_LINGUAS=
13661       for presentlang in $ALL_LINGUAS; do
13662         useit=no
13663         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13664           desiredlanguages="$LINGUAS"
13665         else
13666           desiredlanguages="$ALL_LINGUAS"
13667         fi
13668         for desiredlang in $desiredlanguages; do
13669 	   # Use the presentlang catalog if desiredlang is
13670           #   a. equal to presentlang, or
13671           #   b. a variant of presentlang (because in this case,
13672           #      presentlang can be used as a fallback for messages
13673           #      which are not translated in the desiredlang catalog).
13674           case "$desiredlang" in
13675             "$presentlang"*) useit=yes;;
13676           esac
13677         done
13678         if test $useit = yes; then
13679           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13680         fi
13681       done
13682       LINGUAS=$NEW_LINGUAS
13683       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13684$as_echo "$LINGUAS" >&6; }
13685     fi
13686
13687          if test -n "$LINGUAS"; then
13688       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13689     fi
13690   fi
13691
13692            MKINSTALLDIRS=
13693   if test -n "$ac_aux_dir"; then
13694     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13695   fi
13696   if test -z "$MKINSTALLDIRS"; then
13697     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13698   fi
13699
13700
13701         test -d po || mkdir po
13702   if test "x$srcdir" != "x."; then
13703     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13704       posrcprefix="$srcdir/"
13705     else
13706       posrcprefix="../$srcdir/"
13707     fi
13708   else
13709     posrcprefix="../"
13710   fi
13711   rm -f po/POTFILES
13712   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13713	< $srcdir/po/POTFILES.in > po/POTFILES
13714
13715
13716
13717
13718
13719      ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
13720  if test -n "$ac_macro_dir"; then
13721    ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
13722  fi
13723
13724
13725
13726
13727
13728    # Check whether --enable-compile-warnings was given.
13729if test "${enable_compile_warnings+set}" = set; then :
13730  enableval=$enable_compile_warnings;
13731else
13732  enable_compile_warnings="maximum"
13733fi
13734
13735
13736    warnCFLAGS=
13737    if test "x$GCC" != xyes; then
13738	enable_compile_warnings=no
13739    fi
13740
13741    warning_flags=
13742    realsave_CFLAGS="$CFLAGS"
13743
13744    case "$enable_compile_warnings" in
13745    no)
13746	warning_flags=
13747	;;
13748    minimum)
13749	warning_flags="-Wall"
13750	;;
13751    yes)
13752	warning_flags="-Wall -Wmissing-prototypes"
13753	;;
13754    maximum|error)
13755	warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
13756	CFLAGS="$warning_flags $CFLAGS"
13757	for option in -Wno-sign-compare; do
13758		SAVE_CFLAGS="$CFLAGS"
13759		CFLAGS="$CFLAGS $option"
13760		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
13761$as_echo_n "checking whether gcc understands $option... " >&6; }
13762		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13763/* end confdefs.h.  */
13764
13765int
13766main ()
13767{
13768
13769  ;
13770  return 0;
13771}
13772_ACEOF
13773if ac_fn_c_try_compile "$LINENO"; then :
13774  has_option=yes
13775else
13776  has_option=no
13777fi
13778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13779		CFLAGS="$SAVE_CFLAGS"
13780		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13781$as_echo "$has_option" >&6; }
13782		if test $has_option = yes; then
13783		  warning_flags="$warning_flags $option"
13784		fi
13785		unset has_option
13786		unset SAVE_CFLAGS
13787	done
13788	unset option
13789	if test "$enable_compile_warnings" = "error" ; then
13790	    warning_flags="$warning_flags -Werror"
13791	fi
13792	;;
13793    *)
13794	as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
13795	;;
13796    esac
13797    CFLAGS="$realsave_CFLAGS"
13798    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
13799$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13800    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
13801$as_echo "$warning_flags" >&6; }
13802
13803    # Check whether --enable-iso-c was given.
13804if test "${enable_iso_c+set}" = set; then :
13805  enableval=$enable_iso_c;
13806else
13807  enable_iso_c=no
13808fi
13809
13810
13811    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
13812$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
13813    complCFLAGS=
13814    if test "x$enable_iso_c" != "xno"; then
13815	if test "x$GCC" = "xyes"; then
13816	case " $CFLAGS " in
13817	    *\ \	-ansi\ \	*) ;;
13818	    *) complCFLAGS="$complCFLAGS -ansi" ;;
13819	esac
13820	case " $CFLAGS " in
13821	    *\ \	-pedantic\ \	*) ;;
13822	    *) complCFLAGS="$complCFLAGS -pedantic" ;;
13823	esac
13824	fi
13825    fi
13826    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
13827$as_echo "$complCFLAGS" >&6; }
13828
13829    WARN_CFLAGS="$warning_flags $complCFLAGS"
13830
13831
13832
13833GCONF_DEFAULTS_SOURCE=`gconftool-2 --get-default-source`
13834
13835# Check whether --with-gconf-defaults-source was given.
13836if test "${with_gconf_defaults_source+set}" = set; then :
13837  withval=$with_gconf_defaults_source; GCONF_DEFAULTS_SOURCE="$withval"
13838fi
13839
13840
13841cat >>confdefs.h <<_ACEOF
13842#define GCONF_DEFAULTS_SOURCE "$GCONF_DEFAULTS_SOURCE"
13843_ACEOF
13844
13845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_DEFAULTS_SOURCE for default values" >&5
13846$as_echo "Using config source $GCONF_DEFAULTS_SOURCE for default values" >&6; }
13847
13848GCONF_MANDATORY_SOURCE=`echo $GCONF_DEFAULTS_SOURCE | sed -e s/gconf.xml.defaults/gconf.xml.mandatory/`
13849
13850# Check whether --with-gconf-mandatory-source was given.
13851if test "${with_gconf_mandatory_source+set}" = set; then :
13852  withval=$with_gconf_mandatory_source; GCONF_MANDATORY_SOURCE="$withval"
13853fi
13854
13855
13856cat >>confdefs.h <<_ACEOF
13857#define GCONF_MANDATORY_SOURCE "$GCONF_MANDATORY_SOURCE"
13858_ACEOF
13859
13860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_MANDATORY_SOURCE for mandatory values" >&5
13861$as_echo "Using config source $GCONF_MANDATORY_SOURCE for mandatory values" >&6; }
13862
13863ac_config_files="$ac_config_files Makefile data/Makefile data/gconf-editor.desktop.in data/icons/Makefile docs/Makefile src/Makefile po/Makefile.in"
13864
13865
13866cat >confcache <<\_ACEOF
13867# This file is a shell script that caches the results of configure
13868# tests run on this system so they can be shared between configure
13869# scripts and configure runs, see configure's option --config-cache.
13870# It is not useful on other systems.  If it contains results you don't
13871# want to keep, you may remove or edit it.
13872#
13873# config.status only pays attention to the cache file if you give it
13874# the --recheck option to rerun configure.
13875#
13876# `ac_cv_env_foo' variables (set or unset) will be overridden when
13877# loading this file, other *unset* `ac_cv_foo' will be assigned the
13878# following values.
13879
13880_ACEOF
13881
13882# The following way of writing the cache mishandles newlines in values,
13883# but we know of no workaround that is simple, portable, and efficient.
13884# So, we kill variables containing newlines.
13885# Ultrix sh set writes to stderr and can't be redirected directly,
13886# and sets the high bit in the cache file unless we assign to the vars.
13887(
13888  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13889    eval ac_val=\$$ac_var
13890    case $ac_val in #(
13891    *${as_nl}*)
13892      case $ac_var in #(
13893      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13894$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13895      esac
13896      case $ac_var in #(
13897      _ | IFS | as_nl) ;; #(
13898      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13899      *) { eval $ac_var=; unset $ac_var;} ;;
13900      esac ;;
13901    esac
13902  done
13903
13904  (set) 2>&1 |
13905    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13906    *${as_nl}ac_space=\ *)
13907      # `set' does not quote correctly, so add quotes: double-quote
13908      # substitution turns \\\\ into \\, and sed turns \\ into \.
13909      sed -n \
13910	"s/'/'\\\\''/g;
13911	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13912      ;; #(
13913    *)
13914      # `set' quotes correctly as required by POSIX, so do not add quotes.
13915      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13916      ;;
13917    esac |
13918    sort
13919) |
13920  sed '
13921     /^ac_cv_env_/b end
13922     t clear
13923     :clear
13924     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13925     t end
13926     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13927     :end' >>confcache
13928if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13929  if test -w "$cache_file"; then
13930    if test "x$cache_file" != "x/dev/null"; then
13931      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13932$as_echo "$as_me: updating cache $cache_file" >&6;}
13933      if test ! -f "$cache_file" || test -h "$cache_file"; then
13934	cat confcache >"$cache_file"
13935      else
13936        case $cache_file in #(
13937        */* | ?:*)
13938	  mv -f confcache "$cache_file"$$ &&
13939	  mv -f "$cache_file"$$ "$cache_file" ;; #(
13940        *)
13941	  mv -f confcache "$cache_file" ;;
13942	esac
13943      fi
13944    fi
13945  else
13946    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13947$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13948  fi
13949fi
13950rm -f confcache
13951
13952test "x$prefix" = xNONE && prefix=$ac_default_prefix
13953# Let make expand exec_prefix.
13954test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13955
13956DEFS=-DHAVE_CONFIG_H
13957
13958ac_libobjs=
13959ac_ltlibobjs=
13960U=
13961for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13962  # 1. Remove the extension, and $U if already installed.
13963  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13964  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13965  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13966  #    will be set to the directory where LIBOBJS objects are built.
13967  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13968  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13969done
13970LIBOBJS=$ac_libobjs
13971
13972LTLIBOBJS=$ac_ltlibobjs
13973
13974
13975 if test -n "$EXEEXT"; then
13976  am__EXEEXT_TRUE=
13977  am__EXEEXT_FALSE='#'
13978else
13979  am__EXEEXT_TRUE='#'
13980  am__EXEEXT_FALSE=
13981fi
13982
13983if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13984  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13985Usually this means the macro was only invoked conditionally." "$LINENO" 5
13986fi
13987if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13988  as_fn_error $? "conditional \"AMDEP\" was never defined.
13989Usually this means the macro was only invoked conditionally." "$LINENO" 5
13990fi
13991if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13992  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13993Usually this means the macro was only invoked conditionally." "$LINENO" 5
13994fi
13995
13996  ac_config_commands="$ac_config_commands po/stamp-it"
13997
13998
13999if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14000  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14001Usually this means the macro was only invoked conditionally." "$LINENO" 5
14002fi
14003if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
14004  as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
14005Usually this means the macro was only invoked conditionally." "$LINENO" 5
14006fi
14007if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
14008  as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
14009Usually this means the macro was only invoked conditionally." "$LINENO" 5
14010fi
14011if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
14012  as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
14013Usually this means the macro was only invoked conditionally." "$LINENO" 5
14014fi
14015
14016: "${CONFIG_STATUS=./config.status}"
14017ac_write_fail=0
14018ac_clean_files_save=$ac_clean_files
14019ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14020{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14021$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14022as_write_fail=0
14023cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14024#! $SHELL
14025# Generated by $as_me.
14026# Run this file to recreate the current configuration.
14027# Compiler output produced by configure, useful for debugging
14028# configure, is in config.log if it exists.
14029
14030debug=false
14031ac_cs_recheck=false
14032ac_cs_silent=false
14033
14034SHELL=\${CONFIG_SHELL-$SHELL}
14035export SHELL
14036_ASEOF
14037cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14038## -------------------- ##
14039## M4sh Initialization. ##
14040## -------------------- ##
14041
14042# Be more Bourne compatible
14043DUALCASE=1; export DUALCASE # for MKS sh
14044if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14045  emulate sh
14046  NULLCMD=:
14047  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14048  # is contrary to our usage.  Disable this feature.
14049  alias -g '${1+"$@"}'='"$@"'
14050  setopt NO_GLOB_SUBST
14051else
14052  case `(set -o) 2>/dev/null` in #(
14053  *posix*) :
14054    set -o posix ;; #(
14055  *) :
14056     ;;
14057esac
14058fi
14059
14060
14061as_nl='
14062'
14063export as_nl
14064# Printing a long string crashes Solaris 7 /usr/bin/printf.
14065as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14066as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14067as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14068# Prefer a ksh shell builtin over an external printf program on Solaris,
14069# but without wasting forks for bash or zsh.
14070if test -z "$BASH_VERSION$ZSH_VERSION" \
14071    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14072  as_echo='print -r --'
14073  as_echo_n='print -rn --'
14074elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14075  as_echo='printf %s\n'
14076  as_echo_n='printf %s'
14077else
14078  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14079    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14080    as_echo_n='/usr/ucb/echo -n'
14081  else
14082    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14083    as_echo_n_body='eval
14084      arg=$1;
14085      case $arg in #(
14086      *"$as_nl"*)
14087	expr "X$arg" : "X\\(.*\\)$as_nl";
14088	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14089      esac;
14090      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14091    '
14092    export as_echo_n_body
14093    as_echo_n='sh -c $as_echo_n_body as_echo'
14094  fi
14095  export as_echo_body
14096  as_echo='sh -c $as_echo_body as_echo'
14097fi
14098
14099# The user is always right.
14100if test "${PATH_SEPARATOR+set}" != set; then
14101  PATH_SEPARATOR=:
14102  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14103    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14104      PATH_SEPARATOR=';'
14105  }
14106fi
14107
14108
14109# IFS
14110# We need space, tab and new line, in precisely that order.  Quoting is
14111# there to prevent editors from complaining about space-tab.
14112# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14113# splitting by setting IFS to empty value.)
14114IFS=" ""	$as_nl"
14115
14116# Find who we are.  Look in the path if we contain no directory separator.
14117as_myself=
14118case $0 in #((
14119  *[\\/]* ) as_myself=$0 ;;
14120  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14121for as_dir in $PATH
14122do
14123  IFS=$as_save_IFS
14124  test -z "$as_dir" && as_dir=.
14125    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14126  done
14127IFS=$as_save_IFS
14128
14129     ;;
14130esac
14131# We did not find ourselves, most probably we were run as `sh COMMAND'
14132# in which case we are not to be found in the path.
14133if test "x$as_myself" = x; then
14134  as_myself=$0
14135fi
14136if test ! -f "$as_myself"; then
14137  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14138  exit 1
14139fi
14140
14141# Unset variables that we do not need and which cause bugs (e.g. in
14142# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14143# suppresses any "Segmentation fault" message there.  '((' could
14144# trigger a bug in pdksh 5.2.14.
14145for as_var in BASH_ENV ENV MAIL MAILPATH
14146do eval test x\${$as_var+set} = xset \
14147  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14148done
14149PS1='$ '
14150PS2='> '
14151PS4='+ '
14152
14153# NLS nuisances.
14154LC_ALL=C
14155export LC_ALL
14156LANGUAGE=C
14157export LANGUAGE
14158
14159# CDPATH.
14160(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14161
14162
14163# as_fn_error STATUS ERROR [LINENO LOG_FD]
14164# ----------------------------------------
14165# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14166# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14167# script with STATUS, using 1 if that was 0.
14168as_fn_error ()
14169{
14170  as_status=$1; test $as_status -eq 0 && as_status=1
14171  if test "$4"; then
14172    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14173    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14174  fi
14175  $as_echo "$as_me: error: $2" >&2
14176  as_fn_exit $as_status
14177} # as_fn_error
14178
14179
14180# as_fn_set_status STATUS
14181# -----------------------
14182# Set $? to STATUS, without forking.
14183as_fn_set_status ()
14184{
14185  return $1
14186} # as_fn_set_status
14187
14188# as_fn_exit STATUS
14189# -----------------
14190# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14191as_fn_exit ()
14192{
14193  set +e
14194  as_fn_set_status $1
14195  exit $1
14196} # as_fn_exit
14197
14198# as_fn_unset VAR
14199# ---------------
14200# Portably unset VAR.
14201as_fn_unset ()
14202{
14203  { eval $1=; unset $1;}
14204}
14205as_unset=as_fn_unset
14206# as_fn_append VAR VALUE
14207# ----------------------
14208# Append the text in VALUE to the end of the definition contained in VAR. Take
14209# advantage of any shell optimizations that allow amortized linear growth over
14210# repeated appends, instead of the typical quadratic growth present in naive
14211# implementations.
14212if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14213  eval 'as_fn_append ()
14214  {
14215    eval $1+=\$2
14216  }'
14217else
14218  as_fn_append ()
14219  {
14220    eval $1=\$$1\$2
14221  }
14222fi # as_fn_append
14223
14224# as_fn_arith ARG...
14225# ------------------
14226# Perform arithmetic evaluation on the ARGs, and store the result in the
14227# global $as_val. Take advantage of shells that can avoid forks. The arguments
14228# must be portable across $(()) and expr.
14229if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14230  eval 'as_fn_arith ()
14231  {
14232    as_val=$(( $* ))
14233  }'
14234else
14235  as_fn_arith ()
14236  {
14237    as_val=`expr "$@" || test $? -eq 1`
14238  }
14239fi # as_fn_arith
14240
14241
14242if expr a : '\(a\)' >/dev/null 2>&1 &&
14243   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14244  as_expr=expr
14245else
14246  as_expr=false
14247fi
14248
14249if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14250  as_basename=basename
14251else
14252  as_basename=false
14253fi
14254
14255if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14256  as_dirname=dirname
14257else
14258  as_dirname=false
14259fi
14260
14261as_me=`$as_basename -- "$0" ||
14262$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14263	 X"$0" : 'X\(//\)$' \| \
14264	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14265$as_echo X/"$0" |
14266    sed '/^.*\/\([^/][^/]*\)\/*$/{
14267	    s//\1/
14268	    q
14269	  }
14270	  /^X\/\(\/\/\)$/{
14271	    s//\1/
14272	    q
14273	  }
14274	  /^X\/\(\/\).*/{
14275	    s//\1/
14276	    q
14277	  }
14278	  s/.*/./; q'`
14279
14280# Avoid depending upon Character Ranges.
14281as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14282as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14283as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14284as_cr_digits='0123456789'
14285as_cr_alnum=$as_cr_Letters$as_cr_digits
14286
14287ECHO_C= ECHO_N= ECHO_T=
14288case `echo -n x` in #(((((
14289-n*)
14290  case `echo 'xy\c'` in
14291  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
14292  xy)  ECHO_C='\c';;
14293  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14294       ECHO_T='	';;
14295  esac;;
14296*)
14297  ECHO_N='-n';;
14298esac
14299
14300rm -f conf$$ conf$$.exe conf$$.file
14301if test -d conf$$.dir; then
14302  rm -f conf$$.dir/conf$$.file
14303else
14304  rm -f conf$$.dir
14305  mkdir conf$$.dir 2>/dev/null
14306fi
14307if (echo >conf$$.file) 2>/dev/null; then
14308  if ln -s conf$$.file conf$$ 2>/dev/null; then
14309    as_ln_s='ln -s'
14310    # ... but there are two gotchas:
14311    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14312    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14313    # In both cases, we have to default to `cp -p'.
14314    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14315      as_ln_s='cp -p'
14316  elif ln conf$$.file conf$$ 2>/dev/null; then
14317    as_ln_s=ln
14318  else
14319    as_ln_s='cp -p'
14320  fi
14321else
14322  as_ln_s='cp -p'
14323fi
14324rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14325rmdir conf$$.dir 2>/dev/null
14326
14327
14328# as_fn_mkdir_p
14329# -------------
14330# Create "$as_dir" as a directory, including parents if necessary.
14331as_fn_mkdir_p ()
14332{
14333
14334  case $as_dir in #(
14335  -*) as_dir=./$as_dir;;
14336  esac
14337  test -d "$as_dir" || eval $as_mkdir_p || {
14338    as_dirs=
14339    while :; do
14340      case $as_dir in #(
14341      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14342      *) as_qdir=$as_dir;;
14343      esac
14344      as_dirs="'$as_qdir' $as_dirs"
14345      as_dir=`$as_dirname -- "$as_dir" ||
14346$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14347	 X"$as_dir" : 'X\(//\)[^/]' \| \
14348	 X"$as_dir" : 'X\(//\)$' \| \
14349	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14350$as_echo X"$as_dir" |
14351    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14352	    s//\1/
14353	    q
14354	  }
14355	  /^X\(\/\/\)[^/].*/{
14356	    s//\1/
14357	    q
14358	  }
14359	  /^X\(\/\/\)$/{
14360	    s//\1/
14361	    q
14362	  }
14363	  /^X\(\/\).*/{
14364	    s//\1/
14365	    q
14366	  }
14367	  s/.*/./; q'`
14368      test -d "$as_dir" && break
14369    done
14370    test -z "$as_dirs" || eval "mkdir $as_dirs"
14371  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14372
14373
14374} # as_fn_mkdir_p
14375if mkdir -p . 2>/dev/null; then
14376  as_mkdir_p='mkdir -p "$as_dir"'
14377else
14378  test -d ./-p && rmdir ./-p
14379  as_mkdir_p=false
14380fi
14381
14382if test -x / >/dev/null 2>&1; then
14383  as_test_x='test -x'
14384else
14385  if ls -dL / >/dev/null 2>&1; then
14386    as_ls_L_option=L
14387  else
14388    as_ls_L_option=
14389  fi
14390  as_test_x='
14391    eval sh -c '\''
14392      if test -d "$1"; then
14393	test -d "$1/.";
14394      else
14395	case $1 in #(
14396	-*)set "./$1";;
14397	esac;
14398	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14399	???[sx]*):;;*)false;;esac;fi
14400    '\'' sh
14401  '
14402fi
14403as_executable_p=$as_test_x
14404
14405# Sed expression to map a string onto a valid CPP name.
14406as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14407
14408# Sed expression to map a string onto a valid variable name.
14409as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14410
14411
14412exec 6>&1
14413## ----------------------------------- ##
14414## Main body of $CONFIG_STATUS script. ##
14415## ----------------------------------- ##
14416_ASEOF
14417test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14418
14419cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14420# Save the log message, to keep $0 and so on meaningful, and to
14421# report actual input values of CONFIG_FILES etc. instead of their
14422# values after options handling.
14423ac_log="
14424This file was extended by GConf Editor $as_me 3.0.1, which was
14425generated by GNU Autoconf 2.68.  Invocation command line was
14426
14427  CONFIG_FILES    = $CONFIG_FILES
14428  CONFIG_HEADERS  = $CONFIG_HEADERS
14429  CONFIG_LINKS    = $CONFIG_LINKS
14430  CONFIG_COMMANDS = $CONFIG_COMMANDS
14431  $ $0 $@
14432
14433on `(hostname || uname -n) 2>/dev/null | sed 1q`
14434"
14435
14436_ACEOF
14437
14438case $ac_config_files in *"
14439"*) set x $ac_config_files; shift; ac_config_files=$*;;
14440esac
14441
14442case $ac_config_headers in *"
14443"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14444esac
14445
14446
14447cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14448# Files that config.status was made for.
14449config_files="$ac_config_files"
14450config_headers="$ac_config_headers"
14451config_commands="$ac_config_commands"
14452
14453_ACEOF
14454
14455cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14456ac_cs_usage="\
14457\`$as_me' instantiates files and other configuration actions
14458from templates according to the current configuration.  Unless the files
14459and actions are specified as TAGs, all are instantiated by default.
14460
14461Usage: $0 [OPTION]... [TAG]...
14462
14463  -h, --help       print this help, then exit
14464  -V, --version    print version number and configuration settings, then exit
14465      --config     print configuration, then exit
14466  -q, --quiet, --silent
14467                   do not print progress messages
14468  -d, --debug      don't remove temporary files
14469      --recheck    update $as_me by reconfiguring in the same conditions
14470      --file=FILE[:TEMPLATE]
14471                   instantiate the configuration file FILE
14472      --header=FILE[:TEMPLATE]
14473                   instantiate the configuration header FILE
14474
14475Configuration files:
14476$config_files
14477
14478Configuration headers:
14479$config_headers
14480
14481Configuration commands:
14482$config_commands
14483
14484Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gconf-editor>."
14485
14486_ACEOF
14487cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14488ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14489ac_cs_version="\\
14490GConf Editor config.status 3.0.1
14491configured by $0, generated by GNU Autoconf 2.68,
14492  with options \\"\$ac_cs_config\\"
14493
14494Copyright (C) 2010 Free Software Foundation, Inc.
14495This config.status script is free software; the Free Software Foundation
14496gives unlimited permission to copy, distribute and modify it."
14497
14498ac_pwd='$ac_pwd'
14499srcdir='$srcdir'
14500INSTALL='$INSTALL'
14501MKDIR_P='$MKDIR_P'
14502AWK='$AWK'
14503test -n "\$AWK" || AWK=awk
14504_ACEOF
14505
14506cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14507# The default lists apply if the user does not specify any file.
14508ac_need_defaults=:
14509while test $# != 0
14510do
14511  case $1 in
14512  --*=?*)
14513    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14514    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14515    ac_shift=:
14516    ;;
14517  --*=)
14518    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14519    ac_optarg=
14520    ac_shift=:
14521    ;;
14522  *)
14523    ac_option=$1
14524    ac_optarg=$2
14525    ac_shift=shift
14526    ;;
14527  esac
14528
14529  case $ac_option in
14530  # Handling of the options.
14531  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14532    ac_cs_recheck=: ;;
14533  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14534    $as_echo "$ac_cs_version"; exit ;;
14535  --config | --confi | --conf | --con | --co | --c )
14536    $as_echo "$ac_cs_config"; exit ;;
14537  --debug | --debu | --deb | --de | --d | -d )
14538    debug=: ;;
14539  --file | --fil | --fi | --f )
14540    $ac_shift
14541    case $ac_optarg in
14542    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14543    '') as_fn_error $? "missing file argument" ;;
14544    esac
14545    as_fn_append CONFIG_FILES " '$ac_optarg'"
14546    ac_need_defaults=false;;
14547  --header | --heade | --head | --hea )
14548    $ac_shift
14549    case $ac_optarg in
14550    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14551    esac
14552    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14553    ac_need_defaults=false;;
14554  --he | --h)
14555    # Conflict between --help and --header
14556    as_fn_error $? "ambiguous option: \`$1'
14557Try \`$0 --help' for more information.";;
14558  --help | --hel | -h )
14559    $as_echo "$ac_cs_usage"; exit ;;
14560  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14561  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14562    ac_cs_silent=: ;;
14563
14564  # This is an error.
14565  -*) as_fn_error $? "unrecognized option: \`$1'
14566Try \`$0 --help' for more information." ;;
14567
14568  *) as_fn_append ac_config_targets " $1"
14569     ac_need_defaults=false ;;
14570
14571  esac
14572  shift
14573done
14574
14575ac_configure_extra_args=
14576
14577if $ac_cs_silent; then
14578  exec 6>/dev/null
14579  ac_configure_extra_args="$ac_configure_extra_args --silent"
14580fi
14581
14582_ACEOF
14583cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14584if \$ac_cs_recheck; then
14585  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14586  shift
14587  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14588  CONFIG_SHELL='$SHELL'
14589  export CONFIG_SHELL
14590  exec "\$@"
14591fi
14592
14593_ACEOF
14594cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14595exec 5>>config.log
14596{
14597  echo
14598  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14599## Running $as_me. ##
14600_ASBOX
14601  $as_echo "$ac_log"
14602} >&5
14603
14604_ACEOF
14605cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14606#
14607# INIT-COMMANDS
14608#
14609AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14610
14611
14612# The HP-UX ksh and POSIX shell print the target directory to stdout
14613# if CDPATH is set.
14614(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14615
14616sed_quote_subst='$sed_quote_subst'
14617double_quote_subst='$double_quote_subst'
14618delay_variable_subst='$delay_variable_subst'
14619macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14620macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14621enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14622enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14623pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14624enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14625SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14626ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14627host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14628host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14629host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14630build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14631build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14632build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14633SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14634Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14635GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14636EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14637FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14638LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14639NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14640LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14641max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14642ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14643exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14644lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14645lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14646lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14647lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14648lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14649reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14650reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14651OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14652deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14653file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14654file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14655want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14656DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14657sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14658AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14659AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14660archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14661STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14662RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14663old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14664old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14665old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14666lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14667CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14668CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14669compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14670GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14671lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14672lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14673lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14674lt_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"`'
14675nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14676lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14677objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14678MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14679lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14680lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14681lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14682lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14683lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14684need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14685MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14686DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14687NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14688LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14689OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14690OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14691libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14692shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14693extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14694archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14695enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14696export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14697whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14698compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14699old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14700old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14701archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14702archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14703module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14704module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14705with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14706allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14707no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14708hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14709hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14710hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14711hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14712hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14713hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14714hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14715hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14716inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14717link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14718always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14719export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14720exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14721include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14722prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14723postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14724file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14725variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14726need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14727need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14728version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14729runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14730shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14731shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14732libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14733library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14734soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14735install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14736postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14737postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14738finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14739finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14740hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14741sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14742sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14743hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14744enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14745enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14746enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14747old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14748striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14749
14750LTCC='$LTCC'
14751LTCFLAGS='$LTCFLAGS'
14752compiler='$compiler_DEFAULT'
14753
14754# A function that is used when there is no print builtin or printf.
14755func_fallback_echo ()
14756{
14757  eval 'cat <<_LTECHO_EOF
14758\$1
14759_LTECHO_EOF'
14760}
14761
14762# Quote evaled strings.
14763for var in SHELL \
14764ECHO \
14765SED \
14766GREP \
14767EGREP \
14768FGREP \
14769LD \
14770NM \
14771LN_S \
14772lt_SP2NL \
14773lt_NL2SP \
14774reload_flag \
14775OBJDUMP \
14776deplibs_check_method \
14777file_magic_cmd \
14778file_magic_glob \
14779want_nocaseglob \
14780DLLTOOL \
14781sharedlib_from_linklib_cmd \
14782AR \
14783AR_FLAGS \
14784archiver_list_spec \
14785STRIP \
14786RANLIB \
14787CC \
14788CFLAGS \
14789compiler \
14790lt_cv_sys_global_symbol_pipe \
14791lt_cv_sys_global_symbol_to_cdecl \
14792lt_cv_sys_global_symbol_to_c_name_address \
14793lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14794nm_file_list_spec \
14795lt_prog_compiler_no_builtin_flag \
14796lt_prog_compiler_pic \
14797lt_prog_compiler_wl \
14798lt_prog_compiler_static \
14799lt_cv_prog_compiler_c_o \
14800need_locks \
14801MANIFEST_TOOL \
14802DSYMUTIL \
14803NMEDIT \
14804LIPO \
14805OTOOL \
14806OTOOL64 \
14807shrext_cmds \
14808export_dynamic_flag_spec \
14809whole_archive_flag_spec \
14810compiler_needs_object \
14811with_gnu_ld \
14812allow_undefined_flag \
14813no_undefined_flag \
14814hardcode_libdir_flag_spec \
14815hardcode_libdir_flag_spec_ld \
14816hardcode_libdir_separator \
14817exclude_expsyms \
14818include_expsyms \
14819file_list_spec \
14820variables_saved_for_relink \
14821libname_spec \
14822library_names_spec \
14823soname_spec \
14824install_override_mode \
14825finish_eval \
14826old_striplib \
14827striplib; do
14828    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14829    *[\\\\\\\`\\"\\\$]*)
14830      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14831      ;;
14832    *)
14833      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14834      ;;
14835    esac
14836done
14837
14838# Double-quote double-evaled strings.
14839for var in reload_cmds \
14840old_postinstall_cmds \
14841old_postuninstall_cmds \
14842old_archive_cmds \
14843extract_expsyms_cmds \
14844old_archive_from_new_cmds \
14845old_archive_from_expsyms_cmds \
14846archive_cmds \
14847archive_expsym_cmds \
14848module_cmds \
14849module_expsym_cmds \
14850export_symbols_cmds \
14851prelink_cmds \
14852postlink_cmds \
14853postinstall_cmds \
14854postuninstall_cmds \
14855finish_cmds \
14856sys_lib_search_path_spec \
14857sys_lib_dlsearch_path_spec; do
14858    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14859    *[\\\\\\\`\\"\\\$]*)
14860      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14861      ;;
14862    *)
14863      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14864      ;;
14865    esac
14866done
14867
14868ac_aux_dir='$ac_aux_dir'
14869xsi_shell='$xsi_shell'
14870lt_shell_append='$lt_shell_append'
14871
14872# See if we are running on zsh, and set the options which allow our
14873# commands through without removal of \ escapes INIT.
14874if test -n "\${ZSH_VERSION+set}" ; then
14875   setopt NO_GLOB_SUBST
14876fi
14877
14878
14879    PACKAGE='$PACKAGE'
14880    VERSION='$VERSION'
14881    TIMESTAMP='$TIMESTAMP'
14882    RM='$RM'
14883    ofile='$ofile'
14884
14885
14886
14887
14888
14889_ACEOF
14890
14891cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14892
14893# Handling of arguments.
14894for ac_config_target in $ac_config_targets
14895do
14896  case $ac_config_target in
14897    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14898    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14899    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14900    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14901    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14902    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14903    "data/gconf-editor.desktop.in") CONFIG_FILES="$CONFIG_FILES data/gconf-editor.desktop.in" ;;
14904    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
14905    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14906    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14907    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14908    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14909
14910  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14911  esac
14912done
14913
14914
14915# If the user did not use the arguments to specify the items to instantiate,
14916# then the envvar interface is used.  Set only those that are not.
14917# We use the long form for the default assignment because of an extremely
14918# bizarre bug on SunOS 4.1.3.
14919if $ac_need_defaults; then
14920  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14921  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14922  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14923fi
14924
14925# Have a temporary directory for convenience.  Make it in the build tree
14926# simply because there is no reason against having it here, and in addition,
14927# creating and moving files from /tmp can sometimes cause problems.
14928# Hook for its removal unless debugging.
14929# Note that there is a small window in which the directory will not be cleaned:
14930# after its creation but before its name has been assigned to `$tmp'.
14931$debug ||
14932{
14933  tmp= ac_tmp=
14934  trap 'exit_status=$?
14935  : "${ac_tmp:=$tmp}"
14936  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14937' 0
14938  trap 'as_fn_exit 1' 1 2 13 15
14939}
14940# Create a (secure) tmp directory for tmp files.
14941
14942{
14943  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14944  test -d "$tmp"
14945}  ||
14946{
14947  tmp=./conf$$-$RANDOM
14948  (umask 077 && mkdir "$tmp")
14949} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14950ac_tmp=$tmp
14951
14952# Set up the scripts for CONFIG_FILES section.
14953# No need to generate them if there are no CONFIG_FILES.
14954# This happens for instance with `./config.status config.h'.
14955if test -n "$CONFIG_FILES"; then
14956
14957
14958ac_cr=`echo X | tr X '\015'`
14959# On cygwin, bash can eat \r inside `` if the user requested igncr.
14960# But we know of no other shell where ac_cr would be empty at this
14961# point, so we can use a bashism as a fallback.
14962if test "x$ac_cr" = x; then
14963  eval ac_cr=\$\'\\r\'
14964fi
14965ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14966if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14967  ac_cs_awk_cr='\\r'
14968else
14969  ac_cs_awk_cr=$ac_cr
14970fi
14971
14972echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14973_ACEOF
14974
14975
14976{
14977  echo "cat >conf$$subs.awk <<_ACEOF" &&
14978  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14979  echo "_ACEOF"
14980} >conf$$subs.sh ||
14981  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14982ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14983ac_delim='%!_!# '
14984for ac_last_try in false false false false false :; do
14985  . ./conf$$subs.sh ||
14986    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14987
14988  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14989  if test $ac_delim_n = $ac_delim_num; then
14990    break
14991  elif $ac_last_try; then
14992    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14993  else
14994    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14995  fi
14996done
14997rm -f conf$$subs.sh
14998
14999cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15000cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15001_ACEOF
15002sed -n '
15003h
15004s/^/S["/; s/!.*/"]=/
15005p
15006g
15007s/^[^!]*!//
15008:repl
15009t repl
15010s/'"$ac_delim"'$//
15011t delim
15012:nl
15013h
15014s/\(.\{148\}\)..*/\1/
15015t more1
15016s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15017p
15018n
15019b repl
15020:more1
15021s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15022p
15023g
15024s/.\{148\}//
15025t nl
15026:delim
15027h
15028s/\(.\{148\}\)..*/\1/
15029t more2
15030s/["\\]/\\&/g; s/^/"/; s/$/"/
15031p
15032b
15033:more2
15034s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15035p
15036g
15037s/.\{148\}//
15038t delim
15039' <conf$$subs.awk | sed '
15040/^[^""]/{
15041  N
15042  s/\n//
15043}
15044' >>$CONFIG_STATUS || ac_write_fail=1
15045rm -f conf$$subs.awk
15046cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15047_ACAWK
15048cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15049  for (key in S) S_is_set[key] = 1
15050  FS = ""
15051
15052}
15053{
15054  line = $ 0
15055  nfields = split(line, field, "@")
15056  substed = 0
15057  len = length(field[1])
15058  for (i = 2; i < nfields; i++) {
15059    key = field[i]
15060    keylen = length(key)
15061    if (S_is_set[key]) {
15062      value = S[key]
15063      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15064      len += length(value) + length(field[++i])
15065      substed = 1
15066    } else
15067      len += 1 + keylen
15068  }
15069
15070  print line
15071}
15072
15073_ACAWK
15074_ACEOF
15075cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15076if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15077  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15078else
15079  cat
15080fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15081  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15082_ACEOF
15083
15084# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15085# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15086# trailing colons and then remove the whole line if VPATH becomes empty
15087# (actually we leave an empty line to preserve line numbers).
15088if test "x$srcdir" = x.; then
15089  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
15090h
15091s///
15092s/^/:/
15093s/[	 ]*$/:/
15094s/:\$(srcdir):/:/g
15095s/:\${srcdir}:/:/g
15096s/:@srcdir@:/:/g
15097s/^:*//
15098s/:*$//
15099x
15100s/\(=[	 ]*\).*/\1/
15101G
15102s/\n//
15103s/^[^=]*=[	 ]*$//
15104}'
15105fi
15106
15107cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15108fi # test -n "$CONFIG_FILES"
15109
15110# Set up the scripts for CONFIG_HEADERS section.
15111# No need to generate them if there are no CONFIG_HEADERS.
15112# This happens for instance with `./config.status Makefile'.
15113if test -n "$CONFIG_HEADERS"; then
15114cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15115BEGIN {
15116_ACEOF
15117
15118# Transform confdefs.h into an awk script `defines.awk', embedded as
15119# here-document in config.status, that substitutes the proper values into
15120# config.h.in to produce config.h.
15121
15122# Create a delimiter string that does not exist in confdefs.h, to ease
15123# handling of long lines.
15124ac_delim='%!_!# '
15125for ac_last_try in false false :; do
15126  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15127  if test -z "$ac_tt"; then
15128    break
15129  elif $ac_last_try; then
15130    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15131  else
15132    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15133  fi
15134done
15135
15136# For the awk script, D is an array of macro values keyed by name,
15137# likewise P contains macro parameters if any.  Preserve backslash
15138# newline sequences.
15139
15140ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15141sed -n '
15142s/.\{148\}/&'"$ac_delim"'/g
15143t rset
15144:rset
15145s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
15146t def
15147d
15148:def
15149s/\\$//
15150t bsnl
15151s/["\\]/\\&/g
15152s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15153D["\1"]=" \3"/p
15154s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
15155d
15156:bsnl
15157s/["\\]/\\&/g
15158s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15159D["\1"]=" \3\\\\\\n"\\/p
15160t cont
15161s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15162t cont
15163d
15164:cont
15165n
15166s/.\{148\}/&'"$ac_delim"'/g
15167t clear
15168:clear
15169s/\\$//
15170t bsnlc
15171s/["\\]/\\&/g; s/^/"/; s/$/"/p
15172d
15173:bsnlc
15174s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15175b cont
15176' <confdefs.h | sed '
15177s/'"$ac_delim"'/"\\\
15178"/g' >>$CONFIG_STATUS || ac_write_fail=1
15179
15180cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15181  for (key in D) D_is_set[key] = 1
15182  FS = ""
15183}
15184/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15185  line = \$ 0
15186  split(line, arg, " ")
15187  if (arg[1] == "#") {
15188    defundef = arg[2]
15189    mac1 = arg[3]
15190  } else {
15191    defundef = substr(arg[1], 2)
15192    mac1 = arg[2]
15193  }
15194  split(mac1, mac2, "(") #)
15195  macro = mac2[1]
15196  prefix = substr(line, 1, index(line, defundef) - 1)
15197  if (D_is_set[macro]) {
15198    # Preserve the white space surrounding the "#".
15199    print prefix "define", macro P[macro] D[macro]
15200    next
15201  } else {
15202    # Replace #undef with comments.  This is necessary, for example,
15203    # in the case of _POSIX_SOURCE, which is predefined and required
15204    # on some systems where configure will not decide to define it.
15205    if (defundef == "undef") {
15206      print "/*", prefix defundef, macro, "*/"
15207      next
15208    }
15209  }
15210}
15211{ print }
15212_ACAWK
15213_ACEOF
15214cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15215  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15216fi # test -n "$CONFIG_HEADERS"
15217
15218
15219eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15220shift
15221for ac_tag
15222do
15223  case $ac_tag in
15224  :[FHLC]) ac_mode=$ac_tag; continue;;
15225  esac
15226  case $ac_mode$ac_tag in
15227  :[FHL]*:*);;
15228  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15229  :[FH]-) ac_tag=-:-;;
15230  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15231  esac
15232  ac_save_IFS=$IFS
15233  IFS=:
15234  set x $ac_tag
15235  IFS=$ac_save_IFS
15236  shift
15237  ac_file=$1
15238  shift
15239
15240  case $ac_mode in
15241  :L) ac_source=$1;;
15242  :[FH])
15243    ac_file_inputs=
15244    for ac_f
15245    do
15246      case $ac_f in
15247      -) ac_f="$ac_tmp/stdin";;
15248      *) # Look for the file first in the build tree, then in the source tree
15249	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
15250	 # because $ac_f cannot contain `:'.
15251	 test -f "$ac_f" ||
15252	   case $ac_f in
15253	   [\\/$]*) false;;
15254	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15255	   esac ||
15256	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15257      esac
15258      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15259      as_fn_append ac_file_inputs " '$ac_f'"
15260    done
15261
15262    # Let's still pretend it is `configure' which instantiates (i.e., don't
15263    # use $as_me), people would be surprised to read:
15264    #    /* config.h.  Generated by config.status.  */
15265    configure_input='Generated from '`
15266	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15267	`' by configure.'
15268    if test x"$ac_file" != x-; then
15269      configure_input="$ac_file.  $configure_input"
15270      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15271$as_echo "$as_me: creating $ac_file" >&6;}
15272    fi
15273    # Neutralize special characters interpreted by sed in replacement strings.
15274    case $configure_input in #(
15275    *\&* | *\|* | *\\* )
15276       ac_sed_conf_input=`$as_echo "$configure_input" |
15277       sed 's/[\\\\&|]/\\\\&/g'`;; #(
15278    *) ac_sed_conf_input=$configure_input;;
15279    esac
15280
15281    case $ac_tag in
15282    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15283      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15284    esac
15285    ;;
15286  esac
15287
15288  ac_dir=`$as_dirname -- "$ac_file" ||
15289$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15290	 X"$ac_file" : 'X\(//\)[^/]' \| \
15291	 X"$ac_file" : 'X\(//\)$' \| \
15292	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15293$as_echo X"$ac_file" |
15294    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15295	    s//\1/
15296	    q
15297	  }
15298	  /^X\(\/\/\)[^/].*/{
15299	    s//\1/
15300	    q
15301	  }
15302	  /^X\(\/\/\)$/{
15303	    s//\1/
15304	    q
15305	  }
15306	  /^X\(\/\).*/{
15307	    s//\1/
15308	    q
15309	  }
15310	  s/.*/./; q'`
15311  as_dir="$ac_dir"; as_fn_mkdir_p
15312  ac_builddir=.
15313
15314case "$ac_dir" in
15315.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15316*)
15317  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15318  # A ".." for each directory in $ac_dir_suffix.
15319  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15320  case $ac_top_builddir_sub in
15321  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15322  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15323  esac ;;
15324esac
15325ac_abs_top_builddir=$ac_pwd
15326ac_abs_builddir=$ac_pwd$ac_dir_suffix
15327# for backward compatibility:
15328ac_top_builddir=$ac_top_build_prefix
15329
15330case $srcdir in
15331  .)  # We are building in place.
15332    ac_srcdir=.
15333    ac_top_srcdir=$ac_top_builddir_sub
15334    ac_abs_top_srcdir=$ac_pwd ;;
15335  [\\/]* | ?:[\\/]* )  # Absolute name.
15336    ac_srcdir=$srcdir$ac_dir_suffix;
15337    ac_top_srcdir=$srcdir
15338    ac_abs_top_srcdir=$srcdir ;;
15339  *) # Relative name.
15340    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15341    ac_top_srcdir=$ac_top_build_prefix$srcdir
15342    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15343esac
15344ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15345
15346
15347  case $ac_mode in
15348  :F)
15349  #
15350  # CONFIG_FILE
15351  #
15352
15353  case $INSTALL in
15354  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15355  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15356  esac
15357  ac_MKDIR_P=$MKDIR_P
15358  case $MKDIR_P in
15359  [\\/$]* | ?:[\\/]* ) ;;
15360  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15361  esac
15362_ACEOF
15363
15364cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15365# If the template does not know about datarootdir, expand it.
15366# FIXME: This hack should be removed a few years after 2.60.
15367ac_datarootdir_hack=; ac_datarootdir_seen=
15368ac_sed_dataroot='
15369/datarootdir/ {
15370  p
15371  q
15372}
15373/@datadir@/p
15374/@docdir@/p
15375/@infodir@/p
15376/@localedir@/p
15377/@mandir@/p'
15378case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15379*datarootdir*) ac_datarootdir_seen=yes;;
15380*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15381  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15382$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15383_ACEOF
15384cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15385  ac_datarootdir_hack='
15386  s&@datadir@&$datadir&g
15387  s&@docdir@&$docdir&g
15388  s&@infodir@&$infodir&g
15389  s&@localedir@&$localedir&g
15390  s&@mandir@&$mandir&g
15391  s&\\\${datarootdir}&$datarootdir&g' ;;
15392esac
15393_ACEOF
15394
15395# Neutralize VPATH when `$srcdir' = `.'.
15396# Shell code in configure.ac might set extrasub.
15397# FIXME: do we really want to maintain this feature?
15398cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15399ac_sed_extra="$ac_vpsub
15400$extrasub
15401_ACEOF
15402cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15403:t
15404/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15405s|@configure_input@|$ac_sed_conf_input|;t t
15406s&@top_builddir@&$ac_top_builddir_sub&;t t
15407s&@top_build_prefix@&$ac_top_build_prefix&;t t
15408s&@srcdir@&$ac_srcdir&;t t
15409s&@abs_srcdir@&$ac_abs_srcdir&;t t
15410s&@top_srcdir@&$ac_top_srcdir&;t t
15411s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15412s&@builddir@&$ac_builddir&;t t
15413s&@abs_builddir@&$ac_abs_builddir&;t t
15414s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15415s&@INSTALL@&$ac_INSTALL&;t t
15416s&@MKDIR_P@&$ac_MKDIR_P&;t t
15417$ac_datarootdir_hack
15418"
15419eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15420  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15421
15422test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15423  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15424  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
15425      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15426  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15427which seems to be undefined.  Please make sure it is defined" >&5
15428$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15429which seems to be undefined.  Please make sure it is defined" >&2;}
15430
15431  rm -f "$ac_tmp/stdin"
15432  case $ac_file in
15433  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15434  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15435  esac \
15436  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15437 ;;
15438  :H)
15439  #
15440  # CONFIG_HEADER
15441  #
15442  if test x"$ac_file" != x-; then
15443    {
15444      $as_echo "/* $configure_input  */" \
15445      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15446    } >"$ac_tmp/config.h" \
15447      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15448    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15449      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15450$as_echo "$as_me: $ac_file is unchanged" >&6;}
15451    else
15452      rm -f "$ac_file"
15453      mv "$ac_tmp/config.h" "$ac_file" \
15454	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15455    fi
15456  else
15457    $as_echo "/* $configure_input  */" \
15458      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15459      || as_fn_error $? "could not create -" "$LINENO" 5
15460  fi
15461# Compute "$ac_file"'s index in $config_headers.
15462_am_arg="$ac_file"
15463_am_stamp_count=1
15464for _am_header in $config_headers :; do
15465  case $_am_header in
15466    $_am_arg | $_am_arg:* )
15467      break ;;
15468    * )
15469      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15470  esac
15471done
15472echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15473$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15474	 X"$_am_arg" : 'X\(//\)[^/]' \| \
15475	 X"$_am_arg" : 'X\(//\)$' \| \
15476	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15477$as_echo X"$_am_arg" |
15478    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15479	    s//\1/
15480	    q
15481	  }
15482	  /^X\(\/\/\)[^/].*/{
15483	    s//\1/
15484	    q
15485	  }
15486	  /^X\(\/\/\)$/{
15487	    s//\1/
15488	    q
15489	  }
15490	  /^X\(\/\).*/{
15491	    s//\1/
15492	    q
15493	  }
15494	  s/.*/./; q'`/stamp-h$_am_stamp_count
15495 ;;
15496
15497  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15498$as_echo "$as_me: executing $ac_file commands" >&6;}
15499 ;;
15500  esac
15501
15502
15503  case $ac_file$ac_mode in
15504    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15505  # Autoconf 2.62 quotes --file arguments for eval, but not when files
15506  # are listed without --file.  Let's play safe and only enable the eval
15507  # if we detect the quoting.
15508  case $CONFIG_FILES in
15509  *\'*) eval set x "$CONFIG_FILES" ;;
15510  *)   set x $CONFIG_FILES ;;
15511  esac
15512  shift
15513  for mf
15514  do
15515    # Strip MF so we end up with the name of the file.
15516    mf=`echo "$mf" | sed -e 's/:.*$//'`
15517    # Check whether this is an Automake generated Makefile or not.
15518    # We used to match only the files named `Makefile.in', but
15519    # some people rename them; so instead we look at the file content.
15520    # Grep'ing the first line is not enough: some people post-process
15521    # each Makefile.in and add a new line on top of each file to say so.
15522    # Grep'ing the whole file is not good either: AIX grep has a line
15523    # limit of 2048, but all sed's we know have understand at least 4000.
15524    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15525      dirpart=`$as_dirname -- "$mf" ||
15526$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15527	 X"$mf" : 'X\(//\)[^/]' \| \
15528	 X"$mf" : 'X\(//\)$' \| \
15529	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15530$as_echo X"$mf" |
15531    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15532	    s//\1/
15533	    q
15534	  }
15535	  /^X\(\/\/\)[^/].*/{
15536	    s//\1/
15537	    q
15538	  }
15539	  /^X\(\/\/\)$/{
15540	    s//\1/
15541	    q
15542	  }
15543	  /^X\(\/\).*/{
15544	    s//\1/
15545	    q
15546	  }
15547	  s/.*/./; q'`
15548    else
15549      continue
15550    fi
15551    # Extract the definition of DEPDIR, am__include, and am__quote
15552    # from the Makefile without running `make'.
15553    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15554    test -z "$DEPDIR" && continue
15555    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15556    test -z "am__include" && continue
15557    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15558    # When using ansi2knr, U may be empty or an underscore; expand it
15559    U=`sed -n 's/^U = //p' < "$mf"`
15560    # Find all dependency output files, they are included files with
15561    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15562    # simplest approach to changing $(DEPDIR) to its actual value in the
15563    # expansion.
15564    for file in `sed -n "
15565      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15566	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15567      # Make sure the directory exists.
15568      test -f "$dirpart/$file" && continue
15569      fdir=`$as_dirname -- "$file" ||
15570$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15571	 X"$file" : 'X\(//\)[^/]' \| \
15572	 X"$file" : 'X\(//\)$' \| \
15573	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15574$as_echo X"$file" |
15575    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15576	    s//\1/
15577	    q
15578	  }
15579	  /^X\(\/\/\)[^/].*/{
15580	    s//\1/
15581	    q
15582	  }
15583	  /^X\(\/\/\)$/{
15584	    s//\1/
15585	    q
15586	  }
15587	  /^X\(\/\).*/{
15588	    s//\1/
15589	    q
15590	  }
15591	  s/.*/./; q'`
15592      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15593      # echo "creating $dirpart/$file"
15594      echo '# dummy' > "$dirpart/$file"
15595    done
15596  done
15597}
15598 ;;
15599    "libtool":C)
15600
15601    # See if we are running on zsh, and set the options which allow our
15602    # commands through without removal of \ escapes.
15603    if test -n "${ZSH_VERSION+set}" ; then
15604      setopt NO_GLOB_SUBST
15605    fi
15606
15607    cfgfile="${ofile}T"
15608    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15609    $RM "$cfgfile"
15610
15611    cat <<_LT_EOF >> "$cfgfile"
15612#! $SHELL
15613
15614# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15615# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15616# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15617# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15618#
15619#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15620#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
15621#                 Inc.
15622#   Written by Gordon Matzigkeit, 1996
15623#
15624#   This file is part of GNU Libtool.
15625#
15626# GNU Libtool is free software; you can redistribute it and/or
15627# modify it under the terms of the GNU General Public License as
15628# published by the Free Software Foundation; either version 2 of
15629# the License, or (at your option) any later version.
15630#
15631# As a special exception to the GNU General Public License,
15632# if you distribute this file as part of a program or library that
15633# is built using GNU Libtool, you may include this file under the
15634# same distribution terms that you use for the rest of that program.
15635#
15636# GNU Libtool is distributed in the hope that it will be useful,
15637# but WITHOUT ANY WARRANTY; without even the implied warranty of
15638# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15639# GNU General Public License for more details.
15640#
15641# You should have received a copy of the GNU General Public License
15642# along with GNU Libtool; see the file COPYING.  If not, a copy
15643# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15644# obtained by writing to the Free Software Foundation, Inc.,
15645# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15646
15647
15648# The names of the tagged configurations supported by this script.
15649available_tags=""
15650
15651# ### BEGIN LIBTOOL CONFIG
15652
15653# Which release of libtool.m4 was used?
15654macro_version=$macro_version
15655macro_revision=$macro_revision
15656
15657# Whether or not to build shared libraries.
15658build_libtool_libs=$enable_shared
15659
15660# Whether or not to build static libraries.
15661build_old_libs=$enable_static
15662
15663# What type of objects to build.
15664pic_mode=$pic_mode
15665
15666# Whether or not to optimize for fast installation.
15667fast_install=$enable_fast_install
15668
15669# Shell to use when invoking shell scripts.
15670SHELL=$lt_SHELL
15671
15672# An echo program that protects backslashes.
15673ECHO=$lt_ECHO
15674
15675# The host system.
15676host_alias=$host_alias
15677host=$host
15678host_os=$host_os
15679
15680# The build system.
15681build_alias=$build_alias
15682build=$build
15683build_os=$build_os
15684
15685# A sed program that does not truncate output.
15686SED=$lt_SED
15687
15688# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15689Xsed="\$SED -e 1s/^X//"
15690
15691# A grep program that handles long lines.
15692GREP=$lt_GREP
15693
15694# An ERE matcher.
15695EGREP=$lt_EGREP
15696
15697# A literal string matcher.
15698FGREP=$lt_FGREP
15699
15700# A BSD- or MS-compatible name lister.
15701NM=$lt_NM
15702
15703# Whether we need soft or hard links.
15704LN_S=$lt_LN_S
15705
15706# What is the maximum length of a command?
15707max_cmd_len=$max_cmd_len
15708
15709# Object file suffix (normally "o").
15710objext=$ac_objext
15711
15712# Executable file suffix (normally "").
15713exeext=$exeext
15714
15715# whether the shell understands "unset".
15716lt_unset=$lt_unset
15717
15718# turn spaces into newlines.
15719SP2NL=$lt_lt_SP2NL
15720
15721# turn newlines into spaces.
15722NL2SP=$lt_lt_NL2SP
15723
15724# convert \$build file names to \$host format.
15725to_host_file_cmd=$lt_cv_to_host_file_cmd
15726
15727# convert \$build files to toolchain format.
15728to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15729
15730# An object symbol dumper.
15731OBJDUMP=$lt_OBJDUMP
15732
15733# Method to check whether dependent libraries are shared objects.
15734deplibs_check_method=$lt_deplibs_check_method
15735
15736# Command to use when deplibs_check_method = "file_magic".
15737file_magic_cmd=$lt_file_magic_cmd
15738
15739# How to find potential files when deplibs_check_method = "file_magic".
15740file_magic_glob=$lt_file_magic_glob
15741
15742# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15743want_nocaseglob=$lt_want_nocaseglob
15744
15745# DLL creation program.
15746DLLTOOL=$lt_DLLTOOL
15747
15748# Command to associate shared and link libraries.
15749sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15750
15751# The archiver.
15752AR=$lt_AR
15753
15754# Flags to create an archive.
15755AR_FLAGS=$lt_AR_FLAGS
15756
15757# How to feed a file listing to the archiver.
15758archiver_list_spec=$lt_archiver_list_spec
15759
15760# A symbol stripping program.
15761STRIP=$lt_STRIP
15762
15763# Commands used to install an old-style archive.
15764RANLIB=$lt_RANLIB
15765old_postinstall_cmds=$lt_old_postinstall_cmds
15766old_postuninstall_cmds=$lt_old_postuninstall_cmds
15767
15768# Whether to use a lock for old archive extraction.
15769lock_old_archive_extraction=$lock_old_archive_extraction
15770
15771# A C compiler.
15772LTCC=$lt_CC
15773
15774# LTCC compiler flags.
15775LTCFLAGS=$lt_CFLAGS
15776
15777# Take the output of nm and produce a listing of raw symbols and C names.
15778global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15779
15780# Transform the output of nm in a proper C declaration.
15781global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15782
15783# Transform the output of nm in a C name address pair.
15784global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15785
15786# Transform the output of nm in a C name address pair when lib prefix is needed.
15787global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15788
15789# Specify filename containing input files for \$NM.
15790nm_file_list_spec=$lt_nm_file_list_spec
15791
15792# The root where to search for dependent libraries,and in which our libraries should be installed.
15793lt_sysroot=$lt_sysroot
15794
15795# The name of the directory that contains temporary libtool files.
15796objdir=$objdir
15797
15798# Used to examine libraries when file_magic_cmd begins with "file".
15799MAGIC_CMD=$MAGIC_CMD
15800
15801# Must we lock files when doing compilation?
15802need_locks=$lt_need_locks
15803
15804# Manifest tool.
15805MANIFEST_TOOL=$lt_MANIFEST_TOOL
15806
15807# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15808DSYMUTIL=$lt_DSYMUTIL
15809
15810# Tool to change global to local symbols on Mac OS X.
15811NMEDIT=$lt_NMEDIT
15812
15813# Tool to manipulate fat objects and archives on Mac OS X.
15814LIPO=$lt_LIPO
15815
15816# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15817OTOOL=$lt_OTOOL
15818
15819# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15820OTOOL64=$lt_OTOOL64
15821
15822# Old archive suffix (normally "a").
15823libext=$libext
15824
15825# Shared library suffix (normally ".so").
15826shrext_cmds=$lt_shrext_cmds
15827
15828# The commands to extract the exported symbol list from a shared archive.
15829extract_expsyms_cmds=$lt_extract_expsyms_cmds
15830
15831# Variables whose values should be saved in libtool wrapper scripts and
15832# restored at link time.
15833variables_saved_for_relink=$lt_variables_saved_for_relink
15834
15835# Do we need the "lib" prefix for modules?
15836need_lib_prefix=$need_lib_prefix
15837
15838# Do we need a version for libraries?
15839need_version=$need_version
15840
15841# Library versioning type.
15842version_type=$version_type
15843
15844# Shared library runtime path variable.
15845runpath_var=$runpath_var
15846
15847# Shared library path variable.
15848shlibpath_var=$shlibpath_var
15849
15850# Is shlibpath searched before the hard-coded library search path?
15851shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15852
15853# Format of library name prefix.
15854libname_spec=$lt_libname_spec
15855
15856# List of archive names.  First name is the real one, the rest are links.
15857# The last name is the one that the linker finds with -lNAME
15858library_names_spec=$lt_library_names_spec
15859
15860# The coded name of the library, if different from the real name.
15861soname_spec=$lt_soname_spec
15862
15863# Permission mode override for installation of shared libraries.
15864install_override_mode=$lt_install_override_mode
15865
15866# Command to use after installation of a shared archive.
15867postinstall_cmds=$lt_postinstall_cmds
15868
15869# Command to use after uninstallation of a shared archive.
15870postuninstall_cmds=$lt_postuninstall_cmds
15871
15872# Commands used to finish a libtool library installation in a directory.
15873finish_cmds=$lt_finish_cmds
15874
15875# As "finish_cmds", except a single script fragment to be evaled but
15876# not shown.
15877finish_eval=$lt_finish_eval
15878
15879# Whether we should hardcode library paths into libraries.
15880hardcode_into_libs=$hardcode_into_libs
15881
15882# Compile-time system search path for libraries.
15883sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15884
15885# Run-time system search path for libraries.
15886sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15887
15888# Whether dlopen is supported.
15889dlopen_support=$enable_dlopen
15890
15891# Whether dlopen of programs is supported.
15892dlopen_self=$enable_dlopen_self
15893
15894# Whether dlopen of statically linked programs is supported.
15895dlopen_self_static=$enable_dlopen_self_static
15896
15897# Commands to strip libraries.
15898old_striplib=$lt_old_striplib
15899striplib=$lt_striplib
15900
15901
15902# The linker used to build libraries.
15903LD=$lt_LD
15904
15905# How to create reloadable object files.
15906reload_flag=$lt_reload_flag
15907reload_cmds=$lt_reload_cmds
15908
15909# Commands used to build an old-style archive.
15910old_archive_cmds=$lt_old_archive_cmds
15911
15912# A language specific compiler.
15913CC=$lt_compiler
15914
15915# Is the compiler the GNU compiler?
15916with_gcc=$GCC
15917
15918# Compiler flag to turn off builtin functions.
15919no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15920
15921# Additional compiler flags for building library objects.
15922pic_flag=$lt_lt_prog_compiler_pic
15923
15924# How to pass a linker flag through the compiler.
15925wl=$lt_lt_prog_compiler_wl
15926
15927# Compiler flag to prevent dynamic linking.
15928link_static_flag=$lt_lt_prog_compiler_static
15929
15930# Does compiler simultaneously support -c and -o options?
15931compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15932
15933# Whether or not to add -lc for building shared libraries.
15934build_libtool_need_lc=$archive_cmds_need_lc
15935
15936# Whether or not to disallow shared libs when runtime libs are static.
15937allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15938
15939# Compiler flag to allow reflexive dlopens.
15940export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15941
15942# Compiler flag to generate shared objects directly from archives.
15943whole_archive_flag_spec=$lt_whole_archive_flag_spec
15944
15945# Whether the compiler copes with passing no objects directly.
15946compiler_needs_object=$lt_compiler_needs_object
15947
15948# Create an old-style archive from a shared archive.
15949old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15950
15951# Create a temporary old-style archive to link instead of a shared archive.
15952old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15953
15954# Commands used to build a shared archive.
15955archive_cmds=$lt_archive_cmds
15956archive_expsym_cmds=$lt_archive_expsym_cmds
15957
15958# Commands used to build a loadable module if different from building
15959# a shared archive.
15960module_cmds=$lt_module_cmds
15961module_expsym_cmds=$lt_module_expsym_cmds
15962
15963# Whether we are building with GNU ld or not.
15964with_gnu_ld=$lt_with_gnu_ld
15965
15966# Flag that allows shared libraries with undefined symbols to be built.
15967allow_undefined_flag=$lt_allow_undefined_flag
15968
15969# Flag that enforces no undefined symbols.
15970no_undefined_flag=$lt_no_undefined_flag
15971
15972# Flag to hardcode \$libdir into a binary during linking.
15973# This must work even if \$libdir does not exist
15974hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15975
15976# If ld is used when linking, flag to hardcode \$libdir into a binary
15977# during linking.  This must work even if \$libdir does not exist.
15978hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15979
15980# Whether we need a single "-rpath" flag with a separated argument.
15981hardcode_libdir_separator=$lt_hardcode_libdir_separator
15982
15983# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15984# DIR into the resulting binary.
15985hardcode_direct=$hardcode_direct
15986
15987# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15988# DIR into the resulting binary and the resulting library dependency is
15989# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15990# library is relocated.
15991hardcode_direct_absolute=$hardcode_direct_absolute
15992
15993# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15994# into the resulting binary.
15995hardcode_minus_L=$hardcode_minus_L
15996
15997# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15998# into the resulting binary.
15999hardcode_shlibpath_var=$hardcode_shlibpath_var
16000
16001# Set to "yes" if building a shared library automatically hardcodes DIR
16002# into the library and all subsequent libraries and executables linked
16003# against it.
16004hardcode_automatic=$hardcode_automatic
16005
16006# Set to yes if linker adds runtime paths of dependent libraries
16007# to runtime path list.
16008inherit_rpath=$inherit_rpath
16009
16010# Whether libtool must link a program against all its dependency libraries.
16011link_all_deplibs=$link_all_deplibs
16012
16013# Set to "yes" if exported symbols are required.
16014always_export_symbols=$always_export_symbols
16015
16016# The commands to list exported symbols.
16017export_symbols_cmds=$lt_export_symbols_cmds
16018
16019# Symbols that should not be listed in the preloaded symbols.
16020exclude_expsyms=$lt_exclude_expsyms
16021
16022# Symbols that must always be exported.
16023include_expsyms=$lt_include_expsyms
16024
16025# Commands necessary for linking programs (against libraries) with templates.
16026prelink_cmds=$lt_prelink_cmds
16027
16028# Commands necessary for finishing linking programs.
16029postlink_cmds=$lt_postlink_cmds
16030
16031# Specify filename containing input files.
16032file_list_spec=$lt_file_list_spec
16033
16034# How to hardcode a shared library path into an executable.
16035hardcode_action=$hardcode_action
16036
16037# ### END LIBTOOL CONFIG
16038
16039_LT_EOF
16040
16041  case $host_os in
16042  aix3*)
16043    cat <<\_LT_EOF >> "$cfgfile"
16044# AIX sometimes has problems with the GCC collect2 program.  For some
16045# reason, if we set the COLLECT_NAMES environment variable, the problems
16046# vanish in a puff of smoke.
16047if test "X${COLLECT_NAMES+set}" != Xset; then
16048  COLLECT_NAMES=
16049  export COLLECT_NAMES
16050fi
16051_LT_EOF
16052    ;;
16053  esac
16054
16055
16056ltmain="$ac_aux_dir/ltmain.sh"
16057
16058
16059  # We use sed instead of cat because bash on DJGPP gets confused if
16060  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16061  # text mode, it properly converts lines to CR/LF.  This bash problem
16062  # is reportedly fixed, but why not run on old versions too?
16063  sed '$q' "$ltmain" >> "$cfgfile" \
16064     || (rm -f "$cfgfile"; exit 1)
16065
16066  if test x"$xsi_shell" = xyes; then
16067  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16068func_dirname ()\
16069{\
16070\    case ${1} in\
16071\      */*) func_dirname_result="${1%/*}${2}" ;;\
16072\      *  ) func_dirname_result="${3}" ;;\
16073\    esac\
16074} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16075  && mv -f "$cfgfile.tmp" "$cfgfile" \
16076    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16077test 0 -eq $? || _lt_function_replace_fail=:
16078
16079
16080  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16081func_basename ()\
16082{\
16083\    func_basename_result="${1##*/}"\
16084} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16085  && mv -f "$cfgfile.tmp" "$cfgfile" \
16086    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16087test 0 -eq $? || _lt_function_replace_fail=:
16088
16089
16090  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16091func_dirname_and_basename ()\
16092{\
16093\    case ${1} in\
16094\      */*) func_dirname_result="${1%/*}${2}" ;;\
16095\      *  ) func_dirname_result="${3}" ;;\
16096\    esac\
16097\    func_basename_result="${1##*/}"\
16098} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16099  && mv -f "$cfgfile.tmp" "$cfgfile" \
16100    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16101test 0 -eq $? || _lt_function_replace_fail=:
16102
16103
16104  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16105func_stripname ()\
16106{\
16107\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16108\    # positional parameters, so assign one to ordinary parameter first.\
16109\    func_stripname_result=${3}\
16110\    func_stripname_result=${func_stripname_result#"${1}"}\
16111\    func_stripname_result=${func_stripname_result%"${2}"}\
16112} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16113  && mv -f "$cfgfile.tmp" "$cfgfile" \
16114    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16115test 0 -eq $? || _lt_function_replace_fail=:
16116
16117
16118  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16119func_split_long_opt ()\
16120{\
16121\    func_split_long_opt_name=${1%%=*}\
16122\    func_split_long_opt_arg=${1#*=}\
16123} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16124  && mv -f "$cfgfile.tmp" "$cfgfile" \
16125    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16126test 0 -eq $? || _lt_function_replace_fail=:
16127
16128
16129  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16130func_split_short_opt ()\
16131{\
16132\    func_split_short_opt_arg=${1#??}\
16133\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16134} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16135  && mv -f "$cfgfile.tmp" "$cfgfile" \
16136    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16137test 0 -eq $? || _lt_function_replace_fail=:
16138
16139
16140  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16141func_lo2o ()\
16142{\
16143\    case ${1} in\
16144\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16145\      *)    func_lo2o_result=${1} ;;\
16146\    esac\
16147} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16148  && mv -f "$cfgfile.tmp" "$cfgfile" \
16149    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16150test 0 -eq $? || _lt_function_replace_fail=:
16151
16152
16153  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16154func_xform ()\
16155{\
16156    func_xform_result=${1%.*}.lo\
16157} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16158  && mv -f "$cfgfile.tmp" "$cfgfile" \
16159    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16160test 0 -eq $? || _lt_function_replace_fail=:
16161
16162
16163  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16164func_arith ()\
16165{\
16166    func_arith_result=$(( $* ))\
16167} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16168  && mv -f "$cfgfile.tmp" "$cfgfile" \
16169    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16170test 0 -eq $? || _lt_function_replace_fail=:
16171
16172
16173  sed -e '/^func_len ()$/,/^} # func_len /c\
16174func_len ()\
16175{\
16176    func_len_result=${#1}\
16177} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16178  && mv -f "$cfgfile.tmp" "$cfgfile" \
16179    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16180test 0 -eq $? || _lt_function_replace_fail=:
16181
16182fi
16183
16184if test x"$lt_shell_append" = xyes; then
16185  sed -e '/^func_append ()$/,/^} # func_append /c\
16186func_append ()\
16187{\
16188    eval "${1}+=\\${2}"\
16189} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16190  && mv -f "$cfgfile.tmp" "$cfgfile" \
16191    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16192test 0 -eq $? || _lt_function_replace_fail=:
16193
16194
16195  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16196func_append_quoted ()\
16197{\
16198\    func_quote_for_eval "${2}"\
16199\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16200} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16201  && mv -f "$cfgfile.tmp" "$cfgfile" \
16202    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16203test 0 -eq $? || _lt_function_replace_fail=:
16204
16205
16206  # Save a `func_append' function call where possible by direct use of '+='
16207  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16208    && mv -f "$cfgfile.tmp" "$cfgfile" \
16209      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16210  test 0 -eq $? || _lt_function_replace_fail=:
16211else
16212  # Save a `func_append' function call even when '+=' is not available
16213  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16214    && mv -f "$cfgfile.tmp" "$cfgfile" \
16215      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16216  test 0 -eq $? || _lt_function_replace_fail=:
16217fi
16218
16219if test x"$_lt_function_replace_fail" = x":"; then
16220  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16221$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16222fi
16223
16224
16225   mv -f "$cfgfile" "$ofile" ||
16226    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16227  chmod +x "$ofile"
16228
16229 ;;
16230    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
16231        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16232      esac ;;
16233    "po/stamp-it":C)
16234    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16235       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16236    fi
16237    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16238    >"po/stamp-it.tmp"
16239    sed '/^#/d
16240	 s/^[[].*] *//
16241	 /^[ 	]*$/d
16242	'"s|^|	$ac_top_srcdir/|" \
16243      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16244
16245    sed '/^POTFILES =/,/[^\\]$/ {
16246		/^POTFILES =/!d
16247		r po/POTFILES
16248	  }
16249	 ' "po/Makefile.in" >"po/Makefile"
16250    rm -f "po/Makefile.tmp"
16251    mv "po/stamp-it.tmp" "po/stamp-it"
16252   ;;
16253
16254  esac
16255done # for ac_tag
16256
16257
16258as_fn_exit 0
16259_ACEOF
16260ac_clean_files=$ac_clean_files_save
16261
16262test $ac_write_fail = 0 ||
16263  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16264
16265
16266# configure is writing to config.log, and then calls config.status.
16267# config.status does its own redirection, appending to config.log.
16268# Unfortunately, on DOS this fails, as config.log is still kept open
16269# by configure, so config.status won't be able to write to it; its
16270# output is simply discarded.  So we exec the FD to /dev/null,
16271# effectively closing config.log, so it can be properly (re)opened and
16272# appended to by config.status.  When coming back to configure, we
16273# need to make the FD available again.
16274if test "$no_create" != yes; then
16275  ac_cs_success=:
16276  ac_config_status_args=
16277  test "$silent" = yes &&
16278    ac_config_status_args="$ac_config_status_args --quiet"
16279  exec 5>/dev/null
16280  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16281  exec 5>>config.log
16282  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16283  # would make configure fail if this is the last instruction.
16284  $ac_cs_success || as_fn_exit 1
16285fi
16286if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16287  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16288$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16289fi
16290
16291
16292echo "
16293Configuration Sources:
16294GConf default values source:	${GCONF_DEFAULTS_SOURCE}
16295GConf mandatory values source:	${GCONF_MANDATORY_SOURCE}"
16296